CN102594941A - Method for device access and device communication in building intercom system - Google Patents

Method for device access and device communication in building intercom system Download PDF

Info

Publication number
CN102594941A
CN102594941A CN2012100405649A CN201210040564A CN102594941A CN 102594941 A CN102594941 A CN 102594941A CN 2012100405649 A CN2012100405649 A CN 2012100405649A CN 201210040564 A CN201210040564 A CN 201210040564A CN 102594941 A CN102594941 A CN 102594941A
Authority
CN
China
Prior art keywords
address
equipment
device numbering
numbering
data form
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012100405649A
Other languages
Chinese (zh)
Other versions
CN102594941B (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.)
Fujian Star Net eVideo Information Systems Co Ltd
Original Assignee
Fujian Star Net eVideo Information Systems 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 Fujian Star Net eVideo Information Systems Co Ltd filed Critical Fujian Star Net eVideo Information Systems Co Ltd
Priority to CN201210040564.9A priority Critical patent/CN102594941B/en
Publication of CN102594941A publication Critical patent/CN102594941A/en
Application granted granted Critical
Publication of CN102594941B publication Critical patent/CN102594941B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for device access and device communication in a building intercom system. A newly added device transmits device number and IP (Internet Protocol) address to other devices in the network; an original device stores the number and the IP address of the device, and simultaneously transmits own number and IP address to the newly added device, in this way, under the condition of regular communication, all the devices in the network store the IP addresses of other devices, and the IP address of a target device can be obtained just by native query without querying a management central computer every time in the communication, and thus the load on the management central computer is reduced, the communication efficiency is improved, and even under the condition of failure of the central computer, the interrupt of the integral communication cannot be caused.

Description

The method of equipment access and devices communicating in the building conversational system
Technical field
The present invention relates to a kind of method of equipment access communications, the equipment in a kind of building conversational system of relating in particular to inserts and the method for devices communicating.
Background technology
In present building conversational system, in order to realize the communication between the multiple devices, just need be with each equipment access network, per call is all wanted the IP of elder generation to administrative center's query aim equipment, sets up communication.Or adopt the mode of pure broadcasting, look for devices needed.
Application number is 200710165787.7 Chinese patent; A kind of cut-in method of broadband video service is provided; May further comprise the steps: when A. local side access device received the video program play solicited message, inquiry received the port of the employed local side access device of this information; B. inquire about the video user table and obtain the corresponding authority numbering of said port; The queried access authority list obtains to obtain this and can watch each program code in the video frequency program inventory in the corresponding video frequency program the watched inventory of said authority numbering; Whether the program code in the solicited message that determining step A receives in the program code that is obtained, if then continue, otherwise finishes; Inquiry video program source table obtains the corresponding multicast program IP address of said program code; C. the local side access device is to said IP Address requests media stream, and the media stream of acquisition is transmitted to the described port of steps A.Use this method, can realize under the broadband video service, the control of user capture video frequency program.But the communication mode that the employing of local side is general; Then need at every turn all to server lookup port, authority numbering, program code etc., load of server is very heavy, when a plurality of local side apparatus are inquired about; Just possibly cause information to be blocked up, or the slow problem of inquiry velocity.
Application number is 200710089528.0 Chinese patent, and a kind of sign setting of remote device and the method that mailing address distributes are provided, and comprising: for remote device unique device identification is set earlier; After the procotol of confirming again to adopt, be the unique mailing address of each remote device configuration; Then, the remote device controller sends the broadcast frame of above-mentioned procotol, and after remote device was received this broadcast frame, the mailing address that this device identification in the frame is corresponding returned the successful response frame of expression as the mailing address of oneself to the remote device controller; At last, the remote device controller is in the response time of broadcast frame as detect the successful response frame of expression that the remote device that identifies in this broadcast frame returns, and thinks that then this remote device has been assigned with mailing address.Adopt this method, make each remote device that unique device identification arranged, help the management of equipment, but each equipment all to receive broadcast frame earlier, could obtaining communication the address, direct communication port that can not apparatus for establishing.
In building talkback, the device numbering of a common customer call is limited, if all will though the success rate of inquiry is high, strengthened the dependence of server virtually, and average response time be also long through these device numberings of server lookup at every turn.
Summary of the invention
The technical problem that the present invention solves provides equipment access and method for communicating in a kind of building conversational system, solves the technical problem that needs in the prior art through the communication between the server realization equipment.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: the method that equipment inserts in a kind of building conversational system is provided, may further comprise the steps:
S01: new log equipment sends broadcast packet to access network, and said broadcast packet comprises device numbering and IP address;
S02: after the existing equipment in the access network receives said broadcast packet, store device numbering and IP address in the said broadcast packet, and send response packet to new log equipment, said response packet comprises the device numbering and the IP address of corresponding device;
S03: new log equipment is stored the information in the said response packet.
Wherein, each equipment is provided with data form, is used to store the device numbering and the IP address of other equipment.
Wherein, said existing equipment sends response packet with the mode of clean culture.
Wherein, said step S03 specifically comprises:
S301: obtain device numbering and IP address in the response packet, whether have this device numbering in the judgment data form, if forward step S302 to; If not, add said device numbering and IP address in data form;
S302: whether exist in the judgment data form to IP address that should device numbering, if then abandon this response packet; If not, then revise in the data form and the corresponding IP of this device numbering address;
S303: the content of preserving data form.
For solving the problems of the technologies described above, the present invention also provides the method for devices communicating in a kind of building conversational system, comprising:
S11: whether search has the device numbering of target device in data form, if, obtain the IP address corresponding with this device numbering, forward step S14 to; If not, forward step S12 to;
S12: send broadcast packet, be used to inquire the IP address of this device numbering correspondence, judge whether to receive response packet, if, then into tabulation is added in this IP address, forward step S14 to; If not, forward step S13 to;
S13: send request signal to server, obtain the corresponding IP address of said device numbering, into tabulation is added in this IP address, forward step S14 to.
S14: set up communication according to this IP address.
Wherein, said step S11 comprises that also before setting up communication according to the IP address, whether normal judgement communicates by letter with this IP address corresponding equipment, if then set up communication; If not, then in the deleted data form to data that should device numbering.
Adopt technique scheme, the invention has the beneficial effects as follows:, just device numbering and IP address are sent to interior other equipment of net with the form of broadcast packet because equipment is when networking; After other equipment are received broadcast packet, store the device numbering and the IP address of this equipment, and send self numbering and IP address to this equipment; Like this, all equipment just can obtain the information of the equipment of new networking, and new log equipment also can effectively obtain the information of this equipment; Like this, in communication, device just will detect the information that whether stores target device; Obtain needed IP address, and need not inquire about, just the communication between the ability apparatus for establishing through server; Reduced the dependence of equipment, shortened average response time server.
Description of drawings
Fig. 1 is the flow chart of the method that equipment inserts in the building conversational system provided by the invention;
Fig. 2 is the flow chart of the method for devices communicating in the building conversational system provided by the invention;
Fig. 3 is the sketch map of a specific embodiment of the method that equipment inserts in the building conversational system provided by the invention;
Fig. 4 is the sketch map of a specific embodiment of the method for devices communicating in the building conversational system provided by the invention.
Embodiment
By specifying technology contents of the present invention, structural feature, realized purpose and effect, give explanation below in conjunction with execution mode and conjunction with figs. are detailed.
Embodiment 1
See also Fig. 1, the present invention provides the method that equipment inserts in a kind of building conversational system, establishes to comprise n equipment in the legacy network, and newly adding equipment is equipment n+1,
S01: after the equipment n+1 start, equipment n+1 sends broadcast packet to access network, and said broadcast packet comprises device numbering and IP address; Promptly all equipment 1-equipment n send broadcasting " my numbering is: * * * * *; my IP address is: * * * * * " in net, and the numbering here can have multiple, can be according to the type of equipment; Equipment new and old is provided with the kind of numbering according to concrete applying flexible.In certain embodiments; Equipment sends response packet with the mode of clean culture, because equipment 1 has received the broadcast packet from equipment n+1 to equipment n, thereby has learnt the address of equipment n+1; Therefore can be directly with self information such as device numbering, address; Directly send to the IP address of equipment n+1, and need not transmit, thereby practiced thrift Internet resources through the mode of broadcasting.
S02: after equipment 1-equipment n receives said broadcast packet, device numbering in the said broadcast packet and IP address are stored, seen also following table; In each equipment, comprise among the new log equipment n+1, all set up data form; Be used to store other device numbering and IP; And sending response packet to new log equipment, said response packet comprises the device numbering and the IP address of corresponding device, i.e. annunciator n+1: " in the time of my numbering: * * * *; My I P address is: * * * * ";
Device numbering IP
Numbering 1 IP address 1
Numbering 2 IP address 2
Numbering 3 IP address 3
Numbering n IP address n
S03: equipment n+1 is stored into the information in the said response packet in the data form among the equipment n+1.Like this, under the normal situation of communication, equipment n+1 can receive n response packet; Carry the device numbering and the IP address of equipment 1 to equipment n respectively, these storage are advanced in the data form, like this; The new equipment n+1 that networks just stores the device numbering and the IP address of other all devices in the net, as above shown in the table, in follow-up communication; Just can just can find the IP address of target device, set up direct communication through this data form of inquiry; For example, equipment n+1 need communicate by letter with equipment 30, just directly searches device numbering and is " numbering 30 "; Inquire the IP address and be " IP address 30 ", equipment n+1 just can directly be transferred to the data of required transmission this " IP address 30 ", and need be through the address of server lookup target device.
In one embodiment, said step S03 specifically comprises:
S301: obtain device numbering and IP address in the response packet, for example device numbering is " numbering 30 ", whether has this device numbering in the judgment data form, and as above table travels through " device numbering " hurdle, whether " numbering 30 " is arranged, if forward step S302 to; If not, add said device numbering " numbering 30 " and IP address in data form;
Whether S302: exist in the judgment data form IP address that should device numbering, for example " numbering 30 " corresponding address is " IP address 30 ", and the same with IP address in the response packet then abandons this response packet; If not, then revise in the data form and the corresponding IP of this device numbering address, because response packet is sent by corresponding device; Therefore record is up-to-date device address; Through revising the content of data form, the information of just updating the equipment simultaneously makes that communication is more efficient.
S303: the content of preserving data form.
See also Fig. 2, the present invention also provides the method for devices communicating in a kind of building conversational system, comprising:
S11: whether search has the device numbering of target device in data form, if, obtain the IP address corresponding with this device numbering, forward step S14 to; If not, forward step S12 to;
S12: send broadcast packet, be used to inquire the IP address of this device numbering correspondence, judge whether to receive response packet, if, then into tabulation is added in this IP address, forward step S14 to; If not, forward step S13 to; Can avoid like this factor ruined according to the data accident of tabulation or data volume not enough and cause communication failure, having improved the success rate that communication sets up and the fault-tolerance of system, increased the robustness of system.
S13: send request signal to server, obtain the corresponding IP address of said device numbering, into tabulation is added in this IP address, forward step S14 to;
S14: set up communication according to this IP address.
Because each equipment all can be registered in management center machine; Management center machine has powerful database and data-handling capacity; Improved the success rate that communication is set up to greatest extent; If can not find out the corresponding IP of this numbering in management center machine, then represent the not registration of this equipment, finally set up communication failure.
Said step S11 comprises that also before setting up communication according to the IP address, whether normal judgement communicates by letter with this IP address corresponding equipment, if then set up communication; If not, then in the deleted data form to data that should device numbering.
Adopt this method, deletion in time, the tabulation of renewal " identity card " (being device numbering and Device IP) are supposed when device A is passed through numbering calling device B; If from tabulation, found the IP corresponding with this numbering; But can't set up normal communication and connect, then call failure representes that this equipment maybe be in net; Or cut off the power supply; So this expired " identity card " is deleted from tabulation, avoid calling out the data that continue to use mistake next time, also shortened simultaneously and set up the time of searching IP before the communication.
See also Fig. 3 and Fig. 4, Fig. 3 and Fig. 4 provide a concrete embodiment respectively, in order to explain under the holding state between device A, equipment B, the equipment C equipment cut-in method and communication means.
1, device power-up
There have been device A and equipment B in the network system, equipment C start this moment, C transmission broadcast packet (Dev_c, Addr_c);
A receives broadcast packet, and (Dev_a Addr_a) gives C, if C in " identity card " tabulation of A, does not then process to send response packet; " identity card " otherwise that then add C is to tabulation
B receives broadcast packet, and (Dev_b Addr_b) gives C, if C in " identity card " tabulation of B, does not then process to send response packet; " identity card " otherwise that then add C is to tabulation
C receives the response packet of A and B, checks A and B successively whether in " identity card " tabulation of C, if, then do not process, otherwise " identity card " that then add A and B is to tabulating.
2. " search step by step "
Device A calling device B, A only knows the numbering of B, does not know the IP address of B
A searches B in local " identity card " tabulation numbering if can find, is then taken out corresponding IP address; Initiate calling network communication to this IP then, A can not find the numbering of B in local " identity card " tabulation, then in net, sends broadcast packet; How many Device IP that inquiry is numbered B is; Receive reply after, " identity card " that add B to tabulation, and initiates calling network communication to this IP;
A can not find the numbering of B in local " identity card " tabulates, the transmission broadcast packet is not received yet and replied in net, and then to the management center machine inquiry, " identity card " that add B after finding arrives tabulation, and to this IP initiation calling network communication;
In the data list of local device, inquire about earlier; Inquire about through sending broadcast packet again; This mode has significantly reduced the access times of whole system to management center machine on the one hand, reduces the burden of management center machine, even can reduce the hardware cost of management center machine; Also reduced the dependence of whole system on the other hand to management center machine; The system that makes has broken away from management center machine immediately, in the same old way can proper communication, avoided in building system because the center machine fault causes the situation of resident family's communication system paralysis.
The above is merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (6)

1. the method that equipment inserts in the building conversational system is characterized in that, comprising:
S01: new log equipment sends broadcast packet to access network, and said broadcast packet comprises device numbering and IP address;
S02: after the existing equipment in the access network receives said broadcast packet, store device numbering and IP address in the said broadcast packet, and send response packet to new log equipment, said response packet comprises the device numbering and the IP address of corresponding device;
S03: new log equipment is stored the information in the said response packet.
2. the method that equipment inserts in the building conversational system according to claim 1, it is characterized in that: each equipment is provided with data form, is used to store the device numbering and the IP address of other equipment.
3. the method that equipment inserts in the building conversational system according to claim 1, it is characterized in that: said existing equipment sends response packet with the mode of clean culture.
4. the method that equipment inserts in the building conversational system according to claim 2 is characterized in that said step S03 specifically comprises:
S301: obtain device numbering and IP address in the response packet, whether have this device numbering in the judgment data form, if forward step S302 to; If not, add said device numbering and IP address in data form;
S302: whether exist in the judgment data form to IP address that should device numbering, if then abandon this response packet; If not, then revise in the data form and the corresponding IP of this device numbering address;
S303: the content of preserving data form.
5. the method for devices communicating in the building conversational system is characterized in that, comprising:
S11: whether search has the device numbering of target device in data form, if, obtain the IP address corresponding with this device numbering, forward step S14 to; If not, forward step S12 to;
S12: send broadcast packet, be used to inquire the IP address of this device numbering correspondence, judge whether to receive response packet, if, then into tabulation is added in this IP address, forward step S14 to; If not, forward step S13 to;
S13: send request signal to server, obtain the corresponding IP address of said device numbering, into tabulation is added in this IP address, forward step S14 to;
S14: set up communication according to this IP address.
6. the method for devices communicating in the building conversational system according to claim 5 is characterized in that:
Said step S11 comprises that also before setting up communication according to the IP address, whether normal judgement communicates by letter with this IP address corresponding equipment, if then set up communication; If not, then in the deleted data form to data that should device numbering.
CN201210040564.9A 2012-02-22 2012-02-22 Method for device access and device communication in building intercom system Expired - Fee Related CN102594941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210040564.9A CN102594941B (en) 2012-02-22 2012-02-22 Method for device access and device communication in building intercom system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210040564.9A CN102594941B (en) 2012-02-22 2012-02-22 Method for device access and device communication in building intercom system

Publications (2)

Publication Number Publication Date
CN102594941A true CN102594941A (en) 2012-07-18
CN102594941B CN102594941B (en) 2015-06-17

Family

ID=46483134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210040564.9A Expired - Fee Related CN102594941B (en) 2012-02-22 2012-02-22 Method for device access and device communication in building intercom system

Country Status (1)

Country Link
CN (1) CN102594941B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106241525A (en) * 2016-09-07 2016-12-21 深圳市泛海三江科技发展有限公司 A kind of it is applied to the access control method of intelligent safety and defence system, system and device
CN107659571A (en) * 2017-09-30 2018-02-02 北京千丁互联科技有限公司 A kind of community's equipment and realize to the method for unlocking of making peace
CN111092965A (en) * 2019-12-27 2020-05-01 珠海市竞争电子科技有限公司 IP address setting method applied to intercom system
CN112188320A (en) * 2020-09-30 2021-01-05 联想(北京)有限公司 Information processing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794663A (en) * 2005-12-31 2006-06-28 杭州华为三康技术有限公司 Access method of document in pile system
CN1855842A (en) * 2005-04-19 2006-11-01 华为技术有限公司 Method for making maintaining node labels to match with media visiting controlled addresses
CN101083575A (en) * 2006-06-02 2007-12-05 同济大学 Distributed speech communication system and network connection method for residential district
CN102035861A (en) * 2009-09-24 2011-04-27 中兴通讯股份有限公司 Load balancing method and system of single-jump distributing type hash table superposition network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855842A (en) * 2005-04-19 2006-11-01 华为技术有限公司 Method for making maintaining node labels to match with media visiting controlled addresses
CN1794663A (en) * 2005-12-31 2006-06-28 杭州华为三康技术有限公司 Access method of document in pile system
CN101083575A (en) * 2006-06-02 2007-12-05 同济大学 Distributed speech communication system and network connection method for residential district
CN102035861A (en) * 2009-09-24 2011-04-27 中兴通讯股份有限公司 Load balancing method and system of single-jump distributing type hash table superposition network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106241525A (en) * 2016-09-07 2016-12-21 深圳市泛海三江科技发展有限公司 A kind of it is applied to the access control method of intelligent safety and defence system, system and device
CN107659571A (en) * 2017-09-30 2018-02-02 北京千丁互联科技有限公司 A kind of community's equipment and realize to the method for unlocking of making peace
CN111092965A (en) * 2019-12-27 2020-05-01 珠海市竞争电子科技有限公司 IP address setting method applied to intercom system
CN112188320A (en) * 2020-09-30 2021-01-05 联想(北京)有限公司 Information processing method and device and electronic equipment
CN112188320B (en) * 2020-09-30 2022-09-23 联想(北京)有限公司 Information processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN102594941B (en) 2015-06-17

Similar Documents

Publication Publication Date Title
CN101141493B (en) Address analysis method and access point of wireless LAN
CN102291430B (en) Method for processing allocation information of Internet of things, Internet of things platform and system
CN101764751B (en) Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
CN101577722B (en) Method for realizing MAC forced forwarding function and device
CN102938794A (en) Address resolution protocol (ARP) message forwarding method, exchanger and controller
CN105245629A (en) DHCP-based host communication method and device
CN103248724A (en) SDN (Software-Defined Networking) controller-based DHCP (Dynamic Host Configuration Protocol) broadcast processing method
CN107743154B (en) Tracking and attendance system based on Wi-Fi intelligent terminal and method thereof
CN101873320B (en) Client information verification method based on DHCPv6 relay and device thereof
CN102057623A (en) Network device and method for obtaining terminal multicast status
CN103428681A (en) Base station self-starting configuration parameter acquisition method, base station self-starting method and equipment
CN101741888A (en) Method, system and device for pushing certification page
CN102325202A (en) Method and equipment for managing customer address table
CN101335637A (en) Method and device for multicast control
CN102594941A (en) Method for device access and device communication in building intercom system
CN102739539A (en) Method for carrying out topology association on optical network unit (ONU) and Ethernet over coax (EOC)
CN100442706C (en) Method for making maintaining node labels to match with media visiting controlled addresses
CN101651626A (en) Traffic-forwarding method and device
CN102625162B (en) Method and system for data transmission
CN101938383B (en) On-line monitoring method and system of user account with multiple services as well as monitoring service system
CN103812707B (en) A kind of method for processing forwarding of line identification message
US10666614B2 (en) Multicast security control method and device based on DNS
US20100057893A1 (en) Server, system and method for providing dynamic domain name service
CN112104888B (en) Method and system for grouping live broadcast users
CN102118396A (en) Live monitoring method and video management server

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

Granted publication date: 20150617

CF01 Termination of patent right due to non-payment of annual fee