CN114827296B - Communication method and system for carrying out data communication based on multiple communication protocols - Google Patents

Communication method and system for carrying out data communication based on multiple communication protocols Download PDF

Info

Publication number
CN114827296B
CN114827296B CN202210446009.XA CN202210446009A CN114827296B CN 114827296 B CN114827296 B CN 114827296B CN 202210446009 A CN202210446009 A CN 202210446009A CN 114827296 B CN114827296 B CN 114827296B
Authority
CN
China
Prior art keywords
data
communication
communication protocol
background
type
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.)
Active
Application number
CN202210446009.XA
Other languages
Chinese (zh)
Other versions
CN114827296A (en
Inventor
王辉
孙杏华
周芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ruiqi Technology Co ltd
Original Assignee
Shenzhen Ruiqi 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 Shenzhen Ruiqi Technology Co ltd filed Critical Shenzhen Ruiqi Technology Co ltd
Priority to CN202210446009.XA priority Critical patent/CN114827296B/en
Publication of CN114827296A publication Critical patent/CN114827296A/en
Application granted granted Critical
Publication of CN114827296B publication Critical patent/CN114827296B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering 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/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Abstract

The invention discloses a communication method and a system for data communication based on a plurality of communication protocols, wherein the method comprises the following steps: and receiving a data acquisition request sent by a background, confirming the data type of the received data of the background according to the data acquisition request, selecting an adaptive target communication protocol according to the data type, and realizing the functions of background data communication and data transmission by using a power line based on the target communication protocol. The data of the equipment can be stably transmitted through selecting an adaptive target communication protocol, the stability of data transmission is improved, furthermore, the data transmission can be realized through combining the power line with the target communication protocol, various interferences of the power line can be overcome for high-efficiency and reliable data transmission work, the data transmission efficiency and accuracy are improved, the influence of network fluctuation is avoided, the wildcard property and the stability are further improved, the implementation is simple, and the investment and construction cost is saved.

Description

Communication method and system for carrying out data communication based on multiple communication protocols
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a system for performing data communication based on multiple communication protocols.
Background
With the rapid development of wireless communication technology, mobile network technology, and electronic information technology, many wireless products have also been developed. Along with the continuous development of the internet of things technology, the requirements of the internet of things system on the gateway are higher. The gateway is also called as an intersystem connector and a protocol converter, is a computer system or equipment for providing data conversion service among a plurality of networks, the existing gateway of the internet of things collects equipment state data through a matched network protocol and then uploads the equipment state data to a background or server terminal, and the method has the following problems: the data is easily affected by network fluctuation in the transmission process, so that the data cannot be quickly and completely transmitted to the corresponding terminal or server, the stability is poor, and the transmission efficiency is low.
Disclosure of Invention
The invention provides a communication method and a system for data communication based on various communication protocols, aiming at the problems that the data mentioned in the background art is easily affected by network fluctuation in the transmission process, so that the data cannot be quickly and completely transmitted to a corresponding terminal or server, and the stability is poor and the transmission efficiency is low.
A communication method for data communication based on multiple communication protocols is applicable to an Internet of things gateway, and comprises the following steps:
receiving a data acquisition request sent by a background by using a power line;
confirming the data type of the background received data according to the data acquisition request;
selecting an adaptive target communication protocol according to the data type;
and the background data communication and data transmission functions are realized by using the power line based on the target communication protocol.
Preferably, the selecting an adapted target communication protocol according to the data type includes:
acquiring configuration information of the background, and determining a supporting communication protocol of the background according to the configuration information;
generating a single-order data query condition according to the data type, and calling preset single-order data from a preset database by utilizing the single-order data query condition;
determining an optimal transmission mode of the preset single-order data, and determining whether a first communication protocol corresponding to the optimal transmission mode belongs to a background supported communication protocol or not;
if yes, the first communication protocol is confirmed as a target communication protocol, otherwise, a second communication protocol with optimal efficiency of transmitting preset single-order data is selected from the background supported communication protocols to confirm the target communication protocol.
Preferably, the implementation of the background data communication and data transmission function using the power line based on the target communication protocol includes:
receiving operation data and state data of each device of the power line transmission according to the data acquisition request;
uploading the operation data and the state data of each device to a cloud server or a local area network server;
the communication connection between the cloud server or the local area network server and the background is communicated through the target communication protocol;
and transmitting the operation data and the state data of each device from the cloud server or the local area network server to the background.
Preferably, before receiving the operation data and the status data of each device of the power line transmission according to the data acquisition request, the method further includes:
detecting the working state of each device, and judging the starting-up running condition of each device according to the working state;
when each device is confirmed to be started to normally operate, a request for acquiring the device address is sent to each device;
receiving a target equipment address fed back by each equipment, and automatically networking the gateway of the Internet of things according to the target equipment address;
after the automatic networking is finished, testing the connection stability between each device and the Internet of things gateway so as to adaptively adjust the communication connection between the devices and the Internet of things gateway.
Preferably, the receiving the operation data and the status data of each device of the power line transmission according to the data acquisition request includes:
detecting a current communication baud rate of the power line;
setting a data receiving frequency band according to the current communication baud rate;
starting a preset analog data channel of the Internet of things gateway based on the data receiving frequency band;
and receiving operation data and state data of each device from the preset analog data channel.
Preferably, the uploading the operation data and the state data of each device to a cloud server or a local area network server includes:
acquiring a built-in physical layer communication baseband of an Internet of things gateway;
determining a network connection mode between the Internet of things gateway and the cloud server or the local area network server according to the built-in physical layer communication baseband, wherein the network connection mode comprises: 4G and ethernet;
connecting the network connection between the Internet of things gateway and the cloud server or the local area network server through the network connection mode;
and setting boundary limit and authority limit conditions for the operation data and the state data of each device, and uploading the operation data and the state data of each device to a cloud server or a local area network server from the Internet of things gateway after the setting is finished.
Preferably, after confirming the data type of the background received data according to the data acquisition request, the method further includes:
generating a corresponding data nesting protocol according to the data type;
extracting a shared attribute value corresponding to the type of data based on the data nesting protocol;
generating a serialization model of the data of the type according to the shared attribute value;
and carrying out serialization processing on the transmission data of the type by utilizing the serialization model, and then carrying out transmission work.
Preferably, the method further comprises:
when each device has manual working parameter modification or failure, generating failure data or parameter modification data;
automatically uploading the fault data or the parameter modification data to a cloud server or a local area network server;
and uploading the fault data or the parameter modification data to the background by the cloud server or the local area network server.
Preferably, the extracting the shared attribute value corresponding to the type of data based on the data nesting protocol includes:
determining the storage characteristics of the type of data according to the data nesting protocol;
extracting a characteristic value corresponding to the storage characteristic, and mapping the type data file into a property file based on the characteristic value;
extracting attribute domains in the attribute files and constructing a shared attribute file;
constructing a sensitive attribute evaluation rule according to the association parameters among each attribute domain;
acquiring a plurality of first attribute values which occur simultaneously in each attribute domain in the shared attribute file;
acquiring entity characteristics of each first attribute value, and performing desensitization depth calculation on the entity characteristics of each first attribute value based on the sensitive attribute evaluation rule to acquire a calculation result;
removing suspected attribute values with desensitization degree larger than or equal to a preset threshold value from the plurality of first attribute values according to the calculation result to obtain a target number of second attribute values;
constructing a data distribution vector of the type of data according to the target number of second attribute values;
carrying out aggregation measurement evaluation on vectors corresponding to all attributes in the data subsection vectors based on preset data distribution rules of the type of data to obtain an evaluation result;
screening third attribute values meeting the preset aggregation measurement requirement from the target number of second attribute values according to the evaluation result;
and taking the third attribute value as a shared attribute value corresponding to the type data.
A communication system for data communication based on a plurality of communication protocols, which is applicable to an internet of things gateway, the system comprising:
the receiving module is used for receiving a data acquisition request sent by a background;
the confirmation module is used for confirming the data type of the background received data according to the data acquisition request;
the selection module is used for selecting an adaptive target communication protocol according to the data type;
and the communication module is used for realizing the background data communication and data transmission function by using the power line based on the target communication protocol.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention.
FIG. 1 is a flow chart of a communication method for data communication based on multiple communication protocols according to the present invention;
FIG. 2 is a flowchart of another method for data communication based on multiple communication protocols according to the present invention;
FIG. 3 is a further flowchart of a communication method for data communication based on multiple communication protocols according to the present invention;
fig. 4 is a schematic structural diagram of a communication system for performing data communication based on multiple communication protocols according to the present invention;
fig. 5 is an application scenario diagram of an internet of things gateway provided by a communication method and system for performing data communication based on multiple communication protocols according to the present invention.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
With the rapid development of wireless communication technology, mobile network technology, and electronic information technology, many wireless products have also been developed. Along with the continuous development of the internet of things technology, the requirements of the internet of things system on the gateway are higher. The gateway is also called as an intersystem connector and a protocol converter, is a computer system or equipment for providing data conversion service among a plurality of networks, the existing gateway of the internet of things collects equipment state data through a matched network protocol and then uploads the equipment state data to a background or server terminal, and the method has the following problems: the data is easily affected by network fluctuation in the transmission process, so that the data cannot be quickly and completely transmitted to the corresponding terminal or server, the stability is poor, and the transmission efficiency is low. In order to solve the above-mentioned problems, the present embodiment discloses a communication method for performing data communication based on a plurality of communication protocols.
A communication method for data communication based on multiple communication protocols is applicable to an Internet of things gateway, as shown in FIG. 1, and comprises the following steps:
step S101, a data acquisition request sent by a background is received by using a power line;
step S102, confirming the data type of the background received data according to the data acquisition request;
step S103, selecting an adaptive target communication protocol according to the data type;
and step S104, the background data communication and data transmission functions are realized by using a power line based on the target communication protocol.
The working principle of the technical scheme is as follows: and receiving a data acquisition request sent by a background by using a power line, confirming the data type of the received data of the background according to the data acquisition request, selecting an adaptive target communication protocol according to the data type, and realizing the functions of background data communication and data transmission by using the power line based on the target communication protocol.
The beneficial effects of the technical scheme are as follows: the data of the equipment can be stably transmitted by selecting the adaptive target communication protocol according to the data type of the received data, the stability of the data transmission is improved, further, the data transmission can be realized by combining the power line with the target communication protocol, various interferences of the power line can be overcome for high-efficiency and reliable data transmission work, the data transmission efficiency and the data transmission safety are improved, the influence of network fluctuation is avoided, the power line can adapt to a plurality of communication protocols, the compatibility with each bearing communication protocol is improved, the wildness and the stability are further improved, the implementation is simple, the investment and construction cost is saved, and the problems that the data in the prior art cannot be rapidly and completely transmitted to a corresponding terminal or a server due to the influence of network fluctuation in the transmission process are solved, and the stability is poor and the transmission efficiency is lower are solved.
In this embodiment, before implementing the function for background data communication and data transmission using the power line based on the target communication protocol, the method further includes:
acquiring a plurality of working nodes of the background based on data communication and data transmission;
connecting the plurality of working nodes based on the target communication protocol;
transmitting preset data to the plurality of working nodes through the target communication protocol;
obtaining the mapping data quantity of each working node and the corresponding data delay characteristic thereof;
according to the mapping data volume of each working node and the corresponding data delay characteristics, calculating the gain coefficient of the network corresponding to the target communication protocol:
wherein F is expressed as a gain coefficient of the network corresponding to the target communication protocol, and alpha is expressed as a standard network of the network corresponding to the target communication protocolThe network strength, N, is expressed as the number of working nodes, i is expressed as the ith working node, p i Mapping data amount represented as ith working node, θ i Data delay characteristics, mu, corresponding to the mapped data quantity expressed as the ith working node i Time-varying factor denoted as ith working node, Q i Expressed as a constraint factor of a target communication protocol corresponding network to an ith working node, A i The gain factor of the i working node corresponding to the network of the target communication protocol is expressed;
and determining whether the gain coefficient of the network corresponding to the target communication protocol meets the daily data transmission requirement, if so, not carrying out subsequent operation, otherwise, carrying out network real-time optimization on the network corresponding to the target communication protocol until the network meets the daily data transmission requirement.
The beneficial effects of the technical scheme are as follows: the efficiency and influence of the target communication protocol on the data transmission can be intuitively evaluated by calculating the gain coefficient of the network corresponding to the target communication protocol, so that the target communication protocol is intelligently optimized to ensure the stability and the high efficiency of the data in the transmission process, and the practicability and the experience of a user are improved.
In one embodiment, the selecting the adapted target communication protocol according to the data type includes:
acquiring configuration information of the background, and determining a supporting communication protocol of the background according to the configuration information;
generating a single-order data query condition according to the data type, and calling preset single-order data from a preset database by utilizing the single-order data query condition;
determining an optimal transmission mode of the preset single-order data, and determining whether a first communication protocol corresponding to the optimal transmission mode belongs to a background supported communication protocol or not;
if yes, the first communication protocol is confirmed as a target communication protocol, otherwise, a second communication protocol with optimal efficiency of transmitting preset single-order data is selected from the background supported communication protocols to confirm the target communication protocol.
The beneficial effects of the technical scheme are as follows: the communication protocol corresponding to the optimal transmission efficiency of the single-order data can be selected by adaptively selecting the communication protocol, so that the data transmission efficiency is further ensured, meanwhile, the suitability and compatibility with the background are also ensured, and the stability of data transmission is further improved.
In one embodiment, as shown in fig. 2, the implementation of the background data communication and data transfer functions using a power line based on the target communication protocol includes:
step S201, receiving operation data and state data of each device of the power line transmission according to the data acquisition request;
step S202, uploading operation data and state data of each device to a cloud server or a local area network server;
step S203, the communication connection between the cloud server or the local area network server and the background is communicated through the target communication protocol;
step S204, transmitting the operation data and the status data of each device from the cloud server or the local area network server to the background.
The beneficial effects of the technical scheme are as follows: the cloud server or the local area network server can effectively detect whether the operation data and the state data of each device are tampered or not so as to ensure the accuracy of the data, and the practicability and the stability are improved.
In one embodiment, as shown in fig. 3, before receiving the operation data and the status data of each device of the power line transmission according to the data acquisition request, the method further includes:
step S301, detecting the working state of each device, and judging the starting-up operation condition of each device according to the working state;
step S302, when each device is confirmed to be started up to normally operate, a request for acquiring the device address is sent to each device;
step S303, receiving a target equipment address fed back by each equipment, and automatically networking the gateway of the Internet of things according to the target equipment address;
and step S304, after the automatic networking is finished, testing the connection stability between each device and the gateway of the Internet of things so as to adaptively adjust the communication connection between the device and the gateway of the Internet of things.
The beneficial effects of the technical scheme are as follows: the automatic networking work is carried out on the Internet of things gateway according to the target equipment address of each equipment, so that the Internet of things gateway can stably and accurately receive the data fed back by each equipment, the stability is improved, the normal communication connection between the Internet of things gateway and each equipment is ensured, and the practicability is further improved.
In one embodiment, the receiving the operation data and the status data of each device of the power line transmission according to the data acquisition request includes:
detecting a current communication baud rate of the power line;
setting a data receiving frequency band according to the current communication baud rate;
starting a preset analog data channel of the Internet of things gateway based on the data receiving frequency band;
and receiving operation data and state data of each device from the preset analog data channel.
The beneficial effects of the technical scheme are as follows: the reasonable working frequency can be set according to the transmission parameters of the power line through setting the data receiving frequency band, the stability of data transmission is improved, further, the feedback data of each device can be received completely without errors through receiving the operation data and the state data of each device through utilizing the preset analog data channel, the integrity of the data is guaranteed to the greatest extent, and the practicability is further improved.
In one embodiment, the uploading the operation data and the state data of each device to a cloud server or a local area network server includes:
acquiring a built-in physical layer communication baseband of an Internet of things gateway;
determining a network connection mode between the Internet of things gateway and the cloud server or the local area network server according to the built-in physical layer communication baseband, wherein the network connection mode comprises: 4G and ethernet;
connecting the network connection between the Internet of things gateway and the cloud server or the local area network server through the network connection mode;
and setting boundary limit and authority limit conditions for the operation data and the state data of each device, and uploading the operation data and the state data of each device to a cloud server or a local area network server from the Internet of things gateway after the setting is finished.
The beneficial effects of the technical scheme are as follows: by setting boundary limit and authority limit conditions for the operation data and the state data of each device, the privacy of the data can be ensured, the risk of tampering is reduced, and the safety and the stability are improved.
In one embodiment, after confirming the data type of the received data of the background according to the data acquisition request, the method further comprises:
generating a corresponding data nesting protocol according to the data type;
extracting a shared attribute value corresponding to the type of data based on the data nesting protocol;
generating a serialization model of the data of the type according to the shared attribute value;
and carrying out serialization processing on the transmission data of the type by utilizing the serialization model, and then carrying out transmission work.
The beneficial effects of the technical scheme are as follows: the integrity of the transmission data can be ensured to the greatest extent by serializing the transmission data and then transmitting the transmission data, and the reliability and stability of the data transmission are further improved.
In one embodiment, the method further comprises:
when each device has manual working parameter modification or failure, generating failure data or parameter modification data;
automatically uploading the fault data or the parameter modification data to a cloud server or a local area network server;
and uploading the fault data or the parameter modification data to the background by the cloud server or the local area network server.
The beneficial effects of the technical scheme are as follows: the equipment can automatically upload the local state of the equipment to the background, so that a worker can know the parameter modification condition and the fault condition of each equipment in real time, further follow-up treatment measures can be rapidly carried out, and the practicability and the experience of a user are improved.
In one embodiment, the extracting the shared attribute value corresponding to the type of data based on the data nesting protocol includes:
determining the storage characteristics of the type of data according to the data nesting protocol;
extracting a characteristic value corresponding to the storage characteristic, and mapping the type data file into a property file based on the characteristic value;
extracting attribute domains in the attribute files and constructing a shared attribute file;
constructing a sensitive attribute evaluation rule according to the association parameters among each attribute domain;
acquiring a plurality of first attribute values which occur simultaneously in each attribute domain in the shared attribute file;
acquiring entity characteristics of each first attribute value, and performing desensitization depth calculation on the entity characteristics of each first attribute value based on the sensitive attribute evaluation rule to acquire a calculation result;
removing suspected attribute values with desensitization degree larger than or equal to a preset threshold value from the plurality of first attribute values according to the calculation result to obtain a target number of second attribute values;
constructing a data distribution vector of the type of data according to the target number of second attribute values;
carrying out aggregation measurement evaluation on vectors corresponding to all attributes in the data subsection vectors based on preset data distribution rules of the type of data to obtain an evaluation result;
screening third attribute values meeting the preset aggregation measurement requirement from the target number of second attribute values according to the evaluation result;
and taking the third attribute value as a shared attribute value corresponding to the type data.
The beneficial effects of the technical scheme are as follows: the shared attribute value of the type of data is obtained by carrying out secondary screening on the common attribute value of the type of data, so that error conditions caused by the fact that attribute values with higher sensitivity are included in the shared attribute value can be avoided, the data precision is improved, the attribute values which do not meet the conditions can be removed, and the precision of the final attribute value is further improved.
The embodiment also discloses a communication system for data communication based on various communication protocols, which is applicable to the gateway of the internet of things, as shown in fig. 4, and the system comprises:
a receiving module 401, configured to receive a data acquisition request sent by a background;
a confirmation module 402, configured to confirm a data type of the background received data according to the data acquisition request;
a selection module 403, configured to select an adapted target communication protocol according to the data type;
the communication module 404 is configured to implement a function for background data communication and data transmission using a power line based on the target communication protocol.
The working principle and the beneficial effects of the above technical solution are described in the method claims, and are not repeated here.
In one embodiment, the present invention provides an internet of things gateway for performing data communication based on the above communication protocol, which includes:
the communication core is an HPLC broadband power line carrier chip, which is based on the OFDM modulation demodulation technology, overcomes various interferences of a power line to carry out high-reliability data transmission, and has the characteristics of high speed and strong power line interference resistance. The working frequency band is 2-12 MHz, the highest transmission rate can be 10Mbps, the chip integrates an analog receiving and transmitting channel and a physical layer communication baseband, the transmission medium is a piezoelectric power line, the transmission mode is half duplex, the main control adopts Freescale i.MX6UltraLite to expand i.MX6 series, the main control is a high-performance and ultra-efficient processor sub-series, an advanced ARM Cortex-A7 kernel is adopted, and the operation speed is up to 528MHz. The remote transmission adopts modes such as 4G, ethernet and the like, and the application scene is shown in figure 5.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. The communication method for carrying out data communication based on various communication protocols is suitable for the gateway of the Internet of things and is characterized by comprising the following steps:
receiving a data acquisition request sent by a background by using a power line;
confirming the data type of the background received data according to the data acquisition request;
selecting an adaptive target communication protocol according to the data type;
the background data communication and data transmission functions are realized by using a power line based on the target communication protocol;
the selecting an adapted target communication protocol according to the data type includes:
acquiring configuration information of the background, and determining a supporting communication protocol of the background according to the configuration information;
generating a single-order data query condition according to the data type, and calling preset single-order data from a preset database by utilizing the single-order data query condition;
determining an optimal transmission mode of the preset single-order data, and determining whether a first communication protocol corresponding to the optimal transmission mode belongs to a background supported communication protocol or not;
if yes, the first communication protocol is confirmed as a target communication protocol, otherwise, a second communication protocol with optimal efficiency of transmitting preset single-order data is selected from the background supported communication protocols to confirm the target communication protocol.
2. The communication method for data communication based on a plurality of communication protocols according to claim 1, wherein the implementing the background data communication and data transmission function using the power line based on the target communication protocol comprises:
receiving operation data and state data of each device of the power line transmission according to the data acquisition request;
uploading the operation data and the state data of each device to a cloud server or a local area network server;
the communication connection between the cloud server or the local area network server and the background is communicated through the target communication protocol;
and transmitting the operation data and the state data of each device from the cloud server or the local area network server to the background.
3. The communication method for data communication based on a plurality of communication protocols according to claim 2, wherein before receiving the operation data and the status data of each device of the power line transmission according to the data acquisition request, the method further comprises:
detecting the working state of each device, and judging the starting-up running condition of each device according to the working state;
when each device is confirmed to be started to normally operate, a request for acquiring the device address is sent to each device;
receiving a target equipment address fed back by each equipment, and automatically networking the gateway of the Internet of things according to the target equipment address;
after the automatic networking is finished, testing the connection stability between each device and the Internet of things gateway so as to adaptively adjust the communication connection between the devices and the Internet of things gateway.
4. The communication method according to claim 2, wherein the operation data and the status data of each device that receives the power line transmission according to the data acquisition request, comprises:
detecting a current communication baud rate of the power line;
setting a data receiving frequency band according to the current communication baud rate;
starting a preset analog data channel of the Internet of things gateway based on the data receiving frequency band;
and receiving operation data and state data of each device from the preset analog data channel.
5. The communication method for data communication based on multiple communication protocols according to claim 2, wherein uploading the operation data and the status data of each device to a cloud server or a local area network server comprises:
acquiring a built-in physical layer communication baseband of an Internet of things gateway;
determining a network connection mode between the Internet of things gateway and the cloud server or the local area network server according to the built-in physical layer communication baseband, wherein the network connection mode comprises: 4G and ethernet;
connecting the network connection between the Internet of things gateway and the cloud server or the local area network server through the network connection mode;
and setting boundary limit and authority limit conditions for the operation data and the state data of each device, and uploading the operation data and the state data of each device to a cloud server or a local area network server from the Internet of things gateway after the setting is finished.
6. The communication method according to claim 1, wherein after confirming the data type of the reception data of the background according to the data acquisition request, the method further comprises:
generating a corresponding data nesting protocol according to the data type;
extracting a shared attribute value corresponding to the type of data based on the data nesting protocol;
generating a serialization model of the data of the type according to the shared attribute value;
and carrying out serialization processing on the transmission data of the type by utilizing the serialization model, and then carrying out transmission work.
7. The communication method for data communication based on a plurality of communication protocols according to claim 2, wherein the method further comprises:
when each device has manual working parameter modification or failure, generating failure data or parameter modification data;
automatically uploading the fault data or the parameter modification data to a cloud server or a local area network server;
and uploading the fault data or the parameter modification data to the background by the cloud server or the local area network server.
8. The method for communicating data based on multiple communication protocols according to claim 6, wherein the extracting the shared attribute value corresponding to the type of data based on the data nesting protocol includes:
determining the storage characteristics of the type of data according to the data nesting protocol;
extracting a characteristic value corresponding to the storage characteristic, and mapping the type data file into a property file based on the characteristic value;
extracting attribute domains in the attribute files and constructing a shared attribute file;
constructing a sensitive attribute evaluation rule according to the association parameters among each attribute domain;
acquiring a plurality of first attribute values which occur simultaneously in each attribute domain in the shared attribute file;
acquiring entity characteristics of each first attribute value, and performing desensitization depth calculation on the entity characteristics of each first attribute value based on the sensitive attribute evaluation rule to acquire a calculation result;
removing suspected attribute values with desensitization degree larger than or equal to a preset threshold value from the plurality of first attribute values according to the calculation result to obtain a target number of second attribute values;
constructing a data distribution vector of the type of data according to the target number of second attribute values;
carrying out aggregation measurement evaluation on vectors corresponding to all attributes in the data subsection vectors based on preset data distribution rules of the type of data to obtain an evaluation result;
screening third attribute values meeting the preset aggregation measurement requirement from the target number of second attribute values according to the evaluation result;
and taking the third attribute value as a shared attribute value corresponding to the type data.
9. The utility model provides a communication system based on multiple communication protocol carries out data communication, is applicable to the gateway of thing networking, its characterized in that, this system includes:
the receiving module is used for receiving a data acquisition request sent by a background;
the confirmation module is used for confirming the data type of the background received data according to the data acquisition request;
the selection module is used for selecting an adaptive target communication protocol according to the data type;
the communication module is used for realizing the background data communication and data transmission function by using a power line based on the target communication protocol;
the selecting an adapted target communication protocol according to the data type includes:
acquiring configuration information of the background, and determining a supporting communication protocol of the background according to the configuration information;
generating a single-order data query condition according to the data type, and calling preset single-order data from a preset database by utilizing the single-order data query condition;
determining an optimal transmission mode of the preset single-order data, and determining whether a first communication protocol corresponding to the optimal transmission mode belongs to a background supported communication protocol or not;
if yes, the first communication protocol is confirmed as a target communication protocol, otherwise, a second communication protocol with optimal efficiency of transmitting preset single-order data is selected from the background supported communication protocols to confirm the target communication protocol.
CN202210446009.XA 2022-04-26 2022-04-26 Communication method and system for carrying out data communication based on multiple communication protocols Active CN114827296B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210446009.XA CN114827296B (en) 2022-04-26 2022-04-26 Communication method and system for carrying out data communication based on multiple communication protocols

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210446009.XA CN114827296B (en) 2022-04-26 2022-04-26 Communication method and system for carrying out data communication based on multiple communication protocols

Publications (2)

Publication Number Publication Date
CN114827296A CN114827296A (en) 2022-07-29
CN114827296B true CN114827296B (en) 2024-03-29

Family

ID=82506949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210446009.XA Active CN114827296B (en) 2022-04-26 2022-04-26 Communication method and system for carrying out data communication based on multiple communication protocols

Country Status (1)

Country Link
CN (1) CN114827296B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499521B (en) * 2022-11-03 2023-02-17 吉林省建研科技有限责任公司 Multi-channel multi-interface protocol digital acquisition control system for bottom layer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050030021A (en) * 2003-09-24 2005-03-29 삼성전자주식회사 Method of controlling remote devices using plc custom protocol and plc gateway therefor
CN202085185U (en) * 2011-05-05 2011-12-21 北京思而得科技有限公司 Electric power carrier wave gateway
CN102882751A (en) * 2012-09-21 2013-01-16 鸿富锦精密工业(深圳)有限公司 Intelligent home network system and signal conversion device thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060018328A1 (en) * 2004-07-23 2006-01-26 Comcast Cable Holdings, Llc Method and system for powerline networking

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050030021A (en) * 2003-09-24 2005-03-29 삼성전자주식회사 Method of controlling remote devices using plc custom protocol and plc gateway therefor
CN202085185U (en) * 2011-05-05 2011-12-21 北京思而得科技有限公司 Electric power carrier wave gateway
CN102882751A (en) * 2012-09-21 2013-01-16 鸿富锦精密工业(深圳)有限公司 Intelligent home network system and signal conversion device thereof

Also Published As

Publication number Publication date
CN114827296A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN108832626B (en) Low-voltage distribution area topology identification method and system
CN114827296B (en) Communication method and system for carrying out data communication based on multiple communication protocols
CN111541463A (en) Dynamic media switching in co-located PLC and RF networks
CN104349454A (en) Positioning processing method, user equipment, and positioning server
CN109831535A (en) A kind of big data smartphone method based on edge calculations
RU2012140415A (en) COMMUNICATION MANAGEMENT METHOD, SYSTEM AND ADMINISTRATION SERVER
CN107682047B (en) Channel-aware medium-voltage power line communication data transmission method
US20210021534A1 (en) Measuring transmission delay
Paolini et al. Upper bound on lora smart metering uplink rate
CN116437382A (en) CPE signal strength monitoring system based on 5G router
CN109274748B (en) Reliable data transmission method and power equipment monitoring data transmission method applying same
US10686652B2 (en) Method for controlling the load of a data concentration gateway for a wireless communication network
CN112468248B (en) Cognitive radio frequency spectrum detection method based on power wireless private network
WO2021190517A1 (en) Interference processing method and node device
CN109120637B (en) Network security supervision platform and method
CN113949636A (en) Data transmission method, gateway equipment and network system
WO2016095463A1 (en) Cell selection method, device, and system
CN102761970B (en) CSMA time slot provides and obtains and network-building method, equipment and system
CN112866897A (en) Positioning measurement method, terminal and network node
US20240098600A1 (en) Physical layer rate estimates in wireless communication systems
WO2023241501A1 (en) Information sending method and apparatus, information receiving method and apparatus, and communication device and readable storage medium
CN113115322B (en) Wireless resource allocation method for uplink channel of intelligent substation based on 5G network
WO2023088017A1 (en) Method for determining available resources of network slice, and electronic device and storage medium
CN117241297B (en) Method and device for evaluating transmission channel of dual-mode communication
CN212780990U (en) Meter reading system for full electric quantity data

Legal Events

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