CN115134354A - Method for rapidly upgrading by using TDMA time slot - Google Patents
Method for rapidly upgrading by using TDMA time slot Download PDFInfo
- Publication number
- CN115134354A CN115134354A CN202210825958.9A CN202210825958A CN115134354A CN 115134354 A CN115134354 A CN 115134354A CN 202210825958 A CN202210825958 A CN 202210825958A CN 115134354 A CN115134354 A CN 115134354A
- Authority
- CN
- China
- Prior art keywords
- sta
- upgrade
- cco
- time slot
- message
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000005540 biological transmission Effects 0.000 claims abstract description 15
- 230000008569 process Effects 0.000 claims description 19
- 238000012360 testing method Methods 0.000 claims description 11
- 230000004044 response Effects 0.000 claims description 8
- 239000013589 supplement Substances 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 8
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 description 16
- 238000005516 engineering process Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000006872 improvement Effects 0.000 description 6
- 238000011161 development Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000006855 networking Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 238000004128 high performance liquid chromatography Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000036963 noncompetitive effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0446—Resources in time domain, e.g. slots or frames
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Radio Relay Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method for rapidly upgrading by using a TDMA time slot, which belongs to the technical field of power communication and comprises the following steps: the CCO sends an upgrade starting command to the STA, and the STA enters an upgrade state after receiving the upgrade starting command; the CCO sends a data block to the STA, the STA keeps the data after receiving the data, and updates a local bitmap; the CCO inquires the state of the STA, and the STA receives the return state and receives the bitmap condition of the data block; repeating the steps 3) and 4) until the data are collected by the STA; the CCO sends an execution upgrade to the STA, the STA verifies the integrity of the upgrade package after receiving the upgrade package, and the length and CRC of the received upgrade package are locally stored for future reference after successful commissioning; if the length and the CRC value returned by the STA are the same as those issued by the CCO, the site is considered to be successfully upgraded, otherwise, the upgrade is judged to be failed, the TDMA time slot is used for transmitting the upgrade file data, the transmission efficiency of the upgrade file data is improved, and the rapid upgrade is realized.
Description
Technical Field
The invention belongs to the technical field of power communication, and particularly relates to a method for rapidly upgrading a time slot by using a Time Division Multiple Access (TDMA).
Background
With the development of social economy, the power demand is getting bigger and bigger, and the development of science and technology prompts the internet of things technology to be widely applied. The electric power internet of things technology is widely applied to the smart power grid, electric power and communication resources are effectively integrated, core information sensing, collecting, processing, transmitting, encrypting, storing and other information functions of the electric power system are achieved, effective management capacity of electric power is improved, and a novel electric power system is endowed with a wider development prospect.
High Power Line Communication (HPLC) is an important part of smart grid communication technology. Based on the HPLC technology, the functions of high-frequency data acquisition, power failure active reporting, clock accurate management, phase topology identification, station area automatic identification, ID unified identification management, file automatic synchronization, communication performance monitoring, network optimization and the like can be realized.
The broadband low-voltage power carrier technology HPLC divides the broadband wireless carrier into periodic frames according to time, wherein one frame is a beacon period, and one beacon period is divided into a beacon time slot, a TDMA time slot, a CSMA time slot and a binding CSMA time slot. The beacon time slot and the TDMA time slot are collectively called as non-contention time slot, and the CSMA time slot and the binding CSMA time slot are contention time slots.
In the CSMA time slot (including CSMA binding), the stations must compete through the channel, and after collision is avoided, the stations can occupy the channel to transmit the message. Messages sent in a CSMA slot must be guaranteed to be able to be transmitted in the corresponding CSMA slot and cannot cross the slot. Especially ensuring that it cannot span into non-contention slots such as beacon slots and TDMA slots. When channel competition is performed in the CSMA time slot, basic collision judgment and avoidance need to be performed, and a VCS mechanism is used to further predict a channel state, Virtual Carrier Sensing (VCS) is a time slot prediction mechanism mainly used in the CSMA time slot, and each node needs to support. The VCS mechanism is determined according to message transmission time and frame interval, and is realized by adopting a VCS timer and a channel state after the timer expires. The use of the contention CSMA slot is firstly only 1/3 time available for the single-phase table, and VCS is required to listen and back off if the number of nodes is large in 1/3 time, so that the transmission efficiency is low.
The current HPLC power carrier technology mainly completes transmission of related upgrading commands and upgrading file data messages through CSMA competition time slots for upgrading software, and time for completing upgrading of stations in a transformer area is long. For the upgrade of a small-scale network with few stations in a platform area and the number of nodes less than 100, upgrade file data is sent through CSMA competitive time slots, and compared with the transmission through a TDMA non-competitive time slot mode, the period is long and the efficiency is low.
Disclosure of Invention
In order to achieve the above purpose, the present invention is characterized in that HPLC uses TDMA time slot to transmit upgrade file data, thereby improving transmission efficiency of upgrade file data and realizing fast upgrade. Specific STA sequence, STA multiplexing central beacon and proxy beacon. For TDMA time slots, time slots are already fixedly allocated, and the problem that no time slot of a certain STA exists all the time due to time slot competition does not exist. The specific scheme is as follows: a method for fast upgrade using TDMA time slots, the method comprising the steps of:
1) the CCO sends an upgrade starting command to the STA, and the STA enters an upgrade state after receiving the upgrade starting command;
2) the CCO sends a data block to the STA, the STA keeps the data block after receiving the data, and a local bitmap is updated;
3) the CCO inquires the state of the STA, and after the STA receives the state, the state and the received data block bitmap condition are returned;
4) for a data block lacking in the STA station, the CCO supplements the STA station with a packet;
5) repeating 3) and 4) until the STA is full of data;
6) the CCO sends an execution upgrade to the STA, the STA verifies the integrity of the upgrade package after receiving the upgrade package, and the length and CRC of the received upgrade package are locally stored for future reference after successful commissioning; if fail, set length and CRC to 0x 00;
7) and the CCO inquires the site information, if the length and the CRC value returned by the STA are the same as those issued by the CCO, the site is considered to be upgraded successfully, and if not, the upgrade is judged to be failed.
Based on the technical scheme, the TDMA refers to a TDMA time slot allocated to a designated node by the CCO, and in the time slot, the node does not need to perform channel competition and can exclusively allocate the TDMA time slot, so that the upgrade file data can be effectively transmitted.
The upgrading process of the HPLC site is divided into five states: an idle state, a receiving progress state, a receiving completion state, an upgrade progress state, and a test run state.
When the STA is not updated online, the STA is in an idle state. When the STA performs online upgrade, if the file data is being transmitted and the file data is not completely transmitted, the STA is in a receiving proceeding state. When the STA performs online upgrade, if the file data transmission is completed and the CRC check of the file data is correct, the STA is in a receiving completion state. When the STA performs online upgrade, if the CRC of the file data is correct, and an upgrade execution command is received, and the STA is not restarted, the STA is in an upgrade proceeding state. And when the STA is subjected to online upgrade, if the STA is restarted and the trial operation ending time is not reached, the STA is in a trial operation state.
As an improvement of the invention, the specific process of upgrading the CCO comprises the following steps:
2.1) the CCO sends a message for inquiring site information, and checks the site information of the STA and whether the site needs to be upgraded;
2.2) if the STA site information shows that the upgrading can be carried out, the CCO sends an upgrade starting message, otherwise, the upgrading process is ended;
2.3) when the CCO receives the update starting response message of the STA, the CCO starts to transmit file data to the STA, otherwise, the CCO ends the update process;
2.4) the CCO sends an upgrade file message, sends an upgrade state of an inquiry STA (station), judges the upgrade state message replied by all STAs, checks whether bitmaps of file information received by the STAs are complete or not, and judges whether the STAs completely receive the whole upgrade file or not;
2.5) if the STA station upgrading state response information received by the CCO shows that the STA has completely received the upgrading file, the CCO sends an upgrading execution message to the STA; otherwise, continuously transmitting missing upgrade messages to the STA according to the bitmap information of the state information responded by the STA;
and 2.6) the CCO inquires the site information and judges whether the STA is successfully upgraded.
As an improvement of the present invention, the specific process of the STA upgrading includes the following steps:
3.1) the STA receives the inquiry site information message of the CCO, puts the protocol version number and the upgrade ID information into an inquiry site information uplink message and sends the inquiry site information uplink message to the CCO;
3.2) the STA receives the upgrading starting command of the CCO, the STA enters a receiving proceeding state, and the STA starts to receive the upgrading message of the CCO;
3.3) the STA responds to the upgrade state query message of the CCO, and places the protocol version number, the upgrade state, the effective block number, the initial block number, the upgrade ID and the bitmap into an uplink message of the query station in the upgrade state to respond to the CCO;
3.4) if the STA completely receives the upgrade message, entering a receiving completion state; when receiving an upgrade message execution command issued by the CCO, converting the command into an upgrade proceeding state;
3.5) restarting after the STA is upgraded, entering a test run state, and converting to an idle state after the test run is successfully finished; if the test operation fails, the length and the CRC are set to be 0x00, and the upgrading fails;
3.6) when the STA is in an idle state, the CCO sends inquiry station information, the STA responds to the CCO (the response process is the same as that in the step 1)), and the CCO judges whether the STA is upgraded successfully;
3.7) if the STA receives an upgrade stop command issued by the CCO in any upgrading process, the STA needs to stop the current upgrading operation.
As an improvement of the invention, the unicast transmission step of the upgrade file data is as follows:
4.1) on the route from the CCO to a specific STA node, the CCO allocates two time slots for each node through BCN, and each time slot is divided into a REQ/IND time slot (request or indication) and a REP/CNF time slot (reply or confirmation);
4.2) the CCO carries out TDMA time slot allocation through BCN, the PCO of the intermediate proxy node forwards layer by layer, and finally forwards the TDMA time slot allocation to the STA, and the STA starts to start the TDMA time slot after receiving the time slot allocation;
4.3) the CCO calls the REQ or issues the IND of the key data through the TDMA time slot, and the STA also replies the REP or confirms the CNF through the TDMA time slot after receiving the REQ or issues the IND;
4.4) the upgrade message is sent from the node network CCO through the TDMA time slot, and is forwarded through the PCO or directly sent to the STA, and the STA can perform related upgrade operations after receiving the upgrade message.
As an improvement of the invention, the transmission step of the data of the upgrade file in the broadcast comprises the following steps:
5.1) on the route from the CCO to a specific STA node, the CCO allocates a TDMA time slot through a BCN, the PCO of the intermediate proxy node finally forwards the TDMA time slot allocation to the STA through layer-by-layer forwarding, and the STA starts to start the TDMA time slot after receiving the time slot allocation;
5.2) the CCO calls REQ or issues IND for key data through a TDMA time slot, and the STA receives the key data and receives and stores the key data through the TDMA time slot;
5.3) the upgrade message is sent from the node network CCO through the TDMA time slot, and is forwarded through the PCO or directly sent to the STA, and the STA can perform the related operation of upgrading after receiving the upgrade message.
As an improvement of the invention, the HPLC network is composed of a head node and a plurality of slave nodes ad hoc networks, wherein part of the slave nodes are used as proxy nodes to play the role of forwarding relay; at present, HPLC (high performance liquid chromatography) supports 15-level deep networking, and each node has a unique equipment identifier TEI; the TEI of the CCO is set to 1, and when the CCO issues or queries a task to the STA or the PCO, slot allocation is performed according to the hierarchy of a specific tail-end node.
As an improvement of the invention, a beacon period is divided into a beacon time slot, a TDMA time slot, a CSMA time slot and the like, when the TDMA time slot is divided, the division indicates which STA the time slot is allocated to use, a specific STA sequence, STAs multiplexing a central beacon and a proxy beacon, the STA belonging to each TDMA time slot, the CCO and STA sequences belonging to the central beacon time slot and the proxy beacon time slot are consistent, the length of each time slot is determined by the length of the TDMA time slot, the unit is 1 millisecond, all the TDMA time slots can only be assigned to the same service, and the assigned service is determined by a TDMA time slot link identifier.
Compared with the prior art, the invention has the beneficial effects that: in the TDMA time slot, the nodes do not need to perform channel competition, and can monopolize the allocated TDMA time slot, so that the upgrade file data can be effectively transmitted. If the TDMA time slot is used, the upgrading node can be sent in a fixed time slot, the upgrading node can be ensured to be sent in a beacon period through the TDMA time slot, and the conflict can be avoided through the allocation of the TDMA time slot, so that the VCS time and the back-off time of CSMA are saved; the invention utilizes the TDMA time slot to carry out the rapid transmission of the upgrade file data, thereby realizing the rapid upgrade of the node.
Drawings
Fig. 1 is a transmission flow chart of the upgrade service in the present invention.
Fig. 2 is a schematic diagram of basic HPLC networking in the present invention.
Fig. 3 is a diagram of TDMA slot division.
Fig. 4 is a diagram of unicast TDMA time slots.
Fig. 5 is a unicast TDMA timeslot node routing diagram.
Fig. 6 is a broadcast TDMA time slot diagram.
Fig. 7 is a broadcast TDMA timeslot node routing diagram.
Fig. 8 is a service flow diagram of upgrade operation performed by the CCO.
Fig. 9 is a flowchart of relevant upgrade operation services performed after the STA receives the start of the upgrade.
Detailed Description
The present invention will be further illustrated with reference to the accompanying drawings and detailed description, which will be understood as being illustrative only and not limiting in scope.
The embodiment is as follows: in this embodiment: HPLC: broadband low-voltage power carrier technology; TDMA: time Division Multiple Access (Time Division Multiple Access) LEVEL; BCN: beacon beacons; CCO: head-end communication node PCO: a proxy forwarding node; STA: a tail-end communication node; REQ: request, request; and ACK: acknowledgement confirmation; CNF: confirm; REP: reply replying; TEI: and the Terminal Equipment identifies the Terminal Equipment Identifier.
As shown in fig. 1, a method for fast upgrade using TDMA time slots, the method comprising the steps of:
1) the CCO sends an upgrade starting command to the STA, and the STA enters an upgrade state after receiving the upgrade starting command;
2) the CCO sends a data block to the STA, the STA keeps the data after receiving the data, and updates a local bitmap;
3) the CCO inquires the state of the STA, and after the STA receives the data, the state and the bitmap condition of the received data block are returned;
4) for a data block lacking in the STA station, the CCO supplements the STA station with a packet;
5) repeating the steps 3) and 4) until the data are collected by the STA;
6) the CCO sends an execution upgrade to the STA, the STA verifies the integrity of the upgrade package after receiving the upgrade package, and the length and CRC of the received upgrade package are locally stored for future reference after successful commissioning; if fail, set length and CRC to 0x 00;
7) and the CCO inquires the site information, if the length and the CRC value returned by the STA are the same as those issued by the CCO, the site is considered to be upgraded successfully, and if not, the upgrade is judged to be failed.
The TDMA refers to a TDMA time slot allocated to a designated node by a CCO, and in the time slot, the node does not need to perform channel competition and can exclusively occupy the allocated TDMA time slot, so that upgrade file data can be effectively transmitted.
As shown in fig. 2, the HPLC network is composed of a head node and several slave nodes ad hoc networks, wherein some of the slave nodes play the role of forwarding relay as proxy nodes; at present, HPLC (high performance liquid chromatography) supports 15-level deep networking, and each node has a unique equipment identifier TEI; the TEI of the CCO is set to 1, and when the CCO issues or queries a task to the STA or the PCO, slot allocation is performed according to the hierarchy of the specific tail-end node.
As shown in fig. 3, one beacon period is divided into a beacon slot, a TDMA slot, a CSMA slot, etc., as shown in fig. 4 and fig. 6, when the TDMA slot is divided, it indicates which STA the slot is allocated to use, and a specific STA sequence, STAs multiplexing a central beacon and a proxy beacon, the STA belonging to each TDMA slot and the CCO and STA sequence belonging to the central beacon slot and proxy beacon slot are consistent, the length of each slot is determined by the TDMA slot length, the unit is 1 ms, all TDMA slots can only be assigned to the same service, and the assigned service is determined by the TDMA slot link identifier.
The upgrading process of the HPLC site is divided into five states: an idle state, a receiving progress state, a receiving completion state, an upgrade progress state, and a test run state. When the STA is not updated online, the STA is in an idle state. When the STA performs online upgrade, if the file data is being transmitted and the file data is not completely transmitted, the STA is in a receiving proceeding state. When the STA performs online upgrade, if the file data transmission is completed and the CRC check of the file data is correct, the STA is in a receiving completion state. When the STA performs online upgrade, if the CRC of the file data is correct, and an upgrade execution command is received, and the STA is not restarted, the STA is in an upgrade proceeding state. And when the STA is subjected to online upgrade, if the STA is restarted and the trial operation ending time is not reached, the STA is in a trial operation state.
As shown in fig. 8, the specific process of upgrading the CCO includes the following steps:
2.1) the CCO sends a message for inquiring site information, and checks the site information of the STA and whether the site needs to be upgraded;
2.2) if the STA site information shows that the upgrading can be carried out, the CCO sends an upgrade starting message, otherwise, the upgrading process is ended;
2.3) when the CCO receives the update starting response message of the STA, the CCO starts to transmit file data to the STA, otherwise, the CCO ends the update process;
2.4) the CCO sends an upgrade file message, sends an upgrade state of an inquiry STA (station), judges the upgrade state message replied by all STAs, checks whether bitmaps of file information received by the STAs are complete or not, and judges whether the STAs completely receive the whole upgrade file or not;
2.5) if the STA station upgrading state response information received by the CCO shows that the STA has completely received the upgrading file, the CCO sends an upgrading execution message to the STA; otherwise, continuously transmitting missing upgrade messages to the STA according to the bitmap information of the state information responded by the STA;
2.6) CCO inquires the site information and judges whether the STA is successfully upgraded.
As shown in fig. 9, the specific process of the STA upgrading includes the following steps:
3.1) the STA receives the inquiry site information message of the CCO, puts the protocol version number and the upgrade ID information into an inquiry site information uplink message and sends the inquiry site information uplink message to the CCO;
3.2) the STA receives the upgrading starting command of the CCO, the STA enters a receiving proceeding state, and the STA starts to receive the upgrading message of the CCO;
3.3) the STA responds to the upgrade state query message of the CCO, and places the protocol version number, the upgrade state, the effective block number, the initial block number, the upgrade ID and the bitmap into an uplink message of the query station in the upgrade state to respond to the CCO;
3.4) if the STA completely receives the upgrade message, entering a receiving completion state; when receiving an upgrade message execution command issued by the CCO, converting the command into an upgrade proceeding state;
3.5) restarting after the STA is upgraded, entering a test run state, and converting to an idle state after the test run is successfully finished; if the test operation fails, setting the length and the CRC to be 0x00, and failing to upgrade;
3.6) when the STA is in an idle state, the CCO sends inquiry station information, the STA responds to the CCO (the response process is the same as that in the step 1)), and the CCO judges whether the STA is upgraded successfully;
3.7) if the STA receives an upgrade stop command issued by the CCO in any upgrading process, the STA needs to stop the current upgrading operation.
As shown in fig. 4 and 5, the step of transmitting the upgrade file data by unicast is as follows:
4.1) on the route from the CCO to a specific STA node, the CCO distributes two time slots for each node through BCN, and each time slot is divided into a REQ/IND time slot and a REP/CNF time slot;
4.2) the CCO carries out TDMA time slot allocation through BCN, the intermediate proxy node PCO forwards layer by layer, and finally forwards the TDMA time slot allocation to the STA, and the STA starts to start the TDMA time slot after receiving the time slot allocation;
4.3) the CCO calls the REQ or issues the IND of the key data through the TDMA time slot, and the STA also replies the REP or confirms the CNF through the TDMA time slot after receiving the REQ or issues the IND;
4.4) the upgrade message is sent from the node network CCO through the TDMA time slot, and is forwarded through the PCO or directly sent to the STA, and the STA can perform the related operation of upgrading after receiving the upgrade message.
As shown in fig. 6 and 7, the transmission steps of the broadcast upgrade file data are as follows:
5.1) on the route from the CCO to a specific STA node, the CCO allocates a TDMA time slot through a BCN, the PCO of the intermediate proxy node finally forwards the TDMA time slot allocation to the STA through layer-by-layer forwarding, and the STA starts to start the TDMA time slot after receiving the time slot allocation;
5.2) the CCO calls the REQ or issues the IND for key data through the TDMA time slot, and the STA receives the REQ or issues the IND and receives and stores the data through the TDMA time slot;
5.3) the upgrade message is sent from the node network CCO through the TDMA time slot, and is forwarded through the PCO or directly sent to the STA, and the STA can perform the related operation of upgrading after receiving the upgrade message.
It should be noted that the above-mentioned contents only illustrate the technical idea of the present invention, and the protection scope of the present invention is not limited thereby, and it is obvious to those skilled in the art that several modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations fall within the protection scope of the claims of the present invention.
Claims (8)
1. A method for fast upgrade using TDMA time slots, the method comprising the steps of:
1) the CCO sends an upgrade starting command to the STA, and the STA enters an upgrade state after receiving the upgrade starting command;
2) the CCO sends a data block to the STA, the STA keeps the data block after receiving the data, and a local bitmap is updated;
3) the CCO inquires the state of the STA, and after the STA receives the data, the state and the bitmap condition of the received data block are returned;
4) for a data block lacking in the STA station, the CCO supplements the STA station with a packet;
5) repeating 3) and 4) until the STA is full of data;
6) the CCO sends an execution upgrade to the STA, the STA verifies the integrity of the upgrade package after receiving the upgrade package, and the length and CRC of the received upgrade package are locally stored for future reference after successful commissioning; if fail, set length and CRC to 0x 00;
7) and the CCO inquires the site information, if the length and the CRC value returned by the STA are the same as those issued by the CCO, the site is considered to be upgraded successfully, and if not, the upgrade is judged to be failed.
2. The method for fast upgrade using TDMA time slots according to claim 1, wherein said CCO upgrade specific process comprises the steps of:
2.1) CCO sends message for inquiring site information, and checks the site information of STA and whether site upgrading is needed;
2.2) if the STA site information shows that the upgrading can be carried out, the CCO sends an upgrade starting message, otherwise, the upgrading process is ended;
2.3) when the CCO receives the update starting response message of the STA, the CCO starts to transmit file data to the STA, otherwise, the CCO ends the update process;
2.4) the CCO sends an upgrade file message, sends an upgrade state of an inquiry STA (station), judges the upgrade state message replied by all STAs, checks whether bitmaps of file information received by the STAs are complete or not, and judges whether the STAs completely receive the whole upgrade file or not;
2.5) if the STA station upgrading state response information received by the CCO shows that the STA has completely received the upgrading file, the CCO sends an upgrading execution message to the STA; otherwise, continuously transmitting missing upgrade messages to the STA according to the bitmap information of the state information responded by the STA;
and 2.6) the CCO inquires the site information and judges whether the STA is successfully upgraded.
3. The method as claimed in claim 2, wherein the specific process of the STA performing the upgrade includes the following steps:
3.1) the STA receives the inquiry site information message of the CCO, puts the protocol version number and the upgrade ID information into an inquiry site information uplink message and sends the inquiry site information uplink message to the CCO;
3.2) the STA receives the upgrading starting command of the CCO, the STA enters a receiving proceeding state, and the STA starts to receive the upgrading message of the CCO;
3.3) the STA responds to the upgrade state query message of the CCO, and places the protocol version number, the upgrade state, the effective block number, the initial block number, the upgrade ID and the bitmap into an uplink message of the query site in the upgrade state to respond to the CCO;
3.4) if the STA completely receives the upgrade message, entering a receiving completion state; when receiving an upgrade message execution command issued by the CCO, converting the command into an upgrade proceeding state;
3.5) restarting after the STA is upgraded, entering a test run state, and converting to an idle state after the test run is successfully finished; if the test operation fails, setting the length and the CRC to be 0x00, and failing to upgrade;
3.6) when the STA is in an idle state, the CCO sends inquiry station information, the STA responds to the CCO, and the CCO judges whether the STA is successfully upgraded;
3.7) if the STA receives an upgrade stop command issued by the CCO in any upgrading process, the STA needs to stop the current upgrading operation.
4. A method for fast upgrade using TDMA time slots according to claim 3, wherein the step of unicast upgrade file data transmission is as follows:
4.1) on the route from the CCO to a specific STA node, the CCO distributes two time slots for each node through BCN;
4.2) the CCO carries out TDMA time slot allocation through BCN, the intermediate proxy node PCO forwards layer by layer, and finally forwards the TDMA time slot allocation to the STA, and the STA starts to start the TDMA time slot after receiving the time slot allocation;
4.3) the CCO calls the REQ or issues the IND of the key data through the TDMA time slot, and the STA also replies the REP or confirms the CNF through the TDMA time slot after receiving the REQ or issues the IND;
4.4) the upgrade message is sent from the node network CCO through the TDMA time slot, and is forwarded through the PCO or directly sent to the STA, and the STA receives the upgrade message to perform the operation related to the upgrade.
5. The method for rapid upgrade using TDMA slots, according to claim 4, wherein said step of broadcasting for upgrade file data transmission comprises the steps of:
5.1) on the route from the CCO to a specific STA node, the CCO allocates a TDMA time slot through a BCN, the PCO of the intermediate proxy node finally forwards the TDMA time slot allocation to the STA through layer-by-layer forwarding, and the STA starts to start the TDMA time slot after receiving the time slot allocation;
5.2) the CCO calls the REQ or issues the IND for key data through the TDMA time slot, and the STA receives the REQ or issues the IND and receives and stores the data through the TDMA time slot;
5.3) the upgrade message is sent from the node network CCO through the TDMA time slot, and is forwarded through the PCO or directly sent to the STA, and the STA receives the upgrade message to perform the operation related to the upgrade.
6. The method for fast upgrade using TDMA time slots according to claim 5, wherein when CCO issues or queries the tasks for STA or PCO, the time slot allocation is made according to the hierarchy of specific tail end node.
7. A method for fast upgrade using TDMA slots, according to claim 6, wherein said STA and said central beacon slot and said proxy beacon slot of each TDMA slot are sequenced in accordance with said CCO and STA, and wherein the length of each slot, determined by the TDMA slot length, is in units of 1 millisecond.
8. A method for fast upgrade using TDMA slots according to claim 7, characterized in that each slot in 4.1) is subdivided into REQ/IND slots and REP/CNF slots.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210825958.9A CN115134354A (en) | 2022-07-14 | 2022-07-14 | Method for rapidly upgrading by using TDMA time slot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210825958.9A CN115134354A (en) | 2022-07-14 | 2022-07-14 | Method for rapidly upgrading by using TDMA time slot |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115134354A true CN115134354A (en) | 2022-09-30 |
Family
ID=83384037
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210825958.9A Pending CN115134354A (en) | 2022-07-14 | 2022-07-14 | Method for rapidly upgrading by using TDMA time slot |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115134354A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116055920A (en) * | 2023-03-31 | 2023-05-02 | 北京智芯微电子科技有限公司 | Program upgrading method and system of communication module and electricity consumption information acquisition system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070026794A1 (en) * | 2005-07-27 | 2007-02-01 | Sharp Laboratories Of America, Inc. | Method for managing hidden stations in a centrally controlled network |
CN110764801A (en) * | 2019-09-29 | 2020-02-07 | 国网湖南省电力有限公司 | A high-speed power line carrier remote upgrade method and device |
CN111145523A (en) * | 2020-01-03 | 2020-05-12 | 重庆邮电大学 | Method for upgrading micropower wireless communication module in electricity consumption information acquisition system |
WO2022016906A1 (en) * | 2020-07-22 | 2022-01-27 | 珠海中慧微电子有限公司 | Signal sending method for broadband carrier communication network |
-
2022
- 2022-07-14 CN CN202210825958.9A patent/CN115134354A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070026794A1 (en) * | 2005-07-27 | 2007-02-01 | Sharp Laboratories Of America, Inc. | Method for managing hidden stations in a centrally controlled network |
CN110764801A (en) * | 2019-09-29 | 2020-02-07 | 国网湖南省电力有限公司 | A high-speed power line carrier remote upgrade method and device |
CN111145523A (en) * | 2020-01-03 | 2020-05-12 | 重庆邮电大学 | Method for upgrading micropower wireless communication module in electricity consumption information acquisition system |
WO2022016906A1 (en) * | 2020-07-22 | 2022-01-27 | 珠海中慧微电子有限公司 | Signal sending method for broadband carrier communication network |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116055920A (en) * | 2023-03-31 | 2023-05-02 | 北京智芯微电子科技有限公司 | Program upgrading method and system of communication module and electricity consumption information acquisition system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110856194B (en) | Dual-mode fusion networking method and communication method | |
JP7512531B2 (en) | Wireless communication method and system for node equipment in the Internet of Things for power transmission and transformation equipment | |
CN115348564B (en) | Direct link resource allocation method, device and system and readable storage medium | |
EP2362707B1 (en) | Method and apparatus for negotiating master station | |
US20200374942A1 (en) | User equipment and base station involved in paging procedures | |
CN110401971B (en) | Communication method based on 230MHz electric power special frequency band intelligent ad hoc network | |
CN114143899B (en) | Channel access method of broadband carrier network | |
CN113472694B (en) | CSMA (Carrier sense multiple Access) time slot channel binding access method and power carrier communication method | |
CN111836404B (en) | End-to-end communication link establishment method, access point and station | |
CN109151951B (en) | Data interaction method for multi-frequency centralized network networking | |
EP4084348B1 (en) | Time slot allocation method and apparatus for power line communication | |
CN114745613B (en) | Meter reading method for broadband carrier network | |
CN113098671B (en) | Dual-mode communication method for fusing wireless beacon time slot and HPLC beacon time slot | |
CN113891479B (en) | A time slot estimation method based on beacon network | |
CN107770812A (en) | method for mesh network packet transmission | |
CN103797730A (en) | Method for updating identifier of multicast service, and terminal and base station adopting the same | |
CN115865134B (en) | Marketing and distribution isolation method applied to power line high-speed carrier communication | |
CN115134354A (en) | Method for rapidly upgrading by using TDMA time slot | |
CN115665768A (en) | Hybrid channel allocation method suitable for wireless self-organizing network | |
CN114448549B (en) | Ad hoc network dynamic TDMA control time slot allocation method based on neighbor node information | |
JP4680047B2 (en) | Wireless relay system and method | |
CN116131927A (en) | A Multi-hop TDMA Time Slot Allocation Method Applicable to UAV Ad Hoc Network | |
KR102762154B1 (en) | IoT Terminal, AP Device and Method for Wireless Communication between Large-Scale IoT Terminals in Ultra-High Density Environment | |
CN113038623B (en) | Improved method of distributed TDMA (time division multiple Access) adjacent node sensing and network access mechanism | |
CN113260019A (en) | Method for assisting wireless self-organizing network |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220930 |