WO2020109867A2 - Multi-mode communication device, method and system - Google Patents

Multi-mode communication device, method and system Download PDF

Info

Publication number
WO2020109867A2
WO2020109867A2 PCT/IB2019/001323 IB2019001323W WO2020109867A2 WO 2020109867 A2 WO2020109867 A2 WO 2020109867A2 IB 2019001323 W IB2019001323 W IB 2019001323W WO 2020109867 A2 WO2020109867 A2 WO 2020109867A2
Authority
WO
WIPO (PCT)
Prior art keywords
message
communication module
communication device
communication
sent
Prior art date
Application number
PCT/IB2019/001323
Other languages
French (fr)
Chinese (zh)
Other versions
WO2020109867A3 (en
Inventor
陈小稳
左杨眉
胖志南
王经龙
Liu
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020109867A2 publication Critical patent/WO2020109867A2/en
Publication of WO2020109867A3 publication Critical patent/WO2020109867A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1215Wireless traffic scheduling for collaboration of different radio technologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/52Allocation or scheduling criteria for wireless resources based on load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • H04W72/569Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient of the traffic information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/40Arrangements in telecontrol or telemetry systems using a wireless architecture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/60Arrangements in telecontrol or telemetry systems for transmitting utility meters data, i.e. transmission of data from the reader of the utility meter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • Multi-mode communication device communication method and multi-mode communication system
  • the present application relates to the field of network communication technology, and in particular, to a multi-mode communication device, a communication method thereof, and a multi-mode communication system.
  • Currently used communication modules usually include multiple communication modules. When sending a piece of information, the multiple communication modules all send the information to the receiving end. When the information sent by any communication module reaches the receiving end first , The information sent by other modules is invalid.
  • An object of the embodiments of the present application is to provide a multi-mode communication device, a communication method thereof, and a multi-mode communication system to solve the problem of wasting system resources when the communication module sends information in the prior art.
  • the embodiments of the present application are implemented as follows:
  • the control unit can be connected to a concentrator or an electricity meter, and is used to select a first communication module from the at least one communication module according to the current network status and call the first communication module Send a message to the opposite multi-mode communication device, and select a second communication module from the at least one communication module according to the data type of the message sent by the opposite multi-mode communication device, and call the second communication module to receive A message sent by a multi-mode communication device at the opposite end;
  • the communication module connected to the control unit, is used to send a message to the multi-mode communication device at the opposite end when called by the control unit, and at the control unit Receiving the message sent by the multi-mode communication device at the opposite end.
  • an embodiment of the present application provides a communication method of a multi-mode communication device.
  • the multi-mode communication device is the multi-mode communication device described in the first aspect, and the method includes: Network status, select the first communication module from the at least one communication module, and call the first communication module to send a message to the opposite multimode communication device; according to the data type of the message sent by the opposite multimode communication device , Select a second communication module from the at least one communication module, and call the second communication module to receive the message sent by the multi-mode communication device at the opposite end.
  • an embodiment of the present application provides a multimode communication system, including a first multimode communication device, a concentrator, a second multimode communication device, and an electricity meter, wherein the first multimode communication device
  • the multimode communication device according to the first aspect above, and the second multimode communication device is the multimode communication device according to the first aspect above; in the system, the first multimode communication device and the A concentrator is connected, the second multimode communication device is connected to the electricity meter, and the concentrator and the electricity meter send and receive messages through the first multimode communication device and the second communication module.
  • FIG. 1 is a schematic structural diagram of a multimode communication device according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a multimode communication device according to another embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a multimode communication system according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a message sent by a module communication device according to an embodiment of the present application
  • FIG. 5 is a schematic flowchart of a message received by a multi-mode communication device according to an embodiment of the present application.
  • control unit 110 communication module 120, PLC communication module 121, RF communication module 122, Lora communication module 123, concentrator 200, first multimode communication device 101, second multimode communication device 102, Electric meter 300. detailed description
  • the multimode communication device provided by an embodiment of the present application may include the following structure.
  • the control unit can be connected to a concentrator or an electric meter, and is used for selecting a first communication module among at least one communication module according to the current network status, invoking the first communication module to send a message to the opposite multi-mode communication device And select a second communication module from at least one communication module according to the data type of the message sent by the multi-mode communication device at the opposite end, and call the second communication module to receive the message sent by the multi-mode communication device at the opposite end.
  • the communication module is connected to the control unit, and is used to send a message to the opposite-end multimode communication device under the call of the control unit, and receive a message sent by the opposite-end multimode communication device under the call of the control unit.
  • control unit in the multi-mode communication device may select the first communication module from at least one communication module according to the current network status, and call the first communication module to the opposite-end multi-mode communication device Sending a message can solve the problem of wasting system resources when the communication module sends information, compared with the method of calling all communication modules to send a message to the opposite end in the prior art.
  • FIG. 1 is a schematic structural diagram of a multimode communication device according to an embodiment of the present application.
  • the multimode communication device includes a control unit 110, a plurality of communication modules 120, and the control unit 110 is respectively connected to the plurality of communication modules 120 , And the other end is connected to a concentrator or electricity meter.
  • the control unit 110 selects one of the multiple communication modules 120 as the first communication module according to the current network status, and according to the data type of the message sent by the multi-mode communication device at the opposite end, the multiple communication modules One of the communication modules in 120 is selected as the second communication module, and the first communication module is called to send a message to the multi-mode communication device at the opposite end, and the second communication module is called to receive the message sent by the multi-mode communication device.
  • the communication module 120 sends a message to the opposite-end multimode communication device, and receives the message sent by the opposite-end multimode communication device.
  • the plurality of communication modules 120 may be different types of communication modules, and the types of communication modules may include PLC (Programmable Logic Contrllor ; programmable logic control) communication modules, RF (Radio Freqency ; radio frequency) Communication modules, Lora communication modules, RS485 communication modules, etc., are not limited here.
  • PLC Programmable Logic Contrllor ; programmable logic control
  • RF Radio Freqency ; radio frequency
  • Communication modules Lora communication modules
  • Lora communication modules RS485 communication modules, etc.
  • each communication module is installed in the multi-mode communication device through its corresponding plug-in interface, and the plug-in interface is used to replace the communication module.
  • each communication module in the multi-mode communication device, can be installed in the multi-mode communication device through their respective plug-in interface, the interface can be UART (Universal Asynchronous Receiver/Transmitter ; asynchronous transceiver transmission ) Interface, not limited here.
  • many Modular communication devices can reserve the number of communication module interfaces in advance.
  • Each communication module can adopt a modular design with interchangeability, and the communication module interface is plug-in design.
  • Each communication module has an independent communication function.
  • a multi-mode communication device can arbitrarily combine one or more, one or more communication modules, and the plug-in design can also achieve the purpose of arbitrarily exchanging different types and different numbers of communication modules according to requirements, thereby facilitating the multi-mode communication device usage of.
  • a multi-mode communication device can simultaneously install 1 PLC communication module and 2 RF communication modules, where each communication module is connected to the control unit through the same UART interface, according to different use requirements, the multi-mode The communication device can be replaced with a PLC communication module and two Lora communication modules.
  • a multi-mode communication device can be installed with three RF communication modules at the same time. According to different usage requirements, the multi-mode communication device can be replaced with an RLC communication module, and the remaining interfaces can be reserved.
  • FIG. 2 is a schematic structural diagram of a multimode communication device according to another embodiment of the present application.
  • the multimode communication device includes a control unit 110, a PLC communication module 121, an RF communication module 122, and a Lora communication module 123, the control unit 110 is respectively connected to the PLC communication module 121, the RF communication module 122, and the Lora communication module 123, wherein all communication modules pass through the same interface (such as
  • the control unit 110 can call the RF communication module 122 selected from the PLC communication module 121, the RF communication module 122, and the Lora communication module 123 as the first communication module Block, send a message to the opposite multi-mode communication device, and select the corresponding type of RF communication module 122 as the second communication module among the multiple communication modules according to the data type of the message sent by the opposite multi-mode communication device.
  • the RF communication module 122 receives the message sent by the multi-mode communication device at the opposite end.
  • the PLC communication module 121, the RF communication module 122, and the Lora communication module 123 are used to send messages to the opposite-end multimode communication device and receive messages sent by the opposite-end multimode communication device when called by the control unit 110.
  • the multimode communication system provided by an embodiment of the present application may include the following structure.
  • It includes a first multimode communication device, a concentrator, a second multimode communication device, and an electricity meter.
  • the first multimode communication device is connected to the concentrator
  • the second multimode communication device is connected to the electricity meter
  • the concentrator and the electricity meter send and receive messages through the first multimode communication device and the second multimode communication device.
  • the first multi-mode communication device and the second multi-mode communication device in the system have the same structure as the above multi-mode communication device. It can be seen that the control unit in the multi-mode communication device in the system can According to different network states, the first communication module is selected from at least one communication module, and a message is sent to the multi-mode communication device at the opposite end, and the method of calling all communication modules to send a message to the opposite end in the prior art In comparison, it can solve the problem of wasting system resources when the communication module sends information in the prior art.
  • the multimode communication device may be connected to the concentrator or the electric meter through a standard interface, such as a UART interface, and the interface type is not limited herein.
  • a standard interface such as a UART interface
  • the wireless communication module in the first multimode communication device and the wireless communication module in the second multimode communication device The distance should be within a certain distance and the working frequency is the same, so as to ensure the smooth transmission of wireless data, and in this system, the concentrator and the electric meter can be automatically networked through the first multimode communication device and the second multimode communication device When verifying according to the networking protocol, the networking protocol is compatible if the networking is successful.
  • each resident of a cell is equipped with an electric meter, and each electric meter is connected to a multimode communication device, and the cell is equipped with a concentrator, which is connected to a multimode communication device.
  • This example can solve the problem of wasting system resources when the communication module sends information in the prior art.
  • the multi-mode communication device may include a hardware housing, which is provided with a control unit and various communication modules to facilitate the connection between the concentrator and the electricity meter.
  • a hardware housing which is provided with a control unit and various communication modules to facilitate the connection between the concentrator and the electricity meter.
  • the size, material, and shape of the hardware housing Features are not limited.
  • FIG. 3 is a schematic structural diagram of a multimode communication system according to an embodiment of the present application.
  • the multimode communication system includes: a concentrator 200, a first multimode communication device 101, and a second multimode
  • the communication device 102 is composed of an electric meter 300.
  • the first multimode communication device 101 is connected to the concentrator 200 through an interface (such as a UART interface)
  • the second multimode communication device 102 is connected to an electric meter 300 through an interface (such as a UART interface)
  • the concentrator 200 and the electric meter 300 are connected through the first multimode
  • the communication device 101 and the second multimode communication device 102 send and receive messages.
  • control unit is specifically configured to: obtain a message to be sent. If the current network state meets the first preset requirement, select an idle communication module with the highest communication rate from the at least one communication module, and use the idle communication module with the highest communication rate as the first The communication module calls the first communication module to send the message to be sent to the multi-mode communication device at the opposite end.
  • n idle communication modules from the at least one communication module according to the order of communication rate from high to low, and select the n idle communication modules
  • Each communication module in serves as the first communication module, adds a check mark to the message to be sent, and calls each first communication module to separately send the check mark to the multi-mode communication device at the opposite end to be sent Packet; where n is a positive integer greater than or equal to 2, the check mark is used by the multi-mode communication device at the opposite end to compare whether each received message with the same check mark added is the same.
  • the idle communication with the highest communication rate is selected from the at least one communication module As the first communication module, the module calls the first communication module to send the message to be sent to the multi-mode communication device at the opposite end.
  • the control unit can also select other idle communication modules to send other messages to be sent, so as to send multiple messages through multiple communication modules in a good network state, thereby improving the network transmission rate and message transmission rate.
  • the control unit selects n idle communication modules from the at least one communication module according to the order of communication rate from high to low, and selects n idle communication modules.
  • Each communication module in the communication module serves as the first communication module, adds a check mark to the message to be sent, and calls each first communication module to send the added check mark to the multi-mode communication device at the opposite end respectively Messages to be sent.
  • n is a positive integer greater than or equal to 2
  • the check mark is used by the multi-mode communication device at the opposite end to compare whether the received messages with the same check mark are the same, It can be seen that in a bad state under the network state, the reliability of the network transmission can be improved by selecting multiple communication modules to send messages.
  • the network state includes a network rate
  • the network state meets the first preset requirement, which may be, the network rate is greater than a set rate threshold
  • the network state does not meet the first preset requirement, which may be, the network The rate is not greater than the set rate threshold.
  • the set rate threshold can be 100Mb/s, which is not limited here.
  • control unit is further specifically configured to: receive the message sent by the connected concentrator or electricity meter, and determine whether the length of the received message is greater than the length threshold; if so, the received The message is split and encoded to obtain the message to be sent, otherwise, the received message is encoded to obtain the message to be sent.
  • a length threshold may be preset, if the length of the packet is greater than the length threshold, the packet is split, and the split packet is encoded to obtain the packet to be sent If the length of the message is not greater than the length threshold, the message is directly encoded to obtain the message to be sent.
  • the purpose of encoding the message may be to encode the message into a transmittable format. The length of the message can be expressed by the number of bytes occupied by the message.
  • FIG. 4 is a schematic flowchart of a message sent by a multi-mode communication device according to an embodiment of the present application. As shown in FIG. 4, the process includes the following steps.
  • Step 402 Receive a message sent by a connected concentrator or electricity meter.
  • Step 404 Determine whether the length of the received message is greater than a length threshold; if so, execute Go to step 406, split into multiple messages, and perform 408; if not, perform step 408, to encode the message.
  • Step 410 Add the encoded message to the queue of messages to be sent.
  • Step 412 Take out a message to be sent.
  • Step 414 Determine whether the current network shape meets the first preset requirement.
  • Step 416 From the above-mentioned at least one communication module, according to the order of the communication rate from high to low, select n idle communication modules as the first communication module.
  • Step 418 Add a check mark to the message to be sent, and perform step 422.
  • Step 420 From the at least one communication module, select an idle communication module with the highest communication rate as the first communication module.
  • Step 422 Call the first communication module to send a message.
  • control unit is further specifically configured to: after receiving the message sent by the opposite-end multimode communication device, determine whether the received message carries a check mark; if not, then Determine whether the message is successfully received, otherwise, obtain the message carrying the same check mark from other received messages, and compare whether the received message and the obtained message are the same. If they are the same, determine the message The message reception is successful. If they are different, it is determined that the message reception failed.
  • the control unit determines whether the received message carries a check mark. If not, it means that the message is in If it is sent under good network conditions, it is determined that the message was successfully received. If the message carries a check mark, It means that this message was sent under the condition that the network status is not good, and the message carrying the same check mark will be obtained from other received messages, and the received message will be compared with the obtained Whether the described messages are the same; if they are the same, it is determined that the message is successfully received; if they are different, it is determined that the message is received unsuccessfully.
  • the multi-mode communication device when the network state is not good, the multi-mode communication device will send multiple times through multiple first communication modules when sending a message, and each sent message carries a check mark, so here If the received message carries a check mark, then obtain the message carrying the same check mark from other received messages, and compare whether the received message and the obtained message are the same , If it is the same, it means that the complete message was received every time when the message is received multiple times, so it is determined that the message is successfully received. If it is different, it means that the received message is different each time, or that the message is received data Incomplete, so there is a case where the message reception is incorrect, and it is determined that the message reception has failed.
  • control unit is further configured to: after determining that the message is successfully received, check whether the received message is a fragmented message; if it is a fragmented message, determine the location of the fragmented message Whether other associated fragmented messages have been successfully received, if successful, the fragmented message and other fragmented messages associated with the fragmented message are combined and decoded; if it is not a fragmented message, the received The received message is decoded.
  • the control unit checks whether the received message is a fragmented message; if it is a fragmented message, it determines the other fragmented messages associated with the fragmented message Whether the packets have been received successfully, if successful, the fragmented message and other fragmented messages associated with the fragmented message are merged, and the combined message is decoded; if it is not a fragmented message, then Directly received To decode the message.
  • the control unit may digitally label each fragmented packet obtained by splitting, for example, the labeling form is "packet identifier + fragmented packet sequence number + The total number of fragments.”
  • the control unit determines that the packet is a fragmented packet, and can search for the fragmented packet in the received packet according to the digital label
  • the message belongs to other fragmented messages of the same complete message, so as to determine whether all other fragmented messages associated with the fragmented message have been successfully received, if successful, the fragmented message and the fragmented message
  • the other fragmented messages associated with the text are combined to obtain a complete message, and the complete message is decoded. If the received message does not have a digital label, it means that the message is not a fragmented message, so the control unit decodes the message directly.
  • FIG. 5 is a schematic flowchart of a message received by a multi-mode communication device according to an embodiment of the present application. As shown in FIG. 5, the procedure includes the following steps.
  • Step 502 Receive a message and add it to the received message queue.
  • Step 504 Determine whether the received message carries a check mark.
  • Step 506 Obtain a message carrying the same check mark from other received messages.
  • Step 508 Compare whether the received message and the obtained message are the same.
  • step 512 If the same, go to step 512, if different, go to step 510.
  • Step 510 Delete the received message and the obtained message, and feed back the reception failure.
  • Step 512 Delete the acquired message, and delete the check mark in the received message.
  • Step 514 Determine that the message is successfully received.
  • Step 516 Check whether the received message is a fragmented message.
  • step 518 If yes, go to step 518, if not, go to step 522.
  • Step 518 Determine whether other fragmented messages associated with the received fragmented message have been successfully received.
  • step 520 If successful, go to step 520, otherwise, end the process.
  • Step 520 Combine fragmented messages to obtain a complete message.
  • Step 522 Decode the message.
  • control unit is further configured to: call the at least one communication module described above, send a network status detection instruction to the multi-mode communication device at the opposite end; call at least one communication module mentioned above, and receive the The response signal fed back by the multi-mode communication device according to the network state detection instruction; according to the response signal, determine the network status information with the opposite-end multi-mode communication device.
  • the network state information includes the network rate and whether the network is available.
  • the control unit calls each communication module, sends a network status detection instruction to the same communication module at the opposite end through the communication module, and receives a response signal returned by the same communication module at the opposite end, and the control unit detects according to the sent network status The time of the command and the time of receiving the response signal determine whether the communication rate and communication between this kind of communication module and the same kind of communication module at the opposite end are available. If the control unit does not receive a response after the sent network status detection instruction times out, it is determined that the communication module is not available at the opposite end The same kind of communication module. If a response to one or more peer communication modules is received after the network status detection instruction is issued, it is determined that the communication module has the same kind of communication module available at the peer, and the communication rate corresponding to each response is recorded.
  • control unit determines the communication frequency band to be detected, calls the communication module working in the communication frequency band to send a network state detection instruction to the communication module working in the same communication frequency band of the opposite end, and receives the communication module of the opposite end For the returned response signal, the control unit determines whether the communication rate and communication between the communication module and the communication module at the opposite end are available in the communication frequency band according to the time of sending the network state detection instruction and the time of receiving the response signal.
  • control unit detects the network status in real time by sending a network status detection instruction, and determines the network status information with the peer multi-mode communication device according to the response signal received from the peer control unit, thereby The network communication status can be updated in real time.
  • control unit is further configured to determine the target task priority threshold corresponding to the current network rate according to the current network rate and the preset task priority threshold corresponding to each network rate range; Select the task whose task priority is higher than the target task priority threshold in the task list, and transfer the selected task to the connected concentrator or electricity meter.
  • the control unit determines the target task priority threshold corresponding to the current network rate according to the current network rate and preset task priority thresholds corresponding to each network rate range; and selects the task in the task list Tasks with a priority higher than the priority threshold of the target task will transfer the selected tasks to the connected concentrator or meter.
  • the control unit sets different network conditions corresponding to different task priority thresholds, so that the electricity meter and the concentrator can preferentially execute high-priority tasks according to different network conditions, thereby improving the efficiency of task processing.
  • Table 1 is a schematic table of different network condition levels corresponding to different task priority thresholds, and the network rate range can be set to three levels of excellent, good, and poor, wherein the network rates corresponding to the three levels of excellent, good, and poor are respectively
  • the range is: above 100Mb/s (inclusive), 50Mb/s (inclusive)-100Mb/s, below 50Mb/s, set the priority of the task from high to low according to the importance of each task is 1, 2, 3, 4, 5, 6...n, when the network status is excellent, the corresponding task priority threshold is 0, which means that all tasks can be executed; when the network status is good, the corresponding The task priority threshold is 3, which means that the tasks after the task priority 3 are cancelled, and the tasks before the task 3 are executed preferentially; when the network condition is poor, the corresponding task priority threshold is 6, which means that the task priority is canceled For tasks after 6, priority is given to tasks before task 6.
  • the control unit in the multi-mode communication device may select the first communication module in at least one communication to send a message to the opposite multi-mode communication device according to different network states, thereby solving the communication module in the prior art The problem of wasting system resources when sending information.
  • control unit selects and calls an idle communication module with the highest communication rate from at least one communication module, sends a message to be sent to the multi-mode communication device at the opposite end, and simultaneously controls The unit selects a communication module that is idle and has the second lowest communication rate to send other messages to be sent, which can increase the network transmission rate when the network state is good.
  • the control unit selects n idle communication modules from at least one communication module in order of communication rate from high to low, and adds a school to the packet to be sent Check the mark and call each of the n idle communication modules to send the message to be sent with the check mark to the multi-mode communication device at the opposite end, thereby improving the reliability of network transmission.
  • the control unit sets the priority threshold of each task corresponding to different network conditions, so that the meter and the concentrator can execute high-priority instructions in a limited manner according to the different network conditions, thereby improving the efficiency of network transmission.
  • An embodiment of the present application provides a communication method of a multi-mode communication device, the multi-mode communication device is the multi-mode communication device described above, the method includes: according to the current network status, at least A communication module selects the first communication module and calls the first communication module to send a message to the opposite multimode communication device; according to the data type of the message sent by the opposite multimode communication device, it is selected from at least one communication module The second communication module calls the second communication module to receive the message sent by the multi-mode communication device at the opposite end.
  • selecting the first communication module from at least one communication module according to the current network status, and invoking the first communication module to send a message to the opposite multi-mode communication device includes: obtaining to be sent Message; if the current network status meets the first preset requirement, select an idle communication module with the highest communication rate from at least one communication module, and use the idle communication module with the highest communication rate as the first communication module , Call the first communication module to send the message to be sent to the multi-mode communication device at the opposite end; if the current network status does not meet the first preset requirement, from at least one communication module in the order of communication rate from high to low Select n idle communication modules, use each of the n idle communication modules as the first communication module, add a check mark to the message to be sent, and call each first communication module to The peer multi-mode communication device sends the message to be sent with a check mark added; where n is a positive integer greater than or equal to 2, the check mark is used for the peer multi-mode communication device to compare
  • obtaining a message to be sent includes: receiving a message sent by a connected concentrator or an electricity meter, and judging whether the length of the received message is greater than a length threshold; if so, then Split and encode the received message to obtain the message to be sent, and conversely, encode the received message to obtain the message to be sent.
  • the above method further includes: after receiving the message sent by the multi-mode communication device at the opposite end, judging whether the received message carries a check mark; if it is not carried, then Determine whether the message is successfully received, otherwise, obtain the message carrying the same check mark from other received messages, and compare whether the received message and the obtained message are the same. If they are the same, determine the message The message reception is successful. If they are different, it is determined that the message reception failed.
  • the above method further includes: after determining that the message is successfully received, check whether the received message is a fragmented message; if it is a fragmented message, determine whether the fragmented message is associated Whether all other fragmented messages have been successfully received, if successful, the fragmented message and other fragmented messages associated with the fragmented message are merged and decoded; if it is not a fragmented message, the received To decode the message.
  • the above method further includes: invoking the above-mentioned at least one communication module, sending a network state detection instruction to the peer multi-mode communication device; The device responds to the response signal fed back by the network state detection instruction; based on the response signal, it determines the network state information with the opposite multimode communication device.
  • the above method further includes: determining the target task priority threshold corresponding to the current network rate according to the current network rate and the preset task priority threshold corresponding to each network rate range; Select the task whose task priority is higher than the target task priority threshold in the task list, and transfer the selected task to the connected concentrator or electricity meter.
  • each communication module is It is installed in the multi-mode communication device through its corresponding plug-in interface, which is used to replace the communication module.
  • control unit in the multi-mode communication device may select the first communication module from at least one communication module according to the current network state, and call the selected first communication module to the multi-mode of the opposite end
  • the communication device sends a message, which can solve the problem of wasting system resources when the communication module sends information, compared with the method of calling all communication modules to send a message to the opposite end in the prior art.
  • the communication method of the multi-mode communication device in this embodiment can implement various processes realized by the multi-mode communication device in the foregoing method embodiments, and achieve the same effect, which will not be repeated here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)

Abstract

Disclosed in embodiments of the present application are a multi-mode communication device, method and system. The multi-mode communication device comprises: a control unit (110) and at least one communication module (120); wherein the number of each type of communication modules (120) is at least one; the control unit (110) can be connected to a concentrator or an electricity meter, and is used for selecting a first communication module from at least one communication module (120) according to the current network state, calling the first communication module to send a message to an opposite-end multi-mode communication device, and selecting a second communication module from at least one communication module (120) according to a data type of the message sent by said device, and calling the second communication module to receive the message sent by said device; and the communication module is connected to the control unit, and is used for sending the message to said device, and receiving the message sent by said device.

Description

多模通信装置及其通信方法、 多模通信系统 Multi-mode communication device, communication method and multi-mode communication system
交叉引用 cross reference
[0001]本申请引用于 2018年 11月 26日递交的名称为 "多模通信装置及其通信 方法、 多模通信系统 "的第 201811421741.1 号中国专利申请,其通过引用被全 部并入本申请。 [0001] This application refers to Chinese Patent Application No. 201811421741.1, which was filed on November 26, 2018 and titled "Multimode Communication Device and Communication Method, Multimode Communication System", which is incorporated by reference in its entirety.
技术领域 Technical field
[0002]本申请涉及网络通信技术领域,尤其涉及一种多模通信装置及其通信 方法、 多模通信系统。 [0002] The present application relates to the field of network communication technology, and in particular, to a multi-mode communication device, a communication method thereof, and a multi-mode communication system.
背景技术 Background technique
[0003]随着网络通信技术的快速发展,传统的电表已经普遍升级为智能电表, 电表通过各种通信模块与集中器连接,获取与集中器连接的网络平台服务器 中的各种指令,并且对指令做出反馈。 [0003] With the rapid development of network communication technology, traditional electric meters have been generally upgraded to smart electric meters. The electric meters are connected to the concentrator through various communication modules to obtain various instructions in the network platform server connected to the concentrator. Instruction feedback.
[0004] 目前使用到的通信模块中通常包含多种通信模块, 当发送一份信息的 时候,多种通信模块均向接收端发送该信息, 当任一通信模块发送的信息先 到达接收端时,其他模块发送的信息作废。 [0004] Currently used communication modules usually include multiple communication modules. When sending a piece of information, the multiple communication modules all send the information to the receiving end. When the information sent by any communication module reaches the receiving end first , The information sent by other modules is invalid.
[0005]可见, 目前的通信模块在工作时, 由于各个通信模块同时发送同一份 信息,因此存在浪费系统资源的问题。 发明内容 [0005] It can be seen that when the current communication module is working, since each communication module simultaneously sends the same piece of information, there is a problem of wasting system resources. Summary of the invention
[0006]本申请实施例的目的是提供一种多模通信装置及其通信方法、 多模通 信系统,以解决现有技术中通信模块发送信息时浪费系统资源的问题。 [0006] An object of the embodiments of the present application is to provide a multi-mode communication device, a communication method thereof, and a multi-mode communication system to solve the problem of wasting system resources when the communication module sends information in the prior art.
[0007]为解决上述技术问题,本申请实施例是这样实现的:第一方面,本申 请实施例提供了一种多模通信装置,包括控制单元和至少一种通信模块,每 种所述通信模块的数量至少为一个;所述控制单元,能够与集中器或电表连 接,用于根据当前的网络状态,在所述至少一种通信模块中选取第一通信模 块,调用所述第一通信模块向对端的多模通信装置发送报文,并根据对端的 多模通信装置发送的报文的数据类型,在所述至少一种通信模块中选取第二 通信模块,调用所述第二通信模块接收对端的多模通信装置发送的报文;所 述通信模块,与所述控制单元连接,用于在所述控制单元的调用下向对端的 多模通信装置发送报文,以及在所述控制单元的调用下接收对端的多模通信 装置发送的报文。 [0007] To solve the above technical problems, the embodiments of the present application are implemented as follows: In the first aspect, the embodiments of the present application provide a multi-mode communication device, including a control unit and at least one communication module, each of the communication The number of modules is at least one; the control unit can be connected to a concentrator or an electricity meter, and is used to select a first communication module from the at least one communication module according to the current network status and call the first communication module Send a message to the opposite multi-mode communication device, and select a second communication module from the at least one communication module according to the data type of the message sent by the opposite multi-mode communication device, and call the second communication module to receive A message sent by a multi-mode communication device at the opposite end; the communication module, connected to the control unit, is used to send a message to the multi-mode communication device at the opposite end when called by the control unit, and at the control unit Receiving the message sent by the multi-mode communication device at the opposite end.
[0008]第二方面,本申请实施例提供了一种多模通信装置的通信方法,所述 多模通信装置为上述第一方面所述的多模通信装置,所述方法包括:根据当 前的网络状态,在所述至少一种通信模块中选取第一通信模块,调用所述第 一通信模块向对端的多模通信装置发送报文; 根据对端的多模通信装置发送 的报文的数据类型,在所述至少一种通信模块中选取第二通信模块,调用所 述第二通信模块接收对端的多模通信装置发送的报文。 [0009]第三方面,本申请实施例提供了一种多模通信系统,包括第一多模通 信装置、 集中器、 第二多模通信装置和电表,其中,所述第一多模通信装置 为上述第一方面所述的多模通信装置,所述第二多模通信装置为上述第一方 面所述的多模通信装置;所述系统中 ,所述第一多模通信装置与所述集中器 连接,所述第二多模通信装置与所述电表连接,所述集中器和所述电表通过 所述第一多模通信装置和所述第二通信模块收发报文。 附图说明 [0008] In a second aspect, an embodiment of the present application provides a communication method of a multi-mode communication device. The multi-mode communication device is the multi-mode communication device described in the first aspect, and the method includes: Network status, select the first communication module from the at least one communication module, and call the first communication module to send a message to the opposite multimode communication device; according to the data type of the message sent by the opposite multimode communication device , Select a second communication module from the at least one communication module, and call the second communication module to receive the message sent by the multi-mode communication device at the opposite end. [0009] In a third aspect, an embodiment of the present application provides a multimode communication system, including a first multimode communication device, a concentrator, a second multimode communication device, and an electricity meter, wherein the first multimode communication device The multimode communication device according to the first aspect above, and the second multimode communication device is the multimode communication device according to the first aspect above; in the system, the first multimode communication device and the A concentrator is connected, the second multimode communication device is connected to the electricity meter, and the concentrator and the electricity meter send and receive messages through the first multimode communication device and the second communication module. BRIEF DESCRIPTION
[0010]此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一 部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请 的不当限定。 [0010] The drawings described herein are used to provide a further understanding of the present application and form a part of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an undue limitation on the present application.
[0011]图 1为本申请一实施例提供的多模通信装置结构示意图; [0011] FIG. 1 is a schematic structural diagram of a multimode communication device according to an embodiment of the present application;
[0012]图 2为本申请另一实施例提供的多模通信装置结构示意图; [0012] FIG. 2 is a schematic structural diagram of a multimode communication device according to another embodiment of the present application;
[0013]图 3为本申请一实施例提供的多模通信系统的结构示意图; [0013] FIG. 3 is a schematic structural diagram of a multimode communication system according to an embodiment of the present application;
[0014]图 4为本申请一实施例提供的模通信装置发送报文的流程示意图;[0014] FIG. 4 is a schematic flowchart of a message sent by a module communication device according to an embodiment of the present application;
[0015]图 5为本申请一实施例提供的多模通信装置接收报文的流程示意图。 [0015] FIG. 5 is a schematic flowchart of a message received by a multi-mode communication device according to an embodiment of the present application.
[0016]附图标记:控制单元 110 ,通信模块 120 , PLC通信模块 121 , RF通信 模块 122 , Lora通信模块 123 ,集中器 200 ,第一多模通信装置 101 ,第二多 模通信装置 102 ,电表 300。 具体实施方式 Reference signs: control unit 110, communication module 120, PLC communication module 121, RF communication module 122, Lora communication module 123, concentrator 200, first multimode communication device 101, second multimode communication device 102, Electric meter 300. detailed description
[0017]下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进 行清楚、 完整地描述,显然,所描述的实施例是本申请一部分实施例,而不 是全部的实施例。 基于本申请中的实施例,本领域普通技术人员在没有作出 创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。 [0017] The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. . Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of this application.
[0018]本申请一实施例提供的多模通信装置可以包含如下结构。 [0018] The multimode communication device provided by an embodiment of the present application may include the following structure.
[0019]控制单元,能够与集中器或电表连接,用于根据当前的网络状态,在 至少一种通信模块中选取第一通信模块,调用第一通信模块向对端的多模通 信装置发送报文,并根据对端的多模通信装置发送的报文的数据类型,在至 少一种通信模块中选取第二通信模块,调用第二通信模块接收对端的多模通 信装置发送的报文。 [0019] The control unit can be connected to a concentrator or an electric meter, and is used for selecting a first communication module among at least one communication module according to the current network status, invoking the first communication module to send a message to the opposite multi-mode communication device And select a second communication module from at least one communication module according to the data type of the message sent by the multi-mode communication device at the opposite end, and call the second communication module to receive the message sent by the multi-mode communication device at the opposite end.
[0020]通信模块,与控制单元连接,用于在控制单元的调用下向对端的多模 通信装置发送报文,以及在控制单元的调用下接收对端的多模通信装置发送 的报文。 [0020] The communication module is connected to the control unit, and is used to send a message to the opposite-end multimode communication device under the call of the control unit, and receive a message sent by the opposite-end multimode communication device under the call of the control unit.
[0021]本申请实施例中,该多模通信装置中的控制单元可以根据当前的网络 状态,在至少一种通信模块中选取第一通信模块,调用第一通信模块向对端 的多模通信装置发送报文,与现有技术中调用全部通信模块向对端发送报文 的方式相比,能够解决通信模块发送信息时浪费系统资源的问题。 [0021] In the embodiment of the present application, the control unit in the multi-mode communication device may select the first communication module from at least one communication module according to the current network status, and call the first communication module to the opposite-end multi-mode communication device Sending a message can solve the problem of wasting system resources when the communication module sends information, compared with the method of calling all communication modules to send a message to the opposite end in the prior art.
[0022]为便于描述本实施例,后续均以通信模块的数量为多个进行示意,能 够理解,通信模块的数量可以为一个可以为多个。 图 1为本申请一实施例提供 的多模通信装置结构示意图,如图 1所示,该多模通信装置包括控制单元 110 , 多个通信模块 120 ,控制单元 110分别与多个通信模块 120连接,且另一端连 接集中器或电表。 该控制单元 110根据当前的网络状态,在多个通信模块 120 中选取其中的一个通信模块为第一通信模块,并根据对端的多模通信装置发 送的报文的数据类型,在多个通信模块 120中选取其中的一个通信模块为第二 通信模块,调用第一通信模块向对端的多模通信装置发送报文,并且调用第 二通信模块接收多模通信装置发送的报文。 通信模块 120在控制单元 110的调 用下, 向对端的多模通信装置发送报文,并且接收对端的多模通信装置发送 的报文。 [0022] In order to facilitate the description of this embodiment, the following will be illustrated with the number of communication modules as multiple, can It is understandable that the number of communication modules may be one or more. FIG. 1 is a schematic structural diagram of a multimode communication device according to an embodiment of the present application. As shown in FIG. 1, the multimode communication device includes a control unit 110, a plurality of communication modules 120, and the control unit 110 is respectively connected to the plurality of communication modules 120 , And the other end is connected to a concentrator or electricity meter. The control unit 110 selects one of the multiple communication modules 120 as the first communication module according to the current network status, and according to the data type of the message sent by the multi-mode communication device at the opposite end, the multiple communication modules One of the communication modules in 120 is selected as the second communication module, and the first communication module is called to send a message to the multi-mode communication device at the opposite end, and the second communication module is called to receive the message sent by the multi-mode communication device. Under the call of the control unit 110, the communication module 120 sends a message to the opposite-end multimode communication device, and receives the message sent by the opposite-end multimode communication device.
[0023]本申请实施例中,多个通信模块 120可以为不同种类的通信模块,通信 模块的类型可以包括 PLC( Programmable Logic Contrllor ;可编程序逻辑控制) 通信模块, RF( Radio Freqency ;射频)通信模块, Lora通信模块, RS485通 信模块等,这里不做限定。 [0023] In the embodiment of the present application, the plurality of communication modules 120 may be different types of communication modules, and the types of communication modules may include PLC (Programmable Logic Contrllor ; programmable logic control) communication modules, RF (Radio Freqency ; radio frequency) Communication modules, Lora communication modules, RS485 communication modules, etc., are not limited here.
[0024]本申请实施例中,多模通信装置中,每个通信模块均通过各自对应的 插拔接口安装在多模通信装置中,插拔接口用于更换通信模块。 [0024] In the embodiments of the present application, in the multi-mode communication device, each communication module is installed in the multi-mode communication device through its corresponding plug-in interface, and the plug-in interface is used to replace the communication module.
[0025]一个实施例中 ,在多模通信装置中,每个通信模块都可以通过各自对 应的插拔接口安装在多模通信装置中 , 接口可以为 UART ( Universal Asynchronous Receiver/Transmitter ;异步收发传输)接口 ,这里不作限定。 多 模通信装置可以提前预留通信模块接口的数量,每个通信模块可采用模块化 设计,具备可互换性,且通信模块接口为插拔设计,每个通信模块都具有独 立通信的功能,每个多模通信装置可以任意组合一个或多个、 一种或多种通 信模块,采用插拔设计也可以达到根据需求任意互换不同种类和不同数量的 通信模块的目的,从而方便多模通信装置的使用。 [0025] In one embodiment, in the multi-mode communication device, each communication module can be installed in the multi-mode communication device through their respective plug-in interface, the interface can be UART (Universal Asynchronous Receiver/Transmitter ; asynchronous transceiver transmission ) Interface, not limited here. many Modular communication devices can reserve the number of communication module interfaces in advance. Each communication module can adopt a modular design with interchangeability, and the communication module interface is plug-in design. Each communication module has an independent communication function. A multi-mode communication device can arbitrarily combine one or more, one or more communication modules, and the plug-in design can also achieve the purpose of arbitrarily exchanging different types and different numbers of communication modules according to requirements, thereby facilitating the multi-mode communication device usage of.
[0026]比如,多模通信装置可以同时安装 1个 PLC通信模块和 2个 RF通信模 块,其中每个通信模块都通过相同的 UART 接口连接到控制单元上,根据不 同的使用要求,该多模通信装置可以更换为 1个 PLC通信模块和两个 Lora通 信模块。 再比如,多模通信装置可以同时安装 3个 RF通信模块,根据不同的 使用要求,该多模通信装置可以更换为 1个 RLC通信模块,其余接口可做预 留处理。 [0026] For example, a multi-mode communication device can simultaneously install 1 PLC communication module and 2 RF communication modules, where each communication module is connected to the control unit through the same UART interface, according to different use requirements, the multi-mode The communication device can be replaced with a PLC communication module and two Lora communication modules. As another example, a multi-mode communication device can be installed with three RF communication modules at the same time. According to different usage requirements, the multi-mode communication device can be replaced with an RLC communication module, and the remaining interfaces can be reserved.
[0027]图 2 为本申请另一实施例提供的多模通信装置结构示意图,如图 2 所 示,该多模通信装置包括控制单元 110 , PLC通信模块 121 , RF通信模块 122 , Lora通信模块 123 ,控制单元 110分别与 PLC通信模块 121、 RF通信模块 122、 Lora 通信模块 123 连接,其中所有的通信模块都通过相同的接口 (如 [0027] FIG. 2 is a schematic structural diagram of a multimode communication device according to another embodiment of the present application. As shown in FIG. 2, the multimode communication device includes a control unit 110, a PLC communication module 121, an RF communication module 122, and a Lora communication module 123, the control unit 110 is respectively connected to the PLC communication module 121, the RF communication module 122, and the Lora communication module 123, wherein all communication modules pass through the same interface (such as
UART接口)连接,使得 PLC通信模块 121 ; RF通信模块 122 , Lora通信模 块 123三个模块可以任意互换,整个多模通信装置通过接口(如 UART接口) 与集中器或者电表连接。 控制单元 110可从 PLC通信模块 121、 RF通信模块 122、 Lora通信模块 123中调用选取其中的 RF通信模块 122作为第一通信模 块, 向对端的多模通信装置发送报文,并根据对端的多模通信装置发送的报 文的数据类型,在多个通信模块中选取对应种类的 RF通信模块 122作为第二 通信模块,调用该 RF通信模块 122 ,接收对端的多模通信装置发送的报文。 PLC通信模块 121、 RF通信模块 122、 Lora通信模块 123用于在控制单元 110 调用下, 向对端的多模通信装置发送报文,以及接收对端的多模通信装置发 送的报文。 UART interface) connection, so that PLC communication module 121 ; RF communication module 122, Lora communication module 123 three modules can be interchanged arbitrarily, the entire multi-mode communication device is connected to the concentrator or electric meter through the interface (such as UART interface). The control unit 110 can call the RF communication module 122 selected from the PLC communication module 121, the RF communication module 122, and the Lora communication module 123 as the first communication module Block, send a message to the opposite multi-mode communication device, and select the corresponding type of RF communication module 122 as the second communication module among the multiple communication modules according to the data type of the message sent by the opposite multi-mode communication device. The RF communication module 122 receives the message sent by the multi-mode communication device at the opposite end. The PLC communication module 121, the RF communication module 122, and the Lora communication module 123 are used to send messages to the opposite-end multimode communication device and receive messages sent by the opposite-end multimode communication device when called by the control unit 110.
[0028]本申请一实施例提供的多模通信系统可以包含如下结构。 [0028] The multimode communication system provided by an embodiment of the present application may include the following structure.
[0029]包括第一多模通信装置、 集中器、 第二多模通信装置和电表。 [0029] It includes a first multimode communication device, a concentrator, a second multimode communication device, and an electricity meter.
[0030]该系统中 ,第一多模通信装置与集中器连接,第二多模通信装置与电 表连接,集中器和电表通过第一多模通信装置和第二多模通信装置收发报文。 [0030] In this system, the first multimode communication device is connected to the concentrator, the second multimode communication device is connected to the electricity meter, and the concentrator and the electricity meter send and receive messages through the first multimode communication device and the second multimode communication device.
[0031]本申请实施例中,该系统中第一多模通信装置和第二多模通信装置均 与上述多模通信装置结构相同,可见,该系统中的多模通信装置中的控制单 元可以根据不同的网络状态,在至少一种通信模块中调用选取其中的第一通 信模块, 向对端的多模通信装置发送报文,与现有技术中调用全部通信模块 向对端发送报文的方式相比,能够解决现有技术中通信模块发送信息时浪费 系统资源的问题。 [0031] In the embodiment of the present application, the first multi-mode communication device and the second multi-mode communication device in the system have the same structure as the above multi-mode communication device. It can be seen that the control unit in the multi-mode communication device in the system can According to different network states, the first communication module is selected from at least one communication module, and a message is sent to the multi-mode communication device at the opposite end, and the method of calling all communication modules to send a message to the opposite end in the prior art In comparison, it can solve the problem of wasting system resources when the communication module sends information in the prior art.
[0032]本申请实施例中,多模通信装置可以通过标准接口与集中器或者与电 表连接,标准接口如 UART 接口 ,接口类型这里不做限定。 在本系统中,第 一多模通信装置中的无线通信模块与第二多模通信装置中的无线通信模块的 距离应在一定距离范围内且工作频率相同,从而保证无线数据的顺利传输, 并且本系统中 ,集中器和电表可以通过第一多模通信装置和第二多模通信装 置自动组网,组网时根据组网协议进行验证,组网协议兼容的即为组网成功。 [0032] In the embodiments of the present application, the multimode communication device may be connected to the concentrator or the electric meter through a standard interface, such as a UART interface, and the interface type is not limited herein. In this system, the wireless communication module in the first multimode communication device and the wireless communication module in the second multimode communication device The distance should be within a certain distance and the working frequency is the same, so as to ensure the smooth transmission of wireless data, and in this system, the concentrator and the electric meter can be automatically networked through the first multimode communication device and the second multimode communication device When verifying according to the networking protocol, the networking protocol is compatible if the networking is successful.
[0033]在一个例子中 ,一个小区的每个住户均配备有电表,每个电表与一个 多模通信装置连接,该小区配备有一个集中器,该集中器与一个多模通信装 置连接。 通过该例子,能够解决现有技术中通信模块发送信息时浪费系统资 源的问题。 [0033] In one example, each resident of a cell is equipped with an electric meter, and each electric meter is connected to a multimode communication device, and the cell is equipped with a concentrator, which is connected to a multimode communication device. This example can solve the problem of wasting system resources when the communication module sends information in the prior art.
[0034]本实施例中,多模通信装置可以包括硬件壳体,硬件壳体内设置有控 制单元和各个通信模块,从而方便集中器和电表的连接,该硬件壳体的大小, 材质,形状的特性不做限定。 [0034] In this embodiment, the multi-mode communication device may include a hardware housing, which is provided with a control unit and various communication modules to facilitate the connection between the concentrator and the electricity meter. The size, material, and shape of the hardware housing Features are not limited.
[0035]图 3 为本申请一实施例提供的多模通信系统的结构示意图,如图 3 所 示,该多模通信系统包括:集中器 200 ,第一多模通信装置 101 ,第二多模通 信装置 102 ,电表 300组成。 第一多模通信装置 101 与集中器 200通过接口 (如 UART 接口)连接,第二多模通信装置 102 与电表 300 通过接口 (如 UART接口)连接,集中器 200和电表 300通过第一多模通信装置 101和第二 多模通信装置 102收发报文。 [0035] FIG. 3 is a schematic structural diagram of a multimode communication system according to an embodiment of the present application. As shown in FIG. 3, the multimode communication system includes: a concentrator 200, a first multimode communication device 101, and a second multimode The communication device 102 is composed of an electric meter 300. The first multimode communication device 101 is connected to the concentrator 200 through an interface (such as a UART interface), the second multimode communication device 102 is connected to an electric meter 300 through an interface (such as a UART interface), and the concentrator 200 and the electric meter 300 are connected through the first multimode The communication device 101 and the second multimode communication device 102 send and receive messages.
[0036]本申请一实施例中 ,控制单元具体用于: 获取待发送的报文。 若当前 的网络状态满足第一预设要求,则从上述至少一种通信模块中选取空闲的且 通信速率最高的通信模块,将该空闲的且通信速率最高的通信模块作为第一 通信模块,调用第一通信模块向对端的多模通信装置发送待发送的报文。 [0036] In an embodiment of the present application, the control unit is specifically configured to: obtain a message to be sent. If the current network state meets the first preset requirement, select an idle communication module with the highest communication rate from the at least one communication module, and use the idle communication module with the highest communication rate as the first The communication module calls the first communication module to send the message to be sent to the multi-mode communication device at the opposite end.
[0037]若当前的网络状态不满足第一预设要求,则从上述至少一种通信模块 中按照通信速率从高至低的顺序选取 n个空闲的通信模块,将该 n个空闲的通 信模块中的每个通信模块均作为第一通信模块,在待发送的报文中添加校验 标记,并调用每个第一通信模块分别向对端的多模通信装置发送添加有校验 标记的待发送的报文;其中, n为大于等于 2的正整数,校验标记用于对端的 多模通信装置比对接收到的各个添加有相同的校验标记的报文是否相同。 [0037] If the current network state does not satisfy the first preset requirement, then select n idle communication modules from the at least one communication module according to the order of communication rate from high to low, and select the n idle communication modules Each communication module in serves as the first communication module, adds a check mark to the message to be sent, and calls each first communication module to separately send the check mark to the multi-mode communication device at the opposite end to be sent Packet; where n is a positive integer greater than or equal to 2, the check mark is used by the multi-mode communication device at the opposite end to compare whether each received message with the same check mark added is the same.
[0038]本申请实施例中,控制单元在获取待发送的报文后,若当前的网络状 态满足第一预设要求,则从上述至少一种通信模块中选取空闲的且通信速率 最高的通信模块作为第一通信模块,调用第一通信模块向对端的多模通信装 置发送待发送的报文。 并且,控制单元还可以选取空闲的其他通信模块发送 其他待发送的报文,从而在网络状态良好的状态下通过多个通信模块发送多 个报文,提升网络传输速率和报文发送速率。 [0038] In the embodiment of the present application, after acquiring the message to be sent, if the current network state meets the first preset requirement, the idle communication with the highest communication rate is selected from the at least one communication module As the first communication module, the module calls the first communication module to send the message to be sent to the multi-mode communication device at the opposite end. In addition, the control unit can also select other idle communication modules to send other messages to be sent, so as to send multiple messages through multiple communication modules in a good network state, thereby improving the network transmission rate and message transmission rate.
[0039]若当前的网络状态不满足第一预设要求,则控制单元从上述至少一种 通信模块中按照通信速率从高至低的顺序,选取 n个空闲的通信模块,将选取 n个空闲的通信模块中的每个通信模块均作为第一通信模块,在待发送的报文 中添加校验标记,并调用每个第一通信模块分别向对端的多模通信装置发送 添加有校验标记的待发送的报文。 n为大于等于 2的正整数,校验标记用于对 端的多模通信装置比对接收到的各个添加有相同的校验标记的报文是否相同, 可见,在网络状态下不好的状态下,可以通过选取多个通信模块发送报文的 方式,提升网络传输的可靠性。 [0039] If the current network state does not meet the first preset requirement, the control unit selects n idle communication modules from the at least one communication module according to the order of communication rate from high to low, and selects n idle communication modules. Each communication module in the communication module serves as the first communication module, adds a check mark to the message to be sent, and calls each first communication module to send the added check mark to the multi-mode communication device at the opposite end respectively Messages to be sent. n is a positive integer greater than or equal to 2, the check mark is used by the multi-mode communication device at the opposite end to compare whether the received messages with the same check mark are the same, It can be seen that in a bad state under the network state, the reliability of the network transmission can be improved by selecting multiple communication modules to send messages.
[0040]本申请实施例中,网络状态包括网络速率,网络状态满足第一预设要 求,可以为,网络速率大于设定的速率阈值,网络状态不满足第一预设要求, 可以为, 网络速率不大于设定的速率阈值,设定的速率阈值可以距离为 100Mb/s ,这里不做限定。 [0040] In an embodiment of the present application, the network state includes a network rate, the network state meets the first preset requirement, which may be, the network rate is greater than a set rate threshold, and the network state does not meet the first preset requirement, which may be, the network The rate is not greater than the set rate threshold. The set rate threshold can be 100Mb/s, which is not limited here.
[0041]本申请一实施例中,控制单元还具体用于:接收连接的集中器或电表 发送的报文,并判断接收到的报文的长度是否大于长度阈值;若是,则对接 收到的报文进行拆分并编码,得到待发送的报文,反之,对接收到的报文进 行编码,得到待发送的报文。 [0041] In an embodiment of the present application, the control unit is further specifically configured to: receive the message sent by the connected concentrator or electricity meter, and determine whether the length of the received message is greater than the length threshold; if so, the received The message is split and encoded to obtain the message to be sent, otherwise, the received message is encoded to obtain the message to be sent.
[0042]本申请实施例中,可以预先设定长度阈值,若报文的长度大于长度阈 值,则对报文进行拆分,并对拆分后的报文进行编码,得到待发送的报文, 若报文的长度不大于长度阈值,则直接对报文进行编码,得到待发送的报文。 其中,对报文进行编码的目的可以是将报文编码成可发送的格式。 报文的长 度可以通过报文所占的字节数表示。 [0042] In the embodiment of the present application, a length threshold may be preset, if the length of the packet is greater than the length threshold, the packet is split, and the split packet is encoded to obtain the packet to be sent If the length of the message is not greater than the length threshold, the message is directly encoded to obtain the message to be sent. Among them, the purpose of encoding the message may be to encode the message into a transmittable format. The length of the message can be expressed by the number of bytes occupied by the message.
[0043]图 4为本申请一实施例提供的多模通信装置发送报文的流程示意图,如 图 4所示,该流程包括以下步骤。 [0043] FIG. 4 is a schematic flowchart of a message sent by a multi-mode communication device according to an embodiment of the present application. As shown in FIG. 4, the process includes the following steps.
[0044]步骤 402 ,接收连接的集中器或电表发送的报文。 [0044] Step 402: Receive a message sent by a connected concentrator or electricity meter.
[0045]步骤 404 ,判断接收到的所述报文的长度是否大于长度阈值;若是,执 行步骤 406 ,拆分为多个报文,并执行 408 ;若否,执行步骤 408 ,将报文进 行编码。 [0045] Step 404: Determine whether the length of the received message is greater than a length threshold; if so, execute Go to step 406, split into multiple messages, and perform 408; if not, perform step 408, to encode the message.
[0046]步骤 410 ,将编码后的报文添加到待发送报文队列。 [0046] Step 410: Add the encoded message to the queue of messages to be sent.
[0047]步骤 412 ,取出一个待发送报文。 [0047] Step 412: Take out a message to be sent.
[0048]步骤 414 ,判断当前的网络状是否满足第一预设要求。 [0048] Step 414: Determine whether the current network shape meets the first preset requirement.
[0049]步骤 416 ,从上述至少一种通信模块中按照通信速率从高至低的顺序, 选取 n个空闲的通信模块均作为第一通信模块。 [0049] Step 416: From the above-mentioned at least one communication module, according to the order of the communication rate from high to low, select n idle communication modules as the first communication module.
[0050]步骤 418 ,在待发送的报文中添加校验标记,并执行步骤 422。 [0050] Step 418: Add a check mark to the message to be sent, and perform step 422.
[0051]步骤 420 ,从上述至少一种通信模块中,选取空闲的且通信速率最高的 通信模块作为第一通信模块。 [0051] Step 420: From the at least one communication module, select an idle communication module with the highest communication rate as the first communication module.
[0052]步骤 422 ,调用第一通信模块发送报文。 [0052] Step 422: Call the first communication module to send a message.
[0053]本申请一实施例中 ,控制单元还具体用于:在接收到对端的多模通信 装置发送的报文之后,判断接收到的报文中是否携带校验标记; 若未携带, 则确定报文接收成功,反之,从已接收到的其他报文中获取携带有相同的校 验标记的报文,并比较接收到的报文和获取的报文是否相同,若相同,则确 定报文接收成功,若不同,则确定报文接收失败。 [0053] In an embodiment of the present application, the control unit is further specifically configured to: after receiving the message sent by the opposite-end multimode communication device, determine whether the received message carries a check mark; if not, then Determine whether the message is successfully received, otherwise, obtain the message carrying the same check mark from other received messages, and compare whether the received message and the obtained message are the same. If they are the same, determine the message The message reception is successful. If they are different, it is determined that the message reception failed.
[0054]本申请实施例中,控制单元在接收到对端的多模通信装置发送的报文 之后,判断接收到的报文中是否携带校验标记,若未携带,则说明此报文是 在网络状态好的条件下发送的,确定报文接收成功。 若报文中携带校验标记, 则说明此报文是在网络状态不好的条件下发送的,将从已接收到的其他报文 中获取携带有相同的校验标记的报文,并比较接收到的报文和获取的所述报 文是否相同,若相同,则确定报文接收成功,若不同,则确定报文接收失败。 [0054] In the embodiment of the present application, after receiving the message sent by the multi-mode communication device at the opposite end, the control unit determines whether the received message carries a check mark. If not, it means that the message is in If it is sent under good network conditions, it is determined that the message was successfully received. If the message carries a check mark, It means that this message was sent under the condition that the network status is not good, and the message carrying the same check mark will be obtained from other received messages, and the received message will be compared with the obtained Whether the described messages are the same; if they are the same, it is determined that the message is successfully received; if they are different, it is determined that the message is received unsuccessfully.
[0055]其中 , 当网络状态不好时,多模通信装置在发送报文时,会通过多个 第一通信模块发送多遍,并且每遍发送的报文都携带有校验标记, 因此这里 若接收到的报文携带有校验标记,则从已接收到的其他报文中获取携带有相 同的校验标记的报文,并比较接收到的报文和获取的所述报文是否相同,若 相同,则说明多次接收报文时每次均接收了完整报文, 因此确定报文接收成 功,若不同,则说明各次接收到的报文不相同,或者说是报文接收数据不全, 因此存在报文接收有误的情况,确定报文接收失败。 [0055] Among them, when the network state is not good, the multi-mode communication device will send multiple times through multiple first communication modules when sending a message, and each sent message carries a check mark, so here If the received message carries a check mark, then obtain the message carrying the same check mark from other received messages, and compare whether the received message and the obtained message are the same , If it is the same, it means that the complete message was received every time when the message is received multiple times, so it is determined that the message is successfully received. If it is different, it means that the received message is different each time, or that the message is received data Incomplete, so there is a case where the message reception is incorrect, and it is determined that the message reception has failed.
[0056]本申请一实施例中 ,控制单元还用于:在确定报文接收成功后,检查 接收到的报文是否为分片报文;若是分片报文,则判断分片报文所关联的其 他分片报文是否均已经接收成功,若成功,则将分片报文和分片报文所关联 的其他分片报文进行合并及解码;若不是分片报文,则对接收到的报文进行 解码。 [0056] In an embodiment of the present application, the control unit is further configured to: after determining that the message is successfully received, check whether the received message is a fragmented message; if it is a fragmented message, determine the location of the fragmented message Whether other associated fragmented messages have been successfully received, if successful, the fragmented message and other fragmented messages associated with the fragmented message are combined and decoded; if it is not a fragmented message, the received The received message is decoded.
[0057]本实施例中,控制单元在确定报文接收成功后,检查接收到的报文是 否为分片报文;若是分片报文,则判断分片报文所关联的其他分片报文是否 均已经接收成功,若成功,则将分片报文和分片报文所关联的其他分片报文 进行合并,并对合并后的报文进行解码;若不是分片报文,则直接对接收到 的报文进行解码。 [0057] In this embodiment, after determining that the message is successfully received, the control unit checks whether the received message is a fragmented message; if it is a fragmented message, it determines the other fragmented messages associated with the fragmented message Whether the packets have been received successfully, if successful, the fragmented message and other fragmented messages associated with the fragmented message are merged, and the combined message is decoded; if it is not a fragmented message, then Directly received To decode the message.
[0058]本实施例中,控制单元在对报文进行拆分后,可以对拆分得到的每个 分片报文进行数字标注,如标注形式为 "报文标识 +分片报文序号 +分片总数"。 控制单元在接收到报文后,若该报文携带有数字标注,则控制单元确定该报 文为分片报文,并可以根据该数字标注在已接收的报文中查找与该分片报文 属于同一完整报文的其他分片报文,从而判断与该分片报文所关联的其他分 片报文是否均已经接收成功,若成功,则将该分片报文和该分片报文所关联 的其他分片报文进行合并得到完整报文,并对完整报文进行解码。 若接收到 的报文不带有数字标注,则说明该报文不是分片报文, 因此控制单元直接对 该报文进行解码。 [0058] In this embodiment, after splitting the packet, the control unit may digitally label each fragmented packet obtained by splitting, for example, the labeling form is "packet identifier + fragmented packet sequence number + The total number of fragments." After the control unit receives the packet, if the packet carries a digital label, the control unit determines that the packet is a fragmented packet, and can search for the fragmented packet in the received packet according to the digital label The message belongs to other fragmented messages of the same complete message, so as to determine whether all other fragmented messages associated with the fragmented message have been successfully received, if successful, the fragmented message and the fragmented message The other fragmented messages associated with the text are combined to obtain a complete message, and the complete message is decoded. If the received message does not have a digital label, it means that the message is not a fragmented message, so the control unit decodes the message directly.
[0059]图 5为本申请一实施例提供的多模通信装置接收报文的流程示意图,如 图 5所示,该流程包括以下步骤。 [0059] FIG. 5 is a schematic flowchart of a message received by a multi-mode communication device according to an embodiment of the present application. As shown in FIG. 5, the procedure includes the following steps.
[0060]步骤 502 ,接收报文并添加到已接收报文队列。 [0060] Step 502: Receive a message and add it to the received message queue.
[0061]步骤 504 ,判断接收到的报文是否携带校验标记。 [0061] Step 504: Determine whether the received message carries a check mark.
[0062]若是,执行步骤 506。 若否,执行步骤 514。 [0062] If yes, go to step 506. If not, go to step 514.
[0063]步骤 506 ,从已接收到的其他报文中获取携带有相同的校验标记的报文。 [0063] Step 506: Obtain a message carrying the same check mark from other received messages.
[0064]步骤 508 ,比较接收到的报文和获取的报文是否相同。 [0064] Step 508: Compare whether the received message and the obtained message are the same.
[0065]若相同,执行步骤 512 ,若不同,执行步骤 510。 [0065] If the same, go to step 512, if different, go to step 510.
[0066]步骤 510 ,刪除接收到的报文和获取的报文,并反馈接收失败。 [0067]步骤 512 ,刪除获取的报文,并在接收到的报文中刪除校验标记。 [0066] Step 510: Delete the received message and the obtained message, and feed back the reception failure. [0067] Step 512: Delete the acquired message, and delete the check mark in the received message.
[0068]步骤 514 ,确定报文接收成功。 [0068] Step 514: Determine that the message is successfully received.
[0069]步骤 516 ,检查接收到的报文是否为分片报文。 [0069] Step 516: Check whether the received message is a fragmented message.
[0070]若是,执行步骤 518 ,若否,执行步骤 522。 [0070] If yes, go to step 518, if not, go to step 522.
[0071]步骤 518 ,判断接收到的分片报文所关联的其他分片报文是否均已经接 收成功。 [0071] Step 518: Determine whether other fragmented messages associated with the received fragmented message have been successfully received.
[0072]若成功,执行步骤 520 ,否则,结束流程。 [0072] If successful, go to step 520, otherwise, end the process.
[0073]步骤 520 ,合并分片报文得到完整报文。 [0073] Step 520: Combine fragmented messages to obtain a complete message.
[0074]步骤 522 ,解码报文。 [0074] Step 522: Decode the message.
[0075]本申请一实施例中,控制单元还用于:调用上述的至少一种通信模块, 向对端的多模通信装置发送网络状态检测指令;调用上述的至少一种通信模 块, 接收对端的多模通信装置根据网络状态检测指令反馈的响应信号; 根据 响应信号,确定与对端的多模通信装置之间的网络状态信息。 [0075] In an embodiment of the present application, the control unit is further configured to: call the at least one communication module described above, send a network status detection instruction to the multi-mode communication device at the opposite end; call at least one communication module mentioned above, and receive the The response signal fed back by the multi-mode communication device according to the network state detection instruction; according to the response signal, determine the network status information with the opposite-end multi-mode communication device.
[0076]具体地, 网络状态信息包括网络速率和网络是否可用。 一个情况下, 控制单元调用每种通信模块,通过该种通信模块向对端的同种通信模块发送 网络状态检测指令,并接收对端的同种通信模块返回的响应信号,控制单元 根据发送网络状态检测指令的时间和接收响应信号的时间,确定该种通信模 块与对端的同种通信模块之间的通信速率和通信是否可用。 如果发送的网络 状态检测指令超时后控制单元没收到响应,则确定该通信模块在对端无可用 的同种通信模块。 如果发出网络状态检测指令后收到一个或多个不同对端通 信模块的响应,则确定该通信模块在对端有可用同种通信模块,并且记录每 个响应对应的通信速率。 [0076] Specifically, the network state information includes the network rate and whether the network is available. In one case, the control unit calls each communication module, sends a network status detection instruction to the same communication module at the opposite end through the communication module, and receives a response signal returned by the same communication module at the opposite end, and the control unit detects according to the sent network status The time of the command and the time of receiving the response signal determine whether the communication rate and communication between this kind of communication module and the same kind of communication module at the opposite end are available. If the control unit does not receive a response after the sent network status detection instruction times out, it is determined that the communication module is not available at the opposite end The same kind of communication module. If a response to one or more peer communication modules is received after the network status detection instruction is issued, it is determined that the communication module has the same kind of communication module available at the peer, and the communication rate corresponding to each response is recorded.
[0077]另一个情况下,控制单元确定待检测的通信频段,调用工作于该通信 频段的通信模块向对端的工作于相同的通信频段的通信模块发送网络状态检 测指令,并接收对端的通信模块返回的响应信号,控制单元根据发送网络状 态检测指令的时间和接收响应信号的时间,确定该通信频段下,通信模块与 对端的通信模块之间的通信速率和通信是否可用。 [0077] In another case, the control unit determines the communication frequency band to be detected, calls the communication module working in the communication frequency band to send a network state detection instruction to the communication module working in the same communication frequency band of the opposite end, and receives the communication module of the opposite end For the returned response signal, the control unit determines whether the communication rate and communication between the communication module and the communication module at the opposite end are available in the communication frequency band according to the time of sending the network state detection instruction and the time of receiving the response signal.
[0078]本实施例中,控制单元通过发送网络状况检测指令的方式来实时检测 网络状况,并根据接收对端控制单元的响应信号确定与对端的多模通信装置 之间的网络状态信息,从而可以实时更新网络通信状态。 [0078] In this embodiment, the control unit detects the network status in real time by sending a network status detection instruction, and determines the network status information with the peer multi-mode communication device according to the response signal received from the peer control unit, thereby The network communication status can be updated in real time.
[0079]本申请实施一例中 ,控制单元还用于:根据当前的网络速率以及预设 的各网络速率范围对应的各任务优先级阈值,确定当前的网络速率对应的目 标任务优先级阈值;在任务列表内选取任务优先级高于目标任务优先级阈值 的任务,将被选取的任务传输至相连的集中器或电表。 [0079] In an example of an embodiment of the present application, the control unit is further configured to determine the target task priority threshold corresponding to the current network rate according to the current network rate and the preset task priority threshold corresponding to each network rate range; Select the task whose task priority is higher than the target task priority threshold in the task list, and transfer the selected task to the connected concentrator or electricity meter.
[0080]本实施例中,控制单元根据当前的网络速率以及预设的各网络速率范 围对应的各任务优先级阈值,确定当前的网络速率对应的目标任务优先级阈 值;在任务列表内选取任务优先级高于目标任务优先级阈值的任务,将被选 取的任务传输至相连的集中器或电表。 [0081]本实施例中,控制单元通过设置不同网络状况对应不同任务优先级阈 值,使得电表、 集中器可以根据网络状况的不同优先执行高优先级的任务, 从而提高任务处理的效率。 [0080] In this embodiment, the control unit determines the target task priority threshold corresponding to the current network rate according to the current network rate and preset task priority thresholds corresponding to each network rate range; and selects the task in the task list Tasks with a priority higher than the priority threshold of the target task will transfer the selected tasks to the connected concentrator or meter. [0081] In this embodiment, the control unit sets different network conditions corresponding to different task priority thresholds, so that the electricity meter and the concentrator can preferentially execute high-priority tasks according to different network conditions, thereby improving the efficiency of task processing.
[0082]表 1为不同网络状况等级对应不同任务优先级阈值的示意表,可设定网 络速率范围为优、 良、 差三个等级,其中优、 良、 差三个等级分别对应的网 络速率范围为: 100Mb/s(含)以上、 50Mb/s(含)一 100Mb/s、 50Mb/s 以下, 根据各任务的重要性设置任务的优先级从高往低的顺序依次为 1、 2、 3、 4、 5、 6...n , 当网络状况为优等级的情况下,对应任务优先级阈值为 0 ,则表示 所有的任务均可以执行; 当网络状况为良等级的情况下,对应任务优先级阈 值为 3 ,则表示取消任务优先级 3以后的任务,优先执行任务 3之前的任务; 当网络状况为差等级的情况下,对应任务优先级阈值为 6 ,则表示取消任务优 先级 6以后的任务,优先执行任务 6之前的任务。 [0082] Table 1 is a schematic table of different network condition levels corresponding to different task priority thresholds, and the network rate range can be set to three levels of excellent, good, and poor, wherein the network rates corresponding to the three levels of excellent, good, and poor are respectively The range is: above 100Mb/s (inclusive), 50Mb/s (inclusive)-100Mb/s, below 50Mb/s, set the priority of the task from high to low according to the importance of each task is 1, 2, 3, 4, 5, 6...n, when the network status is excellent, the corresponding task priority threshold is 0, which means that all tasks can be executed; when the network status is good, the corresponding The task priority threshold is 3, which means that the tasks after the task priority 3 are cancelled, and the tasks before the task 3 are executed preferentially; when the network condition is poor, the corresponding task priority threshold is 6, which means that the task priority is canceled For tasks after 6, priority is given to tasks before task 6.
表 1 Table 1
Figure imgf000018_0001
Figure imgf000019_0001
Figure imgf000018_0001
Figure imgf000019_0001
[0083]综上,本实发明施例中可以达到如下效果。 [0083] In summary, the following effects can be achieved in the embodiments of the present invention.
[0084] K 该多模通信装置中的控制单元可以根据不同的网络状态,在至少一 种通信中选取第一通信模块向对端的多模通信装置发送报文,从而解决现有 技术中通信模块发送信息时浪费系统资源的问题。 [0084] K The control unit in the multi-mode communication device may select the first communication module in at least one communication to send a message to the opposite multi-mode communication device according to different network states, thereby solving the communication module in the prior art The problem of wasting system resources when sending information.
[0085] 2、 网络状况好的情况下,控制单元从至少一种通信模块中选取并调用 空闲的且通信速率最高的通信模块, 向对端的多模通信装置发送待发送的报 文, 同时控制单元选取空闲且通信速率次之的通信模块发送其他待发送的报 文,可以在网络状态良好的状态下提升网络传输速率。 [0085] 2. When the network condition is good, the control unit selects and calls an idle communication module with the highest communication rate from at least one communication module, sends a message to be sent to the multi-mode communication device at the opposite end, and simultaneously controls The unit selects a communication module that is idle and has the second lowest communication rate to send other messages to be sent, which can increase the network transmission rate when the network state is good.
[0086] 3. 在网络状态不好的情况下,控制单元从至少一种通信模块中按照通 信速率从高至低的顺序,选取 n个空闲的通信模块,在待发送的报文中添加校 验标记,并调用这 n个空闲的通信模块中的每个通信模块分别向对端的多模通 信装置发送添加有校验标记的待发送的报文, 由此可以提升网络传输的可靠 性。 [0086] 3. In a case where the network status is not good, the control unit selects n idle communication modules from at least one communication module in order of communication rate from high to low, and adds a school to the packet to be sent Check the mark and call each of the n idle communication modules to send the message to be sent with the check mark to the multi-mode communication device at the opposite end, thereby improving the reliability of network transmission.
[0087] 4. 控制单元通过设置不同网络状况对应各任务优先级阈值,使得电表、 集中器可以根据网络状况的不同有限执行高优先级的指令,从而提高网络传 输的效率。 [0087] 4. The control unit sets the priority threshold of each task corresponding to different network conditions, so that the meter and the concentrator can execute high-priority instructions in a limited manner according to the different network conditions, thereby improving the efficiency of network transmission.
[0088]本申请一实施例提供了一种多模通信装置的通信方法,该多模通信装 置为上述所述的多模通信装置,其方法包括: 根据当前的网络状态,在至少 一种通信模块中选取第一通信模块,调用第一通信模块向对端的多模通信装 置发送报文;根据对端的多模通信装置发送的报文的数据类型,在至少一种 通信模块中选取第二通信模块,调用第二通信模块接收对端的多模通信装置 发送的报文。 [0088] An embodiment of the present application provides a communication method of a multi-mode communication device, the multi-mode communication device is the multi-mode communication device described above, the method includes: according to the current network status, at least A communication module selects the first communication module and calls the first communication module to send a message to the opposite multimode communication device; according to the data type of the message sent by the opposite multimode communication device, it is selected from at least one communication module The second communication module calls the second communication module to receive the message sent by the multi-mode communication device at the opposite end.
[0089]本申请一实施例中 ,根据当前的网络状态,在至少一种通信模块中选 取第一通信模块,调用第一通信模块向对端的多模通信装置发送报文,包括: 获取待发送的报文; 若当前的网络状态满足第一预设要求,则从至少一种通 信模块中选取空闲的且通信速率最高的通信模块,将空闲的且通信速率最高 的通信模块作为第一通信模块,调用第一通信模块向对端的多模通信装置发 送待发送的报文;若当前的网络状态不满足第一预设要求,则从至少一种通 信模块中按照通信速率从高至低的顺序选取 n个空闲的通信模块,将 n个空闲 的通信模块中的每个通信模块均作为第一通信模块,在待发送的报文中添加 校验标记,并调用每个第一通信模块分别向对端的多模通信装置发送添加有 校验标记的待发送的报文;其中, n为大于等于 2的正整数,校验标记用于对 端的多模通信装置比对接收到的各个添加有相同的校验标记的报文是否相同。 [0089] In an embodiment of the present application, selecting the first communication module from at least one communication module according to the current network status, and invoking the first communication module to send a message to the opposite multi-mode communication device includes: obtaining to be sent Message; if the current network status meets the first preset requirement, select an idle communication module with the highest communication rate from at least one communication module, and use the idle communication module with the highest communication rate as the first communication module , Call the first communication module to send the message to be sent to the multi-mode communication device at the opposite end; if the current network status does not meet the first preset requirement, from at least one communication module in the order of communication rate from high to low Select n idle communication modules, use each of the n idle communication modules as the first communication module, add a check mark to the message to be sent, and call each first communication module to The peer multi-mode communication device sends the message to be sent with a check mark added; where n is a positive integer greater than or equal to 2, the check mark is used for the peer multi-mode communication device to compare the received additions with the same Whether the packets of the check mark are the same.
[0090]本申请一实施例中 ,获取待发送的报文,包括: 接收连接的集中器或 电表发送的报文,并判断接收到的所述报文的长度是否大于长度阈值;若是, 则对接收到的报文进行拆分并编码,得到待发送的报文,反之,对接收到的 报文进行编码,得到待发送的报文。 [0091]本申请一实施例中 ,上述方法还包括:在接收到对端的多模通信装置 发送的报文之后,判断接收到的所述报文中是否携带校验标记; 若未携带, 则确定报文接收成功,反之,从已接收到的其他报文中获取携带有相同的校 验标记的报文,并比较接收到的报文和获取的报文是否相同,若相同,则确 定报文接收成功,若不同,则确定报文接收失败。 [0090] In an embodiment of the present application, obtaining a message to be sent includes: receiving a message sent by a connected concentrator or an electricity meter, and judging whether the length of the received message is greater than a length threshold; if so, then Split and encode the received message to obtain the message to be sent, and conversely, encode the received message to obtain the message to be sent. [0091] In an embodiment of the present application, the above method further includes: after receiving the message sent by the multi-mode communication device at the opposite end, judging whether the received message carries a check mark; if it is not carried, then Determine whether the message is successfully received, otherwise, obtain the message carrying the same check mark from other received messages, and compare whether the received message and the obtained message are the same. If they are the same, determine the message The message reception is successful. If they are different, it is determined that the message reception failed.
[0092]本申请一实施例中 ,上述方法还包括:在确定报文接收成功后,检查 接收到的报文是否为分片报文;若是分片报文,则判断分片报文所关联的其 他分片报文是否均已经接收成功,若成功,则将分片报文和分片报文所关联 的其他分片报文进行合并及解码;若不是分片报文,则对接收到的报文进行 解码。 [0092] In an embodiment of the present application, the above method further includes: after determining that the message is successfully received, check whether the received message is a fragmented message; if it is a fragmented message, determine whether the fragmented message is associated Whether all other fragmented messages have been successfully received, if successful, the fragmented message and other fragmented messages associated with the fragmented message are merged and decoded; if it is not a fragmented message, the received To decode the message.
[0093]本申请一实施例中 ,上述方法还包括:调用上述至少一种通信模块, 向对端的多模通信装置发送网络状态检测指令;调用上述至少一种通信模块, 接收对端的多模通信装置根据网络状态检测指令反馈的响应信号;根据响应 信号,确定与对端的多模通信装置之间的网络状态信息。 [0093] In an embodiment of the present application, the above method further includes: invoking the above-mentioned at least one communication module, sending a network state detection instruction to the peer multi-mode communication device; The device responds to the response signal fed back by the network state detection instruction; based on the response signal, it determines the network state information with the opposite multimode communication device.
[0094]本申请一实施例中 ,上述方法还包括:根据当前的网络速率以及预设 的各网络速率范围对应的各任务优先级阈值,确定当前的网络速率对应的目 标任务优先级阈值;在任务列表内选取任务优先级高于目标任务优先级阈值 的任务,将被选取的任务传输至相连的集中器或电表。 [0094] In an embodiment of the present application, the above method further includes: determining the target task priority threshold corresponding to the current network rate according to the current network rate and the preset task priority threshold corresponding to each network rate range; Select the task whose task priority is higher than the target task priority threshold in the task list, and transfer the selected task to the connected concentrator or electricity meter.
[0095]本申请一实施例中 ,上述方法中的多模通信装置中 ,每个通信模块均 通过各自对应的插拔接口安装在多模通信装置中,插拔接口用于更换通信模 块。 [0095] In an embodiment of the present application, in the multi-mode communication device in the above method, each communication module is It is installed in the multi-mode communication device through its corresponding plug-in interface, which is used to replace the communication module.
[0096]本申请实施例中,该多模通信装置中的控制单元可以根据当前的网络 状态,在至少一种通信模块中选取第一通信模块,调用选取的第一通信模块 向对端的多模通信装置发送报文,与现有技术中调用全部通信模块向对端发 送报文的方式相比,能够解决通信模块发送信息时浪费系统资源的问题。 [0096] In the embodiment of the present application, the control unit in the multi-mode communication device may select the first communication module from at least one communication module according to the current network state, and call the selected first communication module to the multi-mode of the opposite end The communication device sends a message, which can solve the problem of wasting system resources when the communication module sends information, compared with the method of calling all communication modules to send a message to the opposite end in the prior art.
[0097]本实施例中的多模通信装置的通信方法能够实现前述方法实施例中的 多模通信装置实现的各个过程,并达到相同的效果,这里不再重复。 [0097] The communication method of the multi-mode communication device in this embodiment can implement various processes realized by the multi-mode communication device in the foregoing method embodiments, and achieve the same effect, which will not be repeated here.
[0098]需要说明的是,在本文中,术语“包括”、 “包含”或者其任何其他变体意 在涵盖非排他性的包含,从而使得包括一系列要素的过程、 方法、 物品或者 装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包 括为这种过程、 方法、 物品或者装置所固有的要素。 在没有更多限制的情况 下, 由语句“包括一个 ... ...”限定的要素,并不排除在包括该要素的过程、 方 法、 物品或者装置中还存在另外的相同要素。 [0098] It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements not only includes Those elements, but also include other elements that are not explicitly listed, or include elements inherent to this process, method, article, or device. Without more restrictions, an element defined by the sentence "include a ..." does not exclude that there are other identical elements in the process, method, article or device that includes the element.
[0099]通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上 述实施例方法可借助软件加必需的通用硬件平台的方式来实现, 当然也可以 通过硬件,但很多情况下前者是更佳的实施方式。 基于这样的理解,本申请 的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式 体现出来,该计算机软件产品存储在一个存储介质(如 ROM/RAM、 磁碟、 光盘) 中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器, 空调器,或者网络设备等)执行本申请各个实施例所述的方法。 [0099] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary general hardware platform, which can of course also be implemented by hardware, but in many cases the former Is a better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of software products in essence or part that contributes to the existing technology, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The CD-ROM includes several instructions to enable a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the embodiments of the present application.
[0100]上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于 上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性 的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利 要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 [0100] The embodiments of the present application have been described above with reference to the drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are merely illustrative, not restrictive, and common in the art. Under the inspiration of this application, technical personnel can make many forms without departing from the scope of the purpose and claims of this application, all of which fall within the protection of this application.

Claims

权 利 要 求 书 Claims
1、 一种多模通信装置,包括控制单元和至少一种通信模块,每种所述通 信模块的数量至少为一个; 1. A multi-mode communication device, including a control unit and at least one communication module, and the number of each communication module is at least one;
所述控制单元,能够与集中器或电表连接,用于根据当前的网络状态, 在所述至少一种通信模块中选取第一通信模块,调用所述第一通信模块向对 端的多模通信装置发送报文,并根据对端的多模通信装置发送的报文的数据 类型,在所述至少一种通信模块中选取第二通信模块,调用所述第二通信模 块接收对端的多模通信装置发送的报文; The control unit can be connected to a concentrator or an electric meter, and is used to select a first communication module from the at least one communication module according to the current network status, and call the first communication module to a multi-mode communication device at the opposite end Send a message, and select a second communication module from the at least one communication module according to the data type of the message sent by the multi-mode communication device at the opposite end, and call the second communication module to receive the send from the multi-mode communication device at the opposite end Of the message;
所述通信模块,与所述控制单元连接,用于在所述控制单元的调用下向 对端的多模通信装置发送报文,以及在所述控制单元的调用下接收对端的多 模通信装置发送的报文。 The communication module is connected to the control unit, and is used to send a message to the multi-mode communication device at the opposite end when called by the control unit, and to receive a multi-mode communication device at the opposite end when called by the control unit Message.
2、 根据权利要求 1所述的装置,其中,所述控制单元用于: 2. The device according to claim 1, wherein the control unit is configured to:
获取待发送的报文; Get the message to be sent;
若当前的网络状态满足第一预设要求,则从所述至少一种通信模块中选 取空闲的且通信速率最高的通信模块,将所述空闲的且通信速率最高的通信 模块作为所述第一通信模块,调用所述第一通信模块向对端的多模通信装置 发送所述待发送的报文; If the current network state meets the first preset requirement, select an idle communication module with the highest communication rate from the at least one communication module, and use the idle communication module with the highest communication rate as the first A communication module, calling the first communication module to send the to-be-sent message to the opposite multimode communication device;
若当前的网络状态不满足第一预设要求,则从所述至少一种通信模块中 按照通信速率从高至低的顺序选取 n个空闲的通信模块,将所述 n个空闲的通 信模块中的每个通信模块均作为所述第一通信模块,在所述待发送的报文中 添加校验标记,并调用每个所述第一通信模块分别向对端的多模通信装置发 送添加有所述校验标记的所述待发送的报文; If the current network state does not meet the first preset requirement, then select n idle communication modules from the at least one communication module in order of communication rate from high to low, and connect the n idle communication modules. Each communication module in the communication module serves as the first communication module, adds a check mark to the message to be sent, and calls each of the first communication modules to send to the multi-mode communication device at the opposite end respectively The message to be sent with the check mark added;
其中,所述 n为大于等于 2的正整数,所述校验标记用于所述对端的多模 通信装置比对接收到的各个添加有相同的所述校验标记的报文是否相同。 Wherein, n is a positive integer greater than or equal to 2, and the check mark is used by the opposite-end multi-mode communication device to compare whether each received message with the same check mark added is the same.
3、 根据权利要求 2所述的装置,其中,所述控制单元还用于: 接收连接的集中器或电表发送的报文,并判断接收到的所述报文的长度 是否大于长度阈值; 3. The device according to claim 2, wherein the control unit is further configured to: receive a message sent by a connected concentrator or electricity meter, and determine whether the length of the received message is greater than a length threshold;
若是,则对接收到的所述报文进行拆分并编码,得到待发送的报文,反 之,对接收到的所述报文进行编码,得到待发送的报文。 If it is, the received message is split and encoded to obtain the message to be sent, otherwise, the received message is encoded to obtain the message to be sent.
4、 根据权利要求 1所述的装置,其中,所述控制单元还用于: 在接收到对端的多模通信装置发送的报文之后,判断接收到的所述报文 中是否携带校验标记; 4. The device according to claim 1, wherein the control unit is further configured to: after receiving the message sent by the opposite end multi-mode communication device, determine whether the received message carries a check mark ;
若未携带,则确定报文接收成功,反之,从已接收到的其他报文中获取 携带有相同的所述校验标记的报文,并比较接收到的所述报文和获取的所述 报文是否相同,若相同,则确定报文接收成功,若不同,则确定报文接收失 败。 If it is not carried, it is determined that the message is successfully received, otherwise, a message carrying the same check mark is obtained from other received messages, and the received message is compared with the obtained Whether the messages are the same, if they are the same, it is determined that the message is received successfully, if they are different, it is determined that the message is received failed.
5、 根据权利要求 4所述的装置,其中,所述控制单元还用于: 5. The device according to claim 4, wherein the control unit is further used to:
在确定报文接收成功后,检查接收到的所述报文是否为分片报文; 若是分片报文,则判断所述分片报文所关联的其他分片报文是否均已经 接收成功,若成功,则将所述分片报文和所述分片报文所关联的其他分片报 文进行合并及解码; After determining that the message is successfully received, check whether the received message is a fragmented message; if it is a fragmented message, determine whether all other fragmented messages associated with the fragmented message have been successfully received , If successful, merge and decode the fragmented message with other fragmented messages associated with the fragmented message;
若不是分片报文,则对接收到的所述报文进行解码。 If it is not a fragmented message, the received message is decoded.
6、 根据权利要求 1至 5任一项所述的装置,其中,所述控制单元还用于: 调用所述至少一种通信模块, 向对端的多模通信装置发送网络状态检测 指令; 6. The device according to any one of claims 1 to 5, wherein the control unit is further configured to: call the at least one communication module to send a network state detection instruction to the opposite multimode communication device;
调用所述至少一种通信模块,接收对端的多模通信装置根据所述网络状 态检测指令反馈的响应信号; Calling the at least one communication module to receive a response signal fed back by the opposite multi-mode communication device according to the network state detection instruction;
根据所述响应信号,确定与对端的多模通信装置之间的网络状态信息。 According to the response signal, network status information with the multi-mode communication device at the opposite end is determined.
7、 根据权利要求 1至 5任一项所述的装置,其中,所述控制单元还用于: 根据当前的网络速率以及预设的各网络速率范围对应的各任务优先级阈 值,确定所述当前的网络速率对应的目标任务优先级阈值; 7. The apparatus according to any one of claims 1 to 5, wherein the control unit is further configured to: determine the task priority threshold according to the current network rate and each task priority threshold corresponding to each preset network rate range The target task priority threshold corresponding to the current network rate;
在任务列表内选取任务优先级高于所述目标任务优先级阈值的任务,将 被选取的所述任务传输至相连的集中器或电表。 Select a task whose task priority is higher than the target task priority threshold in the task list, and transfer the selected task to the connected concentrator or electricity meter.
8、 根据权利要求 1至 5任一项所述的装置,其中 ,所述多模通信装置中 , 每个所述通信模块均通过各自对应的插拔接口安装在所述多模通信装置中 , 所述插拔接口用于更换所述通信模块。 8. The device according to any one of claims 1 to 5, wherein in the multi-mode communication device, each of the communication modules is installed in the multi-mode communication device through a corresponding plug-in interface, The plug-in interface is used to replace the communication module.
9、 一种多模通信装置的通信方法, 其中 ,所述多模通信装置为权利要求9. A communication method of a multimode communication device, wherein the multimode communication device is a claim
1至 8中任一项所述多模通信装置,所述方法包括: The multimode communication device according to any one of 1 to 8, the method comprising:
根据当前的网络状态, 在所述至少一种通信模块中选取第一通信模块, 调用所述第一通信模块向对端的多模通信装置发送报文; Selecting a first communication module from the at least one communication module according to the current network status, and calling the first communication module to send a message to the multi-mode communication device at the opposite end;
根据对端的多模通信装置发送的报文的数据类型,在所述至少一种通信 模块中选取第二通信模块, 调用所述第二通信模块接收对端的多模通信装置 发送的报文。 According to the data type of the message sent by the multi-mode communication device at the opposite end, a second communication module is selected from the at least one communication module, and the second communication module is called to receive the message sent by the multi-mode communication device at the opposite end.
10、 根据权利要求 9所述的方法,其中 ,根据当前的网络状态,在所述至 少一种通信模块中选取第一通信模块, 调用所述第一通信模块向对端的多模 通信装置发送报文,包括: 10. The method according to claim 9, wherein, according to the current network state, a first communication module is selected from the at least one communication module, and the first communication module is invoked to send a report to the opposite multimode communication device Articles, including:
获取待发送的报文; Get the message to be sent;
若当前的网络状态满足第一预设要求, 则从所述至少一种通信模块中选 取空闲的且通信速率最高的通信模块, 将所述空闲的且通信速率最高的通信 模块作为所述第一通信模块, 调用所述第一通信模块向对端的多模通信装置 发送所述待发送的报文; 若当前的网络状态不满足第一预设要求,则从所述至少一种通信模块中 按照通信速率从高至低的顺序选取 n个空闲的通信模块,将所述 n个空闲的通 信模块中的每个通信模块均作为所述第一通信模块,在所述待发送的报文中 添加校验标记,并调用每个所述第一通信模块分别向对端的多模通信装置发 送添加有所述校验标记的所述待发送的报文; If the current network state meets the first preset requirement, select an idle communication module with the highest communication rate from the at least one communication module, and use the idle communication module with the highest communication rate as the first A communication module, calling the first communication module to send the to-be-sent message to the multi-mode communication device at the opposite end; If the current network state does not meet the first preset requirement, then select n idle communication modules from the at least one communication module in the order of communication rate from high to low, and select the n idle communication modules Each of the communication modules serves as the first communication module, adds a check mark to the message to be sent, and calls each of the first communication modules to send the added The check-marked message to be sent;
其中,所述 n为大于等于 2的正整数,所述校验标记用于所述对端的多模 通信装置比对接收到的各个添加有相同的所述校验标记的报文是否相同。 Wherein, n is a positive integer greater than or equal to 2, and the check mark is used by the opposite-end multi-mode communication device to compare whether each received message with the same check mark added is the same.
11、 根据权利要求 10所述的方法,其中,所述获取待发送的报文,包括: 接收连接的集中器或电表发送的报文,并判断接收到的所述报文的长度 是否大于长度阈值; 11. The method according to claim 10, wherein the acquiring the message to be sent comprises: receiving a message sent by a connected concentrator or an electricity meter, and determining whether the length of the received message is greater than the length Threshold
若是,则对接收到的所述报文进行拆分并编码,得到待发送的报文,反 之,对接收到的所述报文进行编码,得到待发送的报文。 If it is, the received message is split and encoded to obtain the message to be sent, otherwise, the received message is encoded to obtain the message to be sent.
12、 根据权利要求 9所述的方法,其中,所述方法还包括: 12. The method of claim 9, wherein the method further comprises:
在接收到对端的多模通信装置发送的报文之后,判断接收到的所述报文 中是否携带校验标记; After receiving the message sent by the multi-mode communication device at the opposite end, determine whether the received message carries a check mark;
若未携带,则确定报文接收成功,反之,从已接收到的其他报文中获取 携带有相同的所述校验标记的报文,并比较接收到的所述报文和获取的所述 报文是否相同,若相同,则确定报文接收成功,若不同,则确定报文接收失 If it is not carried, it is determined that the message is successfully received, otherwise, a message carrying the same check mark is obtained from other received messages, and the received message is compared with the obtained Whether the messages are the same, if they are the same, it is determined that the message is successfully received, if they are different, it is determined that the message is received
13、 根据权利要求 12所述的方法,其中,所述方法还包括: 13. The method of claim 12, wherein the method further comprises:
在确定报文接收成功后,检查接收到的所述报文是否为分片报文; 若是分片报文,则判断所述分片报文所关联的其他分片报文是否均已经 接收成功,若成功,则将所述分片报文和所述分片报文所关联的其他分片报 文进行合并及解码; After determining that the message is successfully received, check whether the received message is a fragmented message; if it is a fragmented message, determine whether all other fragmented messages associated with the fragmented message have been successfully received , If successful, merge and decode the fragmented message with other fragmented messages associated with the fragmented message;
若不是分片报文,则对接收到的所述报文进行解码。 If it is not a fragmented message, the received message is decoded.
14、 根据权利要求 9至 13任一项所述的方法,其中,所述方法还包括: 调用所述至少一种通信模块, 向对端的多模通信装置发送网络状态检测 指令; 14. The method according to any one of claims 9 to 13, wherein the method further comprises: calling the at least one communication module, and sending a network state detection instruction to the opposite multi-mode communication device;
调用所述至少一种通信模块,接收对端的多模通信装置根据所述网络状 态检测指令反馈的响应信号; Calling the at least one communication module to receive a response signal fed back by the opposite multi-mode communication device according to the network state detection instruction;
根据所述响应信号,确定与对端的多模通信装置之间的网络状态信息。 According to the response signal, network status information with the multi-mode communication device at the opposite end is determined.
15、 根据权利要求 9至 13任一项所述的方法,其中,所述方法还包括: 根据当前的网络速率以及预设的各网络速率范围对应的各任务优先级阈 值,确定所述当前的网络速率对应的目标任务优先级阈值; 15. The method according to any one of claims 9 to 13, wherein the method further comprises: according to the current network rate and preset task priority thresholds corresponding to each network rate range, determining the current The priority threshold of the target task corresponding to the network rate;
在任务列表内选取任务优先级高于所述目标任务优先级阈值的任务,将 被选取的所述任务传输至相连的集中器或电表。 Select the task whose task priority is higher than the target task priority threshold in the task list, and The selected task is transmitted to the connected concentrator or electricity meter.
16、 根据权利要求 9至 13任一项所述的方法,其中,所述多模通信装置 中,每个所述通信模块均通过各自对应的插拔接口安装在所述多模通信装置 中,所述插拔接口用于更换所述通信模块。 16. The method according to any one of claims 9 to 13, wherein in the multi-mode communication device, each of the communication modules is installed in the multi-mode communication device through a corresponding plug-in interface, The plug-in interface is used to replace the communication module.
17、 一种多模通信系统,其中,包括第一多模通信装置、 集中器、 第二 多模通信装置和电表,其中,所述第一多模通信装置为权利要求 1至 8中任一 项所述多模通信装置,所述第二多模通信装置为权利要求 1至 8中任一项所述 多模通信装置; 17. A multimode communication system, including a first multimode communication device, a concentrator, a second multimode communication device, and an electric meter, wherein the first multimode communication device is any one of claims 1 to 8. The multi-mode communication device according to the item, the second multi-mode communication device is the multi-mode communication device according to any one of claims 1 to 8;
所述系统中,所述第一多模通信装置与所述集中器连接,所述第二多模 通信装置与所述电表连接,所述集中器和所述电表通过所述第一多模通信装 置和所述第二多模通信装置收发报文。 In the system, the first multimode communication device is connected to the concentrator, the second multimode communication device is connected to the electricity meter, and the concentrator and the electricity meter communicate through the first multimode The device and the second multimode communication device send and receive messages.
PCT/IB2019/001323 2018-11-26 2019-11-26 Multi-mode communication device, method and system WO2020109867A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811421741.1 2018-11-26
CN201811421741.1A CN111225414B (en) 2018-11-26 2018-11-26 Multimode communication device, communication method thereof and multimode communication system

Publications (2)

Publication Number Publication Date
WO2020109867A2 true WO2020109867A2 (en) 2020-06-04
WO2020109867A3 WO2020109867A3 (en) 2021-10-07

Family

ID=70830415

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB2019/001323 WO2020109867A2 (en) 2018-11-26 2019-11-26 Multi-mode communication device, method and system

Country Status (2)

Country Link
CN (1) CN111225414B (en)
WO (1) WO2020109867A2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988796A (en) * 2020-07-14 2020-11-24 江苏方天电力技术有限公司 Dual-mode communication-based platform area information acquisition service bandwidth optimization system and method
CN112688942A (en) * 2020-12-23 2021-04-20 南方电网电力科技股份有限公司 Electric energy meter firmware program upgrading method, device, medium and equipment based on ESAM
CN114979826A (en) * 2022-05-16 2022-08-30 北京智芯微电子科技有限公司 Power consumption control method, system, equipment and chip of multimode communication equipment
CN116634589A (en) * 2023-07-25 2023-08-22 杭州微联智控科技有限公司 Method for receiving and transmitting reliable messages of half-duplex LoRa network

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367691A (en) * 2020-10-30 2021-02-12 重庆芯讯通无线科技有限公司 LoRA-integrated multimode communication module, communication control method and electronic equipment
CN114915394B (en) * 2022-04-08 2023-07-25 深圳市国电科技通信有限公司 Dual mode communication device, dual mode communication method, and storage medium
CN115065635A (en) * 2022-07-27 2022-09-16 北京智芯微电子科技有限公司 Dual-mode communication method, module and system
CN115276718A (en) * 2022-07-31 2022-11-01 贵州电网有限责任公司 Multimode single-network power communication system and communication method thereof

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2430111B (en) * 2005-09-06 2010-04-07 King S College London A method of confirming datagram reception in uni-directional networks
US9432780B2 (en) * 2010-07-03 2016-08-30 Starkey Laboratories, Inc. Multi-mode radio for hearing assistance devices
CN102547921A (en) * 2010-12-22 2012-07-04 中国移动通信集团公司 Communication control method, device and system and multi-mode terminal
CN102368878A (en) * 2011-09-19 2012-03-07 中兴通讯股份有限公司 Multimode terminal as well as SIM (subscriber identity module) card information transmission system and method
CN103068063A (en) * 2011-10-20 2013-04-24 中兴通讯股份有限公司 Multimode communication method, terminal and system
CN103313358B (en) * 2012-03-15 2016-08-24 宇龙计算机通信科技(深圳)有限公司 The method of multi-mode communication terminal registration long-term evolving network and multi-mode communication terminal thereof
CN104581857B (en) * 2012-06-08 2019-02-01 华为技术有限公司 Transfer control method, network side equipment and terminal
CN105162718A (en) * 2015-09-25 2015-12-16 中铁工程装备集团有限公司 MIPv6-based multi-mode terminal service flow distribution method
CN105656501A (en) * 2016-02-01 2016-06-08 华电智连信达科技(北京)有限公司 Multi-mode communication device and multi-mode communication method
CN205959385U (en) * 2016-05-03 2017-02-15 北京科东电力控制系统有限责任公司 Multimode communication module and corresponding power line carrier system of checking meter
CN106341799A (en) * 2016-11-23 2017-01-18 北京坦达信息科技有限公司 Multimode communication terminal
CN106788520A (en) * 2016-11-23 2017-05-31 广东电网有限责任公司电力调度控制中心 For the communicator of concentrator
CN107919003B (en) * 2017-10-18 2020-12-01 泰斗微电子科技有限公司 Method and module for controlling remote communication of power intelligent terminal and terminal
CN207602026U (en) * 2017-11-06 2018-07-10 杭州银宸科技有限公司 A kind of low-power consumption instrument digital transmission module based on multimode communication

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988796A (en) * 2020-07-14 2020-11-24 江苏方天电力技术有限公司 Dual-mode communication-based platform area information acquisition service bandwidth optimization system and method
CN111988796B (en) * 2020-07-14 2023-10-20 江苏方天电力技术有限公司 Dual-mode communication-based system and method for optimizing platform information acquisition service bandwidth
CN112688942A (en) * 2020-12-23 2021-04-20 南方电网电力科技股份有限公司 Electric energy meter firmware program upgrading method, device, medium and equipment based on ESAM
CN114979826A (en) * 2022-05-16 2022-08-30 北京智芯微电子科技有限公司 Power consumption control method, system, equipment and chip of multimode communication equipment
CN116634589A (en) * 2023-07-25 2023-08-22 杭州微联智控科技有限公司 Method for receiving and transmitting reliable messages of half-duplex LoRa network
CN116634589B (en) * 2023-07-25 2023-10-20 杭州微联智控科技有限公司 Method for receiving and transmitting reliable messages of half-duplex LoRa network

Also Published As

Publication number Publication date
CN111225414A (en) 2020-06-02
WO2020109867A3 (en) 2021-10-07
CN111225414B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
WO2020109867A2 (en) Multi-mode communication device, method and system
CN1989723B (en) System and method for increasing data throughout using a block acknowledgement
CN108668381A (en) Communication means and device
BR112012003047B1 (en) method and apparatus for priority signaling over a wireless serial communications channel
EP2672741B1 (en) Short message sending method for multi-sim terminal and multi-sim terminal
CN112073921A (en) Narrow-band and wide-band group calling communication
CN112040566A (en) Narrow-band and wide-band single-call communication system
KR20190103179A (en) Method for transmitting RLC layer status report control PDUs and related devices
TWI466486B (en) Mobile station, base station,communication system and abnormal power down reporting method thereof
CN101119593A (en) Apparatus and method for ccbs service in mobile communication system
EP2515601B1 (en) Dial-up connection method and device of mobile data terminal
US9992767B2 (en) Data transmission method and device
CN102611783A (en) Mobile terminal and method for processing mobile internet communication service with the same
US20230354097A1 (en) System and method to segment recovery and message feedback in 5g messaging architecture
CN101989250B (en) Serial communication method and system
RU2005141762A (en) METHOD AND SYSTEM FOR REGISTRATION OF BROADCASTING / GROUP SERVICE IN A HIGH-SPEED SYSTEM WITH SWITCHING DATA PACKAGES
CN111294148B (en) Signaling transmission and receiving method and device, storage medium and terminal
CN103002563A (en) Subscriber information register method and subscriber information register system
CN104780577B (en) A kind of method and apparatus that data resource switches over transmission in minizone
WO2016183823A1 (en) Group service feedback method and apparatus
CN107979878B (en) A kind of communication means and base station
CN107466018A (en) The data transferring method and terminal device of a kind of terminal device
CN101389048A (en) Method for providing files transmitted between radio communication devices
CN103188743A (en) Wireless communication device and wireless communication system
WO2021204249A1 (en) Layer 2 measurement method and network side device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03/11/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19889748

Country of ref document: EP

Kind code of ref document: A2