Data reporting method and system
By setting up a proxy host between the client and the cloud, one-way access data transmission is achieved, which solves the problems of untimely transmission of equipment information and potential security risks in traditional service support methods, and improves the safety and reliability of the equipment to be monitored.
Patent Information
- Application Number
- CN202111274500.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-10-29
AI Technical Summary
The traditional service support method has problems such as untimely transmission of device information and potential security risks during fault handling. Especially when the device is connected to the cloud platform, the Restful interface and CLI interface of the device are exposed to the external network, resulting in the security and reliability of the device. Poor.
By setting up a proxy host between the client and the cloud, a one-way access session is established, and the information of the equipment to be monitored is collected regularly and reported to the cloud to ensure the security and reliability of data transmission and prevent the cloud from accessing the proxy host and equipment.
It effectively improves the safety and reliability of the equipment to be monitored on the customer side, avoids security risks caused by the equipment being connected to the cloud platform for management, and enables timely reporting, analysis and processing of equipment information.
Smart Images

Figure CN114189552B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and more specifically, to a data reporting method and system. Background Art
[0002] With the large-scale delivery and use of IT products such as storage and servers, customers have an increasingly strong demand for improving fault handling efficiency. The traditional service support method is full manual local service. In the fault discovery stage, technical service personnel face the challenges of delayed problem discovery and inadequate information transmission.
[0003] In order to solve the above problems, the cloud platform is currently used to collect device information; that is, the cloud platform monitors the customer's device alarms in real time, and when an alarm is generated, it will automatically report the alarm to the cloud and create a corresponding service request form. The service engineer will promptly assist the customer to solve the problem. However, this method requires the device to be managed by the cloud platform. However, when the device is connected to the external network, the device's Restful interface and CLI interface are exposed to the external network. This operation has great security risks, which in turn leads to poor security and reliability of the customer's equipment. Summary of the invention
[0004] The object of the present invention is to provide a data reporting method and system, which can effectively improve the security and reliability of equipment to be monitored on the client side.
[0005] In order to achieve the above object, the present invention provides the following technical solutions:
[0006] A data reporting method, comprising:
[0007] The proxy host establishes a session with the cloud to achieve data transmission to the cloud based on the established session; wherein the established session only allows the proxy host to access the cloud in one direction;
[0008] The proxy host periodically collects device information of the connected client-side device to be monitored, and obtains corresponding data to be reported based on the currently collected device information;
[0009] The proxy host reports the data to be reported to the cloud, so that corresponding personnel can obtain the data to be reported from the cloud to perform corresponding analysis and processing.
[0010] Preferably, the proxy host establishes a session with the cloud, including:
[0011] The proxy host sends the user information of the currently logged-in user to the cloud, and the cloud verifies the currently received user information. If the verification is successful, the access of the proxy host is allowed to establish a session with the proxy host. Otherwise, the access of the proxy host is denied.
[0012] Preferably, after the proxy host reports the data to be reported to the cloud, it further includes:
[0013] The cloud obtains the host information of the proxy host carried in the data to be reported, verifies the obtained host information, and saves the data to be reported if the verification is successful, otherwise, discards the data to be reported.
[0014] Preferably, after the proxy host establishes a session with the cloud, the process further includes:
[0015] The cloud monitors the session with the proxy host in real time, and if the duration of the session has reached a preset duration, the access of the proxy host is denied.
[0016] Preferably, before the proxy host establishes a session with the cloud, the process further includes:
[0017] The proxy host sends the user information of the user who needs to register to the cloud, and the cloud verifies the currently received user information. If the verification is successful, the cloud feeds back information indicating that the user information verification is successful. Otherwise, the registration of the proxy host is rejected.
[0018] After the proxy host receives the information that the user information has been verified, the host information of the proxy host is sent to the cloud. The cloud verifies the currently received host information. The proxy host periodically queries the result of the verification of the corresponding host information from the cloud. When the verification of the corresponding host information is found to be passed, the registration success status is saved. Otherwise, it is determined that the registration cannot be achieved.
[0019] Preferably, the cloud verifies the corresponding host information before the proxy host is successfully registered, including:
[0020] The cloud outputs the currently received host information to the corresponding terminal of the administrator, and determines whether the verification of the corresponding host information is passed based on the information fed back by the administrator through the corresponding terminal;
[0021] The cloud verifies the corresponding host information after the proxy host is successfully registered, including:
[0022] The cloud compares the currently received host information with the host information of the successfully registered proxy host. If there is host information of the successfully registered proxy host that is the same as the currently received host information, the verification of the currently received host information is passed, otherwise the verification fails.
[0023] Preferably, after the proxy host is successfully registered, the method further includes:
[0024] The proxy host receives an information change request sent by the currently logged-in user, and sends the information change request to the cloud; wherein the information change request includes user information of the currently logged-in user, host information of the proxy host, and user information of the user to be changed;
[0025] The cloud verifies the user information of the currently logged-in user and the host information in the information change request. If the verification is successful, the user information of the currently logged-in user is replaced by the user information of the user to be changed in the information change request. Otherwise, it is determined that the user change cannot be achieved.
[0026] A data reporting system includes an agent host, a cloud and a device to be monitored, wherein:
[0027] The proxy host is used to: establish a session with the cloud to achieve data transmission to the cloud based on the established session; regularly collect device information of the connected client-side monitored device, and obtain corresponding data to be reported based on the currently collected device information; report the data to be reported to the cloud; wherein the established session only allows the proxy host to access the cloud in one direction;
[0028] The cloud is used to: receive the data to be reported, so that corresponding personnel can obtain the data to be reported and perform corresponding analysis and processing;
[0029] The device to be monitored is used to enable the proxy host to collect corresponding device information.
[0030] Preferably, the proxy host is specifically used to: send user information of the currently logged-in user to the cloud;
[0031] The cloud is also used to: verify the currently received user information, and if the verification is successful, allow the access of the proxy host to establish a session with the proxy host, otherwise, deny the access of the proxy host.
[0032] Preferably, the cloud is also used for: after the proxy host reports the data to be reported to the cloud, obtaining the host information of the proxy host carried in the data to be reported, verifying the obtained host information, and if the verification passes, saving the data to be reported, otherwise, discarding the data to be reported.
[0033] The present invention provides a data reporting method and system, the method comprising: a proxy host establishes a session with a cloud to realize data transmission to the cloud based on the established session; the proxy host periodically collects device information of the connected client-side device to be monitored, and obtains corresponding data to be reported based on the currently collected device information; the proxy host reports the data to be reported to the cloud, so that corresponding personnel can obtain the data to be reported from the cloud to realize corresponding analysis and processing; wherein, the established session only allows the proxy host to access the cloud in one direction. In the present application, a proxy host is set between the cloud and the client device to be monitored, and then after the proxy host establishes a session with the cloud, the device information of the device to be monitored that is collected periodically is reported to the cloud, so that corresponding personnel can realize operations such as query and analysis of the device information from the cloud; and the session established between the proxy host and the cloud only allows the proxy host to access the cloud in one direction, and does not allow the cloud to access the proxy host. It can be seen that in this application, through the setting of the proxy host, the cloud cannot access the proxy host and the monitored devices on the client side, and there is no need to include the monitored devices in the cloud platform management, thereby avoiding the security risks caused by including the monitored devices in the cloud platform management, and can effectively improve the security and reliability of the monitored devices on the client side. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] 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 or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0035] Figure 1 A flow chart of a data reporting method provided by an embodiment of the present invention;
[0036] Figure 2 A schematic diagram of user registration in a data reporting method provided by an embodiment of the present invention;
[0037] Figure 3 A schematic diagram of data reporting in a data reporting method provided by an embodiment of the present invention;
[0038] Figure 4 A structural schematic diagram of a data reporting device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] 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.
[0040] See also Figure 1 , which shows a flow chart of a data reporting method provided by an embodiment of the present invention, which may include:
[0041] S11: The proxy host establishes a session with the cloud to achieve data transmission to the cloud based on the established session; wherein the established session only allows the proxy host to access the cloud in one direction.
[0042] In the embodiment of the present application, the device to be monitored can be a storage device, server or other IT products on the client side, or other products specified according to actual needs, all of which are within the protection scope of the present invention. In order to safely realize data reporting, the embodiment of the present application sets a Client (proxy host) between the device to be monitored and the cloud of the cloud platform. In order to realize data reporting to the cloud, the proxy host can pre-establish a session with the cloud, and then realize at least one data reporting to the cloud based on the session; and only allow the proxy host to access the cloud based on the session (the proxy host can transmit data to the cloud or query data in the cloud based on the session), and refuse the cloud to access the proxy host based on the session (the cloud can only feedback data to the proxy host based on the session, but cannot query data in the proxy host based on the session), and does not allow the cloud to access the device to be monitored. Among them, the cloud platform can be coordinated by the front-end system and the cloud system. The front-end system is deployed in the device to be monitored on the client side, and can collect information such as device alarms of the device to be monitored on the client side, while the cloud system is deployed in the cloud, and can receive information such as device alarms around the clock, and automatically notify technical service personnel for timely processing.
[0043] S12: The proxy host periodically collects device information of the connected client-side device to be monitored, and obtains corresponding data to be reported based on the currently collected device information.
[0044] The proxy host can collect the device information of the connected monitored device at regular intervals, and then send the device information to the cloud based on the session established in advance with the cloud, so that the cloud can store the received data and facilitate the corresponding personnel to query and analyze the data in the cloud, thereby realizing remote maintenance functions such as remote inspection and remote log collection. Among them, the device information can include information such as performance, capacity, hard disk, alarm and heartbeat packet, and of course other settings can be made according to actual needs, all within the protection scope of the present invention.
[0045] S13: The proxy host reports the data to be reported to the cloud, so that the relevant personnel can obtain the data to be reported from the cloud to perform relevant analysis and processing.
[0046] In this application, a proxy host is set between the cloud and the client's monitored device, and then after the proxy host establishes a session with the cloud, the device information of the monitored device collected at a regular time is reported to the cloud, so that the relevant personnel can query and analyze the device information from the cloud; and the session established between the proxy host and the cloud only allows the proxy host to access the cloud in one direction, and does not allow the cloud to access the proxy host. It can be seen that in this application, through the setting of the proxy host, the cloud cannot access the proxy host and the monitored device on the client side, and there is no need to include the monitored device in the cloud platform management, thereby avoiding the security risks caused by including the monitored device in the cloud platform management, and can effectively improve the security and reliability of the monitored device on the client side.
[0047] A data reporting method provided by an embodiment of the present invention may further include, before the proxy host establishes a session with the cloud:
[0048] The proxy host sends the user information of the user who needs to register to the cloud. The cloud verifies the currently received user information. If the verification is successful, the cloud feedbacks the information that the user information verification is successful. Otherwise, the registration of the proxy host is rejected.
[0049] After the proxy host receives the information that the user information has been verified, it sends the host information of the proxy host to the cloud. The cloud verifies the currently received host information. The proxy host periodically queries the cloud for the verification result of the corresponding host information. When the verification of the corresponding host information is found to be successful, the registration success status is saved. Otherwise, it is determined that the registration cannot be achieved.
[0050] The embodiment of the present application can be implemented based on the proxy host registration mechanism, such as Figure 2As shown, the proxy host can first implement login authentication and then implement registration. When implementing login authentication, the outside world enters the user information (which may include user name and password, etc.) of the user who needs to register on the proxy host and clicks to register. The proxy host initiates an https request to the cloud to send the user information entered by the outside world to the cloud. The cloud verifies the user information, which may be to verify whether the user information is a legitimate user that has been known in advance, or to output the user information to the administrator for manual verification, etc. After the cloud verifies the user information, it feeds back the corresponding information to the proxy host to inform it that the login authentication is successful, otherwise the registration of the proxy host is rejected. When the authentication is successful and the registration is realized, the proxy host initiates a registration request to the cloud. The registration request is a POST request. The parameters in the POST request can include device information such as client_id, client_name, client_position, client_manger_user, etc., and wait for the cloud to process the registration request; the proxy host polls the cloud to query the result of the registration request, that is, the result of the device information verification, and determines that the registration is successful when the verification is passed, and persists the successful registration status locally, and the cloud will also store the verified user information and host information locally. If the verified information is not queried within a certain period of time, it is determined that the registration failed. In this way, the dual authentication registration of users and proxy hosts can be realized, which can effectively improve the reliability of authentication registration. In addition, the registration status in the proxy host can include unregistered, registered, incorrect registered user information, and deregistered.
[0051] In an embodiment of the present invention, a data reporting method is provided, wherein a proxy host establishes a session with a cloud, and the method may include:
[0052] The proxy host sends the user information of the currently logged-in user to the cloud, and the cloud verifies the currently received user information. If the verification is successful, the proxy host is allowed to access to establish a session with the proxy host. Otherwise, the proxy host is denied access.
[0053] After the proxy host reports the data to be reported to the cloud, it can also include:
[0054] The cloud obtains the host information of the proxy host carried in the data to be reported, verifies the obtained host information, and if the verification passes, saves the data to be reported; otherwise, discards the data to be reported.
[0055] The proxy host obtains the corresponding data to be reported based on the device information. Specifically, the device information and the host information representing the proxy host (such as client_id, etc.) form the data to be reported, and then uploads the data to be reported to the cloud. Figure 3As shown, in the process of data reporting by the proxy host, the proxy host can first determine the registration status persisted locally. If it has not been registered, it will continue to report the data, otherwise it will first implement the above registration process; after determining that it has been registered, it can query the security policy stored locally set by the outside world to determine the type of device information specified in the security policy that can be reported to the cloud, and other types of device information cannot be reported to the cloud, and then only the device information that can be reported to the cloud will obtain the corresponding data to be reported for reporting to the cloud; after obtaining the data to be reported that can be reported to the cloud, it can implement the login authentication of the registered user, It includes sending the user information of the user currently logged in to the proxy host to the cloud. If the cloud locally stores the currently received user information, it means that the authentication is successful. At this time, the session is established (the authentication success information can also be fed back to the proxy host), allowing the proxy host to access the cloud based on the session, otherwise the authentication fails; after the authentication is successful, the proxy host reports the data to be reported to the cloud, and the cloud obtains the host information carried in the data to be reported. If the currently received host information is stored locally, it means that the proxy host is legal and stores the data to be uploaded. Otherwise, the data to be uploaded is discarded and the result information is fed back to the proxy host. In this way, the corresponding data to be uploaded is stored only after the double verification of the user information and the host information, which further ensures the reliability and security of the data to be uploaded. In addition, the function of reporting data at a fixed time can be triggered by a pre-set timer.
[0056] In an embodiment of the present invention, a data reporting method is provided, in which the cloud verifies the corresponding host information before the proxy host is successfully registered, and the method may include:
[0057] The cloud outputs the currently received host information to the corresponding terminal of the administrator, and determines whether the verification of the corresponding host information is passed based on the information fed back by the administrator through the corresponding terminal;
[0058] After the proxy host is successfully registered, the cloud verifies the corresponding host information, including:
[0059] The cloud compares the currently received host information with the host information of the successfully registered proxy host. If there is a successfully registered proxy host with the same host information as the currently received host information, the verification of the currently received host information passes, otherwise the verification fails.
[0060] In order to improve the effectiveness of information verification in the embodiment of the present application, the corresponding management personnel may manually verify the host information of the proxy host during the registration process. If the information fed back by the management personnel is that the verification is passed, it is determined that the verification of the proxy host is passed; otherwise, it is determined that the verification of the proxy host is failed. In order to improve the convenience of information verification, when the cloud verifies the host information in the data to be uploaded, it may be to compare the host information in the data to be uploaded with the host information of the successfully registered proxy host stored locally. If the host information in the data to be uploaded is stored locally, it means that the verification of the host information in the data to be uploaded is passed; otherwise, the verification is failed.
[0061] A data reporting method provided by an embodiment of the present invention may further include, after the proxy host is successfully registered:
[0062] The proxy host receives the information change request sent by the currently logged-in user, and sends the information change request to the cloud; wherein the information change request includes the user information of the currently logged-in user, the host information of the proxy host, and the user information of the user to be changed;
[0063] The cloud verifies the user information and host information of the currently logged-in user in the information change request. If the verification is successful, the user information of the user to be changed in the information change request replaces the user information of the currently logged-in user. Otherwise, it is determined that the user change cannot be achieved.
[0064] After the successful registration of the user and the proxy host is achieved, the embodiment of the present application can also provide reliable changes to the user based on actual needs by the outside world; specifically, if the account needs to be changed, the successfully registered user (i.e., the original user) can send an information change request to the cloud through the proxy host, and the cloud verifies the user information and host information of the original user in the information change request, that is, verifies it by comparing it with the corresponding local information. If the verification is passed, the user information of the original user stored locally is replaced with the user information of the user to be changed, thereby achieving the user change. Otherwise, a notification of user information error and / or host information error is fed back and displayed on the proxy host.
[0065] A data reporting method provided by an embodiment of the present invention, after the proxy host establishes a session with the cloud, may further include:
[0066] The cloud monitors the session with the proxy host in real time. If the duration of the session has reached the preset duration, the proxy host's access is denied.
[0067] Among them, the preset duration can be set according to actual needs; in order to further ensure the reliability of access to the cloud, in the embodiment of the present application, the cloud can also monitor the session between the cloud and the proxy host in real time. When the duration of the session reaches the preset duration, it is considered that the session time is too long and has expired, so the access of the proxy host is rejected, and the proxy host is required to re-establish the session. Otherwise, the proxy host is allowed to access the cloud directly based on the session.
[0068] This application proposes an implementation plan based on the proxy host registration mechanism to address the potential security risks of the client-side monitored devices accessing the cloud platform. The monitored devices are indirectly included in the cloud platform cloud through a one-way access proxy host, which can effectively improve the security and reliability of the system. Specifically, the proxy host can access the cloud and the monitored devices at the same time, manage the monitored devices through the proxy host, and regularly report information such as performance, capacity, hard disk, alarms, and heartbeat packets to the cloud. The cloud cannot access the proxy host and the monitored devices; the registration mechanism of the proxy host prevents data from being forged, so that the monitored devices can access the cloud platform more securely, avoid being attacked by hackers, and enable the monitored devices to provide services to the outside world safely and reliably.
[0069] The embodiment of the present invention also provides a data reporting system, such as Figure 4 As shown, it may include an agent host 12, a cloud 13 and a device to be monitored 11, wherein:
[0070] The proxy host 12 is used to: establish a session with the cloud 13 to achieve data transmission to the cloud 13 based on the established session; regularly collect device information of the connected client-side monitored device 11, and obtain corresponding data to be reported based on the currently collected device information; report the data to be reported to the cloud 13; wherein the established session only allows the proxy host 12 to access the cloud 13 in one direction;
[0071] The cloud 13 is used to: receive the data to be reported, so that the relevant personnel can obtain the data to be reported and perform relevant analysis and processing;
[0072] The device to be monitored 11 is used for the agent host 12 to collect the corresponding device information.
[0073] In a data reporting system provided by an embodiment of the present invention, the proxy host can be specifically used to: send user information of the currently logged-in user to the cloud;
[0074] The cloud can also be used to: verify the currently received user information, if the verification is successful, allow the proxy host to access, so as to establish a session with the proxy host, otherwise, deny the proxy host access.
[0075] A data reporting system provided by an embodiment of the present invention can also be used in the cloud: after the proxy host reports the data to be reported to the cloud, the host information of the proxy host carried in the data to be reported is obtained, and the obtained host information is verified. If the verification is successful, the data to be reported is saved, otherwise, the data to be reported is discarded.
[0076] In a data reporting system provided by an embodiment of the present invention, the proxy host is further used to: after establishing a session with the cloud, monitor the session with the proxy host in real time, and if the duration of the session has reached a preset duration, deny access to the proxy host.
[0077] In a data reporting system provided by an embodiment of the present invention, the proxy host is further used to send user information of a user who currently needs to register to the cloud before establishing a session with the cloud, and the cloud is further used to verify the currently received user information, and if the verification is successful, feedback information indicating that the user information verification is successful is fed back, otherwise, the registration of the proxy host is determined to be rejected;
[0078] The proxy host is also used to send the host information of the proxy host to the cloud after receiving the information that the user information has been verified, so that the cloud can verify the host information currently received; and to periodically query the results of the verification of the corresponding host information from the cloud, and save the registration success status when the verification of the corresponding host information is passed, otherwise, it is determined that the registration cannot be achieved.
[0079] A data reporting system provided by an embodiment of the present invention is used in a cloud to verify the corresponding host information before the proxy host is successfully registered, specifically including: the cloud outputs the currently received host information to the corresponding terminal of the manager, and determines whether the verification of the corresponding host information is passed based on the information fed back by the manager through the corresponding terminal;
[0080] The cloud is used to verify the corresponding host information after the proxy host is successfully registered, specifically including: the cloud compares the currently received host information with the host information of the successfully registered proxy host. If there is host information of the successfully registered proxy host that is the same as the currently received host information, the verification of the currently received host information is passed, otherwise the verification fails.
[0081] In a data reporting system provided by an embodiment of the present invention, the proxy host is further used to: after successful registration, receive an information change request sent by the currently logged-in user, and send the information change request to the cloud; wherein the information change request includes user information of the currently logged-in user, host information of the proxy host, and user information of the user to be changed;
[0082] The cloud is also used to verify the user information and host information of the currently logged-in user in the information change request. If the verification is successful, the user information of the user to be changed in the information change request will replace the user information of the currently logged-in user. Otherwise, it is determined that the user change cannot be achieved.
[0083] It should be noted that for the description of the relevant parts of a data reporting system provided by an embodiment of the present invention, please refer to the detailed description of the corresponding parts in a data reporting method provided by an embodiment of the present invention, which will not be repeated here. In addition, the parts of the above technical solutions provided by the embodiment of the present invention that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive elaboration.
[0084] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A data reporting method, characterized in that: include: The proxy host establishes a session with the cloud to achieve data transmission to the cloud based on the established session; wherein the established session only allows the proxy host to access the cloud in one direction; The proxy host periodically collects device information of the connected client-side device to be monitored, and obtains corresponding data to be reported based on the currently collected device information; the device information includes performance, capacity, hard disk, alarm and heartbeat packet; The proxy host reports the data to be reported to the cloud, so that corresponding personnel can obtain the data to be reported from the cloud to perform corresponding analysis and processing; The proxy host establishes a session with the cloud, including: the proxy host sends the user information of the currently logged-in user to the cloud, and the cloud verifies the currently received user information. If the verification is passed, the access of the proxy host is allowed to achieve the establishment of the session with the proxy host, otherwise, the access of the proxy host is denied; After the proxy host reports the data to be reported to the cloud, the method further includes: the cloud obtains the host information of the proxy host carried in the data to be reported, verifies the obtained host information, and if the verification is successful, saves the data to be reported, otherwise, discards the data to be reported; Specifically, after the proxy host establishes a session with the cloud, the method further includes: the cloud monitors the session with the proxy host in real time, and if the duration of the session has reached a preset duration, denies access to the proxy host; Wherein, before the proxy host establishes a session with the cloud, it also includes: the proxy host sends the user information of the user who currently needs to register to the cloud, the cloud verifies the currently received user information, and if the verification is successful, then the user information verification is fed back, otherwise, it is determined that the registration of the proxy host is rejected; after the proxy host receives the user information verification information, it sends the host information of the proxy host to the cloud, the cloud verifies the currently received host information, the proxy host periodically queries the result of the verification of the corresponding host information from the cloud, and saves the registration success status when the verification of the corresponding host information is successful, otherwise, it is determined that the registration cannot be realized; the registration status in the proxy host includes unregistered, registered, wrong registered user information and cancelled; The sending of the host information of the proxy host to the cloud, wherein the cloud verifies the currently received host information, includes: initiating a registration request to the cloud, wherein the cloud processes the registration request to verify the device information in the registration request, and obtains a verification result of the device information; the registration request is a POST request, and the device information in the POST request includes client_id, client_name, client_position, and client_manger_user; The proxy host reports the data to be reported to the cloud, including: the proxy host reports the data to be reported to the cloud according to a preset timer; The cloud verifies the corresponding host information before the proxy host is successfully registered, including: the cloud outputs the currently received host information to the corresponding terminal of the administrator, and determines whether the verification of the corresponding host information is passed based on the information fed back by the administrator through the corresponding terminal; The cloud verifies the corresponding host information after the proxy host is successfully registered, including: the cloud compares the currently received host information with the host information of the successfully registered proxy host, if there is the host information of the successfully registered proxy host that is the same as the currently received host information, then the verification of the currently received host information is passed, otherwise the verification fails; After the proxy host is successfully registered, the method further includes: the proxy host receives an information change request sent by the currently logged-in user, and sends the information change request to the cloud; wherein the information change request includes user information of the currently logged-in user, host information of the proxy host, and user information of the user to be changed; The cloud verifies the user information of the currently logged-in user and the host information in the information change request. If the verification is successful, the user information of the user to be changed in the information change request replaces the user information of the currently logged-in user. Otherwise, it is determined that the user change cannot be implemented. Among them, reporting the data to be reported to the cloud includes: judging the registration status of the proxy host persisted locally; if the registration status is registered, reporting the data to be reported to the cloud; if the registration status is unregistered, registering the proxy host, and after determining that it has been registered, querying the security policy stored locally set by the outside world, and then judging whether the data to be reported is device information of the type specified in the security policy, and if so, reporting the data to be reported to the cloud.
2. A data reporting system, characterized in that: Including proxy host, cloud and devices to be monitored, including: The proxy host is used to: establish a session with the cloud to achieve data transmission to the cloud based on the established session; regularly collect device information of the connected client-side monitored device, and obtain corresponding data to be reported based on the currently collected device information; report the data to be reported to the cloud; wherein the established session only allows the proxy host to access the cloud in one direction; the device information includes performance, capacity, hard disk, alarm and heartbeat packet; The cloud is used to: receive the data to be reported, so that corresponding personnel can obtain the data to be reported and perform corresponding analysis and processing; The device to be monitored is used to: enable the proxy host to collect corresponding device information; The proxy host is specifically used to: send user information of the currently logged-in user to the cloud; The cloud is also used to: verify the currently received user information, and if the verification is successful, allow the access of the proxy host to establish a session with the proxy host, otherwise, deny the access of the proxy host; The cloud is further configured to: after the proxy host reports the data to be reported to the cloud, obtain the host information of the proxy host carried in the data to be reported, verify the obtained host information, and if the verification is successful, save the data to be reported, otherwise, discard the data to be reported; Specifically, the cloud is also used to: monitor the session with the proxy host in real time, and if the duration of the session has reached a preset duration, deny access to the proxy host; The proxy host is also used to: send the user information of the user who currently needs to register to the cloud; after receiving the information that the user information has been verified, send the host information of the proxy host to the cloud; query the result of verifying the corresponding host information from the cloud at regular intervals, and save the status of successful registration when the verification of the corresponding host information is found to have been passed, otherwise, it is determined that the registration cannot be achieved; the registration status in the proxy host includes unregistered, registered, wrong registered user information and cancelled; The cloud is also used to: verify the currently received user information, and if the verification is successful, feedback the information that the user information verification is successful, otherwise, determine to reject the registration of the proxy host; verify the currently received host information; Specifically, the proxy host is further used to: initiate a registration request to the cloud; the registration request is a POST request, and the device information in the POST request includes client_id, client_name, client_position, and client_manger_user; The cloud is also used to: process the registration request to verify the device information in the registration request and obtain a verification result of the device information; The proxy host is further used to: report the data to be reported to the cloud according to a preset timer; The cloud is also used to: output the currently received host information to the corresponding terminal of the manager, and determine whether the verification of the corresponding host information is passed based on the information fed back by the manager through the corresponding terminal; Compare the currently received host information with the host information of the successfully registered proxy host. If there is host information of the successfully registered proxy host that is the same as the currently received host information, the verification of the currently received host information passes, otherwise the verification fails; The proxy host is also used to: receive an information change request sent by the currently logged-in user, and send the information change request to the cloud; wherein the information change request includes user information of the currently logged-in user, host information of the proxy host, and user information of the user to be changed; The cloud is also used to: verify the user information of the currently logged-in user and the host information in the information change request, and if the verification is successful, replace the user information of the currently logged-in user with the user information of the user to be changed in the information change request, otherwise, it is determined that the user change cannot be implemented; The proxy host is also used to: determine the registration status of the proxy host persisted locally; if the registration status is registered, report the data to be reported to the cloud; if the registration status is unregistered, register the proxy host, and after determining that it has been registered, query the security policy stored locally set by the outside world, and then determine whether the data to be reported is device information of the type specified in the security policy. If so, report the data to be reported to the cloud.
