CN102594673B - Method and system supporting automatic distributing of device numbers and routing - Google Patents

Method and system supporting automatic distributing of device numbers and routing Download PDF

Info

Publication number
CN102594673B
CN102594673B CN201210028660.1A CN201210028660A CN102594673B CN 102594673 B CN102594673 B CN 102594673B CN 201210028660 A CN201210028660 A CN 201210028660A CN 102594673 B CN102594673 B CN 102594673B
Authority
CN
China
Prior art keywords
numbering
equipment
link
device numbering
route
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
Application number
CN201210028660.1A
Other languages
Chinese (zh)
Other versions
CN102594673A (en
Inventor
张家亮
吴震
牟文炬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHENGDU 30KAITIAN COMMUNICATION INDUSTRY Co Ltd
Original Assignee
CHENGDU 30KAITIAN COMMUNICATION INDUSTRY 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 CHENGDU 30KAITIAN COMMUNICATION INDUSTRY Co Ltd filed Critical CHENGDU 30KAITIAN COMMUNICATION INDUSTRY Co Ltd
Priority to CN201210028660.1A priority Critical patent/CN102594673B/en
Publication of CN102594673A publication Critical patent/CN102594673A/en
Application granted granted Critical
Publication of CN102594673B publication Critical patent/CN102594673B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The device discloses a method and a system supporting automatic distributing of device numbers and routing. The system comprises a one-stage switching center or a multistage cascading switching center, wherein the switching center of each stage is connected with one or more devices, the switching centers are connected with one another through a computer network; each switching center comprises an access module, a routing distribution module, a local message processing module, a device number retrieval module and a device number generating module. The method and the system adopt a multistage cascading technology, so that the device can access different switching centers of the system as required, and the method and the system provide a device numbering rule supporting routing and exchange. The method and the system adopt device number retrieval and automatic generation technologies to solve the problems that when a device is introduced, the system ca not automatically distribute device numbers for the device, so that data of signals, media and the like can not be distributed correctly, and the device numbers can not support routing. When new devices are required in actual applications, system software does not need to be modified too much, the development cycle is shorted, and costs of human resources, time and development are saved.

Description

The method and system of a kind of support equipment numbering automatic distributing and route
Technical field
The present invention relates to the method and system of a kind of support equipment numbering automatic distributing and route.
Background technology
In existing system, in order to guarantee device-dependent signaling, the correct distribution of the data such as media, conventionally need to give unique sign of devices allocation, different systems is processed different for this uniquely identified, have and take direct appointment, also have and take uniqueness parameter, but there is a limitation in this class processing mode conventionally, while needing exactly a newly-increased equipment in system, device numbering cannot be supported route, the autgmentability of system is bad, in the situation that system is not made an amendment, it cannot be usually this newly added equipment numbering of automatically allocating a device, cannot realize the signaling to this device numbering, the correct distribution of media data.
Summary of the invention
Object of the present invention is to overcome the deficiencies in the prior art, a kind of multi-stage cascade technology is provided, a kind of device numbering retrieval, Auto, and the device numbering rule of supporting routing and swiching, there is the equipment of realization connecting system not concentricity as required, while having solved newly added equipment, system cannot be this devices allocation device numbering automatically, cause signaling, the data such as media can not correctly be distributed with device numbering cannot support the large technical problem of route two, in actual applications, while needing newly added equipment, systems soft ware does not need to make large modification, project development cycle and project development have been shortened to the practical time, saved the human cost of project, a kind of support equipment numbering automatic distributing of time cost and development cost and the method and system of route.
The object of the invention is to be achieved through the following technical solutions: a kind of method of support equipment numbering automatic distributing and route, its core concept is: in whole network for each terminal equipment distributes an independently numbering, the terminal type comprising in this device numbering, type of service are unique in the whole network, switching centres at different levels do not need to record routing table, just can realize accurate route and the distribution in the whole network by device numbering, it comprises the following steps:
(1) facility registration:
A. link establishment: when equipment needs connecting system, first obtain server ip address and the port numbers at the affiliated center of equipment, and initiate link connection request, after link connection success, device-to-server reporting facility ID and device type;
B. device numbering retrieval: server is retrieved database according to device id and device type, and whether searching database is that this devices allocation is crossed device numbering;
C. device numbering generates: if there is no corresponding device numbering record, server is according to the access quantity of the type of this equipment, the type equipment, for this equipment, automatically allocate a device and number and be recorded to database, and this device numbering is associated with device id, the device numbering then automatically generating to this equipment distribution;
(2) send: information to be sent is sent together with the device numbering information package being comprised of level code, numbering, type;
(3) route: the level code of server identifying purpose device numbering, if level code is different, the equipment at illustration purpose device numbering Bu Shizhe center, be routed to other centers, if level code is identical, the center that arrives object equipment place is described, then according to numbering and type, finds the intracardiac communication link consistent with object device numbering in this;
(4) receive: in target recipient's inspection message bag, whether device numbering is consistent with the machine, if receive, otherwise ignores this packets of information.
A kind of method of support equipment numbering automatic distributing and route, it also comprises a link maintenance step, for the process communicating in equipment and system, communication link is safeguarded, described link maintenance comprises link detecting request and the link detecting response of step of two asynchronous executions, wherein, described link detecting request step comprises:
(1) link maintenance timer then, starts link detecting;
(2) send link detecting report message;
(3) link detecting time counter adds one;
(4) judge whether link detecting time counter reaches chain rupture time numerical value, initiatively opens in this way TCP and connects, and stops link detecting request;
(5) whether link detecting time counter resets, and stops in this way link detecting request,
(6) if link detecting time counter does not reach chain rupture time numerical value, be not reset, repeating step (2)~(5) yet;
Described link detecting response comprises:
(1) receiver detects response message;
(2) link detecting time counter resets.
The system of a kind of support equipment numbering automatic distributing and route, it comprises the switching centre of one or more levels cascade, every grade of switching centre and one or more equipment connection, between switching centres at different levels, by computer network, connect, every grade of switching centre comprises for the treatment of equipment access request, the access module of foundation and maintain communications link, according to object device numbering, complete the route distribution module of message route and forward process, from communication link, receive and resolve message, the local message processing module of packing and sending by communication link by message format, receiving equipment ID and device type, whether retrieval facility numbering already present device numbering retrieval module, according to device id and device type, device numbering generation module for this equipment generation device numbering.
Described switching centre comprises the communication server and database server.
The invention has the beneficial effects as follows:
(1) the invention provides the method and system of a kind of support equipment numbering automatic distributing and route, use for reference route switching know-why, designed the device numbering rule that can support routing and swiching, the level code of device numbering is partly for route, and the remainder of device numbering is for exchange;
(2) the invention provides the method and system of a kind of support equipment numbering automatic distributing and route, adopted device numbering retrieval, Auto, guarantee when having new equipment access, system is this equipment automatic distributing device numbering;
(3) the invention provides the method and system of a kind of support equipment numbering automatic distributing and route, adopt multi-stage cascade technology, can realize equipment connecting system not concentricity as required, there is good autgmentability, can meet multiple application model;
(4) the invention provides the method and system of a kind of support equipment numbering automatic distributing and route, while having solved newly added equipment, system cannot be this devices allocation device numbering automatically, causes the data such as signaling, media correctly not distribute and device numbering cannot be supported the large technical problem of route two;
(5) the invention provides the method and system of a kind of support equipment numbering automatic distributing and route, in actual applications, while needing newly added equipment, systems soft ware does not need to make large modification, shorten project development cycle and project development to the practical time, saved human cost, time cost and the development cost of project.
Accompanying drawing explanation
Fig. 1 is structured flowchart of the present invention;
Fig. 2 is link establishment flow chart of the present invention;
Fig. 3 is link detecting request flow chart of the present invention;
Fig. 4 is link detecting responding process figure of the present invention;
Fig. 5 is the retrieval of present device numbering and device numbering product process figure;
Fig. 6 is route flow chart of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention will be further described, but protection scope of the present invention is not limited to the following stated.
As shown in Fig. 2, Fig. 3, Fig. 4, Fig. 5, Fig. 6, a kind of method of support equipment numbering automatic distributing and route, it comprises the following steps:
(1) facility registration:
A. link establishment: when equipment needs connecting system, first obtain server ip address and the port numbers at the affiliated center of equipment, and initiate link connection request, after link connection success, device-to-server reporting facility ID and device type;
B. device numbering retrieval: server is retrieved database according to device id and device type, and whether searching database is that this devices allocation is crossed device numbering;
C. device numbering generates: if there is no corresponding device numbering record, server is according to the access quantity of the type of this equipment, the type equipment, for this equipment, automatically allocate a device and number and be recorded to database, and this device numbering is associated with device id, the device numbering then automatically generating to this equipment distribution;
(2) send: information to be sent is sent together with the device numbering information package being comprised of level code, numbering, type;
(3) route: the level code of server identifying purpose device numbering, if level code is different, the equipment at illustration purpose device numbering Bu Shizhe center, be routed to other centers, if level code is identical, the center that arrives object equipment place is described, then according to numbering and type, finds the intracardiac communication link consistent with object device numbering in this;
(4) receive: in target recipient's inspection message bag, whether device numbering is consistent with the machine, if receive, otherwise ignores this packets of information.
As shown in Figure 3, Figure 4, a kind of method of support equipment numbering automatic distributing and route, it also comprises a link maintenance step, for the process communicating in equipment and system, communication link is safeguarded, described link maintenance comprises link detecting request and the link detecting response of step of two asynchronous executions, wherein, described link detecting request step comprises:
(1) link maintenance timer then, starts link detecting;
(2) send link detecting report message;
(3) link detecting time counter adds one;
(4) judge whether link detecting time counter reaches chain rupture time numerical value, initiatively opens in this way TCP and connects, and stops link detecting request;
(5) whether link detecting time counter resets, and stops in this way link detecting request,
(6) if link detecting time counter does not reach chain rupture time numerical value, be not reset, repeating step (2)~(5) yet;
Described link detecting response comprises:
(1) receiver detects response message;
(2) link detecting time counter resets.
Device numbering rule of the present invention is comprised of three parts, is respectively level code, numbering and type, and wherein, level code specifies this equipment to belong to the position in system, belongs to which rank of center access; Numbering specify this equipment be access center at the corresponding levels equipment of the same type which; The type of type designated equipment.
As shown in Figure 1, the system of a kind of support equipment numbering automatic distributing and route, it comprises the switching centre of one or more levels cascade, every grade of switching centre and one or more equipment connection, between switching centres at different levels, by computer network, connect, every grade of switching centre comprises for the treatment of equipment access request, the access module of foundation and maintain communications link, according to object device numbering, complete the route distribution module of message route and forward process, from communication link, receive and resolve message, the local message processing module of packing and sending by communication link by message format, receiving equipment ID and device type, whether retrieval facility numbering already present device numbering retrieval module, according to device id and device type, device numbering generation module for this equipment generation device numbering, described switching centre comprises the communication server and database server.

Claims (2)

1. the method for support equipment numbering automatic distributing and route, utilize the support equipment numbering automatic distributing of designed, designed and the system of route, the signaling of realization based on device numbering, correct distribution and the route of media data, described automatic distributing and route system comprise the switching centre of one or more levels cascade, every grade of switching centre and one or more equipment connection, between switching centres at different levels, by computer network, connect, every grade of switching centre comprises for the treatment of equipment access request, the access module of foundation and maintain communications link, according to object device numbering, complete the route distribution module of message route and forward process, from communication link, receive and resolve message, the local message processing module of packing and sending by communication link by message format, receiving equipment ID and device type, whether retrieval facility numbering already present device numbering retrieval module, according to device id and device type, device numbering generation module for this equipment generation device numbering,
It is characterized in that: in whole network for each terminal equipment distributes an independently numbering, the terminal type comprising in this device numbering, type of service are unique in the whole network, switching centres at different levels do not need to record routing table, just can realize accurate route and the distribution in the whole network by device numbering, it comprises the following steps:
(1) facility registration:
A. link establishment: when equipment needs connecting system, first obtain server ip address and the port numbers at the affiliated center of equipment, and initiate link connection request, after link connection success, device-to-server reporting facility ID and device type;
B. device numbering retrieval: server is retrieved database according to device id and device type, and whether searching database is that this devices allocation is crossed device numbering;
C. device numbering generates: if there is no corresponding device numbering record, server is according to the access quantity of the type of this equipment, the type equipment, for this equipment, automatically allocate a device and number and be recorded to database, and this device numbering is associated with device id, the device numbering then automatically generating to this equipment distribution;
(2) send: information to be sent is sent together with the device numbering information package being comprised of level code, numbering, type;
(3) route: the level code of server identifying purpose device numbering, if level code is different, the equipment at illustration purpose device numbering Bu Shizhe center, be routed to other centers, if level code is identical, the center that arrives object equipment place is described, then according to numbering and type, finds the intracardiac communication link consistent with object device numbering in this;
(4) receive: in target recipient's inspection message bag, whether device numbering is consistent with the machine, if receive, otherwise ignores this packets of information.
2. a kind of support equipment according to claim 1 is numbered the method for automatic distributing and route, it is characterized in that: it also comprises a link maintenance step, for the process communicating in equipment and system, communication link is safeguarded, described link maintenance comprises link detecting request and the link detecting response of step of two asynchronous executions, wherein, described link detecting request step comprises:
(1) link maintenance timer then, starts link detecting;
(2) send link detecting report message;
(3) link detecting time counter adds one;
(4) judge whether link detecting time counter reaches chain rupture time numerical value, initiatively opens in this way TCP and connects, and stops link detecting request;
(5) whether link detecting time counter resets, and stops in this way link detecting request,
(6) if link detecting time counter does not reach chain rupture time numerical value, be not reset, repeating step (2)~(5) yet;
Described link detecting response comprises:
(1) receiver detects response message;
(2) link detecting time counter resets.
CN201210028660.1A 2012-02-09 2012-02-09 Method and system supporting automatic distributing of device numbers and routing Expired - Fee Related CN102594673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210028660.1A CN102594673B (en) 2012-02-09 2012-02-09 Method and system supporting automatic distributing of device numbers and routing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210028660.1A CN102594673B (en) 2012-02-09 2012-02-09 Method and system supporting automatic distributing of device numbers and routing

Publications (2)

Publication Number Publication Date
CN102594673A CN102594673A (en) 2012-07-18
CN102594673B true CN102594673B (en) 2014-07-16

Family

ID=46482889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210028660.1A Expired - Fee Related CN102594673B (en) 2012-02-09 2012-02-09 Method and system supporting automatic distributing of device numbers and routing

Country Status (1)

Country Link
CN (1) CN102594673B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104112191A (en) * 2014-07-29 2014-10-22 远光软件股份有限公司 Processing method and system for number with unified certificate number and private certificate number
CN106603586B (en) * 2015-10-14 2020-09-29 阿里巴巴集团控股有限公司 Method, device and system for generating equipment identifier
CN105959644B (en) * 2016-06-21 2019-10-18 浙江宇视科技有限公司 A kind of configuration method and device of video monitoring equipment
CN109905654B (en) * 2017-12-11 2021-03-02 日立楼宇技术(广州)有限公司 Method, device and equipment for acquiring elevator car video and storage medium
CN108923537B (en) * 2018-07-14 2020-07-07 东方电子股份有限公司 Intelligent substation maintenance method based on link switching
CN109995892B (en) * 2019-03-29 2021-09-07 中铁二院工程集团有限责任公司 Multi-communication system compatibility numbering method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1426194A (en) * 2001-12-20 2003-06-25 深圳市中兴通讯股份有限公司上海第二研究所 Route processing method for multi-stage network management system
CN101986664A (en) * 2010-12-08 2011-03-16 河北普康医疗设备有限公司 Communication network-based three-level remote monitoring system of medicinal equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1426194A (en) * 2001-12-20 2003-06-25 深圳市中兴通讯股份有限公司上海第二研究所 Route processing method for multi-stage network management system
CN101986664A (en) * 2010-12-08 2011-03-16 河北普康医疗设备有限公司 Communication network-based three-level remote monitoring system of medicinal equipment

Also Published As

Publication number Publication date
CN102594673A (en) 2012-07-18

Similar Documents

Publication Publication Date Title
CN102594673B (en) Method and system supporting automatic distributing of device numbers and routing
US9894166B2 (en) Registration method and system for common service entity
CN101304330B (en) Resource allocation method, server and network system
CN102291465B (en) Load balancing method, device and system
CN102185737A (en) Automatic equipment information acquisition method and system
CN102238530A (en) Method and apparatus for expanding user equipment identities of machine-type communication devices
CN104243360B (en) The collocation method and device of a kind of conversion link
CN105323743A (en) Method and device for subscribing to resource change notices
WO2016101600A1 (en) Line card determination, determination processing method and device, and line card determination system
CN103532858A (en) TRILL (transparent interconnection of lots of links) network based data message processing method and device
CN105263163B (en) A kind of sending method of notification message, device and system
CN103490999A (en) Disaster tolerance switching method and device
CN101873228A (en) Management system and method for material information of network equipment
CN202513944U (en) System with support of automatic distribution and routing of device number
CN102006223B (en) Data transmission method, device and system between cards, board card and distributed system
CN101184114B (en) Method of distributing packet domain temporary mobile subscriber sign
CN104639379A (en) Proxy testing method and device
CN107770847A (en) Method for network access, access device and terminal device
CN102377830A (en) IP (Internet Protocol) address configuration method
CN104080113A (en) Simulation test method of LTE (Long Term Evolution) base station (eNB)
CN105323186A (en) Load control method and apparatus for notification messages
CN109640339B (en) Method, device, system and storage medium for managing multiple Bluetooth antenna devices
CN103260134A (en) Group calling implementation method and system in trunking communication system
CN104580408B (en) A kind of method of moving distributing computing system and memory node fault tolerance information
CN102006233A (en) Routing method and device

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: 20140716

Termination date: 20210209