CN109495303A - Obtain the method, device network managing device and system, electronic device and storage medium of equipment parameter information - Google Patents

Obtain the method, device network managing device and system, electronic device and storage medium of equipment parameter information Download PDF

Info

Publication number
CN109495303A
CN109495303A CN201811376269.4A CN201811376269A CN109495303A CN 109495303 A CN109495303 A CN 109495303A CN 201811376269 A CN201811376269 A CN 201811376269A CN 109495303 A CN109495303 A CN 109495303A
Authority
CN
China
Prior art keywords
equipment
thread
parameter information
polling
message
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
CN201811376269.4A
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.)
Guangzhou Kaixin Communication System Co Ltd
Original Assignee
Guangzhou Kaixin Communication System 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 Guangzhou Kaixin Communication System Co Ltd filed Critical Guangzhou Kaixin Communication System Co Ltd
Priority to CN201811376269.4A priority Critical patent/CN109495303A/en
Publication of CN109495303A publication Critical patent/CN109495303A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements

Landscapes

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

Abstract

The invention discloses a kind of methods for obtaining equipment parameter information, are configured to issue the first thread of inquiry request and the second thread for snoop responses message;When receiving task parameters, starts first thread, issue inquiry request according to task parameters;After issuing inquiry request, start the second thread, the response message of receiving device, message obtains equipment parameter information according to response.The invention also discloses device network managing device and systems.According to the present invention disclosed methods, devices and systems can to each equipment rapidly, simultaneously, update device data and state in real time, with the realizing quick real-time synchronization function of the parameter information of query facility.

Description

Obtain method, device network managing device and system, the electronics dress of equipment parameter information It sets and storage medium
Technical field
The present invention relates to network communication technology field more particularly to a kind of methods for obtaining equipment parameter information, facility network Network managing device and system have also related to relevant electronic device and storage medium.
Background technique
With the depth development trend of communication network, the fast development of internet and telecommunications industry is to device fabrication in recent years Quotient brings the opportunity of development, and the network equipment that a large amount of device manufacturer releases emerges one after another, and operator is when managing network Applied equipment is also multifarious, and quantity is also extremely huge, these, it is all brought to network operation and management very big Challenge.
In order to be preferably managed collectively and be monitored to equipment, currently used mode is by configuring device network pipe Reason system, by the communication equipment for needing to manage with long-range mode access device Network Management System, to realize to the remote of equipment Thread management and monitoring.This mode can effectively realize unified management and monitoring to equipment, but be by device network management When system is managed each equipment, interacted between management system and equipment often by queue-type, i.e. device network One of complete interactive process of carry out in management system and multiple equipment, and remaining equipment then waits in the queue, when After the completion of the interaction of device network management system and current equipment, the next equipment waited in queue can just be looked into It askes, this seriously results in the slow problem of management system whole updating device data.
Summary of the invention
For the interaction scenario between existing Network Management System and equipment, inventor has found that causing more The main reason for new equipment data slow problem, is: one, device network management system and equipment between be successively interact it is logical Letter, it could not thus make full use of the waiting time slot interacted between system and equipment;Two, device network management system and equipment Between each interaction, be all to have handled a complete data exchange process, thus extend the waiting of remaining equipment Time.It was found that inventor proposes again by further research and test based on the asynchronous logical of period interaction after the reason Letter design, to solve the problems, such as that device network management system update device data is slow, which is specifically related to following technical side Case:
In a first aspect, this method includes as follows the embodiment of the invention provides a kind of method for obtaining equipment parameter information Step:
It is configured to issue the first thread of inquiry request and the second thread for snoop responses message;
Start first thread, issues inquiry request according to task parameters;
Start the second thread, the response message of receiving device, message obtains equipment parameter information according to response.
The process interacted with equipment is decomposed in design based on this method, when so that being equipment interaction, no longer It is confined to per one complete data exchange process of secondary completion, but will request and respond separation, and two threads point are set Request and response are not handled, is rung in this manner it is possible to be realized to issue request and monitor simultaneously according to first thread and second thread The effect answered, the cooperation based on first thread and the second thread asynchronous can be handled equipment, relatively traditional queue Formula interactive mode, firstly, shorten other equipment waiting time (completion is carried out with equipment every time before to interact, and This programme request and response separation, are not required to again waiting facilities response every time between request, thus the time between Twice requests is big Width shortens), secondly, the waiting time slot for taking full advantage of equipment (carries out parallel asynchronous processing by two threads, is waiting time slot When, another thread just will do it respective handling, and cpu busy percentage greatly improves).The scheme of the embodiment of the present invention can as a result, The parameter information of quick obtaining equipment, it is this quick, so that the acquisition of information of equipment is almost synchronous with the time of update, reach With the having arrived quick real-time synchronization effect of the parameter information of query facility, realizes the real time monitoring to equipment.
Second aspect, the present invention provides a kind of device network managing device, including thread management module, for starting the One threading models and the second threading models;First thread module, for issuing inquiry request according to task parameters, and to thread pipe It manages module and exports feedback signal;With the second threading models, for the response message of audiomonitor, and according to response, message acquisition is set Standby parameter information.The first thread module of the equipment of the embodiment of the present invention network administration apparatus and the second threading models can be to setting The asynchronous request of standby progress issues and responds monitoring, is based on two threads, traditional interactive process with equipment is decomposed into and is asked Summation response realizes quick obtaining and sets so that no longer needing to wait the data response process of a completion between interaction every time The effect of standby parameter information, overcome system in the prior art data update slowly, number of devices bearing capacity is poor, failure The disadvantage that response waits not in time.
The third aspect, the present invention provides a kind of device network management system, including device network managing device and at least One apparatus for remote communication, device network managing device and apparatus for remote communication can two-way communication, device network managing device For issuing inquiry request to corresponding apparatus for remote communication according to received task parameter and receiving apparatus for remote communication Response message, to realize the long-range management at least one apparatus for remote communication;Wherein, device network managing device is above-mentioned Device network managing device.Mechanism of the system based on dual-thread asynchronous communication, overcome existing system data update slowly, Number of devices bearing capacity is poor, the disadvantage of failure response not in time etc., can cope with when monitoring device quantity demand is larger, failure The case where when response speed requires very fast.
Fourth aspect, the present invention provides a kind of electronic devices comprising memory and at least one processor, memory In be stored with the instruction that can be executed by least one processor, instruction is executed by least one processor, so that at least one The step of reason device is able to carry out the above method.
5th aspect, the present invention provides a kind of storage mediums, are stored thereon with computer program, and the program is by processor The step of above method is realized when execution.
The present invention is based on the mechanism of dual-thread asynchronous query equipment parameter information, so that device network management system is to each Update device data and state, the data for overcoming existing system update slow, equipment to equipment rapidly, simultaneously, in real time Quantity bearing capacity is poor, the disadvantage of failure response not in time etc., can cope with when monitoring device quantity demand is larger, failure response The case where when rate request is very fast.
Detailed description of the invention
Fig. 1 is the method flow diagram of the acquisition equipment parameter information of one embodiment of the present invention;
Fig. 2 is the method flow diagram of the acquisition equipment parameter information of another embodiment of the present invention;
Fig. 3 is the device network managing device functional block diagram of an embodiment of the present invention;
Fig. 4 is the device network management system block diagram of an embodiment of the present invention;
Fig. 5 is the schematic diagram of one of application interface of device network management system of the invention;
Fig. 6 is the schematic diagram at the another application interface of present device Network Management System, wherein Fig. 6 A is one of them The inquiry of the parameter information of equipment is shown as a result, the inquiry that Fig. 6 B is the parameter information of another equipment in same task shows knot Fruit;
Fig. 7 is the electronic device schematic diagram of the method for the acquisition equipment parameter information of an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.
The present invention can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, member Part, data structure etc..The present invention can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
In the present invention, the fingers such as " module ", " device ", " system " are applied to the related entities of computer, such as hardware, hardware Combination, software or software in execution with software etc..In detail, for example, element can with but be not limited to run on processing Process, processor, object, executable element, execution thread, program and/or the computer of device.In addition, running on server Application program or shell script, server can be element.One or more elements can be in the process and/or thread of execution In, and element can be localized and/or be distributed between two or multiple stage computers on one computer, and can be by each Kind computer-readable medium operation.Element can also according to the signal with one or more data packets, for example, from one with Another element interacts in local system, distributed system, and/or the network in internet passes through signal and other system interactions The signals of data communicated by locally and/or remotely process.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise", not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including described want There is also other identical elements in the process, method, article or equipment of element.
The method and device of acquisition equipment parameter information in the embodiment of the present invention can be applied in any need to equipment It is monitored in real time or is managed, with the occasion that the parameter information data quickly to equipment are obtained and/or updated, the present invention is real The equipment for applying example is not limited to the apparatus for remote communication of following embodiments, can be other equipment classes for needing to be monitored management Type, the embodiment of the present invention are not construed as limiting this.The method and device of the embodiment of the present invention both can such as be held using on computers It carries on the remote server, can also apply on the smart machine with executive capability, such as smart phone, tablet computer, PC On equal intelligent hardware devices, the embodiment of the present invention to this with no restriction.
Wherein, parameter information as mentioned in the embodiments of the present invention refers to the information data with the relating to parameters of equipment, including But title, device type, equipment trip information, the equipment alarm parameter information etc. for being not limited to equipment, can be according to demand Parameter information is extended, the embodiment of the present invention to this also with no restriction.
Fig. 1 schematically shows the method flow of the acquisition equipment parameter information of one embodiment of the present invention, such as Fig. 1 Shown, the method for the embodiment of the present invention includes the following steps:
Step S101: it is configured to issue the first thread of inquiry request and the second thread for snoop responses message.
Two non-interfering threads are distributed, different functions are set for it according to configuration needs, to realize asynchronous parallel Communication.Illustratively, can be configuration one for issue inquiry request to target device first thread and can monitor by Second thread of the response message that target device is sent back to.
Wherein, it can be implemented as setting based on UDP realization with target as preferred implementation example, first thread and the second thread Standby communication.
Two independent threads can be parallel asynchronous the next communication between each equipment so that Each performs its own functions as a result, Service is provided respectively, improves data-handling efficiency.And when target device has more, when the waiting of remaining equipment is greatly decreased Between.
Step S102: when receiving task parameters, start first thread, issue inquiry request according to task parameters.
The inquiry request of equipment will be managed by unit of task, when receiving task parameters, is equivalent to connect A management or monitor task are had received, data exchange process is completed by executing the task, and then complete the pipe to equipment Reason or monitoring, the management or monitor task can be illustratively the parameter information of acquisition equipment.Illustratively, each task can It is identified with task parameters by setting.
When receiving a task requests, the content that can be primarily based on task requests gets task parameters, exemplary Ground, which can be setting task parameters are manually entered by user interface or user interface by user after submit. After getting task parameters, the first thread for issuing inquiry request just will start, first thread is by task based access control parameter Current task is monitored and is handled.
Illustratively, task parameters include polling cycle, poll content and polling object.Polling cycle is to execute the task Gap periods, the primary task will be executed every a polling cycle, first thread will be based on polling cycle to when holding Row task is monitored.Poll content corresponds to the execution content of task, and illustratively, task is to obtain equipment in the present embodiment Parameter information, then poll content has corresponded to the parameter title of equipment to be obtained, can be implemented as including alarm performance, radio frequency At least one of information and the network information.Polling object, which identifies, needs the equipment that communicates, that is, identify it is monitored or The equipment of management can may be multiple objects for single object, when for multiple objects, can overcome for some existing The management system of technology, when number of devices is excessive, the problem of bearing capacity difference.
It is polling cycle, for poll content and polling object by task parameters, first thread is according to poll week of setting Phase is monitored current task, when monitoring that current task reaches a polling cycle, polling object is successively obtained, to wheel It askes object and issues inquiry request.When polling object has it is multiple when, every time obtain an equipment, inquiry request is issued to the equipment, Then next equipment is obtained again, inquiry request is issued to it, until having obtained all devices, restarts another wheel prison later It surveys.Illustratively, in monitoring process, for each task, when looping to determine it and whether having arrived at corresponding polling cycle Between, if not reaching the interval of poll, continue to wait, if reaching the time of polling cycle, just according in poll content Parametric type packages envelope to the parameter inquired of needs if parametric type is alarm performance, radio-frequency information and the network information Dress, and by packaged information by being issued to the equipment end of polling object.UDP communication party is based on first thread and equipment end For formula interacts, poll content is needed the parameter inquired package encapsulation be based on udp protocol carry out data beat Packet generates UDP message, which is issued to corresponding polling object (i.e. target device end, example by UDP communication mode Property can be thus achieved for by device id come one equipment of unique identification).
Step S103: after issuing inquiry request, start the second thread, the response message of receiving device disappears according to response Breath obtains equipment parameter information.
Another thread being arranged i.e. the second thread is used to carry out the monitoring of response message, and illustratively, the second thread is under Start after hair inquiry request.
Illustratively, the second thread is communicated based on UDP communication mode with target device, first to the second thread configuration UDP listening port information carries out communication configuration to equipment based on the UDP listening port information of the second thread later.In the second line After Cheng Qidong, equipment will be monitored in the listening port, receiving device response message is (according in the poll of inquiry request Hold the information of feedback).
Extraly, the second thread can also parse response message after receiving response message, illustratively, base In the case where UDP communication mode, the response message received is UDP response message, so that it may based on UDP communication protocol to sound It answers message to be parsed, obtains the feedback content that equipment is directed to inquiry request.Illustratively, parsing result can be including poll Object and poll content corresponding with above-mentioned steps, i.e. polling object (illustratively can be implemented as device id), alarm property Energy, radio-frequency information and the network information.In this manner it is possible to response message is associated with by specific polling object according to parsing result, And poll content is obtained according to parsing result, according to the associated polling object of the response message and poll content generating device parameter Information, i.e., for the device data of the corresponding parametric type of certain equipment, (equipment end is identified by polling object, and parameter information is by poll Content limits).
Inquiry and data acquisition to the parameter information of equipment are just completed by above method process, therefore, step Rapid S102 and step S103 is asynchronous progress, i.e., is entirely asynchronous progress to the data transmit-receive process between individual device, Exactly because this asynchronous communication mode can preferably utilize the CPU processing capacity of management end, while avoid because individual The case where equipment cannot timely feedback data and other equipment is caused to block up.And it is each under the mode of asynchronous parallel communication It is independent from each other between equipment, it is possible to which whether discovering device is in alarm or off-line state in a short time, this is Administrative staff are timely, and discovering device provides convenience extremely, reduce because cannot in time processing equipment failure due to cause other ask Topic.
It should be noted that the task parameters of setting can be designed according to mission requirements in other realization examples, without It is confined to the design parameter of above-mentioned example example.
In some embodiments, starting the second thread be also possible to when receiving task parameters with first thread synchronize open It is dynamic, it is more timely monitored with realizing.According to concrete application scene and demand, starting first thread and the second thread be can also be Just start after configuration is good, the embodiment of the present invention is without limitation.
In addition, inventor has found during specific implementation, when for individual task in such a way that polling cycle is set into It, can also be preferably using each other than it can save the waiting time during asynchronous communication when acquisition of row poll content Waiting time between a task, task to be classified according to demand, as will be taken turns similar in poll content and polling cycle Object is ask, distributes in a task, it is monitored, the polling object under the task just has a poll week in this way Phase, and when by similar design, multiple tasks are set, so that it may the different polling object of cross-pair issues inquiry in time respectively Request, can make full use of the waiting gap between task, greatly improve the efficiency of task processing.
Fig. 2 schematically shows the method flow of the acquisition equipment parameter information of another embodiment according to the present invention, such as Further include following steps on the basis of the method for embodiment of the present invention method shown in Fig. 1 shown in Fig. 2:
Step S204: after generating device parameter information, the equipment parameter information of generation is stored.
After obtaining equipment parameter information through the above steps, also equipment parameter information is stored in case continuing to use these Parameter information data can illustratively be stored to database, illustratively, with the equipment of acquisition with certain data format It, can be by equipment parameter information with " device id-parameter ID- parameter value-parameter for parameter information includes parameter ID, parameter value The data record format storage of renewal time " is in the database, wherein device id is in the newly-increased equipment that manage or monitor Distribute and set, can one equipment of unique identification, the as polling object in task parameters, also will include and responding In message, to identify the equipment for sending response message;Parameter ID and parameter value are that (i.e. response disappears in analyzing device response message Breath) when obtain;And parameter renewal time be response message reach time, i.e. the second thread listen to response message when Between.The convenient parameter information to each equipment carries out real-time query or facilitates as maintenance foundation etc..
Step S205: it in response to the client request received, is obtained from the equipment parameter information of storage and meets request The equipment parameter information of condition exports display.
After storing parameter information, so that it may respond the query demand of user at any time from the data for being stored with parameter information Corresponding parameter information is transferred in library, and can export the time for showing that the data of each equipment update.Illustratively, Yong Hufa It send inquiry request can be to carry out querying condition setting by the client such as Web client of setting and send request.
It extraly, in some embodiments, can also according to demand be that each monitored equipment is set in the second thread Fixed time-out response lag notes that the second thread to the equipment in this way after first thread has issued inquiry request to certain equipment Response time carry out timing, if reach overtime response lag not yet receive response feedback, just by the device flag be time-out Response, does timeout treatment to it, so as to the off-line state of timely discovering device.Since method through the embodiment of the present invention is to setting It is standby carry out inquiry request and response to monitor be asynchronous, and respond monitor be while, be not based on queue, it is therefore, each Equipment be it is independent, non-interfering, other than it will not cause queue congestion because of the time-out of an equipment, moreover it is possible to be individually for every A device configuration time-out response lag can greatly improve troubleshooting to find its alarm or off-line state at the first time Efficiency.
Fig. 3 schematically shows device network managing device according to an embodiment of the present invention, as shown in figure 3, should Device network managing device includes thread management module 3,401 second threading models 402 of first thread module, thread management module 3 for starting first thread module 401 and the second threading models 402.Wherein, thread management module 3 is receiving task parameters When (in other embodiments or other times), start first thread module 401, and start the second threading models 402 Either being started according to the feedback signal of first thread module 401, it is also possible to start (this when receiving task parameters When do not need first thread module 401 return feedback signal), will be hereafter illustrated using the former as example.
Preferably, thread management module 3 is embodied as including the user interface for receiving task parameters setting, when user makes When with the device, task parameters are set by user interface and send task management or monitoring request, to start thread management Module carries out task processing.Illustratively, user interface can be Web client or Web GUI.
Wherein, first thread module 401 is used to issue inquiry request to each equipment according to task parameters, and to thread pipe It manages module 3 and exports feedback signal.Second threading models 402 are used for the response message of audiomonitor, and message obtains according to response Equipment parameter information.Illustratively, task parameters include polling cycle, poll content and polling object, first thread module 401 The inquiry request to poll content is issued to polling object, and issuing inquiry request is to recycle to carry out based on polling cycle.It rings Answering message is the feedback information for poll content of the feedback of the equipment as corresponding to polling object, the demand number with poll content According to corresponding.Feedback signal has issued inquiry request for identifying first thread module 401, can star the second threading models 402 carry out response monitoring, illustratively, can be implemented as a character string such as " start thread2 ".
Preferably, first thread module 401 includes poll monitoring unit 4011 and request issuance unit 4012.Poll is monitored Unit 4011 is used to be monitored according to polling cycle set by user to whether current polling tasks reach polling cycle, Output action signal (can be illustratively, character string, such as " send ") extremely request issuance unit when reaching polling cycle every time 4012, it illustratively, can be by the way that a timer be arranged in inside, according to user's input for the monitoring mode of polling cycle The time of polling cycle setting timer.The movement that request issuance unit 4012 is used to be exported according to poll monitoring unit 4011 is believed Number, successively obtain polling object, and inquiry request is issued to each polling object according to poll content, concrete implementation mode can be with Reference method part.
Second threading models 402 include message monitoring unit 4021 and message parsing unit 4022, message monitoring unit 4021 for monitoring the response message of equipment in real time;Message parsing unit 4022 is used to parse response message, The storage of generating device parameter information.User in use device, join by the response that output can be parsed according to the second threading models 402 Number information carries out follow-up data utilization.
As a result, due to the data between the first thread module 401 of the present apparatus, the second threading models 402 and individual device Transmitting-receiving process is entirely asynchronous progress, and although the communication between first thread module 401 and the second threading models 402 has It is associated with, but is also separately to complete, the data of system in the prior art can thus be overcome to update slow, number of devices carrying energy Power is poor, the disadvantage of failure response not in time etc..
In some embodiments, the user terminal for task parameters to be arranged device network managing device can also be arranged Mouthful, on the one hand which communicates with user interface, for receiving setting of the user to task, another aspect and first thread Module 401 communicates, for exporting received task parameter to first thread module 401.In this manner it is possible to flexibly to wanting Managerial role and the parameter to be monitored of target device is configured, meets a variety of demand management demands.
Fig. 4 schematically shows device network management system according to an embodiment of the present invention, as shown in figure 4, should Device network management system, including device network managing device 5 and at least one apparatus for remote communication 6, device network management dress Set 5 and apparatus for remote communication 6 can two-way communication, device network managing device 5 is used for according to received task parameter to phase The apparatus for remote communication 6 answered issues inquiry request and receives the response message of the apparatus for remote communication, to realize at least one The long-range management of a apparatus for remote communication 6;Wherein, device network managing device 5 is above-mentioned device network managing device 5.
Inventor has found during realization and test, due to using asynchronous mechanism, and asks issuing inquiry It is to be monitored by polling cycle to different tasks, and may include multiple polls under each task in the first thread asked Object, that is, target device, therefore, effectively prevent the equipment accessed in system it is excessive when, due to successively communicating appearance with each equipment The problem of easily causing equipment communication traffic, thus, under high response efficiency, telecommunication is normally updated or is arranged meeting Under the demand of device parameter, the equipment access amount of system is substantially improved, and reaches the level of maximum accessible 20,000 communication equipments, So device network management system has been greatly improved to the receiving quantity and managerial ability of telecommunication equipment.
In addition, the present apparatus can preferably utilize the CPU ability of system server, while avoiding because of individual remote equipments The case where data cannot being timely feedbacked and other equipment is caused to block up, in addition under the mode of asynchronous parallel communication, each distal end It is independent from each other between communication equipment 6, so system can find in a short time whether each equipment is in alarm or off line State, this is provided convenience extremely for the timely discovering device of administrative staff, is reduced because that cannot cause due to timely processing equipment failure Other problems.
It may is that using the operating process of device shown in Fig. 3 or system shown in Fig. 4 progress equipment management and monitoring logical The user interface (illustratively Web User Interface) for crossing device network managing device adds to be treated in a device Business, illustratively, by clicking the addition assignment options in user interface, into task parameters set interface as shown in Figure 5, Polling tasks title is set in the corresponding option at the interface, polling time interval, poll content and polling object (can be with It is embodied as device id) after, above content is added into request as task and is submitted, the thread management module of device network managing device After 3 user port receives the task addition request of submission, by the parameter of the polling tasks of analysis addition, task is got Parameter, and start the monitoring that first thread is polled the period according to task parameters, when reaching polling cycle, according in poll The parameter that parametric type in appearance inquires needs packages, and the message organized is issued to far by UDP communication mode Communication equipment 6 is held, is repeated up to and takes all polling objects, illustratively, in task shown in fig. 5 includes five communications Equipment, then will successively obtain five equipment when carrying out issuing inquiry request, issue query message respectively.It is issuing When query message, thread management module 3 can start the second thread to equipment according to the movement feedback signal of first thread simultaneously Response message monitored, in this way, the response that the second thread will receive every equipment (i.e. each polling object) successively disappears Breath can be obtained the parameter letter of the i.e. individual device of each polling object by parsing to the data packet that polling object returns Breath, after being stored, so that it may receive the inquiry to it.After five equipment exemplary to Fig. 5 has executed subtask processing, It is inquired by user's parameter information, available query result information is as shown in Figure 6 A and 6B, including device numbering, equipment Location information, equipment production sequence number and monitoring software version, and the inquiry based on two equipment shown in Fig. 6 A and Fig. 6 B As a result comparison is it can be seen that the renewal time of the data in a task between distinct device is almost synchronous.
Similarly, inquiry request can be executed by user interface, querying condition can also be arranged by user interface, this When, can also second user port be set in device network managing device and is asked with receiving the inquiry request of user according to inquiry The Parameter Conditions asked obtain qualified information output from the equipment parameter information of storage record.
Illustratively, device network managing device can be equipment parameter information storage by connecting independent data Library is also possible to be stored in the data memory module of its own.
It in some embodiments, can also be according to demand that overtime response lag is arranged in equipment by user interface, the As soon as after threading models 401 issue inquiry request to certain equipment, responsing to which that the time carries out timing by the second threading models 402 (such as feedback signal based on first thread module 401), if do not responded within the time of overtime response lag, just to this Equipment does timeout treatment, so as to timely processing equipment failure response such as off-line state.
In some embodiments, the embodiment of the present invention provides a kind of non-volatile computer readable storage medium storing program for executing, described to deposit Being stored in storage media one or more includes the programs executed instruction, it is described execute instruction can by electronic equipment (including but It is not limited to computer, server or the network equipment etc.) it reads and executes, for executing any of the above-described voice of the present invention Identify network delay optimization method.
In some embodiments, the embodiment of the present invention also provides a kind of computer program product, and the computer program produces Product include the computer program being stored on non-volatile computer readable storage medium storing program for executing, and the computer program includes that program refers to It enables, when described program instruction is computer-executed, so that the computer is executed any of the above-described and obtain equipment parameter information Method.
In some embodiments, the embodiment of the present invention also provides a kind of electronic equipment comprising: at least one processor, And the memory being connect at least one processor communication, wherein memory, which is stored with, to be executed by least one processor Instruction, described instruction executed by least one processor, so that at least one processor, which is able to carry out, obtains equipment parameter letter The method of breath.
In some embodiments, the embodiment of the present invention also provides a kind of storage medium, is stored thereon with computer program, should The method of equipment parameter information is obtained when program is executed by processor.
The device network managing device of the embodiments of the present invention can be used for executing the acquisition equipment ginseng of the embodiment of the present invention The method for measuring information, and the method for reaching the realization acquisition equipment parameter information of the embodiments of the present invention accordingly is achieved Technical effect, which is not described herein again.In the embodiment of the present invention can by hardware processor (hardware processor) come Realize related function module.
Fig. 7 is the hardware configuration of the electronic equipment of the method for the acquisition equipment parameter information that another embodiment of the application provides Schematic diagram, as shown in fig. 7, the equipment includes:
One or more processors 710 and memory 720, in Fig. 7 by taking a processor 710 as an example.It executes to obtain and set The equipment of the method for standby parameter information can also include: input unit 730 and output device 740.Processor 710, memory 720, input unit 730 can be connected with output device 740 by bus or other modes, to be connected by bus in Fig. 7 For.
Memory 720 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module, such as the method for the acquisition equipment parameter information in the embodiment of the present application Corresponding program instruction/module.Processor 710 is by running the non-volatile software program being stored in memory 720, instruction And module, thereby executing the various function application and data processing of server, i.e. realization above method embodiment acquisition is set The method of standby parameter information.
Memory 720 may include storing program area and storage data area, wherein storing program area can store operation system Application program required for system, at least one function;Storage data area, which can be stored, uses institute according to device network managing device The data etc. of creation.In addition, memory 720 may include high-speed random access memory, it can also include non-volatile memories Device, for example, at least a disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments In, optional memory 720 includes the memory remotely located relative to processor 710, these remote memories can pass through net Network is connected to device network managing device.The example of above-mentioned network include but is not limited to internet, intranet, local area network, Mobile radio communication and combinations thereof.
Input unit 730 can receive the number or character information of input, can be used to that task parameters are arranged, input inquiry is asked It asks.Output device 740 may include that display screen etc. shows equipment, can be used to show output result and user interface (such as user Interface).
One or more of modules are stored in the memory 720, when by one or more of processors 710 when executing, the method that executes the acquisition equipment parameter information in above-mentioned any means embodiment.
Method provided by the embodiment of the present application can be performed in the said goods, has the corresponding functional module of execution method and has Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to method provided by the embodiment of the present application.
The electronic equipment of the embodiment of the present application exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(4) other electronic devices with data interaction function.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, above-mentioned technology Scheme substantially in other words can be embodied in the form of software products the part that the relevant technologies contribute, the computer Software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions to So that computer equipment (can be personal computer, server or the network equipment etc.) execute each embodiment or Method described in certain parts of embodiment.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (12)

1. the method for obtaining equipment parameter information, which is characterized in that including
It is configured to issue the first thread of inquiry request and the second thread for snoop responses message;
Start the first thread, issues inquiry request according to task parameters;
Start second thread, the response message of receiving device, message obtains equipment parameter information according to response.
2. the method according to claim 1, wherein the task parameters include polling cycle, poll content and Polling object, it is described to issue inquiry request according to task parameters and include:
Current task is monitored according to polling cycle, when monitoring that current task reaches a polling cycle, is successively obtained Polling object is taken, inquiry request is generated according to poll content and is issued to corresponding polling object.
3. according to the method described in claim 2, it is characterized in that, the message according to response obtains equipment parameter information packet It includes:
Response message is parsed, response message is associated with by specific polling object according to parsing result;
Poll content is obtained according to parsing result, is joined according to the associated polling object of the response message and poll content generating device Measure information.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
After generating device parameter information, the equipment parameter information of generation is stored;And
In response to the client request received, the equipment parameter for meeting request condition is obtained from the equipment parameter information of storage Information output display.
5. method according to any one of claims 1 to 4, which is characterized in that the poll content includes alarm performance, penetrates At least one of frequency information and the network information.
6. device network managing device, which is characterized in that including
Thread management module, for starting first thread module and the second threading models;
First thread module for issuing inquiry request according to task parameters, and/or is exported to the thread management module and is fed back Signal;With
Second threading models, for the response message of audiomonitor, and according to response, message obtains equipment parameter information.
7. device according to claim 6, which is characterized in that the task parameters include polling cycle, poll content and Polling object, the first thread module include
Poll monitoring unit, for being monitored according to polling cycle to whether current polling tasks reach polling cycle, Call request issuance unit carries out respective handling when reaching polling cycle every time;With
Issuance unit is requested, issues inquiry request to each polling object for successively obtaining polling object, and according to poll content.
8. device according to claim 7, which is characterized in that second threading models include
Message monitoring unit is monitored in real time for the response message to equipment;With
Message parsing unit, for being parsed to response message, the storage of generating device parameter information.
9. according to the described in any item devices of claim 6 to 8, which is characterized in that the thread management module includes for connecing Receive the user interface of task parameters setting.
10. device network management system, including device network managing device and at least one apparatus for remote communication, the facility network Network managing device and apparatus for remote communication can two-way communication,
The device network managing device is used to issue inquiry to corresponding apparatus for remote communication according to received task parameter The response message of the apparatus for remote communication is requested and receives, to realize the long-range management at least one apparatus for remote communication;
Wherein, the device network managing device is device network managing device described in any one of claim 1 to 5.
11. electronic device, which is characterized in that it includes memory and at least one processor, and being stored in the memory can The instruction executed by least one described processor, described instruction executed by least one described processor so that it is described at least One processor is able to carry out the step of any one of claim 1-5 the method.
12. a kind of storage medium, is stored thereon with computer program, which is characterized in that the realization when program is executed by processor The step of any one of claim 1-5 the method.
CN201811376269.4A 2018-11-19 2018-11-19 Obtain the method, device network managing device and system, electronic device and storage medium of equipment parameter information Pending CN109495303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811376269.4A CN109495303A (en) 2018-11-19 2018-11-19 Obtain the method, device network managing device and system, electronic device and storage medium of equipment parameter information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811376269.4A CN109495303A (en) 2018-11-19 2018-11-19 Obtain the method, device network managing device and system, electronic device and storage medium of equipment parameter information

Publications (1)

Publication Number Publication Date
CN109495303A true CN109495303A (en) 2019-03-19

Family

ID=65696912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811376269.4A Pending CN109495303A (en) 2018-11-19 2018-11-19 Obtain the method, device network managing device and system, electronic device and storage medium of equipment parameter information

Country Status (1)

Country Link
CN (1) CN109495303A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538629A (en) * 2020-04-23 2020-08-14 苏州浪潮智能科技有限公司 Round-robin method and system of server sensor and related device
CN113360525A (en) * 2021-08-10 2021-09-07 支付宝(杭州)信息技术有限公司 Query request processing method, device and equipment and key value query system
CN113572803A (en) * 2020-04-28 2021-10-29 卡特彼勒公司 Communication parameters based on changes

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885791A (en) * 2005-06-23 2006-12-27 华为技术有限公司 Information synchronizing method for network management system
CN101056202A (en) * 2007-05-31 2007-10-17 武汉虹信通信技术有限责任公司 A method for realizing the multi-task polling in the network management monitoring system
CN101072147A (en) * 2007-06-20 2007-11-14 重庆邮电大学 Industrial Ethernet protocol analysisand field tester
CN101316193A (en) * 2007-05-28 2008-12-03 北京师范大学珠海分校 Multi-task scheduling method of measuring probe
CN101997704A (en) * 2009-08-20 2011-03-30 中兴通讯股份有限公司 Method, device and network management server for realizing element location link state polling
CN102044912A (en) * 2010-11-25 2011-05-04 深圳市科陆电子科技股份有限公司 Method for concurrently surveying terminal time in batch
CN102567111A (en) * 2011-12-23 2012-07-11 深圳市融创天下科技股份有限公司 Method, system and terminal device capable of calling asynchronous procedure
CN103685083A (en) * 2013-12-31 2014-03-26 曙光云计算技术有限公司 Communication method in asynchronous management network
CN107888637A (en) * 2016-09-30 2018-04-06 阿里巴巴集团控股有限公司 Pull the method, apparatus and system of message
CN108647104A (en) * 2018-05-15 2018-10-12 北京五八信息技术有限公司 request processing method, server and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1885791A (en) * 2005-06-23 2006-12-27 华为技术有限公司 Information synchronizing method for network management system
CN101316193A (en) * 2007-05-28 2008-12-03 北京师范大学珠海分校 Multi-task scheduling method of measuring probe
CN101056202A (en) * 2007-05-31 2007-10-17 武汉虹信通信技术有限责任公司 A method for realizing the multi-task polling in the network management monitoring system
CN101072147A (en) * 2007-06-20 2007-11-14 重庆邮电大学 Industrial Ethernet protocol analysisand field tester
CN101997704A (en) * 2009-08-20 2011-03-30 中兴通讯股份有限公司 Method, device and network management server for realizing element location link state polling
CN102044912A (en) * 2010-11-25 2011-05-04 深圳市科陆电子科技股份有限公司 Method for concurrently surveying terminal time in batch
CN102567111A (en) * 2011-12-23 2012-07-11 深圳市融创天下科技股份有限公司 Method, system and terminal device capable of calling asynchronous procedure
CN103685083A (en) * 2013-12-31 2014-03-26 曙光云计算技术有限公司 Communication method in asynchronous management network
CN107888637A (en) * 2016-09-30 2018-04-06 阿里巴巴集团控股有限公司 Pull the method, apparatus and system of message
CN108647104A (en) * 2018-05-15 2018-10-12 北京五八信息技术有限公司 request processing method, server and computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538629A (en) * 2020-04-23 2020-08-14 苏州浪潮智能科技有限公司 Round-robin method and system of server sensor and related device
US11706050B2 (en) 2020-04-23 2023-07-18 Inspur Suzhou Intelligent Technology Co., Ltd. Polling method and system for server sensors, and related apparatus
CN113572803A (en) * 2020-04-28 2021-10-29 卡特彼勒公司 Communication parameters based on changes
CN113360525A (en) * 2021-08-10 2021-09-07 支付宝(杭州)信息技术有限公司 Query request processing method, device and equipment and key value query system
CN113360525B (en) * 2021-08-10 2021-12-07 支付宝(杭州)信息技术有限公司 Query request processing method, device and equipment and key value query system

Similar Documents

Publication Publication Date Title
CN106844198B (en) Distributed dispatching automation test platform and method
CN112492003B (en) Cloud network convergence service processing method and device based on service orchestrator
US8606897B2 (en) Systems and methods for exporting usage history data as input to a management platform of a target cloud-based network
CN103092698B (en) Cloud computing application automatic deployment system and method
CN101873005B (en) Method for realizing balanced acquisition of electric energy
Téllez et al. A tabu search method for load balancing in fog computing
CN109495303A (en) Obtain the method, device network managing device and system, electronic device and storage medium of equipment parameter information
CN105338061A (en) Lightweight message oriented middleware realization method and system
US8606908B2 (en) Wake-up server
CN113301590B (en) Virtual resource management and control system facing 5G access network
CN105592164B (en) Distributed system and method for data processing
CN109783151A (en) The method and apparatus of rule change
CN112199353A (en) Data processing method and electric power customer service platform
CN113422842A (en) Distributed power utilization information data acquisition system considering network load
CN108989089A (en) A kind of device data acquisition methods, equipment and system
CN111597033A (en) Task scheduling method and device
CN102457578A (en) Distributed network monitoring method based on event mechanism
CN112162852A (en) Multi-architecture CPU node management method, device and related components
CN114710571B (en) Data packet processing system
CN109558239A (en) A kind of method for scheduling task, device, system, computer equipment and storage medium
CN115499432A (en) Family terminal computing resource management system and computing resource scheduling method
CN108710565A (en) A kind of method for testing pressure, apparatus and system
CN110022323A (en) A kind of method and system of the cross-terminal real-time, interactive based on WebSocket and Redux
CN109600278A (en) A kind of data communications method, device, equipment and medium
CN104065684B (en) Information processing method, electronic equipment and terminal device

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

Application publication date: 20190319

RJ01 Rejection of invention patent application after publication