CN108718326B - Intelligent data exchange system of sensor of internet of things based on complex network environment - Google Patents

Intelligent data exchange system of sensor of internet of things based on complex network environment Download PDF

Info

Publication number
CN108718326B
CN108718326B CN201810266264.XA CN201810266264A CN108718326B CN 108718326 B CN108718326 B CN 108718326B CN 201810266264 A CN201810266264 A CN 201810266264A CN 108718326 B CN108718326 B CN 108718326B
Authority
CN
China
Prior art keywords
internet
things
equipment
registration information
communication object
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
CN201810266264.XA
Other languages
Chinese (zh)
Other versions
CN108718326A (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.)
Chongqing Yuandun Technology Group Co., Ltd
Original Assignee
Chongqing Yuandun Technology Group 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 Chongqing Yuandun Technology Group Co ltd filed Critical Chongqing Yuandun Technology Group Co ltd
Priority to CN201810266264.XA priority Critical patent/CN108718326B/en
Publication of CN108718326A publication Critical patent/CN108718326A/en
Application granted granted Critical
Publication of CN108718326B publication Critical patent/CN108718326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/0893Assignment of logical groups to network elements

Abstract

The invention discloses an intelligent data exchange system of a sensor of the Internet of things based on a complex network environment, which comprises: the first system generates a first registration information table; the first system also allocates a unique type number to the Internet of things equipment; the second system generates a second registration information table and a communication object; the second system also creates a policy management object; the strategy management object also establishes a linkage processing registration table; carrying out identity authentication and verification on a communication object in the second system and the Internet of things equipment; and the communication equipment in the second system communicates with the Internet of things equipment to acquire the state and data of the Internet of things equipment in real time, and the acquired state and data are processed by the strategy management object. The beneficial effects obtained by the invention are as follows: the intelligent management of the Internet of things equipment can be realized locally, the linkage of the things and the things is realized, data can be stored locally and transmitted remotely, the overall efficiency of a communication system is effectively improved, and the function of the Internet of things is fully exerted.

Description

Intelligent data exchange system of sensor of internet of things based on complex network environment
Technical Field
The invention relates to the technical field of Internet of things, in particular to an intelligent data exchange system of an Internet of things sensor based on a complex network environment.
Background
With the rapid development of the informatization technology, the application of the internet of things is increasingly common, and the ideal target of 'all things interconnection' is more accepted by the public. The application of the technology of the internet of things is realized, the problem of interaction of sensing data of the internet of things is necessarily involved, on one hand, the data of the sensing equipment of the internet of things is submitted to a superior system in time and receives instructions of the superior system in real time, and on the other hand, the superior system may have a multi-level system logically, namely, data communication between the superior system and the superior system exists. The traditional communication system of the internet of things usually adopts transparent transmission processing in data communication, even if simple data encryption is carried out, the traditional communication system does not have an intelligent processing function, and decision making is carried out after data is received by a final superior, so that the system efficiency is low, and the defects that field problems cannot be processed in time when a network is abnormal exist. Meanwhile, in the communication system of the internet of things, communication interfaces of each terminal device have diversity, such as a serial port, an RJ45 network port, WIFI, a WAPI, ZigBee, LoRa, 2G, 3G, 4G, NB-IOT and the like, and in order to achieve interconnection of everything, access of all terminal devices of the internet of things must be supported, so that the network environment presents complex diversity.
The existing internet of things communication system does not have a system compatible with all interfaces, can only support one or a plurality of communication interfaces basically, and is a problem to be considered on how to realize access of various interface devices to realize interconnection of everything.
Disclosure of Invention
In view of the above defects of the prior art, an object of the present invention is to provide an intelligent sensor data exchange system based on the internet of things in a complex network environment, which can enable an internet of things device to realize intelligent management locally, realize physical and physical linkage, and avoid the bottleneck that data can be intelligentized only by remote processing, and the data itself can be stored locally and transmitted remotely according to a processing strategy, and can realize local intelligent linkage processing in real time, thereby effectively improving the overall efficiency of a communication system, fully playing the role of the internet of things, and enabling users to have good experience.
The invention aims to realize the technical scheme, and the intelligent data exchange system of the sensor of the internet of things based on the complex network environment comprises the following components:
s1: the first system generates a first registration information table; the first system also allocates a unique type number WID for the Internet of things equipment;
s2: the second system generates a second registration information table and a communication object STO; the first registration information table and the second registration information table comprise registration information WIDInfo of the Internet of things equipment;
s3: the second system also creates a strategy management object CMO; the policy management object CMO can acquire, identify and judge registration information in the equipment of the Internet of things; the strategy management object CMO is also provided with a linkage processing registration table;
s4: carrying out identity authentication and verification on a communication object STO in the second system and the equipment of the Internet of things;
s5: and the communication equipment in the second system communicates with the Internet of things equipment to acquire the state and data of the Internet of things equipment in real time, and the policy management object (CMO) processes the acquired state and data.
Further, the step S1 further includes an internet of things device feature code, where the internet of things device feature code corresponds to the internet of things device type number WID one to one; the unique equipment feature code can be obtained through the Internet of things equipment type number WID, or the unique Internet of things equipment type number WID can be obtained through the Internet of things equipment feature code.
Further, the step S1 further includes setting a registration information incremental version number widcer for registration information WINInfo of the internet of things device;
if the content of the registration information WIDInfo is changed, increasing the number WIDVer of the registration information by 1;
if the registration information WIDInfo exceeds the maximum value, the registration information increment version number WIDVer is set to 1.
Further, the step of acquiring, identifying and judging the registration information in the internet of things device by the policy management object CMO in step S3 is as follows:
s301: the policy management object CMO acquires registration information incremental version number WIDVer of the Internet of things equipment stored in the second system, and is named as LocalWIDVer;
s302: the policy management object CMO also acquires registration information incremental version number WIDVer of the Internet of things equipment in the first system, and is named as HostWIDVer;
s303: judging whether the LocalWIDVer and the HostWIDVer are equal, and if so, performing step S4; otherwise, the policy management object CMO downloads the registration information WIDInfo from the internet of things device in the first system again for updating the registration information WIDInfo in the second system, so that localwdver is equal to hostpivor.
Further, the registration information WIDInfo in step S1 includes: the interface type, interface protocol instruction, equipment feature code and processing strategy of the Internet of things;
the processing strategies include the following 5 processing strategies:
the local storage processing strategy is used for locally storing the received data of the Internet of things equipment;
the remote transmission processing strategy is to transmit the received data of the equipment of the Internet of things to the first system;
an alarm processing strategy, namely, if the received data exceeds a set upper limit value or a set lower limit value, alarming according to a preset alarm mode; the alarm modes comprise interface prompting, mail alarm, short message alarm and telephone alarm;
the feedback processing strategy is that the action to be executed by the equipment of the internet of things is judged in the next step according to the received data, and a control instruction for executing the action is sent to the equipment of the internet of things;
the linkage processing strategy is that actions needing linkage of other Internet of things equipment are judged according to the received data, the actions needing linkage are used as front-end driving, a corresponding communication object STO is submitted, and a control instruction is sent to the corresponding Internet of things equipment after the communication object STO is judged;
the above 5 treatment strategies may be present individually, in their entirety or in combination.
Further, the fifth processing strategy, namely the linkage processing strategy, includes an internet of things device sequence number DevID, a linkage action execution delay time DelayT, a linkage action execution sequence number WIDNum and a linkage execution action WIDDo;
the linkage processing registration form in the step S3 includes a feedback processing registration form; the feedback registration processing table includes:
the method comprises the following steps that a communication object STO, the state of the Internet of things equipment, the data of the Internet of things equipment and a feedback instruction are obtained; the communication object STO can find the next feedback instruction to be executed according to the state and data of the current internet of things device.
Further, the linkage processing registration table establishing step in the step S3 is as follows:
s311: the policy management object CMO acquires a policy to be handled in association with the communication object STO, names the communication object STO as a communication object STOA, and acquires the number CLID of the policy;
s312: a policy management object CMO acquires a first Internet of things equipment sequence number DevID and a type number WID thereof which need linkage processing from the policy;
s313: the strategy management object CMO searches a communication object STO of a first non-communication object STOA belonging to the class number WID of the Internet of things and is named as a communication object STOB;
s314: the policy management object CMO forms a plurality of records of the communication object STOB in the linkage registry according to the Internet of things equipment sequence number DevID and the type number WID thereof; the record comprises a communication object STOA, a strategy number CLID, a communication object STOB, linkage action execution delay time DelayT, a linkage action execution sequence number WIDNum and a linkage execution action WIDDo, namely the process from virtualization to materialization from the sequence number DevID of the equipment of the Internet of things to the communication object STOB is completed;
s315: the policy management object CMO acquires the next Internet of things equipment sequence number DevID needing linkage processing and the type number WID thereof from the policy;
s316: the policy management object CMO searches for a communication object STO of the next non-communication object STOA belonging to the internet of things type number WID, and the communication object STO cannot be a communication object STO of which the same number CLID has been registered in the linkage registry;
s317: repeating the steps S314 to S316 until all the linkage actions of the strategy are registered in the linkage registration table;
s318: the steps S311 to S317 are repeated until all the interlock actions of all the policies are registered in the interlock registration table.
Further, the identity authentication step in step S4 is as follows:
s401: the communication object STO sends a handshake instruction to the equipment of the Internet of things according to an interface protocol instruction in the registration information WIDInfo and waits for the equipment of the Internet of things to respond;
s402: if the response is overtime, repeating the step S401 three times, if no response still exists, turning to the step S405 to carry out automatic detection;
s403: after receiving the response of the Internet of things equipment, the communication object STO analyzes the response result; if the analysis fails, repeating the step S401; if the analysis still fails for 3 times, go to step S405 to enter automatic detection;
s404: after the communication object STO is successfully analyzed, acquiring the equipment feature code of the physical network according to the analysis result, comparing the equipment feature code with the equipment feature code of the Internet of things in the registration information WIDInfo, and if the equipment feature code of the Internet of things is matched with the equipment feature code of the Internet of things in the registration information WIDInfo, indicating that the identity authentication is successful and ending the process; otherwise, go to step S405 to perform automatic detection;
s405: the communication object STO inquires the registration information WIDInfo of all the physical network equipment type numbers WID in the second system, acquires the interface protocol instruction from the registration information WIDInfo, sends a handshake instruction to the Internet of things equipment, automatically detects the identity of the Internet of things equipment, and submits the detection result to the policy management object CMO.
Further, the automatic detection in step S405 includes the following steps:
s4051: the communication object STO acquires registration information WIDInfo of a first Internet of things device type number WID;
s4052: acquiring an interface protocol instruction from the registration information WIDInfo, and sending a handshake instruction to the Internet of things equipment;
s4053: if the response is overtime, repeating the step S4052 for three times, and if no response still exists after the repetition, then switching to the step S4056;
s4054: the communication object STO receives the response of the Internet of things equipment, analyzes the response result, repeats the step S4052 if the analysis fails, and returns to the step S4056 if the analysis still fails after 3 times;
s4055: after the communication object STO is successfully analyzed, the characteristic code of the Internet of things equipment is obtained according to the result and is compared with the characteristic code of the Internet of things equipment in the registration information WIDInfo, if the characteristic code of the Internet of things equipment is matched with the characteristic code of the Internet of things equipment in the registration information WIDInfo, the identity authentication is successful, the authentication result is submitted to the strategy management object CMO for re-registration, the process is ended, and if the identification result is not successful, the process is switched to the step S4056;
s4056: the communication object STO acquires registration information WIDInfo of the next Internet of things equipment type number WID, the step S4052 is carried out, if the Internet of things equipment type numbers WID are all acquired, and if the Internet of things equipment types cannot be identified, the step S4057 is carried out;
s4057: the communication object STO submits the result that cannot be identified to the policy management object CMO, which performs alarm prompting or submits a request for adding a new physical network device type to the first system.
Further, the policy processing method proposed in step S5 refers to a set policy for processing according to the state in the analysis result when the communication object STO receives data of the internet of things device, and includes the following steps:
s501: if the local storage strategy is available, the data is stored locally;
s502: if the remote transmission strategy exists, transmitting the data to the first system;
s503: if the alarm processing strategy is available, checking whether the received data exceeds a set upper limit value or a set lower limit value, and if so, alarming according to a specified alarm mode;
s504: if the feedback processing strategy is available, the communication object STO acquires an instruction to be executed in the next step of the Internet of things equipment from the feedback processing registration table according to the received state and data, and sends the instruction to the Internet of things equipment;
s505: if the communication object STO has the linkage processing strategy, the communication object STO acquires the communication object STO needing linkage and the instruction thereof from the linkage processing registration table according to the received state and data, and submits the request to the corresponding communication object STO for linkage processing.
Due to the adoption of the technical scheme, the invention has the following advantages: the invention is different from the traditional sensing data communication system of the Internet of things, and policy management and intelligent processing algorithms are introduced into software; in terms of hardware, for equipment outside a communication system support interface, the interface converter can be accessed to the communication system, so that the real world interconnection can be realized. Meanwhile, the communication system has the capability of policy management, so that intelligent management can be realized locally by the Internet of things equipment, the linkage of the things and the things is realized, and the bottleneck that data can be intelligentized only by remote processing is avoided. The data can be stored locally and transmitted remotely according to the processing strategy, and meanwhile, local intelligent linkage processing can be realized in real time, so that the overall efficiency of the communication system is effectively improved, the function of the Internet of things is fully exerted, and a user has good experience.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.
Drawings
The drawings of the invention are illustrated as follows:
fig. 1 is a connection schematic diagram of an internet of things sensor data intelligent exchange system based on a complex network environment.
Fig. 2 is a schematic flow chart of registration information of the internet of things device.
Fig. 3 is a schematic diagram illustrating the process of establishing the feedback processing registry.
Fig. 4 is a schematic diagram of the process of establishing the linkage processing registration table.
Fig. 5 is a schematic diagram of an identity authentication process between a communication object and an internet of things device.
Fig. 6 is a flow chart of auto-detection.
Fig. 7 is a flowchart illustrating policy processing.
Fig. 8 is a flow chart of the alarm processing.
Fig. 9 is a flowchart illustrating the feedback process.
Fig. 10 is a flowchart illustrating the linkage processing.
Detailed Description
The invention is further illustrated by the following figures and examples.
Example (b): as shown in fig. 1-10; an Internet of things sensor data intelligent exchange system based on a complex network environment comprises a first system and a second system; the first system is a superior system, and the second system is a communication system;
s1: the upper-level system generates an Internet of things equipment registration information table, assigns a unique type number WID for each connectable Internet of things equipment, registers the interface type, interface protocol instruction, equipment feature code and processing strategy of each connectable Internet of things equipment, forms registration information WIDInfo, and maintains an increasing version number WIDVer for the registration information of each WID equipment.
S2: the communication system generates a second registration information table and a communication object STO; the first registration information table and the second registration information table comprise registration information WIDInfo of the Internet of things equipment; the communication system generates a local Internet of things equipment registration information table, registers various locally known Internet of things equipment, registers the WID of the equipment according to the actual type of the Internet of things equipment, and can locally acquire the WIDInfo of the WID according to the WID; the communication system generates communication objects STO1, STO2 and STO3 … STON according to the local Internet of things equipment registration information table.
S3: the communication system also creates a strategy management object CMO; the policy management object CMO can acquire, identify and judge registration information in the equipment of the Internet of things; the strategy management object CMO also establishes a linkage processing registration table; the strategy management object CMO identifies all communication objects STO, establishes a feedback processing registration table for the STO with the feedback processing strategy and establishes a corresponding linkage processing registration table for the STO with the linkage processing strategy;
s4: carrying out identity authentication and verification on a communication object STO in a communication system and equipment of the Internet of things; verifying whether the identity of the Internet of things equipment is consistent with the configuration of the communication object or not, if not, automatically detecting the type of the Internet of things equipment and sending an alarm;
s5: communication equipment in the communication system communicates with Internet of things equipment, the state and data of the Internet of things equipment are obtained in real time, automatic processing is carried out according to the obtained state and data and a processing method in a local strategy, and the condition that the processing cannot be carried out in the local strategy is submitted to a superior system;
the interface type supported by the communication system is limited, and for the internet of things equipment with the interface type exceeding the specified interface type, an interface converter is adopted for interface conversion, and the interface converter is converted into the interface type configured by the corresponding communication object STO.
Step S1 also includes Internet of things equipment feature codes, and the Internet of things equipment feature codes correspond to the Internet of things equipment type numbers WID one by one; the unique equipment feature code can be obtained through the Internet of things equipment type number WID, or the unique Internet of things equipment type number WID can be obtained through the Internet of things equipment feature code.
Step S1 also includes setting a registration information incremental version number WIDVer for registration information WINInfo of the Internet of things equipment;
if the content of the registration information WIDInfo is changed, increasing the number WIDVer of the registration information by 1;
if the registration information WIDInfo exceeds the maximum value, setting the incremental version number WIDVer of the registration information to be 1; the maximum value for WIDVer is 4294967295.
The steps of acquiring, identifying and judging the registration information in the internet of things device by the policy management object CMO in the step S3 are as follows:
s301: a policy management object CMO acquires registration information incremental version number WIDVer of the Internet of things equipment stored in a communication system, and is named as LocalWIDVer;
s302: the policy management object CMO also acquires registration information incremental version number WIDVer of the Internet of things equipment in the superior system and is named as HostWIDVer;
s303: judging whether the LocalWIDVer and the HostWIDVer are equal, and if so, performing step S4; otherwise, the policy management object CMO downloads the registration information WIDInfo from the internet of things device in the upper-level system again for updating the registration information WIDInfo in the communication system, so that localwdver is equal to hostpivor.
The registration information WIDInfo in step S1 includes: the interface type, interface protocol instruction, equipment feature code and processing strategy of the Internet of things;
the processing strategies include the following 5 processing strategies:
the local storage processing strategy is used for locally storing the received data of the Internet of things equipment;
a remote transmission processing strategy is to transmit the received data of the equipment of the Internet of things to a superior system;
an alarm processing strategy, namely, if the received data exceeds a set upper limit value or a set lower limit value, alarming according to a preset alarm mode; the alarm modes comprise interface prompting, mail alarm, short message alarm and telephone alarm;
the feedback processing strategy is that the action to be executed by the equipment of the internet of things is judged in the next step according to the received data, and a control instruction for executing the action is sent to the equipment of the internet of things;
the linkage processing strategy is that actions needing linkage of other Internet of things equipment are judged according to the received data, the actions needing linkage are used as front-end driving, a corresponding communication object STO is submitted, and a control instruction is sent to the corresponding Internet of things equipment after the communication object STO is judged;
the above 5 treatment strategies may be present individually, in their entirety or in combination.
A fifth processing strategy, namely a linkage processing strategy, which comprises an Internet of things equipment sequence number DevID, linkage action execution delay time DelayT, a linkage action execution sequence number WIDNum and a linkage execution action WIDDo;
the meaning of each item is that the device sequence number DevID indicates the number of the linked Internet of things device, the number does not specifically correspond to the number of the actual on-site Internet of things device, and the number is used for indicating that the subsequent instructions belong to the same device, so that the devices with the same WID are distinguished; WID is the type of the equipment of the Internet of things; linkage action execution delay time DelayT, which is the time for executing the specified action after receiving the state; linkage action execution sequence number WIDNum which is the instruction execution sequence number of the equipment with the same DevID; and performing the action WIDDo in a linkage manner, and acquiring a specific interface protocol instruction from WIDInfo.
The linkage processing registration form in step S3 includes a feedback processing registration form; the feedback registration processing table includes:
the method comprises the following steps that a communication object STO, the state of the Internet of things equipment, the data of the Internet of things equipment and a feedback instruction are obtained; the communication object STO can find the next feedback instruction to be executed according to the state and data of the current internet of things device.
The linkage processing registration table establishment step in step S3 is as follows:
s311: the policy management object CMO acquires a policy to be handled in association with the communication object STO, names the communication object STO as a communication object STOA, and acquires the number CLID of the policy;
s312: a policy management object CMO acquires a first Internet of things equipment sequence number DevID and a type number WID thereof which need linkage processing from the policy;
s313: the strategy management object CMO searches a communication object STO of a first non-communication object STOA belonging to the class number WID of the Internet of things and is named as a communication object STOB;
s314: the policy management object CMO forms a plurality of records of the communication object STOB in the linkage registry according to the Internet of things equipment sequence number DevID and the type number WID thereof; the record comprises a communication object STOA, a strategy number CLID, a communication object STOB, linkage action execution delay time DelayT, a linkage action execution sequence number WIDNum and a linkage execution action WIDDo, namely the process from virtualization to materialization from the sequence number DevID of the equipment of the Internet of things to the communication object STOB is completed;
s315: the policy management object CMO acquires the next Internet of things equipment sequence number DevID needing linkage processing and the type number WID thereof from the policy;
s316: the policy management object CMO searches for a communication object STO of the next non-communication object STOA belonging to the internet of things type number WID, and the communication object STO cannot be a communication object STO of which the same number CLID has been registered in the linkage registry;
s317: repeating the steps S314 to S316 until all the linkage actions of the strategy are registered in the linkage registration table;
s318: the steps S311 to S317 are repeated until all the interlock actions of all the policies are registered in the interlock registration table.
The identity authentication step in step S4 is as follows:
s401: the communication object STO sends a handshake instruction to the equipment of the Internet of things according to an interface protocol instruction in the registration information WIDInfo and waits for the equipment of the Internet of things to respond;
s402: if the response is overtime, repeating the step S401 three times, if no response still exists, turning to the step S405 to carry out automatic detection;
s403: after receiving the response of the Internet of things equipment, the communication object STO analyzes the response result; if the analysis fails, repeating the step S401; if the analysis still fails for 3 times, go to step S405 to enter automatic detection;
s404: after the communication object STO is successfully analyzed, acquiring the equipment feature code of the physical network according to the analysis result, comparing the equipment feature code with the equipment feature code of the Internet of things in the registration information WIDInfo, and if the equipment feature code of the Internet of things is matched with the equipment feature code of the Internet of things in the registration information WIDInfo, indicating that the identity authentication is successful and ending the process; otherwise, go to step S405 to perform automatic detection;
s405: the communication object STO inquires registration information WIDInfo of all physical network equipment type numbers WID in the communication system, obtains an interface protocol instruction from the registration information WIDInfo, sends a handshake instruction to the Internet of things equipment, automatically detects the identity of the Internet of things equipment, and submits a detection result to the policy management object CMO.
The automatic detection in step S405 includes the following steps:
s4051: the communication object STO acquires registration information WIDInfo of a first Internet of things device type number WID;
s4052: acquiring an interface protocol instruction from the registration information WIDInfo, and sending a handshake instruction to the Internet of things equipment;
s4053: if the response is overtime, repeating the step S4052 for three times, and if no response still exists after the repetition, then switching to the step S4056;
s4054: the communication object STO receives the response of the Internet of things equipment, analyzes the response result, repeats the step S4052 if the analysis fails, and returns to the step S4056 if the analysis still fails after 3 times;
s4055: after the communication object STO is successfully analyzed, the characteristic code of the Internet of things equipment is obtained according to the result and is compared with the characteristic code of the Internet of things equipment in the registration information WIDInfo, if the characteristic code of the Internet of things equipment is matched with the characteristic code of the Internet of things equipment in the registration information WIDInfo, the identity authentication is successful, the authentication result is submitted to the strategy management object CMO for re-registration, the process is ended, and if the identification result is not successful, the process is switched to the step S4056;
s4056: the communication object STO acquires registration information WIDInfo of the next Internet of things equipment type number WID, the step S4052 is carried out, if the Internet of things equipment type numbers WID are all acquired, and if the Internet of things equipment types cannot be identified, the step S4057 is carried out;
s4057: the communication object STO submits the result which can not be identified to the policy management object CMO, and the policy management object CMO performs alarm prompt or wants the superior system to submit a request for adding a new physical network device type.
The policy processing method proposed in step S5 is to refer to a set policy for processing according to the state in the analysis result when the communication object STO receives data of the internet of things device, and includes the following steps:
s501: if the local storage strategy is available, the data is stored locally;
s502: if the remote transmission strategy exists, transmitting the data to the superior system;
s503: if the alarm processing strategy is available, checking whether the received data exceeds a set upper limit value or a set lower limit value, and if so, alarming according to a specified alarm mode;
s504: if the feedback processing strategy is available, the communication object STO acquires an instruction to be executed in the next step of the Internet of things equipment from the feedback processing registration table according to the received state and data, and sends the instruction to the Internet of things equipment;
s505: if the communication object STO has the linkage processing strategy, the communication object STO acquires the communication object STO needing linkage and the instruction thereof from the linkage processing registration table according to the received state and data, and submits the request to the corresponding communication object STO for linkage processing.
The specific implementation process is as follows: the CurWID is a variable and is used for representing the type number of the current Internet of things equipment; the TotalWID is the total number of the Internet of things equipment type numbers; CurSTO is a variable for representing the current communication partner STO; totalsot is the total number of communication objects STO; the Curdata is a variable and is used for representing data of current Internet of things equipment;
as shown in fig. 1, there are 4 pieces of internet-of-things equipment in the communication system, which respectively adopt an interface a, an interface B, an interface C, and an interface D, and the communication system supports the interface a, the interface B, and the interface C, so that a D-interface converter is adopted for the internet-of-things equipment with the D-interface, and the D-interface converter is converted into the a-interface (or into the B, C interface). The policy management object CMO downloads the registration information WIDInfo from the upper system to the local according to the registration information WIDInfo download flow shown in fig. 2, and when the upper system registration information WIDInfo is updated, updates and downloads the information automatically according to the version.
The communication system establishes 4 communication objects, and obtains data from the internet of things equipment through a communication process, wherein the 4 communication objects are STO1, STO2, STO3 and STO 4.
CMO is STO1, STO2, STO3 and STO4, a feedback processing registration list is established according to the establishing flow of the feedback processing registration list in figure 3, and a linkage processing registration list is established according to the establishing flow of the linkage processing registration list in figure 4.
The STO1, STO2, STO3 and STO4 perform identity authentication on the connected internet of things equipment according to the identity authentication flow shown in fig. 5, and if the identity authentication fails, the identity of the connected internet of things equipment is judged according to the automatic detection flow shown in fig. 6.
And after the communication of the STO1, the STO2, the STO3 and the STO4 is successfully established, the communication is carried out with the equipment of the internet of things, and the acquired data of the equipment of the internet of things is processed according to the strategy processing flow of the figure 7. If the alarm is needed, the process is performed according to the alarm processing flow of fig. 8. If the feedback process is required, the process is performed according to the feedback process flow of fig. 9. If the linkage processing is required, the processing is performed according to the linkage processing flow shown in fig. 10.
Therefore, the whole Internet of things communication system has the uniformity of interfaces, can be compatible with the network access of all Internet of things devices, has intelligent detection and identification capabilities, has local intelligent processing capability, is high in system operation efficiency, and facilitates the interconnection of everything.
It should be understood that parts of the specification not set forth in detail are well within the prior art. Finally, the above embodiments are only intended to illustrate the technical solutions of the present invention and not to limit the present invention, and although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions, and all of them should be covered by the claims of the present invention.

Claims (7)

1. The utility model provides a thing networking sensor data intelligence exchange system based on under complicated network environment which characterized in that, the system including:
s1: the first system generates a first registration information table; the first system also allocates a unique type number WID for the Internet of things equipment;
s2: the second system generates a second registration information table and a communication object STO; the first registration information table and the second registration information table comprise registration information WIDInfo of the Internet of things equipment;
s3: the second system also creates a strategy management object CMO; the policy management object CMO can acquire, identify and judge registration information in the equipment of the Internet of things; the strategy management object CMO is also provided with a linkage processing registration table;
s4: carrying out identity authentication and verification on a communication object STO in the second system and the equipment of the Internet of things;
s5: the communication equipment in the second system communicates with the Internet of things equipment to acquire the state and data of the Internet of things equipment in real time, and the policy management object (CMO) processes the acquired state and data;
the step S1 further includes an internet of things device feature code, where the internet of things device feature code corresponds to the internet of things device type number WID one to one; the unique equipment feature code can be obtained by the Internet of things equipment type number WID, or the unique Internet of things equipment type number WID can be obtained by the Internet of things equipment feature code;
step S1 further includes setting a registration information incremental version number WIDVer for registration information WINInfo of the internet of things device;
if the content of the registration information WIDInfo is changed, increasing the number WIDVer of the registration information by 1;
if the registration information WIDInfo exceeds the maximum value, setting the incremental version number WIDVer of the registration information to be 1;
the step of acquiring, identifying and judging the registration information in the internet of things device by the policy management object CMO in the step S3 is as follows:
s301: the policy management object CMO acquires registration information incremental version number WIDVer of the Internet of things equipment stored in the second system, and is named as LocalWIDVer;
s302: the policy management object CMO also acquires registration information incremental version number WIDVer of the Internet of things equipment in the first system, and is named as HostWIDVer;
s303: judging whether the LocalWIDVer and the HostWIDVer are equal, and if so, performing step S4; otherwise, the policy management object CMO downloads the registration information WIDInfo from the internet of things device in the first system again for updating the registration information WIDInfo in the second system, so that localwdver is equal to hostpivor.
2. The system for intelligently exchanging sensor data of internet of things based on complex network environment as claimed in claim 1, wherein the registration information WIDInfo in step S1 includes: the interface type, interface protocol instruction, equipment feature code and processing strategy of the Internet of things;
the processing strategies include the following 5 processing strategies:
the local storage processing strategy is used for locally storing the received data of the Internet of things equipment;
the remote transmission processing strategy is to transmit the received data of the equipment of the Internet of things to the first system;
an alarm processing strategy, namely, if the received data exceeds a set upper limit value or a set lower limit value, alarming according to a preset alarm mode; the alarm modes comprise interface prompt, mail alarm, short message alarm and telephone alarm;
the feedback processing strategy is that the action to be executed by the equipment of the internet of things is judged in the next step according to the received data, and a control instruction for executing the action is sent to the equipment of the internet of things;
the linkage processing strategy is that actions needing linkage of other Internet of things equipment are judged according to the received data, the actions needing linkage are used as front-end driving, a corresponding communication object STO is submitted, and a control instruction is sent to the corresponding Internet of things equipment after the communication object STO is judged;
the above 5 treatment strategies may be present individually, in their entirety or in combination.
3. The system as claimed in claim 2, wherein the fifth processing strategy, namely the linkage processing strategy, includes a sequence number DevID of the internet of things device, a linkage action execution delay time DelayT, a linkage action execution sequence number WIDNum, and a linkage execution action WIDDo;
the linkage processing registration form in the step S3 includes a feedback processing registration form; the feedback processing registration table comprises:
the method comprises the following steps that a communication object STO, the state of the Internet of things equipment, the data of the Internet of things equipment and a feedback instruction are obtained; the communication object STO can find the next feedback instruction to be executed according to the state and data of the current internet of things device.
4. The intelligent sensor data exchange system based on the internet of things in the complex network environment according to claim 1, wherein the linkage processing registry establishing step in the step S3 is as follows:
s311: the policy management object CMO acquires a policy to be handled in association with the communication object STO, names the communication object STO as a communication object STOA, and acquires the number CLID of the policy;
s312: a policy management object CMO acquires a first Internet of things equipment sequence number DevID and a type number WID thereof which need linkage processing from the policy;
s313: the strategy management object CMO searches a communication object STO of a first non-communication object STOA belonging to the class number WID of the Internet of things and is named as a communication object STOB;
s314: the policy management object CMO forms a plurality of records of the communication object STOB in the linkage registry according to the Internet of things equipment sequence number DevID and the type number WID thereof; the record comprises a communication object STOA, a strategy number CLID, a communication object STOB, linkage action execution delay time DelayT, a linkage action execution sequence number WIDNum and a linkage execution action WIDDo, namely the process from virtualization to materialization from the sequence number DevID of the equipment of the Internet of things to the communication object STOB is completed;
s315: the policy management object CMO acquires the next Internet of things equipment sequence number DevID needing linkage processing and the type number WID thereof from the policy;
s316: the policy management object CMO searches for a communication object STO of the next non-communication object STOA belonging to the internet of things type number WID, and the communication object STO cannot be a communication object STO of which the same number CLID has been registered in the linkage registry;
s317: repeating the steps S314 to S316 until all the linkage actions of the strategy are registered in the linkage registration table;
s318: the steps S311 to S317 are repeated until all the interlock actions of all the policies are registered in the interlock registration table.
5. The system for intelligently exchanging sensor data of internet of things based on complex network environment according to claim 1, wherein the identity authentication step in the step S4 is as follows:
s401: the communication object STO sends a handshake instruction to the equipment of the Internet of things according to an interface protocol instruction in the registration information WIDInfo and waits for the equipment of the Internet of things to respond;
s402: if the response is overtime, repeating the step S401 three times, if no response still exists, turning to the step S405 to carry out automatic detection;
s403: after receiving the response of the Internet of things equipment, the communication object STO analyzes the response result; if the analysis fails, repeating the step S401; if the analysis still fails for 3 times, go to step S405 to enter automatic detection;
s404: after the communication object STO is successfully analyzed, acquiring the equipment feature code of the physical network according to the analysis result, comparing the equipment feature code with the equipment feature code of the Internet of things in the registration information WIDInfo, and if the equipment feature code of the Internet of things is matched with the equipment feature code of the Internet of things in the registration information WIDInfo, indicating that the identity authentication is successful and ending the process; otherwise, go to step S405 to perform automatic detection;
s405: the communication object STO inquires the registration information WIDInfo of all the physical network equipment type numbers WID in the second system, acquires the interface protocol instruction from the registration information WIDInfo, sends a handshake instruction to the Internet of things equipment, automatically detects the identity of the Internet of things equipment, and submits the detection result to the policy management object CMO.
6. The system for intelligently exchanging sensor data of internet of things in complex network environment according to claim 5, wherein the step of automatically detecting in the step S405 is as follows:
s4051: the communication object STO acquires registration information WIDInfo of a first Internet of things device type number WID;
s4052: acquiring an interface protocol instruction from the registration information WIDInfo, and sending a handshake instruction to the Internet of things equipment;
s4053: if the response is overtime, repeating the step S4052 for three times, and if no response still exists after the repetition, then switching to the step S4056;
s4054: the communication object STO receives the response of the Internet of things equipment, analyzes the response result, repeats the step S4052 if the analysis fails, and returns to the step S4056 if the analysis still fails after 3 times;
s4055: after the communication object STO is successfully analyzed, the characteristic code of the Internet of things equipment is obtained according to the result and is compared with the characteristic code of the Internet of things equipment in the registration information WIDInfo, if the characteristic code of the Internet of things equipment is matched with the characteristic code of the Internet of things equipment in the registration information WIDInfo, the identity authentication is successful, the authentication result is submitted to the strategy management object CMO for re-registration, the process is ended, and if the identification result is not successful, the process is switched to the step S4056;
s4056: the communication object STO acquires registration information WIDInfo of the next Internet of things equipment type number WID, the step S4052 is carried out, if the Internet of things equipment type numbers WID are all acquired, and if the Internet of things equipment types cannot be identified, the step S4057 is carried out;
s4057: the communication object STO submits the result which cannot be identified to the policy management object CMO, and the policy management object CMO performs alarm prompting or submits a request for adding a new physical network equipment type to the first system.
7. The system according to claim 1, wherein the policy management object CMO proposed in step S5 processes the acquired status and data, and the processing method refers to a set policy for processing according to the status in the analysis result when the communication object STO receives the data of the internet of things device, and includes the following steps:
s501: if the local storage strategy is available, the data is stored locally;
s502: if the remote transmission strategy exists, transmitting the data to the first system;
s503: if the alarm processing strategy is available, checking whether the received data exceeds a set upper limit value or a set lower limit value, and if so, alarming according to a specified alarm mode;
s504: if the feedback processing strategy is available, the communication object STO acquires an instruction to be executed in the next step of the Internet of things equipment from the feedback processing registration table according to the received state and data, and sends the instruction to the Internet of things equipment;
s505: if the communication object STO has the linkage processing strategy, the communication object STO acquires the communication object STO needing linkage and the instruction thereof from the linkage processing registration table according to the received state and data, and submits the request to the corresponding communication object STO for linkage processing.
CN201810266264.XA 2018-03-28 2018-03-28 Intelligent data exchange system of sensor of internet of things based on complex network environment Active CN108718326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810266264.XA CN108718326B (en) 2018-03-28 2018-03-28 Intelligent data exchange system of sensor of internet of things based on complex network environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810266264.XA CN108718326B (en) 2018-03-28 2018-03-28 Intelligent data exchange system of sensor of internet of things based on complex network environment

Publications (2)

Publication Number Publication Date
CN108718326A CN108718326A (en) 2018-10-30
CN108718326B true CN108718326B (en) 2021-09-14

Family

ID=63898970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810266264.XA Active CN108718326B (en) 2018-03-28 2018-03-28 Intelligent data exchange system of sensor of internet of things based on complex network environment

Country Status (1)

Country Link
CN (1) CN108718326B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410662A (en) * 2014-10-23 2015-03-11 山东大学 Parallel mass data transmitting middleware of Internet of things and working method thereof
CN106603662A (en) * 2016-12-14 2017-04-26 日照职业技术学院 Realizing method of comprehensive intelligent platform with homogenous Internet-of-things and Internet
CN107018209A (en) * 2017-06-08 2017-08-04 郑州云海信息技术有限公司 A kind of method and device for realizing Internet of Things cloud platform
CN107172051A (en) * 2017-05-23 2017-09-15 南京邮电大学 A kind of method that internet of things equipment finds and managed

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140040444A1 (en) * 2012-07-31 2014-02-06 Electronics And Telecommunications Research Institute Initial configuration method of apparatus and apparatus including initial configuration function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410662A (en) * 2014-10-23 2015-03-11 山东大学 Parallel mass data transmitting middleware of Internet of things and working method thereof
CN106603662A (en) * 2016-12-14 2017-04-26 日照职业技术学院 Realizing method of comprehensive intelligent platform with homogenous Internet-of-things and Internet
CN107172051A (en) * 2017-05-23 2017-09-15 南京邮电大学 A kind of method that internet of things equipment finds and managed
CN107018209A (en) * 2017-06-08 2017-08-04 郑州云海信息技术有限公司 A kind of method and device for realizing Internet of Things cloud platform

Also Published As

Publication number Publication date
CN108718326A (en) 2018-10-30

Similar Documents

Publication Publication Date Title
CN106793007B (en) Interactive communication method and system of cloud and Bluetooth device and wireless router
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
US7419100B2 (en) Method and system for executing document scanning jobs that are intended for a remote work station through using a wireless interconnection between the work station and a scanner facility
CN103312760A (en) Capability open platform, method and gateway for realizing plug and play management of terminal equipment
US9836958B2 (en) Device control method, server, system and computer storage medium
CN105431881A (en) Distributed locker service system, and control method therefor
US9425982B2 (en) Server and method for providing device management service and device receiving the device management service
CN105701240A (en) Wearable device data processing method, device and system
CN108390795B (en) Household appliance and monitoring method thereof, smart home system and readable storage medium
CN106792678B (en) Method and system for automatic pairing search of wireless nodes
CN106453349A (en) An account number login method and apparatus
CN112423368A (en) Gateway, intelligent device, mobile terminal, network access method and network access auxiliary method and system
CN111132164A (en) Network distribution method and device of intelligent equipment
CN103369000A (en) Data transmission method and data transmission system
CN108718326B (en) Intelligent data exchange system of sensor of internet of things based on complex network environment
CN110113734B (en) Bluetooth one-to-many data transmission method, system and storage medium
CN103634173A (en) Electronic apparatus activation control apparatus, electronic apparatus activation control system, electronic apparatus activation control method, and program
CN105976476A (en) System and method for remotely controlling intelligent lock
CN106773797A (en) A kind of information processing method, system and management platform
CN111817878A (en) Networking method and device of intelligent equipment and cloud server
US8402312B2 (en) Method and system for testing an application
CN101340630B (en) Model number automatic recognition method for mobile information terminal
EP1980079A1 (en) ENHANCEMENTS FOR DISCOVERING DEVICE OWNERS IN A UPnP SEARCHING SERVICE
CN103023668A (en) Method, device and system for discovering and controlling embedded access network device
CN112543121B (en) Multi-device group control method, electronic device and computer readable storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20200508

Address after: No. 71, No. 1, No. 15, beichengtian street, Jiangbei District, Chongqing

Applicant after: Chongqing Yuandun Technology Group Co., Ltd

Address before: 401329 10-2, 2 Torch Hotel, 166 Keyuan Road, Kowloon Po, Chongqing.

Applicant before: CHONGQING QICAIHONG DIGITAL TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant