An internet of things comprehensive management platform based on a smart city
By collecting, verifying, and segmenting device protocol data, an interoperability protocol is generated, which solves the problem of low data format conversion efficiency of smart city devices and achieves efficient data flow.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-07
- Publication Date
- 2026-03-03
AI Technical Summary
In existing technologies, smart city devices are slow in converting data formats, resulting in low overall progress and affecting the efficiency of data interoperability.
The device acquisition unit collects device protocol data. The integrated management center removes header data and IP addresses, retains the main data, and uses the multi-format device confirmation unit to select matching or non-matching devices. The overlapping parameter confirmation, correction interval confirmation, segmentation comparison and trimming units are used to perform segmented comparison of protocol data to generate interoperability protocols.
It accelerates the data interoperability of devices with different formats, shortens the format conversion process, and increases the data flow rate.
Smart Images

Figure CN116866443B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of Internet of Things (IoT) technology, specifically an IoT integrated management platform based on smart cities. Background Technology
[0002] The Internet of Things (IoT) is an information carrier based on the Internet, traditional telecommunications networks, etc., which enables all ordinary physical objects that can be addressed independently to form an interconnected network.
[0003] Patent application CN113065807A discloses a smart city integrated management system based on an IoT gateway, comprising: a data acquisition layer, a communication transmission layer, a platform management layer, and an application management layer; the data acquisition layer includes: front-end execution devices and data acquisition terminals; the communication transmission layer connects to the data acquisition terminals and integrates the processing of urban management information data; the platform management layer includes: a protocol management module, a data analysis module, a device management module, and a feedback response module; the protocol management module connects to the communication transmission layer, and the data analysis module and device management module connect to the protocol management module to analyze and process urban management information data and monitor the data acquisition terminals and front-end execution devices; the feedback response module provides feedback response information and instructions based on the data analysis results; compared with existing technologies, it can integrate the collection, analysis, and processing of various urban smart management data, integrate multiple management functions, has high management efficiency, and is applicable to a wide range of scenarios.
[0004] When data exchange and conversion are required for devices in smart cities, the data format needs to be converted. First, the category to which the corresponding format belongs needs to be identified, and then the format conversion is performed based on the identified category. This method is slow in terms of efficiency and overall progress when converting data formats. It can easily lead to slow progress in establishing communication architecture among corresponding devices within the Internet of Things, which seriously affects the overall efficiency of data interoperability. Summary of the Invention
[0005] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes an Internet of Things integrated management platform based on smart cities to solve the technical problem of slow efficiency and low overall progress when different format devices are converting data formats.
[0006] To achieve the above objectives, according to an embodiment of the first aspect of the present invention, an integrated Internet of Things (IoT) management platform based on smart cities is proposed, comprising:
[0007] The device acquisition unit is used to collect device protocol data that needs to establish a communication architecture in the Internet of Things, and transmit the collected device protocol data to the integrated management center;
[0008] The integrated management center includes a main data confirmation unit. The main data confirmation unit removes the header data and IP address data from the device protocol data of different devices collected. After removal, the corresponding main data is retained and used as the main protocol data of the corresponding device. The retained main protocol data is then transmitted to the multi-format device confirmation unit.
[0009] The multi-format device confirmation unit selects the corresponding multi-format device from the database. If a matching multi-format device exists, the data is transmitted to the interoperability conversion master terminal; otherwise, it is transmitted to the interoperability conversion secondary terminal. The specific method is as follows:
[0010] Determine the main protocol data of the corresponding device, then confirm the format of the main protocol data of different devices, and label the formats of the two groups of devices as GS1 and GS2 respectively;
[0011] Select multiple format devices that exist in both GS1 and GS2 formats within the device protocol from the database, and transmit the selected multiple format devices to the interoperability conversion master terminal. If no corresponding multiple format device exists, directly execute the interoperability conversion secondary terminal.
[0012] The interoperability conversion master includes an overlap parameter confirmation unit, a correction interval confirmation unit, a segmentation and comparison unit, and a trimming unit. The overlap parameter confirmation unit first selects the best device from several multi-format devices, then uses the best device as a medium to confirm the overlap parameter interval between two different devices, and transmits the confirmed overlap parameter interval to the correction interval confirmation unit. The specific method is as follows:
[0013] From a number of multi-format devices, select the set of multi-format devices that have the highest similarity to the data from two different device formats, and mark this set of multi-format devices as the best device;
[0014] The protocol data within two different devices are compared with those within the optimal device to identify the similarity parameters belonging to different devices, and these parameters are labeled XS1 and XS2 respectively. From the two sets of similarity parameters, the minimum value is identified and labeled XS. min Then confirm another set of similarity values, which is (XS1 + XS2) - 1. The similarity interval between the two different devices is then within XS... min Between (XS1+XS2)-1;
[0015] XS min The overlapping parameter intervals are confirmed by sorting (XS1+XS2)-1 in ascending order and then transmitted to the correction interval confirmation unit.
[0016] The segmentation and comparison unit selects the minimum value within the correction interval and, based on the overall proportion of the minimum value, divides the transmission protocol data of different devices into several micro-segments. Then, it sequentially compares and analyzes the corresponding micro-segments, marks abnormal areas, and transmits the abnormal micro-segments to the trimming unit for trimming. The specific method is as follows:
[0017] Confirm the overall proportion of the minimum value of the correction interval, and divide the transmission protocol data into M micro-segments based on the overall proportion. Prioritize confirming the micro-segments that correspond to the overall proportion, and then take the remaining part that does not meet the overall proportion as the next micro-segment.
[0018] The transmission protocol data corresponding to different devices is divided into M micro-segments, which are then sorted sequentially. Micro-segments belonging to different devices are identified, and those at the same location are format-converted. After conversion, the data is compared to confirm the difference value CY. k Where k = 1, 2, ..., M;
[0019] The comparisons were performed sequentially to confirm the difference value CY. k Each time a difference value appears, a summation process is performed to confirm the merged value. This process continues until the merged value equals the maximum value within the correction interval. At this point, no further calculation or analysis is required. The areas with differences are marked, and the marked abnormal areas are transmitted to the trimming unit.
[0020] Preferably, the trimming unit directly trims the internal format data according to the specific degree of difference in the abnormal area, and transmits the trimmed transmission protocols of the two different devices to the interoperability protocol generation end.
[0021] Preferably, the interoperability protocol generator receives the modified transmission protocol and then generates an interoperability protocol for two devices with different formats by confirming the IP addresses of both parties.
[0022] Preferably, the interoperability conversion sub-end selects the set of data with the smallest main protocol data capacity from two different format data sets and marks it as the format data to be converted; including a first letter locking unit and a last letter locking unit;
[0023] The first letter locking unit locks the first letter of the data to be converted, then confirms the specific number of values in the corresponding format, uses the first letter as the first comparison parameter and the specific number of values as the second comparison parameter, selects the same format data with the same letter and the same number of values from the database, and marks them as data with the same first letter.
[0024] The tail letter locking unit locks the tail letter of the data to be converted, then confirms the specific number of values in the corresponding format. Using the tail letter as the first comparison parameter and the specific number of values as the second comparison parameter, it selects data with the same tail letter and the same number of values from the database and marks them as data with the same tail letter.
[0025] Preferably, the filtering unit filters out identical data from several data with the same first letter and several data with the same last letter, and transmits the filtered identical data to the conversion unit.
[0026] The conversion unit compares the format data to be converted with several consistent data points, confirms that the format data is exactly the same, and then directly converts it based on the format content.
[0027] Compared with the prior art, the beneficial effects of the present invention are as follows: When devices of different formats perform initial data interoperability, it is necessary to initially construct a corresponding circulation architecture system, prioritize the selection of multi-format devices with corresponding formats, and then, based on the selected multi-format devices, confirm the similarity range between two devices of different formats. Based on the similarity range, confirm the difference range. Subsequently, based on the proportion value within the difference range, segment the protocol data, and then perform segment comparison in sequence to identify abnormal areas. When the difference value reaches the proportion value, no processing is required, and the protocol conversion between the two devices is completed. This method is faster and takes less time, making the data interoperability of devices of different formats more efficient in the later stages.
[0028] Subsequently, for devices without multiple formats, the corresponding format data is selected based on the first and last letters before conversion. This method can quickly and effectively filter out the location of the target object, thus speeding up the filtering process, shortening the entire format conversion process, and accelerating the conversion efficiency. Attached Figure Description
[0029] Figure 1 This is a schematic diagram of the principle framework of the present invention. Detailed Implementation
[0030] The technical solution of the present invention will be clearly and completely described below with reference to the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0031] Example 1
[0032] Please see Figure 1This application provides an IoT integrated management platform based on smart cities, including a device acquisition unit, an integrated management center, and an interoperability protocol generation terminal;
[0033] The integrated management center includes a main data confirmation unit, a multi-format device confirmation unit, a database, an interoperability conversion master terminal, and an interoperability conversion secondary terminal. The main data confirmation unit and the database are electrically connected to the input node of the multi-format device confirmation unit. The multi-format device confirmation unit, the interoperability conversion master terminal, and the interoperability conversion secondary terminal are electrically connected to the input node of the interoperability protocol generation terminal.
[0034] The main interconnection conversion terminal includes an overlap parameter confirmation unit, a correction interval confirmation unit, a segmentation comparison unit, and a trimming unit. The overlap parameter confirmation unit, the correction interval confirmation unit, the segmentation comparison unit, and the trimming unit are electrically connected sequentially from the output node to the input node. The secondary interconnection conversion terminal includes a first letter locking unit, a last letter locking unit, a filtering unit, and a conversion unit. The first letter locking unit and the last letter locking unit are electrically connected to the input node of the filtering unit. The filtering unit is electrically connected to the input node of the conversion unit. Both the main interconnection conversion terminal and the secondary interconnection conversion terminal are electrically connected to the input node of the interconnection protocol generation terminal.
[0035] The device acquisition unit is used to collect device protocol data that needs to establish a communication architecture in the Internet of Things (IoT), and transmit the collected device protocol data to the integrated management center. Specifically, the Internet of Things is a network that connects things to each other. When things are connected, they need to communicate with each other.
[0036] The main data confirmation unit inside the integrated management center removes the header data and IP address data from the device protocol data of different devices collected. After removal, the corresponding main data is retained and used as the main protocol data of the corresponding device. The retained main protocol data is then transmitted to the multi-format device confirmation unit.
[0037] When devices with the same format communicate with each other, the corresponding transmission protocol is directly locked. Subsequently, the communication protocol between the two devices is confirmed by comparison based on the transmission protocol, and data communication can be directly carried out. It is simple and fast, without complicated operations.
[0038] The multi-format device confirmation unit selects a corresponding multi-format device from the database. If a matching multi-format device exists, it is transmitted to the interoperability conversion master terminal; if no matching multi-format device exists, it is transmitted to the interoperability conversion secondary terminal. The specific method for selection is as follows:
[0039] Determine the main protocol data of the corresponding device, then confirm the format of the main protocol data of different devices, and label the formats of the two groups of devices as GS1 and GS2 respectively;
[0040] Select multiple format devices that exist in both GS1 and GS2 formats within the device protocol from the database, and transmit the selected multiple format devices to the interoperability conversion master terminal. If no corresponding multiple format device exists, directly execute the interoperability conversion secondary terminal.
[0041] To improve the data flow rate between two devices, this application uses a set of multi-format devices as an intermediate medium. By identifying the most similar multi-format devices based on the similarity between data, and then using these devices as the standard devices for subsequent data flow, the overall data interoperability rate between devices of different formats is improved, and the adjustment and adaptation time is reduced.
[0042] The overlap parameter confirmation unit inside the interconnection conversion master terminal first selects the best device from several multi-format devices, and then uses the best device as a medium to confirm the overlap parameter interval of two different devices, and transmits the confirmed overlap parameter interval to the correction interval confirmation unit. The specific method for confirming the overlap parameter interval is as follows:
[0043] From a number of multi-format devices, select the set of multi-format devices that have the highest similarity to the data from two different device formats, and mark this set of multi-format devices as the best device;
[0044] The protocol data within two different devices are compared with those within the optimal device to identify the similarity parameters belonging to different devices, and these parameters are labeled XS1 and XS2 respectively. From the two sets of similarity parameters, the minimum value is identified and labeled XS. min Then confirm another set of similarity values, which is (XS1 + XS2) - 1. The similarity interval between the two different devices is then within XS... min Between (XS1+XS2)-1, for example: XS1 is 90% and XS2 is 70%, then the maximum similarity between the two devices can only be 70%, and the minimum similarity between the two devices can only be 60%.
[0045] XS min The overlapping parameter intervals are identified by sorting (XS1+XS2)-1 in ascending order and then transmitted to the correction interval confirmation unit.
[0046] The correction interval confirmation unit confirms the overall proportion interval of different transmission protocol data between two different devices based on the confirmed overlapping parameter interval, and marks it as the correction interval, where the correction interval = 1 - overlapping parameter interval, and transmits the confirmed correction interval to the segmentation comparison unit.
[0047] Specifically, assuming the overlap parameter range is 60%-70%, it represents the similarity between the transmission protocols of the two devices. The difference between the transmission protocols of the two devices is between 40%-30%. By directly calculating the difference between these values, we can determine the range of differences in the transmission protocols between different devices, which is the correction range.
[0048] The segmentation and comparison unit selects the minimum value within the correction interval and, based on the overall proportion of the minimum value, segments the transmission protocol data of different devices into several micro-segments. Then, it sequentially compares and analyzes the corresponding micro-segments, marks abnormal areas, and transmits the abnormal micro-segments to the trimming unit for trimming. The specific method for performing the comparison and analysis is as follows:
[0049] First, determine the overall percentage of the minimum value of the correction interval. Then, divide the transmission protocol data into M micro-segments based on the overall percentage. Prioritize the micro-segments that correspond to the overall percentage. Then, take the remaining portion that does not meet the overall percentage as the next micro-segment. Assuming the minimum percentage is 20%, it is one-fifth, so the denominator is 5. Therefore, it can be divided into 5 micro-segments. If it is 30%, then select 3 micro-segments with a percentage of 30% first. Then, mark the remaining portion as the last micro-segment, which is 4 micro-segments.
[0050] The transmission protocol data corresponding to different devices is divided into M micro-segments, which are then sorted sequentially. Micro-segments belonging to different devices are identified, and those at the same location are format-converted. After conversion, the data is compared to confirm the difference value CY. k Where k = 1, 2, ..., M;
[0051] The comparisons were performed sequentially to confirm the difference value CY. k Each time a difference value appears, a summation process is performed to confirm the merged value. This process continues until the merged value equals the maximum value within the correction interval. At this point, no further calculation or analysis is required. The areas with differences are marked, and the marked abnormal areas are transmitted to the trimming unit.
[0052] Specifically, firstly, in order to accelerate the change speed of transmission protocols between two different devices, the protocol is divided into micro-segments with corresponding parameters. After the micro-segments are identified, they are sorted. During the analysis, sorting and comparison process, when the difference between the micro-segments at the front end meets the corresponding conditions, the micro-segments at the back do not need to be format converted and compared. As a result, the conversion rate between the two devices is faster, making the data flow between two devices with different formats faster and more efficient.
[0053] The trimming unit directly trims the internal format data based on the specific degree of difference in the abnormal area, and transmits the trimmed transmission protocols of the two different devices to the interoperability protocol generation end.
[0054] The interoperability protocol generator receives the modified transmission protocol, then generates an interoperability protocol for the two devices with different formats by confirming the IP addresses of both parties, and uses this interoperability protocol to perform data interoperability between the two devices.
[0055] Example 2
[0056] In the specific implementation process of this embodiment, it also includes:
[0057] The interoperability conversion end selects the set of data with the smallest main protocol data size from the two different data formats and marks it as the data to be converted.
[0058] It includes a first letter locking unit and a last letter locking unit. The first letter locking unit locks the first letter of the data to be converted, and then confirms the specific number of values in the corresponding format. The first letter is used as the first comparison parameter, and the specific number of values is used as the second comparison parameter. Data with the same letter and the same number of values are selected from the database and marked as data with the same first letter.
[0059] The tail letter locking unit locks the tail letter of the data to be converted, then confirms the specific number of values in the corresponding format. Using the tail letter as the first comparison parameter and the specific number of values as the second comparison parameter, it selects data with the same tail letter and the same number of values from the database and marks them as data with the same tail letter.
[0060] The filtering unit selects identical data from a number of data with the same first letter and a number of data with the same last letter, and transmits the selected identical data to the conversion unit.
[0061] The conversion unit compares the data to be converted with several consistent data sets, confirms that the data is exactly the same as the format data, and then directly converts it according to the format content. This method is faster and takes less time to convert the format, which speeds up the conversion process, facilitates the flow of data of different formats, and makes the data flow more convenient.
[0062] The data in the above formula are all calculated by removing the dimensions and taking the numerical values. The formula is the closest to the real situation obtained by software simulation of a large amount of collected data. The preset parameters and preset thresholds in the formula are set by those skilled in the art according to the actual situation or obtained through simulation of a large amount of data.
[0063] The above embodiments are only used to illustrate the technical methods of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical methods of the present invention without departing from the spirit and scope of the technical methods of the present invention.
Claims
1. A smart city-based Internet of Things integrated management platform, characterized in that, include: The device acquisition unit is used to collect device protocol data that needs to establish a communication architecture in the Internet of Things, and transmit the collected device protocol data to the integrated management center; The integrated management center includes a main data confirmation unit. The main data confirmation unit removes the header data and IP address data from the device protocol data of different devices collected. After removal, the corresponding main data is retained and used as the main protocol data of the corresponding device. The retained main protocol data is then transmitted to the multi-format device confirmation unit. The multi-format device confirmation unit selects the corresponding multi-format device from the database. If a matching multi-format device exists, it is transmitted to the interoperability conversion master terminal. If no matching multi-format device exists, it is transmitted to the interoperability conversion secondary terminal. The interconnection and conversion master includes an overlap parameter confirmation unit, a correction interval confirmation unit, a segmentation and comparison unit, and a trimming unit. The overlap parameter confirmation unit first selects the best device from several multi-format devices, and then uses the best device as a medium to confirm the overlap parameter interval of two different devices, and transmits the confirmed overlap parameter interval to the correction interval confirmation unit. The correction interval confirmation unit confirms the overall proportion of data with different transmission protocols between two different devices based on the confirmed overlapping parameter interval, and marks it as the correction interval, where the correction interval = 1 - overlapping parameter interval, and transmits the confirmed correction interval to the segmentation comparison unit. The segmentation and comparison unit selects the minimum value from the correction interval and divides the transmission protocol data of different devices into several micro-segments based on the overall proportion of the minimum value. Then, the corresponding micro-segments are compared and analyzed in turn to mark abnormal areas. Finally, the abnormal micro-segments are transmitted to the trimming unit for trimming. 2.The Internet of Things comprehensive management platform based on smart city according to claim 1, wherein, The multi-format device confirmation unit selects the multi-format device in the following specific manner: Determine the main protocol data of the corresponding device, then confirm the format of the main protocol data of different devices, and label the formats of the two groups of devices as GS1 and GS2 respectively; Select multiple format devices that exist in both GS1 and GS2 formats from the database, and transmit the selected multiple format devices to the interoperability conversion master terminal. If no corresponding multiple format device exists, directly execute the interoperability conversion secondary terminal. 3.The comprehensive management platform based on the Internet of Things of the smart city according to claim 2, wherein, The method by which the overlapping parameter confirmation unit confirms the overlapping parameter interval is as follows: From a number of multi-format devices, select the set of multi-format devices that have the highest similarity to the data from two different device formats, and mark this set of multi-format devices as the best device; Comparing two different devices with the protocol data inside the best device, confirming the similarity parameters belonging to different devices, and marking them as XS1 and XS2 respectively, confirming the minimum value from the two groups of similarity parameters, and marking it as XS min , and confirming another group of similarity values, another group of similarity values = (XS1+XS2)-1, wherein the similarity interval of the two different devices is between XS min and (XS1+XS2)-1; XS min and (XS1+XS2)-1 are sorted in ascending order, the coincident reference intervals are identified, and transmitted to the deviation correction interval identification unit. 4.The comprehensive management platform based on the Internet of Things of the smart city according to claim 3, wherein, The segmentation and comparison unit performs sequential comparison and analysis of the corresponding micro-segments in the following manner: Confirm the overall proportion of the minimum value of the correction interval, and divide the transmission protocol data into M micro-segments based on the overall proportion. Prioritize confirming the micro-segments that correspond to the overall proportion, and then take the remaining part that does not meet the overall proportion as the next micro-segment. The transmission protocol data corresponding to different devices are sequentially divided into M micro-segments, sequentially sorted, confirmed to belong to different devices, sorted micro-segments located at the same position are format-converted, and after conversion, data comparison is performed to confirm the difference value CY k wherein k = 1, 2, …, M; The difference values CY are sequentially compared k Each time a difference value appears, summation processing is performed, the merged value is confirmed, and the processing is stopped when the merged value = the maximum value in the correction interval. There is no need for calculation and analysis, the area with the difference is marked, and the marked abnormal area is transmitted to the trimming unit. 5.The comprehensive management platform based on the Internet of Things of the smart city according to claim 4, wherein, The trimming unit directly trims the internal format data based on the specific degree of difference in the abnormal area, and transmits the trimmed transmission protocols of the two different devices to the interoperability protocol generation end. 6.The comprehensive management platform based on the Internet of Things of the smart city according to claim 5, wherein, The interworking protocol generation end receives the modified transmission protocol, and generates the interworking protocol belonging to two different format devices by confirming the IP addresses of both ends. 7.The Internet of Things comprehensive management platform based on smart city according to claim 1, characterized in that, The interworking conversion secondary end selects a group of data with the smallest data capacity of the main protocol from the two different format data, and marks the data as the data to be converted into the format. The first letter locking unit and the last letter locking unit are included. 8.The comprehensive management platform based on the Internet of Things of the smart city according to claim 7, wherein, The first letter locking unit locks the first letter of the data to be converted into the format, confirms the specific number of values of the corresponding format, takes the first letter as the first comparison parameter, takes the specific number of values as the second comparison parameter, selects the same format data with the same letter and the same specific number of values from the database, and marks the data as the same first letter data. The last letter locking unit locks the last letter of the data to be converted into the format, confirms the specific number of values of the corresponding format, takes the last letter as the first comparison parameter, takes the specific number of values as the second comparison parameter, selects the same format data with the same letter and the same specific number of values from the database, and marks the data as the same last letter data. 9.The comprehensive management platform based on the Internet of Things of the smart city according to claim 8, wherein, The screening unit screens the consistent data from the several same first letter data and the several same last letter data, and transmits the screened several consistent data to the conversion unit. The conversion unit compares the data to be converted into the format with the several consistent data, confirms the format data completely the same as the data to be converted into the format, and directly converts the format content.
Citation Information
Patent Citations
Multi-source heterogeneous data fusion method applied to smart city
CN111885643A
Smart city integrated management system based on Internet of Things gateway
CN113065807A