WO2019223065A1 - 数据采集方法、数据发送方法、数据采集设备及网络设备 - Google Patents

数据采集方法、数据发送方法、数据采集设备及网络设备 Download PDF

Info

Publication number
WO2019223065A1
WO2019223065A1 PCT/CN2018/094255 CN2018094255W WO2019223065A1 WO 2019223065 A1 WO2019223065 A1 WO 2019223065A1 CN 2018094255 W CN2018094255 W CN 2018094255W WO 2019223065 A1 WO2019223065 A1 WO 2019223065A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
data
sequence number
network device
instruction
Prior art date
Application number
PCT/CN2018/094255
Other languages
English (en)
French (fr)
Inventor
刘晓宁
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 WO2019223065A1 publication Critical patent/WO2019223065A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/08Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/04Scheduled access
    • H04W74/06Scheduled access using polling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the embodiments of the present disclosure relate to, but are not limited to, the field of communication technologies, and in particular, to a data collection method, a data sending method, a data collection device, and a network device.
  • At least one embodiment of the present disclosure provides a data collection method, a data sending method, a data collection device, and a network device.
  • the following is an overview of the topics detailed in this article. This summary is not intended to limit the scope of protection of the claims.
  • an embodiment of the present disclosure provides a data collection method, including: Step 101: Obtain network configuration information, where the network configuration information includes: a polling interval and a device address of at least one network device; Step 102: The polling interval sends a data packet query instruction to network devices corresponding to all device addresses, wherein the data packet query instruction carries a device address and a packet sequence number of a current polling interval; step 103 : Obtain a data packet query result sent by each network device in response to a data packet query query with a different polling interval, wherein the data packet query result carries a data packet sequence number of the current polling interval and the data packet query A data packet corresponding to the data packet number; and step 104: integrating all data packets of each network device according to the data packet number to obtain data of each network device.
  • the method further includes: step 105: judging whether the data packet query result carries the data packet sequence number of the next polling cycle; if yes, go to step 106; if not, Then it is judged whether all the data packets of each network device have been acquired, and if all the data packets of each network device have been acquired, step 104 is performed; if all the data packets of each network device have not been acquired, then return to step 102, until all data packets of each network device have been obtained; and step 106: at the next polling cycle, a data packet query instruction carrying the data packet sequence number of the next polling cycle is sent.
  • step 106 the method further includes: performing step 3 again until the data packet query result does not carry a packet number of the next polling cycle.
  • the network configuration information further includes: the number of data subcontracting query retries; and between steps 103 and 104, the method further includes: step 7: if the data subcontracting query result is obtained Failing or detecting that the data packet query results carry erroneous data packets, then resending the data packet query instructions until the obtained data packet query results carry error-free data packets or the number of retransmissions exceeds the limit The number of data subcontracting query retries.
  • the network configuration information further includes: a data collection time range; and between the steps 101 and 102 further includes: judging whether the sending time is within the data collection time range, and if so, performing the sending Steps of the data packet query instruction.
  • the method further includes the steps of: storing data of each network device; when receiving a data acquisition instruction, extracting a device address carried in the data acquisition instruction; and responding to the The data acquisition instruction sends data of a network device corresponding to the device address.
  • an embodiment of the present disclosure further provides a data acquisition device, including: a first acquisition unit configured to acquire network configuration information, wherein the network configuration information includes a polling interval and a device of at least one network device Address; the polling unit is configured to poll the network devices corresponding to all device addresses according to the polling interval and send a data packet query instruction, wherein the data packet query instruction carries a current polling interval Device address and data packet sequence number; a second obtaining unit configured to obtain a data packet query result sent by each network device in response to a data packet query query with a different polling interval, wherein the data packet query result A data packet sequence number carrying the current polling interval and a data packet corresponding to the data packet sequence number; and an integration unit configured to integrate all data packets of each network device according to the packet sequence number to obtain each network device The data.
  • the data acquisition device further includes: a first determination unit configured to determine whether a data packet query result obtained by the second acquisition unit carries a data packet sequence number of a next polling period, and if not, , The first judging unit judges whether all data packets of each network device have been acquired.
  • the polling unit is further configured to, after the first determining unit determines that all data packets of each network device have not been obtained, poll the network devices corresponding to all device addresses according to the polling interval to send data points.
  • a packet query instruction and after the first judging unit determines that the data packet query result carries a data packet sequence number of a next polling period, the next polling period is sent to carry the next polling period A data packet query instruction of the data packet sequence number; and the integration unit is further configured to determine, at the first determination unit, that all data packets of each network device have been obtained, then integrate each network according to the data packet sequence number All data packets of the device to get data for each network device.
  • the network configuration information further includes: the number of data subcontracting query retries; and the data acquisition device further includes: a processing unit configured to the second obtaining unit fails to obtain the data subcontracting query result After the processing unit detects that the data packet query result carries an incorrect data packet, it resends the data packet query instruction until the data packet query result obtained by the second obtaining unit carries the data packet query result. The number of error-free data packets or retransmissions exceeds the number of data packet query retry attempts.
  • the network configuration information further includes: a data collection time range; and the data collection device further includes: a second judgment unit configured to before the polling unit sends the data packet query instruction, Determine whether the sending time is within the data collection time range.
  • the polling unit is further configured to send the data packet query instruction after the second judgment unit determines that the sending time is within the data collection time range.
  • the data acquisition device further includes: a storage unit configured to store data of each network device after the integration unit obtains data of each network device; an extraction unit configured to receive data When the instruction is acquired, the device address carried in the data acquisition instruction is extracted; and the response unit is configured to send data of the network device corresponding to the device address in response to the data acquisition instruction.
  • an embodiment of the present disclosure further provides a data sending method, which is applied to a network device and includes:
  • Step 301 Obtain a data packet query instruction, wherein the data packet query instruction carries a device address and a packet number of a current polling interval; step 302: verify the device address; step 303: if verified If yes, then extract the data packet sequence number carried in the data packet query instruction; and step 304: send a data packet query result in response to the data packet query instruction, where the data packet query result carries The data packet sequence number of the current polling interval and the data packet corresponding to the data packet sequence number.
  • the method further includes: step 305: judging whether there is a non-feedback data packet; and step 306: if there is a non-feedback data packet, then The data packet query result is added to the data packet sequence number of the next polling cycle, wherein the data packet sequence number of the next polling cycle is the next data corresponding to the data packet sequence number carried in the data packet query instruction. Package number.
  • an embodiment of the present disclosure further provides a network device, including: an obtaining unit configured to obtain a data packet query instruction, where the data packet query instruction carries a device address of a current polling interval and A data packet sequence number; a verification unit configured to verify the device address; an extraction unit configured to extract the sequence number of the data packet carried in the data packet query instruction after the verification unit passes the verification; and a sending unit Is configured to send a data packet query result in response to the data packet query instruction, wherein the data packet query result carries a data packet sequence number of a current polling interval and data corresponding to the data packet sequence number package.
  • the network device further includes: a first judgment unit configured to determine whether there is an unfeedback data packet after the extraction unit extracts a data packet sequence number carried in the data packet query instruction; and
  • the adding unit is configured to add a data packet sequence number of a next polling cycle to the data packet query result after the first determining unit determines that there is a non-feedback data packet, wherein the next polling
  • the periodic data packet sequence number is the next data packet sequence number corresponding to the data packet sequence number carried in the data packet query instruction.
  • an embodiment of the present disclosure provides a data acquisition device including a processor and a memory, where the memory stores at least one executable instruction, and the executable instruction is loaded and executed by the processor to implement the foregoing. Data collection method.
  • an embodiment of the present disclosure provides a computer-readable storage medium that stores at least one executable instruction that implements the foregoing data collection method when the executable instruction is loaded and executed by a processor.
  • an embodiment of the present disclosure provides a data acquisition device including a processor and a memory, where the memory stores at least one executable instruction, and the executable instruction is loaded and executed by the processor to implement the foregoing. Data sending method.
  • an embodiment of the present disclosure provides another computer-readable storage medium, where the storage medium stores at least one executable instruction, and when the executable instruction is loaded and executed by a processor, the foregoing data sending method is implemented.
  • FIG. 1 is a flowchart of a data collection method according to an embodiment of the present disclosure
  • FIG. 2a is a structural block diagram of a data acquisition device according to an embodiment of the present disclosure
  • FIG. 2b is a structural block diagram of another data acquisition device according to an embodiment of the present disclosure.
  • FIG. 2c is a structural block diagram of still another data acquisition device according to an embodiment of the present disclosure.
  • 2d is a structural block diagram of still another data acquisition device according to an embodiment of the present disclosure.
  • 2e is a structural block diagram of still another data acquisition device according to an embodiment of the present disclosure.
  • FIG. 3 is a flowchart of a data sending method according to an embodiment of the present disclosure.
  • FIG. 4a is a structural block diagram of a network device according to an embodiment of the present disclosure.
  • 4b is a structural block diagram of another network device according to an embodiment of the present disclosure.
  • FIG. 5 is a flowchart of another data collection method according to an embodiment of the present disclosure.
  • FIG. 6 is a flowchart of still another data collection method according to an embodiment of the present disclosure.
  • FIG. 7 is a flowchart of still another data collection method according to an embodiment of the present disclosure.
  • FIG. 9 is a flowchart of another data collection method according to an embodiment of the present disclosure.
  • FIG. 10 is a flowchart of another data sending method according to an embodiment of the present disclosure.
  • an embodiment of the present disclosure discloses a data collection method.
  • the method may include the following steps:
  • Step 101 Obtain network configuration information, where the network configuration information includes: a polling interval and a device address of at least one network device.
  • the method may be performed by a data acquisition device, and the data acquisition device may be applied to a Zigbee network or other short-range wireless communication technologies other than the Zigbee network.
  • the network device is a Zigbee device, that is, a device capable of Zigbee communication in the Zigbee network.
  • the network configuration information may be manually configured information.
  • the device address of each network device can be obtained by determining the scale of the Zigbee network, that is, the number of network devices included in the Zigbee network.
  • the device address is a 4-byte IEEE address
  • the IEEE address is pre-assigned and globally unique before the network device enters the network.
  • the device address may also be a network address.
  • the network address is the address assigned by the parent node when the network device joins the Zigbee network after the Zigbee network is established.
  • the network address of the network device is first determined by the IEEE address, and then the communication between the network devices is achieved according to the network address.
  • the network configuration information may further include Zigbee network parameter information such as a ZigBee channel, a unicast channel, and a broadcast channel.
  • ZigBee network parameter information such as a ZigBee channel, a unicast channel, and a broadcast channel.
  • a polling interval is added to the network configuration information, and the polling interval is a time interval, so that the main body of the method can implement a master-slave unidirectional communication with the network device by polling, that is, The method execution body polls the network equipment before the network equipment returns the data packet. Therefore, the method execution body can directly and directly obtain the data of each network equipment, which can improve the communication stability and reduce external interference.
  • Step 102 According to the polling interval, send a data packet query instruction to network devices corresponding to all device addresses, where the data packet query instruction carries a device address and a data packet of a current polling interval. Serial number.
  • the time taken for the same network device to be polled twice is called a polling period, and the polling period is determined according to the number of network devices to send data packets and the polling interval in the network configuration information.
  • the data packet query instruction carries the device address and data packet sequence number of the current polling interval.
  • the device address is the address of the network device to be queried by the data packet query command
  • the data packet sequence number is the sequence number of the data packet to be queried by the data packet query command.
  • the packet number is 1 by default. That is, after the data of the network device is divided into multiple data packets, the first data packet is arranged in the order of division. If this packet query is not the first query, the packet sequence number carried in the data packet query command needs to be determined in advance. In the embodiment of the present disclosure, the number of the data packet may be determined as the number of the data packet sent by the last query of the same network device plus one. For example, if the current packet query is the second query, the packet sequence number is 2. That is, the second data packet is arranged in the split order.
  • the data of the network device is divided into a plurality of data packets, and each data packet corresponds to a different data packet sequence number, and the data packet sequence number indicates a division order of the data packets.
  • the data packet query instruction in each polling interval only queries one data packet of one network device. Therefore, erroneous data packets can be found in time, and re-querying can be performed only on the erroneous data packets without retransmitting the entire data, thereby improving data transmission efficiency.
  • the data packet query instruction may also carry a command function code and a device address of an execution subject of the method.
  • the command function code may enable a network device to determine that the received command is a data packet query instruction.
  • the device address of the subject enables the network device to determine that the data packet query instruction is issued by the executing subject of the method.
  • Step 103 Obtain a data packet query result sent by each network device in response to a data packet query command with a different polling interval, where the data packet query result carries the data packet sequence number of the current polling interval and the A data packet corresponding to the data packet sequence number.
  • the data packet query command responded by each network device is a data packet at different polling intervals.
  • Package query instructions For a polling interval, the network device queried by the data packet query instruction sends the data packet corresponding to the packet sequence number in the data packet query instruction to the method execution subject, and also sends the data in the data packet query instruction. The packet sequence number is sent to the method execution subject, so that the method execution subject determines the packet sequence number corresponding to the received data packet.
  • the data subcontracting query result may also carry the device address and response instruction code of the method executing subject, so that the method executing subject may determine that the data subcontracting query result is received, thereby extracting data.
  • the packet sequence number carried in the subcontracting query result and the data packet corresponding to the packet sequence number may also carry the device address and response instruction code of the method executing subject, so that the method executing subject may determine that the data subcontracting query result is received, thereby extracting data.
  • Step 104 Integrate all data packets of each network device according to the data packet sequence number to obtain data of each network device.
  • the data packets can be integrated according to the data packet sequence number carried in the data subcontracting query result.
  • the useful data in all the data packets of the network device are integrated according to the data packet sequence number, and the unnecessary data in the data packet is removed, such as the header data of the data packet is removed, so as to obtain the data of the network device.
  • the data collection method provided by the embodiment of the present disclosure implements a master-slave unidirectional communication with a network device through a polling method, and can obtain data of each network device directly in an orderly manner, which can improve communication stability and reduce external interference.
  • the data collection method provided in the embodiment of the present disclosure divides the data of the network device into multiple data packets through a data subcontracting technique, wherein each data packet corresponds to a different data packet sequence number, and the data in each polling interval
  • the packet query command only queries one data packet of one network device. Therefore, the data collection method provided by the embodiments of the present disclosure can detect erroneous data packets in time and improve data transmission efficiency.
  • the data collection method may further include the following steps:
  • Step 105 Determine whether the data packet query result carries the data packet sequence number of the next polling cycle; if yes, perform step 106; if not, determine all data of the network device that sends the data packet query result The packages are all obtained and step 105 'is performed.
  • Step 105 Determine whether all the data packets of each network device have been acquired. If all the data packets of each network device have been acquired, proceed to step 104; if all the data packets of each network device have not been acquired, return Step 102 until all data packets of each network device have been acquired.
  • Step 106 At the next polling cycle, a data packet query instruction carrying the data packet sequence number of the next polling cycle is sent.
  • step 106 specifically includes: sending a data packet query instruction carrying the data packet sequence number of the next polling cycle at the same polling interval of the next polling cycle of the network device. After step 106, the data collection method executes step 103 again until the data packet query result does not carry the packet number of the next polling cycle.
  • the packet sequence number carried in the data packet query command needs to be determined in advance.
  • the sequence number of the data packet is determined as the sequence number of the data packet sent by the last query of the same network device plus one.
  • the network device will not feedback the data packet when receiving the data packet query command, which increases the signaling overhead. Therefore, in this embodiment, after the network device receives the data packet query instruction and determines the data packet for this query, the data collection method may determine whether there is an unobtained data packet.
  • the network device adds the data packet sequence number of the next polling cycle to the data packet query result, that is, the data packet sequence number that should be queried next time, so that the subject of the method can determine that the network device also There are subsequent packets.
  • the packet sequence number in the next polling cycle is the next packet sequence number corresponding to the packet sequence number carried in the data packet query instruction, and the next packet sequence number is also the packet sequence number carried in the data packet query instruction plus 1.
  • the network configuration information in step 101 may further include: the number of data subcontracting query retries.
  • the data collection method may further include:
  • Step 107 If obtaining the data subcontracting query result fails or detecting that the data subcontracting query result carries an incorrect data packet, resend the data subcontracting query instruction until the acquired data subcontracting query result. The number of data packets carried without error or the number of retransmissions exceeds the number of data packet query retry attempts.
  • the data packet query instruction is re-sent at the same polling interval until the acquired data packet query result is correct or the number of retransmissions exceeds the number of data packet query retry times.
  • the network configuration information in step 101 may further include: a data collection time range.
  • the network configuration information may further include a data collection time range. Data collection is performed within the data collection time range, and data collection is stopped outside the data collection time range.
  • the data collection method may further include:
  • Step 107 ' Determine whether the sending time is within the data collection time range; if yes, perform the step of sending the data packet query instruction in step 102; otherwise, do not perform the sending of the data packet query in step 102 Instruction steps, the data acquisition process is terminated.
  • the sending time is the sending time of the polling and sending data packet query instruction in step 102.
  • time range for data collection can be determined according to the actual application scenario, for example, 9 AM to 9 PM can be selected as the data collection time range. This embodiment does not limit the specific value of the data collection time range.
  • the data collection method may further include the following steps:
  • Step 108 Store data of each network device.
  • Step 109 When receiving the data acquisition instruction, extract the device address carried in the data acquisition instruction.
  • Step 110 Send data of the network device corresponding to the device address in response to the data acquisition instruction.
  • the data acquisition instruction may be issued by other network devices in the Zigbee network or by a non-Zigbee network device or a host computer that is communicatively connected with the method execution subject.
  • step 110 is specifically: in response to the data acquisition instruction, searching for data of a network device corresponding to the device address from data of all network devices stored, and sending data of the network device corresponding to the device address.
  • the data collection method may further include the following steps:
  • Step 111 When receiving a data deletion instruction, extract a device address carried in the data deletion instruction;
  • Step 112 Delete the data of the network device corresponding to the device address in response to the data deletion instruction.
  • an embodiment of the present disclosure further provides a data acquisition device, corresponding to the data acquisition method shown in FIG.
  • the data acquisition device may include the following units: a first acquisition unit 21, a polling unit 22, a second acquisition unit 23, and an integration unit 24.
  • the first obtaining unit 21 is configured to obtain network configuration information, where the network configuration information includes a polling interval and a device address of at least one network device.
  • the polling unit 22 is configured to poll the network devices corresponding to all device addresses according to the polling interval and send a data packet query instruction, where the data packet query instruction carries the current polling interval. Device address and packet number.
  • the second obtaining unit 23 is configured to obtain a data packet query result sent by each network device in response to a data packet query query of a different polling interval, wherein the data packet query result carries a current polling interval A data packet sequence number and a data packet corresponding to the data packet sequence number.
  • the integration unit 24 is configured to integrate all data packets of each network device according to the data packet sequence number to obtain data of each network device.
  • the data acquisition device may further include the following unit: a first judging unit 25 configured to judge a data packet query result obtained by the second acquiring unit 23 Whether the data packet sequence number of the next polling period is carried, and if not, it is determined that all data packets of the network device sending the data packet query result have been obtained. Therefore, the first determining unit 25 is further configured to determine whether all data packets of each network device have been acquired.
  • the polling unit 22 is further configured to, after the first judging unit 25 determines that all data packets of each network device have not been acquired, according to the polling interval, to the network devices corresponding to all device addresses, After sending a data packet query instruction by polling, and after the first judging unit 25 determines that the data packet query result carries the data packet sequence number of the next polling cycle, the next The data packet query instruction for the packet number of the next polling cycle is described.
  • the integration unit 24 is further configured to determine that all the data packets of each network device have been acquired at the first determining unit 25, and then integrate all the data packets of each network device according to the packet sequence number to obtain Data for each network device.
  • the data acquisition device shown in FIG. 2b corresponds to the data acquisition method shown in FIG. 5, and details are not described herein again.
  • the network configuration information further includes: the number of data subcontracting query retries. Accordingly, as shown in FIG. 2c, the data acquisition device may further include:
  • the processing unit 26 is configured to resend the data acquisition query result after the second obtaining unit 23 fails or after the processing unit 26 detects that the data packet query result contains an error
  • the data packet query instruction is performed until the data packet query result obtained by the second obtaining unit 23 carries an error-free data packet or the number of retransmissions exceeds the data packet query query retries.
  • the data acquisition device shown in FIG. 2c corresponds to the data acquisition method shown in FIG. 6, and details are not described herein again.
  • the data acquisition device may further include a storage unit 27, an extraction unit 28, and a response unit 29.
  • the storage unit 27 is configured to store data of each network device after the integration unit 24 obtains data of each network device.
  • the extraction unit 28 is configured to extract a device address carried in the data acquisition instruction when the data acquisition instruction is received.
  • the response unit 29 is configured to send data of a network device corresponding to the device address in response to the data acquisition instruction.
  • the data acquisition device shown in FIG. 2d corresponds to the data acquisition method shown in FIG. 8, and details are not described herein again.
  • the network configuration information further includes: a data collection time range.
  • the data acquisition device may further include:
  • the second determining unit 30 is configured to determine whether the sending time is within the data collection time range before the polling unit 22 sends the data packet query instruction.
  • the polling unit 22 is further configured to send the data packet query instruction after the second determining unit 30 determines that the sending time is within the data collection time range.
  • the data acquisition device shown in FIG. 2e corresponds to the data acquisition method shown in FIG. 7, and details are not described herein again.
  • an embodiment of the present disclosure further provides a data sending method, which is applied to a network device.
  • the method may include the following steps:
  • Step 301 Obtain a data packet query instruction, where the data packet query instruction carries a device address and a data packet sequence number of a current polling interval;
  • Step 302 Verify the device address.
  • Step 303 If the verification succeeds, extract a data packet sequence number carried in the data packet query instruction.
  • Step 304 Send a data packet query result in response to the data packet query query instruction.
  • the data packet query result carries a data packet sequence number of a current polling interval and a data packet corresponding to the data packet sequence number. .
  • the data sending method may further include the following steps:
  • the data packet query result sent in step 304 is the data packet query result in which the packet number of the next polling cycle is added in step 306.
  • the data sending method disclosed in the above embodiments is a method corresponding to the data collection methods disclosed in the embodiments.
  • the effects and description of the embodiments please refer to the embodiments of the first aspect. In order to avoid repetition, it is not repeated here. To repeat.
  • an embodiment of the present disclosure further provides a network device, including:
  • the obtaining unit 41 is configured to obtain a data packet query instruction, wherein the data packet query instruction carries a device address and a data packet sequence number of a current polling interval;
  • a verification unit 42 configured to verify the device address
  • the extraction unit 43 is configured to extract the packet sequence number carried in the data packet query instruction after the verification unit 42 passes the verification;
  • the sending unit 44 is configured to send a data packet query result in response to the data packet query instruction, wherein the data packet query result carries a data packet sequence number of a current polling interval and a sequence number corresponding to the data packet sequence number. Corresponding data packet.
  • the network device shown in FIG. 4a corresponds to the data sending method shown in FIG. 3, and details are not described herein again.
  • the network device further includes a first determining unit 45 and an adding unit 46.
  • the first determining unit 45 is configured to determine whether there is a non-feedback data packet after the extraction unit 43 extracts a data packet sequence number carried in the data packet query instruction;
  • the adding unit 46 is configured to add a data packet sequence number of a next polling period to the data packet query result after the first determining unit 45 determines that there is an unfeedback data packet, wherein the next The data packet sequence number in the polling cycle is the next data packet sequence number corresponding to the data packet sequence number carried in the data packet query instruction.
  • the network device shown in FIG. 4b corresponds to the data sending method shown in FIG. 10, and details are not described herein again.
  • An embodiment of the present disclosure further provides a data acquisition device, including a processor and a memory.
  • the memory stores at least one executable instruction, and the executable instruction is loaded and executed by the processor to implement any of the foregoing. An operation performed by a data collection method.
  • Another embodiment of the present disclosure also provides a data sending device, including a processor and a memory.
  • the memory stores at least one executable instruction, and the executable instruction is loaded and executed by the processor to implement the foregoing. The operation performed by any of the data sending methods.
  • the executable instructions mentioned above may be executed in an operating environment of an embedded Linux system, for example.
  • the processor may include a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), Programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, or multiple integrated circuits for controlling program execution.
  • CPU general-purpose central processing unit
  • ASIC application-specific integrated circuit
  • DSP digital signal processor
  • DSPD digital signal processing device
  • PLD Programmable logic device
  • FPGA field programmable gate array
  • controller microcontroller, or multiple integrated circuits for controlling program execution.
  • Memory may include read-only memory (Read-Only Memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (Random, Access Memory, RAM) or other types of information that can store information and instructions
  • Dynamic storage devices can also include electrically erasable and programmable read-only memory (EEPROM-Ready-Only Memory (EEPROM)), compact discs (Compact Disc-Read-Only Memory (CD-ROM)) or other compact disc storage, optical disc storage (CD-ROM) (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be stored by a computer Any other media, but not limited to this.
  • the memory can be set independently or integrated with the processor.
  • An embodiment of the present disclosure provides a computer-readable storage medium, where the storage medium stores at least one executable instruction, and the executable data is implemented by the processor when the executable instruction is loaded and executed.
  • An embodiment of the present disclosure provides another computer-readable storage medium.
  • the storage medium stores at least one executable instruction, and the executable instruction implements the foregoing data sending method when the executable instruction is loaded and executed by a processor.
  • Computer-readable storage media may include read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (Random Access Memory, RAM), or can store information and instructions
  • ROM read-only memory
  • RAM random access memory
  • Other types of dynamic storage devices can also include electrically erasable programmable read-only memory (Electrically Programmable Read-Only Memory (EEPROM)), Compact Disc (Read-Only Memory, CD-ROM) or other optical disk storage ,
  • Optical disc storage including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.
  • magnetic disk storage media or other magnetic storage devices or can be used to carry or store the desired program code in the form of instructions or data structures and Any other medium that can be accessed by a computer, but is not limited to this.
  • the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof.
  • the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSP), digital signal processing equipment (DSPD), programmable Logic device (Programmable Logic Device, PLD), Field-Programmable Gate Array (FPGA), general-purpose processor, controller, microcontroller, microprocessor, other for performing the functions described in this application Electronic unit or combination thereof.
  • ASICs application-specific integrated circuits
  • DSP digital signal processors
  • DSPD digital signal processing equipment
  • PLD programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • controller microcontroller
  • microprocessor other for performing the functions described in this application Electronic unit or combination thereof.
  • the techniques described herein can be implemented by units that perform the functions described herein.
  • Software codes may be stored in a memory and executed by a processor.
  • the memory may be implemented in the processor or external to the processor.
  • the device embodiment is only schematic.
  • the division of the unit is only a logical function division. In actual implementation, there can be another division. For example, multiple units can be combined or integrated into another system, or some features can be ignored. , Or not implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本公开涉及一种数据采集方法、数据发送方法、数据采集设备及网络设备。数据采集方法包括:获取网络配置信息;按照轮询间隔,向所有网络设备轮询发送数据分包查询指令,数据分包查询指令中携带有当前轮询间隔的数据包序号;获取每个网络设备发送的与数据包序号对应的数据包;以及按照数据包序号,整合每个网络设备的所有数据包,得到每个网络设备的数据。

Description

数据采集方法、数据发送方法、数据采集设备及网络设备 技术领域
本公开实施例涉及但不限于通信技术领域,尤其是一种数据采集方法、数据发送方法、数据采集设备及网络设备。
背景技术
随着经济发展,城市规模在不断扩大,物联网技术快速发展且备受关注。物联网所使用的通信技术有多种,其中包括近距离无线通信技术,近距离无线通信网络中网络设备之间互相通信,网络设备可能需要其他网络设备中转数据,从而带来通信不稳定和受外界干扰的问题。
发明内容
本公开的至少一个实施例提供了一种数据采集方法、数据发送方法、数据采集设备及网络设备。以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
第一方面,本公开实施例提出一种数据采集方法,包括:步骤101:获取网络配置信息,其中,所述网络配置信息包括:轮询间隔和至少一个网络设备的设备地址;步骤102:按照所述轮询间隔,向所有设备地址对应的网络设备,轮询发送数据分包查询指令,其中,所述数据分包查询指令中携带有当前轮询间隔的设备地址和数据包序号;步骤103:获取每个网络设备响应不同轮询间隔的数据分包查询指令而发送的数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包;以及步骤104:按照数据包序号,整合每个网络设备的所有数据包,得到每个网络设备的数据。
可选的,在步骤3之后,所述方法还包括:步骤105:判断所述数据分包查询结果中是否携带有下一轮询周期的数据包序号;若是,则执行步骤106;若否,则判断每个网络设备的所有数据包是否均已获 取,其中,若每个网络设备的所有数据包均已获取,则执行步骤104;若每个网络设备的所有数据包没有获取,则返回步骤102,直至每个网络设备的所有数据包均已获取;以及步骤106:在下一轮询周期时,发送携带所述下一轮询周期的数据包序号的数据分包查询指令。在步骤106后,所述方法还包括:重新执行步骤3,直至所述数据分包查询结果中没有携带有下一轮询周期的数据包序号。
可选的,所述网络配置信息还包括:数据分包查询重试次数;并且在所述步骤103和步骤104之间,所述方法还包括:步骤7:若获取所述数据分包查询结果失败或检测到所述数据分包查询结果中携带有误的数据包,则重新发送所述数据分包查询指令,直至获取的数据分包查询结果中携带无误的数据包或者重新发送次数超出所述数据分包查询重试次数。
可选的,所述网络配置信息还包括:数据采集时间范围;并且在所述步骤101和步骤102之间还包括:判断发送时刻是否处于所述数据采集时间范围,若是,则执行所述发送所述数据分包查询指令的步骤。
可选的,所述步骤104之后,所述方法还包括如下步骤:存储每个网络设备的数据;在接收到数据获取指令时,提取所述数据获取指令中携带的设备地址;以及响应所述数据获取指令而发送所述设备地址对应的网络设备的数据。
第二方面,本公开实施例还提出一种数据采集设备,包括:第一获取单元,被配置为获取网络配置信息,其中,所述网络配置信息包括:轮询间隔和至少一个网络设备的设备地址;轮询单元,被配置为按照所述轮询间隔,向所有设备地址对应的网络设备,轮询发送数据分包查询指令,其中,所述数据分包查询指令中携带有当前轮询间隔的设备地址和数据包序号;第二获取单元,被配置为获取每个网络设备响应不同轮询间隔的数据分包查询指令而发送的数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包;以及整合单元,被配置为按照数据包序号,整合每个网络设备的所有数据包,得到每个网络设备的数 据。
可选的,所述数据采集设备还包括:第一判断单元,被配置为判断所述第二获取单元获取的数据分包查询结果中是否携带有下一轮询周期的数据包序号,若否,则所述第一判断单元判断每个网络设备的所有数据包是否均已获取。所述轮询单元进一步被配置为在所述第一判断单元判定每个网络设备的所有数据包没有获取之后,按照所述轮询间隔,向所有设备地址对应的网络设备,轮询发送数据分包查询指令,以及在所述第一判断单元判定所述数据分包查询结果中携带有下一轮询周期的数据包序号后,在下一轮询周期时,发送携带所述下一轮询周期的数据包序号的数据分包查询指令;并且所述整合单元进一步被配置为在所述第一判断单元判定每个网络设备的所有数据包均已获取,则按照数据包序号,整合每个网络设备的所有数据包,得到每个网络设备的数据。
可选的,所述网络配置信息还包括:数据分包查询重试次数;并且所述数据采集设备还包括:处理单元,被配置为所述第二获取单元获取所述数据分包查询结果失败后或所述处理单元检测到所述数据分包查询结果中携带有误的数据包后,重新发送所述数据分包查询指令,直至所述第二获取单元获取的数据分包查询结果中携带无误的数据包或者重新发送次数超出所述数据分包查询重试次数。
可选的,所述网络配置信息还包括:数据采集时间范围;并且所述数据采集设备还包括:第二判断单元,被配置为在所述轮询单元发送所述数据分包查询指令之前,判断发送时刻是否处于所述数据采集时间范围。所述轮询单元进一步被配置为在所述第二判断单元判定发送时刻处于所述数据采集时间范围后,发送所述数据分包查询指令。
可选的,所述数据采集设备还包括:存储单元,被配置为在所述整合单元得到每个网络设备的数据之后,存储每个网络设备的数据;提取单元,被配置为在接收到数据获取指令时,提取所述数据获取指令中携带的设备地址;以及响应单元,被配置为响应所述数据获取指令而发送所述设备地址对应的网络设备的数据。
第三方面,本公开实施例还提出一种数据发送方法,应用于网络 设备,包括:
步骤301:获取数据分包查询指令,其中,所述数据分包查询指令中携带有当前轮询间隔的设备地址和数据包序号;步骤302:对所述设备地址进行验证;步骤303:若验证通过,则提取所述数据分包查询指令中携带的数据包序号;以及步骤304:响应所述数据分包查询指令而发送数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包。
可选的,在所述步骤303与所述步骤304之间,所述方法还包括:步骤305:判断是否存在未反馈的数据包;以及步骤306:若存在未反馈的数据包,则在所述数据分包查询结果中增加下一轮询周期的数据包序号,其中,所述下一轮询周期的数据包序号为所述数据分包查询指令中携带的数据包序号对应的下一个数据包序号。
第四方面,本公开实施例还提出一种网络设备,包括:获取单元,被配置为获取数据分包查询指令,其中,所述数据分包查询指令中携带有当前轮询间隔的设备地址和数据包序号;验证单元,被配置为对所述设备地址进行验证;提取单元,被配置为所述验证单元验证通过后,提取所述数据分包查询指令中携带的数据包序号;以及发送单元,被配置为响应所述数据分包查询指令而发送数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包。
可选的,所述网络设备还包括:第一判断单元,被配置为在所述提取单元提取所述数据分包查询指令中携带的数据包序号之后,判断是否存在未反馈的数据包;以及增加单元,被配置为在所述第一判断单元判定存在未反馈的数据包后,在所述数据分包查询结果中增加下一轮询周期的数据包序号,其中,所述下一轮询周期的数据包序号为所述数据分包查询指令中携带的数据包序号对应的下一个数据包序号。
第五方面,本公开实施例提供了一种数据采集设备,包括处理器和存储器,所述存储器中存储有至少一条可执行指令,所述可执行指令由所述处理器加载并执行以实现上述的数据采集方法。
第六方面,本公开实施例提供一种计算机可读存储介质,所述存 储介质存储有至少一条可执行指令,所述可执行指令由处理器加载并执行时实现上述的数据采集方法。
第七方面,本公开实施例提供了一种数据采集设备,包括处理器和存储器,所述存储器中存储有至少一条可执行指令,所述可执行指令由所述处理器加载并执行以实现上述的数据发送方法。
第八方面,本公开实施例提供另一种计算机可读存储介质,所述存储介质存储有至少一条可执行指令,所述可执行指令由处理器加载并执行时实现上述的数据发送方法。
本公开的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得清楚明白,或者通过实施本公开而了解。本公开的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图说明
为了更清楚地说明本公开实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种数据采集方法的流程图;
图2a为本公开实施例提供的一种数据采集设备的结构框图;
图2b为本公开实施例提供的另一种数据采集设备的结构框图;
图2c为本公开实施例提供的又一种数据采集设备的结构框图;
图2d为本公开实施例提供的又一种数据采集设备的结构框图;
图2e为本公开实施例提供的又一种数据采集设备的结构框图;
图3为本公开实施例提供的一种数据发送方法的流程图;
图4a为本公开实施例提供的一种网络设备的结构框图;
图4b为本公开实施例提供的另一种网络设备的结构框图;
图5为本公开实施例提供的另一种数据采集方法的流程图;
图6为本公开实施例提供的又一种数据采集方法的流程图;
图7为本公开实施例提供的又一种数据采集方法的流程图;
图8为本公开实施例提供的又一种数据采集方法的流程图;
图9为本公开实施例提供的又一种数据采集方法的流程图;
图10为本公开实施例提供的另一种数据发送方法的流程图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
如图1所示,本公开实施例公开一种数据采集方法,该方法可包括以下步骤:
步骤101、获取网络配置信息,其中,所述网络配置信息包括:轮询间隔和至少一个网络设备的设备地址。
本实施例中,该方法的执行主体可以是数据采集设备,该数据采集设备可应用于Zigbee网络或其他非Zigbee网络的近距离无线通信技术。以Zigbee网络为例,网络设备为Zigbee设备,也即Zigbee网络中的可进行Zigbee通信的设备。
本实施例中,网络配置信息可以是由人工配置的信息。具体地,可以通过确定Zigbee网络的规模,也即Zigbee网络中包括的网络设备的个数,获取每个网络设备的设备地址。
本实施例中,设备地址采用4字节的IEEE地址,IEEE地址在网络设备进入网络之前预先分配且全球唯一。
本实施例中,设备地址也可采用网络地址。网络地址是在Zigbee网络建立后,网络设备加入Zigbee网络时,父节点分配的地址。在网络设备通信时,首先由IEEE地址确定网络设备的网络地址,然后根据网络地址实现网络设备之间的通信。
本实施例中,网络配置信息还可包括:ZigBee信道、单播通道、 广播通道等Zigbee网络参数信息。
本公开实施例中,网络配置信息增加轮询间隔,轮询间隔是时间间隔,使得该方法的执行主体可通过轮询方式实现与网络设备之间主从式单向通信,也即只有在该方法的执行主体轮询到网络设备,网络设备才反馈数据包,因此,该方法的执行主体能够有序直接获取到各网络设备的数据,可提高通信稳定性,减少外界干扰。
步骤102、按照所述轮询间隔,向所有设备地址对应的网络设备,轮询发送数据分包查询指令,其中,所述数据分包查询指令中携带有当前轮询间隔的设备地址和数据包序号。
本实施例中,同一网络设备两次被轮询所用的时长称为轮询周期,轮询周期根据要发送数据包的网络设备的个数以及网络配置信息中的轮询间隔来确定。
本实施例中,由于每个轮询间隔仅针对一个网络设备进行数据包查询,因此,数据分包查询指令中携带有当前轮询间隔的设备地址和数据包序号。其中,该设备地址为该数据分包查询指令所需查询的网络设备的地址,该数据包序号为该数据分包查询指令所需查询的数据包的序号。
本实施例中,若本次数据包查询为首次查询,数据包序号默认为1。也即网络设备的数据分为多个数据包后,按分割顺序排列的第一个数据包。若本次数据包查询非首次查询,数据分包查询指令中携带的数据包序号需要预先进行确定。本公开实施例中,可以将数据包序号确定为上一次查询同一网络设备时发送的数据包序号加1。例如,若本次数据包查询为第二次查询,数据包序号则为2。也即按分割顺序排列的第二个数据包。
本实施例中,网络设备的数据分为多个数据包,各数据包对应不同的数据包序号,数据包序号表示数据包的分割顺序。将数据分为多个数据包所采用的数据划分方式可以有多种。每个轮询间隔内数据分包查询指令仅查询一个网络设备的一个数据包。因此,能够及时发现错误数据包,并仅针对错误的数据包进行重新查询,无需重新传输整个数据,提高数据传输效率。
本实施例中,数据分包查询指令还可携带指令功能码和该方法的执行主体的设备地址,该指令功能码可使网络设备确定接收到的指令为数据分包查询指令,该方法的执行主体的设备地址可使网络设备确定数据分包查询指令是由该方法的执行主体所发出。
步骤103、获取每个网络设备响应不同轮询间隔的数据分包查询指令而发送的数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包。
本实施例中,由于每个轮询间隔内数据分包查询指令仅查询一个网络设备的一个数据包,因此,每个网络设备所响应的数据分包查询指令是在不同轮询间隔的数据分包查询指令。针对一个轮询间隔,数据分包查询指令所查询的网络设备将数据分包查询指令中的数据包序号对应的数据包发送给该方法的执行主体,同时也将数据分包查询指令中的数据包序号发送给该方法的执行主体,以使该方法的执行主体确定接收到的数据包所对应的数据包序号。
本实施例中,数据分包查询结果中还可携带该方法的执行主体的设备地址和回应指令码,以使该方法的执行主体确定接收到的是数据分包查询结果,进而可提取出数据分包查询结果中携带的数据包序号以及该数据包序号对应的数据包。
步骤104、按照数据包序号,整合每个网络设备的所有数据包,得到每个网络设备的数据。
本实施例中,可按照数据分包查询结果中携带的数据包序号整合数据包。
本实施例中,将网络设备的所有数据包中的有用数据按照数据包序号进行整合,去除数据包中的无用数据,如去除数据包的包头数据等,从而得到网络设备的数据。
本公开实施例提供的数据采集方法,通过轮询方式实现与网络设备之间主从式单向通信,能够有序直接获取到各网络设备的数据,可提高通信稳定性,减少外界干扰。
进一步地,本公开实施例提供的数据采集方法,通过数据分包技术,将网络设备的数据分为多个数据包,其中,各数据包对应不同的 数据包序号,每个轮询间隔内数据分包查询指令仅查询一个网络设备的一个数据包。因此,本公开实施例提供的数据采集方法能及时发现错误数据包,提高数据传输效率。
在一个具体的实施例中,如图5所示,在步骤103之后,所述数据采集方法还可包括以下步骤:
步骤105、判断所述数据分包查询结果中是否携带有下一轮询周期的数据包序号;若是,则执行步骤106;若否,则确定发送该数据分包查询结果的网络设备的所有数据包均已获取,并执行步骤105’。
步骤105’、判断每个网络设备的所有数据包是否均已获取,若每个网络设备的所有数据包均已获取,则执行步骤104;若每个网络设备的所有数据包没有获取,则返回步骤102直至每个网络设备的所有数据包均已获取。
步骤106、在下一轮询周期时,发送携带所述下一轮询周期的数据包序号的数据分包查询指令。
本实施例中,步骤106具体包括:在该网络设备的下一轮询周期的同一轮询间隔时,发送携带所述下一轮询周期的数据包序号的数据分包查询指令。步骤106后,所述数据采集方法重新执行步骤103直至所述数据分包查询结果中没有携带有下一轮询周期的数据包序号。
本实施例中,若本次数据包查询为非首次查询,数据分包查询指令中携带的数据包序号需要预先进行确定。如上文所述,将数据包序号确定为上一次查询同一网络设备时发送的数据包序号加1。但若该网络设备已经发送完所有数据包,则该网络设备在接收到数据分包查询指令,也不会反馈数据包,增加了信令开销。因此,本实施例中,网络设备在接收到数据分包查询指令并确定本次查询的数据包之后,所述数据采集方法可判断是否存在未获取的数据包。若存在,则网络设备在所述数据分包查询结果中增加下一轮询周期的数据包序号,也即下一次应当查询的数据包序号,以使该方法的执行主体能够确定该网络设备还有后续数据包。下一轮询周期的数据包序号为所述数据分包查询指令中携带的数据包序号对应的下一个数据包序号,下一个数据 包序号也即数据分包查询指令中携带的数据包序号加1。
在一个具体的实施例中,步骤101中所述网络配置信息还可包括:数据分包查询重试次数。
相应地,如图6所示,在步骤103和步骤104之间,所述数据采集方法还可包括:
步骤107、若获取所述数据分包查询结果失败或检测到所述数据分包查询结果中携带有误的数据包,则重新发送所述数据分包查询指令,直至获取的数据分包查询结果中携带无误的数据包或者重新发送次数超出所述数据分包查询重试次数。
本实施例中,在同一轮询间隔重新发送所述数据分包查询指令,直至获取的数据分包查询结果中携带的数据包无误或者重新发送次数超出所述数据分包查询重试次数。
在一个具体的实施例中,步骤101中所述网络配置信息还可包括:数据采集时间范围。
本实施例中,考虑到网络在不同时间范围所产生的数据量不同。若在闲时仍然进行数据采集,由于闲时数据量少,会浪费软硬件资源。因此,为了节约软硬件资源,同时提高数据采集效率,本实施例中,网络配置信息还可包括:数据采集时间范围。在数据采集时间范围内进行数据采集,在数据采集时间范围外停止数据采集。
相应地,如图7所示,在步骤101和步骤102之间,所述数据采集方法还可包括:
步骤107’、判断发送时刻是否处于所述数据采集时间范围;若是,则执行步骤102所述发送所述数据分包查询指令的步骤;否则,不执行步骤102所述发送所述数据分包查询指令的步骤,数据采集流程终止。所述发送时刻为步骤102中所述轮询发送数据分包查询指令的发送时刻。
需要说明的是,数据采集时间范围可根据实际的应用场景确定,例如可选择白天9点至晚上9点作为数据采集时间范围。本实施例不 限定数据采集时间范围的具体取值。
在一个具体的实施例中,如图8所示,在步骤104之后,所述数据采集方法还可包括如下步骤:
步骤108、存储每个网络设备的数据;
步骤109、在接收到数据获取指令时,提取所述数据获取指令中携带的设备地址;以及
步骤110、响应所述数据获取指令而发送所述设备地址对应的网络设备的数据。
本实施例中,数据获取指令时可由Zigbee网络中其他网络设备发出或者由非Zigbee网络的与该方法的执行主体通信连接的设备或者上位机发出。
本实施例中,步骤110具体为:响应所述数据获取指令从存储的所有网络设备的数据中查找所述设备地址对应的网络设备的数据,并发送所述设备地址对应的网络设备的数据。
在一个具体的实施例中,如图9所示,在步骤104之后,所述数据采集方法还可包括如下步骤:
步骤111、在接收到数据删除指令时,提取所述数据删除指令中携带的设备地址;以及
步骤112、响应所述数据删除指令而删除所述设备地址对应的网络设备的数据。
如图2a所示,本公开实施例还提出一种数据采集设备,对应图1所示的数据采集方法。该数据采集设备可包括以下单元:第一获取单元21、轮询单元22、第二获取单元23以及整合单元24。
第一获取单元21,被配置为获取网络配置信息,其中,所述网络配置信息包括:轮询间隔和至少一个网络设备的设备地址。
轮询单元22,被配置为按照所述轮询间隔,向所有设备地址对应的网络设备,轮询发送数据分包查询指令,其中,所述数据分包查询 指令中携带有当前轮询间隔的设备地址和数据包序号。
第二获取单元23,被配置为获取每个网络设备响应不同轮询间隔的数据分包查询指令而发送的数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包。
整合单元24,被配置为按照数据包序号,整合每个网络设备的所有数据包,得到每个网络设备的数据。
在一个具体的实施例中,如图2b所示,所述数据采集设备还可包括如下单元:第一判断单元25,被配置为判断所述第二获取单元23获取的数据分包查询结果中是否携带有下一轮询周期的数据包序号,若否,则确定发送该数据分包查询结果的网络设备的所有数据包均已获取。因此,第一判断单元25进一步被配置为判断每个网络设备的所有数据包是否均已获取。
相应地,所述轮询单元22进一步被配置为在所述第一判断单元25判定每个网络设备的所有数据包没有获取之后,按照所述轮询间隔,向所有设备地址对应的网络设备,轮询发送数据分包查询指令,以及在所述第一判断单元25判定所述数据分包查询结果中携带有下一轮询周期的数据包序号后,在下一轮询周期时,发送携带所述下一轮询周期的数据包序号的数据分包查询指令。
相应地,所述整合单元24进一步被配置为在所述第一判断单元25判定每个网络设备的所有数据包均已获取,则按照数据包序号,整合每个网络设备的所有数据包,得到每个网络设备的数据。
图2b所示的数据采集设备对应图5所示的数据采集方法,在此不再赘述。
在一个具体的实施例中,所述网络配置信息还包括:数据分包查询重试次数。相应地,如图2c所示,所述数据采集设备还可包括:
处理单元26,被配置为所述第二获取单元23获取所述数据分包查询结果失败后或所述处理单元26检测到所述数据分包查询结果中携 带有误的数据包后,重新发送所述数据分包查询指令,直至所述第二获取单元23获取的数据分包查询结果中携带无误的数据包或者重新发送次数超出所述数据分包查询重试次数。
图2c所示的数据采集设备对应图6所示的数据采集方法,在此不再赘述。
在一个具体的实施例中,如图2d所示,所述数据采集设备还可包括:存储单元27、提取单元28和响应单元29。
存储单元27,被配置为在所述整合单元24得到每个网络设备的数据之后,存储每个网络设备的数据。
提取单元28,被配置为在接收到数据获取指令时,提取所述数据获取指令中携带的设备地址。
响应单元29,被配置为响应所述数据获取指令而发送所述设备地址对应的网络设备的数据。
图2d所示的数据采集设备对应图8所示的数据采集方法,在此不再赘述。
在一个具体的例子中,所述网络配置信息还包括:数据采集时间范围。相应地,如图2e所示,所述数据采集设备还可包括:
第二判断单元30,被配置为在所述轮询单元22发送所述数据分包查询指令之前,判断发送时刻是否处于所述数据采集时间范围。
相应地,所述轮询单元22进一步被配置为在所述第二判断单元30判定发送时刻处于所述数据采集时间范围后,发送所述数据分包查询指令。
图2e所示的数据采集设备对应图7所示的数据采集方法,在此不再赘述。
如图3所示,本公开实施例还提出一种数据发送方法,应用于网络设备,该方法可包括以下步骤:
步骤301、获取数据分包查询指令,其中,所述数据分包查询指 令中携带有当前轮询间隔的设备地址和数据包序号;
步骤302、对所述设备地址进行验证;
步骤303、若验证通过,则提取所述数据分包查询指令中携带的数据包序号;以及
步骤304、响应所述数据分包查询指令而发送数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包。
在一个具体的实施例中,如图10所示,在步骤303与所述步骤304之间,所述数据发送方法还可包括如下步骤:
305、判断是否存在未反馈的数据包;以及
306、若存在未反馈的数据包,则在数据分包查询结果中增加下一轮询周期的数据包序号,其中,所述下一轮询周期的数据包序号为所述数据分包查询指令中携带的数据包序号对应的下一个数据包序号。
本实施中,步骤304发送的数据分包查询结果为步骤306中增加下一轮询周期的数据包序号的数据分包查询结果。
以上实施例公开的数据发送方法是与各实施例公开的数据采集方法相对应配合的方法,所能实现的效果和实施例描述可参考第一方面各实施例,为避免重复,在此不再赘述。
如图4a所示,本公开实施例还提出一种网络设备,包括:
获取单元41,被配置为获取数据分包查询指令,其中,所述数据分包查询指令中携带有当前轮询间隔的设备地址和数据包序号;
验证单元42,被配置为对所述设备地址进行验证;
提取单元43,被配置为所述验证单元42验证通过后,提取所述数据分包查询指令中携带的数据包序号;以及
发送单元44,被配置为响应所述数据分包查询指令而发送数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包。
图4a所示的网络设备对应图3所示的数据发送方法,在此不再赘述。
在一个具体的实施例中,如图4b所示,所述网络设备还包括:第一判断单元45和增加单元46。
第一判断单元45,被配置为在所述提取单元43提取所述数据分包查询指令中携带的数据包序号之后,判断是否存在未反馈的数据包;
增加单元46,被配置为在所述第一判断单元45判定存在未反馈的数据包后,在所述数据分包查询结果中增加下一轮询周期的数据包序号,其中,所述下一轮询周期的数据包序号为所述数据分包查询指令中携带的数据包序号对应的下一个数据包序号。
图4b所示的网络设备对应图10所示的数据发送方法,在此不再赘述。
本公开的一实施例还提供了一种数据采集设备,包括处理器和存储器,所述存储器中存储有至少一条可执行指令,所述可执行指令由所述处理器加载并执行以实现上述任意一种数据采集方法所执行的操作。
本公开的另一实施例还提供了一种数据发送设备,包括处理器和存储器,所述存储器中存储有至少一条可执行指令,所述可执行指令由所述处理器加载并执行以实现上述任意一种数据发送方法所执行的操作。
其中上述的这些可执行指令例如可在嵌入式Linux系统的操作环境中执行。其中,所述处理器可以包括通用中央处理器(CPU),微处理器,特定应用集成电路(Application-Specific Integrated Circuit,ASIC),数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器,或者多个用于控制程序执行的集成电路。存储器可以包括只读存储器(Read-Only Memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(Random Access Memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以包括电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only  Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立设置的,也可以和处理器集成在一起。
本公开实施例提供一种计算机可读存储介质,所述存储介质存储有至少一条可执行指令,所述可执行指令由处理器加载并执行时实现上述的数据采集方法。
本公开实施例提供另一种计算机可读存储介质,所述存储介质存储有至少一条可执行指令,所述可执行指令由处理器加载并执行时实现上述的数据发送方法。
计算机可读存储介质可以包括只读存储器(Read-Only Memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(Random Access Memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以包括电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。
对于软件实现,可通过执行本文所述功能的单元来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及方法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。
可以理解的是,方法实施例的步骤之间除非存在明确的先后顺序,否则执行顺序可任意调整。装置实施例仅仅是示意性的,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。
需要说明的是,在本文中,术语“包括”意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。
以上仅为本公开的优选实施例,并非因此限制本公开的专利范围,凡是利用本公开说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本公开的专利保护范围内。

Claims (18)

  1. 一种数据采集方法,包括:
    获取网络配置信息,其中,所述网络配置信息包括:轮询间隔和至少一个网络设备的设备地址;
    按照所述轮询间隔,向所有设备地址对应的网络设备,轮询发送数据分包查询指令,其中,所述数据分包查询指令中携带有当前轮询间隔的设备地址和数据包序号;
    获取每个网络设备响应不同轮询间隔的数据分包查询指令而发送的数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包;以及
    按照数据包序号,整合每个网络设备的所有数据包,得到每个网络设备的数据。
  2. 根据权利要求1所述的方法,其中,在获取每个网络设备响应不同轮询间隔的数据分包查询指令而发送的数据分包查询结果之后,所述方法还包括:
    判断所述数据分包查询结果中是否携带有下一轮询周期的数据包序号;若是,则在下一轮询周期时,发送携带所述下一轮询周期的数据包序号的数据分包查询指令;若否,则判断每个网络设备的所有数据包是否均已获取,其中,若每个网络设备的所有数据包均已获取,则执行按照数据包序号,整合每个网络设备的所有数据包,得到每个网络设备的数据的步骤;若每个网络设备的所有数据包没有获取,则返回按照所述轮询间隔,向所有设备地址对应的网络设备,轮询发送数据分包查询指令的步骤,直至每个网络设备的所有数据包均已获取;并且
    在发送携带所述下一轮询周期的数据包序号的数据分包查询指令的步骤之后,所述方法还包括:重新执行按照所述轮询间隔,向所有设备地址对应的网络设备,轮询发送数据分包查询指令的步骤,直至所述数据分包查询结果中没有携带有下一轮询周期的数据包序号。
  3. 根据权利要求1或2所述的方法,其中,所述网络配置信息还包括:数据分包查询重试次数,并且
    在所述获取每个网络设备响应不同轮询间隔的数据分包查询指令而发送的数据分包查询结果的步骤和按照数据包序号整合每个网络设备的所有数据包得到每个网络设备的数据的步骤之间,所述方法还包括:若获取所述数据分包查询结果失败或检测到所述数据分包查询结果中携带有误的数据包,则重新发送所述数据分包查询指令,直至获取的数据分包查询结果中携带无误的数据包或者重新发送次数超出所述数据分包查询重试次数。
  4. 根据权利要求1-3中任一所述的方法,其中,所述网络配置信息还包括:数据采集时间范围;并且
    在所述获取网络配置信息的步骤和按照所述轮询间隔向所有设备地址对应的网络设备轮询发送数据分包查询指令的步骤之间,所述方法还包括:判断发送时刻是否处于所述数据采集时间范围,若是,则执行发送数据分包查询指令的步骤。
  5. 根据权利要求1-4中任一所述的方法,其中,在所述按照数据包序号整合每个网络设备的所有数据包得到每个网络设备的数据的步骤之后,所述方法还包括如下步骤:
    存储每个网络设备的数据;
    在接收到数据获取指令时,提取所述数据获取指令中携带的设备地址;以及
    响应所述数据获取指令而发送所述设备地址对应的网络设备的数据。
  6. 一种数据采集设备,包括:
    第一获取单元,被配置为获取网络配置信息,其中,所述网络配置信息包括:轮询间隔和至少一个网络设备的设备地址;
    轮询单元,被配置为按照所述轮询间隔,向所有设备地址对应的网络设备,轮询发送数据分包查询指令,其中,所述数据分包查询指令中携带有当前轮询间隔的设备地址和数据包序号;
    第二获取单元,被配置为获取每个网络设备响应不同轮询间隔的数据分包查询指令而发送的数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包;以及
    整合单元,被配置为按照数据包序号,整合每个网络设备的所有数据包,得到每个网络设备的数据。
  7. 根据权利要求6所述的数据采集设备,还包括:
    第一判断单元,被配置为判断所述第二获取单元获取的数据分包查询结果中是否携带有下一轮询周期的数据包序号,若否,则所述第一判断单元判断每个网络设备的所有数据包是否均已获取;
    所述轮询单元进一步被配置为在所述第一判断单元判定每个网络设备的所有数据包没有获取之后,按照所述轮询间隔,向所有设备地址对应的网络设备,轮询发送数据分包查询指令,以及在所述第一判断单元判定所述数据分包查询结果中携带有下一轮询周期的数据包序号后,在下一轮询周期时,发送携带所述下一轮询周期的数据包序号的数据分包查询指令;并且
    所述整合单元进一步被被配置为在所述第一判断单元判定每个网络设备的所有数据包均已获取,则按照数据包序号,整合每个网络设备的所有数据包,得到每个网络设备的数据。
  8. 根据权利要求6或7所述的数据采集设备,其中,所述网络配置信息还包括:数据分包查询重试次数;并且
    所述数据采集设备还包括:处理单元,被配置为所述第二获取单元获取所述数据分包查询结果失败后或所述处理单元检测到所述数据分包查询结果中携带有误的数据包后,重新发送所述数据分包查询指令,直至所述第二获取单元获取的数据分包查询结果中携带无误的数 据包或者重新发送次数超出所述数据分包查询重试次数。
  9. 根据权利要求6-8中任一所述的数据采集设备,其中,所述网络配置信息还包括:数据采集时间范围;
    所述数据采集设备还包括:第二判断单元,被配置为在所述轮询单元发送所述数据分包查询指令之前,判断发送时刻是否处于所述数据采集时间范围;并且
    所述轮询单元进一步被配置为在所述第二判断单元判定发送时刻处于所述数据采集时间范围后,发送所述数据分包查询指令。
  10. 根据权利要求6-9任一所述的数据采集设备,还包括:
    存储单元,被配置为在所述整合单元得到每个网络设备的数据之后,存储每个网络设备的数据;
    提取单元,被配置为在接收到数据获取指令时,提取所述数据获取指令中携带的设备地址;以及
    响应单元,被配置为响应所述数据获取指令而发送所述设备地址对应的网络设备的数据。
  11. 一种数据发送方法,应用于网络设备,包括:
    获取数据分包查询指令,其中,所述数据分包查询指令中携带有当前轮询间隔的设备地址和数据包序号;
    对所述设备地址进行验证;
    若验证通过,则提取所述数据分包查询指令中携带的数据包序号;以及
    响应所述数据分包查询指令而发送数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包。
  12. 根据权利要求11所述的方法,其中,在所述提取所述数据分包查询指令中携带的数据包序号的步骤与所述响应所述数据分包查询 指令而发送数据分包查询结果的步骤之间,所述方法还包括:
    判断是否存在未反馈的数据包;以及
    若存在未反馈的数据包,则在所述数据分包查询结果中增加下一轮询周期的数据包序号,其中,所述下一轮询周期的数据包序号为所述数据分包查询指令中携带的数据包序号对应的下一个数据包序号。
  13. 一种网络设备,包括:
    获取单元,被配置为获取数据分包查询指令,其中,所述数据分包查询指令中携带有当前轮询间隔的设备地址和数据包序号;
    验证单元,被配置为对所述设备地址进行验证;
    提取单元,被配置为所述验证单元验证通过后,提取所述数据分包查询指令中携带的数据包序号;以及
    发送单元,被配置为响应所述数据分包查询指令而发送数据分包查询结果,其中,所述数据分包查询结果中携带有当前轮询间隔的数据包序号以及与所述数据包序号对应的数据包。
  14. 根据权利要求13所述的网络设备,还包括:
    第一判断单元,被配置为在所述提取单元提取所述数据分包查询指令中携带的数据包序号之后,判断是否存在未反馈的数据包;以及
    增加单元,被配置为在所述第一判断单元判定存在未反馈的数据包后,在所述数据分包查询结果中增加下一轮询周期的数据包序号,其中,所述下一轮询周期的数据包序号为所述数据分包查询指令中携带的数据包序号对应的下一个数据包序号。
  15. 一种数据采集设备,包括处理器和存储器,所述存储器中存储有至少一条可执行指令,所述可执行指令由所述处理器加载并执行以实现如权利要求1至5中任一项所述的数据采集方法。
  16. 一种计算机可读存储介质,所述存储介质存储有至少一条可执行指令,所述可执行指令由处理器加载并执行时实现如权利要求1 至5中任一项所述的数据采集方法。
  17. 一种网络设备,包括处理器和存储器,所述存储器中存储有至少一条可执行指令,所述可执行指令由所述处理器加载并执行以实现如权利要求11或12所述的数据发送方法。
  18. 一种计算机可读存储介质,所述存储介质存储有至少一条可执行指令,所述可执行指令由处理器加载并执行时实现如权利要求11或12所述的数据发送方法。
PCT/CN2018/094255 2018-05-22 2018-07-03 数据采集方法、数据发送方法、数据采集设备及网络设备 WO2019223065A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810495526.X 2018-05-22
CN201810495526.XA CN108737180A (zh) 2018-05-22 2018-05-22 数据采集方法、数据发送方法、数据采集设备及网络设备

Publications (1)

Publication Number Publication Date
WO2019223065A1 true WO2019223065A1 (zh) 2019-11-28

Family

ID=63517644

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/094255 WO2019223065A1 (zh) 2018-05-22 2018-07-03 数据采集方法、数据发送方法、数据采集设备及网络设备

Country Status (6)

Country Link
US (1) US20190363830A1 (zh)
EP (1) EP3573291A1 (zh)
JP (1) JP2019205149A (zh)
CN (1) CN108737180A (zh)
AU (1) AU2018222892A1 (zh)
WO (1) WO2019223065A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956797A (zh) * 2019-11-29 2020-04-03 北京航天试验技术研究所 一种便携式脉冲发送及数据采集测试系统
CN111913445B (zh) * 2020-05-29 2022-07-26 北京寄云鼎城科技有限公司 数据采集方法、设备、存储介质、数据传输方法和网关
CN111885564B (zh) * 2020-07-03 2024-03-22 海尔优家智能科技(北京)有限公司 数据传输方法、设备升级方法、计算机可读的存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086554A1 (en) * 2003-10-20 2005-04-21 Simes Scott T. Retrieving performance data from devices in a storage area network
CN101145968A (zh) * 2007-08-02 2008-03-19 中兴通讯股份有限公司 网管系统和传输设备间数据发送及接收方法
CN102833336A (zh) * 2012-08-31 2012-12-19 河海大学 分散分布式信息采集与并发处理系统中数据分包处理方法
WO2014058189A1 (ko) * 2012-10-10 2014-04-17 주식회사 아이디어웨어 폴링 검출장치 및 방법과 기록매체
CN106131164A (zh) * 2016-07-01 2016-11-16 北京百度网讯科技有限公司 在云端进行协议解析的数据处理方法和装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0761070B1 (en) * 1994-05-23 1999-11-17 Itron, Inc. Communications protocol for remote data generating stations
US7430164B2 (en) * 1998-05-04 2008-09-30 Hewlett-Packard Development Company, L.P. Path recovery on failure in load balancing switch protocols
JP2000200018A (ja) * 1998-12-28 2000-07-18 Ricoh Co Ltd 遠隔制御装置
GB2386285B (en) * 2002-03-07 2004-03-17 3Com Corp Method and apparatus for determining a polling interval in a network management system
JP2003348186A (ja) * 2002-05-29 2003-12-05 Toa Corp 電子データの送信方法および装置
US7304587B2 (en) * 2003-02-14 2007-12-04 Energy Technology Group, Inc. Automated meter reading system, communication and control network for automated meter reading, meter data collector program product, and associated methods
JP2007128338A (ja) * 2005-11-04 2007-05-24 Seiko Epson Corp ネットワークに接続されたデバイスの監視
KR20100118960A (ko) * 2009-04-29 2010-11-08 삼성전자주식회사 긴급 이벤트를 관리하기 위한 종단 장치, 코디네이터 및 방법
US10698923B2 (en) * 2009-06-11 2020-06-30 Talari Networks, Inc. Methods and apparatus for providing adaptive private network database schema migration and management processes
US20110317642A1 (en) * 2010-06-25 2011-12-29 Qualcomm Incorporated System and process for transmission sequence number management in an intra-node b unsynchronized serving cell change
US20180262533A1 (en) * 2017-03-13 2018-09-13 Comcast Cable Communications, Llc Monitoring Device Data and Gateway Data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086554A1 (en) * 2003-10-20 2005-04-21 Simes Scott T. Retrieving performance data from devices in a storage area network
CN101145968A (zh) * 2007-08-02 2008-03-19 中兴通讯股份有限公司 网管系统和传输设备间数据发送及接收方法
CN102833336A (zh) * 2012-08-31 2012-12-19 河海大学 分散分布式信息采集与并发处理系统中数据分包处理方法
WO2014058189A1 (ko) * 2012-10-10 2014-04-17 주식회사 아이디어웨어 폴링 검출장치 및 방법과 기록매체
CN106131164A (zh) * 2016-07-01 2016-11-16 北京百度网讯科技有限公司 在云端进行协议解析的数据处理方法和装置

Also Published As

Publication number Publication date
AU2018222892A1 (en) 2019-12-12
US20190363830A1 (en) 2019-11-28
EP3573291A1 (en) 2019-11-27
CN108737180A (zh) 2018-11-02
JP2019205149A (ja) 2019-11-28

Similar Documents

Publication Publication Date Title
US8700747B2 (en) System and method for automatically addressing devices in a multi-drop network
WO2019223065A1 (zh) 数据采集方法、数据发送方法、数据采集设备及网络设备
CN107566233B (zh) 家电设备的资源共享方法和装置
JPH0344464B2 (zh)
JPH043701B2 (zh)
EP2700193B1 (en) System and method for transferring data to a plurality of devices in a network
CN103227777B (zh) 一种防止dpd探测失败导致ipsec隧道震荡的方法
WO2017148169A1 (zh) 一种UDP远程传输log的方法及系统
WO2014209368A1 (en) System and method for automatically addressing devices in a multi-drop master/slave network
KR102148757B1 (ko) 통신 시스템에서 데이터를 송수신하는 방법 및 장치
WO2018018607A1 (zh) 一种基于报文协议识别的传输协议固定转换方法及装置
US10097418B2 (en) Discovering network nodes
US20170085673A1 (en) Attribute Operating Method and Apparatus
CN108540590B (zh) UPnP网络端口映射方法、电子设备、网络系统和存储介质
US11088989B2 (en) Semantic validation method and apparatus
CN113055193B (zh) 一种数据多播传输方法、装置、设备及存储介质
KR101721342B1 (ko) Ue 컨텍스트 식별 방법, ue 및 기지국
CN111064729B (zh) 报文的处理方法及装置、存储介质和电子装置
CN106790323B (zh) 一种资源发现的方法及装置
CN110099001B (zh) 双向转发检测时间参数协商方法、装置及电子设备
CN110268680B (zh) 无线pan网状网中的设备与虚拟以太网接口之间的应用数据交换方法
CN112261060B (zh) 一种用于可靠通信传输的重复数据包检测方法
JP2014171017A (ja) 通信情報検出装置、方法、及びプログラム
CN114417065A (zh) 信息获取方法、装置、服务器及存储介质
CN115842802A (zh) 一种网络连接ip地址选择方法及相关设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18919471

Country of ref document: EP

Kind code of ref document: A1

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 23/03/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18919471

Country of ref document: EP

Kind code of ref document: A1