CN109246235A - Method of reseptance, device and the data monitoring system of monitoring data - Google Patents
Method of reseptance, device and the data monitoring system of monitoring data Download PDFInfo
- Publication number
- CN109246235A CN109246235A CN201811162550.8A CN201811162550A CN109246235A CN 109246235 A CN109246235 A CN 109246235A CN 201811162550 A CN201811162550 A CN 201811162550A CN 109246235 A CN109246235 A CN 109246235A
- Authority
- CN
- China
- Prior art keywords
- data
- monitoring
- monitoring data
- terminal
- journey
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to a kind of method of reseptance of monitoring data, device, data monitoring system, computer equipment and computer readable storage mediums, wherein method comprising steps of in response to monitor terminal data transfer request, the information of monitoring data to be received is extracted from preset configuration file, the information of monitoring data includes the IP address of local device and monitoring terminal and the port information of local device;An available port is distributed from the port of local device according to port information to the monitoring terminal, and the IP address of terminal using local device and is monitored and monitoring terminal is established and communicated to connect by the available port;For the monitoring terminal having connected, association's journey is configured;Journey is assisted by this, receives the monitoring data of monitoring terminal.The above method flexibly matches received monitoring data type by preset configuration file.It assists journey to connect respectively by each item to set the data for receiving each monitoring terminal, realize the quick transmission of high-volume data, promote the receiving efficiency of monitoring data.
Description
Technical field
The present invention relates to field of data transmission, more particularly to the method for reseptance, device, data monitoring of a kind of monitoring data
System, computer equipment and computer readable storage medium.
Background technique
In environmental protection industry (epi), online environment monitoring system, central server needs in real time to the data of monitoring terminal acquisition
It is received and dispatched and is handled, it is more in monitoring terminal, and the data class monitored is various, and when data volume is big, data transmission and data
Processing require to occupy more resource.
Existing online environment monitoring system can only receive a kind of number of monitoring type when carrying out data transmission processing
According to being unable to flexible configuration monitoring parameter, and the ability without handling high-volume data receiver, the efficiency for causing data receiver to handle
Lowly.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide method of reseptance, device, the data prison of a kind of monitoring data
Examining system, computer equipment and computer readable storage medium.
A kind of method of reseptance of monitoring data, comprising the following steps:
In response to monitoring the data transfer request of terminal, monitoring data to be received are extracted from preset configuration file
Information, the information of monitoring data include the IP address of local device and monitoring terminal and the port information of local device.
An available port is distributed from the port of local device according to port information to the monitoring terminal, and can by this
It is established and is communicated to connect using the IP address and monitoring terminal of local device and monitoring terminal with port.
For the monitoring terminal having connected, association's journey is configured.
Journey is assisted by this, receives the monitoring data of monitoring terminal.
The method of reseptance of above-mentioned monitoring data can be to the monitoring of received monitoring terminal by preset configuration file
Data type carries out flexible configuration, neatly to receive different types of monitoring data.Pass through the IP in the configuration file of reading
Address and port information carry out port configuration, establish local terminal server apparatus and monitor the connection between terminal, and are directed to and work as
Before the monitoring terminal that has connected association's journey is separately configured, pass through association's journey and receive data.To distinguish in multiple monitoring terminals
When transferring data to local terminal server apparatus, journey can be assisted to receive the data that each monitoring terminal is sent respectively by each item, respectively
A association's journey can carry out data transmission and handle simultaneously, and not interfere with each other independently of each other, so as to realize high-volume data
Quickly transmission, improves the receiving efficiency of monitoring data.
In one embodiment, journey is assisted by this, after the monitoring data for receiving monitoring terminal further include: pass through this
Journey is assisted, received monitoring data are handled;Save treated monitoring data.
The technical solution of above-described embodiment can also be further by each after assisting journey to receive monitoring data by each item
Each monitoring data for monitoring terminal are handled item association journey respectively, improve the treatment effeciency to monitoring data.In processing number
According to rear, the data of processing are saved, convenient for the subsequent calling to data.
In one embodiment, journey is assisted by this, carrying out processing to received monitoring data includes: to assist by this
Bytecode data packet in received monitoring data is converted to string data packet by journey, is carried out to string data packet complete
Property verification, data packet split and/or data recombination.The processing for splitting and recombinating by the verification to received data packet, guarantees
The quality of storing data.
In one embodiment, the information of monitoring data further includes the information of the data type of monitoring data;Preservation processing
Monitoring data afterwards include: that the data type number of monitoring data is extracted from received monitoring data, are compiled by data type
Number, the corresponding data type of data type number is searched in the information of the data type of monitoring data;By received monitoring number
It is stored in database profession in the classification data table of corresponding classification according to according to its data type, wherein a classification data table is corresponding
It is stored with a type of monitoring data.
The technical solution of above-described embodiment is being connect by the information of the type of the monitoring data prestored in configuration file
When receiving monitoring data, the corresponding data type of the monitoring data is read by configuration file, and according to the number of the monitoring data
Classification storage is carried out according to type, the data of the storage made are more dispersed, and the data volume of single classification data table storage greatly reduces,
When needing to inquire acquisition monitoring data, it can be inquired directly from corresponding classification data table and obtain corresponding monitoring data,
Improve the efficiency of data call.
In one embodiment, the method for reseptance of monitoring data further include: by preconfigured second development interface, connect
Receive the parameter of functional module;According to parameter, functional module is directed into the program of local device.
The technical solution of above-described embodiment is matched in advance in the program that local device executes the method for reseptance of monitoring data
Second development interface is set, when needing for the new function of system development, using the second development interface, by the ginseng of new function
Numerical example such as function name is incoming, and the service logic of new function can be handled in new function module, and not depend on existing server
In program, the exploitation and operational efficiency of lifting system.
A kind of reception device of monitoring data, comprising:
Configuration file read module, for the data transfer request in response to monitoring terminal, from preset configuration file
Extract the information of monitoring data to be received, the information of the monitoring data includes the IP of local device and the monitoring terminal
The port information of location and local device;
Connection establishment module, for distributing an available port from the port of local device according to port information to the prison
Terminal is surveyed, and utilizes the IP address of local device and the monitoring terminal and the monitoring terminal to establish and lead to by the available port
Letter connection;
Journey configuration module is assisted, for configuring association's journey for the monitoring terminal having connected;
Data reception module, for receiving the monitoring data of the monitoring terminal by this association's journey.
The reception device of above-mentioned monitoring data can be to the monitoring of received monitoring terminal by preset configuration file
Data type carries out flexible configuration, neatly to receive different types of monitoring data.Pass through the IP in the configuration file of reading
Address and port information carry out port configuration, establish local terminal server apparatus and monitor the connection between terminal, and are directed to and work as
Before the monitoring terminal that has connected association's journey is separately configured, pass through association's journey and receive data.To distinguish in multiple monitoring terminals
When transferring data to local terminal server apparatus, journey can be assisted to receive the data that each monitoring terminal is sent respectively by each item, respectively
A association's journey can carry out data transmission and handle simultaneously, and not interfere with each other independently of each other, so as to realize high-volume data
Quickly transmission, improves the receiving efficiency of monitoring data.
In one embodiment, a kind of data monitoring system, including server are provided, and is connect with server more
A monitoring terminal;Each monitoring terminal is respectively used to acquisition monitoring data, and the monitoring data of acquisition are sent to server;Clothes
Business device is used to execute the step of method of reseptance of the monitoring data of any one embodiment as above.
Above-mentioned data monitoring system, server, can be to the monitorings of received monitoring terminal by preset configuration file
Data type carries out flexible configuration, neatly to receive different types of monitoring data.Pass through the IP in the configuration file of reading
Address and port information carry out port configuration, establish local terminal server apparatus and monitor the connection between terminal, and are directed to and work as
Before the monitoring terminal that has connected association's journey is separately configured, pass through association's journey and receive data.To distinguish in multiple monitoring terminals
When transferring data to local terminal server apparatus, journey can be assisted to receive the data that each monitoring terminal is sent respectively by each item, respectively
A association's journey can carry out data transmission and handle simultaneously, and not interfere with each other independently of each other, so as to realize high-volume data
Quickly transmission improves in data monitoring system server to the receiving efficiency of monitoring data.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage
Computer program, processor perform the steps of when executing computer program
In response to monitoring the data transfer request of terminal, monitoring data to be received are extracted from preset configuration file
Information, the information of the monitoring data include the IP address of local device and the monitoring terminal and the port of local device
Information;
An available port is distributed from the port of local device according to port information to the monitoring terminal, and can by this
It is established and is communicated to connect using the IP address and the monitoring terminal of local device and the monitoring terminal with port;
For the monitoring terminal having connected, association's journey is configured;
By this association's journey, the monitoring data of the monitoring terminal are received.
Above-mentioned computer equipment, it is preset so as to pass through by realizing step as above when processor executes program
Configuration file carries out flexible configuration to the monitoring data type of received monitoring terminal, neatly to receive different types of prison
Measured data.By the IP address and port information in the configuration file of reading, port configuration is carried out, local terminal server apparatus is established
Connection between monitoring terminal, and association's journey is separately configured for currently attached monitoring terminal, pass through association's journey
Receive data.To which journey point can be assisted by each item when multiple monitoring terminals transfer data to local terminal server apparatus respectively
The data that each monitoring terminal is sent are not received, and each association's journey can carry out data transmission and handle simultaneously, and mutually indepedent mutual
It does not interfere, so as to realize the quick transmission of high-volume data, improves the receiving efficiency of monitoring data.
A kind of computer readable storage medium is stored thereon with computer program, when computer program is executed by processor
It performs the steps of
In response to monitoring the data transfer request of terminal, monitoring data to be received are extracted from preset configuration file
Information, the information of the monitoring data include the IP address of local device and the monitoring terminal and the port of local device
Information;
An available port is distributed from the port of local device according to port information to the monitoring terminal, and can by this
It is established and is communicated to connect using the IP address and the monitoring terminal of local device and the monitoring terminal with port;
For the monitoring terminal having connected, association's journey is configured;
By this association's journey, the monitoring data of the monitoring terminal are received.
Above-mentioned computer readable storage medium, the computer program of storage, by realizing step as above, so as to logical
Preset configuration file is crossed, flexible configuration is carried out to the monitoring data type of received monitoring terminal, neatly to receive difference
The monitoring data of type.By the IP address and port information in the configuration file of reading, port configuration is carried out, establishes local terminal clothes
Connection between device equipment of being engaged in and monitoring terminal, and association's journey is separately configured for currently attached monitoring terminal, lead to
It crosses association's journey and receives data.Thus when multiple monitoring terminals transfer data to local terminal server apparatus respectively, it can be by each
Item association journey receives the data that each monitoring terminal is sent respectively, and each association's journey can carry out data transmission and handle simultaneously, and phase
It does not interfere with each other independently mutually, so as to realize the quick transmission of high-volume data, improves the receiving efficiency of monitoring data.
Detailed description of the invention
Fig. 1 is the applied environment figure of the method for reseptance of monitoring data in one embodiment;
Fig. 2 is the flow diagram of the method for reseptance of monitoring data in one embodiment;
Fig. 3 is the flow diagram of the method for reseptance of monitoring data in another embodiment;
Fig. 4 is the flow diagram that treated monitoring data step is saved in one embodiment;
Fig. 5 is the flow diagram of the method for reseptance of monitoring data in another embodiment;
Fig. 6 is the structural block diagram of the reception device of monitoring data in one embodiment;
Fig. 7 is the structural block diagram of the reception device of monitoring data in another embodiment;
Fig. 8 is the structural block diagram of data storage module in one embodiment;
Fig. 9 is the structural block diagram of the reception device of monitoring data in another embodiment;
Figure 10 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the present invention, not
For limiting the present invention.
The method of reseptance of monitoring data provided by the invention can be applied in application environment as shown in Figure 1.Wherein,
Multiple monitoring terminals 101 and user terminal 102 are connect by network with server 103 respectively.Each monitoring terminal 101 is adopted respectively
Monitor set data, and the monitoring data of acquisition are sent to server 103, server 103 to received monitoring data at
Reason, wherein each monitoring terminal 101 and user terminal 102 can be, but not limited to be various personal computers, laptop,
Smart phone, tablet computer, portable wearable device or special equipment etc., server 103 can use independent server
The either server cluster of multiple servers composition is realized.
In one embodiment, as shown in Fig. 2, providing a kind of method of reseptance of monitoring data, it is applied in this way
It is illustrated for server 103 in Fig. 1, comprising the following steps:
S210 extracts monitoring to be received in response to monitoring the data transfer request of terminal from preset configuration file
The information of data, the information of monitoring data include that the IP address of local device and monitoring terminal and the port of local device are believed
Breath.
Wherein, configuration file is pre-generated, and configuration file can be generated according to scheduled format, will transmit and locate
The parameter needed to configure in reason data procedures is previously written in the configuration file.The port information of local device refers to local device
Port current state relevant information, such as may include the quantity of local device port and the occupancy feelings of each port
Condition etc..
S220 distributes an available port according to port information to the monitoring terminal from the port of local device, and leads to
The available port is crossed to establish and communicate to connect using the IP address and monitoring terminal of local device and monitoring terminal.
Wherein, available port refers in the port of local device, not yet occupied port.In this step, server
From each port of local device, an available port is selected to distribute to the monitoring terminal, and utilize by the available port
The IP address of local device and the IP address of monitoring terminal, are established with corresponding monitoring terminal based on such as ICP/IP protocol and are communicated
Connection.
S230 configures association's journey for the monitoring terminal having connected.
Wherein, monitoring terminal and the configuration for assisting journey are one-to-one.In this step, if server be connected with it is multiple
Terminal is monitored, then independent association's journey is respectively configured in each monitoring terminal.
S240 assists journey by this, receives the monitoring data of monitoring terminal.
In this step, by association's journey with monitoring terminal coupling, it is independently processed from the data receiver of the monitoring terminal.
The method of reseptance of above-mentioned monitoring data can be to the monitoring of received monitoring terminal by preset configuration file
Data type carries out flexible configuration, neatly to receive different types of monitoring data.Pass through the IP in the configuration file of reading
Address and port information carry out port configuration, establish local terminal server apparatus and monitor the connection between terminal, and are directed to and work as
Before the monitoring terminal that has connected association's journey is separately configured, pass through association's journey and receive data.To distinguish in multiple monitoring terminals
When transferring data to local terminal server apparatus, journey can be assisted to receive the data that each monitoring terminal is sent respectively by each item, respectively
A association's journey can carry out data transmission and handle simultaneously, and not interfere with each other independently of each other, so as to realize high-volume data
Quickly transmission, improves the receiving efficiency of monitoring data.
In one embodiment, as shown in figure 3, S240 assists journey by this, after the monitoring data for receiving monitoring terminal
Further include:
S250 assists journey by this, handles received monitoring data;
S260 saves treated monitoring data.
The technical solution of above-described embodiment can also be further by each after assisting journey to receive monitoring data by each item
Each monitoring data for monitoring terminal are handled item association journey respectively, improve the treatment effeciency to monitoring data.In processing number
According to rear, the data of processing are saved, convenient for the subsequent calling to data.
In one embodiment, S250 assists journey by this, and carrying out processing to received monitoring data includes: by this
Journey is assisted, the bytecode data packet in received monitoring data is converted into string data packet, string data packet has been carried out
Whole property verification, data packet is split and/or data recombination.The processing for splitting and recombinating by the verification to received data packet, is protected
Demonstrate,prove the quality of storing data.
In one embodiment, the information of monitoring data further includes the information of the data type of monitoring data, such as can be with
The information of corresponding relationship including data type number and data type;
As shown in figure 4, S260 is saved, treated that monitoring data may include:
S261 extracts the data type number of monitoring data from received monitoring data, by data type number,
The corresponding data type of data type number is searched in the information of the data type of monitoring data;
Received monitoring data are stored in database profession the classification data table of corresponding classification by S262 according to its data type
In, wherein a classification data table correspondence is stored with a type of monitoring data.
The technical solution of above-described embodiment is being connect by the information of the type of the monitoring data prestored in configuration file
When receiving monitoring data, the corresponding data type of the monitoring data is read by configuration file, and according to the number of the monitoring data
Classification storage is carried out according to type, the data of the storage made are more dispersed, and the data volume of single classification data table storage greatly reduces,
When needing to inquire acquisition monitoring data, it can be inquired directly from corresponding classification data table and obtain corresponding monitoring data,
Improve the efficiency of data call.
In one embodiment, as shown in figure 5, the method for reseptance of monitoring data, can with comprising steps of
S270 passes through preconfigured second development interface, the parameter of receiving module;
Functional module is directed into the program of local device by S280 according to parameter.
Wherein, the equipment of the method for reseptance for the execution monitoring data that local device refers to, such as can be the service in Fig. 1
Device.
In existing monitoring system, when needing to increase function newly developed, the program of additionally mounted exploitation is needed, in this way
The memory and program volume of occupancy are larger, influence the operational efficiency of monitoring system.The technical solution of the above embodiments of the present application,
Local device executes in the program of the method for reseptance of monitoring data, has been pre-configured with second development interface, is needing for system
When developing new function, using the second development interface, the parameter of new function such as function name is passed to, the business of new function is patrolled
Collecting can be handled in new function module, and not depend on the program in existing server, the exploitation and operation effect of lifting system
Rate.
It should be understood that although each step in above-described embodiment is arranged successively according to number, these steps
It is not necessarily successively to be executed according to the sequence of number.Unless expressly stating otherwise herein, the execution of these steps is not
Stringent sequence limitation, these steps can execute in other order.Moreover, at least part in the step of above-described embodiment
Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-steps
It completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out,
But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in fig. 6, providing a kind of reception device 600 of monitoring data, comprising:
Configuration file read module 610, for the data transfer request in response to monitoring terminal, from preset configuration file
The middle information for extracting monitoring data to be received, the information of the monitoring data include the IP of local device and the monitoring terminal
The port information of address and local device;
Connection establishment module 620, for distributed from the port of local device according to port information an available port to
The monitoring terminal, and built using local device and the IP address of the monitoring terminal with the monitoring terminal by the available port
Vertical communication connection;
Journey configuration module 630 is assisted, for configuring association's journey for the monitoring terminal having connected;
Data reception module 640, for receiving the monitoring data of the monitoring terminal by this association's journey.
The reception device of above-mentioned monitoring data can be to the monitoring of received monitoring terminal by preset configuration file
Data type carries out flexible configuration, neatly to receive different types of monitoring data.Pass through the IP in the configuration file of reading
Address and port information carry out port configuration, establish local terminal server apparatus and monitor the connection between terminal, and are directed to and work as
Before the monitoring terminal that has connected association's journey is separately configured, pass through association's journey and receive data.To distinguish in multiple monitoring terminals
When transferring data to local terminal server apparatus, journey can be assisted to receive the data that each monitoring terminal is sent respectively by each item, respectively
A association's journey can carry out data transmission and handle simultaneously, and not interfere with each other independently of each other, so as to realize high-volume data
Quickly transmission, improves the receiving efficiency of monitoring data.
In one embodiment, as shown in fig. 7, the reception device 600 of monitoring data further include:
Data processing module 650 is handled received monitoring data for assisting journey by this;
Data storage module 660, for saving treated monitoring data.
In one embodiment, data processing module 650 is further used for assisting journey by this, by received monitoring data
In bytecode data packet be converted to string data packet, to string data packet carry out completeness check, data packet split and/
Or data recombination.The processing for splitting and recombinating by the verification to received data packet, guarantees the quality of storing data.
In one embodiment, the information of monitoring data further includes the information of the data type of monitoring data;
As shown in figure 8, data storage module 660 includes:
Data type obtains module 661, for extracting the data type of monitoring data from the received monitoring data
Number searches the corresponding data of data type number by data type number in the information of the data type of monitoring data
Type;
Data classification memory module 662, for being stored in database profession received monitoring data according to its data type
In the classification data table of corresponding classification, wherein a classification data table correspondence is stored with a type of monitoring data.
In one embodiment, as shown in figure 9, the reception device 600 of monitoring data further include:
Second interface parameter receiving module 670, for passing through preconfigured second development interface, receiving module
Parameter;
Function import modul 680, for according to parameter, functional module to be directed into the program of local device.
Wherein, the equipment of the method for reseptance for the execution monitoring data that local device refers to, such as can be the service in Fig. 1
Device.
The specific of reception device about monitoring data limits the method for reseptance that may refer to above for monitoring data
Restriction, details are not described herein.Modules in the reception device of above-mentioned monitoring data can be fully or partially through software, hard
Part and combinations thereof is realized.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment,
It can also be stored in a software form in the memory in computer equipment, execute the above modules in order to which processor calls
Corresponding operation.
In one embodiment, a kind of data monitoring system, including server are provided, and is connect with server more
A monitoring terminal;Each monitoring terminal is respectively used to acquisition monitoring data, and the monitoring data of acquisition are sent to server;Clothes
Business device is used to execute the step of method of reseptance of the monitoring data of any one embodiment as above.
Above-mentioned data monitoring system, server, can be to the monitorings of received monitoring terminal by preset configuration file
Data type carries out flexible configuration, neatly to receive different types of monitoring data.Pass through the IP in the configuration file of reading
Address and port information carry out port configuration, establish local terminal server apparatus and monitor the connection between terminal, and are directed to and work as
Before the monitoring terminal that has connected association's journey is separately configured, pass through association's journey and receive data.To distinguish in multiple monitoring terminals
When transferring data to local terminal server apparatus, journey can be assisted to receive the data that each monitoring terminal is sent respectively by each item, respectively
A association's journey can carry out data transmission and handle simultaneously, and not interfere with each other independently of each other, so as to realize high-volume data
Quickly transmission improves in data monitoring system server to the receiving efficiency of monitoring data.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 10.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is for storing monitoring data.The network interface of the computer equipment is used to pass through network with external terminal
Connection communication.A kind of method of reseptance of monitoring data is realized when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Figure 10, only part relevant to the present invention program
The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to the present invention program, and specific computer is set
Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor perform the steps of when executing computer program
In response to monitoring the data transfer request of terminal, monitoring data to be received are extracted from preset configuration file
Information, the information of the monitoring data include the IP address of local device and the monitoring terminal and the port of local device
Information;
An available port is distributed from the port of local device according to port information to the monitoring terminal, and can by this
It is established and is communicated to connect using the IP address and the monitoring terminal of local device and the monitoring terminal with port;
For the monitoring terminal having connected, association's journey is configured;
By this association's journey, the monitoring data of the monitoring terminal are received.
Above-mentioned computer equipment, it is preset so as to pass through by realizing step as above when processor executes program
Configuration file carries out flexible configuration to the monitoring data type of received monitoring terminal, neatly to receive different types of prison
Measured data.By the IP address and port information in the configuration file of reading, port configuration is carried out, local terminal server apparatus is established
Connection between monitoring terminal, and association's journey is separately configured for currently attached monitoring terminal, pass through association's journey
Receive data.To which journey point can be assisted by each item when multiple monitoring terminals transfer data to local terminal server apparatus respectively
The data that each monitoring terminal is sent are not received, and each association's journey can carry out data transmission and handle simultaneously, and mutually indepedent mutual
It does not interfere, so as to realize the quick transmission of high-volume data, improves the receiving efficiency of monitoring data.
A kind of computer equipment provided by the embodiment of the present invention, what computer executable instructions were not limited to the described above
The method of reseptance of monitoring data operates, in the method for reseptance that monitoring data provided by any embodiment of the invention can also be performed
Relevant operation, and have corresponding function and beneficial effect.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
In response to monitoring the data transfer request of terminal, monitoring data to be received are extracted from preset configuration file
Information, the information of the monitoring data include the IP address of local device and the monitoring terminal and the port of local device
Information;
An available port is distributed from the port of local device according to port information to the monitoring terminal, and can by this
It is established and is communicated to connect using the IP address and the monitoring terminal of local device and the monitoring terminal with port;
For the monitoring terminal having connected, association's journey is configured;
By this association's journey, the monitoring data of the monitoring terminal are received.
Above-mentioned computer readable storage medium, the computer program of storage, by realizing step as above, so as to logical
Preset configuration file is crossed, flexible configuration is carried out to the monitoring data type of received monitoring terminal, neatly to receive difference
The monitoring data of type.By the IP address and port information in the configuration file of reading, port configuration is carried out, establishes local terminal clothes
Connection between device equipment of being engaged in and monitoring terminal, and association's journey is separately configured for currently attached monitoring terminal, lead to
It crosses association's journey and receives data.Thus when multiple monitoring terminals transfer data to local terminal server apparatus respectively, it can be by each
Item association journey receives the data that each monitoring terminal is sent respectively, and each association's journey can carry out data transmission and handle simultaneously, and phase
It does not interfere with each other independently mutually, so as to realize the quick transmission of high-volume data, improves the receiving efficiency of monitoring data.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present invention
The method of reseptance for the monitoring data that executable instruction is not limited to the described above operates, and any embodiment of that present invention institute can also be performed
Relevant operation in the method for reseptance of the monitoring data of offer, and have corresponding function and beneficial effect.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
It can inquire in storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided by the present invention,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of method of reseptance of monitoring data characterized by comprising
In response to monitoring the data transfer request of terminal, the letter of monitoring data to be received is extracted from preset configuration file
Breath, the information of the monitoring data include that the IP address of local device and the monitoring terminal and the port of local device are believed
Breath;
An available port is distributed from the port of local device according to the port information to the monitoring terminal, and can by this
It is established and is communicated to connect using the IP address and the monitoring terminal of local device and the monitoring terminal with port;
For the monitoring terminal having connected, association's journey is configured;
By this association's journey, the monitoring data of the monitoring terminal are received.
2. the method for reseptance of monitoring data according to claim 1, which is characterized in that it is described by this association's journey,
After the monitoring data for receiving the monitoring terminal further include:
By this association's journey, the received monitoring data are handled;
Save treated monitoring data.
3. the method for reseptance of monitoring data according to claim 2, which is characterized in that it is described by this association's journey,
Carrying out processing to the received monitoring data includes:
By this association's journey, the bytecode data packet in received monitoring data is converted into string data packet;
Completeness check, data packet fractionation and/or data recombination are carried out to the string data packet.
4. the method for reseptance of monitoring data according to claim 2, which is characterized in that the information of the monitoring data is also wrapped
Include the information of the data type of monitoring data;
It is described to save that treated that monitoring data include:
The data type number that monitoring data are extracted from the received monitoring data, by the data type number,
The corresponding data type of the data type number is searched in the information of the data type of the monitoring data;
The received monitoring data are stored in database profession in the classification data table of corresponding classification according to its data type,
In, a classification data table correspondence is stored with a type of monitoring data.
5. the method for reseptance of monitoring data according to any one of claims 1 to 4, which is characterized in that further include:
Pass through preconfigured second development interface, the parameter of receiving module;
According to the parameter, the functional module is directed into the program of local device.
6. a kind of reception device of monitoring data characterized by comprising
Configuration file read module is extracted from preset configuration file for the data transfer request in response to monitoring terminal
The information of monitoring data to be received, the information of the monitoring data include the IP address of local device and the monitoring terminal,
And the port information of local device;
Connection establishment module, for distributing an available port from the port of local device according to the port information to the prison
Terminal is surveyed, and utilizes the IP address of local device and the monitoring terminal and the monitoring terminal to establish and lead to by the available port
Letter connection;
Journey configuration module is assisted, for configuring association's journey for the monitoring terminal having connected;
Data reception module, for receiving the monitoring data of the monitoring terminal by this association's journey.
7. the reception device of monitoring data according to claim 6, which is characterized in that further include:
Data processing module, for handling the received monitoring data by this association's journey;
Data storage module, for saving treated monitoring data.
8. a kind of data monitoring system characterized by comprising
Server, and the multiple monitoring terminals being connect with the server;
Each monitoring terminal is respectively used to acquisition monitoring data, and the monitoring data of acquisition are sent to server;
The server is used to execute the step of method of reseptance such as the monitoring data of claim 1 to 5 any one.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be in the processor
The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to
The step of method of reseptance of monitoring data described in 5 any one.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method of reseptance of the monitoring data as described in claim 1 to 5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811162550.8A CN109246235B (en) | 2018-09-30 | 2018-09-30 | Method and device for receiving monitoring data and data monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811162550.8A CN109246235B (en) | 2018-09-30 | 2018-09-30 | Method and device for receiving monitoring data and data monitoring system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109246235A true CN109246235A (en) | 2019-01-18 |
CN109246235B CN109246235B (en) | 2021-12-10 |
Family
ID=65055540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811162550.8A Active CN109246235B (en) | 2018-09-30 | 2018-09-30 | Method and device for receiving monitoring data and data monitoring system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109246235B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110110031A (en) * | 2019-05-27 | 2019-08-09 | 北京航星网讯技术股份有限公司 | The multi-screen of more map configurations is supported to monitor system |
CN112737124A (en) * | 2020-12-30 | 2021-04-30 | 广东电网有限责任公司电力科学研究院 | Method and device for constructing power equipment monitoring terminal |
CN113643525A (en) * | 2021-08-13 | 2021-11-12 | 德尔格安全设备(中国)有限公司 | Monitoring system and monitoring method thereof, storage medium and terminal |
CN113643524A (en) * | 2021-08-13 | 2021-11-12 | 德尔格安全设备(中国)有限公司 | Monitoring system and monitoring method thereof, storage medium and terminal |
CN114666313A (en) * | 2020-12-04 | 2022-06-24 | 中兴通讯股份有限公司 | Parameter acquisition method, server, terminal and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002035997A1 (en) * | 2000-10-31 | 2002-05-10 | Commonwealth Scientific And Industrial Research Organisation | A monitoring system |
CN101615792A (en) * | 2009-07-09 | 2009-12-30 | 威海凯迪帕沃开关有限公司 | A kind of method to the power parameter monitoring system configuration |
KR20100073024A (en) * | 2008-12-22 | 2010-07-01 | 한국전자통신연구원 | Monitor apparatus and server of data monitor system and monitoring data method therof |
CN102497427A (en) * | 2011-12-13 | 2012-06-13 | 山东省建筑科学研究院 | Method and device for realizing data acquisition services of renewable energy source monitoring system |
CN105224636A (en) * | 2015-09-24 | 2016-01-06 | 沈阳东软医疗系统有限公司 | A kind of data access method and device |
CN105447138A (en) * | 2015-11-20 | 2016-03-30 | 北京京东尚科信息技术有限公司 | Method and system for server |
CN105491135A (en) * | 2015-12-11 | 2016-04-13 | 小米科技有限责任公司 | Data connection establishing method and device |
CN107222545A (en) * | 2017-06-20 | 2017-09-29 | 北京全域医疗技术有限公司 | A kind of data transmission method and device |
-
2018
- 2018-09-30 CN CN201811162550.8A patent/CN109246235B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002035997A1 (en) * | 2000-10-31 | 2002-05-10 | Commonwealth Scientific And Industrial Research Organisation | A monitoring system |
KR20100073024A (en) * | 2008-12-22 | 2010-07-01 | 한국전자통신연구원 | Monitor apparatus and server of data monitor system and monitoring data method therof |
CN101615792A (en) * | 2009-07-09 | 2009-12-30 | 威海凯迪帕沃开关有限公司 | A kind of method to the power parameter monitoring system configuration |
CN102497427A (en) * | 2011-12-13 | 2012-06-13 | 山东省建筑科学研究院 | Method and device for realizing data acquisition services of renewable energy source monitoring system |
CN105224636A (en) * | 2015-09-24 | 2016-01-06 | 沈阳东软医疗系统有限公司 | A kind of data access method and device |
CN105447138A (en) * | 2015-11-20 | 2016-03-30 | 北京京东尚科信息技术有限公司 | Method and system for server |
CN105491135A (en) * | 2015-12-11 | 2016-04-13 | 小米科技有限责任公司 | Data connection establishing method and device |
CN107222545A (en) * | 2017-06-20 | 2017-09-29 | 北京全域医疗技术有限公司 | A kind of data transmission method and device |
Non-Patent Citations (2)
Title |
---|
M. MARZOLLA: ""A performance monitoring system for large computing clusters"", 《ELEVENTH EUROMICRO CONFERENCE ON PARALLEL, DISTRIBUTED AND NETWORK-BASED PROCESSING, 2003》 * |
王登亮: ""基于C/S的远程数据采集系统的设计和实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110110031A (en) * | 2019-05-27 | 2019-08-09 | 北京航星网讯技术股份有限公司 | The multi-screen of more map configurations is supported to monitor system |
CN110110031B (en) * | 2019-05-27 | 2021-04-20 | 北京航星网讯技术股份有限公司 | Multi-screen monitoring system supporting multi-map configuration |
CN114666313A (en) * | 2020-12-04 | 2022-06-24 | 中兴通讯股份有限公司 | Parameter acquisition method, server, terminal and readable storage medium |
CN112737124A (en) * | 2020-12-30 | 2021-04-30 | 广东电网有限责任公司电力科学研究院 | Method and device for constructing power equipment monitoring terminal |
CN113643525A (en) * | 2021-08-13 | 2021-11-12 | 德尔格安全设备(中国)有限公司 | Monitoring system and monitoring method thereof, storage medium and terminal |
CN113643524A (en) * | 2021-08-13 | 2021-11-12 | 德尔格安全设备(中国)有限公司 | Monitoring system and monitoring method thereof, storage medium and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109246235B (en) | 2021-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109246235A (en) | Method of reseptance, device and the data monitoring system of monitoring data | |
CN109683988B (en) | Micro services start method, apparatus, computer equipment and storage medium | |
CN111193716B (en) | Service data calling method and device, computer equipment and storage medium | |
CN109788031B (en) | Service data acquisition method and device, computer equipment and storage medium | |
CN108256118B (en) | Data processing method, device, system, computing equipment and storage medium | |
CN109039829A (en) | A kind of network card performance testing method, apparatus, terminal and storage medium | |
CN111796858A (en) | Method, system and related equipment for access detection of application programs in Kubernetes cluster | |
CN109151803B (en) | Information interacting method and device, intelligent card chip and terminal | |
CN110909629A (en) | Face recognition data processing method and device, computer equipment and storage medium | |
CN114501593B (en) | Network slice access method, device, system and storage medium | |
CN110708247A (en) | Message routing method, message routing device, computer equipment and storage medium | |
CN109787864A (en) | A kind of network automatic test approach, device, terminal and storage medium based on Netperf | |
CN109788052A (en) | A kind of server configuration remote inquiry method, apparatus, terminal and storage medium | |
CN114153626A (en) | Method and device for abstracting service integration process and computer equipment | |
CN104202432B (en) | Remote web management system and management method | |
CN112702362B (en) | Method and device for enhancing TCP/IP protocol stack, electronic equipment and storage medium | |
CN112073512B (en) | Data processing method and device | |
CN111130828A (en) | Intelligent network distribution method and device and terminal equipment | |
CN103441925B (en) | Family gateway equipment and on family gateway equipment carry storage device method | |
CN110032499B (en) | Page user loss analysis method and device, server and readable storage medium | |
CN109525479B (en) | Message processing method and device | |
CN115208951B (en) | Request processing method, request processing device, electronic equipment and computer readable storage medium | |
CN111200519A (en) | Data processing method and device, BBU, access network equipment and storage medium | |
CN116821215A (en) | OPC UA server searching method based on port inquiry | |
CN111597240A (en) | Data export method, data export device, computer equipment and storage medium |
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 |