CN115148015A - Intelligent air switch isolation terminal control system - Google Patents

Intelligent air switch isolation terminal control system Download PDF

Info

Publication number
CN115148015A
CN115148015A CN202210760470.2A CN202210760470A CN115148015A CN 115148015 A CN115148015 A CN 115148015A CN 202210760470 A CN202210760470 A CN 202210760470A CN 115148015 A CN115148015 A CN 115148015A
Authority
CN
China
Prior art keywords
equipment
address
data
connection
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210760470.2A
Other languages
Chinese (zh)
Inventor
李涛鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Weile Information Technology Co ltd
Original Assignee
Guangzhou Weile Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Weile Information Technology Co ltd filed Critical Guangzhou Weile Information Technology Co ltd
Priority to CN202210760470.2A priority Critical patent/CN115148015A/en
Publication of CN115148015A publication Critical patent/CN115148015A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/50Receiving or transmitting feedback, e.g. replies, status updates, acknowledgements, from the controlled devices
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/90Additional features
    • G08C2201/93Remote control using other portable devices, e.g. mobile phone, PDA, laptop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40228Modbus

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

An intelligent air switch isolation terminal control system comprises the following parts: (1) the equipment and the APP interact with each other to form a network; (2) connecting; after the equipment is successfully connected with the router, the equipment needs to establish a connection relation with the server and the mobile phone APP; (3) interacting; and in the stage of equipment connection and connection relation establishment, data interaction is carried out based on the following protocol. The intelligent power utilization system capable of achieving power utilization systematization management comprises intelligent terminal equipment and a software system platform, and has the functions of power utilization protection, remote operation control air switch, electric quantity statistics, timing switch air switch, automatic reclosing power transmission setting, abnormal event summary recording, automatic message pushing under abnormal conditions and the like.

Description

Intelligent air switch isolation terminal control system
Technical Field
The invention relates to the technical field of electric power, in particular to an intelligent air switch isolation terminal control system.
Background
The main function of the existing air switch is to automatically close under the conditions of electric leakage and abnormal voltage. The specific current and voltage abnormal events are not summarized and recorded, and a user can only judge the reason of the idle trip and power failure in a checking mode; for the current and voltage abnormal event, the message pushing is lacked, and a user does not know the condition of idle tripping when the user is not on site in many times, so that the condition of sudden power failure cannot be repaired in time; the function of timing control of the air switch is lacked, and the air switch can be turned on and off only by manual timing; the function of remote control air switch is lacked, and the power is usually switched off by manually arriving at the site under the condition of forgetting to switch off the power.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides an intelligent air switch isolation terminal control system.
The technical scheme adopted by the invention for solving the technical problem is as follows:
an intelligent air switch isolation terminal control system comprises the following parts:
(1) The equipment and APP are interactively distributed with the network:
the equipment in a factory state has two distribution network modes: the STA distribution network and the softAP distribution network;
(2) Connecting:
after the equipment is successfully connected with the router, the equipment needs to establish a connection relation with the server and the mobile phone APP;
(3) Interaction the method comprises the following steps:
the equipment connection and connection relation establishment stage carries out data interaction based on the following protocols;
1. communication appointment;
except for special description, the communication between the device and the mobile phone APP follows the following convention;
1.1 response timeout time;
the protocol data interaction adopts an asynchronous receiving and sending mechanism, so that after a receiver receives data, the data needs to be processed and responded as soon as possible, and a sender is ensured to receive the response data within 5s, otherwise, the sender considers that the peer end does not receive the data and retransmits the data according to the actual condition;
1.2 data retransmission times;
after the sender sends data, if no response is obtained, the maximum retransmission times is allowed to be 3 times, if no response is obtained by the receiver after the maximum retransmission times, the receiver is determined to have no response and abandons sending data, and then further processing is carried out.
Compared with the prior art, the invention has the advantages that:
the intelligent power utilization system capable of achieving power utilization systematization management comprises intelligent terminal equipment and a software system platform, and has the functions of power utilization protection, remote operation control air switch, electric quantity statistics, timing switch air switch, automatic reclosing power transmission setting, abnormal event summary recording, automatic message pushing under abnormal conditions and the like.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of distribution network of softAP in the invention
FIG. 2 is a connection diagram of the device of the present invention and APP
FIG. 3 is a schematic structural view of the present invention;
fig. 4 is a schematic structural diagram of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings, in order that the present disclosure may be more fully understood and fully conveyed to those skilled in the art. While the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the invention is not limited to the embodiments set forth herein.
An intelligent air switch isolation terminal control system comprises the following parts:
(1) The equipment and APP are interactively distributed with the network:
the equipment in a factory state has two distribution network modes: an STA distribution network and a softAP distribution network;
(2) Connecting:
after the equipment is successfully connected with the router, the equipment needs to establish a connection relation with the server and the mobile phone APP;
(3) Interaction:
the equipment connection and connection relation establishment stage is used for carrying out data interaction based on the following protocols;
1. communication appointment;
except for special description, the communication between the equipment and the mobile phone APP follows the following convention;
1.1 response timeout time;
the protocol data interaction adopts an asynchronous receiving and sending mechanism, so that after a receiver receives data, the receiver needs to process and answer the data as soon as possible to ensure that a sender needs to receive the answer data within 5s, otherwise, the sender considers that the peer end does not receive the data and retransmits the data according to the actual condition;
1.2 data retransmission times;
after the data is transmitted by the transmitting side, under the condition that no response is obtained, the maximum retransmission times is allowed to be 3 times, if the response of the receiving side is not obtained after the maximum retransmission times, the receiving side is determined to have no response and abandons the transmitted data, and then the data is further processed.
The STA is distributed in a network: the mobile phone APP sends the SSID and password of the router to be connected based on ESP-TOUCH protocol broadcasting, and the equipment tries to access the network by using the information after receiving the SSID and password information based on ESP-TOUCH protocol.
The main technical indexes of the equipment end are as follows:
ESP-TOUCH protocol: reference is made to official descriptions and examples;
entering STA distribution network mode conditions: after being electrified, the equipment is detected to be in a factory state or triggered by a key;
time-out time: none;
and (3) distribution network state feedback: reference to a network indicator light description;
and performing a connection link after the distribution network is successful.
The softAP is distributed with a network: and under the network distribution mode of the softAP, the equipment sets the equipment as an AP, waits for the connection of the APP of the mobile phone, receives the SSID and password of the router to be connected sent by the mobile phone after the connection is successful, and tries to access the network by utilizing the information. The interaction flow is shown in fig. 1.
The main technical indexes of the equipment end are as follows:
softAP mode:
entry conditions were as follows: key activation (see key function description);
and (3) exit conditions: key triggering (see key function description) or equipment power-off restarting;
AP information:
SSID is "three bytes after the equipment model _ mac address", the characters use lowercase, password is null;
example (c): ihc8325qh _010203;
a default gateway: 172.31.254.250;
tcpserver: the system comprises a router, a mobile phone APP and a server, wherein the router is used for receiving the SSID and password of the router to be connected sent by the mobile phone APP;
address and service port: the IP of the local computer in the AP mode has a port of 7001;
only allowing the first mobile phone APP sending the connection request to establish a connection relation;
after receiving the SSID and password, the system is automatically closed;
receiving data: after the connection relationship is established between the two parties, data communication is carried out, see the relevant description of the 'interaction' section;
time-out time: none;
and (3) network distribution state feedback: reference to a network indicator light description;
carrying out a connection link after the distribution network is successful;
description of connection flow:
after the equipment is powered on, adding a UDP multicast group to monitor a discovery message, creating a tcpclient when the discovery message arrives, connecting the tcpserver according to tcpserver address information provided by a mobile phone APP in the discovery message and establishing a connection relation;
after starting the mobile phone APP, a tcpserver is created, then the udp server is created, a discovery message is sent to the specified multicast group, and a connection relation is established between the tcpclient request from the equipment and the equipment when the tcpclient request arrives.
The main technical indexes of the equipment end are as follows:
multicast group: for monitoring discovery messages
Monitoring an address: 239.1.1.110, port: 6001;
and a monitoring period: continuously monitoring during the running period of the equipment;
tcpclient: establishing a connection relation with tcpserver in the discovery message, and providing a data communication channel between the equipment and the mobile phone APP;
at most 1 tcpserver can be connected simultaneously, and when the connection limit is reached, the connection relation is not established any more;
the heartbeat connection is kept with the tcpserver, and is disconnected when the heartbeat is overtime, and the heartbeat connection is described in an interaction section;
and when the tcpserver is closed or abnormal, disconnecting the tcpserver from the tcpserver and clearing the connection information of the tcpserver.
The interaction comprises the following steps:
the device interacts with the server;
the equipment is connected with the server based on a TCP protocol;
testing a server domain name: t.xxx.net;
formal server domain name: m.xxx.net;
a receiving port 7333;
the above parameters are leaving factory and writing into firmware.
And when the SSID of the equipment connection wireless network is t.xxx.net, connecting to the domain name of the test server, otherwise, connecting to the formal server.
All operation or reply commands of the equipment are 16-system data; default communication baud rate: 9600. 8, n and 1.
Basic command format:
reading: device address, function code 0x03, register address 2 bytes, register number 2 bytes, CRC16 check write: the meanings of [ device address ], [ function code 0x06], [ register address: 2 bytes ], [ data to be written: 2 bytes ], [ CRC16 check ] are as follows:
A. device address (factory default 1): the device address range is 1-250, where 255, i.e., 0xFF, is the broadcast address that can be used to operate when the device address is unknown.
B. Function code: different applications require different function codes, 0x03 for reading register data and 0x06 for modifying register data (operating device). All data operates on words (2 bytes).
C. Register address: the register start address is read or operated on.
D. Number of registers: the number of registers is read or operated on (1 or a consecutive number of registers can be read; only 1 register can be operated on at a time when writing to a register).
E. CRC checking: the CRC16 checks with the low byte preceding and the high byte succeeding.
The read-write interval of the device is recommended to be more than or equal to 0.5s every time, otherwise, the device can not respond.
The register address must be within a reasonable range, a non-existent address, the device will not process the information, nor return any data.
The number of registers cannot be 0, and for 0 the device will not process the information and will not return any data.
If the number of registers exceeds the address range, only the contents of the last valid register are returned. For example, the starting address is 19 and the number is 5, and if the maximum register address is only 21, only the contents of 3 registers (6 bytes) with addresses 19-21 are returned.
On the same 485 bus, all slave devices using the MODBUS-RTU protocol must have a unique "device address (485 address)", otherwise, multiple slave devices respond simultaneously, disturbing the bus.
(6) 0XFF broadcast address:
reading: when the device address is unknown, the broadcast address can be used for reading, but the current bus has one and only one device, otherwise, a plurality of devices return at the same time to disturb the bus.
Writing: the use of a broadcast address allows for a "write" operation of all devices on the bus, but all devices on the bus do not have data to return, preventing the bus from being disturbed. The function is used for unified control, such as unified control of the on-off states of all devices on the bus; if the 485 address is forgotten, the 485 address of the device on the bus is forced to be a designated address.
A write operation to the device returns the received data frame if the device correctly performs the operation. If the execution fails, a fixed byte, 0xFF, is returned.
A "read" operation may read 1 or a consecutive number of registers at a time; but a write operation can only operate on 1 register at a time.
The register dependency is described as follows:
Figure BDA0003723919100000061
Figure BDA0003723919100000071
Figure BDA0003723919100000081
Figure BDA0003723919100000091
note: recent failure information: the information contains type, fault value. When a fault occurs, the equipment can automatically lock the fault information, and the two values are updated (namely the latest fault information can be read under normal work) until a new fault occurs next time, so that the control end of a client can conveniently read and analyze the fault information. Therefore, the client can read the latest fault information only through the two registers. Before the failure occurs in the power-on process, the two read values are both 0.
Example 1:
reading the system state:
Figure BDA0003723919100000092
Figure BDA0003723919100000101
and (3) return data analysis:
Figure BDA0003723919100000102
example 2:
reading 485 address of system (when forgetting address, address code can use 0XFF, but current bus has only one device)
Figure BDA0003723919100000103
And (3) return data analysis:
Figure BDA0003723919100000104
Figure BDA0003723919100000111
example (b) 3:
and sending a system reset instruction:
Figure BDA0003723919100000112
return data analysis (success in execution, return the same data as the host; failure returns one byte, 0 xFF):
Figure BDA0003723919100000113
other instructions refer to:
reading all registers: 0103000000198400.
read current, leakage, voltage 3 registers: 010300030003F5CB.
Closing: 01060000a55a72A1.
Opening a brake: 010600005AA57311.
Resetting: 01060000FEEF8826.
The address of the hard brush 485 is 2: (with broadcast address) FF06000100024C15.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described above with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the above detailed description of the embodiments of the invention presented in the drawings is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on orientations or positional relationships shown in the drawings or orientations or positional relationships that the present product is conventionally placed in use, and are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.

Claims (8)

1. The utility model provides an intelligent air switch isolation terminal control system which characterized in that, including following part:
(1) The equipment and APP are interactively distributed with the network:
the equipment in a factory state has two distribution network modes: an STA distribution network and a softAP distribution network;
(2) Connecting:
after the equipment is successfully connected with the router, the equipment needs to establish a connection relation with the server and the mobile phone APP;
(3) Interaction:
the equipment connection and connection relation establishment stage is used for carrying out data interaction based on the following protocols;
1. communication appointment;
except for special description, the communication between the device and the mobile phone APP follows the following convention;
1.1 response timeout time;
the protocol data interaction adopts an asynchronous receiving and sending mechanism, so that after a receiver receives data, the data needs to be processed and responded as soon as possible, and a sender is ensured to receive the response data within 5s, otherwise, the sender considers that the peer end does not receive the data and retransmits the data according to the actual condition;
1.2 data retransmission times;
after the sender sends data, if no response is obtained, the maximum retransmission times is allowed to be 3 times, if no response is obtained by the receiver after the maximum retransmission times, the receiver is determined to have no response and abandons sending data, and then further processing is carried out.
2. The intelligent air switch isolation terminal control system of claim 1, wherein:
the STA is distributed in a network: the mobile phone APP sends the SSID and password of the router to be connected based on ESP-TOUCH protocol broadcasting, and the equipment tries to access the network by using the information after receiving the SSID and password information based on ESP-TOUCH protocol.
The main technical indexes of the equipment end are as follows:
ESP-TOUCH protocol: reference is made to official descriptions and examples;
entering STA distribution network mode conditions: after being electrified, the equipment is detected to be in a factory state or triggered by a key;
time-out time: none;
and (3) network distribution state feedback: reference to a network indicator light description;
and performing a connection link after the distribution network is successful.
3. The intelligent air switch isolation terminal control system of claim 1, wherein:
the softAP is distributed with a network: and under the network distribution mode of the softAP, the equipment sets the equipment as an AP, waits for the connection of the APP of the mobile phone, receives the SSID and password of the router to be connected sent by the mobile phone after the connection is successful, and tries to access the network by utilizing the information. The interaction flow is shown in fig. 1.
The main technical indexes of the equipment end are as follows:
softAP mode:
entry conditions are as follows: key activation (see key function description);
and (3) exit conditions: key triggering (see key function description) or equipment power-off restarting;
AP information:
SSID is "three bytes after the equipment model _ mac address", the characters use lowercase, password is null;
example (a): ihc8325qh _010203;
a default gateway: 172.31.254.250;
tcpserver: the system comprises a router, a mobile phone APP and a server, wherein the router is used for receiving the SSID and password of the router to be connected sent by the mobile phone APP;
address and service port: the IP of the local machine in the AP mode has a port of 7001;
only allowing the first mobile phone APP sending the connection request to establish a connection relation;
after receiving the SSID and password, the system is automatically closed;
receiving data: after the connection relationship is established between the two parties, data communication is carried out, see the relevant explanation of the 'interaction' section;
time-out time: none;
and (3) network distribution state feedback: reference to a network indicator light description;
and performing a connection link after the distribution network is successful.
4. The intelligent air switch isolation terminal control system according to claim 1, wherein:
description of connection procedure:
after the equipment is powered on, adding a UDP multicast group to monitor a discovery message, creating a tcpclient when the discovery message arrives, connecting the tcpserver according to tcpserver address information provided by a mobile phone APP in the discovery message and establishing a connection relation;
after the mobile phone APP is started, a tcpserver is created, then a udp server is created, a discovery message is sent to a specified multicast group, and a connection relation is established between a tcpclient request from a device and the device when the tcpclient request arrives.
The main technical indexes of the equipment end are as follows:
multicast group: for monitoring discovery messages
Monitoring an address: 239.1.1.110, port: 6001;
and a monitoring period: continuously monitoring during the running period of the equipment;
tcpclient: establishing a connection relation with tcpserver in the discovery message, and providing a data communication channel between the equipment and the mobile phone APP;
at most 1 tcpserver can be connected simultaneously, and when the connection limit is reached, the connection relation is not established any more;
the heartbeat connection is kept with the tcpserver, and is disconnected when the heartbeat is overtime, and the heartbeat connection is described in an interaction section;
and when the tcpserver is closed or abnormal, disconnecting the tcpserver from the tcpserver and clearing the connection information of the tcpserver.
5. The intelligent air switch isolation terminal control system of claim 1, wherein: the interaction comprises the following steps:
the equipment interacts with a server;
the equipment is connected with the server based on a TCP protocol;
testing the domain name of the server: t.xxx.net;
formal server domain name: m.xxx.net;
a receiving port 7333;
the above parameters are written in the firmware before factory shipment.
And when the SSID of the equipment connection wireless network is t.xxx.net, connecting to the domain name of the test server, otherwise, connecting to the formal server.
6. The intelligent air switch isolation terminal control system of claim 1, wherein: all operation or reply commands of the equipment are 16-system data; default communication baud rate: 9600. 8, n and 1.
7. The intelligent air switch isolation terminal control system of claim 1, wherein:
basic command format:
reading: device address, function code 0x03, register address 2 bytes, register number 2 bytes, CRC16 check write: the meaning of [ device address ], [ function code 0x06], [ register address: 2 bytes ], [ data to be written: 2 bytes ], [ CRC16 check ] is as follows:
A. device address (factory default 1): the device address range is 1-250, where 255, i.e., 0xFF, is the broadcast address that can be used to operate when the device address is unknown.
B. Function code: different applications require different function codes, 0x03 for reading register data and 0x06 for modifying register data (operating device). All data operates on words (2 bytes).
C. Register address: the register start address is read or operated on.
D. Number of registers: the number of registers is read or operated on (1 or a consecutive number of registers can be read; only 1 register can be operated on at a time when writing to a register).
E. CRC checking: the CRC16 checks with the low byte preceding and the high byte succeeding.
8. The intelligent air switch isolation terminal control system of claim 1, wherein:
the read-write interval of each time of the equipment is recommended to be more than or equal to 0.5s, otherwise, the equipment can not respond.
The register address must be within a reasonable range, a non-existent address, the device will not process the information, nor return any data.
The number of registers cannot be 0, and a device that is 0 will not process the information, nor return any data.
If the number of registers exceeds the address range, only the contents of the last valid register are returned. For example, the starting address is 19 and the number is 5, and if the maximum register address is only 21, only 3 registers (6 bytes) with addresses 19-21 are returned.
On the same 485 bus, all slave devices using the MODBUS-RTU protocol must have a unique "device address (485 address)", otherwise, multiple slave devices respond simultaneously, disturbing the bus.
(6) 0XFF broadcast address:
reading: when the device address is unknown, the broadcast address can be used for reading, but the current bus has one and only one device, otherwise, a plurality of devices return at the same time to disturb the bus.
Writing: the use of a broadcast address allows for a "write" operation of all devices on the bus, but all devices on the bus do not have data to return, preventing the bus from being disturbed. The function is used for unified control, such as unified control of the on-off states of all devices on the bus; when the 485 address is forgotten, the 485 address of the device on the bus is forced to be a designated address.
A write operation to the device returns the received data frame if the device correctly performs the operation. If the execution fails, a fixed byte, 0xFF, is returned.
A "read" operation can read 1 or a consecutive number of registers at a time; but a write operation can only operate 1 register at a time.
CN202210760470.2A 2022-06-30 2022-06-30 Intelligent air switch isolation terminal control system Pending CN115148015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210760470.2A CN115148015A (en) 2022-06-30 2022-06-30 Intelligent air switch isolation terminal control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210760470.2A CN115148015A (en) 2022-06-30 2022-06-30 Intelligent air switch isolation terminal control system

Publications (1)

Publication Number Publication Date
CN115148015A true CN115148015A (en) 2022-10-04

Family

ID=83411082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210760470.2A Pending CN115148015A (en) 2022-06-30 2022-06-30 Intelligent air switch isolation terminal control system

Country Status (1)

Country Link
CN (1) CN115148015A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123113A (en) * 2007-09-20 2008-02-13 上海交通大学 Access method and control device for synchronous dynamic random access memory
EP3641233A1 (en) * 2018-10-18 2020-04-22 Bender GmbH & Co. KG Method for dissolving an address conflict in the modbus rtu standard protocol
CN111491330A (en) * 2020-03-11 2020-08-04 桂林电子科技大学 Fusion networking method of SDN (software defined network) and wireless network
CN111525493A (en) * 2020-04-07 2020-08-11 温州大学 Thing networking intelligent circuit breaker based on WIFI mode
CN111757356A (en) * 2020-06-23 2020-10-09 四川虹美智能科技有限公司 Equipment distribution network system and distribution network method thereof
CN113676923A (en) * 2020-05-14 2021-11-19 展讯通信(上海)有限公司 Distribution network method, distribution network related equipment, distribution network related device and storage medium
CN113721858A (en) * 2021-09-06 2021-11-30 上海星秒光电科技有限公司 Method and device for quickly reading and writing memory, electronic equipment and storage medium
CN113765976A (en) * 2020-11-13 2021-12-07 北京京东乾石科技有限公司 Communication method and system
CN114095918A (en) * 2020-07-31 2022-02-25 华为技术有限公司 Network distribution method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123113A (en) * 2007-09-20 2008-02-13 上海交通大学 Access method and control device for synchronous dynamic random access memory
EP3641233A1 (en) * 2018-10-18 2020-04-22 Bender GmbH & Co. KG Method for dissolving an address conflict in the modbus rtu standard protocol
CN111491330A (en) * 2020-03-11 2020-08-04 桂林电子科技大学 Fusion networking method of SDN (software defined network) and wireless network
CN111525493A (en) * 2020-04-07 2020-08-11 温州大学 Thing networking intelligent circuit breaker based on WIFI mode
CN113676923A (en) * 2020-05-14 2021-11-19 展讯通信(上海)有限公司 Distribution network method, distribution network related equipment, distribution network related device and storage medium
CN111757356A (en) * 2020-06-23 2020-10-09 四川虹美智能科技有限公司 Equipment distribution network system and distribution network method thereof
CN114095918A (en) * 2020-07-31 2022-02-25 华为技术有限公司 Network distribution method and system
CN113765976A (en) * 2020-11-13 2021-12-07 北京京东乾石科技有限公司 Communication method and system
CN113721858A (en) * 2021-09-06 2021-11-30 上海星秒光电科技有限公司 Method and device for quickly reading and writing memory, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3422638B1 (en) Method of communication failure reporting and corresponding apparatus
KR100455973B1 (en) Method to establish a home network in multiple physical layers
CN102546619B (en) Modbus protocol conversion system based on 3G (The 3rd Generation Telecommunication) Internet access
US20070245033A1 (en) Link layer discovery and diagnostics
CN109548019B (en) Network distribution method and system
US20100228843A1 (en) Element management system in wireless communication network
KR20000049756A (en) System and method for supervising repeater by using wireless mobile
US20230080739A1 (en) Easymesh configuration of ap using ieee 1905.1
CN113490218A (en) Pairing method, pairing device, Bluetooth remote controller, intelligent device and storage medium
WO2008020722A1 (en) Expandable element management system in wireless communication network
CN105141657B (en) The new network means of communication suitable for intelligent home control system
Mai et al. IEC 60870-5-104 network characterization of a large-scale operational power grid
CN111245660B (en) Network-based equipment upgrading self-adaptive transmission method
CN115148015A (en) Intelligent air switch isolation terminal control system
CN114143904B (en) CPE management method based on 5G fusion network shunt
CN113746710B (en) Relay gateway control system and method based on intelligent central control system
CN102014054A (en) Sending method and equipment for keep-alive messages
US11592316B2 (en) Method for reading meters for fluids
CN111800335B (en) IoT gateway communication method
US10492088B2 (en) Technique for accessing at least one administration server
CN202652241U (en) SMS-based device monitoring server remotely and processing failure
JP2000353136A (en) Network device search device and its method, and storage medium
US20230162298A1 (en) Method for reconnecting a smart electricity meter and smart electricity meter implementing said method
CN112636461B (en) Remote restart method and system for fault recorder
CN100596142C (en) A system and method to manage file transmission based on simple network management protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination