Method for completing communication between outdoor unit and indoor unit based on Ethernet communication protocol

By confirming the periodic status of the door and indoor units in advance and analyzing access data packets, the problems of traditional communications are solved, and efficient and secure communication is achieved.

CN116506457BActive Publication Date: 2025-02-18SHENZHEN SHIANTONG ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310400380.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2025-02-18
Estimated Expiration
2043-04-14

AI Technical Summary

Technical Problem

When traditional door machines initiate access requests to indoor units, they need to confirm the communication status in real time, resulting in low communication efficiency. The existing methods lack interception mechanism for malicious access, and poor communication security.

Method used

By obtaining the periodic confirmation status of all door machines and indoor units, confirm the status of the target indoor units in advance, saving access response time and improving communication efficiency. At the same time, through matching and analyzing access packets and historical packets, ensure the legitimacy of the communication link and intercept malicious access.

Benefits of technology

It improves the communication efficiency between door and indoor units, ensures the legality and security of the communication link, and effectively intercepts malicious access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116506457B_ABST
    Figure CN116506457B_ABST
Patent Text Reader

Abstract

The present invention provides a method for completing communication between a door phone and an indoor phone based on an Ethernet communication protocol, comprising: S1: determining the periodic confirmation status of all door phones and all indoor phones based on a multi-terminal topological diagram of all door phones and indoor phones in a building; S2: sending an access data packet to a target access indoor phone in the access instruction based on the periodic confirmation status of all door phones and all indoor phones and an access instruction received by the door phone in real time; S3: when the target access indoor phone receives the access data packet, building a target communication link between the corresponding door phone and the target access indoor phone based on a matching analysis result of the access data packet and all historical access data packets received by the target access indoor phone; S4: completing the communication between the corresponding door phone and the target access indoor phone based on the target communication link, and obtaining a communication result; the method is used to save access response time, so that the communication between the door phone and the indoor phone is more efficient and safe.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Ethernet communication, and in particular to a method for completing communication between a door station and an indoor station based on an Ethernet communication protocol. Background Art

[0002] At present, most buildings, especially residential buildings, are equipped with door phones and indoor phones. In order to realize the communication between the residents outside the building and indoor residents, the communication between the door phones and indoor phones needs to include voice communication, video communication and command communication functions. Therefore, Ethernet communication protocol is mostly used.

[0003] However, when the traditional outdoor phone initiates an access request to the indoor unit, it starts to confirm the communication status of the corresponding indoor unit in real time and feeds back the confirmed communication status to the outdoor phone, resulting in the communication efficiency between the outdoor phone and the indoor unit needs to be improved. In addition, the existing method of completing the communication between the outdoor phone and the indoor unit based on the Ethernet communication protocol only improves the anti-interference ability through differential data transmission, but has no mechanism to intercept malicious access by third parties, resulting in poor communication security between the outdoor phone and the indoor unit.

[0004] Therefore, the present invention proposes a method for completing communication between a door station and an indoor station based on the Ethernet communication protocol. Summary of the invention

[0005] The present invention provides a method for completing communication between a door phone and an indoor unit based on an Ethernet communication protocol, which is used to obtain the periodic confirmation status of all door phones and indoor units, thereby completing the status confirmation process of a target access indoor unit before the door phone initiates an access request to the indoor unit, saving access response time and improving the communication efficiency between the door phone and the indoor unit. At the same time, by matching and analyzing the received access data packet with all historical access data packets received by the target access indoor unit, the access data packet is checked, the legitimacy of the constructed target communication link is guaranteed, and effective interception of malicious access is achieved, making the communication between the door phone and the indoor unit safer.

[0006] The present invention provides a method for completing communication between a door station and an indoor station based on an Ethernet communication protocol, which is characterized by comprising:

[0007] S1: Determine the periodic confirmation status of all outdoor stations and all indoor stations based on the multi-terminal topology map of all outdoor stations and indoor stations in the building;

[0008] S2: Based on the periodic confirmation status of all outdoor stations and all indoor stations and the access instructions received by the outdoor stations in real time, an access data packet is sent to the target indoor station in the access instruction;

[0009] S3: When the target access indoor station receives the access data packet, a target communication link is established between the corresponding door station and the target access indoor station based on the matching analysis result of the access data packet and all the historical access data packets received by the target access indoor station;

[0010] S4: Complete the communication between the corresponding outdoor station and the target access indoor station based on the target communication link to obtain the communication result.

[0011] Preferably, the method for completing communication between a door phone and an indoor phone based on an Ethernet communication protocol is characterized in that S1: determining the periodic confirmation status of all door phones and all indoor phones based on a multi-terminal topology diagram of all door phones and indoor phones in a building, including:

[0012] S101: Generate a multi-terminal topology diagram based on a preset Ethernet communication protocol between different Ethernet interfaces in a wiring diagram of all outdoor stations and indoor stations in the building;

[0013] S102: Determine in the multi-terminal topology map each state cycle confirmation transmission path starting from the door station;

[0014] S103: generating a status cycle confirmation thread for each preset Ethernet communication protocol based on the cycle confirmation transmission path and the status confirmation cycle;

[0015] S104: Determine the status confirmation receiving time of each indoor unit and each outdoor unit, the corresponding status confirmation receiving object and the corresponding feedback terminal based on all status cycle confirmation threads;

[0016] S105: Based on the status confirmation data packet of each preset Ethernet communication protocol, the status confirmation receiving time of each indoor station and each outdoor station, the corresponding status confirmation receiving object and the corresponding feedback terminal, the periodic confirmation status of all outdoor stations and all indoor stations is determined.

[0017] Preferably, the method for completing communication between a door phone and an indoor phone based on an Ethernet communication protocol is characterized in that, S105: based on a status confirmation data packet of each preset Ethernet communication protocol, a status confirmation reception time of each indoor phone and each door phone, and a corresponding status confirmation reception object and a corresponding feedback terminal, determining the periodic confirmation status of all door phones and all indoor phones comprises:

[0018] Control all outdoor stations and all indoor stations to transmit the status confirmation data packets of the corresponding preset Ethernet communication protocol according to the corresponding status cycle confirmation transmission path, and determine whether the status confirmation data packets received by each indoor station and each outdoor station in real time meet the corresponding status confirmation reception time and status confirmation reception object. If so, generate a status confirmation reception thread, and control the corresponding indoor station or outdoor station to send status confirmation feedback to the corresponding feedback terminal;

[0019] Otherwise, keep the corresponding status confirmation data packet;

[0020] The periodic confirmation status of all outdoor stations and all indoor stations is determined based on the status confirmation receiving thread and the status confirmation feedback.

[0021] Preferably, the method for completing communication between a door station and an indoor station based on an Ethernet communication protocol is characterized in that S102: determining each state cycle confirmation transmission path starting from the door station in a multi-terminal topology diagram, including:

[0022] Determine a portion of the wiring path whose transmission protocol is the same preset Ethernet communication protocol within the original accessible range of each outdoor station in the multi-terminal topology map, and aggregate all indoor stations and outdoor stations that pass through the same portion of the wiring path to obtain a set of terminals belonging to the same path;

[0023] When only one hypothetical confirmation path starting from the door station and running through all the same path terminals in the corresponding same path terminal set can be determined in some wiring paths, the corresponding hypothetical confirmation path is used as the state period confirmation transmission path;

[0024] Determine, in the partial wiring path, at least one hypothetical confirmed path starting from the door phone and running through all the sibling path terminals in the corresponding sibling path terminal set, and determine a sibling path terminal sequence based on the running order of all the sibling path terminals in the corresponding sibling path terminal set in the hypothetical confirmed path;

[0025] Calculating a hypothetical received data loss rate of each sibling path terminal in a sibling path terminal sequence based on the wiring path information of each sub-wiring path in the sub-wiring path sequence included in the hypothetical confirmed path;

[0026] Based on the assumed received data loss rates of all the same path terminals in the same path terminal sequence, the confirmation accuracy evaluation value of the assumed confirmation path is calculated, and the assumed confirmation path corresponding to the maximum confirmation accuracy evaluation value is used as the state period confirmation transmission path.

[0027] Preferably, the method for completing communication between a door phone and an indoor phone based on an Ethernet communication protocol is characterized in that S2: based on the periodic confirmation status of all door phones and all indoor phones and the access instruction received in real time by the door phone, sending an access data packet to the target access indoor phone in the access instruction comprises:

[0028] S201: Determine the original accessible range of each outdoor station based on the multi-terminal topology map;

[0029] S202: Deleting the door stations and indoor stations whose periodically confirmed status is inaccessible in the original accessible range, and obtaining the latest accessible range;

[0030] S203: When the target access indoor station in the access instruction received by the door phone in real time is within the corresponding latest accessible range, an access data packet is generated based on the preset Ethernet communication protocol and the access instruction between the door phone and the target access indoor station in the access instruction, and the corresponding access data packet is sent to the target access indoor station based on the corresponding preset Ethernet communication protocol.

[0031] Preferably, the method for completing communication between a door phone and an indoor unit based on an Ethernet communication protocol is characterized in that an access data packet is generated based on a preset Ethernet communication protocol and an access instruction between the door phone and a target indoor unit in the access instruction, including:

[0032] Determine the target indoor unit and the purpose of the access in the access instruction;

[0033] The terminal code of the target indoor station and the standard sentence corresponding to the access purpose are imported into the access data packet standard template corresponding to the preset Ethernet communication protocol between the outdoor station and the target indoor station in the access instruction to obtain the access data packet.

[0034] Preferably, the method for completing communication between the outdoor station and the indoor station based on the Ethernet communication protocol is characterized in that, S3: when the target access indoor station receives the access data packet, based on the matching analysis result of the access data packet and all historical access data packets received by the target access indoor station, a target communication link between the corresponding outdoor station and the target access indoor station is established, including:

[0035] When the target access indoor unit receives the access data packet, the access data packet is matched and analyzed with all the historical access data packets received by the target access indoor unit to obtain a matching analysis result;

[0036] Determine whether the maximum match value in the matching analysis result exceeds the legal matching threshold. If so, build a target communication link between the corresponding outdoor station and the target access indoor station based on the access data packet. Otherwise, retain and store the legality determination result.

[0037] Preferably, the method for completing communication between a door station and an indoor station based on an Ethernet communication protocol is characterized in that the access data packet is matched and analyzed with all historical access data packets received by the target access indoor station to obtain a matching analysis result, including:

[0038] Based on the total number of all historical access data packets and the preset total ratio, a total number threshold is calculated;

[0039] treating a data character sequence included in more than one historical access data packet among all historical access data packets as a common data character sequence, and treating a corresponding common data character sequence whose total number of historical access data packets including the corresponding common data character sequence is not less than a total number threshold as a target data character sequence;

[0040] Dividing each historical access data packet by a preset number of times to obtain first data character segments whose total number of segments in the multiple division processes is consistent with the total number of target data character sequences included in the corresponding historical access data packet, wherein each first data character segment includes a target data character sequence;

[0041] Calculate the commonality of all first data character segments containing the same target data character sequence in the same division process, and calculate the division evaluation value of this division process based on the commonality of all first data character segments in the same division process;

[0042] Matching analysis is performed on all first data character segments of each historical access data packet in the partitioning process corresponding to the access data packet and the maximum partitioning evaluation value to obtain a matching analysis result.

[0043] Preferably, the method for completing communication between a door station and an indoor station based on an Ethernet communication protocol is characterized in that all first data character segments of each historical access data packet in the division process corresponding to the access data packet and the maximum division evaluation value are matched and analyzed to obtain a matching analysis result, including:

[0044] Extracting all target data character sequences contained in the access data packet, and dividing the access data packet a preset number of times to obtain second data character segments whose total number of segments in the multiple division processes is consistent with the total number of target data character sequences contained in the access data packet, wherein each second data character segment contains a target data character sequence;

[0045] The matching values ​​between all the second data character segments obtained in each division process and all the first data character segments of each historical access data packet in the division process corresponding to the maximum division evaluation value are calculated, and all the matching values ​​are regarded as matching analysis results.

[0046] Preferably, the method for completing communication between a door station and an indoor station based on an Ethernet communication protocol is characterized in that a target communication link between a corresponding door station and a target access indoor station is established based on an access data packet, including:

[0047] Analyze the access purpose based on the access data packet;

[0048] A target communication link between the corresponding outdoor station and the target indoor station is established based on the access purpose and the preset Ethernet communication protocol between the corresponding outdoor station and the target indoor station.

[0049] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0050] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0052] Figure 1 A schematic diagram of a method for completing communication between a door station and an indoor station based on an Ethernet communication protocol in an embodiment of the present invention;

[0053] Figure 2 It is a schematic diagram of another method for completing communication between a door station and an indoor station based on the Ethernet communication protocol in an embodiment of the present invention;

[0054] Figure 3 The present invention is a schematic diagram of another method for completing communication between a door station and an indoor station based on the Ethernet communication protocol in an embodiment of the present invention. DETAILED DESCRIPTION

[0055] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0056] Embodiment 1:

[0057] The present invention provides a method for completing communication between a door station and an indoor station based on an Ethernet communication protocol. Figure 1 ,include:

[0058] S1: Determine the periodic confirmation status of all outdoor stations and all indoor stations based on the multi-terminal topology map of all outdoor stations and indoor stations in the building;

[0059] S2: Based on the periodic confirmation status of all outdoor stations and all indoor stations and the access instructions received by the outdoor stations in real time, an access data packet is sent to the target indoor station in the access instruction;

[0060] S3: When the target access indoor station receives the access data packet, a target communication link is established between the corresponding door station and the target access indoor station based on the matching analysis result of the access data packet and all the historical access data packets received by the target access indoor station;

[0061] S4: Complete the communication between the corresponding outdoor station and the target access indoor station based on the target communication link to obtain the communication result.

[0062] In this embodiment, the Ethernet communication protocol is a transmission rule that realizes communication through a connecting line, transmits in the form of data packets, and is used for large data transmission (such as video data). The sender and receiver must abide by this rule to correctly transmit and receive data. For example, there are the following: PROFINET, Ethernet IP, MODBUS TCP / IP.

[0063] In this embodiment, the outdoor station is a communication terminal device arranged outside the door of a building and used to initiate access to the indoor station.

[0064] In this embodiment, the indoor station is a communication device installed indoors for receiving access instructions from the outdoor station and the fence station and realizing voice communication or video communication with the corresponding outdoor station or fence station.

[0065] In this embodiment, the multi-terminal topology diagram is a topology diagram including all the lines and preset Ethernet communication protocols between the indoor unit and the outdoor unit interfaces deployed to realize the communication function based on the Ethernet communication protocol between the indoor unit and the outdoor unit in the building.

[0066] In this embodiment, the periodic confirmation status is the communication status of the outdoor station and the indoor station obtained after confirming the status of the outdoor station and the indoor station according to a preset period (including: a communicable state or a non-communicable state (ie, an offline state)).

[0067] In this embodiment, the access instruction is an instruction input by the visitor from the outdoor station to request access to the target indoor station, for example, an instruction to request video communication with the target indoor station.

[0068] In this embodiment, the target indoor station to be visited is the indoor station that the visitor wants to visit contained in the visit instruction.

[0069] In this embodiment, the access data packet is a data packet used to initiate access to the target access indoor unit.

[0070] In this embodiment, the historical access data packet is a legitimate access data packet that the target access indoor unit has ever received.

[0071] In this embodiment, the matching analysis result is the result obtained after matching and analyzing the access data packet with all historical access data packets received by the target access indoor unit.

[0072] In this embodiment, the target communication link is an information transmission link implemented based on a preset Ethernet communication protocol and used to implement the communication function between the outdoor station and the target access indoor station.

[0073] In this embodiment, the communication result is a result obtained after the communication between the corresponding outdoor station and the target access indoor station is completed based on the target communication link.

[0074] The beneficial effects of the above technology are: by obtaining the periodic confirmation status of all door machines and indoor machines, the status confirmation process of the target access indoor machine is completed before the door machine initiates an access request to the indoor machine, saving the access response time and improving the communication efficiency between the door machine and the indoor machine. At the same time, by matching and analyzing the received access data packet with all historical access data packets received by the target access indoor machine, the access data packet is inspected, the legitimacy of the target communication link established is guaranteed, and malicious access is effectively intercepted, making the communication between the door machine and the indoor machine safer.

[0075] Embodiment 2:

[0076] Based on Example 1, the method for completing the communication between the outdoor station and the indoor station based on the Ethernet communication protocol, S1: based on the multi-terminal topology diagram of all the outdoor stations and indoor stations in the building, determine the periodic confirmation status of all the outdoor stations and all the indoor stations, refer to Figure 2 ,include:

[0077] S101: Generate a multi-terminal topology diagram based on a preset Ethernet communication protocol between different Ethernet interfaces in a wiring diagram of all outdoor stations and indoor stations in the building;

[0078] S102: Determine in the multi-terminal topology map each state cycle confirmation transmission path starting from the door station;

[0079] S103: generating a status cycle confirmation thread for each preset Ethernet communication protocol based on the cycle confirmation transmission path and the status confirmation cycle;

[0080] S104: Determine the status confirmation receiving time of each indoor unit and each outdoor unit, the corresponding status confirmation receiving object and the corresponding feedback terminal based on all status cycle confirmation threads;

[0081] S105: Based on the status confirmation data packet of each preset Ethernet communication protocol, the status confirmation receiving time of each indoor station and each outdoor station, the corresponding status confirmation receiving object and the corresponding feedback terminal, the periodic confirmation status of all outdoor stations and all indoor stations is determined.

[0082] In this embodiment, the wiring diagram is a line diagram including the wiring structure between all door indoor units in the building.

[0083] In this embodiment, the Ethernet interface is a communication interface required to realize wired communication between different indoor units and outdoor units using the Ethernet communication protocol. The Ethernet interface types include RJ45 interface, RJ11 interface (telephone line interface), and SC optical fiber interface.

[0084] In this embodiment, the preset Ethernet communication protocol is a preset Ethernet communication protocol used when implementing communication functions between different indoor units and outdoor units.

[0085] In this embodiment, the preset Ethernet communication protocol between different Ethernet interfaces is combined with the wiring diagrams of all outdoor units and indoor units to obtain a multi-terminal topology diagram.

[0086] In this embodiment, the status periodic transmission path is a path determined in the multi-terminal topology diagram, which takes the outdoor station as the starting point, traverses multiple indoor stations or outdoor stations, and uses the same Ethernet communication protocol to implement the communication function.

[0087] In this embodiment, the status confirmation period is the interval period for periodically confirming the status of the outdoor station and the indoor station.

[0088] In this embodiment, the status periodic confirmation thread is a thread that includes the sending time and receiving time of each outdoor station and indoor station when the status confirmation data packet is transmitted in the periodic transmission path.

[0089] In this embodiment, the status confirmation reception time of each indoor unit and each outdoor unit, the corresponding status confirmation reception object and the corresponding feedback terminal are determined based on all status cycle confirmation threads, that is:

[0090] The time when the corresponding indoor unit or outdoor unit receives the status confirmation data packet in the status cycle confirmation thread is regarded as the status confirmation reception time, and the outdoor unit corresponding to the starting point of the corresponding status cycle confirmation thread is regarded as the corresponding status confirmation reception object and feedback terminal.

[0091] In this embodiment, the status confirmation process is to control the door phone at the starting point of each status cycle confirmation transmission path to send a status confirmation data packet to the next adjacent door phone or indoor station in the status cycle confirmation transmission path, and when the next door phone or indoor station receives the status confirmation data packet, it sends a status confirmation feedback to the door phone at the starting point (i.e., the status confirmation receiving object and feedback terminal), and forwards the received status confirmation data packet to the next adjacent door phone or indoor station in the status cycle confirmation transmission path, until the corresponding status cycle confirmation transmission path is traversed;

[0092] During this process, the outdoor station at the starting point can obtain the cycle confirmation status of other outdoor stations and indoor stations in the status cycle confirmation transmission path based on the status confirmation feedback received from other outdoor stations and indoor stations in the status cycle confirmation transmission path and the reception time. At the same time, other outdoor stations and indoor stations in the status cycle confirmation transmission path obtain the cycle confirmation status of the outdoor station at the starting point based on the received status confirmation data packet and the reception time.

[0093] In this embodiment, the status confirmation data packet is a preset data packet (heartbeat packet) used to be continuously transmitted in the status cycle confirmation transmission path to further determine the communication status of all outdoor units and indoor units in the status cycle confirmation transmission path.

[0094] The beneficial effects of the above technology are: a multi-terminal topology diagram is generated based on the wiring diagram of all door stations and indoor stations in the building and the preset Ethernet communication protocol between different Ethernet interfaces, and a status cycle confirmation thread is generated based on the determined status cycle confirmation transmission path, and based on the status confirmation reception time of each indoor station and each door station in the status cycle confirmation thread and the corresponding status confirmation receiving object and the corresponding feedback terminal and status confirmation data packet, periodic and efficient confirmation of the communication status of the door stations and indoor stations using the same Ethernet communication protocol is achieved.

[0095] Embodiment 3:

[0096] On the basis of Example 2, the method for completing communication between the outdoor station and the indoor station based on the Ethernet communication protocol, S105: based on the status confirmation data packet of each preset Ethernet communication protocol, the status confirmation reception time of each indoor station and each outdoor station, and the corresponding status confirmation reception object and the corresponding feedback terminal, determining the periodic confirmation status of all outdoor stations and all indoor stations, including:

[0097] Control all outdoor stations and all indoor stations to transmit the status confirmation data packets of the corresponding preset Ethernet communication protocol according to the corresponding status cycle confirmation transmission path, and determine whether the status confirmation data packets received by each indoor station and each outdoor station in real time meet the corresponding status confirmation reception time and status confirmation reception object. If so, generate a status confirmation reception thread, and control the corresponding indoor station or outdoor station to send status confirmation feedback to the corresponding feedback terminal;

[0098] Otherwise, keep the corresponding status confirmation data packet;

[0099] The periodic confirmation status of all outdoor stations and all indoor stations is determined based on the status confirmation receiving thread and the status confirmation feedback.

[0100] In this embodiment, it is determined whether the status confirmation data packet received in real time by each indoor unit and each outdoor unit meets the corresponding status confirmation receiving time and status confirmation receiving object.

[0101] Determine whether the time interval between the reception time of the status confirmation data packet received in real time by each indoor station and each outdoor station and the corresponding status confirmation reception time is within the time interval threshold. If so, determine whether the status confirmation data packet received in real time by the corresponding indoor station or outdoor station meets the corresponding status confirmation reception time:

[0102] Otherwise, it is determined that the status confirmation data packet received in real time by the corresponding indoor unit or outdoor unit does not meet the corresponding status confirmation reception time:

[0103] Determine whether the starting source object of the status confirmation data packet received in real time by each indoor station and each outdoor station (i.e., the outdoor station at the starting point of the corresponding status cycle confirmation transmission path, because the status confirmation data packet received by the indoor station or outdoor station will contain the information of the transmission source party, so the information of the outdoor station at the starting point of the corresponding status cycle confirmation transmission path can be seen according to the received status confirmation data packet) is the corresponding outdoor station in the status confirmation receiving object, and if so, determine that the status confirmation data packet received in real time by the corresponding indoor station or outdoor station meets the corresponding status confirmation receiving object;

[0104] Otherwise, it is determined that the status confirmation data packet received in real time by the corresponding indoor unit or outdoor unit does not satisfy the corresponding status confirmation receiving object.

[0105] In this embodiment, generating a status confirmation receiving thread is: based on the receiving time of the status confirmation data packet corresponding to the same preset Ethernet communication protocol received by the corresponding indoor unit or outdoor unit, generating a corresponding thread recording all receiving times.

[0106] In this embodiment, the status confirmation receiving thread is a recording thread that records all reception times of the status confirmation data packets corresponding to the same preset Ethernet communication protocol received by the corresponding indoor unit or outdoor unit.

[0107] In this embodiment, the status confirmation feedback is feedback information sent by the outdoor station or indoor station to the starting point of the corresponding status period confirmation transmission path when the outdoor station or indoor station receives the status confirmation data packet, indicating that it has received the corresponding status confirmation data packet.

[0108] In this embodiment, the periodic confirmation status of all outdoor stations and all indoor stations is determined based on the status confirmation receiving thread and the status confirmation feedback, that is:

[0109] Based on all status cycle confirmation transmission paths of each indoor station and outdoor station and the sending time of the corresponding status confirmation data packet sent by the corresponding starting outdoor station, a standard receiving thread of each indoor station and outdoor station is generated, and it is determined whether the adjacent receiving time in the standard receiving thread is completely consistent with the adjacent receiving time in the status confirmation receiving thread. If so, it is determined that the cycle confirmation state of the corresponding starting outdoor station is a communicable state;

[0110] Otherwise, the periodic confirmation state of the corresponding starting point outdoor station is determined to be a non-communicable state;

[0111] Based on all status periodic confirmation transmission paths of each indoor station and outdoor station and the sending time of the corresponding status confirmation data packet sent by the corresponding starting outdoor station, the standard feedback receiving time of each indoor station and outdoor station is generated, and it is determined whether the time interval between the receiving time when the starting outdoor station receives the status confirmation feedback of the indoor station and outdoor station and the corresponding standard feedback receiving time is within the preset interval threshold. If so, it is determined that the periodic confirmation state of the corresponding indoor station or outdoor station is a communicable state;

[0112] Otherwise, it is determined that the periodic confirmation state of the corresponding indoor unit or outdoor unit is a non-communicable state.

[0113] The beneficial effect of the above technology is: based on the comparison of the reception time of the status confirmation data packet and the status confirmation feedback with the corresponding standard reception time, efficient confirmation of the periodic confirmation status of all door stations and all indoor stations is achieved.

[0114] Embodiment 4:

[0115] On the basis of Example 2, the method for completing communication between the outdoor station and the indoor station based on the Ethernet communication protocol, S102: determining each state cycle confirmation transmission path starting from the outdoor station in the multi-terminal topology map, including:

[0116] Determine a portion of the wiring path whose transmission protocol is the same preset Ethernet communication protocol within the original accessible range of each outdoor station in the multi-terminal topology map, and aggregate all indoor stations and outdoor stations that pass through the same portion of the wiring path to obtain a set of terminals belonging to the same path;

[0117] When only one hypothetical confirmation path starting from the door station and running through all the same path terminals in the corresponding same path terminal set can be determined in some wiring paths, the corresponding hypothetical confirmation path is used as the state period confirmation transmission path;

[0118] Determine, in the partial wiring path, at least one hypothetical confirmed path starting from the door phone and running through all the sibling path terminals in the corresponding sibling path terminal set, and determine a sibling path terminal sequence based on the running order of all the sibling path terminals in the corresponding sibling path terminal set in the hypothetical confirmed path;

[0119] Calculating a hypothetical received data loss rate of each sibling path terminal in a sibling path terminal sequence based on the wiring path information of each sub-wiring path in the sub-wiring path sequence included in the hypothetical confirmed path;

[0120] Based on the assumed received data loss rates of all the same path terminals in the same path terminal sequence, the confirmation accuracy evaluation value of the assumed confirmation path is calculated, and the assumed confirmation path corresponding to the maximum confirmation accuracy evaluation value is used as the state period confirmation transmission path.

[0121] In this embodiment, the original accessible range is the coverage of all the door stations and indoor stations in the multi-terminal topology diagram that have connection lines with the corresponding door stations, and the connection lines can use the same preset Ethernet communication protocol allowed by the corresponding door stations to communicate.

[0122] In this embodiment, the partial wiring path is a partial line included in the multi-terminal topology diagram.

[0123] In this embodiment, the terminal set belonging to the same path is a set of terminals obtained by summarizing all indoor units and outdoor units running through the same part of the wiring path.

[0124] In this embodiment, the same path terminal is a door station or an indoor station in the same path terminal set.

[0125] In this embodiment, it is assumed that the confirmed path is a line starting from the door station and running through all the same path terminals in the corresponding same path terminal set.

[0126] In this embodiment, the traversal order is the order in which all the sibling path terminals in the sibling path terminal set are traversed in the assumed confirmed path.

[0127] In this embodiment, the sibling path terminal sequence is a sequence obtained by sorting all sibling path terminal sets according to the sequence of penetration in the assumed confirmed path.

[0128] In this embodiment, the sub-wiring path sequence is a sequence obtained by sorting the smallest unit partial lines (the smallest unit partial lines are the partial lines in the line that do not pass through any interfaces and relay door units and relay indoor units except the two ends) contained in the assumed confirmed path according to the traversal order in the assumed confirmed path.

[0129] In this embodiment, the sub-wiring path is a partial line in the sub-wiring path sequence.

[0130] In this embodiment, the wiring path information is the relevant information of each sub-wiring path, such as: loss rate per unit length, wiring length, etc.

[0131] In this embodiment, based on the wiring path information of each sub-wiring path in the sub-wiring path sequence included in the assumed confirmation path, the assumed received data loss rate of each sibling path terminal in the sibling path terminal sequence is calculated, including:

[0132] The wiring length of each sub-wiring path and the corresponding unit length loss rate are determined from the wiring path information of each sub-wiring path in the sub-wiring path sequence included in the hypothetical confirmation path.

[0133] ρ=1-(1-ρ - )*(1-L*ρ L )

[0134] Where ρ is the assumed received data loss rate of the current calculated sibling path terminal in the sibling path terminal sequence, ρ - is the assumed received data loss rate of the adjacent previous sibling path terminal of the currently calculated sibling path terminal in the sibling path terminal sequence (when the currently calculated sibling path terminal is the second sibling path terminal, ρ - is set to 1), L is the wiring length of the sub-wiring path with the terminal of the currently calculated same-family path as the end point, ρ L The unit length loss rate of the sub-wiring path with the terminal of the same path as the end point currently calculated;

[0135] Based on the above formula, the assumed received data loss rate of each same path terminal in the same path terminal sequence can be accurately calculated;

[0136] The assumed received data loss rate is a loss rate that represents the corresponding status confirmation data packet when the status confirmation data packet is sent from the starting point door machine of the assumed confirmation path to the terminal belonging to the same path receiving it.

[0137] In this embodiment, based on the assumed received data loss rates of all the same path terminals in the same path terminal sequence, the confirmation accuracy evaluation value of the assumed confirmation path is calculated, including:

[0138] The difference between 1 and the average value of the assumed received data loss rates of all sibling path terminals in the sibling path terminal sequence is taken as the confirmation accuracy evaluation value of the assumed confirmed path.

[0139] In this embodiment, the confirmation accuracy evaluation value is an evaluation value representing the accuracy of the periodic confirmation state determined when the periodic confirmation states of all sibling path terminals in the corresponding sibling path terminal sequence are determined using the assumed confirmation path.

[0140] The beneficial effects of the above technology are: by determining a hypothetical confirmation path in a portion of the wiring paths whose transmission protocol is the same preset Ethernet communication protocol, the hypothetical data loss rate of the same path terminal is calculated based on the wiring path information of the hypothetical confirmation path, and the confirmation accuracy evaluation value of the hypothetical confirmation path is obtained, so as to evaluate the accuracy of the periodic confirmation state determined when the hypothetical confirmation path is used to determine the periodic confirmation state of all the same path terminals in the corresponding same path terminal sequence based on the data loss rate of each same path terminal, thereby realizing the determination and screening of the periodic confirmation transmission path.

[0141] Embodiment 5:

[0142] Based on Example 1, the method for completing communication between the outdoor station and the indoor station based on the Ethernet communication protocol, S2: based on the periodic confirmation status of all outdoor stations and all indoor stations and the access instructions received by the outdoor stations in real time, sending an access data packet to the target access indoor station in the access instruction, refer to Figure 3 ,include:

[0143] S201: Determine the original accessible range of each outdoor station based on the multi-terminal topology map;

[0144] S202: Deleting the door stations and indoor stations whose periodically confirmed status is inaccessible in the original accessible range, and obtaining the latest accessible range;

[0145] S203: When the target access indoor station in the access instruction received by the door phone in real time is within the corresponding latest accessible range, an access data packet is generated based on the preset Ethernet communication protocol and the access instruction between the door phone and the target access indoor station in the access instruction, and the corresponding access data packet is sent to the target access indoor station based on the corresponding preset Ethernet communication protocol.

[0146] In this embodiment, the original accessible range is the coverage of all the door stations and indoor stations in the multi-terminal topology diagram that have connection lines with the corresponding door stations, and the connection lines can use the same preset Ethernet communication protocol allowed by the corresponding door stations to communicate.

[0147] In this embodiment, the inaccessible state is a non-communication state.

[0148] In this embodiment, the latest accessible range is a new accessible range obtained by deleting the outdoor stations and indoor stations whose periodically confirmed states are inaccessible in the original accessible range.

[0149] In this embodiment, the access data packet is a data packet generated based on a preset Ethernet communication protocol between the outdoor station and the target access indoor station in the access instruction and the access instruction for initiating access to the target access indoor station.

[0150] In this embodiment, the periodic confirmation status of other door stations that can be obtained by the door station can be displayed to the visitor for the visitor's reference.

[0151] The beneficial effects of the above technology are: the original accessible range of each door machine is updated based on the periodic confirmation status in the original accessible range, thereby obtaining the latest accessible range, and judging the legality of the access instruction based on the latest accessible range.

[0152] Embodiment 6:

[0153] On the basis of Example 5, the method for completing communication between the outdoor station and the indoor station based on the Ethernet communication protocol generates an access data packet based on the preset Ethernet communication protocol and the access instruction between the outdoor station and the target access indoor station in the access instruction, including:

[0154] Determine the target indoor unit and the purpose of the access in the access instruction;

[0155] The terminal code of the target indoor station and the standard sentence corresponding to the access purpose are imported into the access data packet standard template corresponding to the preset Ethernet communication protocol between the outdoor station and the target indoor station in the access instruction to obtain the access data packet.

[0156] In this embodiment, the access purpose includes, for example, requesting to realize voice communication with the target access indoor unit, requesting to realize video communication with the target access indoor unit, and requesting to realize information communication with the target access indoor unit.

[0157] In this embodiment, the terminal code is a code for distinguishing different indoor stations and outdoor stations during the communication process, that is, each indoor station and outdoor station corresponds to a terminal code different from the terminal codes of other indoor stations and outdoor stations.

[0158] In this embodiment, the standard statement is a standard program statement that represents the access purpose. The standard statement is preset, and each access purpose corresponds to a standard statement.

[0159] In this embodiment, the access data packet standard template is a program statement template for generating an access data packet corresponding to each preset Ethernet communication protocol, and each preset Ethernet communication protocol corresponds to one access data packet standard template.

[0160] The beneficial effect of the above technology is: to realize the generation of access data packet based on the terminal code and access purpose of the target access indoor unit in the access instruction and the access data packet standard template corresponding to the preset Ethernet communication protocol between the target access indoor units.

[0161] Embodiment 7:

[0162] On the basis of Example 1, the method for completing communication between the outdoor station and the indoor station based on the Ethernet communication protocol, S3: when the target access indoor station receives the access data packet, based on the matching analysis result of the access data packet and all the historical access data packets received by the target access indoor station, a target communication link between the corresponding outdoor station and the target access indoor station is established, including:

[0163] When the target access indoor unit receives the access data packet, the access data packet is matched and analyzed with all the historical access data packets received by the target access indoor unit to obtain a matching analysis result;

[0164] Determine whether the maximum match value in the matching analysis result exceeds the legal matching threshold. If so, build a target communication link between the corresponding outdoor station and the target access indoor station based on the access data packet. Otherwise, retain and store the legality determination result.

[0165] In this embodiment, the matching analysis result is the result obtained after matching and analyzing the access data packet with all historical access data packets received by the target access indoor unit.

[0166] In this embodiment, the legal matching threshold is a preset matching value judgment threshold used to judge whether a target communication link can be established.

[0167] In this embodiment, the legality determination result is the result obtained after determining whether the maximum matching value in the matching analysis result exceeds the legal matching threshold.

[0168] The beneficial effect of the above technology is: by matching and analyzing the received access data packet with all historical access data packets received by the target access indoor unit, the legitimacy of the access data packet is judged, thereby ensuring the legitimacy of the establishment of the target communication link, that is, strengthening the communication security of the indoor unit and the door unit.

[0169] Embodiment 8:

[0170] On the basis of Example 7, the method for completing communication between the outdoor station and the indoor station based on the Ethernet communication protocol matches and analyzes the access data packet with all historical access data packets received by the target access indoor station to obtain the matching analysis result, including:

[0171] Based on the total number of all historical access data packets and the preset total ratio, a total number threshold is calculated;

[0172] treating a data character sequence included in more than one historical access data packet among all historical access data packets as a common data character sequence, and treating a corresponding common data character sequence whose total number of historical access data packets including the corresponding common data character sequence is not less than a total number threshold as a target data character sequence;

[0173] Dividing each historical access data packet by a preset number of times to obtain first data character segments whose total number of segments in the multiple division processes is consistent with the total number of target data character sequences included in the corresponding historical access data packet, wherein each first data character segment includes a target data character sequence;

[0174] Calculate the commonality of all first data character segments containing the same target data character sequence in the same division process, and calculate the division evaluation value of this division process based on the commonality of all first data character segments in the same division process;

[0175] Matching analysis is performed on all first data character segments of each historical access data packet in the partitioning process corresponding to the access data packet and the maximum partitioning evaluation value to obtain a matching analysis result.

[0176] In this embodiment, the preset common ratio is a ratio used as a reference when calculating the preset common total threshold of all historical access data packets, that is, the ratio of the common total threshold to the total number of all historical access data packets.

[0177] In this embodiment, the total number threshold is the product of the total number of all historical access data packets and the preset total ratio.

[0178] In this embodiment, the common data character sequence is a data character sequence included in more than one historical access data packet among all historical access data packets.

[0179] In this embodiment, the data character sequence is a sequence composed of characters.

[0180] In this embodiment, the target data character sequence is a data character sequence in which the total number of historical data packets containing the data character sequence in all historical access data packets is not less than a total threshold.

[0181] In this embodiment, the preset number of times is the number of times the preset historical access data packets and access data packets are divided.

[0182] In this embodiment, the total number of segments is the total number of data character segments obtained by Hua Feng Gou in a single division process.

[0183] In this embodiment, the first data character segments are character segments obtained by dividing the historical access data packets, the character segments contain a large number of characters, and the total number of the first data character segments is consistent with the total number of target data character sequences contained in the corresponding historical access data packets.

[0184] In this embodiment, calculating the commonality of all first data character segments containing the same target data character sequence in the same division process includes:

[0185] Determine the total number of common characters (i.e., the total number of characters commonly owned) and the total number of common character sequences (i.e., the total number of character sequences commonly owned) in all first data character segments containing the same target data character sequence in the same division process;

[0186] Summarizing the total number of common characters and the total number of common character sequences in all first data character segments containing the same target data character sequence currently calculated based on the current division process, and calculating the commonality of all first data character segments containing the same target data character sequence currently calculated in the current division process, including:

[0187]

[0188] Where, ∈ is the commonality of all first data character segments that contain the same target data character sequence currently calculated in the current division process, n is the total number of all first data character segments that contain the same target data character sequence currently calculated, and x igy is the total number of common character sequences in the i-th first data character segment containing the same target data character sequence currently calculated during the current division process, y igy is the total number of common characters in the i-th first data character segment of the same target data character sequence currently calculated during the current division process, y iall is the total number of characters in the i-th first data character segment of the same target data character sequence currently calculated in the current division process, and e is a natural constant e, whose value is 2.72;

[0189] Based on the above formula, the commonality of all first data character segments in the current division process that contain the same target data character sequence currently calculated can be accurately calculated;

[0190] The commonality degree is a numerical value representing the commonality degree of all first data character segments containing the same target data character sequence in the same division process.

[0191] In this embodiment, the division evaluation value of this division process is calculated based on the commonality of all first data character segments in the same division process, including:

[0192] The average value of the commonality of all first data character segments in the same division process is taken as the division evaluation value of this division process.

[0193] In this embodiment, the division evaluation value is the average value of the commonality of all first data character segments containing the same target data character sequence in the division results of the corresponding division process, and is also an evaluation value that characterizes the excellence of the division results of this division process. The larger the division evaluation value, the larger the average value of the commonality.

[0194] The beneficial effects of the above technology are: based on the preset common proportion, the target data character sequence is screened out from all the common data character sequences in the historical access data packets, and the historical access data packets are divided multiple times based on the target data character sequence, and the quality of the division results of each division process is evaluated by calculating the average value of the commonality of all first data character fragments containing the same target data character sequence in the division results, and then the reasonable commonality division of the historical access data packets is achieved based on the division process corresponding to the maximum division evaluation value, which provides key matching data for subsequent matching analysis with the access data packets.

[0195] Embodiment 9:

[0196] On the basis of Example 8, the method for completing communication between the outdoor unit and the indoor unit based on the Ethernet communication protocol performs matching analysis on all first data character segments of each historical access data packet in the division process corresponding to the access data packet and the maximum division evaluation value to obtain the matching analysis result, including:

[0197] Extracting all target data character sequences contained in the access data packet, and dividing the access data packet a preset number of times to obtain second data character segments whose total number of segments in the multiple division processes is consistent with the total number of target data character sequences contained in the access data packet, wherein each second data character segment contains a target data character sequence;

[0198] The matching values ​​between all the second data character segments obtained in each division process and all the first data character segments of each historical access data packet in the division process corresponding to the maximum division evaluation value are calculated, and all the matching values ​​are regarded as matching analysis results.

[0199] In this embodiment, extracting all target data character sequences contained in the access data packet means extracting target data character sequences contained in all historical access data packets contained in the access data packet.

[0200] In this embodiment, the second data character segments are data character segments obtained by dividing the access data packet, the character segments include a large number of characters, and the total number of the second data character segments is consistent with the total number of target data character sequences included in the corresponding access data packet.

[0201] In this embodiment, calculating the matching value between all the second data character segments obtained in each division process and all the first data character segments of each historical access data packet in the division process corresponding to the maximum division evaluation value includes:

[0202] Determine an average value of a ratio of the total number of common characters in each first data character segment of each historical access data packet to the total number of characters in the corresponding second data character segment in the division process corresponding to each second data character segment obtained in the currently calculated division process and the maximum division evaluation value, and a ratio of the total number of common character sequences to the total number of characters in the corresponding second data character segment;

[0203] The average value of the average values ​​corresponding to all second data character segments is taken as the matching value between all second data character segments obtained in the currently calculated division process and all first data character segments of each historical access data packet in the division process corresponding to the maximum division evaluation value.

[0204] The beneficial effect of the above technology is: by calculating the matching values ​​between all the second data character segments obtained after dividing the access data packet for a preset number of times and all the first data character segments of each historical access data packet in the division process corresponding to the maximum division evaluation value, matching analysis of all the first data character segments of each historical access data packet in the division process corresponding to the access data packet and the maximum division evaluation value is achieved.

[0205] Embodiment 10:

[0206] On the basis of Example 7, the method for completing communication between the outdoor station and the indoor station based on the Ethernet communication protocol, based on the access data packet, builds a target communication link between the corresponding outdoor station and the target access indoor station, including:

[0207] Analyze the access purpose based on the access data packet;

[0208] A target communication link between the corresponding outdoor station and the target indoor station is established based on the access purpose and the preset Ethernet communication protocol between the corresponding outdoor station and the target indoor station.

[0209] In this embodiment, the access purpose includes, for example, requesting to realize voice communication with the target access indoor unit, requesting to realize video communication with the target access indoor unit, and requesting to realize information communication with the target access indoor unit.

[0210] In this embodiment, a target communication link between the corresponding outdoor station and the target indoor station is established based on the access purpose and the preset Ethernet communication protocol between the corresponding outdoor station and the target indoor station, for example:

[0211] When the purpose of the visit is to request video communication with the target indoor station, a target communication link is established to realize the video communication function between the corresponding outdoor station and the target indoor station;

[0212] When the purpose of access is to request voice communication with the target access indoor unit, a target communication link is established to realize the voice communication function between the corresponding outdoor unit and the target access indoor unit;

[0213] When the purpose of access is to request information communication with the target access indoor unit, a target communication link is established to realize the information communication function between the corresponding outdoor unit and the target access indoor unit;

[0214] Among them, establishing the target communication link is to enable the transmission function of data in the corresponding communication form between the Ethernet interface of the corresponding outdoor machine and the Ethernet interface of the target access indoor machine.

[0215] The beneficial effect of the above technology is: to generate a legitimate target communication link that can realize the communication function based on a legitimate access data packet.

[0216] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for completing communication between a door station and an indoor station based on an Ethernet communication protocol, characterized in that: include: S1: Determine the periodic confirmation status of all outdoor stations and all indoor stations based on the multi-terminal topology map of all outdoor stations and indoor stations in the building; S2: Based on the periodic confirmation status of all outdoor stations and all indoor stations and the access instructions received by the outdoor stations in real time, an access data packet is sent to the target indoor station in the access instruction; S3: When the target access indoor station receives the access data packet, a target communication link is established between the corresponding door station and the target access indoor station based on the matching analysis result of the access data packet and all the historical access data packets received by the target access indoor station; S4: completing the communication between the corresponding outdoor station and the target access indoor station based on the target communication link, and obtaining the communication result; S1: Based on the multi-terminal topology of all outdoor stations and indoor stations in the building, the periodic confirmation status of all outdoor stations and all indoor stations is determined, including: S101: Generate a multi-terminal topology diagram based on a preset Ethernet communication protocol between different Ethernet interfaces in a wiring diagram of all outdoor stations and indoor stations in the building; S102: Determine in the multi-terminal topology map each state cycle confirmation transmission path starting from the door station; S103: generating a status cycle confirmation thread for each preset Ethernet communication protocol based on the cycle confirmation transmission path and the status confirmation cycle; S104: Determine the status confirmation receiving time of each indoor unit and each outdoor unit, the corresponding status confirmation receiving object and the corresponding feedback terminal based on all status cycle confirmation threads; S105: Based on the status confirmation data packet of each preset Ethernet communication protocol, the status confirmation receiving time of each indoor station and each outdoor station, the corresponding status confirmation receiving object and the corresponding feedback terminal, the periodic confirmation status of all outdoor stations and all indoor stations is determined.

2. The method for completing communication between a door station and an indoor station based on the Ethernet communication protocol according to claim 1, characterized in that: S105: Based on the status confirmation data packet of each preset Ethernet communication protocol, the status confirmation receiving time of each indoor station and each outdoor station, the corresponding status confirmation receiving object and the corresponding feedback terminal, the periodic confirmation status of all outdoor stations and all indoor stations is determined, including: Control all outdoor stations and all indoor stations to transmit the status confirmation data packets of the corresponding preset Ethernet communication protocol according to the corresponding status cycle confirmation transmission path, and determine whether the status confirmation data packets received by each indoor station and each outdoor station in real time meet the corresponding status confirmation reception time and status confirmation reception object. If so, generate a status confirmation reception thread, and control the corresponding indoor station or outdoor station to send status confirmation feedback to the corresponding feedback terminal; Otherwise, keep the corresponding status confirmation data packet; The periodic confirmation status of all outdoor stations and all indoor stations is determined based on the status confirmation receiving thread and the status confirmation feedback.

3. The method for completing communication between a door station and an indoor station based on the Ethernet communication protocol according to claim 1, characterized in that: S102: Determine each state cycle confirmation transmission path starting from the door station in the multi-terminal topology map, including: Determine a portion of the wiring path whose transmission protocol is the same preset Ethernet communication protocol within the original accessible range of each outdoor station in the multi-terminal topology map, and aggregate all indoor stations and outdoor stations that pass through the same portion of the wiring path to obtain a set of terminals belonging to the same path; When only one hypothetical confirmation path starting from the door station and running through all the same path terminals in the corresponding same path terminal set can be determined in some wiring paths, the corresponding hypothetical confirmation path is used as the state period confirmation transmission path; Determine, in the partial wiring path, at least one hypothetical confirmed path starting from the door phone and running through all the sibling path terminals in the corresponding sibling path terminal set, and determine a sibling path terminal sequence based on the running order of all the sibling path terminals in the corresponding sibling path terminal set in the hypothetical confirmed path; Calculating a hypothetical received data loss rate of each sibling path terminal in a sibling path terminal sequence based on the wiring path information of each sub-wiring path in the sub-wiring path sequence included in the hypothetical confirmed path; Based on the assumed received data loss rates of all the same path terminals in the same path terminal sequence, the confirmation accuracy evaluation value of the assumed confirmation path is calculated, and the assumed confirmation path corresponding to the maximum confirmation accuracy evaluation value is used as the state period confirmation transmission path.

4. The method for completing communication between a door station and an indoor station based on the Ethernet communication protocol according to claim 1, characterized in that: S2: Based on the periodic confirmation status of all outdoor stations and all indoor stations and the access instructions received by the outdoor stations in real time, an access data packet is sent to the target indoor station in the access instruction, including: S201: Determine the original accessible range of each outdoor station based on the multi-terminal topology map; S202: Deleting the door stations and indoor stations whose periodically confirmed status is inaccessible in the original accessible range, and obtaining the latest accessible range; S203: When the target access indoor station in the access instruction received by the door phone in real time is within the corresponding latest accessible range, an access data packet is generated based on the preset Ethernet communication protocol and the access instruction between the door phone and the target access indoor station in the access instruction, and the corresponding access data packet is sent to the target access indoor station based on the corresponding preset Ethernet communication protocol.

5. The method for completing communication between a door station and an indoor station based on the Ethernet communication protocol according to claim 4 is characterized in that: Generate an access data packet based on the preset Ethernet communication protocol and access instruction between the outdoor station and the target indoor station in the access instruction, including: Determine the target indoor unit and the purpose of the access in the access instruction; The terminal code of the target indoor station and the standard sentence corresponding to the access purpose are imported into the access data packet standard template corresponding to the preset Ethernet communication protocol between the outdoor station and the target indoor station in the access instruction to obtain the access data packet.

6. The method for completing communication between a door station and an indoor station based on the Ethernet communication protocol according to claim 1, characterized in that: S3: When the target indoor station receives the access data packet, a target communication link is established between the corresponding door station and the target indoor station based on the matching analysis result of the access data packet and all the historical access data packets received by the target indoor station, including: When the target access indoor unit receives the access data packet, the access data packet is matched and analyzed with all the historical access data packets received by the target access indoor unit to obtain a matching analysis result; Determine whether the maximum match value in the matching analysis result exceeds the legal matching threshold. If so, build a target communication link between the corresponding outdoor station and the target access indoor station based on the access data packet. Otherwise, retain and store the legality determination result.

7. The method for completing communication between a door station and an indoor station based on the Ethernet communication protocol according to claim 6, characterized in that: The access data packet is matched and analyzed with all historical access data packets received by the target access indoor unit to obtain matching analysis results, including: Based on the total number of all historical access data packets and the preset total ratio, a total number threshold is calculated; treating a data character sequence included in more than one historical access data packet among all historical access data packets as a common data character sequence, and treating a corresponding common data character sequence whose total number of historical access data packets including the corresponding common data character sequence is not less than a total number threshold as a target data character sequence; Dividing each historical access data packet by a preset number of times to obtain first data character segments whose total number of segments in the multiple division processes is consistent with the total number of target data character sequences included in the corresponding historical access data packet, wherein each first data character segment includes a target data character sequence; Calculate the commonality of all first data character segments containing the same target data character sequence in the same division process, and calculate the division evaluation value of this division process based on the commonality of all first data character segments in the same division process; Matching analysis is performed on all first data character segments of each historical access data packet in the partitioning process corresponding to the access data packet and the maximum partitioning evaluation value to obtain a matching analysis result.

8. The method for completing communication between a door station and an indoor station based on the Ethernet communication protocol according to claim 7, characterized in that: Perform matching analysis on all first data character segments of each historical access data packet in the partitioning process corresponding to the access data packet and the maximum partitioning evaluation value to obtain matching analysis results, including: Extracting all target data character sequences contained in the access data packet, and dividing the access data packet a preset number of times to obtain second data character segments whose total number of segments in the multiple division processes is consistent with the total number of target data character sequences contained in the access data packet, wherein each second data character segment contains a target data character sequence; The matching values ​​between all the second data character segments obtained in each division process and all the first data character segments of each historical access data packet in the division process corresponding to the maximum division evaluation value are calculated, and all the matching values ​​are regarded as matching analysis results.

9. The method for completing communication between a door station and an indoor station based on the Ethernet communication protocol according to claim 6, characterized in that: Based on the access data packet, a target communication link is established between the corresponding outdoor station and the target access indoor station, including: Analyze the access purpose based on the access data packet; A target communication link between the corresponding outdoor station and the target indoor station is established based on the access purpose and the preset Ethernet communication protocol between the corresponding outdoor station and the target indoor station.

Citation Information

Patent Citations

  • Method for finishing communication between door phone and inner phones based on Ethernet communication protocol

    CN102710637A

  • Building intercom system and method

    CN104318654A