Batch configuration method and device of talkback equipment, electronic equipment and medium
By sending detection request messages to indoor intercom devices in the building and analyzing the port information in the response messages, determining and batch configuring the equipment location, the problem of possible errors in the owner's own configuration is solved, and configuration efficiency is improved.
Patent Information
- Application Number
- CN202310980344.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-04
- Publication Date
- 2025-02-14
AI Technical Summary
When installing a large number of visual intercom equipment in the building, the owner's own configuration may cause errors, resulting in unnecessary trouble and inefficiency.
The detection request message is sent to each indoor intercom device in the building through broadcast, and the port information in the detection response message is received and analyzed, the position distribution information of each indoor intercom device is determined, and batch configuration is carried out.
It realizes the precise location distribution information allocation of intercom equipment in each indoor intercom equipment in the building, avoids configuration errors and unnecessary troubles, and improves the efficiency of intercom equipment configuration.
Smart Images

Figure CN119449064A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building intercom, and in particular to a batch configuration method, device, electronic equipment and medium for intercom equipment. Background Art
[0002] With the continuous increase of residential buildings, in order to meet the needs of more efficient residential community management, intercom systems came into being. Intercom systems are usually installed in houses, villas, apartment buildings and other buildings.
[0003] At present, for each building, many video intercom devices are installed in the building, and these video intercom devices can be distributed and installed indoors or in some public areas. However, as the number of video intercom devices continues to increase, it usually takes manpower to configure the video intercom devices one by one, which is not feasible under the limited manpower conditions of the community. If the owners are allowed to configure by themselves, there may be configuration errors, which may cause additional unnecessary problems. Summary of the invention
[0004] The present invention provides a batch configuration method, device, electronic device and medium for intercom equipment, so as to solve the problem that configuration errors may occur when owners configure the equipment by themselves, and the problem that unnecessary troubles may be caused.
[0005] According to one aspect of the present invention, a batch configuration method for intercom equipment is provided, which is applied to main public intercom equipment installed in a public area of a building, and the method comprises:
[0006] Send a detection request message to each indoor intercom device in the building by broadcasting. Indoor intercom devices are installed in the rooms on each floor of the building, and each indoor intercom device on each floor is sequentially connected to the first type port of the digital switch on the floor to which it belongs. A master public intercom device and a slave public intercom device are installed in the public area of the building. The public intercom devices in the public area are sequentially connected to the first type port of the digital switch on the floor to which it belongs. The digital switches on each floor are interconnected in order of floors through the second type ports of the floor digital switches, and the floor digital switches in the same building are configured with the same network segment;
[0007] Receiving a detection response message returned by each indoor intercom device, wherein the detection response message carries port information used for transmitting the detection response message from the indoor intercom device to the main public intercom device;
[0008] Determine the location distribution information of each indoor intercom device in the building according to the port information in the detection response message;
[0009] Based on the location distribution information of each indoor intercom device in the building, the location distribution information of each indoor intercom device in the building is configured in batches.
[0010] According to another aspect of the present invention, a batch configuration device for intercom equipment is provided, which is applied to main public intercom equipment installed in a public area of a building, and the device comprises:
[0011] A message sending module is used to send a detection request message to each indoor intercom device in the building by broadcasting. Indoor intercom devices are installed in the rooms of each floor in the building, and each indoor intercom device on each floor is sequentially connected to the first type port of the digital switch on the floor to which it belongs. A master public intercom device and a slave public intercom device are installed in the public area of the building. The public intercom devices in the public area are sequentially connected to the first type port of the digital switch on the floor to which it belongs. The digital switches on each floor are interconnected in order of floors through the second type ports of the floor digital switches. The floor digital switches in the same building are configured with the same network segment;
[0012] A message receiving module, used to receive a detection response message returned by each indoor intercom device, wherein the detection response message carries port information used to transmit the detection response message from the indoor intercom device to the main public intercom device;
[0013] A location distribution information determination module, used to determine the location distribution information of each indoor intercom device in the building according to the port information in the detection response message;
[0014] The configuration module is used to batch configure the location distribution information of each indoor intercom device in the building according to the location distribution information of each indoor intercom device in the building.
[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0016] at least one processor; and
[0017] a memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the batch configuration method of the intercom device described in any embodiment of the present invention.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the batch configuration method of intercom devices described in any embodiment of the present invention when executed.
[0020] The technical solution of the embodiment of the present invention is to send a detection request message to each indoor intercom device in a building by broadcasting, indoor intercom devices are installed in the rooms of each floor in the building, and each indoor intercom device on each floor is sequentially connected to the first type port of the digital switch of the corresponding floor, a main public intercom device and a slave public intercom device are installed in the public area of the building, the public intercom devices in the public area are sequentially connected to the first type port of the digital switch of the corresponding floor, the digital switches on each floor are interconnected in order of floors through the second type ports of the floor digital switches, and the floor digital switches of the same building are configured with the same network segment; receive a detection response message returned by each indoor intercom device, the detection response message carries the port information used from the indoor intercom device to the main public intercom device for transmitting the detection response message; determine the location distribution information of each indoor intercom device in the building based on the port information in the detection response message; and configure the location distribution information of each indoor intercom device in the building in batches based on the location distribution information of each indoor intercom device in the building. This application analyzes the port information in the detection response message to accurately obtain the location distribution information of each indoor intercom device in the building, thereby accurately allocating the location distribution information, solving the problem of configuration errors that may occur when the owner configures it by himself, and the problem that may cause unnecessary trouble, while also effectively improving the efficiency of intercom device configuration.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 is a flow chart of a batch configuration method of an intercom device provided according to an embodiment of the present invention;
[0024] Figure 2 is a schematic diagram of the structure of an intercom device network group applicable to an embodiment of the present invention;
[0025] Figure 3 is a schematic diagram of the structure of an intercom device network group applicable to an embodiment of the present invention;
[0026] Figure 4is a schematic diagram of the structure of an intercom device network group applicable to an embodiment of the present invention;
[0027] Figure 5 is a schematic diagram of the structure of an intercom device network group applicable to an embodiment of the present invention;
[0028] Figure 6 It is a structural schematic diagram of a batch configuration device for intercom equipment provided according to an embodiment of the present invention;
[0029] Figure 7 The present invention is a schematic diagram of the structure of an electronic device for implementing the batch configuration method of intercom devices according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] Embodiment 1
[0033] Figure 1 This is a flow chart of a method for batch configuration of intercom equipment provided by an embodiment of the present invention. This embodiment is applicable to batch configuration of visual intercom equipment in a building. The method can be executed by a batch configuration device for intercom equipment. The batch configuration device for intercom equipment can be implemented in the form of hardware and / or software. The batch configuration device for intercom equipment can be configured in any electronic device with network communication function. Figure 1 As shown, the method includes:
[0034] S110: Send a detection request message to each indoor intercom device in the building by broadcasting.
[0035] Among them, indoor intercom equipment is installed in the rooms on each floor of the building, and each indoor intercom equipment on each floor is connected to the first type port of the digital switch on the corresponding floor in turn. The public area of the building is installed with a master public intercom equipment and a slave public intercom equipment. The public intercom equipment in the public area is connected to the first type port of the digital switch on the corresponding floor in turn. The digital switches on each floor are interconnected in order of floors through the second type ports of the floor digital switches. The floor digital switches in the same building are configured with the same network segment. For example, Figure 2-5 As shown, ports 1 to 8 connecting the indoor intercom equipment to the digital switch on the corresponding floor are first type ports. The number of first type ports is related to the number of rooms on the connected floor. The uplink port 10 and downlink port 9 connecting the digital switches on each floor are second type ports.
[0036] Optionally, the downstream second type port of one floor digital switch and the upstream second type port of another floor digital switch of two adjacent floor digital switches are interconnected in series in the order of floors. Figure 2 In the figure, the switches on the second and third floors are connected through the uplink port 10 on the second floor and the downlink port 9 on the third floor.
[0037] Optionally, sending a detection request message to each indoor intercom device in the building by broadcasting, including: sending a detection request message to the indoor intercom devices associated with each floor digital switch in the building by broadcasting through a first type port and a second type port of at least one floor digital switch;
[0038] Among them, the detection request message is used to instruct the indoor intercom device to make a detection response message after receiving the detection request message, and to add the first type port identifier entered, the first type port identifier left, the second type port identifier entered and the second type port identifier left when the detection response message is transmitted from the indoor intercom device to the main public intercom device.
[0039] S120: Receive a detection response message returned by each indoor intercom device, wherein the detection response message carries port information used for transmitting the detection response message from the indoor intercom device to the main public intercom device.
[0040] The port information is used to indicate the port identification information, port number, and other information that the indoor intercom device enters and leaves the main public intercom device.
[0041] Specifically, the intercom equipment network group is a network group that connects the indoor intercom equipment in the rooms on each floor of the building with the main public intercom equipment and the slave public intercom equipment in the public area of the building, which can be divided into at least two categories as follows:
[0042] Category 1: The digital switch on the same floor is connected to each indoor intercom device on the same floor of the building. Each indoor intercom device on each floor is connected to the first type ports set in the order of the room numbers of the rooms to which each indoor intercom device belongs on the floor. One indoor intercom device is installed in one room.
[0043] For example, Figure 2 and Figure 3 , and take the example of a building with four rooms on each floor, Figure 2 and Figure 3 The difference is: Figure 2 There are rooms starting from the second floor, and the rooms are equipped with corresponding indoor intercom equipment. Figure 3 There are rooms starting from the first floor, and the rooms are equipped with corresponding indoor intercom equipment. Figure 2 still Figure 3 Each floor is matched with a floor digital switch and does not share the floor digital switch with other floors. Taking the second floor as an example, indoor intercom equipment 201, indoor intercom equipment 202, indoor intercom equipment 203 and indoor intercom equipment 204 are connected to port 1, port 2, port 3 and port 4 in sequence respectively.
[0044] Category II: The same floor digital switch is connected to indoor intercom devices on two floors in the building, and the indoor intercom devices on the first floor are connected to a preset number of first-type ports set in sequence on the digital switch of the floor in the order of the room numbers of the rooms to which the indoor intercom devices belong on the floor to which they belong, and the indoor intercom devices on the second floor are connected to the first-type ports set in sequence on the digital switch of the floor in the order of the room numbers of the rooms to which the indoor intercom devices belong on the floor to which they belong, starting from the reference port. The first of the two floors is adjacent to and below the second floor, and the value of the preset number is based on the number of indoor intercom devices on the first floor. One indoor intercom device is installed in one room, and the reference port is the last first-type port in the preset number of first-type ports set in sequence.
[0045] For example, Figure 4 and Figure 5 , and take the example of a building with four rooms on each floor, Figure 4 and Figure 5 The difference is: Figure 4 There are rooms starting from the second floor, and the rooms are equipped with corresponding indoor intercom equipment. Figure 5 There are rooms starting from the first floor, and the rooms are equipped with corresponding indoor intercom equipment. Figure 4 still Figure 5 , a floor digital switch connects the indoor intercom equipment on two floors. Figure 4 Take the floor digital switch on the second floor as an example, it is connected to the indoor intercom equipment on the second and third floors. There are a total of 8 houses on the second and third floors, so the floor digital switch is matched with 8 ports, and the reference port is port 4. The indoor intercom equipment 201, indoor intercom equipment 202, indoor intercom equipment 203 and indoor intercom equipment 204 on the second floor are connected to port 1, port 2, port 3 and port 4 in sequence, respectively, and the indoor intercom equipment 301, indoor intercom equipment 302, indoor intercom equipment 303 and indoor intercom equipment 304 on the third floor are connected to port 5, port 6, port 7 and port 8 in sequence, respectively.
[0046] In the present application, each indoor intercom device is connected to the port of the floor digital switch in sequence according to a preset order according to the order of the room numbers of the rooms to which each indoor intercom device belongs on the floor to which it belongs, so as to facilitate the subsequent accurate location distribution information of each indoor intercom device in the building based on the port information carried in the detection response message from the indoor intercom device to the main public intercom device for transmitting the detection response message.
[0047] Optionally, how to transmit the detection response message made by the indoor intercom device back to the main public intercom device is as follows:
[0048] For the digital switch on the floor to which the indoor intercom device belongs, the detection response message made by the indoor intercom device is configured to enter from the first type port of the digital switch on the floor to which the indoor intercom device belongs, and to leave from the second type port on the downstream side of the digital switch on the floor to which the indoor intercom device belongs; for the digital switch on the adjacent floor, the detection response message made by the indoor intercom device is configured to enter from the second type port on the upstream side of the digital switch on the floor to which the indoor intercom device belongs, and to leave from the second type port on the downstream side of the digital switch on the floor to which the indoor intercom device belongs; for the digital switch on the floor to which the public intercom device belongs, the detection response message made by the indoor intercom device is configured to enter from the second type port on the upstream side of the digital switch on the floor to which the indoor intercom device belongs, and to leave from the first type port on the digital switch on the floor to which the indoor intercom device belongs;
[0049] For example, Figure 4 For example, if the detection response message made by the indoor intercom device 501 on the fifth floor is to be returned to the main public intercom device, then the detection response message must first enter port 5 of the floor digital switch 2 to which it belongs, and then leave from the downlink port 9 of the floor digital switch 2 to which it belongs, and then enter the uplink port 10 of the floor digital switch 1 on the second and third floors to which it belongs, leave from the downlink port 9 of the floor digital switch 1 on the second and third floors to which it belongs, and then enter the uplink port 10 of the floor digital switch 0 of the public intercom device to which it belongs, and leave from port 1 of the floor digital switch 0 of the public intercom device to which it belongs, so as to return to the main public intercom device.
[0050] In the present application, the transmission method of the detection response message between the indoor intercom equipment, the floor digital switching equipment and the public intercom equipment is to record the port information accordingly each time it enters the port, so as to facilitate the subsequent accurate location distribution information of each indoor intercom device in the building based on the port information used to transmit the detection response message from the indoor intercom device to the main public intercom device carried in the detection response message.
[0051] S130. Determine the location distribution information of each indoor intercom device in the building according to the port information in the detection response message.
[0052] Among them, the location distribution information at least includes the IP address information of the indoor intercom device, the location information of the indoor intercom device, and the information of the indoor intercom device associated devices (door machine, zone door machine, management machine, intercom server, etc.).
[0053] Specifically, based on the port information in the probe response message, the first type port identifier entered by the probe response message is determined; based on the port information in the probe response message, the number of second type ports entered by the probe response message and / or the number of second type ports left by the probe response message is determined; based on the first type port identifier entered and the number of second type ports entered and / or the number of second type ports left, the location distribution information of each indoor intercom device in the building is determined.
[0054] For example, Figure 4 For example, if the detection response message received by the main public intercom device is returned from the indoor intercom device 501 on the fifth floor, the first type port identifier is port 5, and the number of downstream ports 9 is 2, because each floor digital switch matches two floors, and there are rooms starting from the second floor, then the detection response message is transmitted from the 4th or 5th floor, and the first type port identifier is port 5, which means it is transmitted from the highest floor, that is, the 5th floor, because the ports are sorted in sequence according to the room number, so port 5 corresponds to room 501, then the location distribution information determined according to the detection response message is the indoor intercom device 501 on the fifth floor. The location distribution information of other indoor intercoms can be obtained in the same way.
[0055] by Figure 2 For example, if the detection response message received by the main public intercom device is returned from the indoor intercom device 501 on the fifth floor, the first type port identifier is port 1, and the number of downstream ports 9 is 4, because each floor digital switch matches one floor, and there are rooms starting from the second floor, then the detection response message is transmitted back from the fifth floor, because the ports are sorted in sequence according to the room number, so port 1 corresponds to room 501, then the location distribution information determined according to the detection response message is the indoor intercom device 501 on the fifth floor. The location distribution information of other indoor intercoms can be obtained in the same way.
[0056] S140. Based on the location distribution information of each indoor intercom device in the building, the location distribution information of each indoor intercom device in the building is configured in batches.
[0057] Specifically, the main public intercom device obtains the location distribution information of each indoor intercom device in the building, and then sends the location distribution information to each indoor intercom device to complete the task of batch configuration of the location distribution information of each indoor intercom device in the building.
[0058] The technical solution of the embodiment of the present invention is to send a detection request message to each indoor intercom device in a building by broadcasting, indoor intercom devices are installed in the rooms of each floor in the building, and each indoor intercom device on each floor is sequentially connected to the first type port of the digital switch of the corresponding floor, a main public intercom device and a slave public intercom device are installed in the public area of the building, the public intercom devices in the public area are sequentially connected to the first type port of the digital switch of the corresponding floor, the digital switches on each floor are interconnected in order of floors through the second type ports of the floor digital switches, and the floor digital switches of the same building are configured with the same network segment; receive a detection response message returned by each indoor intercom device, the detection response message carries the port information used from the indoor intercom device to the main public intercom device for transmitting the detection response message; determine the location distribution information of each indoor intercom device in the building based on the port information in the detection response message; and configure the location distribution information of each indoor intercom device in the building in batches based on the location distribution information of each indoor intercom device in the building. This application analyzes the port information in the detection response message to accurately obtain the location distribution information of each indoor intercom device in the building, thereby accurately allocating the location distribution information, solving the problem of configuration errors that may occur when the owner configures it by himself, and the problem that may cause unnecessary trouble, while also effectively improving the efficiency of intercom device configuration.
[0059] Embodiment 2
[0060] Figure 6 The present invention provides a block diagram of a device for configuring intercom equipment in batches. Figure 6 As shown, the device comprises:
[0061] The message sending module 210 is used to send a detection request message to each indoor intercom device in the building by broadcasting. Indoor intercom devices are installed in the rooms of each floor in the building, and each indoor intercom device on each floor is sequentially connected to the first type port of the digital switch on the floor to which it belongs. The public area in the building is installed with a master public intercom device and a slave public intercom device. The public intercom devices in the public area are sequentially connected to the first type port of the digital switch on the floor to which it belongs. The digital switches on each floor are interconnected in order of floors through the second type ports of the floor digital switches. The floor digital switches in the same building are configured with the same network segment.
[0062] The message receiving module 220 is used to receive the detection response message returned by each indoor intercom device, and the detection response message carries the port information used for transmitting the detection response message from the indoor intercom device to the main public intercom device;
[0063] A location distribution information determination module 230, configured to determine location distribution information of each indoor intercom device in the building according to the port information in the detection response message;
[0064] The configuration module 240 is used to batch configure the location distribution information of each indoor intercom device in the building according to the location distribution information of each indoor intercom device in the building.
[0065] Optionally, the digital switch on the same floor is connected to each indoor intercom device on the same floor of the building, and each indoor intercom device on each floor is connected to each first type port set in sequence on the digital switch on the corresponding floor in the order of the room numbers of the rooms to which the indoor intercom devices belong on the corresponding floor, and one indoor intercom device is installed in one room.
[0066] Optionally, the same floor digital switch is connected to indoor intercom devices on two floors in the building, and the indoor intercom devices on the first floor are connected to a preset number of first type ports set in sequence on the digital switch of the floor in the order of the room numbers of the rooms to which the indoor intercom devices belong on the floor to which they belong, and the indoor intercom devices on the second floor are connected to the first type ports set in sequence on the digital switch of the floor in the order of the room numbers of the rooms to which the indoor intercom devices belong on the floor to which they belong, starting from the reference port. The first floor of the two floors is adjacent to the second floor and is located below the second floor. The value of the preset number is based on the number of indoor intercom devices on the first floor. One indoor intercom device is installed in one room, and the reference port is the last first type port in the preset number of first type ports set in sequence.
[0067] Among them, the downstream second type port of one floor digital switch and the upstream second type port of the other floor digital switch of two adjacent floor digital switches are interconnected in series according to the order of floors.
[0068] Optional message sending module, specifically used for:
[0069] Sending a detection request message to indoor intercom devices associated with digital switches on each floor in the building through a first type port and a second type port of at least one floor digital switch by broadcasting;
[0070] Among them, the detection request message is used to instruct the indoor intercom device to make a detection response message after receiving the detection request message, and to add the first type port identifier entered, the first type port identifier left, the second type port identifier entered and the second type port identifier left when the detection response message is transmitted from the indoor intercom device to the main public intercom device.
[0071] Optionally, for the digital switch on the floor to which the indoor intercom device belongs, the detection response message made by the indoor intercom device is configured to enter from the first type port of the digital switch on the floor to which the indoor intercom device belongs, and to leave from the second type port downstream of the digital switch on the floor to which the indoor intercom device belongs; for the digital switch on the adjacent floor, the detection response message made by the indoor intercom device is configured to enter from the second type port upstream of the digital switch on the floor to which the indoor intercom device belongs, and to leave from the second type port downstream of the digital switch on the floor to which the indoor intercom device belongs; for the digital switch on the floor to which the public intercom device belongs, the detection response message made by the indoor intercom device is configured to enter from the second type port upstream of the digital switch on the floor to which the indoor intercom device belongs, and to leave from the first type port of the digital switch on the floor to which the indoor intercom device belongs.
[0072] Optionally, the location distribution information determination module is specifically used to:
[0073] Determine, according to the port information in the probe response message, a first type port identifier into which the probe response message enters;
[0074] Determining, based on the port information in the probe response message, the number of second type ports entered by the probe response message and / or the number of second type ports left by the probe response message;
[0075] The location distribution information of each indoor intercom device in the building is determined according to the entered first type port identifier and the entered second type port quantity and / or the left second type port quantity.
[0076] The batch configuration device for intercom equipment provided in the embodiment of the present invention can execute the batch configuration method for intercom equipment provided in any embodiment of the present invention mentioned above, and has the corresponding functions and beneficial effects of executing the batch configuration method for intercom equipment. For detailed process, please refer to the relevant operations of the batch configuration method for intercom equipment in the aforementioned embodiment.
[0077] Embodiment 3
[0078] Figure 7 The structural schematic diagram of an electronic device that can be used to implement the batch configuration method of the intercom device of the embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0079] like Figure 7 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0080] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0081] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the batch configuration of the intercom device.
[0082] In some embodiments, the batch configuration method of the intercom device can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the batch configuration method of the intercom device described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the batch configuration method of the intercom device in any other appropriate manner (for example, by means of firmware).
[0083] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0084] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0085] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0086] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0087] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0088] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0089] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0090] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A batch configuration method for intercom equipment, characterized in that: A main public intercom device installed in a public area of a building, the method comprising: Sending a detection request message to each indoor intercom device in the building by broadcasting. Indoor intercom devices are installed in rooms on each floor of the building; Receiving a detection response message returned by each indoor intercom device, wherein the detection response message carries port information used for transmitting the detection response message from the indoor intercom device to the main public intercom device; Determine the location distribution information of each indoor intercom device in the building according to the port information in the detection response message; Based on the location distribution information of each indoor intercom device in the building, the location distribution information of each indoor intercom device in the building is configured in batches.
2. The method according to claim 1, characterized in that The digital switch on the same floor is connected to each indoor intercom device on the same floor in the building. The indoor intercom devices on each floor are connected to the first type ports set in sequence on the digital switch on the corresponding floor in the order of the room numbers of the rooms to which the indoor intercom devices belong on the corresponding floor. One indoor intercom device is installed in one room.
3. The method according to claim 1, characterized in that The same floor digital switch is connected to each indoor intercom device on two floors in the building, and each indoor intercom device on the first floor is connected to a preset number of first type ports set in sequence on the digital switch of the corresponding floor in the order of the room numbers of the rooms to which each indoor intercom device belongs on the corresponding floor, and each indoor intercom device on the second floor is connected to each first type port set in sequence on the digital switch of the corresponding floor starting from the reference port in the order of the room numbers of the rooms to which each indoor intercom device belongs on the corresponding floor. The first floor of the two floors is adjacent to the second floor and is located below the second floor. The value of the preset number is based on the number of each indoor intercom device on the first floor. One indoor intercom device is installed in one room, and the reference port is the last first type port in the preset number of first type ports set in sequence.
4. The method according to claim 1, characterized in that: The downstream second type port of one floor digital switch and the upstream second type port of the other floor digital switch of two adjacent floor digital switches are interconnected in series according to the order of floors.
5. The method according to any one of claims 1 to 4, characterized in that: Send a detection request message to each indoor intercom device in the building by broadcasting, including: Sending a detection request message to indoor intercom devices associated with digital switches on each floor in the building through a first type port and a second type port of at least one floor digital switch by broadcasting; Among them, the detection request message is used to instruct the indoor intercom device to make a detection response message after receiving the detection request message, and to add the first type port identifier entered, the first type port identifier left, the second type port identifier entered and the second type port identifier left when the detection response message is transmitted from the indoor intercom device to the main public intercom device.
6. The method according to claim 5, characterized in that For the digital switch on the floor to which the indoor intercom device belongs, the detection response message made by the indoor intercom device is configured to enter from the first type port of the digital switch on the floor to which the indoor intercom device belongs, and to leave from the second type port on the downstream side of the digital switch on the floor to which the indoor intercom device belongs; for the digital switch on the adjacent floor, the detection response message made by the indoor intercom device is configured to enter from the second type port on the upstream side of the digital switch on the floor to which the indoor intercom device belongs, and to leave from the second type port on the downstream side of the digital switch on the floor to which the indoor intercom device belongs; for the digital switch on the floor to which the public intercom device belongs, the detection response message made by the indoor intercom device is configured to enter from the second type port on the upstream side of the digital switch on the floor to which the indoor intercom device belongs, and to leave from the first type port on the digital switch on the floor to which the indoor intercom device belongs.
7. The method according to claim 5, characterized in that Determine the location distribution information of each indoor intercom device in the building according to the port information in the detection response message, including: Determine, according to the port information in the probe response message, a first type port identifier into which the probe response message enters; Determining, based on the port information in the probe response message, the number of second type ports entered by the probe response message and / or the number of second type ports left by the probe response message; The location distribution information of each indoor intercom device in the building is determined according to the entered first type port identifier and the entered second type port quantity and / or the left second type port quantity.
8. A batch configuration device for intercom equipment, characterized in that: A main public intercom device installed in a public area of a building, the device comprising: A message sending module is used to send a detection request message to each indoor intercom device in the building by broadcasting. Indoor intercom devices are installed in the rooms of each floor in the building, and each indoor intercom device on each floor is sequentially connected to the first type port of the digital switch on the floor to which it belongs. A master public intercom device and a slave public intercom device are installed in the public area of the building. The public intercom devices in the public area are sequentially connected to the first type port of the digital switch on the floor to which it belongs. The digital switches on each floor are interconnected in order of floors through the second type ports of the floor digital switches. The floor digital switches in the same building are configured with the same network segment; A message receiving module, used to receive a detection response message returned by each indoor intercom device, wherein the detection response message carries port information used to transmit the detection response message from the indoor intercom device to the main public intercom device; A location distribution information determination module, used to determine the location distribution information of each indoor intercom device in the building according to the port information in the detection response message; The configuration module is used to batch configure the location distribution information of each indoor intercom device in the building according to the location distribution information of each indoor intercom device in the building.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the batch configuration method for intercom devices according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the batch configuration method for intercom devices according to any one of claims 1 to 7 when executed.