CN114189552B - Data reporting method and system - Google Patents

Data reporting method and system Download PDF

Info

Publication number
CN114189552B
CN114189552B CN202111274500.0A CN202111274500A CN114189552B CN 114189552 B CN114189552 B CN 114189552B CN 202111274500 A CN202111274500 A CN 202111274500A CN 114189552 B CN114189552 B CN 114189552B
Authority
CN
China
Prior art keywords
information
host
cloud
proxy
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111274500.0A
Other languages
Chinese (zh)
Other versions
CN114189552A (en
Inventor
刘宝
张海军
李娟�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Jinan data Technology Co ltd
Original Assignee
Inspur Jinan data Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Jinan data Technology Co ltd filed Critical Inspur Jinan data Technology Co ltd
Priority to CN202111274500.0A priority Critical patent/CN114189552B/en
Publication of CN114189552A publication Critical patent/CN114189552A/en
Application granted granted Critical
Publication of CN114189552B publication Critical patent/CN114189552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a data reporting method and a system, wherein the method comprises the following steps: the proxy host establishes a session with a cloud end so as to realize data transmission to the cloud end based on the established session; the proxy host periodically collects the equipment information of the connected client-side equipment to be monitored, and obtains corresponding data to be reported based on the currently collected equipment information; the proxy host reports the data to be reported to the cloud end so that corresponding personnel can acquire the data to be reported from the cloud end to realize corresponding analysis and processing; the established session only allows the proxy host to access the cloud end in one direction. According to the cloud monitoring system and the cloud monitoring method, the cloud can not access the proxy and the equipment to be monitored on the client side through the arrangement of the proxy, and the equipment to be monitored does not need to be brought into cloud platform management, so that potential safety hazards caused by bringing the equipment to be monitored into cloud platform management are avoided, and the safety and reliability of the equipment to be monitored on the client side can be effectively improved.

Description

Data reporting method and system
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data reporting method and system.
Background
With the large-scale delivery and use of IT products such as storage and servers, the demands of customers for improving the failure processing efficiency are becoming stronger. The traditional service support mode is full-artificial local service, and in the fault discovery link, technical service personnel face the challenges of untimely problem discovery and insufficient information transmission.
In order to solve the problems, a cloud platform is currently used for realizing equipment information acquisition of equipment; the cloud platform monitors equipment alarms of the clients in real time, when the alarms are generated, the alarms are automatically reported to the cloud and corresponding service request sheets are created, and service engineers can assist the clients in solving the problems in time. However, in this way, the device needs to be brought into the cloud platform for management, but at this time, after the device is accessed to the external network, the Restful interface and the CLI interface of the device are exposed to the external network, and this operation has a great potential safety hazard, which results in poor safety and reliability of the device of the client.
Disclosure of Invention
The invention aims to provide a data reporting method and system, which can effectively improve the safety and reliability of equipment to be monitored at a client side.
In order to achieve the above object, the present invention provides the following technical solutions:
a data reporting method, comprising:
the proxy host establishes a session with a cloud end so as to realize data transmission to the cloud end based on the established session; the established session only allows the proxy host to access the cloud end in one direction;
the proxy host periodically collects the equipment information of the connected client-side equipment to be monitored, and obtains corresponding data to be reported based on the currently collected equipment information;
and the proxy host reports the data to be reported to the cloud end so that corresponding personnel can acquire the data to be reported from the cloud end to realize corresponding analysis and processing.
Preferably, the proxy establishes a session with the cloud, including:
The proxy host sends user information of a user currently logged in to the cloud, the cloud verifies the user information currently received, if the user information passes verification, the access of the proxy host is allowed, so that the session establishment with the proxy host is realized, and otherwise, the access of the proxy host is refused.
Preferably, after the proxy host reports the data to be reported to the cloud, the method further includes:
And the cloud acquires the host information of the proxy host carried in the data to be reported, verifies the acquired host information, stores the data to be reported if the verification is passed, and discards the data to be reported if the verification is not passed.
Preferably, after the proxy establishes the session with the cloud, the method further includes:
and monitoring the session with the proxy host in real time by the cloud, and refusing the access of the proxy host if the duration of the session reaches the preset duration.
Preferably, before the proxy establishes the session with the cloud, the method further includes:
The proxy host sends user information of a user needing to be registered currently to the cloud, the cloud verifies the user information received currently, if the user information is verified, information passing the user information verification is fed back, and otherwise, the proxy host is determined to be refused to register;
after receiving the information that the user information passes through verification, the proxy host sends the host information of the proxy host to the cloud, the cloud verifies the currently received host information, the proxy host regularly inquires the result of verifying the corresponding host information from the cloud, and when inquiring that the verification of the corresponding host information passes through, the state of successful registration is saved, otherwise, the fact that registration cannot be achieved is determined.
Preferably, the cloud end verifies the corresponding host information before the proxy host is successfully registered, including:
the cloud end outputs the currently received host information to a corresponding terminal of the manager, and determines whether verification of the corresponding host information is passed or not based on the information fed back by the manager through the corresponding terminal;
The cloud end verifies corresponding host information after the proxy host is successfully registered, and the cloud end comprises the following steps:
The cloud end compares the currently received host information with the host information of the registered proxy host, if the host information of the registered proxy host which is the same as the currently received host information exists, the currently received host information is verified to pass, otherwise, the currently received host information is verified to fail.
Preferably, after the proxy registration is successful, the method further includes:
The proxy host receives an information change request sent by a currently logged-in user and sends the information change request to the cloud; the information change request comprises user information of a user currently logged in, host information of the proxy host and user information of the user needing to be changed;
And the cloud end verifies the user information of the user currently logged in the information change request and the host information, if the user information passes the verification, the user information of the user needing to be changed in the information change request is replaced with the user information of the user currently logged in, otherwise, the user change cannot be realized.
The utility model provides a data reporting system, includes proxy host computer, high in the clouds and waits to monitor equipment, wherein:
The proxy is used for: establishing a session with a cloud end so as to realize data transmission to the cloud end based on the established session; acquiring equipment information of equipment to be monitored of a connected client side at fixed time, and acquiring corresponding data to be reported based on the currently acquired equipment information; reporting the data to be reported to the cloud; the established session only allows the proxy host to access the cloud end in one direction;
the cloud end is used for: receiving the data to be reported so that corresponding personnel can acquire the data to be reported to realize corresponding analysis and processing;
the device to be monitored is used for: and the proxy host realizes the collection of corresponding equipment information.
Preferably, the proxy is specifically configured to: transmitting user information of a currently logged-in user to the cloud;
The cloud end is further configured to: and verifying the currently received user information, and if the user information passes the verification, allowing the access of the proxy host so as to establish a session with the proxy host, otherwise, refusing the access of the proxy host.
Preferably, the cloud end is further configured to: and after the proxy host reports the data to be reported to the cloud, acquiring host information of the proxy host carried in the data to be reported, verifying the acquired host information, if the verification is passed, storing the data to be reported, otherwise, discarding the data to be reported.
The application provides a data reporting method and a system, wherein the method comprises the following steps: the proxy host establishes a session with a cloud end so as to realize data transmission to the cloud end based on the established session; the proxy host periodically collects the equipment information of the connected client-side equipment to be monitored, and obtains corresponding data to be reported based on the currently collected equipment information; the proxy host reports the data to be reported to the cloud end so that corresponding personnel can acquire the data to be reported from the cloud end to realize corresponding analysis and processing; the established session only allows the proxy host to access the cloud end in one direction. In the application, an agent host is arranged between the cloud end and the equipment to be monitored of the client, and after the agent host establishes a session with the cloud end, the equipment information of the equipment to be monitored, which is acquired at regular time, is reported to the cloud end so that corresponding personnel can realize operations such as inquiry analysis of the equipment information from the cloud end; 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. Therefore, the cloud end cannot access the proxy host and the equipment to be monitored on the client side through the setting of the proxy host, and the equipment to be monitored does not need to be brought into cloud platform management, so that potential safety hazards caused by bringing the equipment to be monitored into the cloud platform management are avoided, and the safety and reliability of the equipment to be monitored on the client side can be effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a data reporting method provided in an embodiment of the present invention;
fig. 2 is a schematic diagram of user registration in a data reporting method according to an embodiment of the present invention;
Fig. 3 is a schematic diagram of data reporting in a data reporting method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data reporting device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart of a data reporting method provided by an embodiment of the present invention may include:
S11: the proxy host establishes a session with the cloud end so as to realize data transmission to the cloud end based on the established session; wherein, the established session only allows the proxy host to access the cloud in one direction.
In the embodiment of the application, the equipment to be monitored can be IT products such as storage equipment, servers and the like at the client side, and can also be other products appointed according to actual needs, and the equipment to be monitored is within the protection scope of the application. In order to safely realize data reporting, a Client (proxy host) is arranged between equipment to be monitored and a cloud end of a cloud platform, and the proxy host can pre-establish a session with the cloud end in order to realize data reporting to the cloud end, so that data reporting to the cloud end is realized at least once based on the session; and only the proxy host is allowed to access the cloud (the proxy host can transmit data to the cloud or query data in the cloud based on the session), but the cloud is refused to access the proxy host based on the session (the cloud can only feed back data to the proxy host based on the session but cannot query data in the proxy host based on the session), and the cloud is not allowed to access the device to be monitored. The cloud platform can be cooperatively operated by a front-end system and a cloud system, the front-end system is deployed in equipment to be monitored of a client side, information such as equipment alarm of the equipment to be monitored of the client side can be collected, the cloud system is deployed in the cloud, information such as equipment alarm can be received all weather, and technical service personnel can be automatically informed to conduct timely processing.
S12: the proxy host periodically collects the equipment information of the connected client-side equipment to be monitored, and obtains corresponding data to be reported based on the currently collected equipment information.
The agent host can regularly acquire the equipment information of the connected equipment to be monitored, and then sends the equipment information to the cloud based on a session established between the agent host and the cloud in advance, so that after the cloud stores the received data, corresponding personnel can conveniently realize data query, analysis and the like in the cloud, and therefore remote maintenance functions such as remote inspection, remote log collection and the like are realized. The device information may include information such as performance, capacity, hard disk, alarm, heartbeat packet, etc., and of course, other settings may be performed according to actual needs, which are all within the protection scope of the present invention.
S13: the proxy host reports the data to be reported to the cloud end so that corresponding personnel can acquire the data to be reported from the cloud end to realize corresponding analysis and processing.
In the application, an agent host is arranged between the cloud end and the equipment to be monitored of the client, and after the agent host establishes a session with the cloud end, the equipment information of the equipment to be monitored, which is acquired at regular time, is reported to the cloud end so that corresponding personnel can realize operations such as inquiry analysis of the equipment information from the cloud end; 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. Therefore, the cloud end cannot access the proxy host and the equipment to be monitored on the client side through the setting of the proxy host, and the equipment to be monitored does not need to be brought into cloud platform management, so that potential safety hazards caused by bringing the equipment to be monitored into the cloud platform management are avoided, and the safety and reliability of the equipment to be monitored on the client side can be effectively improved.
The method for reporting data provided by the embodiment of the invention, before the proxy host establishes the session with the cloud, can further include:
The agent host sends the user information of the user needing to be registered currently to the cloud end, the cloud end verifies the user information received currently, if the user information is verified, the user information is fed back to verify the information, otherwise, the agent host is refused to register;
after receiving the information of the user information passing through verification, the proxy host sends the host information of the proxy host to the cloud, the cloud verifies the currently received host information, the proxy host regularly inquires the result of verifying the corresponding host information from the cloud, and when inquiring that the corresponding host information passes through verification, the proxy host stores the successful registration state, otherwise, the proxy host determines that the registration cannot be realized.
The embodiment of the application can be realized based on a proxy registration mechanism, and as shown in fig. 2, the proxy can realize login authentication before registration. When login authentication is realized, user information (which can comprise a user name, a password and the like) of a user needing to be registered currently is input on the proxy host by the outside world and the user information is clicked to be registered, the proxy host initiates an https request to the cloud end so as to send the user information input by the outside world to the cloud end, the cloud end verifies the user information, whether the user information is a legal user which is known in advance or not can be verified, the user information can be output to a manager for manual verification and the like, and the cloud end feeds back corresponding information of the proxy host after the user information verification is passed so as to inform that the authentication of the login authentication is successful, otherwise, the registration of the proxy host is refused. When authentication is successful to realize registration, the proxy host initiates a registration request to the cloud, wherein the registration request is a POST request, and parameters in the POST request can comprise equipment information such as client_id, client_name, client_position, client_ manger _user and the like, and the cloud waits for processing the registration request; the proxy host polls and inquires the result of the registration request in the cloud, namely the result of verifying the equipment information, determines that the registration is successful when the verification is inquired, persists the successful registration state to the local, stores the user information and the host information which are verified in the local, and determines that the registration is failed if the verification is not inquired within a certain period of time. By the method, the dual authentication registration of the user and the proxy host is realized, and the reliability of the authentication registration can be effectively improved. In addition, the registration status in the proxy may include unregistered, registered user information error, unregistered, and the like.
The method for reporting data provided by the embodiment of the invention, wherein the proxy host establishes a session with a cloud, can comprise the following steps:
The proxy host sends the user information of the currently logged-in user to the cloud, the cloud verifies the currently received user information, if the user information passes the verification, the access of the proxy host is allowed, so that the session establishment with the proxy host is realized, and if the user information passes the verification, the access of the proxy host is refused.
After the proxy host reports the data to be reported to the cloud, the method may further include:
The cloud acquires host information of the proxy host carried in the data to be reported, verifies the acquired host information, and if the verification is passed, saves the data to be reported, otherwise, discards the data to be reported.
The proxy host obtains corresponding data to be reported based on the device information, specifically, the device information and host information (such as client_id) representing the proxy host form the data to be reported, and then the data to be reported is uploaded to the cloud. As shown in fig. 3, in the process of implementing data reporting by the proxy host, the proxy host may first determine a locally-persisted registration state, and if the proxy host is not registered, continue implementing data reporting, otherwise, implement the above-described registration process first; after the registered security policies stored in the local can be queried, the device information of the type specified in the security policies can be reported to the cloud, other device information cannot be reported to the cloud, and then only the device information which can be reported to the cloud is reported to the cloud to obtain corresponding data to be reported; after obtaining the data to be reported which can be reported to the cloud, login authentication of a registered user can be realized, the login authentication comprises the steps that user information of the user currently logged in to the proxy host is sent to the cloud, the cloud locally indicates that authentication is successful if the user information currently received is stored, at the moment, a session is established (information of successful authentication can be fed back to the proxy host), the proxy host is allowed to realize access to the cloud based on the session, and otherwise authentication fails; after authentication is successful, the proxy host reports the data to be reported to the cloud, the cloud acquires host information carried in the data to be reported, if the host information received currently is stored locally, the proxy host is legal, the data to be uploaded is stored, otherwise, the data to be uploaded is discarded, and the result information is fed back to the proxy host. Therefore, the corresponding data to be uploaded is stored after the user information and the host information are subjected to double verification, and the reliability and the safety of the data to be uploaded are further ensured. In addition, the function of timing the reporting of data may be triggered by a preset timer.
The method for reporting data provided by the embodiment of the invention, in which the cloud verifies the corresponding host information before the proxy host is successfully registered, can include:
the cloud end outputs the currently received host information to a corresponding terminal of the manager, and determines whether verification of the corresponding host information is passed or not based on the information fed back by the manager through the corresponding terminal;
the cloud end verifies corresponding host information after the proxy host is successfully registered, and the method comprises the following steps:
The cloud compares the currently received host information with the host information of the registered proxy host, if the host information of the registered proxy host which is the same as the currently received host information exists, the verification of the currently received host information is passed, otherwise, the verification is not passed.
In order to improve the effectiveness of information verification, the host information of the proxy host in the registration process can be verified manually by corresponding management personnel, if the information fed back by the management personnel is verification passing, the verification of the proxy host is determined to be passed, otherwise, the verification of the proxy host is determined to be failed; in order to improve convenience of information verification, when the cloud performs verification on host information in the data to be uploaded, the cloud may compare the host information in the data to be uploaded with the locally stored host information of the proxy host which is successfully registered, if the locally stored host information in the data to be uploaded, the verification is passed, or else the verification is failed.
The method for reporting data provided by the embodiment of the invention can further comprise the following steps after the proxy host is successfully registered:
The proxy host receives an information change request sent by a currently logged-in user and sends the information change request to the cloud; the information change request comprises user information of a user currently logged in, host information of the proxy host and user information of the user needing to be changed;
the cloud end verifies the user information and the host information of the user currently logged in the information change request, if the user information and the host information pass the verification, the user information of the user needing to be changed in the information change request is used for replacing the user information of the user currently logged in, otherwise, the user change cannot be realized.
After successful registration of the user and the proxy host is realized, the embodiment of the application can also realize reliable change of the user based on actual needs by the outside; specifically, if the account needs to be changed, the user (i.e. the original user) which is successfully registered can send an information change request to the cloud end through the proxy host, the cloud end verifies the user information and host information of the original user in the information change request, namely, the user information and host information are compared with the corresponding local information to realize verification, if the verification is passed, the user information of the original user which is locally stored is replaced by the user information and the user information which need to be changed, and therefore user change is realized, otherwise, the notification of user information errors and/or host information errors is fed back and displayed on the proxy host.
The method for reporting data provided by the embodiment of the invention, after the proxy host establishes the session with the cloud, further comprises the following steps:
the cloud end monitors the session with the proxy host in real time, and if the duration of the session reaches the preset duration, the access of the proxy host is refused.
The preset time length can be set according to actual needs; in order to further ensure the reliability of access to the cloud end, the cloud end in the embodiment of the application can also monitor the session with the proxy host in real time, and consider that the session time is invalid after the duration of the session reaches the preset duration, so that the access of the proxy host is refused, the proxy host is required to reestablish the session, and otherwise, the proxy host is allowed to directly realize the access to the cloud end based on the session.
According to the method and the device for monitoring the cloud platform, an implementation scheme based on a proxy host registration mechanism is provided for solving the problem of potential safety hazards existing in the fact that the device to be monitored on the client side is connected with the cloud platform, and the device to be monitored is brought into the cloud platform cloud through the proxy host accessed in one direction, so that the safety and reliability of the system can be effectively improved. Specifically, the proxy host can access the cloud and the equipment to be monitored simultaneously, the equipment to be monitored is managed through the proxy host, information such as performance, capacity, hard disk, alarm and heartbeat packet is reported to the cloud at regular time, and the cloud cannot access the proxy host and the equipment to be monitored; the registration mechanism of the proxy host prevents the data from being forged, so that the equipment to be monitored can be more safely accessed to the cloud platform, and is prevented from being attacked by hackers, and the equipment to be monitored can safely and reliably provide services to the outside.
The embodiment of the invention also provides a data reporting system, as shown in fig. 4, which may include a proxy 12, a cloud 13 and a device 11 to be monitored, wherein:
The proxy 12 is configured to: establishing a session with the cloud end 13 to realize data transmission to the cloud end 13 based on the established session; the method comprises the steps of regularly collecting equipment information of equipment 11 to be monitored of a connected client side, and obtaining corresponding data to be reported based on the currently collected equipment information; reporting the data to be reported to the cloud end 13; wherein, the established session only allows the proxy 12 to access the cloud 13 in one direction;
cloud 13 is used for: receiving data to be reported so that corresponding personnel can acquire the data to be reported to realize corresponding analysis and processing;
The device to be monitored 11 is for: for the proxy 12 to effect the collection of corresponding device information.
The data reporting system provided by the embodiment of the invention can be specifically used for an agent host: transmitting user information of a currently logged-in user to a cloud;
The cloud may also be used to: and verifying the currently received user information, and if the user information passes the verification, allowing the access of the proxy host to establish a session with the proxy host, otherwise, rejecting the access of the proxy host.
The cloud end can also be used for the data reporting system provided by the embodiment of the invention: after the proxy host reports the data to be reported to the cloud, acquiring host information of the proxy host carried in the data to be reported, verifying the acquired host information, if the verification is passed, storing the data to be reported, otherwise, discarding the data to be reported.
The data reporting system provided by the embodiment of the invention, the proxy host is also used for: after establishing the session with the cloud, monitoring the session with the proxy in real time, and refusing the access of the proxy if the duration of the session reaches the preset duration.
The proxy host is further used for sending user information of the user needing to be registered to the cloud before establishing a session with the cloud, the cloud is further used for verifying the user information received currently, if the user information is verified, the user information is fed back to verify the passed information, and if the user information is not verified, the registration of the proxy host is refused;
The proxy host is also used for sending host information of the proxy host to the cloud after receiving the information passing through the user information verification, so that the cloud verifies the currently received host information; and inquiring the result of verifying the corresponding host information from the cloud at fixed time, and storing the successful registration state when the verification of the corresponding host information is inquired to pass, otherwise, determining that the registration cannot be realized.
The cloud end is used for verifying corresponding host information before the proxy host is successfully registered, and specifically comprises the following steps: the cloud end outputs the currently received host information to a corresponding terminal of the manager, and determines whether verification of the corresponding host information is passed or not based on the information fed back by the manager through the corresponding terminal;
The cloud end is used for verifying corresponding host information after the proxy host is successfully registered, and specifically comprises the following steps: the cloud compares the currently received host information with the host information of the registered proxy host, if the host information of the registered proxy host which is the same as the currently received host information exists, the verification of the currently received host information is passed, otherwise, the verification is not passed.
The data reporting system provided by the embodiment of the invention, the proxy host is also used for: after successful registration, receiving an information change request sent by a currently logged-in user, and sending the information change request to a cloud; the information change request comprises user information of a user currently logged in, host information of the proxy host and user information of the user needing to be changed;
The cloud end is also used for: and verifying the user information and the host information of the user currently logged in the information change request, if the user information and the host information pass the verification, replacing the user information of the user which needs to be changed to the user in the information change request with the user information of the user currently logged in, otherwise, determining that the user change cannot be realized.
It should be noted that, for the description of the relevant part in the data reporting system provided by the embodiment of the present invention, please refer to the detailed description of the corresponding part in the data reporting method provided by the embodiment of the present invention, and the detailed description is omitted here. In addition, the parts of the above technical solutions provided in the embodiments of the present invention, which are consistent with the implementation principles of the corresponding technical solutions in the prior art, are not described in detail, so that redundant descriptions are avoided.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (2)

1. The data reporting method is characterized by comprising the following steps:
the proxy host establishes a session with a cloud end so as to realize data transmission to the cloud end based on the established session; the established session only allows the proxy host to access the cloud end in one direction;
The proxy host periodically collects the equipment information of the connected client-side equipment to be monitored, and obtains corresponding data to be reported based on the currently collected equipment information; the equipment information comprises performance, capacity, hard disk, alarm and heartbeat package;
the proxy host reports the data to be reported to the cloud end so that corresponding personnel can acquire the data to be reported from the cloud end to realize corresponding analysis and processing;
The proxy establishes a session with a cloud, including: the proxy host sends user information of a user currently logged in to the cloud, the cloud verifies the user information currently received, if the user information passes verification, the access of the proxy host is allowed, so that the session establishment with the proxy host is realized, and otherwise, the access of the proxy host is refused;
After the proxy host reports the data to be reported to the cloud, the method further comprises: the cloud acquires the host information of the proxy host carried in the data to be reported, verifies the acquired host information, and stores the data to be reported if the verification is passed, otherwise, discards the data to be reported;
Specifically, after the proxy host establishes the session with the cloud, the method further includes: the cloud end monitors the session with the proxy host in real time, and refuses the access of the proxy host if the duration of the session reaches the preset duration;
Before the proxy establishes the session with the cloud, the method further comprises: the proxy host sends user information of a user needing to be registered currently to the cloud, the cloud verifies the user information received currently, if the user information is verified, information passing the user information verification is fed back, and otherwise, the proxy host is determined to be refused to register; after receiving the information that the user information passes through verification, the proxy host sends the host information of the proxy host to the cloud, the cloud verifies the currently received host information, the proxy host regularly inquires the result of verifying the corresponding host information from the cloud, and when inquiring that the verification of the corresponding host information passes through, the state of successful registration is saved, otherwise, the fact that registration cannot be realized is determined; the registration state in the proxy host comprises unregistered, registered user information error and unregistered;
The sending the host information of the proxy host to the cloud, where the cloud verifies the currently received host information, and the method includes: initiating a registration request to the cloud, and processing the registration request by the cloud to verify the equipment information in the registration request to obtain a verification result of the equipment information; the registration request is a POST request, and the equipment information in the POST request comprises a client_id, a client_name, a client_position and a client_ manger _user;
The proxy host reports the data to be reported to the cloud, and the method comprises the following steps: the proxy host reports the data to be reported to the cloud according to a preset timer;
The cloud end verifies corresponding host information before the proxy host is successfully registered, and the cloud end comprises the following steps: the cloud end outputs the currently received host information to a corresponding terminal of the manager, and determines whether verification of the corresponding host information is passed or not based on the information fed back by the manager through the corresponding terminal;
The cloud end verifies corresponding host information after the proxy host is successfully registered, and the cloud end comprises the following steps: the cloud compares the currently received host information with the host information of the registered proxy host, if the host information of the registered proxy host which is the same as the currently received host information exists, the currently received host information is verified to pass, otherwise, the currently received host information is verified to not pass;
After the proxy registration is successful, the method further comprises: the proxy host receives an information change request sent by a currently logged-in user and sends the information change request to the cloud; the information change request comprises user information of a user currently logged in, host information of the proxy host and user information of the user needing to be changed;
The cloud end verifies the user information of the user currently logged in the information change request and the host information, if the user information passes the verification, the user information of the user needing to be changed in the information change request is replaced with the user information of the user currently logged in, otherwise, the user change cannot be realized;
The reporting the data to be reported to the cloud end includes: judging the local registration state of the proxy host; if the registration state is registered, reporting the data to be reported to the cloud; and if the registration state is unregistered, the proxy host is registered, an externally set security policy stored in the local is queried after the registration state is determined, whether the data to be reported is the equipment information of the type specified in the security policy is judged, and if so, the data to be reported is reported to the cloud.
2. The data reporting system is characterized by comprising an agent host, a cloud and equipment to be monitored, wherein:
The proxy is used for: establishing a session with a cloud end so as to realize data transmission to the cloud end based on the established session; acquiring equipment information of equipment to be monitored of a connected client side at fixed time, and acquiring corresponding data to be reported based on the currently acquired equipment information; reporting the data to be reported to the cloud; the established session only allows the proxy host to access the cloud end in one direction; the equipment information comprises performance, capacity, hard disk, alarm and heartbeat package;
the cloud end is used for: receiving the data to be reported so that corresponding personnel can acquire the data to be reported to realize corresponding analysis and processing;
the device to be monitored is used for: the proxy host is used for realizing the collection of corresponding equipment information;
The proxy is specifically configured to: transmitting user information of a currently logged-in user to the cloud;
The cloud end is further configured to: verifying the currently received user information, if the user information passes the verification, allowing the access of the proxy host to establish a session with the proxy host, otherwise, rejecting the access of the proxy host;
the cloud end is further configured to: after the proxy host reports the data to be reported to the cloud, acquiring host information of the proxy host carried in the data to be reported, verifying the acquired host information, if the verification is passed, storing the data to be reported, otherwise, discarding the data to be reported;
Specifically, the cloud end is further configured to: monitoring a session with the proxy in real time, and refusing access of the proxy if the duration of the session reaches a preset duration;
The proxy is further configured to: user information of a user needing to be registered currently is sent to the cloud; after receiving the information passing through the user information verification, sending the host information of the proxy host to the cloud; inquiring the result of verifying the corresponding host information from the cloud at regular time, and storing the successful registration state when the verification of the corresponding host information is inquired to pass, otherwise, determining that the registration cannot be realized; the registration state in the proxy host comprises unregistered, registered user information error and unregistered;
The cloud end is further configured to: verifying the currently received user information, if the user information is verified, feeding back the information which is verified to pass through the user information, otherwise, determining to reject the registration of the proxy host; verifying the currently received host information;
specifically, the proxy is further configured to: initiating a registration request to the cloud; the registration request is a POST request, and the equipment information in the POST request comprises a client_id, a client_name, a client_position and a client_ manger _user;
the cloud end is further configured to: processing the registration request to verify the equipment information in the registration request to obtain a verification result of the equipment information;
The proxy is further configured to: reporting the data to be reported to the cloud according to a preset timer;
the cloud end is further configured to: outputting the currently received host information to a corresponding terminal of a manager, and determining whether the verification of the corresponding host information is passed or not based on the information fed back by the manager through the corresponding terminal;
Comparing the currently received host information with the host information of the registered proxy host, if the host information of the registered proxy host which is the same as the currently received host information exists, verifying the currently received host information to pass, otherwise, verifying the currently received host information to fail;
The proxy is further configured to: receiving an information change request sent by a currently logged-in user, and sending the information change request to the cloud; the information change request comprises user information of a user currently logged in, host information of the proxy host and user information of the user needing to be changed;
The cloud end is further configured to: verifying the user information of the user currently logged in the information change request and the host information, if the user information passes the verification, replacing the user information of the user which needs to be changed in the information change request with the user information of the user currently logged in, otherwise, determining that the user change cannot be realized;
The proxy is further configured to: judging the local registration state of the proxy host; if the registration state is registered, reporting the data to be reported to the cloud; and if the registration state is unregistered, the proxy host is registered, an externally set security policy stored in the local is queried after the registration state is determined, whether the data to be reported is the equipment information of the type specified in the security policy is judged, and if so, the data to be reported is reported to the cloud.
CN202111274500.0A 2021-10-29 2021-10-29 Data reporting method and system Active CN114189552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111274500.0A CN114189552B (en) 2021-10-29 2021-10-29 Data reporting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111274500.0A CN114189552B (en) 2021-10-29 2021-10-29 Data reporting method and system

Publications (2)

Publication Number Publication Date
CN114189552A CN114189552A (en) 2022-03-15
CN114189552B true CN114189552B (en) 2024-09-03

Family

ID=80601712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111274500.0A Active CN114189552B (en) 2021-10-29 2021-10-29 Data reporting method and system

Country Status (1)

Country Link
CN (1) CN114189552B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550593A (en) * 2015-12-11 2016-05-04 北京奇虎科技有限公司 Cloud disk file monitoring method and device based on local area network
CN106130784A (en) * 2016-07-20 2016-11-16 云南电网有限责任公司信息中心 A kind of securely configurable IT information unification harvester

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2813945A1 (en) * 2013-06-14 2014-12-17 Tocario GmbH Method and system for enabling access of a client device to a remote desktop
CN103500133A (en) * 2013-09-17 2014-01-08 华为技术有限公司 Fault locating method and device
CN103957248B (en) * 2014-04-21 2018-03-20 中国科学院软件研究所 A kind of public real time data releasing cloud service platform based on Internet of Things
CN104202389A (en) * 2014-08-28 2014-12-10 深圳市银翔科技有限公司 Monitoring method for storage space and running state in cloud environment and cloud storage system
CN107040518B (en) * 2017-02-23 2020-06-19 深圳市先河系统技术有限公司 Private cloud server login method and system
KR20190044894A (en) * 2017-10-23 2019-05-02 한국전자통신연구원 Method and apparatus for transferring unidirectinal data for control metwork monitoring
CN108076056A (en) * 2017-12-12 2018-05-25 北京小米移动软件有限公司 Cloud server login method and device
CN109119171A (en) * 2018-07-12 2019-01-01 上海常仁信息科技有限公司 Health data management system based on big data platform
CN109714192B (en) * 2018-11-29 2022-03-04 深圳供电局有限公司 Monitoring method and system for monitoring cloud platform
CN110757468A (en) * 2019-12-27 2020-02-07 宁波安信数控技术有限公司 Method and system for remotely diagnosing manipulator fault
CN111460404A (en) * 2020-03-04 2020-07-28 深圳壹账通智能科技有限公司 Double-recording data processing method and device, computer equipment and storage medium
CN111245661A (en) * 2020-03-04 2020-06-05 山西博华科技有限公司 Big data acquisition processing system of thing networking based on MQTT
CN112073379B (en) * 2020-08-12 2022-11-11 国网江苏省电力有限公司南京供电分公司 Lightweight Internet of things security key negotiation method based on edge calculation
CN111935165B (en) * 2020-08-14 2022-09-20 中国工商银行股份有限公司 Access control method, device, electronic device and medium
CN112055344B (en) * 2020-08-31 2023-12-12 江苏徐工工程机械研究院有限公司 Engineering machinery Bluetooth equipment identity authentication system and method
CN112272089B (en) * 2020-10-26 2022-09-13 中国联合网络通信集团有限公司 Cloud host login method, device, equipment and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550593A (en) * 2015-12-11 2016-05-04 北京奇虎科技有限公司 Cloud disk file monitoring method and device based on local area network
CN106130784A (en) * 2016-07-20 2016-11-16 云南电网有限责任公司信息中心 A kind of securely configurable IT information unification harvester

Also Published As

Publication number Publication date
CN114189552A (en) 2022-03-15

Similar Documents

Publication Publication Date Title
US11765018B2 (en) Control plane device switching method and apparatus, and forwarding-control separation system
US9853855B2 (en) Stand-by controller assisted failover
CN107070613B (en) Reliable data transmission method in distributed network environment
US9419871B2 (en) Method and system for remotely monitoring device status and internet connectivity on a computer network
JP2001514773A (en) Reliable event delivery system
US20070033284A1 (en) System server for data processing with multiple clients and a data processing method
US10250581B2 (en) Client, server, radius capability negotiation method and system between client and server
WO2022062407A1 (en) Link monitoring method and apparatus, and storage medium and electronic apparatus
WO2008000132A1 (en) A system and method for collecting the entire network signaling information and a system for tracing the entire network signaling
CN101051981A (en) WLAN abnormal quick restoring method and device
CN107872364A (en) A kind of monitoring method of router state, apparatus and system
CN113783961A (en) Remote terminal management method and device, computer equipment and storage medium
CN110365714B (en) Host intrusion detection method, device, equipment and computer storage medium
CN114189552B (en) Data reporting method and system
US7281027B2 (en) Distributed processing system and network monitoring system
CN103001822B (en) The processing method of Network Abnormal and device
CN105554150A (en) Network logging-in method and apparatus
CN106982148B (en) Server downtime monitoring method, device and system
CN106713038B (en) remote transmission line quality detection method and system
CN111885203A (en) Method for remote management based on CMSP
US8700758B2 (en) Monitoring system, apparatus to be monitored, monitoring apparatus, and monitoring method
CN103973485B (en) Operation management system and method based on fixed port
CN105812599A (en) Alarming information reporting and processing method and device thereof
CN113691591A (en) Data transmission method, device and computer readable storage medium
WO2002023808A2 (en) Network management system

Legal Events

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