Network talkback method and device, electronic device and storage medium
By judging device identification in the device registry and dynamically selecting local or cloud communication links to transmit intercom signaling, the problem of device communication in hybrid networks is solved, the response speed and audio and video quality are improved, and resources and costs are saved.
Patent Information
- Application Number
- CN202510978094.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-16
- Publication Date
- 2025-08-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In hybrid networking scenarios, intercom signaling between devices in the prior art is mainly forwarded through public clouds, resulting in slow response speed, high probability of P2P penetration failure, large audio and video delays, and occupies traffic costs, so the communication link cannot be effectively selected.
By obtaining intercom communication requests, finding the device registry to determine the device identification, using the first communication link to transmit signaling to a locally connected device, using the second communication link to transmit signaling to a non-locally connected device, preferentially selecting local link transmission signaling, and dynamically identifying the device network topology.
It improves intercom response speed and audio and video quality, saves public network bandwidth and traffic costs, and realizes rapid connectivity and resource optimization between devices.
Smart Images

Figure CN120475017A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer communications, and in particular to a network intercom method, device, electronic device and storage medium. Background Art
[0002] With the development of technology, video intercom systems are now widely used in residential buildings, villas, communities, parks, office buildings and other scenarios. The popularization of mobile Internet has enabled the video intercom devices originally within the local area network to gradually move to the cloud, and calls can be pushed to the app. Leveraging the capabilities of the public cloud, cloud management and cloud operation and maintenance of video intercom devices can be easily achieved; at the same time, it also opens up the boundaries of interconnection between video intercom devices, allowing devices in different scenarios on the local area network to achieve interconnection through cloud transit. In some scenarios such as residential areas, intranet devices are connected to the intranet through switches and do not have internet access capabilities. Therefore, 4G / 5G is loaded on the devices to enable the devices to be connected to the cloud. Therefore, in more and more video intercom networks, devices often access the Internet through 4G / 5G, and some access the cloud through unified Wi-Fi. The networking of devices is showing a trend of diversification. For example, most devices within a unit can communicate with each other through the intranet, while a small number of devices, such as outdoor wall devices, cannot. Therefore, the current general strategy of cloud intercom is that the intercom signaling between devices is transferred through the cloud. Due to the failure probability of point-to-point (P2P) transmission, especially in China, audio and video are often transferred through the cloud to achieve interconnection of visual intercom.
[0003] In current technologies, after visual intercom devices are connected to the public cloud, intercom signaling between devices is forwarded through the cloud. For intercommunication, audio and video typically utilize a method where the devices use public cloud links to drill holes to a P2P service deployed in the public cloud, enabling P2P penetration between devices. If P2P penetration between devices is successful, the P2P link is prioritized; otherwise, audio and video are forwarded through the cloud. This strategy has the following issues: 1. Call signaling between devices is routed through the cloud, resulting in long cloud link times and slow intercom signaling response. 2. P2P penetration between devices has a high probability of failure: P2P penetration between devices connected to two symmetrical routers is impossible. Furthermore, due to bandwidth management and security considerations, domestic carriers have a relatively low success rate for hole drilling. For example, between indoor unit A on carrier 1's home broadband network and device B on carrier 2's home broadband network, the probability of P2P penetration failure is relatively high. If P2P penetration between devices fails, audio and video are forwarded through the cloud, resulting in long links, high latency, and data usage costs. 3. P2P link penetration of audio and video occurs only after the intercom signaling on the public network reaches the other end. This greatly reduces the intercom signaling response speed and the audio and video outflow speed.
[0004] Currently, no effective solution has been proposed for the problem of how to select a communication link for transmitting intercom signaling when hybrid networking is used in the related art. Summary of the Invention
[0005] The embodiments of the present application provide a network intercom method, device, electronic device and storage medium to at least solve the problem of how to select a communication link for transmitting intercom signaling when hybrid networking in the related art.
[0006] In a first aspect, an embodiment of the present application provides a network intercom method.
[0007] In some embodiments, the network intercom method includes: Acquire an intercom communication request and a first intercom signaling corresponding to a target intercom device included in the intercom communication request; Searching a device registry to determine whether the device registry contains a device identifier corresponding to the target intercom device; In a case where the device registration table includes a device identifier, transmitting the first intercom signaling to the target intercom device using a first communication link; In a case where the device registration table does not include a device identifier, the first intercom signaling is transmitted to the target intercom device using a second communication link.
[0008] In some embodiments, before searching the device registry and determining whether the device registry contains the device identifier corresponding to the target intercom device, the method includes: Obtain the device IP address and intercom communication password of the target intercom device; The device registration table is determined according to the device IP address and the intercom communication password.
[0009] In some embodiments, determining the device registration table based on the device IP address and the intercom communication password includes: Acquire intercom mapping data between the intercom communication password and the location identifier; The device registration table is determined according to the device IP address and the intercom mapping data.
[0010] In some embodiments, determining the device registration table based on the device IP address and the intercom mapping data includes: Register the target intercom device using the device IP address, and determine the successfully registered target intercom device as a local target intercom device; According to the intercom mapping data, the device identification corresponding to the local target intercom device is stored in the device registration table.
[0011] In some embodiments, determining the device registration table based on the device IP address and the intercom communication password includes: Obtain the wired network IP address, wireless network IP address and intercom communication password of the target intercom device; The device registration table is determined according to the wired network IP address, the wireless network IP address and the intercom communication password.
[0012] In some embodiments, the device identifier includes a target server address, and when the device registry includes the device identifier, transmitting the first intercom signaling to the target intercom device using the first communication link includes: In a case where the device registration table includes a device identifier, the first intercom signaling is transmitted to the target intercom device using a first communication link according to the target server address.
[0013] In some embodiments, the network intercom method further includes: Obtaining a second intercom signaling corresponding to the client device included in the intercom communication request; In a case where the target intercom device is an indoor unit, the second intercom signaling is transmitted to the client device using the second communication link.
[0014] In a second aspect, an embodiment of the present application provides a network intercom device.
[0015] In some embodiments, the network intercom device includes an intercom information acquisition module, a device identification determination module, a first link transmission module, and a second link transmission module: The intercom information acquisition module is used to obtain an intercom communication request and a first intercom signaling corresponding to a target intercom device included in the intercom communication request; The device identification judgment module is used to search the device registration table and judge whether the device identification corresponding to the target intercom device is included in the device registration table; The first link transmission module is configured to transmit the first intercom signaling to the target intercom device using the first communication link when the device registration table contains a device identifier; The second link transmission module is configured to transmit the first intercom signaling to the target intercom device using the second communication link when the device registration table does not contain a device identifier.
[0016] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, the network intercom method as described in the first aspect above is implemented.
[0017] In a fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, and when the program is executed by a processor, the network intercom method as described in the first aspect above is implemented.
[0018] Compared with the related art, the network intercom method, device, electronic device and storage medium provided in the embodiments of the present application obtain an intercom communication request and the first intercom signaling corresponding to the target intercom device contained therein, and search the device registry to determine whether the device registry contains the device identifier corresponding to the target intercom device. If the device identifier is contained in the device registry, the first communication link is used to transmit the first intercom signaling to the target intercom device. If the device identifier is not contained in the device registry, the second communication link is used to transmit the first intercom signaling to the target intercom device. This solves the problem of how to select the communication link for transmitting intercom signaling in hybrid networking in the related art. In this way, in the cloud intercom scenario of hybrid networking, the network topology between devices can be dynamically identified. At the beginning of the intercom call, a quick decision is made whether to take the local link (first communication link) first. When the intranet is reachable, the signaling and audio and video between devices are guaranteed to take the local link, thereby improving the intercom response speed and audio and video quality, and saving public network bandwidth traffic costs.
[0019] The details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 1 is a hardware structure block diagram of a terminal according to the network intercom method of an embodiment of the present application; Figure 2 is a flow chart of a network intercom method according to an embodiment of the present application; Figure 3 is a flow chart of another network intercom method according to an embodiment of the present application; Figure 4 is a flow chart of a network intercom method according to a preferred embodiment of the present application; Figure 5 It is a structural block diagram of a network intercom device according to an embodiment of the present application. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application. In addition, it can also be understood that although the efforts made in this development process may be complex and lengthy, for ordinary technicians in the field related to the contents disclosed in the present application, some changes such as design, manufacturing or production based on the technical contents disclosed in the present application are only conventional technical means and should not be understood as the contents disclosed in the present application being insufficient.
[0022] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it refer to independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described in this application may be combined with other embodiments unless there is a conflict.
[0023] Unless otherwise defined, technical or scientific terms used herein shall have the ordinary meaning as understood by persons of ordinary skill in the art to which this application belongs. The terms "a," "an," "an," "the," and similar expressions used herein do not denote limitations on quantity and may refer to either the singular or the plural. The terms "comprise," "include," "have," and any variations thereof, used herein, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or modules (units) is not limited to the listed steps or units but may also include steps or units not listed, or may include other steps or units inherent to the process, method, product, or apparatus. The terms "connected," "connected," "coupled," and similar expressions used herein are not limited to physical or mechanical connections but may include electrical connections, whether direct or indirect. As used herein, "plurality" means greater than or equal to two. "And / or" describes an association between associated objects, indicating that three possible relationships exist. For example, "A and / or B" may mean: A exists alone; A and B exist simultaneously; or B exists alone. The terms "first", "second", "third" and the like involved in this application are merely used to distinguish similar objects and do not represent a specific ordering of the objects.
[0024] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. Taking running on a terminal as an example, Figure 1 FIG is a block diagram of the hardware structure of the terminal of the network intercom method according to an embodiment of the present invention. Figure 1 As shown, the terminal may include one or more ( Figure 1 Only one is shown) a processor 102 (the processor 102 may include but is not limited to a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.
[0025] Memory 104 can be used to store computer programs, such as software programs and modules of application software, such as the computer program corresponding to the network intercom method in the embodiments of the present invention. Processor 102 executes the computer program stored in memory 104 to execute various functional applications and data processing, thereby implementing the aforementioned method. Memory 104 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some embodiments, memory 104 may further include memory located remotely from processor 102, which can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0026] Transmission device 106 is used to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by the terminal's communications provider. In one embodiment, transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0027] This embodiment provides a network intercom method. Figure 2 Flowchart of the network intercom method according to an embodiment of the present application. Figure 2 As shown, the process includes the following steps: Step S201: Acquire an intercom communication request and a first intercom signaling corresponding to a target intercom device included in the intercom communication request.
[0028] Taking a video intercom system as an example, in a video intercom networking environment, such as a residential building scenario, the target intercom devices may include outdoor wall stations, unit door stations, indoor stations, etc. An intercom communication request may be initiated by an initiating intercom device to one of the target intercom devices. In the embodiment of the present application, the target intercom device refers to the intercom device to which the intercom communication request is initiated. The intercom communication request includes the first intercom signaling corresponding to the target intercom device.
[0029] Step S202: Search the device registry to determine whether the device registry contains the device identifier corresponding to the target intercom device.
[0030] In the embodiment of the present application, a device registry is pre-established to indicate whether the target intercom device can communicate via a wired local link. The device registry stores device information of the target intercom device and associated mapping information between the target intercom device and other devices. By searching the device registry, it can be determined whether the device registry contains a device identifier corresponding to the target intercom device.
[0031] Step S203: When the device registration table contains the device identification, the first intercom signaling is transmitted to the target intercom device using the first communication link.
[0032] If the device registration table contains the device identifier corresponding to the target intercom device, it indicates that the target intercom device can communicate with the initiating target intercom device via a wired local link. In this case, the first intercom signaling is transmitted to the target intercom device via the first communication link. The first communication link is a local link, meaning that the intercom signaling is transmitted via the local wired network.
[0033] Step S204: When the device registration table does not contain the device identification, the first intercom signaling is transmitted to the target intercom device using the second communication link.
[0034] If the device registration table doesn't contain the target intercom device's device identifier, it indicates that the target intercom device cannot communicate with the initiating target intercom device via the wired local link. In this case, the first intercom signaling is transmitted to the target intercom device via a second communication link. This second communication link is a cloud link, meaning that the intercom signaling is relayed and transmitted via the cloud wireless network.
[0035] Through the above steps, the embodiment of the present application obtains an intercom communication request and the first intercom signaling corresponding to the target intercom device contained in the intercom communication request, searches the device registry, and determines whether the device registry contains the device identifier corresponding to the target intercom device. If the device registry contains the device identifier, it means that the target intercom device can be connected and communicated through a wired local link, and therefore the first communication link (local link) is used to transmit the first intercom signaling to the target intercom device. If the device registry does not contain the device identifier, it means that the target intercom device cannot be connected and communicated through the wired local link, and therefore the second communication link (cloud link) is used to transmit the first intercom signaling to the target intercom device. In this way, in the cloud intercom scenario with mixed networking between building devices, it can adapt to the networking conditions between devices and automatically form a local SIP intercom network that can be connected. The SIP connected device registry data is synchronized among all locally connected devices. Therefore, when the device initiates an intercom or preview, it can quickly decide whether to give priority to the local link at the beginning of the action trigger. This solves the problem of how to select the communication link for transmitting intercom signaling in mixed networking in related technologies. When the intranet is reachable, it ensures that the signaling and audio and video between devices use local links, ultimately improving the intercom response speed and the intercom audio and video quality, reducing the bandwidth of the entire public network, saving resources, and reducing costs.
[0036] In some embodiments, before step S202, the method includes: Step S205: Obtain the device IP address and intercom communication password of the target intercom device.
[0037] After each target intercom device is added to the cloud, the cloud generates a random intercom communication password for each target intercom device. In the embodiment of this application, a random SIP password is used as an example. At this time, all network cards of the SIP server (such as the door unit) need to enable SIP service monitoring. For example, if the unit door station has two network cards, WiFi and wired, the SIP service needs to be enabled and monitored simultaneously to ensure that the device can access the SIP service regardless of whether it is wired or WiFi. The SIP server integrates a SIP service proxy. The SIP service supports media SDP (Session Description Protocol) negotiation and forwarding capabilities, and also supports the function of initiating calls to other target intercom devices (such as indoor units) in the network. In the embodiment of this application, the SIP server will push the IPV4 IP addresses of all network cards (pushed when the network IP changes, such as DHCP) to the cloud platform.
[0038] Step S206: Determine the device registration table based on the device IP address and the intercom communication password.
[0039] After obtaining the device IP address and SIP password issued by the cloud platform, the device registration table is determined based on the device IP address and intercom communication password. At the same time, during the SIP registration process, all devices successfully obtain the device registration table data of the SIP local network, so that they can know the local connectivity status of themselves and other devices.
[0040] Through the above steps, the embodiment of the present application obtains the device IP address and randomly generated intercom communication password of the target intercom device pushed by the SIP server and issued through the cloud, thereby further determining the device registration table that records the registration result of the target intercom device, so that when DHCP is turned on in the device network, the SIP local link can still be successfully established, which is highly feasible.
[0041] In some embodiments, step S206 includes: Step S2061, obtaining intercom mapping data between the intercom communication password and the location identifier.
[0042] The cloud platform sends the mapping data between the intercom communication password and the location identifier to the SIP server. For example, it sends the mapping table between the SIP password and room number of all devices managed in the building to the server. The mapping table is a two-dimensional table that records the device SIP password and room number. The SIP password here can be used for authentication during local SIP intercom.
[0043] Step S2062: Determine the device registration table based on the device IP address and intercom mapping data.
[0044] Register with the SIP server according to the device IP address, and determine the device registration table based on the registration result and intercom mapping data.
[0045] Through the above steps, the embodiment of the present application associates the IP address of the device used for registration with the room number based on the intercom mapping data between the intercom communication password and the location identifier (such as the room number), further increasing the reliability of the formed device registration table and improving the accuracy and efficiency of subsequent link decisions.
[0046] In some embodiments, step S2062 includes: Step S2162: register the target intercom device using the device IP address, and determine the successfully registered target intercom device as the local target intercom device.
[0047] Try to use the IP address issued by the cloud to periodically register with the SIP server. For example, you can use the issued SIP password in a 60-second cycle to traverse multiple issued IP addresses in order to initiate SIP registrations with the SIP server until success. For example, if the device has two network cards (wired / wireless) and the IPv4 protocol group addresses are LocalIP1 and LocalIP2, push these two IP addresses according to [LocalIP1, LocalIP2] and register with LocalIP1 in sequence. If successful, no registration with LocalIP2 will be performed. For example, if the target intercom device is an outdoor wall machine and there is no local link connection to the SIP server, this registration will fail, which means that the local link will not be effective for this outdoor wall machine.
[0048] Step S2262: Store the device identifier corresponding to the local target intercom device in the device registration table according to the intercom mapping data.
[0049] The device identification includes the association between the device IP address and the location identification. According to the intercom mapping relationship, the association between the device IP address and the location identification can be determined. For example, the relationship between the IP address of a successfully registered device and the room number is determined, and the device identification including the association is stored to form a device registry, and its hash value is calculated at the same time. The device registry is a two-dimensional table that records the device IP address and room number. It contains two element values: the IP of the target device and the room number of the target device. The SIP server uses the same hash algorithm as the target device for the device registry (such as the SHA256 digest algorithm). The SIP registration message carries the hash value of the device registry. This hash value is used to quickly identify whether the existing data in the device registry of the target device and the SIP server are consistent. If they are consistent, there is no need for repeated synchronization and storage.
[0050] Through the above steps, the embodiment of the present application attempts to register with the SIP server in sequence according to the device IP address, determines the successfully registered device as a local target intercom device that can communicate through the local link, and further calculates the hash value based on the association relationship between the local target intercom device and the location identifier to determine the device registration table, thereby improving accuracy and feasibility.
[0051] In some embodiments, step S206 includes: Step S2063, obtaining the wired network IP address, wireless network IP address and intercom communication password of the target intercom device.
[0052] In this embodiment of the application, only IPv4 addresses are reported, excluding local loopback and 4G / 5G mobile network IP addresses. Device IP addresses can include wired network IP addresses and wireless network IP addresses. Multiple IP addresses are prioritized from front to back, with wired network IP addresses generally being prioritized first.
[0053] Step S2064: Determine the device registration table based on the wired network IP address, the wireless network IP address, and the intercom communication password.
[0054] In this embodiment, for example, if a device has two network cards (wired / wireless), and the IP addresses of the IPv4 protocol group are LocalIP1 and LocalIP2, respectively, these two IP addresses are pushed according to [LocalIP1, LocalIP2]. Using the issued SIP password, a SIP registration is initiated with the SIP server in a 60-second cycle, sequentially traversing the multiple issued IP addresses until a success is achieved. For example, registration is initiated with LocalIP1 in sequence. If successful, registration with LocalIP2 is not repeated. The device registration table is then determined based on the registration results.
[0055] Through the above steps, the embodiment of the present application attempts to register both the wired network IP address and the wireless network IP address. In this way, whether the devices have a single network card or multiple network cards, whether they are wired networks or Wi-Fi local connections, local SIP networking can be automatically completed without manual configuration by the user, achieving dynamic adaptation and improving efficiency.
[0056] In some embodiments, the device identifier includes a target server address, and step S203 includes: Step S2031: When the device registration table contains the device identification, the first intercom signaling is transmitted to the target intercom device using the first communication link according to the target server address.
[0057] By comparing the hash value of the registered device registry with that in the server, if they are inconsistent, the device registry data in the server is returned to the target device and updated. The target server address and SIP registration status of the successful SIP registration are saved, and the subsequent local link SIP communication of the target intercom device is carried out with the target server address.
[0058] Through the above steps, the embodiment of the present application saves the target server address of the successful SIP registration to the device registration table, so that the SIP communication of the subsequent local link communication of the target intercom device is carried out with the target server address, which can further improve the communication efficiency.
[0059] This embodiment also provides a network intercom method. Figure 3 is a flow chart of another network intercom method according to an embodiment of the present application. Figure 3 As shown, the process further includes the following steps based on steps S201 to S204: Step S301: Acquire the second intercom signaling corresponding to the client device included in the intercom communication request.
[0060] In the embodiment of the present application, a client device such as a mobile phone may also be included, and the intercom communication request may also include a second intercom signaling corresponding to, for example, a mobile phone APP.
[0061] Step S302: When the target intercom device is an indoor unit, a second intercom signaling is transmitted to the client device using a second communication link.
[0062] The second communication link can be a cloud link. When the target intercom device is an indoor unit, the cloud link is used to transmit the second intercom signaling to the mobile phone APP.
[0063] Through the above steps, when the target intercom device is an indoor unit, the embodiment of the present application simultaneously initiates intercom communication to the client APP through the cloud link, realizes the remote communication needs, and expands the application scenarios.
[0064] The embodiments of the present application are described and illustrated below through preferred embodiments.
[0065] Figure 4 This is a flow chart of the network intercom method according to the preferred embodiment of the present application. Figure 4 As shown, the network intercom method includes the following steps: Step S401, obtaining an intercom communication request and a first intercom signaling corresponding to a target intercom device included in the intercom communication request; Step S402, obtaining the device IP address and intercom communication password of the target intercom device, as well as intercom mapping data between the intercom communication password and the location identifier; Step S403, determining the device registration table based on the device IP address and intercom mapping data; Step S404, searching the device registry to determine whether the device registry contains the device identifier corresponding to the target intercom device; Step S405: When the device registration table contains the device identification, the first intercom signaling is transmitted to the target intercom device using the local link.
[0066] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0067] This embodiment also provides a network intercom device, which is used to implement the above-mentioned embodiments and preferred implementations. Details already described will not be repeated here. As used below, the terms "module," "unit," "subunit," etc. may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0068] Figure 5 is a structural block diagram of a network intercom device according to an embodiment of the present application, such as Figure 5 As shown, the device includes an intercom information acquisition module 10, a device identification judgment module 20, a first link transmission module 30 and a second link transmission module 40: An intercom information acquisition module 10 is configured to acquire an intercom communication request and a first intercom signaling corresponding to a target intercom device included in the intercom communication request; The device identification judgment module 20 is used to search the device registration table and judge whether the device identification corresponding to the target intercom device is included in the device registration table; The first link transmission module 30 is configured to transmit the first intercom signaling to the target intercom device using the first communication link when the device registration table contains the device identification; The second link transmission module 40 is configured to transmit the first intercom signaling to the target intercom device using the second communication link when the device registration table does not contain the device identifier.
[0069] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0070] This embodiment further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0071] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0072] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program: Acquire an intercom communication request and a first intercom signaling corresponding to a target intercom device included in the intercom communication request; Searching a device registry to determine whether the device registry contains a device identifier corresponding to the target intercom device; In a case where the device registration table includes a device identifier, transmitting the first intercom signaling to the target intercom device using a first communication link; In a case where the device registration table does not include a device identifier, the first intercom signaling is transmitted to the target intercom device using a second communication link.
[0073] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be repeated here.
[0074] In addition, in conjunction with the network intercom method in the above embodiments, the present application can provide a storage medium for implementation. The storage medium stores a computer program; when the computer program is executed by a processor, any one of the network intercom methods in the above embodiments is implemented.
[0075] Those skilled in the art should understand that the various technical features of the above-described embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the various technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0076] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0077] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A network intercom method, characterized in that: The following steps are involved: Acquire an intercom communication request and a first intercom signaling corresponding to a target intercom device included in the intercom communication request; Searching a device registry to determine whether the device registry contains a device identifier corresponding to the target intercom device; In a case where the device registration table includes a device identifier, transmitting the first intercom signaling to the target intercom device using a first communication link; In a case where the device registration table does not include a device identifier, the first intercom signaling is transmitted to the target intercom device using a second communication link.
2. The network intercom method according to claim 1, characterized in that: Before searching the device registry and determining whether the device registry contains the device identifier corresponding to the target intercom device, the following steps are included: Obtain the device IP address and intercom communication password of the target intercom device; The device registration table is determined according to the device IP address and the intercom communication password.
3. The network intercom method according to claim 2, characterized in that: Determining the device registration table according to the device IP address and the intercom communication password includes: Acquire intercom mapping data between the intercom communication password and the location identifier; The device registration table is determined according to the device IP address and the intercom mapping data.
4. The network intercom method according to claim 3, characterized in that: Determining the device registration table according to the device IP address and the intercom mapping data includes: Register the target intercom device using the device IP address, and determine the successfully registered target intercom device as a local target intercom device; According to the intercom mapping data, the device identification corresponding to the local target intercom device is stored in the device registration table.
5. The network intercom method according to any one of claims 2 to 4, characterized in that: Determining the device registration table according to the device IP address and the intercom communication password includes: Obtain the wired network IP address, wireless network IP address and intercom communication password of the target intercom device; The device registration table is determined according to the wired network IP address, the wireless network IP address and the intercom communication password.
6. The network intercom method according to claim 5, characterized in that: The device identification includes a target server address, and when the device registration table includes the device identification, transmitting the first intercom signaling to the target intercom device using the first communication link includes: In a case where the device registration table includes a device identifier, the first intercom signaling is transmitted to the target intercom device using a first communication link according to the target server address.
7. The network intercom method according to claim 6, characterized in that: The method further comprises: Obtaining a second intercom signaling corresponding to the client device included in the intercom communication request; In a case where the target intercom device is an indoor unit, the second intercom signaling is transmitted to the client device using the second communication link.
8. A network intercom device, characterized in that: It includes an intercom information acquisition module, a device identification judgment module, a first link transmission module, and a second link transmission module: The intercom information acquisition module is used to obtain an intercom communication request and a first intercom signaling corresponding to a target intercom device included in the intercom communication request; The device identification judgment module is used to search the device registration table and judge whether the device identification corresponding to the target intercom device is included in the device registration table; The first link transmission module is configured to transmit the first intercom signaling to the target intercom device using the first communication link when the device registration table contains a device identifier; The second link transmission module is configured to transmit the first intercom signaling to the target intercom device using the second communication link when the device registration table does not contain a device identifier.
9. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the network intercom method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the network intercom method according to any one of claims 1 to 7 when running.
Citation Information
Patent Citations
Information push system and method
CN104618370A
Building intercom method, building intercom device and building intercom system
CN105763961A
Communication method of network system link
CN106412068A
Server-free dialing algorithm under visual intercommunication local area network environment
CN106603984A
Building intercom method, NFC unlocking device and building intercom system
EP3179758A1