CN113014456A - Monitoring data transmission system, method, device, equipment and storage medium - Google Patents

Monitoring data transmission system, method, device, equipment and storage medium Download PDF

Info

Publication number
CN113014456A
CN113014456A CN202110286931.2A CN202110286931A CN113014456A CN 113014456 A CN113014456 A CN 113014456A CN 202110286931 A CN202110286931 A CN 202110286931A CN 113014456 A CN113014456 A CN 113014456A
Authority
CN
China
Prior art keywords
identification information
basic information
monitoring data
monitored object
information
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.)
Pending
Application number
CN202110286931.2A
Other languages
Chinese (zh)
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110286931.2A priority Critical patent/CN113014456A/en
Publication of CN113014456A publication Critical patent/CN113014456A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Mining & Analysis (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides a monitoring data transmission system, a monitoring data transmission method, a monitoring data transmission device, monitoring data transmission equipment and a storage medium, wherein client equipment acquires monitoring data of a monitored object and sends basic information of the monitored object corresponding to the monitoring data to server equipment; the server side equipment returns the identification information of the monitored object to the client side equipment according to the received basic information; then, the client device transmits the collected monitoring data and the identification information to the server device; and the server-side equipment acquires the basic information corresponding to the received identification information, generates identification information for the monitored object, and correspondingly stores the basic information and the monitoring data. Therefore, the client device sends the basic information of the monitored object corresponding to the monitoring data to the server device first, registration of the monitored object in the server device is achieved, the identification information corresponding to the monitored object is obtained, the basic information does not need to be sent repeatedly in the subsequent monitoring data transmission process, and accordingly network bandwidth overhead is reduced.

Description

Monitoring data transmission system, method, device, equipment and storage medium
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a monitoring data transmission system, method, apparatus, device, and storage medium.
Background
The monitoring data refers to data acquired by monitoring any monitoring object, and because the monitoring of the monitoring object is a continuous process, the monitoring data can be transmitted continuously, so that the monitoring data has a large data volume and occupies a large bandwidth of network resources in the transmission process.
When transmitting the monitoring data to the server, the acquisition end usually carries basic information of the monitored object to identify the monitored object corresponding to the monitoring data, and the basic information of the monitored object may include a name, a region, a machine room, an operator, a service name, and the like of the monitored object.
However, the basic information of the monitored object does not change in real time, different monitoring data may be collected for the same monitored object, and if the basic information of the monitored object is carried in each piece of monitoring data, it means that the same information is repeatedly transmitted, thereby increasing network bandwidth overhead.
Disclosure of Invention
The embodiment of the invention aims to provide a monitoring data transmission method, a monitoring data transmission device, monitoring data transmission equipment and a storage medium, so that the monitoring data transmission without depending on manpower is realized. The specific technical scheme is as follows:
in a first aspect of the present invention, there is provided a monitoring data transmission system, where the system includes a server device and at least one client device, where:
the client device is used for acquiring monitoring data of a monitored object and sending basic information of the monitored object corresponding to the monitoring data to the server device;
the server-side equipment is used for generating identification information for the monitored object according to the received basic information and returning the identification information of the monitored object to the client-side equipment;
the client device is further configured to correspondingly transmit the acquired monitoring data and the identification information to the server device;
the server-side device is further configured to obtain basic information corresponding to the received identification information, and correspondingly store the basic information and the monitoring data.
Optionally, the server device is specifically configured to generate identification information of the monitored object after receiving the basic information, store the basic information and the identification information correspondingly, and return the generated identification information to the client device.
Optionally, the server device is specifically configured to query whether the basic information is already stored after receiving the basic information; if the identification information of the monitored object is stored, the identification information of the monitored object is obtained, and the obtained identification information is returned to the client equipment; and if not, executing the steps of generating the identification information of the basic information, correspondingly storing the basic information and the identification information, and returning the generated identification information to the client equipment.
Optionally, the client device is further configured to send any updated basic information to the server device after any basic information of the monitored object is updated;
and the server side equipment is used for updating any basic information which is stored corresponding to the identification information of the monitored object according to the received updated any basic information.
In a second aspect of the present invention, there is also provided a monitoring data transmission method applied to a client device, where the method includes:
collecting monitoring data of a monitored object, and sending basic information of the monitored object corresponding to the monitoring data to server-side equipment;
receiving the identification information of the monitored object returned by the server-side equipment;
and transmitting the collected monitoring data and the identification information to the server side equipment.
Optionally, after the sending of the basic information of the monitoring object corresponding to the monitoring data to the server device, the method further includes:
after any basic information of the monitored object is updated, the updated basic information is sent to the server side equipment, so that the server side equipment updates any basic information which is stored corresponding to the identification information of the monitored object according to the received updated basic information.
In a third aspect of the present invention, there is further provided a monitoring data transmission method applied to a server device, where the method includes:
receiving basic information of a monitoring object corresponding to monitoring data acquired by client equipment, wherein the basic information is sent by the client equipment;
generating identification information for the monitored object according to the received basic information, and returning the identification information of the monitored object to the client equipment;
receiving monitoring data and identification information transmitted by the client equipment;
and acquiring basic information corresponding to the received identification information, and correspondingly storing the basic information and the monitoring data.
Optionally, the returning, according to the received basic information, the identification information of the monitored object to the client device includes:
after receiving the basic information, generating identification information of the monitored object;
correspondingly storing the basic information and the identification information, and returning the generated identification information to the client equipment.
Optionally, the returning, according to the received basic information, the identification information of the monitored object to the client device includes:
after receiving the basic information, inquiring whether the basic information is stored;
if the identification information of the monitored object is stored, the identification information of the monitored object is obtained, and the obtained identification information is returned to the client equipment;
and if not, executing the steps of generating the identification information of the basic information, correspondingly storing the basic information and the identification information, and returning the generated identification information to the client equipment.
Optionally, after receiving basic information of the monitored object corresponding to the monitoring data acquired by the client device, the method further includes:
receiving any basic information of the updated monitoring object sent by the client device;
and updating any basic information which is stored corresponding to the identification information of the monitored object according to the received updated any basic information.
In a fourth aspect of the present invention, there is also provided a monitoring data transmission apparatus, applied to a client device, the apparatus including:
the monitoring data acquisition module is used for acquiring monitoring data of a monitored object;
the basic information sending module is used for sending basic information of the monitoring object corresponding to the monitoring data to the server equipment;
the identification information receiving module is used for receiving the identification information of the monitored object returned by the server-side equipment;
and the monitoring data transmission module is used for transmitting the acquired monitoring data and the identification information to the server side equipment.
In a fifth aspect of the present invention, there is also provided a monitoring data transmission apparatus, applied to a server device, the apparatus including:
the basic information receiving module is used for receiving basic information of a monitoring object corresponding to monitoring data acquired by the client equipment and sent by the client equipment;
the identification information sending module is used for generating identification information for the monitored object according to the received basic information and returning the identification information of the monitored object to the client equipment;
the monitoring data receiving module is used for receiving the monitoring data and the identification information transmitted by the client equipment;
and the monitoring data storage module is used for acquiring the basic information corresponding to the received identification information and correspondingly storing the basic information and the monitoring data.
In another aspect of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the monitoring data transmission methods when executing the program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute any of the above-described monitoring data transmission or monitoring data transmission methods.
In yet another aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the monitoring data transmission or monitoring data transmission methods described above.
The monitoring data transmission system, the method, the device, the equipment and the storage medium provided by the embodiment of the invention have the advantages that the client equipment collects the monitoring data of the monitored object and sends the basic information of the monitored object corresponding to the monitoring data to the server equipment; the server side equipment generates identification information for the monitored object according to the received basic information and returns the identification information of the monitored object to the client side equipment; then, the client device transmits the collected monitoring data and the identification information to the server device; and the server side equipment acquires the basic information corresponding to the received identification information and correspondingly stores the basic information and the monitoring data.
Therefore, before sending the monitoring data, the client device sends the basic information of the monitoring object corresponding to the monitoring data to the server device, registration of the monitoring object in the server device is achieved, the identification information corresponding to the monitoring object is obtained, and in the subsequent monitoring data transmission process, the client device can only send the monitoring data and the identification information without repeatedly sending the basic information, so that the network bandwidth overhead is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is an information interaction diagram of a monitoring data transmission system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a monitoring data transmission method applied to a client device according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a monitoring data transmission method applied to a server device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a monitoring data transmission apparatus applied to a client device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a monitoring data transmission apparatus applied to a server device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
In the related art, when the acquisition end transmits the monitoring data to the server end, the acquisition end usually carries basic information of the monitored object to identify the monitored object corresponding to the monitoring data, but the basic information of the monitored object does not change in real time, and different monitoring data may be acquired for the same monitored object, and if the basic information of the monitored object is carried in each piece of monitoring data, the same information is repeatedly transmitted, thereby increasing network bandwidth overhead.
In order to solve the above problem, an embodiment of the present invention provides a monitoring data transmission system, and the monitoring data transmission system provided in the embodiment of the present invention is generally described below, where the system includes a server device and at least one client device:
the client device is used for acquiring monitoring data of the monitored object and sending basic information of the monitored object corresponding to the monitoring data to the server device;
the server-side equipment is used for generating identification information for the monitored object according to the received basic information and returning the identification information of the monitored object to the client-side equipment;
the client device is also used for transmitting the acquired monitoring data and the identification information to the server device;
and the server-side equipment is also used for acquiring the basic information corresponding to the received identification information and correspondingly storing the basic information and the monitoring data.
As can be seen from the above, in the monitoring data transmission system provided in the embodiment of the present invention, before sending the monitoring data, the client device sends the basic information of the monitored object corresponding to the monitoring data to the server device, so as to register the monitored object in the server device, obtain the identification information corresponding to the monitored object, and in the subsequent monitoring data transmission process, only send the monitoring data and the identification information without repeatedly sending the basic information, thereby reducing the network bandwidth overhead.
The monitoring data transmission system provided by the embodiment of the invention will be described in detail through specific embodiments.
As shown in fig. 1, an information interaction diagram of a monitoring data transmission system provided in an embodiment of the present invention includes a server device 110 and at least one client device 120.
S101: the client device 120 collects monitoring data of the monitored object.
In this embodiment of the present invention, the client device 120 is a device for acquiring monitoring data, where the monitoring data refers to data that is continuously acquired for any index of any monitoring object, and may be, for example, data such as throughput rate and number of concurrent connections of the monitoring object, text data, image data, and video data, and is not limited specifically.
The monitoring object may be any type of data service, for example, HTTP (HyperText transfer protocol) service, MySQL (structured query Language) service, Remote data service (Remote directory Server) service, or Dubbo RPC (Remote Procedure Call) service, or may be any device, for example, the client device 120 itself, or another device connected to the client device 120.
In this step, the client device 120 may start to collect the monitoring data in response to a monitoring data collection instruction sent by the user, or the client device 120 may also collect the monitoring data by itself according to a preset data collection rule, for example, collect the monitoring data within a preset time period of each day, or start to collect the monitoring data when detecting that any index of the monitored object changes, and the like, which is not limited specifically.
S102: the client device 120 sends basic information of the monitoring object corresponding to the monitoring data to the server device 110.
The basic information is used to identify the monitoring object corresponding to the monitoring data, and may include one or more items of information such as the name, region, machine room, operator, and service name of the monitoring object, and the unique monitoring object may be determined according to the basic information. That is, a plurality of pieces of monitoring data corresponding to the same monitoring object have the same basic information.
In this step, the basic information may be pre-stored in the client device 120, for example, when the client device 120 is configured to obtain monitoring data of a certain monitoring object, the user may pre-store the basic information of the monitoring object in the client device 120. Alternatively, the client device 120 may also obtain the basic information of the monitored object in real time, for example, the client device 120 may send an information query request to the monitored object, so as to obtain the basic information of the monitored object, and the like, which is not limited specifically.
S103: the server device 110 generates identification information for the monitored object according to the received basic information, and returns the identification information of the monitored object to the client device 120.
In this step, after receiving the basic information, the server device 110 may return the identification information of the monitoring object uniquely corresponding to the basic information to the client device 120.
The identification information is used for identifying the identities of the monitored objects, and each monitored object has unique corresponding identification information, that is, a plurality of items of monitoring data corresponding to the same monitored object correspond to the same identification information. For example, the identification information may be a name, an ID (Identity document), a code number, and the like of the monitoring object, and is not limited specifically.
The identification information is generated by the server device 110 according to the received basic information, for example, after the server device 110 receives the basic information, the identification information of the monitored object is generated, and the basic information and the identification information are correspondingly stored, so that the basic information of the monitored object can be queried according to the identification information of any monitored object in subsequent operations. The server device 110 may randomly generate the identification information of the monitored object, or may generate the identification information of the monitored object according to a preset identification generation rule, for example, by adopting a manner such as digital increment, which is not limited specifically. In this way, the server device 110 can generate the identification information of any monitoring object by itself, thereby reducing the workload of the user and facilitating the addition of new monitoring objects at any time.
Further, after receiving the basic information, the server device 110 may first query whether the basic information of the same monitored object is stored; if the stored monitoring object indicates that the monitoring object is registered, the stored identification information of the same monitoring object can be obtained, and the obtained identification information is returned to the client device; if the monitoring object is not stored, the monitoring object is not registered, then the identification information of the monitoring object is regenerated, and the identification information and the basic information are correspondingly stored. In this way, the same monitored object only corresponds to unique identification information, information redundancy is not generated, only the unique basic information and the unique identification information of the monitored object are stored in the server device 110, and resource occupation can be reduced.
S104: the client device 120 transmits the collected monitoring data and the identification information to the server device 110.
After collecting the monitoring data, the client device 120 may transmit the collected monitoring data and the identification information to the server device 110. The monitoring data may be transmitted to the server device 110 in real time, or the monitoring data acquired in the data uploading interval may be transmitted to the server device 110 at intervals according to a preset data uploading interval, which is not limited specifically.
Each piece of monitoring data corresponds to the identification information, and is transmitted together from the client device 120 to the server device 110, compared to the related art, in which the monitoring data is transmitted together with the basic information, the data amount of the identification information is smaller than that of the basic information, that is, the data amount transmitted by the client device 120 each time is also smaller, so that the network bandwidth overhead can be reduced.
S105: the server device 110 obtains the basic information corresponding to the received identification information, and correspondingly stores the basic information and the monitoring data.
In this step, after the identification information received by the server device 110, the base information corresponding to the locally stored identification information may be obtained, and then the base information and the monitoring data are stored correspondingly, so that the stored monitoring data still corresponds to the base information of the monitoring object corresponding to the monitoring data, which is convenient for querying and analyzing the monitoring data.
In some cases, the environment or the state of the monitored object may change, and the basic information of the monitored object may also change accordingly. In one implementation, the client device 120 may send any basic information of the monitored object to the server device 110 after the basic information is updated, and the server device 110 updates the basic information stored corresponding to the identification information of the monitored object according to the received updated basic information. In this way, when the client device 120 detects that the basic information of any monitoring object changes, the basic information of the monitoring object stored in the server device 110 can be updated synchronously without creating identification information corresponding to new basic information.
As can be seen from the above, in the monitoring data transmission system provided in the embodiment of the present invention, before sending the monitoring data, the basic information of the monitored object corresponding to the monitoring data is sent to the server device, so as to implement registration of the monitored object in the server device, and obtain the identification information corresponding to the monitored object.
As shown in fig. 2, a schematic flow chart of a monitoring data transmission method applied to a client device according to an embodiment of the present invention is provided, where the method includes the following steps:
s201: and collecting the monitoring data of the monitored object, and sending the basic information of the monitored object corresponding to the monitoring data to the server equipment.
The basic information is used to identify the monitoring object corresponding to the monitoring data, and may include one or more items of information such as the name, region, machine room, operator, and service name of the monitoring object, and the unique monitoring object may be determined according to the basic information. That is, a plurality of pieces of monitoring data corresponding to the same monitoring object have the same basic information.
S202: and receiving the identification information of the monitored object returned by the server equipment.
The identification information is used for identifying the identities of the monitored objects, and each monitored object has unique corresponding identification information, that is, a plurality of items of monitoring data corresponding to the same monitored object correspond to the same identification information. For example, the identification information may be a name, an ID, an encoding number, and the like of the monitoring object, and is not limited in particular.
S203: and transmitting the collected monitoring data and the identification information to the server side equipment.
Each piece of monitoring data corresponds to the identification information, and is transmitted together from the client device 120 to the server device 110, compared to the related art, in which the monitoring data is transmitted together with the basic information, the data amount of the identification information is smaller than that of the basic information, that is, the data amount transmitted by the client device 120 each time is also smaller, so that the network bandwidth overhead can be reduced.
In some cases, the environment or the state of the monitored object may change, and the basic information of the monitored object may also change accordingly. In one implementation, the client device 120 may send any basic information of the monitored object to the server device 110 after the basic information is updated, and the server device 110 updates the basic information stored corresponding to the identification information of the monitored object according to the received updated basic information. In this way, when the client device 120 detects that the basic information of any monitoring object changes, the basic information of the monitoring object stored in the server device 110 can be updated synchronously without creating identification information corresponding to new basic information.
As can be seen from the above, in the monitoring data transmission method provided in the embodiment of the present invention, before sending the monitoring data, the client device sends the basic information of the monitored object corresponding to the monitoring data to the server device, so as to register the monitored object in the server device, obtain the identification information corresponding to the monitored object, and in the subsequent monitoring data transmission process, only the monitoring data and the identification information may be sent without repeatedly sending the basic information, thereby reducing the network bandwidth overhead.
As shown in fig. 3, a schematic flow chart of a monitoring data transmission method applied to a server device according to an embodiment of the present invention is provided, where the method includes the following steps:
s301: and receiving basic information of the monitoring object corresponding to the monitoring data acquired by the client equipment, which is sent by the client equipment.
The basic information is used to identify the monitoring object corresponding to the monitoring data, and may include one or more items of information such as the name, region, machine room, operator, and service name of the monitoring object, and the unique monitoring object may be determined according to the basic information. That is, a plurality of pieces of monitoring data corresponding to the same monitoring object have the same basic information.
S302: and generating identification information for the monitored object according to the received basic information, and returning the identification information of the monitored object to the client equipment.
The identification information is used for identifying the identities of the monitored objects, and each monitored object has unique corresponding identification information, that is, a plurality of items of monitoring data corresponding to the same monitored object correspond to the same identification information. For example, the identification information may be a name, an ID, an encoding number, and the like of the monitoring object, and is not limited in particular.
In one implementation, returning identification information of a monitored object to a client device according to received basic information includes:
for example, after receiving the basic information, the server device 110 generates identification information of the monitored object, and correspondingly stores the basic information and the identification information, so that the basic information of the monitored object can be queried according to the identification information of any monitored object in subsequent operations. The server device 110 may randomly generate the identification information of the monitored object, or may generate the identification information of the monitored object according to a preset identification generation rule, for example, by adopting a manner such as digital increment, which is not limited specifically. In this way, the server device 110 can generate the identification information of any monitoring object by itself, thereby reducing the workload of the user and facilitating the addition of new monitoring objects at any time.
Further, after receiving the basic information, the server device 110 may first query whether the basic information of the same monitored object is stored; if the stored monitoring object indicates that the monitoring object is registered, the stored identification information of the same monitoring object can be obtained, and the obtained identification information is returned to the client device; if the monitoring object is not stored, the monitoring object is not registered, then the identification information of the monitoring object is regenerated, and the identification information and the basic information are correspondingly stored. In this way, the same monitored object only corresponds to unique identification information, information redundancy is not generated, only the unique basic information and the unique identification information of the monitored object are stored in the server device 110, and resource occupation can be reduced.
S303: and receiving the monitoring data and the identification information transmitted by the client equipment.
Each piece of monitoring data corresponds to the identification information, and is transmitted together from the client device 120 to the server device 110, compared to the related art, in which the monitoring data is transmitted together with the basic information, the data amount of the identification information is smaller than that of the basic information, that is, the data amount transmitted by the client device 120 each time is also smaller, so that the network bandwidth overhead can be reduced.
S304: and acquiring basic information corresponding to the received identification information, and correspondingly storing the basic information and the monitoring data.
In this step, after the identification information received by the server device 110, the base information corresponding to the locally stored identification information may be obtained, and then the base information and the monitoring data are stored correspondingly, so that the stored monitoring data still corresponds to the base information of the monitoring object corresponding to the monitoring data, which is convenient for querying and analyzing the monitoring data.
In some cases, the environment or the state of the monitored object may change, and the basic information of the monitored object may also change accordingly. In one implementation, the client device 120 may send any basic information of the monitored object to the server device 110 after the basic information is updated, and the server device 110 updates the basic information stored corresponding to the identification information of the monitored object according to the received updated basic information. In this way, when the client device 120 detects that the basic information of any monitoring object changes, the basic information of the monitoring object stored in the server device 110 can be updated synchronously without creating identification information corresponding to new basic information.
As can be seen from the above, in the monitoring data transmission method provided in the embodiment of the present invention, before sending the monitoring data, the basic information of the monitored object corresponding to the monitoring data is sent to the server device, so as to implement registration of the monitored object in the server device, and obtain the identification information corresponding to the monitored object.
As shown in fig. 4, an embodiment of the present invention further provides a schematic structural diagram of a monitoring data transmission apparatus applied to a client device, where the apparatus includes:
a monitoring data acquisition module 401, configured to acquire monitoring data of a monitored object;
a basic information sending module 402, configured to send basic information of a monitoring object corresponding to the monitoring data to the server device;
an identification information receiving module 403, configured to receive identification information of a monitored object returned by the server device;
and a monitoring data transmission module 404, configured to transmit the acquired monitoring data and the identification information to the server device.
In one implementation, the basic information sending module 402 is specifically configured to:
after any basic information of the monitored object is updated, the updated basic information is sent to the server side equipment, so that the server side equipment updates any basic information which is stored corresponding to the identification information of the monitored object according to the received updated basic information.
As can be seen from the above, in the monitoring data transmission device provided in the embodiment of the present invention, before sending the monitoring data, the basic information of the monitored object corresponding to the monitoring data is sent to the server device, so as to implement registration of the monitored object in the server device, and obtain the identification information corresponding to the monitored object.
As shown in fig. 5, an embodiment of the present invention further provides a schematic structural diagram of a monitoring data transmission apparatus applied to a server device, where the apparatus includes:
a basic information receiving module 501, configured to receive basic information of a monitoring object corresponding to monitoring data acquired by a client device, where the basic information is sent by the client device;
an identification information sending module 502, configured to generate identification information for the monitored object according to the received basic information, and return the identification information of the monitored object to the client device;
a monitoring data receiving module 503, configured to receive monitoring data and identification information transmitted by the client device;
and a monitoring data storage module 504, configured to obtain basic information corresponding to the received identification information, and correspondingly store the basic information and the monitoring data.
In one implementation, the identification information sending module 502 is specifically configured to:
after receiving the basic information, generating identification information of the monitored object;
correspondingly storing the basic information and the identification information, and returning the generated identification information to the client equipment.
In one implementation, the identification information sending module 502 is specifically configured to:
after receiving the basic information, inquiring whether the basic information is stored;
if the identification information of the monitored object is stored, the identification information of the monitored object is obtained, and the obtained identification information is returned to the client equipment;
and if not, executing the steps of generating the identification information of the basic information, correspondingly storing the basic information and the identification information, and returning the generated identification information to the client equipment.
In one implementation, the basic information receiving module 501 is further configured to:
receiving any basic information of the updated monitoring object sent by the client device;
and updating any basic information stored corresponding to the identification information of the monitored object according to the received updated any basic information.
As can be seen from the above, in the monitoring data transmission device provided in the embodiment of the present invention, before sending the monitoring data, the basic information of the monitored object corresponding to the monitoring data is sent to the server device, so as to implement registration of the monitored object in the server device, and obtain the identification information corresponding to the monitored object.
An embodiment of the present invention further provides an electronic device, as shown in fig. 6, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the following steps when executing the program stored in the memory 703:
collecting monitoring data of a monitored object, and sending basic information of the monitored object corresponding to the monitoring data to server-side equipment;
receiving identification information of a monitored object returned by the server equipment;
transmitting the collected monitoring data and the identification information to the server-side equipment;
alternatively, the following steps are implemented:
receiving basic information of a monitoring object corresponding to monitoring data acquired by client equipment, wherein the basic information is sent by the client equipment;
generating identification information for the monitored object according to the received basic information, and returning the identification information of the monitored object to the client equipment;
receiving monitoring data and identification information transmitted by client equipment;
and acquiring basic information corresponding to the received identification information, and correspondingly storing the basic information and the monitoring data.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM), or may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which has instructions stored therein, and when the instructions are executed on a computer, the instructions cause the computer to execute the monitoring data transmission method described in any of the above embodiments.
In a further embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of monitoring data transmission as described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (14)

1. A supervisory data transmission system, the system comprising a server device and a client device, wherein:
the client device is used for acquiring monitoring data of a monitored object and sending basic information of the monitored object corresponding to the monitoring data to the server device;
the server-side equipment is used for generating identification information for the monitored object according to the received basic information and returning the identification information of the monitored object to the client-side equipment;
the client device is further configured to transmit the acquired monitoring data and the identification information to the server device;
the server-side device is further configured to obtain basic information corresponding to the received identification information, and correspondingly store the basic information and the monitoring data.
2. The system of claim 1,
the server device is specifically configured to generate identification information of the monitored object after receiving the basic information, store the basic information and the identification information correspondingly, and return the generated identification information to the client device.
3. The system of claim 2,
the server device is specifically configured to query whether the basic information is stored after receiving the basic information; if the identification information of the monitored object is stored, the identification information of the monitored object is obtained, and the obtained identification information is returned to the client equipment; and if not, executing the steps of generating the identification information of the monitoring object, correspondingly storing the basic information and the identification information, and returning the generated identification information to the client equipment.
4. The system of claim 1,
the client device is further configured to send any updated basic information to the server device after any basic information of the monitored object is updated;
and the server side equipment is used for updating any basic information which is stored corresponding to the identification information of the monitored object according to the received updated any basic information.
5. A monitoring data transmission method is applied to a client device, and comprises the following steps:
collecting monitoring data of a monitored object, and sending basic information of the monitored object corresponding to the monitoring data to server-side equipment;
receiving the identification information of the monitored object returned by the server-side equipment;
and transmitting the collected monitoring data and the identification information to the server side equipment.
6. The method according to claim 5, wherein after the sending of the basic information of the monitoring object corresponding to the monitoring data to the server device, the method further comprises:
after any basic information of the monitored object is updated, the updated basic information is sent to the server side equipment, so that the server side equipment updates any basic information which is stored corresponding to the identification information of the monitored object according to the received updated basic information.
7. A monitoring data transmission method is applied to server-side equipment, and the method comprises the following steps:
receiving basic information of a monitoring object corresponding to monitoring data acquired by client equipment, wherein the basic information is sent by the client equipment;
generating identification information for the monitored object according to the received basic information, and returning the identification information of the monitored object to the client equipment;
receiving monitoring data and identification information transmitted by the client equipment;
and acquiring basic information corresponding to the received identification information, and correspondingly storing the basic information and the monitoring data.
8. The method of claim 7, wherein returning identification information of the monitoring object to the client device according to the received basic information comprises:
after receiving the basic information, generating identification information of the monitored object;
correspondingly storing the basic information and the identification information, and returning the generated identification information to the client equipment.
9. The method of claim 8, wherein returning identification information of the monitoring object to the client device according to the received basic information comprises:
after receiving the basic information, inquiring whether the basic information is stored;
if the identification information of the monitored object is stored, the identification information of the monitored object is obtained, and the obtained identification information is returned to the client equipment;
and if not, executing the steps of generating the identification information of the basic information, correspondingly storing the basic information and the identification information, and returning the generated identification information to the client equipment.
10. The method according to claim 7, wherein after receiving basic information of the monitoring object corresponding to the monitoring data collected by the client device, the method further comprises:
receiving any basic information of the updated monitoring object sent by the client device;
and updating any basic information which is stored corresponding to the identification information of the monitored object according to the received updated any basic information.
11. A monitoring data transmission apparatus, applied to a client device, the apparatus comprising:
the monitoring data acquisition module is used for acquiring monitoring data of a monitored object;
the basic information sending module is used for sending basic information of the monitoring object corresponding to the monitoring data to the server equipment;
the identification information receiving module is used for receiving the identification information of the monitored object returned by the server-side equipment;
and the monitoring data transmission module is used for transmitting the acquired monitoring data and the identification information to the server side equipment.
12. A monitoring data transmission device is applied to server-side equipment, and the device comprises:
the basic information receiving module is used for receiving basic information of a monitoring object corresponding to monitoring data acquired by the client equipment and sent by the client equipment;
the identification information sending module is used for generating identification information for the monitored object according to the received basic information and returning the identification information of the monitored object to the client equipment;
the monitoring data receiving module is used for receiving the monitoring data and the identification information transmitted by the client equipment;
and the monitoring data storage module is used for acquiring the basic information corresponding to the received identification information and correspondingly storing the basic information and the monitoring data.
13. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 5 to 10 when executing a program stored in the memory.
14. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of any one of claims 5 to 10.
CN202110286931.2A 2021-03-17 2021-03-17 Monitoring data transmission system, method, device, equipment and storage medium Pending CN113014456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110286931.2A CN113014456A (en) 2021-03-17 2021-03-17 Monitoring data transmission system, method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110286931.2A CN113014456A (en) 2021-03-17 2021-03-17 Monitoring data transmission system, method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113014456A true CN113014456A (en) 2021-06-22

Family

ID=76409338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110286931.2A Pending CN113014456A (en) 2021-03-17 2021-03-17 Monitoring data transmission system, method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113014456A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117376534A (en) * 2023-12-07 2024-01-09 江西云眼视界科技股份有限公司 Intelligent device data acquisition system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108023788A (en) * 2017-11-29 2018-05-11 中国平安人寿保险股份有限公司 Monitoring data method for uploading, device, equipment, system and storage medium
CN108975118A (en) * 2018-09-03 2018-12-11 日立楼宇技术(广州)有限公司 Elevator monitoring method, apparatus, terminal, equipment, monitor supervision platform and system
CN109474697A (en) * 2018-12-11 2019-03-15 长春金阳高科技有限责任公司 A kind of monitoring system audio/video transmission method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108023788A (en) * 2017-11-29 2018-05-11 中国平安人寿保险股份有限公司 Monitoring data method for uploading, device, equipment, system and storage medium
CN108975118A (en) * 2018-09-03 2018-12-11 日立楼宇技术(广州)有限公司 Elevator monitoring method, apparatus, terminal, equipment, monitor supervision platform and system
CN109474697A (en) * 2018-12-11 2019-03-15 长春金阳高科技有限责任公司 A kind of monitoring system audio/video transmission method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117376534A (en) * 2023-12-07 2024-01-09 江西云眼视界科技股份有限公司 Intelligent device data acquisition system

Similar Documents

Publication Publication Date Title
KR102105636B1 (en) Installing application remotely
CN107360261B (en) HTTP request processing method and device and electronic equipment
CN102904765B (en) The method and apparatus that data report
CN110851290A (en) Data synchronization method and device, electronic equipment and storage medium
CN110928934A (en) Data processing method and device for business analysis
CN112866062B (en) Distributed pressure test system, method, device, equipment and storage medium
CN112437148B (en) Service request processing method and device, service server and system
CN111061498A (en) Configuration information management system
CN110311975B (en) Data request processing method and device
CN110430070B (en) Service state analysis method, device, server, data analysis equipment and medium
CN108132836B (en) Task distribution method and device and electronic equipment
CN113014456A (en) Monitoring data transmission system, method, device, equipment and storage medium
CN114039961A (en) Message pushing method, device, server and storage medium based on WebSocket
CN112653736B (en) Parallel source returning method and device and electronic equipment
CN114327710A (en) Function management method, management device, terminal equipment and readable storage medium
CN109471713B (en) Method and device for inquiring information
CN111355765A (en) Network request processing and sending method and device
CN110955460B (en) Service process starting method and device, electronic equipment and storage medium
CN110309028B (en) Monitoring information acquisition method, service monitoring method, device and system
CN109495319B (en) Method, device and equipment for determining fault information of CDN node
CN111737084A (en) Information monitoring method and device, intelligent equipment, computer equipment and medium
CN114090268B (en) Container management method and container management system
CN114465919B (en) Network service testing method, system, electronic equipment and storage medium
CN112699000A (en) Data processing method and device, readable storage medium and electronic equipment
CN113114612B (en) Determination method and device for distributed system call chain

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210622