Relay baton type video intercom system based on local area network and control method

By building a fuzzy central node list and heartbeat mechanism within the LAN, the existing intercom communication system environment requirements and insufficient convenience are solved, the low-cost and stable multi-user video intercom function is realized, and user privacy is protected.

CN119728903APending Publication Date: 2025-03-28SHANGHAI YOF TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411869808.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The existing intercom communication system has high environmental requirements and is inconvenient. The traditional intercom system and WeChat communication software have limited distance coverage, high cost, delay problems and privacy leakage risks.

Method used

A video intercom system based on the LAN baton type is adopted to construct a list of fuzzy center nodes through the communication nodes of several users, and the priority is judged to select fuzzy center nodes and child nodes, so as to achieve control without setting fuzzy center nodes separately, which is low in development costs. At the same time, by requesting permission modules, avoiding simultaneous transmission between multiple parties, establishing a heartbeat mechanism for real-time monitoring, and ensuring system stability.

Benefits of technology

It realizes a soft-defined video intercom system with low cost without the Internet, solves the problems of traditional intercom systems and WeChat communication software, provides stable multi-user intercom and video calling functions, and protects users' privacy and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728903A_ABST
    Figure CN119728903A_ABST
Patent Text Reader

Abstract

The invention discloses a relay baton type video intercom system based on a local area network and a control method, and belongs to the field of communication. The invention provides a relay baton type video intercom system based on a local area network, which aims at solving the problems that the existing intercom communication has high requirements on the environment and is inconvenient, and comprises a plurality of users, the fuzzy center node determination module is used for judging the priority levels of a plurality of nodes; the fuzzy center node list construction module is used for forming an ordered set, a first element in the ordered set is a current fuzzy center node, and other elements are fuzzy center nodes to be selected in sequence; the soft communication module is used for soft definition communication between the child nodes and the fuzzy center node and between the child nodes; according to the request permission module, all the child nodes confirm whether any node is in communication or not to the fuzzy center node before communication; and the ultra-light fuzzy server is used for generating a local area network topology network for communication. According to the invention, talkback is stable, one-to-many video and voice transmission is realized, the triggering mode is simple, and the problem of communication video transmission pains of WeChat communication software of a traditional talkback system in the absence of Internet and only in a local area network can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of communication technology, and more specifically, relates to a baton-type video intercom system based on a local area network and a control method. Background Art

[0002] There are two products on the market that can realize the intercom function, namely intercom and WeChat embedded map intercom, which are introduced as follows: 1) Intercom: A two-way mobile communication tool that can make calls without any network support and does not incur call charges. The specific implementation process is as follows Figure 1 2) WeChat embedded map intercom: When sharing your location in real time on WeChat, long press the button to intercom with the user who is also sharing your location. This requires a good network signal.

[0003] For walkie-talkies, a comprehensive analysis is conducted from the aspects of battery, antenna, function and material:

[0004] (1) The performance of a walkie-talkie depends on the battery power. When the battery power is low, the radio frequency signal becomes weak, the call quality becomes very poor, and in serious cases, noise may occur, affecting the call quality. Based on this, the present invention takes all aspects into consideration and installs it in the user's mobile phone. Due to the characteristics of the mobile phone, the call quality will not be affected when the battery power is low.

[0005] (2) Walkie-talkies pay great attention to the matching between antennas. If the frequency band of the antenna is inconsistent with the machine frequency band, or the antenna impedance does not match, it will seriously affect the call distance. For users, when replacing antennas, they should pay attention to tightening the antennas. In addition, they should not use antennas that are not provided by the manufacturer, nor should they use antennas that do not match the machine frequency. This will cause great inconvenience to the user experience. As long as the users are in the same local area network, the present invention can communicate. The call distance depends on the range of the local area network. It is easy for users to use and does not require additional configuration.

[0006] (3) Most walkie-talkies only support voice transmission, and only a few walkie-talkies support video calls. However, such walkie-talkies have the problem of high cost. The present invention can realize two-way transmission of voice and video. Because it uses a mobile phone as a carrier, the cost is low, and the video quality can also be selected by the user.

[0007] (4) Walkie-talkies are mostly made of plastic. In some industrial applications, if users accidentally bump into them during use, they may be damaged. Reconfiguring them will increase both time and project costs. The present invention is combined with a mobile phone, which is convenient for users to carry and will give users a certain degree of protection awareness, so that they will not be easily damaged.

[0008] To sum up, ordinary walkie-talkies have limited coverage distance. To increase the distance, you need to increase the power. The greater the power, the larger the size, which is inconvenient to carry. At the same time, frequency modulation is required, which is inconvenient to group. Public network walkie-talkies rely on the public network and cloud servers. Calls have certain delay problems, and they must be connected to the Internet to realize intercom.

[0009] Regarding WeChat voice and intercom functions:

[0010] (1) WeChat can only communicate with one's own friends. It cannot search for users in a large area and quickly send intercom data to nearby users like a walkie-talkie. The present invention can find users in the local area network at any time and display them in the user list. It does not rely on any cloud server and can ensure that all users in the local area network can receive information in real time.

[0011] (2) WeChat’s functions rely on the support of the Internet and cloud servers. Without public network coverage, transmission cannot be achieved, and all user information will be uploaded to the cloud server, which poses a certain risk of privacy leakage. The present invention only needs to build a local area network, without connecting to a cloud server or building a local server, to achieve intercom voice and video transmission. After the user uses it, all information will be automatically destroyed, which protects the user’s privacy to a certain extent. Summary of the invention

[0012] 1. Problems to be solved

[0013] In view of the problem that existing intercom communication has high requirements on the environment and is inconvenient, the present invention provides a video intercom system and control method based on a local area network relay baton. The present invention quickly completes the intercom system between multiple users without deploying a local server, has stable communication, and realizes one-to-many voice transmission with a simple triggering method, which largely solves the problems of traditional intercom systems and WeChat communication software.

[0014] 2. Technical solution

[0015] To solve the above problems, the present invention adopts the following technical solutions.

[0016] A baton-type video intercom system based on a local area network, comprising:

[0017] Several users: each forms a number of nodes;

[0018] Fuzzy center node determination module: used to determine the priority of several nodes. The node with the highest priority is the fuzzy center node, and the remaining nodes are sub-nodes.

[0019] Fuzzy central node list construction module: used to form a variable ordered set, the first element in the ordered set is the current fuzzy central node, and the remaining elements are the fuzzy central nodes to be selected in sequence; the elements in the ordered set are all IP addresses of each node;

[0020] Communication module: used for communication between sub-nodes and fuzzy central nodes and between sub-nodes;

[0021] Request permission module: used for all sub-nodes to confirm with the fuzzy central node whether there is any node currently communicating before communicating. If yes, the sub-node communication request is rejected; if no, the sub-node communication request is permitted;

[0022] Server: used to generate a LAN topology network for communication.

[0023] Furthermore, the fuzzy central node list construction module follows the following rules: The fuzzy central node list is constructed when two nodes discover each other and there are four situations:

[0024] 1. When the fuzzy center node lists of both parties are empty, the node that first receives the other party's fuzzy center node list sets itself as the fuzzy center node and then sets the other party as the next one, and finally sends the constructed fuzzy center node list to the other party;

[0025] 2. If the fuzzy central node list of one party is not empty and the fuzzy central node list of the other party is empty, if the fuzzy central node list of its own node is empty, then set its own fuzzy central node list to the other party's fuzzy central node list plus its own IP; if the other party's fuzzy central node list is empty, then add the other party's IP to its own fuzzy central node list;

[0026] 3. If the fuzzy center node lists of both parties are not empty, then the fuzzy center node list of the party with the longer fuzzy center node list will be set to the party with the longer fuzzy center node list.

[0027] Furthermore, it also includes a heartbeat mechanism building module: the fuzzy central node and sub-nodes are detected in real time, and the fuzzy central node is replaced as needed.

[0028] Furthermore, the heartbeat mechanism construction module specifically performs the following operations: the fuzzy central node provides a set number of heartbeats per second to the child node, and if the child node does not detect the fuzzy central node, the fuzzy central node is replaced, and the fuzzy central node to be selected in the fuzzy central node list becomes the new fuzzy central node;

[0029] The child node provides a set number of heartbeats per second to the fuzzy central node. If the fuzzy central node does not detect the child node, the child node is removed.

[0030] Furthermore, when a new user joins the intercom system, the following operations are performed on the new user:

[0031] Detect whether the original fuzzy central node heartbeat in the intercom system exists. If it exists, directly obtain the synchronization information and become a child node;

[0032] If it does not exist, the priority level is determined. If it is high, it becomes the new fuzzy center node; if it is low, it becomes a child node.

[0033] Furthermore, the communication module directly encodes the voice and then transmits it.

[0034] A control method for a local area network baton-type video intercom system using any one of the above-mentioned methods comprises the following steps:

[0035] Before communication, the fuzzy center node and sub-nodes are first determined;

[0036] The child node sends an intercom request to the fuzzy central node, and the fuzzy central node confirms whether there is any node currently communicating. If so, the child node's communication request is rejected; if not, the child node's communication request is permitted;

[0037] The child nodes send audio data to the fuzzy center node and other child nodes for communication.

[0038] 3. Beneficial effects

[0039] Compared with the prior art, the present invention has the following beneficial effects:

[0040] (1) The present invention constructs a fuzzy central node list through the communication nodes of several users, and selects the fuzzy central node and the sub-node according to the priority level of several nodes to achieve the purpose of controlling the output direction. There is no need to set up a separate fuzzy central node for control, and the development cost is low. In addition, the permission request module is used to avoid the phenomenon that multiple parties start transmission at the same time, which may cause transmission confusion or unstable transmission. The whole system has stable intercom and realizes one-to-many voice transmission with a simple triggering method. The video call can adjust the resolution and other parameters according to the signal strength to maintain the connection. It solves the problem of using ultra-low cost to realize the soft-defined video intercom system without Internet access. There is no need to deploy an additional local server. Only the mobile phone carrier can complete the real-time video communication and intercom functions between multiple users.

[0041] (2) The present invention establishes a heartbeat mechanism construction module to monitor the fuzzy central node and the sub-nodes in real time, so as to timely know whether the fuzzy central node and the sub-node are in a fault state so as to make timely adjustments, thereby ensuring the stability of the system in a long-term working state; and setting the nodes for the fuzzy central node and the sub-node feedback, that is, avoiding the large data processing workload caused by frequent feedback and avoiding the difficulty in making timely adjustments due to slow feedback time, thereby ensuring to the greatest extent that the entire system can work smoothly and stably. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of the specific process of implementing a call on a walkie-talkie;

[0043] Figure 2 A schematic diagram of constructing a central node list in the present invention;

[0044] Figure 3 This is a schematic diagram of the construction of the heartbeat mechanism of the present invention;

[0045] Figure 4 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0046] The present invention is further described below in conjunction with specific embodiments and drawings.

[0047] Example 1

[0048] A baton-type video intercom system based on a local area network, comprising:

[0049] Several users: each forms a number of nodes;

[0050] Fuzzy center node determination module: Use the constructed fuzzy center node initial list to determine the priority of several nodes according to their node birth time sequence. The node with the earliest birth time is initialized with the highest priority. The node with the highest priority is temporarily determined as the fuzzy center node, and the remaining nodes are temporarily determined as child nodes.

[0051] Specifically, for the fuzzy central node determination module, the fuzzy central node and sub-nodes are determined by judging the priority levels of several nodes, thereby avoiding the inaccuracy caused by arbitrarily confirming a central node, and at the same time avoiding the development difficulty and high cost caused by setting up an additional central node for control.

[0052] Fuzzy central node list construction module: Use the time sequence of the heartbeat birth of each node to build an initial list of fuzzy central nodes, which is used to form a user ordered set. The first element in the ordered set is the current fuzzy central node, and the remaining elements are the fuzzy central nodes to be selected in turn; the elements in the ordered set are all IP addresses of each node, and the node birth time sequence of several nodes is prioritized. The node with the earliest birth time has the highest initialization priority, and the others are arranged in order according to the priority level of the node birth time sequence to form an initialization list; the fuzzy central node list is a dynamically changing list. In subsequent operations, it will be sorted according to the load computing power of each node, the list order will be readjusted, and the fuzzy central node will be replaced.

[0053] Specifically, for the fuzzy central node list module, since there may be multiple parties starting transmission at the same time in the intercom system, the system does not set up any additional fixed central node or localized server, and the transmission direction cannot be controlled by a fixed center. Therefore, this system avoids this problem by constructing a fuzzy central node list through communication nodes. For the fuzzy central node list, how to ensure the reasonableness of its initialization list sorting is specifically described in this application. Figure 2 As shown, the fuzzy central node list construction module follows the following rules:

[0054] For example, the construction of the fuzzy central node list is only in the case of 2 nodes, each other is found and the following conditions exist:

[0055] 1. When the fuzzy center node lists of both parties are empty, the node that first receives the other party's fuzzy center node list sets itself as the fuzzy center node and then sets the other party as the next one, and finally sends the constructed fuzzy center node list to the other party;

[0056] 2. If the fuzzy central node list of one party is not empty and the fuzzy central node list of the other party is empty, if the fuzzy central node list of its own node is empty, then set its own fuzzy central node list to the other party's fuzzy central node list plus its own IP; if the other party's fuzzy central node list is empty, then add the other party's IP to its own fuzzy central node list;

[0057] 3. If the fuzzy central node lists of both parties are not empty, then the fuzzy central node list of the party with the longer central node list will be set to the party with the longer central node list, so as to update the list of each node.

[0058] If the fuzzy central node list is constructed with 3 to N nodes, N traversals are performed in a 2-node manner to complete the unified construction of the fuzzy central node list.

[0059] Communication module: used for communication between subnodes and central nodes and between subnodes; specifically, the communication module is a soft communication module: used for soft-defined communication between subnodes and fuzzy central nodes and between subnodes.

[0060] Specifically, for the soft communication module, the voice data is transmitted in the soft communication module. For intercom technology, it is not only necessary to solve one-to-one communication, but also to make the communication cost low and the delay small, and to solve one-to-many fast intercom communication. Therefore, unlike the general method of encoding the voice into a file and then transmitting it, this method directly performs fast sampling and encoding on the voice data, sets the mode of the micro buffer, and when the data fills the set buffer, it is quickly and directly transmitted. The transmitting party directly sends it, and all the receiving parties quickly play it after receiving it in a specific micro buffer, so as to form a one-to-many soft communication model of fast communication.

[0061] Request permission module: used for all sub-nodes to confirm with the fuzzy central node whether there is any node currently communicating before communicating. If yes, the sub-node communication request is rejected; if no, the sub-node communication request is permitted;

[0062] Specifically, for the permission request module, when facing multiple people transmitting at the same time or one-to-many transmission, the permission request module is used to determine whether the child node can participate in the communication, so as to avoid the phenomenon that multiple parties start transmitting at the same time, which may cause transmission confusion or unstable transmission. At the same time, to achieve one-to-many communication, it is inevitable to solve the delay problem. If the data is transmitted one by one, it will inevitably cause the recipient of the later transmission to receive the message late. Therefore, this system uses the permission request method to transmit a copy of data to multiple parties at the same time, minimizing the delay.

[0063] Server: used to generate a LAN topology network for communication. Specifically, the server is an ultra-light fuzzy server: on the selected fuzzy center node terminal, an ultra-light fuzzy server is built to generate a LAN topology network for communication and maintain the communication routes of each node in the LAN. Once the fuzzy center node is replaced, the ultra-light fuzzy server will replace the node loading at the same time.

[0064] The present invention constructs a fuzzy central node list through the communication nodes of several users, and selects the fuzzy central node and the sub-nodes according to the priority level of the several nodes to achieve the purpose of controlling the output direction. There is no need to set up a fuzzy central node for control, and the development cost is low; and the request permission module is used to avoid the phenomenon that multiple parties start transmission at the same time, which may cause transmission confusion or unstable transmission; the whole system has stable intercom and realizes one-to-many voice transmission with a simple triggering method. Video calls can adjust parameters such as resolution according to signal strength to maintain connection, which largely solves the problems of traditional intercom systems and WeChat communication software.

[0065] At the same time, the system of the present invention can realize the voice, video and intercom needs within the local area network. As a communication software, users only need to download the installation package on their mobile phones to use it. The main usage scenarios can include smart construction sites, underground pipe galleries, etc. There is an intercom button in the user list. The user can press it to communicate with other users in the online list. Video calls can also be made if necessary. In the absence of public network coverage, communication can also be achieved in combination with a private network.

[0066] Preferably, Figure 3 As shown, the system also includes a heartbeat mechanism building module: used to detect the fuzzy central node and sub-nodes in real time, and replace the fuzzy central node as needed.

[0067] Specifically, for the heartbeat mechanism building module, the heartbeat mechanism building module specifically performs the following operations: the fuzzy central node provides a set number of heartbeats per second to each child node. If the child node does not detect the fuzzy central node, the fuzzy central node is replaced, and the fuzzy central node to be selected in the fuzzy central node list becomes the new fuzzy central node;

[0068] The child node provides a set number of heartbeats per second to the fuzzy central node. If the fuzzy central node does not detect the child node, the child node is removed.

[0069] Under a long connection, there may be no data exchange for a long time. Theoretically, this connection is always connected, but in reality, it is difficult to know if there is any fault in the fuzzy central node, so it is necessary to achieve data synchronization for all users within 1-3 seconds. First determine the fuzzy central node in the system, maintain the list of fuzzy central nodes, and determine the priority of users to become central nodes. The list is a variable list, and the list of each user in the entire system needs to be consistent. The requirement for this list is that each user end will be updated once every 1 to 5 seconds. The data structure used in the design is {server IP1, server IP2, server IP3, ...}. When a user becomes a fuzzy central node, a heartbeat of 5 times per second will be set, and other users can detect the heartbeat of the fuzzy central node. If the heartbeat of the fuzzy central node cannot be detected within 3 seconds, the candidate fuzzy central node in the list will automatically become the new fuzzy central node, and notify each user to update the list of the fuzzy central node end.

[0070] The heartbeat mechanism refers to a mechanism adopted in the system to ensure the availability and connectivity between each node. Specifically, each node in the system will regularly send a heartbeat packet to other nodes to indicate that it is running normally. When a node does not receive the heartbeat packet of other nodes within a period of time, it will be considered that the node has failed, and then take corresponding measures, such as re-electing the leader or removing the node from the cluster. The fuzzy central node of the present invention provides 5 heartbeats per second, and the child node provides 1 heartbeat per second to the fuzzy central node. If the child node does not provide a heartbeat to the fuzzy central node within 5 seconds, the child node is removed. When a new user joins the system, it will first detect whether the fuzzy central node heartbeat exists. If it exists, the synchronization information is directly obtained; if the fuzzy central node heartbeat is not detected, it will be assigned to itself as a fuzzy central node, send a heartbeat, and maintain system information and user lists at the same time.

[0071] Furthermore, when a new user joins the intercom system, the following operations are performed on the new user: check whether the original fuzzy central node heartbeat in the intercom system exists. If it does, directly obtain the synchronization information and become a child node; if it does not exist, determine the priority level, if it is high, it becomes a new fuzzy central node; if it is low, it becomes a child node.

[0072] The heartbeat mechanism construction module monitors the fuzzy central node and sub-nodes in real time, and can promptly know whether the fuzzy central node and sub-nodes are in a faulty state so as to make timely adjustments, thereby ensuring the stability of the system under long-term working conditions; and setting the nodes for feedback from the fuzzy central node and sub-nodes, that is, avoiding the heavy workload caused by frequent feedback and avoiding the difficulty in making timely adjustments due to slow feedback time, thereby ensuring to the greatest extent that the entire system works smoothly and stably.

[0073] Example 2

[0074] like Figure 4 As shown, a control method of a local area network baton-type video intercom system using any of the above-mentioned methods comprises the following steps:

[0075] Before communication, the fuzzy center node and sub-nodes are first determined;

[0076] The child node sends an intercom request to the fuzzy central node, and the fuzzy central node confirms whether there is any node currently communicating. If so, the child node's communication request is rejected; if not, the child node's communication request is permitted;

[0077] The child nodes send audio data to the fuzzy center node and other child nodes for communication.

[0078] The examples described in the present invention are merely descriptions of the preferred implementation modes of the present invention, and are not intended to limit the concept and scope of the present invention. Without departing from the design concept of the present invention, various modifications and improvements made to the technical solutions of the present invention by engineers and technicians in this field should all fall within the protection scope of the present invention.

Claims

1. A baton-type video intercom system based on a local area network, characterized in that: include: Several users: each forms a number of nodes; Fuzzy center node determination module: used to determine the priority of several nodes. The node with the highest priority is the fuzzy center node, and the remaining nodes are sub-nodes. Fuzzy central node list construction module: used to form a variable ordered set, the first element in the ordered set is the current fuzzy central node, and the remaining elements are the fuzzy central nodes to be selected in sequence; the elements in the ordered set are all IP addresses of each node; Communication module: used for communication between sub-nodes and fuzzy central nodes and between sub-nodes; Request permission module: used for all sub-nodes to confirm with the fuzzy central node whether there is any node currently communicating before communicating. If yes, the sub-node communication request is rejected; if no, the sub-node communication request is permitted; Server: used to generate a LAN topology network for communication.

2. According to claim 1, a baton-type video intercom system based on a local area network is characterized in that: The fuzzy central node list construction module follows the following rules: The fuzzy central node list is constructed when two nodes find each other and there are four situations:

1. When the fuzzy center node lists of both parties are empty, the node that first receives the other party's fuzzy center node list sets itself as the fuzzy center node and then sets the other party as the next one, and finally sends the constructed fuzzy center node list to the other party; 2. If the fuzzy central node list of one party is not empty and the fuzzy central node list of the other party is empty, if the fuzzy central node list of its own node is empty, then set its own fuzzy central node list to the other party's fuzzy central node list plus its own IP; if the other party's fuzzy central node list is empty, then add the other party's IP to its own fuzzy central node list; 3. If the fuzzy center node lists of both parties are not empty, then the fuzzy center node list of the party with the longer fuzzy center node list will be set to the party with the longer fuzzy center node list.

3. The baton-type video intercom system based on a local area network according to claim 1, characterized in that: It also includes a heartbeat mechanism building module: fuzzy central nodes and sub-nodes are detected in real time, and the fuzzy central node is replaced as needed.

4. The baton-type video intercom system based on a local area network according to claim 3 is characterized in that: The heartbeat mechanism construction module specifically performs the following operations: the fuzzy central node provides a set number of heartbeats per second to the child node, and if the child node does not detect the fuzzy central node, the fuzzy central node is replaced, and the fuzzy central node to be selected in the fuzzy central node list becomes the new fuzzy central node; The child node provides a set number of heartbeats per second to the fuzzy central node. If the fuzzy central node does not detect the child node, the child node is removed.

5. A baton-type video intercom system based on a local area network according to claim 3 or 4, characterized in that: When a new user joins the intercom system, the following operations are performed on the new user: Detect whether the original fuzzy central node heartbeat in the intercom system exists. If it exists, directly obtain the synchronization information and become a child node; If it does not exist, the priority level is determined. If it is high, it becomes the new fuzzy center node; if it is low, it becomes a child node.

6. The baton-type video intercom system based on a local area network according to claim 1, characterized in that: The communication module directly encodes the speech and then transmits it.

7. A control method using the local area network baton-type video intercom system according to any one of claims 1 to 6, characterized in that: The steps include: Before communication, the fuzzy center node and sub-nodes are first determined; The child node sends an intercom request to the fuzzy central node, and the fuzzy central node confirms whether there is any node currently communicating. If so, the child node's communication request is rejected; if not, the child node's communication request is permitted; The child nodes send audio data to the fuzzy center node and other child nodes for communication.