A hyper-converged IoT middle platform system

By designing a hyper-converged IoT middle platform system, integrating rule engines and data visual management, the management dispersion and low security of traditional IoT management systems is solved, comprehensive and efficient management of IoT devices and applications is achieved, and the system is improved security and user experience.

CN118764360BActive Publication Date: 2025-01-03GUANGZHOU RONGLIANZHI INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411253090.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2025-01-03
Estimated Expiration
2044-09-09

AI Technical Summary

Technical Problem

Traditional IoT management systems have problems such as dispersed management, inconsistent data, and low system security. They are difficult to meet the diverse management needs of IoT devices and applications, and cannot provide comprehensive, efficient and reliable management solutions.

Method used

A hyper-converged IoT middle platform system was designed, integrating rules engines and data visualization management, providing flexible permission level management and control APIs, quickly developing upper-level applications through APIs, realizing multi-terminal access and remote device control, and unified management of the Internet of Things Devices and applications, including device management, gateway management, packet management, certificate management, application management and user management modules, ensure data synchronization and system security.

Benefits of technology

It realizes the full process management from devices, gateways, packets, certificates, and applications to users, provides efficient management, real-time and accuracy of data, system security and user-friendly interface, and improves the efficiency and level of the Internet of Things management system. Healthy development provides support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764360B_ABST
    Figure CN118764360B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of Internet of Things technology, and in particular to a hyper-converged Internet of Things mid-stage system, including: a device management module, a gateway management module, a group management module, a certificate management module, an application management module, a user management module and a database; the device management module is used to manage the registration, update, deletion and query operations of Internet of Things devices; the gateway management module is used to manage the registration, update, deletion and query operations of gateways; the group management module is used to manage the creation, update, deletion and query operations of device groups; the certificate management module is used to manage the application, issuance, revocation and query operations of certificates; the application management module is used to manage the registration, update, deletion and query operations of applications; the user management module is used to manage the registration, authentication, update, deletion and query operations of users; the database is used to store the data of each module. The present invention can improve the efficiency and level of Internet of Things management, and provide support and guarantee for the healthy development of the Internet of Things.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to a hyper-converged Internet of Things middle platform system. Background Art

[0002] With the rapid development of IoT technology, more and more devices are connected to the network and widely used. However, traditional IoT management systems have many problems, such as decentralized management, inconsistent data, and low system security. Existing technologies are difficult to meet the diverse management needs of IoT devices and applications, and cannot provide comprehensive, efficient, and reliable IoT management solutions. Therefore, a new IoT management system is urgently needed to solve the above problems. The hyper-converged IoT middleware system aims to provide a universal platform that supports multiple devices and protocols and simplifies the complexity of device management and data processing. Summary of the invention

[0003] The purpose of the present invention is to provide a hyper-converged IoT middle-end system, which integrates a rule engine and data visualization management, flexibly opens management and control APIs with multiple permission levels, quickly develops upper-level applications through APIs, realizes multi-terminal access and remote control of devices, and realizes comprehensive management and efficient control of IoT devices and applications through a unified platform, providing efficient, secure and reliable IoT solutions.

[0004] To achieve the above object, the present invention provides the following solutions:

[0005] A hyper-converged IoT middle platform system, comprising: a device management module, a gateway management module, a group management module, a certificate management module, an application management module, a user management module and a database;

[0006] The device management module is used to manage the registration, update, deletion and query operations of IoT devices;

[0007] The gateway management module is used to manage the registration, update, deletion and query operations of the gateway;

[0008] The group management module is used to manage the creation, update, deletion and query operations of device groups;

[0009] The certificate management module is used to manage the application, issuance, revocation and query operations of certificates;

[0010] The application management module is used to manage the registration, update, deletion and query operations of applications;

[0011] The user management module is used to manage user registration, authentication, update, deletion and query operations;

[0012] The database is used to store data of the device management module, gateway management module, group management module, certificate management module, application management module, and user management module.

[0013] Optionally, the device management module includes: a new device creation unit, a device status monitoring unit, and a device data acquisition unit;

[0014] The newly created device unit is used to obtain and verify device information, save the verified device information to the database, return a message of successful device creation and assign a device identifier;

[0015] The device status monitoring unit is used to regularly collect device status data, determine the device status based on the device status data, alarm if there is an abnormality in the device status, and save the device status to a database;

[0016] The device data acquisition unit is used to regularly acquire device sensor data, and save the device sensor data into a database after processing.

[0017] Optionally, the gateway management module includes: a gateway registration unit, a gateway configuration unit, a gateway monitoring unit, and a gateway communication management unit;

[0018] The gateway registration unit is used to receive gateway information and a registration application, insert the gateway information into the database, and return a gateway registration success message;

[0019] The gateway configuration unit is used to receive and verify the gateway configuration information, apply the verified gateway configuration information to the gateway device and save it to the database;

[0020] The gateway monitoring unit is used to regularly collect gateway status data, determine the gateway status based on the gateway status data, alarm if there is an abnormality in the gateway status, and save the gateway status to a database;

[0021] The gateway communication management unit is used to manage the gateway communication protocol, communication parameters, communication requests, communication data, and generate communication logs and save them in a database.

[0022] Optionally, the group management module includes: creating a group unit, updating a group unit, deleting a group unit, and querying a group unit;

[0023] The group creation unit is used to receive and verify the group information, save the verified group information to the database, return a group creation success message and assign a group identifier;

[0024] The group update unit is used to receive the group identifier and the new group information, and after the new group information is verified, update the new group information to the database according to the group identifier and return a group update success message;

[0025] The group deletion unit is used to receive the group identifier, verify the existence of the group identifier, delete the group identifier and its corresponding group information from the database, and return a group deletion success message;

[0026] The query grouping unit is used to receive a grouping identifier, retrieve corresponding grouping information from a database according to the grouping identifier, and return the information.

[0027] Optionally, the certificate management module includes: a certificate application unit and a certificate verification unit;

[0028] The certificate application unit is used to receive and verify the certificate application information, generate a certificate application record based on the verified certificate application information, and return an application reception confirmation message;

[0029] The certificate verification unit is used to receive a certificate verification request, check the certificate status and validity period and return a certificate verification result.

[0030] Optionally, the application management module includes: an application registration unit, an application update unit, and an application status monitoring unit;

[0031] The application registration unit is used to receive and verify application information, save the verified application information into a database, return an application registration success message and assign an application identifier;

[0032] The application updating unit is used to receive the application identification and the new application information, and after the new application information is verified, update the new application information to the database according to the application identification, and return an application update success message;

[0033] The application status monitoring unit is used to regularly collect application status data, determine the application status based on the application status data, alarm if there is an abnormality in the application status, and save the application status to a database.

[0034] Optionally, the user management module includes: a user registration unit, a user login unit, a user authority management unit, and a user information updating unit;

[0035] The user registration unit is used to receive and verify user information, save the verified user information into a database, return a user registration success message and assign a user ID;

[0036] The user login unit is used to receive user login information, verify the user login information based on user information in the database, and return a login success message if the verification is successful;

[0037] The user rights management unit is used to receive the user identification and new rights information, and after the new rights information is verified, update the new rights information to the database according to the user identification, and return a rights management success message;

[0038] The user information updating unit is used to receive a user identification and new user information, and after the new user information is verified, update the new user information to the database according to the user identification, and return a user information update success message.

[0039] Optionally, the database interacts with each module using a Mapper interface, wherein the device management module interacts with the database through the device interface, the gateway management module interacts with the database through the gateway interface, the group management module interacts with the database through the group interface, the certificate management module interacts with the database through the certificate interface, the application management module interacts with the database through the application interface, and the user management module interacts with the database through the user interface.

[0040] The beneficial effects of the present invention are:

[0041] The hyper-converged IoT middleware system provided by the present invention realizes the whole process management from devices, gateways, groups, certificates, applications to users, and has the following advantages: (1) Efficient management: modular design realizes comprehensive management of IoT devices and applications; (2) Data synchronization: each module realizes data synchronization with the database through the Mapper interface to ensure the real-time and accuracy of the data; (3) Security and reliability: the security of the system is guaranteed by the authentication and authorization modules; (4) Log recording: the system operation log and message log are fully recorded to facilitate system operation and maintenance and troubleshooting; (5) User-friendly: provides a friendly user interface and efficient user management function.

[0042] In summary, the present invention improves the efficiency and level of the Internet of Things management system through a modern software architecture and an efficient management mechanism, and provides strong support and guarantee for the healthy development of the Internet of Things system. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 The present invention is a schematic diagram of the structure of a hyper-converged IoT middle platform system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0047] This embodiment provides a hyper-converged IoT middle platform system, such as Figure 1 As shown, it includes: device management module, gateway management module, group management module, certificate management module, application management module and user management module;

[0048] The device management module is mainly used to manage the registration, update, deletion and query operations of IoT devices; the gateway management module is used to manage the registration, update, deletion and query operations of gateways; the group management module is used to manage the creation, update, deletion and query operations of device groups; the certificate management module is used to manage the application, issuance, revocation and query operations of certificates; the application management module is used to manage the registration, update, deletion and query operations of applications; the user management module is used to manage the registration, authentication, update, deletion and query operations of users.

[0049] This system provides basic device management functions to connect and manage massive devices, realize device message communication and data collection persistence; integrate rule engine and data visualization management, flexibly open management and control application programming interface API with multiple permission levels, and quickly develop upper-level applications through API to realize multi-terminal access and remote control of devices. The system covers multiple functional modules such as device management, gateway management, group management, certificate management, application management and user management. Through this system, the diverse needs of device connection and management can be met, providing enterprises with efficient and comprehensive device management solutions.

[0050] The following is a detailed description of each module in the hyper-converged IoT platform system:

[0051] 1. Equipment management module;

[0052] The device service interface, i.e., the DeviceServiceI interface, and the device service implementation class, DeviceServiceImpl, implement device management functions, including operations such as adding, deleting, modifying, and querying devices. Device data interacts with the database through the device interface, DeviceMapper, to ensure the real-time and accuracy of data. It is responsible for managing the registration, status monitoring, data collection, and remote control of IoT devices. Its main functions include creating new devices, monitoring device status, and collecting device data.

[0053] The equipment management module includes: new equipment unit, equipment status monitoring unit, and equipment data acquisition unit;

[0054] 1) New device unit: used to obtain device information and verify it, save the verified device information to the database, return a message of successful device creation and assign a device ID;

[0055] Specifically, the new device unit receives device information, such as device number, connection user name, device key, and creates a new device; calls the device verification method DeviceValidator.validate(deviceInfo) to verify the legitimacy and integrity of the device information, by accepting a device information object deviceInfo, performing field verification, and then submitting it to the database to check whether it exists and then returning the verification result; calls the device data saving method DeviceRepository.save(deviceInfo) to save the device information to the device management database; returns a device creation success message and generates a unique device identifier.

[0056] 2) Equipment status monitoring unit, which is used to regularly collect equipment status data, judge the equipment status based on the equipment status data, alarm if there is any abnormality in the equipment status, and save the equipment status to the database;

[0057] Specifically, the device status monitoring unit periodically collects current status data from the device, calls the device status data collection method DeviceDataCollector.collectStatus(deviceId) to collect the current status data currentStatus of the specified device to be monitored regularly; after collecting the status data, calls the status comparison method StatusComparator.compare(currentStatus, normalParams) to compare the current device status data currentStatus with the normal working parameters normalParams; if the device status is abnormal, the alarm mechanism is triggered, otherwise the device data update method DeviceStatusRepository.update(deviceId,currentStatus) is called to update the device status database and store the current status data of this device in the status database.

[0058] 3) Equipment data collection unit, used to regularly collect equipment sensor data, process the equipment sensor data and save it to the database;

[0059] Specifically, the device data collection unit periodically reads sensor data from the device, calls the device data collection method DeviceDataCollector.collect(deviceId) to collect the sensor data rawData of the device that is regularly monitored; calls the data parsing method DataParser.parse(rawData) to parse the device data through an algorithm and format it into standard data parsedData; calls the device data saving method DataRepository.save(deviceId, parsedData) to store the parsed device data into the data collection database.

[0060] 2. Gateway management module;

[0061] The gateway management function is implemented through the gateway service interface, i.e., GatewayServiceI interface, and the gateway service implementation class, GatewayServiceImpl, including gateway addition, deletion, modification, and query operations. Gateway data interacts with the database through the gateway interface, GatewayMapper, to ensure the real-time and accuracy of the data. It is responsible for managing the registration, configuration, status monitoring, and data forwarding functions of IoT gateway devices. Its main functions include gateway registration, gateway configuration, gateway monitoring, and gateway communication management.

[0062] The gateway management module includes: a gateway registration unit, a gateway configuration unit, a gateway monitoring unit, and a gateway communication management unit;

[0063] 1) The gateway registration unit is used to receive gateway information and registration application, insert the gateway information into the database, and return a gateway registration success message;

[0064] Specifically, the user fills in the gateway information through the front-end interface and submits a registration request; after receiving the request, the back-end calls the gateway registration method GatewayServiceI.registerGateway(gatewayInfo) and passes the gateway information to the GatewayServiceImpl implementation class; GatewayServiceImpl calls the gateway information insertion method GatewayMapper.insertGateway(gatewayInfo) to insert the gateway information into the database; after the database is successfully inserted, a registration success message is returned to the front-end.

[0065] 2) Gateway configuration unit, used to receive and verify gateway configuration information, apply the verified gateway configuration information to the gateway device and save it to the database;

[0066] Specifically, the gateway configuration unit receives gateway configuration information, such as IP address, port number, protocol type, etc.; calls the gateway information verification method GatewayValidator.validate(gatewayInfo) to verify the legitimacy of the configuration information, and checks the fields of the gateway configuration information gatewayInfo to determine whether the received information conforms to the standard format; calls the gateway configuration method GatewayConfigurator.apply(gatewayInfo) to apply the configuration information to the gateway device, and the specific steps include configuring the IP address and port number, setting the communication protocol type and other necessary parameters; calls the gateway information saving method GatewayRepository.save(gatewayInfo) to save the configuration information to the gateway management database, so that the background can manage the communication between each gateway device through the gateway management database.

[0067] 3) Gateway monitoring unit, which is used to regularly collect gateway status data, judge the gateway status based on the gateway status data, alarm if there is an abnormality in the gateway status, and save the gateway status to the database;

[0068] Specifically, the gateway monitoring unit periodically obtains the gateway operation status data, calls the gateway status monitoring method GatewayDataCollector.collectStatus(gatewayId) to obtain the operation status data currentStatus of the gateway device provided by the regular monitoring; after obtaining the gateway operation status data, calls the status comparison method StatusComparator.compare(currentStatus, normalParams) to check the connection status and data transmission status of the gateway; if all status data are consistent with the normal status data, it means that the gateway device is operating normally, otherwise the operation is abnormal and the alarm mechanism is triggered; after confirming that the gateway device status is normal, call the gateway status update method GatewayStatusRepository.update(gatewayId, currentStatus) to update the gateway status to the monitoring database.

[0069] 4) Gateway communication management unit, used to manage gateway communication protocols, communication parameters, communication requests, communication data, and generate communication logs and save them to the database;

[0070] Specifically, the gateway communication management unit determines the gateway communication protocol and parameters, calls the gateway communication management method CommunicationProtocolManager.getConfig(gatewayId), receives a gateway ID information, queries the configuration information corresponding to the gateway ID from the database, and returns the configuration information configData; processes the communication request between the gateway and other devices or systems, calls the gateway communication request processing method CommunicationHandler.handle(request), receives a request, parses the request, and extracts necessary information, such as request type, target device, operation parameters, etc.; ensures the security and integrity of the communication data, after extracting the request information, it is necessary to verify the information, and verifies the format and scope of the request information by calling the security service verification method SecurityService.verifyAndEncrypt(request), that is, verifies its legitimacy; records the communication log, and calls the gateway communication log recording method CommunicationLogRepository.save(gatewayId, logData) to record the log information of the request and response, so as to facilitate subsequent auditing and troubleshooting.

[0071] 3. Group management module;

[0072] The group management function is implemented through the group service interface, GroupServiceI interface, and the group service internship class GroupServiceImpl. The group data interacts with the database through the group interface GroupMapper to ensure the real-time and accuracy of the data. It is used to manage IoT devices in groups and supports group creation, modification, deletion, and query operations. Including creating groups, updating groups, deleting groups, and querying group information.

[0073] The group management module includes: creating group units, updating group units, deleting group units, and querying group units;

[0074] 1) Create a grouping unit to receive and verify grouping information, save the verified grouping information to the database, return a group creation success message and assign a group identifier;

[0075] Specifically, receive the group information; call the group information validation method GroupValidator.validate(groupInfo) to verify the legitimacy of the group information by checking the received groupInfo field information; call the group information saving method GroupRepository.save(groupInfo) to store the group information into the database; and return a creation success message.

[0076] 2) Update grouping unit, used to receive group identification and new grouping information. After the new grouping information is verified, the new grouping information is updated to the database according to the group identification, and a grouping update success message is returned;

[0077] Specifically, the update grouping unit receives the group ID and new group information; calls the group information validation method GroupValidator.validate(groupInfo) to verify the new group information; calls the group information update method GroupRepository.update(groupId, groupInfo) to update the group record corresponding to the group ID in the database, and then returns an update success message.

[0078] 3) A group deletion unit is used to receive a group identifier, verify the existence of the group identifier, delete the group identifier and its corresponding group information from the database, and return a group deletion success message;

[0079] Specifically, receive the group ID; call the group information query method GroupRepository.findById(groupId) to check whether the group ID exists, mainly by comparing the received groupId with the groupId in the database. If it exists, the next step of deletion can be performed. If it does not exist, an error is reported; call the group information deletion method GroupRepository.delete(groupId) to delete the group record from the database; return a deletion success message.

[0080] 4) A query grouping unit, which is used to receive a grouping identifier, retrieve corresponding grouping information from a database according to the grouping identifier, and return the information;

[0081] Specifically, a group ID is received; a group information query method GroupRepository.findById(groupId) is called to retrieve group information corresponding to the received group ID from the database; and the group information is returned.

[0082] 4. Certificate management module;

[0083] The certificate management function is implemented through the certificate service interface, namely the CertificateServiceI interface and the certificate service implementation class CertificateServiceImpl. The certificate data interacts with the database through the certificate interface CertificateMapper to ensure the real-time and accuracy of the data. Responsible for managing the certificates of IoT devices and gateways, including certificate application, issuance and query functions. Including certificate application, certificate verification and device binding.

[0084] The certificate management module includes: certificate application unit and certificate verification unit;

[0085] 1) The certificate application unit is used to receive and verify the certificate application information, generate a certificate application record based on the verified certificate application information, and return an application receipt confirmation message;

[0086] Specifically, receive the certificate application information; call the certificate verification method CertificateValidator.validate(certInfo) to verify the legitimacy of the application information field; call the certificate information saving method CertificateRepository.save(certInfo) to generate a certificate application record and save it to the database; return the application reception confirmation message.

[0087] 2) Certificate verification unit, used to receive certificate verification requests, check certificate status and validity period and return certificate verification results;

[0088] Specifically, receive the certificate verification request; call the certificate query method CertificateRepository.findById(certId), check the certificate status and validity period by comparing with the certificate application record in the database; return the certificate verification result; bind the device after successful verification.

[0089] 5. Application management module;

[0090] The application management function is realized through the application service interface, namely ApplicationServiceI interface and the application service implementation class ApplicationServiceImpl. The application data interacts with the database through the application interface ApplicationMapper to ensure the real-time and accuracy of the data. Responsible for managing IoT applications, including application registration, configuration, status monitoring and data processing functions.

[0091] The application management module includes: an application registration unit, an application update unit, and an application status monitoring unit;

[0092] 1) Application registration unit, used to receive and verify application information, save the verified application information into the database, return a successful application registration message and assign an application identifier;

[0093] Specifically, receive detailed application information, such as application name, developer, version, etc.; call the application information verification method ApplicationValidator.validate(appInfo) to verify the legitimacy of the application information field; call the application information saving method ApplicationRepository.save(appInfo) to store the application information in the application management database; return a successful application registration message.

[0094] 2) An application update unit, which is used to receive an application identifier and new application information. After the new application information is verified, the new application information is updated to the database according to the application identifier, and a successful application update message is returned;

[0095] Specifically, the application update unit receives the application ID and new application information; calls the application information validation method ApplicationValidator.validate(appInfo) to verify the application field information to be updated; calls the application information update method ApplicationRepository.update(appId, appInfo) to update the application record in the database with the received application ID; and returns an application update success message.

[0096] 3) An application status monitoring unit, which is used to regularly collect application status data, determine the application status based on the application status data, generate an alarm if there is an abnormality in the application status, and save the application status to a database;

[0097] Specifically, the application status monitoring unit periodically obtains the running status data of the application, calls the application status collection method ApplicationDataCollector.collectStatus(appId) to periodically obtain the current running status data currentStatus of the specified application; calls the data comparison method StatusComparator.compare(currentStatus,normalParams) to compare the obtained application status data currentStatus with the normal running status data to check the performance indicators and health status of the application. If an abnormality is found, the alarm mechanism is triggered; calls the application status update method ApplicationStatusRepository.update(appId, currentStatus) to update the application status of the application to the monitoring database.

[0098] 6. User management module;

[0099] The user management function is implemented through the user service interface, namely the UserServiceI interface and the user service implementation class UserServiceImpl. The user data interacts with the database through the user interface UserMapper to ensure the real-time and accuracy of the data. It is responsible for managing the information of system users, including user registration, authentication, information management and authority allocation.

[0100] The user management module includes: user registration unit, user login unit, user authority management unit, and user information update unit;

[0101] 1) User registration unit, used to receive and verify user information, save the verified user information into the database, return a user registration success message and assign a user ID;

[0102] Specifically, the user registration unit receives user registration information, such as user name, password, email address, etc.; calls the user information verification method UserValidator.validate(userInfo) to verify the legitimacy of the user information field; calls the user information saving method UserRepository.save(userInfo) to store the user information into the user management database; and returns a user registration success message.

[0103] 2) A user login unit, configured to receive user login information, verify the user login information based on user information in a database, and return a login success message if the verification is successful;

[0104] Specifically, the user login unit receives user login credentials, including user name and password; calls the user information query method UserRepository.findByUsername(credentials.username) to obtain user information from the user database; calls the password verification method PasswordValidator.validate(credentials.password, userInfo.passwordHash) to verify whether the received password is consistent with the password used to register the user information. If the verification passes, enter the user operation interface; returns a login success message and session information.

[0105] 3) User authority management unit, used to receive user identification and new authority information. After the new authority information is verified, the new authority information is updated to the database according to the user identification and a authority management success message is returned;

[0106] Specifically, the user permission management unit receives the user ID and new permission information; calls the permission verification method PermissionValidator.validate(permissions) to verify the legitimacy of the updated permission information field; calls the permission update method PermissionRepository.update(userId, permissions) to update the user permissions corresponding to the user ID to the permission management database; and returns a permission management success message.

[0107] 4) User information update unit, used to receive the user identification and new user information, and after the new user information is verified, update the new user information to the database according to the user identification, and return a message of successful user information update;

[0108] Specifically, the user information update unit receives a user information update request, including a user ID and new information; calls a user information verification method UserValidator.validate(newInfo) to verify the legitimacy of the update request field; calls a user information update method UserRepository.update(userId, newInfo) to update the user information corresponding to the user ID to the user management database; and returns a user information update success message.

[0109] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. A hyper-converged IoT middle platform system, characterized in that: include: Device management module, gateway management module, group management module, certificate management module, application management module, user management module and database; The device management module is used to manage the registration, update, deletion and query operations of IoT devices; The gateway management module is used to manage the registration, update, deletion and query operations of the gateway; The group management module is used to manage the creation, update, deletion and query operations of device groups; The certificate management module is used to manage the application, issuance, revocation and query operations of certificates; The application management module is used to manage the registration, update, deletion and query operations of applications; The user management module is used to manage user registration, authentication, update, deletion and query operations; The database is used to store data of the device management module, gateway management module, group management module, certificate management module, application management module, and user management module; The gateway management module includes: a gateway registration unit, a gateway configuration unit, a gateway monitoring unit, and a gateway communication management unit; The gateway registration unit is used to receive gateway information and registration application, insert the gateway information into the database, and return a gateway registration success message, including: the user fills in the gateway information through the front-end interface and submits the registration request; after the back-end receives the request, it calls the gateway registration method GatewayServiceI.registerGateway(gatewayInfo) to pass the gateway information to the GatewayServiceImpl implementation class; GatewayServiceImpl calls the gateway information insertion method GatewayMapper.insertGateway(gatewayInfo) to insert the gateway information into the database; after the database is successfully inserted, it returns a registration success message to the front-end; The gateway configuration unit is used to receive and verify the gateway configuration information, apply the verified gateway configuration information to the gateway device and save it to the database, including: receiving the gateway configuration information; calling the gateway information verification method GatewayValidator.validate(gatewayInfo) to verify the legitimacy of the configuration information, and checking the fields of the gateway configuration information gatewayInfo to determine whether the received information conforms to the standard format; calling the gateway configuration method GatewayConfigurator.apply(gatewayInfo) to apply the configuration information to the gateway device, and calling the gateway information saving method GatewayRepository.save(gatewayInfo) to save the configuration information to the gateway management database; The gateway monitoring unit is used to periodically collect gateway status data, determine the gateway status based on the gateway status data, alarm if the gateway status is abnormal, and save the gateway status to the database, including: periodically obtaining gateway operation status data, calling the gateway status monitoring method GatewayDataCollector.collectStatus(gatewayId) to obtain the operation status data currentStatus of the gateway device provided by the periodic monitoring; after obtaining the gateway operation status data, calling the status comparison method StatusComparator.compare(currentStatus,normalParams) to check the connection status and data transmission status of the gateway; if all status data are consistent with the normal status data, it means that the gateway device is operating normally, otherwise the operation is abnormal and the alarm mechanism is triggered; after confirming that the gateway device status is normal, calling the gateway status update method GatewayStatusRepository.update(gatewayId,currentStatus) to update the gateway status to the monitoring database; The gateway communication management unit is used to manage the gateway communication protocol, communication parameters, communication requests, and communication data, and generate communication logs and save them in a database, including: determining the gateway communication protocol and parameters, calling the gateway communication management method CommunicationProtocolManager.getConfig(gatewayId), receiving a gateway ID information, querying the configuration information corresponding to the gateway ID from the database, and returning the configuration information configData; processing the communication request between the gateway and other devices or systems, calling the gateway communication request processing method CommunicationHandler.handle(request), receiving a request, parsing the request, and extracting necessary information; ensuring the security and integrity of the communication data, after extracting the request information, it is necessary to verify the information, and verify the format and range of the request information by calling the security service verification method SecurityService.verifyAndEncrypt(request), that is, verifying its legitimacy; recording the communication log, calling the gateway communication log recording method CommunicationLogRepository.save(gatewayId,logData) to record the log information of the request and response; The certificate management module includes: a certificate application unit and a certificate verification unit; The certificate application unit is used to receive and verify certificate application information, generate a certificate application record based on the verified certificate application information, and return an application reception confirmation message, including: receiving certificate application information; calling the certificate verification method CertificateValidator.validate(certInfo) to verify the legitimacy of the application information field; calling the certificate information saving method CertificateRepository.save(certInfo) to generate a certificate application record and save it to a database; returning an application reception confirmation message; The certificate verification unit is used to receive a certificate verification request, check the certificate status and validity period and return the certificate verification result, including: receiving a certificate verification request; calling the certificate query method CertificateRepository.findById(certId), checking the certificate status and validity period by comparing with the certificate application record in the database; returning the certificate verification result; binding the device after successful verification; The application management module includes: an application registration unit, an application update unit, and an application status monitoring unit; The application registration unit is used to receive and verify application information, save the verified application information into a database, return a successful application registration message and assign an application identifier, including: receiving application detailed information; calling an application information verification method ApplicationValidator.validate(appInfo) to verify the legitimacy of the application information field; calling an application information saving method ApplicationRepository.save(appInfo) to store the application information into an application management database; and returning a successful application registration message; The application update unit is used to receive the application identifier and the new application information, and after the new application information is verified, update the new application information to the database according to the application identifier, and return a successful application update message, including: receiving the application ID and the new application information; calling the application information verification method ApplicationValidator.validate(appInfo) to verify the application field information to be updated; calling the application information update method ApplicationRepository.update(appId, appInfo) to update the application record in the database with the received application ID; returning a successful application update message; The application status monitoring unit is used to periodically collect application status data, determine the application status based on the application status data, alarm if there is an abnormality in the application status, and save the application status to the database, including: periodically obtaining the application's running status data, calling the application status collection method ApplicationDataCollector.collectStatus(appId) to periodically obtain the current running status data currentStatus of the specified application; calling the data comparison method StatusComparator.compare(currentStatus, normalParams) to compare the obtained application status data currentStatus with the normal running status data to check the performance indicators and health status of the application, and if an abnormality is found, trigger an alarm mechanism; calling the application status update method ApplicationStatusRepository.update(appId, currentStatus) to update the application status of the application to the monitoring database.

2. The hyper-converged IoT middle platform system according to claim 1 is characterized in that: The equipment management module includes: a new equipment unit, an equipment status monitoring unit, and an equipment data acquisition unit; The newly created device unit is used to obtain and verify device information, save the verified device information to the database, return a message of successful device creation and assign a device identifier; The device status monitoring unit is used to regularly collect device status data, determine the device status based on the device status data, alarm if there is an abnormality in the device status, and save the device status to a database; The device data acquisition unit is used to regularly acquire device sensor data, and save the device sensor data into a database after processing.

3. The hyper-converged IoT middle platform system according to claim 1 is characterized in that: The group management module includes: creating a group unit, updating a group unit, deleting a group unit, and querying a group unit; The group creation unit is used to receive and verify the group information, save the verified group information to the database, return a group creation success message and assign a group identifier; The group update unit is used to receive the group identifier and the new group information, and after the new group information is verified, update the new group information to the database according to the group identifier and return a group update success message; The group deletion unit is used to receive the group identifier, verify the existence of the group identifier, delete the group identifier and its corresponding group information from the database, and return a group deletion success message; The query grouping unit is used to receive a grouping identifier, retrieve corresponding grouping information from a database according to the grouping identifier, and return the information.

4. The hyper-converged IoT middle platform system according to claim 1 is characterized in that: The user management module includes: a user registration unit, a user login unit, a user authority management unit, and a user information update unit; The user registration unit is used to receive and verify user information, save the verified user information into a database, return a user registration success message and assign a user ID; The user login unit is used to receive user login information, verify the user login information based on user information in the database, and return a login success message if the verification is successful; The user rights management unit is used to receive the user identification and new rights information, and after the new rights information is verified, update the new rights information to the database according to the user identification, and return a rights management success message; The user information updating unit is used to receive a user identification and new user information, and after the new user information is verified, update the new user information to the database according to the user identification, and return a user information update success message.

5. The hyper-converged IoT middle platform system according to any one of claims 1 to 4, characterized in that: The database interacts with each module using a Mapper interface, wherein the device management module interacts with the database through a device interface, the gateway management module interacts with the database through a gateway interface, the group management module interacts with the database through a group interface, the certificate management module interacts with the database through a certificate interface, the application management module interacts with the database through an application interface, and the user management module interacts with the database through a user interface.