CN110691365A - Network management method, device and system of wireless communication module - Google Patents

Network management method, device and system of wireless communication module Download PDF

Info

Publication number
CN110691365A
CN110691365A CN201911011166.2A CN201911011166A CN110691365A CN 110691365 A CN110691365 A CN 110691365A CN 201911011166 A CN201911011166 A CN 201911011166A CN 110691365 A CN110691365 A CN 110691365A
Authority
CN
China
Prior art keywords
partition
network management
management program
communication module
module
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
CN201911011166.2A
Other languages
Chinese (zh)
Other versions
CN110691365B (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.)
Little Order Science And Technology Ltd Co In Chongqing
China Southern Power Grid Co Ltd
Research Institute of Southern Power Grid Co Ltd
Original Assignee
Little Order Science And Technology Ltd Co In Chongqing
China Southern Power Grid Co Ltd
Research Institute of Southern Power Grid 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 Little Order Science And Technology Ltd Co In Chongqing, China Southern Power Grid Co Ltd, Research Institute of Southern Power Grid Co Ltd filed Critical Little Order Science And Technology Ltd Co In Chongqing
Priority to CN201911011166.2A priority Critical patent/CN110691365B/en
Publication of CN110691365A publication Critical patent/CN110691365A/en
Application granted granted Critical
Publication of CN110691365B publication Critical patent/CN110691365B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a network management method of a wireless communication module, which comprises the following steps: dividing a memory of a communication module to be processed into a first partition, a second partition and a third partition, writing the first partition and the second partition into an initial network management program of the communication module to be processed, and calling the initial network management program in the first partition by the communication module to be processed; when an upgrading instruction for upgrading the initial network management program to a target network management program is received, downloading the target network management program to a third partition; erasing the initial network management program in the second partition and writing the target gateway program in the third partition into the second partition; and after the writing is finished, the names of the second partition and the first partition are exchanged, and then the communication module to be processed calls the target network management program pipe. According to the method, the first partition is used for storing the initial network management program, the second partition is used for updating the target network management program, and the target network management program and the initial network management program are stored at the same time, so that normal data service cannot be influenced even if abnormal conditions occur.

Description

Network management method, device and system of wireless communication module
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a network management method, device, and system for a wireless communication module.
Background
In an electric power system, a wireless communication module is widely used for data transmission, and particularly, in the fields of power distribution and power utilization, the wireless public network communication module is widely applied. Embedded communication modules and independent communication terminals are largely used in distribution automation systems and metering automation systems for data transmission, such as concentrators, load control terminals, DTUs (substation terminals), FTUs (feeder automation terminals), TTUs (distribution substation terminals), and the like. The embedded communication module and the stand-alone communication terminal generally provide a standard AT instruction set for the main device to call through the wireless communication module to complete the communication process.
In the past, an electric power service system lacks a technical management means for a communication module and lacks real-time operation data of a wireless communication module, so that whether the communication is related or not can not be effectively judged when the service is abnormal; in addition, when the network management software of the communication module is upgraded or external abnormal conditions such as power failure and restart are encountered, transmission of normal service data is affected, and an unrecoverable error is easily generated in the system.
Disclosure of Invention
In view of this, the present invention provides a network management method, device and system for a wireless communication module, so as to solve the problem in the prior art that when network management software in the communication module is upgraded or external abnormal conditions such as power failure and restart are encountered, transmission of normal service data is affected, and an unrecoverable error is easily generated in the system. The specific scheme is as follows:
a network management method of a wireless communication module comprises the following steps:
dividing a memory of a communication module to be processed into a first partition, a second partition and a third partition, wherein the first partition and the second partition are written into an initial network management program of the communication module to be processed during initialization, and the communication module to be processed calls the initial network management program in the first partition to perform network management;
when an upgrading instruction for upgrading the initial network management program to a target network management program is received, downloading the target network management program to the third partition;
erasing the initial network management program in the second partition and writing the target gateway program in the third partition into the second partition;
and after the writing is finished, interchanging the names of the second partition and the first partition, and calling the target network management program by the communication module to be processed for network management.
The above method, optionally, further includes:
when the memory of the module to be processed is divided into a first partition, a second partition and a third partition, the first partition and the second partition are set as read-only permission, and the third partition is set as read-write permission.
The above method, optionally, further includes:
when the target network management program is downloaded to the third partition, the permission of the second partition is adjusted from the read-only permission to the read-write permission.
Optionally, in the method, after the writing is completed, names of the second partition and the first partition are interchanged, and the to-be-processed communication module calls the target network management program to perform network management, further including:
and deleting the target network management program in the third partition.
The above method, optionally, further includes:
and when the target network management program is in error in operation, rolling back to the initial network management program.
A network management apparatus of a wireless communication module, comprising:
the system comprises a dividing module, a first processing module and a second processing module, wherein the dividing module is used for dividing a memory of a communication module to be processed into a first partition, a second partition and a third partition, the first partition and the second partition are written into an initial network management program of the communication module to be processed during initialization, and the communication module to be processed calls the initial network management program in the first partition to carry out network management;
the downloading module is used for downloading the target network management program to the third partition when receiving an upgrading instruction for upgrading the initial network management program to the target network management program;
an erasing and writing module, configured to erase the initial network management program in the second partition and write the target gateway program in the third partition into the second partition;
and the interchanging and calling module is used for interchanging the names of the second partition and the first partition after the writing is finished, and then the to-be-processed communication module calls the target network management program to carry out network management.
The above apparatus, optionally, further comprises:
the device comprises a setting module and a reading and writing module, wherein the setting module is used for setting a read-only permission of a first partition, a read-only permission of a second partition and a read-write permission of a third partition when a memory of the module to be processed is divided into the first partition, the second partition and the third partition.
The above apparatus, optionally, further comprises:
and the rollback module is used for rolling back to the initial network management program when the target network management program is in error in operation.
A network management system for a wireless communication module, comprising: AT state processor, network management data processing module, network management program, API operation library and program control service, wherein:
the AT state processor is used for processing AT instructions of an external system and the network management data processing module and dialing processes of the external system;
the network management data processing module is used for converting the data required to be sent by the network management program into a corresponding AT instruction and sending the AT instruction to the AT state processor;
the network management program is used for managing the communication module to be processed;
the API operation library is used for providing an API for the network management program;
the program control service is used for starting and monitoring the network management program.
In the above system, optionally, the API runtime further includes: an API application program interface and an API run service, wherein:
the API operation program interface is used for connecting the API operation library with the network management program;
the API operation service is used for operating the program control service and the API operation library.
Compared with the prior art, the invention has the following advantages:
the invention discloses a network management method of a wireless communication module, which comprises the following steps: dividing a memory of a communication module to be processed into a first partition, a second partition and a third partition, writing the first partition and the second partition into an initial network management program of the communication module to be processed during initialization, and calling the initial network management program in the first partition by the communication module to be processed to carry out network management; when an upgrading instruction for upgrading the initial network management program to a target network management program is received, downloading the target network management program to a third partition; erasing the initial network management program in the second partition and writing the target gateway program in the third partition into the second partition; and after the writing is finished, the names of the second partition and the first partition are exchanged, and then the communication module to be processed calls the target network management program to carry out network management. In the method, the memory is partitioned, the first partition is used for storing the initial network management program, the second partition is used for updating the target network management program, and the third partition is used for downloading the target gateway program.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of an internal structure of a communication module in the prior art;
FIG. 2 is a schematic diagram of an external structure of a communication module in the prior art;
FIG. 3 is a flow chart of data transmission based on an internal protocol in the prior art;
FIG. 4 is a flow chart of a prior art method for data transmission based on an external protocol;
fig. 5 is a block diagram of a network management system of a wireless communication module disclosed in an embodiment of the present application;
fig. 6 is a flowchart of a network management method of a wireless communication module disclosed in the embodiment of the present application;
fig. 7 is a block diagram of a network management device of a wireless communication module according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The invention provides a network management method, a device and a system of a wireless communication module, which are applied to the network management process of the wireless communication module, in order to realize the management function of the communication terminal, the network management program is integrated into the communication module, the seamless upgrade can be realized without changing the communication terminal and the service terminal, the technical difficulty and the overall cost of the upgrade are reduced, in order to ensure the reliability of the circuit service, the network management program in the communication module can be upgraded on line, the normal operation and upgrade of the network management program can not be influenced even when the abnormal events such as power failure restart and the like occur in the upgrade process, the typical whole network communication module is taken as an example in the embodiment of the invention to explain the network management program in the communication module and the realization of the user imperceptible upgrade process in detail, the schematic diagram of the internal structure of the communication module is shown in fig. 1, and a core chip of the module mainly comprises a Central Processing Unit (CPU) and a baseband processor; the basic operation processing is realized by expanding the RAM and the Flash through the module, and the RAM is connected with the FLASH through a data bus and an address bus to realize data storage control; the analog front end and the antenna are expanded through a radio frequency part (radio frequency receiving, radio frequency power amplifier and duplexer) of a baseband, the antenna comprises a main antenna and a diversity antenna, and the antenna for receiving satellite signals required by geographical position positioning can be expanded, so that the receiving and the sending of radio signals are realized; and then, peripheral equipment (such as a USB interface, a SIM card, a serial port, a UART, an SD interface, an SPI, an I2C interface, an ADC, a GPIO, an LED indicator light, an analog-to-digital conversion interface, a universal interface and the like) is expanded through the bus connector, so that data interaction of the peripheral equipment is realized.
The external structure block diagram of the module is shown in fig. 2, the module is led out of a main antenna, a diversity antenna and a GNSS (global navigation satellite system) antenna interface, and a communication terminal only needs to be connected with the main antenna; power management interface is drawn forth to the module, communication terminal only need provide standard power signal can, the external accent interface is drawn forth to the module, communication terminal can expand wireless WIFI module through the SDIO interface, can expand GPS module through the UART interface, can be through the external SIM card of UIM interface, in addition, communication terminal can use AT instruction operation communication module to carry out data communication through UART interface or USB interface, can also control the pilot lamp through GPIO, still include SPI, I2C and GPIO general interface and UART serial ports etc
On the software implementation level, there are two typical procedures for calling the communication module by the external system, one is to use the module internal protocol stack to perform data transmission, and the other is to use the external protocol stack to perform data transmission.
The basic flow of the internal protocol for data transmission is shown in fig. 3, and a user program firstly detects whether a SIM card is inserted, then judges whether the signal strength meets the network registration requirement, then performs network registration, then sets APN and user password parameters, then calls an AT instruction set to create a data transmission channel, and then sequentially transmits data.
The basic flow of the external protocol for data transmission is shown in fig. 4, where an external program first detects whether the SIM card is in place, then sets a dialing parameter, and then performs dialing, and after the dialing is successful, uses heartbeat detection to judge whether the link state is normal, establishes Socket connection when the link is normal, and uses a Socket interface to perform data transmission. The heartbeat detection process is as follows: typical external protocol stack dialing is accomplished using the PPP protocol. In the configuration file of the PPP protocol, the heartbeat detection is implemented by the following two parameters:
lcp-echo-failure (maximal number of heartbeat failures)
lcp-echo-interval (interval between heartbeats)
The two parameters are used jointly, in an LCP link protocol, an echo request packet is sent to the opposite side according to the heartbeat interval time given by a configuration file, and the opposite side needs to respond an echo response after receiving the echo request. If the echo request packet sent by the sender exceeds the configured maximum heartbeat failure times and the echo request packet of the opposite end is still not received, the link is judged to be interrupted, and the connection is cancelled.
Whether an internal protocol stack or an external protocol stack is used for data transmission, the inside of the module is divided into two large parts, one part is a Modem part, and the other part is a Linux part. Data transmission depends on the software of the Modem part, and peripheral and network management programs depend on the internal Linux system part.
Based on the internal composition of the module, the invention provides a network management system of a wireless communication module, which comprises: an AT state handler, a network management data processing module, a network management program, an API library and a program control service, where a structural diagram of the network management system is shown in fig. 5, where:
the AT state processor is used for processing AT instructions of an external system and the network management data processing module and dialing processes of the external system;
in the embodiment of the invention, the AT state processor is positioned AT the Modem part, an external system directly transmits data to the AT state processor through AT instructions or a dialing flow, the AT state processor uniformly processes all AT instruction sets, and the Modem and the Linux carry out data interaction in a shared memory mode.
The network management data processing module is used for converting the data required to be sent by the network management program into a corresponding AT instruction and sending the AT instruction to the AT state processor;
in the embodiment of the invention, the network management data processing module is positioned in a Modem part.
The network management program is used for managing the communication module to be processed;
in the embodiment of the invention, the network management program runs in a user layer of Linux to access the bottom layer resources of Linux and modem through an API (application programming interface), and the bottom layer interface of the system is invisible to the network management program in a user mode.
The API operation library is used for providing an API for the network management program;
in the embodiment of the invention, an API operation library aiming at the network management program and an API application program interface are established on a Linux operation system for the network management program to call, and an API operation service is established at the same time, and the API operation service and the API operation library carry out data interaction through an RPC interface.
The program control service is used for starting and monitoring the network management program.
In the embodiment of the invention, in order to ensure the reliability of the program, the program control service is operated on the basis of the API operation service, is mainly used for starting and monitoring the network management program and plays a role of a software watchdog.
Through the technical improvement, the network management program can be written into the communication module, and the online monitoring function of the communication system can be independently completed. For the external system, the network management program function is transparent, and the external system can realize the network management function of communication without any change.
Furthermore, after the network management program is arranged inside the communication module, when the protocol is changed or the network management program needs to be updated due to other reasons, the normal work of the external system cannot be influenced due to the updating of the network management program. Meanwhile, it is also ensured that the upgrading of the network management program does not affect the normal work of the communication module and the network management program.
The embodiment of the present invention provides a network management method for a wireless communication module, which is used to solve the above problems, and the execution flow of the network management method is shown in fig. 6, and includes the following steps:
s101, dividing a memory of a communication module to be processed into a first partition, a second partition and a third partition, wherein the first partition and the second partition are written into an initial network management program of the communication module to be processed during initialization, and the communication module to be processed calls the initial network management program in the first partition to perform network management;
in the embodiment of the invention, the memory of the communication module to be processed can be Flash, the Flash of the communication module to be processed is divided into three partitions, and firstly, in a Linux operating system, three partitions are divided from the Flash, namely APPBOCK (a first partition), APPBOCK _ Back (a second partition) and APPBOCK _ Data (a third partition). The APPBlock and the APPBlock _ Back are initialized and written into an initial network management program when leaving a factory, and the partition is set to be read-only in a Linux operating system; the APPBolck _ Data is set to be read and written, and the write authority of the network management program is set to only operate the partition, so that errors caused by the fact that the network management program operates other partitions of the Linux are avoided.
S102, when an upgrading instruction for upgrading the initial network management program to a target network management program is received, downloading the target network management program to the third partition;
in the embodiment of the invention, after the initial network management program detects the requirement to be upgraded and confirms the upgrading command, the Linux script is called to download the target network management program to the APPColck _ Data partition in a breakpoint continuous transmission (FTP or Http mode can be adopted).
S103, erasing the initial network management program in the second partition and writing the target gateway program in the third partition into the second partition;
in the embodiment of the invention, the script program modifies the attribute of the APPBlock _ Back partition into reading and writing, erases the APPBlock _ Back partition, and then writes the target network management program downloaded to the APPBolck _ Data partition into the APPBlock _ Back partition.
S104, after the writing is finished, the names of the second partition and the first partition are exchanged, and then the communication module to be processed calls the target network management program to carry out network management.
In the embodiment of the invention, the Linux script program stops the network management program and exchanges the names of the APPBlock and the APPBlock _ Back two partitions. Thus, the target network management program is stored in the new applock, and the applock _ Back stores the initial network management program. In this way, the system can automatically roll back to the last version even if the upgrade program has an error. Then, the Linux script deletes the upgrade file downloaded in the appbold _ Data partition to save the storage space. And finally, restarting the network management program by the Linux script, and finishing the upgrading process of the initial network management program.
The invention discloses a network management method of a wireless communication module, which comprises the following steps: dividing a memory of a communication module to be processed into a first partition, a second partition and a third partition, writing the first partition and the second partition into an initial network management program of the communication module to be processed during initialization, and calling the initial network management program in the first partition by the communication module to be processed to carry out network management; when an upgrading instruction for upgrading the initial network management program to a target network management program is received, downloading the target network management program to a third partition; erasing the initial network management program in the second partition and writing the target gateway program in the third partition into the second partition; and after the writing is finished, the names of the second partition and the first partition are exchanged, and then the communication module to be processed calls the target network management program to carry out network management. In the method, the memory is partitioned, the first partition is used for storing the initial network management program, the second partition is used for updating the target network management program, and the third partition is used for downloading the target gateway program.
In the embodiment of the invention, when the initial network management program fails to be upgraded, the version rollback is required to ensure the normal operation of the program. The method of version rollback is shown in fig. 7.
And after the network management program detects and confirms that the version needs to be rolled back, the network management program calls the Linux script and closes the self program.
The Linux script program then exchanges the names of the two partitions of APPBLOCK and APPBLOCK _ Back. Thus, the new applock stores the initial network management program, and the applock _ Back stores the current target network management program with error.
In order to ensure the correctness of next upgrade and rollback, the data in the APPBLOCK _ Back is synchronized with the data of APPBLOCK. After the write is successful, APPLock _ Back is set as the read-only attribute.
And finally, starting the network management program in the APPPBlock.
Based on the foregoing network management method for a wireless communication module, an embodiment of the present invention further provides a network management device for a wireless communication module, where a structural block diagram of the network management device is shown in fig. 7, and the method includes:
a partitioning module 201, a downloading module 202, an erasing and writing module 203, and an interchanging and calling module 204.
Wherein the content of the first and second substances,
the dividing module 201 is configured to divide a memory of a communication module to be processed into a first partition, a second partition, and a third partition, where the first partition and the second partition are written into an initial network management program of the communication module to be processed during initialization, and the communication module to be processed calls the initial network management program in the first partition to perform network management;
the downloading module 202 is configured to, when an upgrade instruction for upgrading the initial network management program to a target network management program is received, download the target network management program to the third partition;
the erasing and writing module 203 is configured to erase the initial network management program in the second partition and write the target gateway program in the third partition into the second partition;
the interchanging and calling module 204 is configured to interchange names of the second partition and the first partition after the writing is completed, and then the to-be-processed communication module calls the target network management program to perform network management.
The invention discloses a network management device of a wireless communication module, which comprises: dividing a memory of a communication module to be processed into a first partition, a second partition and a third partition, writing the first partition and the second partition into an initial network management program of the communication module to be processed during initialization, and calling the initial network management program in the first partition by the communication module to be processed to carry out network management; when an upgrading instruction for upgrading the initial network management program to a target network management program is received, downloading the target network management program to a third partition; erasing the initial network management program in the second partition and writing the target gateway program in the third partition into the second partition; and after the writing is finished, the names of the second partition and the first partition are exchanged, and then the communication module to be processed calls the target network management program to carry out network management. In the device, the memory is partitioned, the first partition is used for storing the initial network management program, the second partition is used for updating the target network management program, and the third partition is used for downloading the target gateway program.
In this embodiment of the present invention, the network management apparatus further includes: a setup module 205.
Wherein the content of the first and second substances,
the setting module 205 is configured to set the first partition and the second partition as read-only permissions and set the third partition as read-write permissions when the memory of the module to be processed is divided into the first partition, the second partition, and the third partition.
In this embodiment of the present invention, the network management apparatus further includes: a rollback module 206.
Wherein the content of the first and second substances,
the rollback module 206 is configured to rollback to the initial network management program when the target network management program is in an error.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The network management method, device and system of a wireless communication module provided by the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A network management method of a wireless communication module is characterized by comprising the following steps:
dividing a memory of a communication module to be processed into a first partition, a second partition and a third partition, wherein the first partition and the second partition are written into an initial network management program of the communication module to be processed during initialization, and the communication module to be processed calls the initial network management program in the first partition to perform network management;
when an upgrading instruction for upgrading the initial network management program to a target network management program is received, downloading the target network management program to the third partition;
erasing the initial network management program in the second partition and writing the target gateway program in the third partition into the second partition;
and after the writing is finished, interchanging the names of the second partition and the first partition, and calling the target network management program by the communication module to be processed for network management.
2. The method of claim 1, further comprising:
when the memory of the module to be processed is divided into a first partition, a second partition and a third partition, the first partition and the second partition are set as read-only permission, and the third partition is set as read-write permission.
3. The method of claim 2, further comprising:
when the target network management program is downloaded to the third partition, the permission of the second partition is adjusted from the read-only permission to the read-write permission.
4. The method according to claim 1, wherein after the writing is completed, names of the second partition and the first partition are exchanged, and then the to-be-processed communication module calls the target network management program to perform network management, further comprising:
and deleting the target network management program in the third partition.
5. The method of claim 1, further comprising:
and when the target network management program is in error in operation, rolling back to the initial network management program.
6. A network management apparatus of a wireless communication module, comprising:
the system comprises a dividing module, a first processing module and a second processing module, wherein the dividing module is used for dividing a memory of a communication module to be processed into a first partition, a second partition and a third partition, the first partition and the second partition are written into an initial network management program of the communication module to be processed during initialization, and the communication module to be processed calls the initial network management program in the first partition to carry out network management;
the downloading module is used for downloading the target network management program to the third partition when receiving an upgrading instruction for upgrading the initial network management program to the target network management program;
an erasing and writing module, configured to erase the initial network management program in the second partition and write the target gateway program in the third partition into the second partition;
and the interchanging and calling module is used for interchanging the names of the second partition and the first partition after the writing is finished, and then the to-be-processed communication module calls the target network management program to carry out network management.
7. The apparatus of claim 6, further comprising:
the device comprises a setting module and a reading and writing module, wherein the setting module is used for setting a read-only permission of a first partition, a read-only permission of a second partition and a read-write permission of a third partition when a memory of the module to be processed is divided into the first partition, the second partition and the third partition.
8. The apparatus of claim 6, further comprising:
and the rollback module is used for rolling back to the initial network management program when the target network management program is in error in operation.
9. A network management system for a wireless communication module, comprising: AT state processor, network management data processing module, network management program, API operation library and program control service, wherein:
the AT state processor is used for processing AT instructions of an external system and the network management data processing module and dialing processes of the external system;
the network management data processing module is used for converting the data required to be sent by the network management program into a corresponding AT instruction and sending the AT instruction to the AT state processor;
the network management program is used for managing the communication module to be processed;
the API operation library is used for providing an API for the network management program;
the program control service is used for starting and monitoring the network management program.
10. The system of claim 9, wherein the API runtime further comprises: an API application program interface and an API run service, wherein:
the API operation program interface is used for connecting the API operation library with the network management program;
the API operation service is used for operating the program control service and the API operation library.
CN201911011166.2A 2019-10-23 2019-10-23 Network management method, device and system of wireless communication module Active CN110691365B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911011166.2A CN110691365B (en) 2019-10-23 2019-10-23 Network management method, device and system of wireless communication module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911011166.2A CN110691365B (en) 2019-10-23 2019-10-23 Network management method, device and system of wireless communication module

Publications (2)

Publication Number Publication Date
CN110691365A true CN110691365A (en) 2020-01-14
CN110691365B CN110691365B (en) 2023-02-28

Family

ID=69113882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911011166.2A Active CN110691365B (en) 2019-10-23 2019-10-23 Network management method, device and system of wireless communication module

Country Status (1)

Country Link
CN (1) CN110691365B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124698A (en) * 2021-08-24 2022-03-01 国电南瑞南京控制系统有限公司 Upgrading method, device and system of power distribution automation terminal operation system based on cloud master station

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567808A (en) * 2009-05-14 2009-10-28 中兴通讯股份有限公司 Method for guarding network management system and the network management system
CN102033790A (en) * 2010-12-15 2011-04-27 中兴通讯股份有限公司 Method and device for upgrading embedded-type system BOOTROM
CN104915219A (en) * 2014-03-12 2015-09-16 奇点新源国际技术开发(北京)有限公司 Single chip microcomputer program upgrading method and device
CN105912356A (en) * 2016-03-31 2016-08-31 武汉光迅科技股份有限公司 Optical module firmware program online upgrade method supporting version fallback
CN108076457A (en) * 2017-12-15 2018-05-25 北京国电通网络技术有限公司 A kind of safety-type power grid private radio communication module of wisdom based on linux system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567808A (en) * 2009-05-14 2009-10-28 中兴通讯股份有限公司 Method for guarding network management system and the network management system
CN102033790A (en) * 2010-12-15 2011-04-27 中兴通讯股份有限公司 Method and device for upgrading embedded-type system BOOTROM
CN104915219A (en) * 2014-03-12 2015-09-16 奇点新源国际技术开发(北京)有限公司 Single chip microcomputer program upgrading method and device
CN105912356A (en) * 2016-03-31 2016-08-31 武汉光迅科技股份有限公司 Optical module firmware program online upgrade method supporting version fallback
CN108076457A (en) * 2017-12-15 2018-05-25 北京国电通网络技术有限公司 A kind of safety-type power grid private radio communication module of wisdom based on linux system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124698A (en) * 2021-08-24 2022-03-01 国电南瑞南京控制系统有限公司 Upgrading method, device and system of power distribution automation terminal operation system based on cloud master station

Also Published As

Publication number Publication date
CN110691365B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN102073517A (en) Upgrading and backup method and device for embedded system
CN111176702B (en) Firmware upgrading method, device, computer equipment and storage medium
CN111930396B (en) Upgrading method of communication module in 4G router based on notify mechanism
CN102298526A (en) Mechanism for upgrading programs of peripheral equipment based on single chips without external extended memories
CN110083380A (en) Firmware update and the electronic device for using the method
CN110691365B (en) Network management method, device and system of wireless communication module
CN111752577B (en) Upgrading method and equipment for system version
CN113138776A (en) Template-based cluster automatic deployment method, device, equipment and medium
CN106095625A (en) Radio reception device starts method and system
CN114020340B (en) Server system and data processing method thereof
US20020156945A1 (en) Computer system, resource allocating method thereof and resource allocating program thereof
CN116521209B (en) Upgrading method and device of operating system, storage medium and electronic equipment
WO2024007800A1 (en) Cloud terminal system upgrade method and apparatus, and cloud terminal and storage medium
RU2600101C1 (en) Assembly control module and method of firmware updating for this control module
CN110737455A (en) Firmware updating method and device and electronic equipment
CN111984287A (en) Equipment upgrading method and system
CN115098301B (en) Snapshot generation method and system for stateful application in cloud primary scene
CN111176720A (en) Control method and control device for running application programs in multiple systems
CN107911816B (en) Starting method for multi-mode IoT device, multi-mode IoT device and storage medium
CN105704707A (en) Slave equipment and air upgrading method thereof
CN110413311A (en) ' In System Reconfiguration Method and server
CN103605519A (en) Application program control adding method and application program control adding device
CN113986723A (en) Mock testing method and related equipment thereof
CN113778485A (en) System operation method and device of electronic chip, electronic chip and storage medium
JP3879333B2 (en) DATA TRANSMISSION SYSTEM HAVING ROUTE INFORMATION DISTRIBUTION FUNCTION, TERMINAL RADIO UNIT, AND ROUTE INFORMATION DISTRIBUTION METHOD

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