CN1176436C - Method for quick obtaining dynamic information of network devices - Google Patents
Method for quick obtaining dynamic information of network devices Download PDFInfo
- Publication number
- CN1176436C CN1176436C CNB021543917A CN02154391A CN1176436C CN 1176436 C CN1176436 C CN 1176436C CN B021543917 A CNB021543917 A CN B021543917A CN 02154391 A CN02154391 A CN 02154391A CN 1176436 C CN1176436 C CN 1176436C
- Authority
- CN
- China
- Prior art keywords
- network equipment
- network
- terminal device
- information
- service
- 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.)
- Expired - Fee Related
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
The present invention relates to a method for quickly obtaining the dynamic information of a network device. The present invention comprises the steps that a terminal device receives an information description file sent by the network device through networks and stores the information description of the network device in a storage device of the terminal device; when the terminal device makes a request to the network device for providing service, the terminal device first searches received messages published by the network device in the storage device of the terminal device so as to determine whether the network device which can provide corresponding service exists in the stored description information of the network devices under the condition that the description information of the network device which can provide the corresponding service is stored in the storage device of the terminal device, the service which the network device waits to obtain is visited according to the stored description information. Besides, when the description information of the network device which can provide the desired service is not stored in the storage device of the terminal device, the terminal device releases query information to the networks to wait the network device which can provide the relevant service in the networks to make responses.
Description
Technical field
The present invention relates to obtain fast the method for the multidate information of other available devices of connecting on the network, more particularly, relate to the relevant information of utilizing the network equipment is carried out Long-distance Control to the network equipment method.
Background technology
Computer technology combines with the communication technology, makes hardware and software and the information resources of the user who is distributed in the different location in can shared system.Along with arrival of information age, this is in conjunction with more showing closely, and the saying of " computing machine is exactly a network, and network is exactly a computing machine " is approved widely.The working method that generally adopts is the client/server distributed way at present.This mode is that computing machine is divided into client-server: the task of client computer is to claim, and itself is left intact; The task of server is to accept the request that client computer proposes, and carries out various processing.That is to say that the client computer and the network equipment can be regarded a node on the network as, it is connected various device on the network by network, as computing equipment, printer etc. send services request, by providing the equipment of this service to make a response on the network, finish corresponding operation.
Utilize the service of equipment on the network, need on client computer, specify the network site of the network equipment that serves as the server that service is provided and the relevant information and various information and the corresponding handling procedure relevant of server with service.For example, utilize the printer on the network to carry out printing, driving of printer or the like is installed in the IP address that we must the specified network printer.If do not satisfy above-mentioned condition, even the coconnected network equipment of physics also is to be in a kind of down state on client computer.Same, even network equipment deviated from network physically may represent also that on client computer the network equipment still is in available state.
The computer node that is present in simultaneously on the network all is the combination of software and hardware.Especially system software, it is for need very big restriction being arranged serving as the corresponding handling procedure of installing on the node of client computer.As the printer of a manufacturer production, the driver that needs exploitation on various operating systems, to move.And the new-type printer that adopts same producer also needs to be updated in the respective drive program of installing on the network node that serves as the client computer role.Cause the huge waste of manpower and materials in the device fabrication process, also increased the difficulty that equipment uses simultaneously.
Therefore, when Long-distance Control is connected to a plurality of network equipments on the network and communicates by letter with it, need a kind ofly can to detect, the network equipment of current connection on the recognition network, set up link with it, and dynamically update the relevant information of the network equipment, make the user can utilize this Information Selection to be connected to the method for any equipment of network
Summary of the invention
The purpose of this invention is to provide a kind of method of obtaining the status information of the network equipment fast, this method is by the storing predetermined time period in its memory storage that is described in the network equipment, can accelerate the speed of Network Search equipment, dynamically update the status information of the network equipment, when needs are served, on network, inquire about the relevant information of the service available network equipment, and the network equipment is carried out Long-distance Control according to the network equipment information of dynamic collection.
According to an aspect of the present invention, a kind of method of obtaining the multidate information of the network equipment fast is provided, comprise step: terminal device receives the information description file that the network equipment sends by network, and the information description of the network equipment is stored in the memory storage of terminal device; When the terminal device request network equipment provides service, terminal device is at first searched the message of the announcement of the network equipment that has received in the memory storage of himself, whether have the network equipment that corresponding with service can be provided in the network equipment descriptor of determining to have stored; In the memory storage of terminal device, store under the situation of descriptor of the network equipment that respective service can be provided, then visit this network equipment and wait for the service wished of obtaining according to the descriptor of storage; When not storing the descriptor of the network equipment that desired service can be provided in the memory storage of terminal device, terminal device can provide the network equipment of related service to respond to the Web publishing Query Information to wait on the network.
Description of drawings
By below in conjunction with the accompanying drawing detailed description of the present invention, will make of the present invention above-mentioned, and other purpose, feature and advantage are clearer.
Fig. 1 and Fig. 2 are the process flow diagrams according to the dynamic acquisition network equipment control information of the embodiment of the invention;
Fig. 3 is the process flow diagram that upgrades buffer memory according to the network node of the embodiment of the invention according to dynamic acquisition control information cost;
Fig. 4 be according to the embodiment of the invention based on dynamic acquisition network equipment control information scheme carry out that remote service calls processing flow chart.
Embodiment
Realize obtaining the status information of the network equipment fast and effectively the network equipment being carried out Long-distance Control to possess three conditions: the network equipment node on (1) network will provide the relevant information of self and describe available service; (2) client node can receive and utilize the descriptor of the network equipment on the network; (3) on the network on the client node on the descriptor of buffer memory and the network virtual condition of the network equipment should keep synchronous.
According to the present invention, with client computer remote request service some descriptors of the network equipment that must obtain be stored on the on-site network node of the network equipment.The network address (as the IP address) of the network equipment, unique sign that available service describing, the network equipment of the network equipment had and the corresponding unique service identifiers of service that provides with this network equipment are provided the descriptor that the network equipment provided.These descriptors offer the external world by the active issue and the extraneous inquiry of the passive response dual mode of the network equipment.
The network node that serves as the client computer role on the network can receive the control descriptor that the network equipment is initiatively issued, and come selectively the IP address of the network equipment that will comprise in the information and service type stores in the network equipment information table according to the cost of dynamic this information of acquisition, cost is low just removes the network equipment that this service can be provided on the requester network when the needs request is served.
Referring to Fig. 1, in step S101, a network equipment access network enters the state that allows other nodes on the network to call.In step S102, the network equipment begins other network nodes are called the relevant information of self and describes regular being published in the network.At step S103, the node on the network receives information releasing, has obtained the control information of this network equipment.
Referring to Fig. 2, at step S201, when a network node needed control network devices to finish needed service, it just can provide the control information of the network equipment of this service to network inquiry.At step S202, the network equipment corresponding on the network receives information inquiring, then returns the control descriptor that draws oneself up to the network node that sends inquiry.At step S203, the network node that sends inquiry receives the control descriptor that the network equipment returns.
Dynamically the control information meeting of the network equipment that obtains is because the influence of factors such as network condition, can make that sometimes obtaining this process of control information becomes very slow, so some often call by buffer memory on network node for we, regularly announce and search all very high network equipment control descriptor of dual mode cost by receiving equipment and accelerate this process.Network node determines whether the control information of this network equipment of buffer memory by the cost of judging the multidate information that obtains the network equipment.Network node rebulids the validity that buffer memory guarantees the buffer memory device control message by the network equipment control information that regularly empties buffer memory.
In the present invention, network equipment sign (ID) and service identifiers (ID) are that the description string of 32 characters is represented with length respectively.Preceding 16 characters are used for describing the network equipment or the big classification of the service that provides, and back 16 characters are used for specifically distinguishing every kind of network equipment or service type being provided.
Referring to Fig. 3, the method for network node according to the control information of cost height buffer memory subnetwork equipment is described.In S301, the node in the network obtains device control message by control information announcement and the receiving equipment Query Information response dual mode that receives the equipment in the network.At step S302, according to the time cycle that device control message is announced, the response time of calling probability and this network equipment of inquiry of the network equipment is calculated the cost of the control information of dynamic this network equipment of acquisition, and formula is as follows:
COST=F*1/T1*1/T2 wherein F is the equipment calls frequency
T1 is the time cycle that device control message is announced
T2 compares cost of calculating and threshold values in step S303 the response time of this network equipment of inquiry, if judged result is more than or equal to threshold value, then forwards step S304 to the control information buffer memory of this network equipment; If judged result, then forwards step S305 to less than threshold value this control information is abandoned, when calling this equipment, needs dynamically obtain the control information of this network equipment by dual mode illustrated in figures 1 and 2.
Describe client computer in detail below with reference to Fig. 4 and obtain the descriptor of the network equipment and the request operating process when service is provided.The network equipment comprises the description document of describing self information.In the present invention, client computer can be used as terminal device.At step S401, the network equipment that is connected on the network sends the information description file of the network equipment self by interface in network, with the attribute of representing self and the service and the network address that can provide.At step S402, client computer receives the information description file that the network equipment sends by network, with the information description file storage of the network equipment in the memory storage of client computer.The memory storage of client computer is the main descriptor of storage networking device in the section at the fixed time, for example can comprise the IP address of the network equipment, the ID of the service that is provided, and the ID of the network equipment etc.At step S403, judge whether client computer asks the network equipment that service is provided.If do not ask the network service, flow process turns back to step S402, waits for receiving new network equipment descriptor from network.If client computer provides service at the step S403 request network equipment, client computer is then at first searched the message that the network equipment that received is announced at step S404 in the memory storage as the client computer of network node.Judge in the network equipment descriptor of having stored whether have the network equipment that corresponding with service can be provided at step S405.If the judged result of step S405 is for affirming.Then extract the network address of the corresponding network equipment, then the service of wishing by this network equipment of access to netwoks and wait acquisition at step S408 at step S406.If step S405 judged result is for negating, be not obtain and the corresponding network equipment of institute's requested service in the memory storage of client network node, then at step S407 initiatively to the Web publishing Query Information, can provide the network equipment of related service to respond on the expectation network.Forward step S406 then to.
The invention has the advantages that: obtain the control information of the network equipment dynamically as the network node of client computer, so the network equipment can have very big dirigibility, the variation of the network equipment can not cause the difference of other node method of calling.Its accelerating algorithm has been quickened network equipment control information and has been obtained this process.At memory storage descriptor one period schedule time of storage of the network equipment can be avoided the query facility and the service of repetition, thereby reach the purpose of quick realization control network devices as the client computer of network node.
So far in conjunction with the preferred embodiments of the present invention the present invention is had been described in detail, those skilled in the art can make various improvement and variation under the situation of the scope and spirit essence that does not break away from claims.
Claims (5)
1. method of obtaining the multidate information of the network equipment fast comprises step:
Terminal device receives the information description file that the network equipment sends by network, and the information description of the network equipment is stored in the memory storage of terminal device;
When the terminal device request network equipment provides service, terminal device is at first searched the message of the announcement of the network equipment that has received in the memory storage of himself, whether have the network equipment that corresponding with service can be provided in the network equipment descriptor of determining to have stored;
In the memory storage of terminal device, store under the situation of descriptor of the network equipment that respective service can be provided, then visit this network equipment and wait for the service wished of obtaining according to the descriptor of storage;
When not storing the descriptor of the network equipment that desired service can be provided in the memory storage of terminal device, terminal device can provide the network equipment of related service to respond to the Web publishing Query Information to wait on the network.
2. the method for obtaining the multidate information of the network equipment fast according to claim 1, wherein further comprise when terminal device inquires the network equipment that desired service can be provided and it is sent services request in its memory storage after, if do not obtain responding in the given time from the described network equipment, then it is removed from the memory storage of described terminal device with the description of the described network equipment, and announces this information on network.
3. the method for obtaining the multidate information of the network equipment fast according to claim 1 and 2 wherein further comprises when terminal device receives the descriptor of the network equipment, calculates the cost that dynamically obtains the control information of the described network equipment.
4. the method for obtaining the multidate information of the network equipment fast according to claim 1 and 2, wherein terminal device is with descriptor storing predetermined time period in the memory storage of described terminal device of the network equipment.
5. the method for obtaining the multidate information of the network equipment fast according to claim 1 and 2, wherein the descriptor of the network equipment of the memory device stores of terminal device comprises the network address of the network equipment, the service identifiers that is provided, and network equipment sign.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021543917A CN1176436C (en) | 2002-12-04 | 2002-12-04 | Method for quick obtaining dynamic information of network devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021543917A CN1176436C (en) | 2002-12-04 | 2002-12-04 | Method for quick obtaining dynamic information of network devices |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1480869A CN1480869A (en) | 2004-03-10 |
CN1176436C true CN1176436C (en) | 2004-11-17 |
Family
ID=34148799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB021543917A Expired - Fee Related CN1176436C (en) | 2002-12-04 | 2002-12-04 | Method for quick obtaining dynamic information of network devices |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1176436C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100419732C (en) * | 2004-04-01 | 2008-09-17 | 联想(北京)有限公司 | Concentrated control method of network terminals |
CN103973742B (en) * | 2013-01-31 | 2017-09-01 | 纬创资通股份有限公司 | Long-range control method and system, the control for supporting remote control and feedback device |
CN104202226A (en) * | 2014-09-19 | 2014-12-10 | 中标软件有限公司 | Service inquiry method in local area network |
-
2002
- 2002-12-04 CN CNB021543917A patent/CN1176436C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1480869A (en) | 2004-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103051740B (en) | Domain name analytic method, dns server and domain name analysis system | |
CN110324177B (en) | Service request processing method, system and medium under micro-service architecture | |
CN103237060B (en) | A kind of data object acquisition, Apparatus and system | |
CN101207561B (en) | Cluster manager, cluster system as well as cluster managing method | |
CN111212085A (en) | Internet of things platform synchronous calling method, Internet of things system and network equipment | |
CN107968797B (en) | Video transmission method, device and system | |
US20040243689A1 (en) | Method for accessing information and/or services of a distributed automation system | |
CN112543212B (en) | System for providing request response exact communication delay guarantee for distributed service | |
CN103685603A (en) | Domain name system analyzing method and device | |
CN111556135A (en) | Request scheduling method, system and device and electronic equipment | |
CN114301990A (en) | Node scheduling method, device and storage medium based on content distribution network | |
CN115103008A (en) | Service request forwarding system | |
CN115509676A (en) | Container set deployment method and device | |
CN112328632A (en) | Distributed two-level caching method and system | |
CN1126329C (en) | Method and system for routing agent programs through communications network | |
CN111556123A (en) | Self-adaptive network rapid configuration and load balancing system based on edge calculation | |
CN1176436C (en) | Method for quick obtaining dynamic information of network devices | |
CN100484014C (en) | Distributed cluster service management system and service management method in intelligent network | |
CN110768911A (en) | Efficient flow guiding method, device, equipment, system and storage medium | |
CN102023997B (en) | Data query system, construction method thereof and corresponding data query method | |
CN111600929A (en) | Transmission line detection method, route strategy generation method and proxy server | |
CN115396398B (en) | Derived domain name access method, system, device, storage medium and program product | |
CN1145319C (en) | Search method of network topological structure | |
US20020083161A1 (en) | Network management system and a network management method | |
CN113791733B (en) | Information storage method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20041117 Termination date: 20201204 |