Communication methods, communication devices, electronic devices and readable storage media

By establishing a binding relationship between meter number, communication frequency, and address based on the coordinates of the testing device and the tag number of the testing location during the meter calibration process, the interference problem between meter devices is solved, and a stable and reliable communication connection is achieved.

CN119997258BActive Publication Date: 2026-01-06BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510005042.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2026-01-06
Estimated Expiration
2045-01-02

AI Technical Summary

Technical Problem

During the calibration of metering equipment, interference between metering devices and with external wireless devices can cause unstable communication connections, affecting the calibration results.

Method used

By querying available detection locations, the target detection location of the target meter being tested is determined, and a binding relationship between the meter number, communication frequency, and communication address is established. Combined with the coordinates of the detection device and the location number of the detection location, the communication frequency and address are dynamically adjusted to optimize the communication connection process.

Benefits of technology

It improves the utilization rate of communication frequencies and the reliability of connections, reduces interference between devices, and ensures the stability and flexibility of communication connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119997258B_ABST
    Figure CN119997258B_ABST
Patent Text Reader

Abstract

The application discloses a communication method, a communication device, an electronic device and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: according to the meter number of a target measured meter received, querying the free calibration position of each detection device at present, determining the target calibration position of the target detection device corresponding to the target measured meter; determining the binding relationship among the meter number, the communication frequency and the communication address corresponding to the target measured meter; and sending the binding relationship to the target detection device, so that the target measured meter establishes a communication connection with the target detection device according to the communication frequency and the communication address. According to the coordinates of the detection device and the position number of the calibration position, the communication frequency is determined, the communication connection establishment process between the measured meter and the detection device is optimized, and the utilization rate of the communication frequency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, and in particular relates to a communication method, communication device, electronic device and readable storage medium. Background Technology

[0002] When calibrating metering devices using a preset communication frequency, if the communication frequency is widely used, the metering devices may interfere with each other and may also be affected by interference from other wireless devices in the external environment, affecting the normal communication connection between the meter under test and the testing device, thus affecting the meter calibration results. Summary of the Invention

[0003] This application aims to address at least one of the technical problems existing in the related art. To this end, this application proposes a communication method, communication device, electronic device, and readable storage medium, which optimizes the communication connection establishment process between the measured meter and the detection device and improves the utilization rate of the communication frequency.

[0004] In a first aspect, this application provides a communication method applied to a server, the method comprising:

[0005] Based on the received meter number of the target meter under test, query the available testing positions of each testing device to determine the target testing position of the target testing device corresponding to the target meter under test.

[0006] Based on the coordinates of the target detection device and the location number of the target detection device, the binding relationship between the meter number, communication frequency and communication address of the meter being tested is determined.

[0007] The binding relationship is sent to the target detection device so that after the target meter is detected to be in place and the meter number of the target meter is verified, the target detection device sends the communication frequency and communication address corresponding to the target meter to the target meter according to the binding relationship, so that the target meter can establish a communication connection with the target detection device according to the communication frequency and communication address.

[0008] In the above technical solution, the target detection location of the target detection device corresponding to the target meter under test is determined by querying the available detection location. A binding relationship between the meter number, communication frequency, and communication address is established, and the binding relationship is sent to the target detection device. The target meter under test is then transmitted to the target detection location, and the meter number of the target meter under test is verified. After the meter number verification is successful, a communication connection is established between the target meter under test and the target detection device. This optimizes the communication connection establishment process between the meter under test and the detection device. The communication frequency is determined based on the coordinates of the detection device and the location number of the detection location, which improves the utilization rate of the communication frequency and the reliability of the communication connection.

[0009] According to one embodiment of this application, determining the binding relationship between the meter number, communication frequency, and communication address corresponding to the target meter based on the coordinates of the target detection device and the location number of the target detection device includes:

[0010] Based on the first frequency band, the preset three-dimensional space is divided into a three-dimensional grid with the first length as the side length, and each grid corresponds to a complete frequency band;

[0011] The frequency deviation value is determined based on the coordinates of the reference point, the coordinates of the target detection device, and the tag number of the target detection location;

[0012] Based on the frequency deviation value and the first frequency band, determine the communication frequency corresponding to the target meter under test;

[0013] Based on the coordinates of the target detection device and the tag number of the target detection location, determine the communication address corresponding to the target meter being measured;

[0014] Establish a binding relationship between the meter number, communication frequency, and communication address of the target meter under test.

[0015] In the above technical solution, communication frequency bands are divided by pre-setting a three-dimensional spatial grid. The frequency deviation value is determined by combining the coordinates of the target detection device and the coordinates of the reference point, thereby determining the communication frequency corresponding to the target meter under test. By combining the coordinates of the target detection device with the tag number of the target detection location, the communication address corresponding to the target meter under test is determined. Finally, a binding relationship is established between the meter number, communication frequency, and communication address of the target meter under test, which improves the accuracy and utilization of the communication frequency. By establishing the correspondence between the coordinates of the detection device and the tag number of the detection location and the communication frequency of the meter under test, communication interference between devices is reduced, the frequency distribution of each coordinate position is balanced, and the reliability of the communication connection is improved.

[0016] According to one embodiment of this application, determining the frequency deviation value based on the coordinates of the reference point, the coordinates of the target detection device, and the tag number of the target detection location includes:

[0017] Based on the coordinates of the reference point, the coordinates of the target detection device, and the tag number of the target detection location, the frequency deviation value is determined using the following formula:

[0018]

[0019] Wherein, Δf is the frequency deviation value, z2 is the z-axis coordinate of the target detection device, the coordinates of the target detection device are p2(x2,y2,z2), z1 is the z-axis coordinate of the reference point, the coordinates of the reference point are p1(x1,y1,z1), k is a coefficient, k∈[0,1], flr is the floor number where the target detection device is located, bit is the location number of the target detection device, and sgn is the sign function.

[0020]

[0021] In the above technical solution, the frequency deviation value is determined by combining the coordinates of the target detection device, the coordinates of the reference point, the floor number, and the tag number of the target detection location using Formula 1. The frequency deviation value can be used to determine the communication frequency corresponding to the target meter being measured. The calculation of the frequency deviation value takes into account the spatial position of the target detection device (including the floor and coordinates) and the tag number of the detection location, and considers the positional differences between different detection devices and detection locations. This improves the utilization rate of the communication frequency, helps to reduce communication interference between devices, and improves the flexibility and reliability of establishing communication connections.

[0022] According to one embodiment of this application, determining the communication frequency corresponding to the target meter under test based on the frequency deviation value and the first frequency band includes:

[0023] Based on the frequency deviation value and the first frequency band, the communication frequency corresponding to the target meter under test is determined using the following formula:

[0024] Formula 2: f = ((f1-f2) / 2) + Δf

[0025] Where f is the communication frequency corresponding to the target meter under test, f1 is the maximum frequency value corresponding to the first frequency band, f2 is the minimum frequency value corresponding to the first frequency band, and Δf is the frequency deviation value.

[0026] In the above technical solution, the communication frequency corresponding to the target meter is dynamically determined by the frequency deviation value relative to the reference point and the frequency range of the first frequency band, thereby realizing the rational allocation of the communication frequency. The target meter and the target detection device establish a communication connection through this communication frequency, avoiding the waste and conflict of frequency resources and improving the stability and efficiency of the communication connection.

[0027] According to one embodiment of this application, determining the communication address corresponding to the target meter based on the coordinates of the target detection device and the tag number of the target detection location includes:

[0028] Based on the coordinates of the target detection device and the location number of the target detection device, the communication address corresponding to the target meter is determined using the following formula three:

[0029]

[0030] Where addr is the communication address corresponding to the target meter being measured, p2(x2,y2,z2) is the coordinate of the target detection device, and bit is the bit number of the target detection location.

[0031] In the above technical solution, the communication address corresponding to the target meter is determined by formula three based on the coordinates of the target detection device and the tag number of the target detection location. This achieves reliable management of the communication address, improves the accuracy of the communication address allocation, and enables the meter under test and the detection device to establish a communication connection through the communication address, thereby improving the stability and reliability of the communication method.

[0032] According to one embodiment of this application, the method further includes: fine-tuning the communication frequency corresponding to the target meter under test according to a pre-configured fixed bandwidth for each detection location.

[0033] In the above technical solution, the communication frequency corresponding to the target meter under test is finely adjusted according to the pre-configured fixed bandwidth of each detection position, so that the meter under test and the detection device can communicate in a complex environment. By adjusting the communication frequency, sudden interference can be effectively dealt with, frequency band resource utilization can be optimized, and the reliability of the communication connection can be improved.

[0034] According to one embodiment of this application, the method further includes:

[0035] A first instruction is sent to the conveyor belt, which instructs the conveyor belt to transport the target meter to the target detection position of the target detection device.

[0036] In the above technical solution, a first instruction is sent to the conveyor belt to realize the target measurement meter being transported to the target detection device via the conveyor belt. This reduces manual intervention, improves the automation level and accuracy of establishing communication connections, and enhances the efficiency of the communication method.

[0037] Secondly, this application provides a communication method applied to a target detection device, the method comprising:

[0038] The binding relationship between the target meter number, communication frequency, and communication address is received;

[0039] After detecting that the target meter under test is in place, the meter number of the target meter under test is read and reported to the server so that the server can verify the meter number of the target meter under test.

[0040] After the meter number of the target meter under test is verified, the communication frequency and communication address corresponding to the target meter under test are sent to the target meter under test according to the binding relationship, so that the target meter under test can establish a communication connection with the target detection device according to the communication frequency and communication address.

[0041] In the above technical solution, the target detection device receives the binding relationship between the meter number, communication frequency, and communication address of the target meter under test. After the target meter under test arrives, it reads the meter number of the target meter under test and reports it to the server. After the server verifies the meter number of the target meter under test, the target detection device sends the corresponding communication frequency and communication address to the target meter under test, so that the target meter under test and the target detection device can establish a communication connection. This optimizes the communication connection establishment process between the meter under test and the detection device. The communication frequency is determined according to the coordinates of the detection device and the location number of the detection position, which improves the utilization rate of the communication frequency and the reliability of the communication connection.

[0042] According to one embodiment of this application, the method further includes:

[0043] Monitoring wireless signals in communication channels;

[0044] The device receives a connection establishment request from the target meter under test, sends an authentication message, and establishes a wireless communication link between the target detection device and the target meter under test.

[0045] In the above technical solution, by monitoring the communication channel, receiving the connection establishment request from the target meter under test, sending authentication messages and establishing a wireless communication link, the detection device and the meter under test can establish a secure and reliable communication connection, which improves the accuracy and efficiency of the communication connection and provides a foundation for subsequent control of the target meter under test.

[0046] According to one embodiment of this application, the method further includes: controlling the operating state of the target meter under test according to instructions issued by the server.

[0047] In the above technical solution, by establishing a wireless communication link between the target detection device and the target meter under test, and by remotely controlling the meter's operating status according to server instructions, effective control of the target meter under test can be achieved.

[0048] Thirdly, this application provides a communication device, the device comprising:

[0049] The first determining unit is used to query the available testing positions of each testing device based on the meter number of the target meter under test received, and determine the target testing position of the target testing device corresponding to the target meter under test.

[0050] The second determining unit is used to determine the binding relationship between the meter number, communication frequency and communication address of the target meter being measured, based on the coordinates of the target detection device and the location number of the target detection device;

[0051] The first sending unit is used to send the binding relationship to the target detection device, so that after the target meter under test is detected to be in place and the meter number of the target meter under test is verified, the target detection device sends the communication frequency and communication address corresponding to the target meter under test to the target meter under test according to the binding relationship, so that the target meter under test establishes a communication connection with the target detection device according to the communication frequency and communication address.

[0052] In the above technical solution, the communication device determines the target detection location of the target detection device corresponding to the target meter by querying the available detection location, establishes a binding relationship between the meter number, communication frequency and communication address, and sends the binding relationship to the target detection device, transmitting the target meter to the target detection location, verifying the meter number of the target meter, and establishing a communication connection between the target meter and the target detection device after the meter number verification is successful. This optimizes the communication connection establishment process between the meter and the detection device and improves the utilization rate of the communication frequency.

[0053] Fourthly, this application provides a communication device, the device comprising:

[0054] The first receiving unit is used to receive the binding relationship between the meter number, communication frequency and communication address of the target meter under test;

[0055] The first processing unit is used to read the meter number of the target meter after detecting that the target meter under test has arrived, and report the meter number of the target meter under test to the server so that the server can verify the meter number of the target meter under test.

[0056] The third sending unit is used to send the communication frequency and communication address corresponding to the target meter to the target meter according to the binding relationship after the meter number of the target meter is verified, so that the target meter can establish a communication connection with the target detection device according to the communication frequency and communication address.

[0057] In the above technical solution, the communication device receives the binding relationship between the meter number, communication frequency, and communication address of the target meter under test. After the target meter under test arrives, it verifies the meter number and sends the corresponding communication frequency and communication address to it, so that the target meter under test can establish a communication connection with the target detection device. This optimizes the communication connection establishment process between the meter under test and the detection device. The communication frequency is determined according to the coordinates of the detection device and the location number of the detection position, which improves the utilization rate of the communication frequency and the reliability of the communication connection.

[0058] Fifthly, this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the communication method as described in the first aspect above, or to implement the communication method as described in the second aspect above.

[0059] Sixthly, this application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the communication method as described in the first aspect above, or implements the communication method as described in the second aspect above.

[0060] In a seventh aspect, this application provides a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the communication method as described in the first aspect above, or to implement the communication method as described in the second aspect above.

[0061] Eighthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the communication method as described in the first aspect above, or implements the communication method as described in the second aspect above.

[0062] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0063] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0064] Figure 1 This is one of the flowcharts illustrating a communication method provided in some embodiments of this application;

[0065] Figure 2 These are schematic diagrams of meter verification provided in some embodiments of this application;

[0066] Figure 3This is a second schematic flowchart of a communication method provided in some embodiments of this application;

[0067] Figure 4 This is one of the structural schematic diagrams of a communication device provided in some embodiments of this application;

[0068] Figure 5 This is a second schematic diagram of the structure of the communication device provided in some embodiments of this application;

[0069] Figure 6 These are schematic diagrams of the structure of electronic devices provided in some embodiments of this application. Detailed Implementation

[0070] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0071] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0072] The 2400MHz band is designated as an unlicensed band, resulting in a large number of wireless devices operating within it, which easily leads to signal interference. Currently, electricity metering systems are also promoting the use of this band for communication. However, during the calibration process, metering devices may interfere with each other and are also subject to interference from other wireless devices in the external environment.

[0073] In related technologies, establishing a communication connection with metering equipment typically does not consider the influence of its coordinate position, and communication is based solely on a preset frequency. In the event of external radio signal interference, a stable communication connection may not be successfully established between the metering equipment and the detection device, resulting in obstruction or failure of normal communication functions. Furthermore, the technology lacks the ability to adjust or switch communication frequency bands in real time; once a communication frequency band is set, it cannot be flexibly adjusted according to the current communication environment or interference conditions.

[0074] The communication method, communication device, electronic device, and readable storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0075] Figure 1 This is one of the flowcharts illustrating a communication method provided in some embodiments of this application. For example... Figure 1 As shown, the communication method includes steps 110, 120 and 130.

[0076] This communication method is applied to a server. The execution subject of this communication method can be the server or a functional module or entity within the server that can implement the communication method. The following description uses the server as the execution subject as an example to illustrate the communication method provided in the embodiments of this application.

[0077] Step 110: Based on the received meter number of the target meter under test, query the available testing positions of each testing device to determine the target testing position of the target testing device corresponding to the target meter under test.

[0078] It should be noted that the term "meter under test" is a general term for IoT meters, concentrators, converged terminals, and other devices with wireless communication capabilities that require calibration. The meter numbers of the meters under test are unique and correspond one-to-one, and can be used to identify the meters under test during the process of establishing a communication connection with the target detection device.

[0079] A testing device is used to verify the readings or status of a meter under test. The testing device can be connected to the meter under test and supply it with power. It has a built-in wireless transceiver, which allows it to establish a wireless connection with the meter under test according to parameters such as communication frequency and address sent by the server, and to control the meter's operating status according to the server's instructions.

[0080] The positioning of the instrument refers to the specific location corresponding to the testing device, used to place the instrument to be tested and to perform the measurement. Figure 2 These are schematic diagrams illustrating meter verification provided in some embodiments of this application. For example... Figure 2 As shown, the server is the core of the system, storing the three-dimensional position coordinates of the testing device and possessing all functions such as initiating communication, completing verification, and recording. It is connected to the testing device via a network cable. A testing device typically has multiple verification points, allowing it to verify multiple meters under test.

[0081] In some embodiments, the meter under test is placed on a meter conveyor belt by a robotic arm device, and the meter number of the meter under test is identified by an RFID reader or camera and uploaded to a server.

[0082] Based on the received meter number of the target meter under test, the server queries the available testing positions of each testing device to determine the target testing position of the target testing device corresponding to the target meter under test. Here, the target testing position is the available testing position of the target testing device. After determining the target testing position of the target testing device corresponding to the target meter under test, the server issues an instruction to the meter conveyor belt, which then sends the target meter under test to the target testing position of the target testing device.

[0083] Step 120: Based on the coordinates of the target detection device and the location number of the target detection device, determine the binding relationship between the meter number, communication frequency and communication address of the meter being tested.

[0084] After the target meter reaches the designated location of the target detection device, the server can verify the meter number of the target meter according to the meter number in the binding relationship; the target meter and the target detection device can communicate according to the communication frequency and communication address in the binding relationship.

[0085] The server determines the binding relationship between the meter number, communication frequency, and communication address corresponding to the target meter under test based on the coordinates of the target detection device and the tag number of the target detection location. This ensures that the communication frequency and communication address used when the target meter under test communicates with the target detection device are related to the coordinates of the target detection device and the tag number of the target detection location. As a result, the communication frequency can be adjusted according to the specific location of the target detection device corresponding to the target meter under test, thereby reducing interference between meter devices and external interference, reducing the possibility of communication failure, and improving frequency utilization and communication connection reliability.

[0086] Specifically, the server determines the communication frequency and communication address corresponding to the target meter based on the coordinates of the target detection device, the coordinates of the reference point, the first frequency band, and the target detection location number, and establishes a binding relationship between the meter number, communication frequency, and communication address corresponding to the target meter.

[0087] Step 130: Send the binding relationship to the target detection device so that after the target meter under test is detected to be in place and the meter number of the target meter under test is verified, the target detection device sends the communication frequency and communication address corresponding to the target meter under test to the target meter under test according to the binding relationship, so that the target meter under test establishes a communication connection with the target detection device according to the communication frequency and communication address.

[0088] When the target detection device detects the meter under test, it is necessary to verify the meter number of the meter under test to determine whether the meter under test that has arrived at the target detection location is the target meter under test.

[0089] In some embodiments, the verification step of the target meter number includes: after the target detection device detects that the meter under test has arrived at the target detection location, it supplies power to the meter under test, reads the meter number of the meter under test through carrier communication, and uploads the meter number to the server. The server compares the meter number of the current meter under test with the meter number of the target meter under test and sends the result back to the target detection device. If the verification of the meter number of the target meter under test is successful, the current meter under test can be determined to be the target meter under test.

[0090] The binding relationship includes the meter number, communication frequency, and communication address of the target meter under test. Based on the communication frequency and communication address, a communication connection can be established between the target meter under test and the target detection device, and then subsequent control of the target meter under test can be performed according to the instructions of the server.

[0091] In the above technical solution, the target detection location of the target detection device corresponding to the target meter under test is determined by querying the available detection location. A binding relationship between the meter number, communication frequency, and communication address is established, and the binding relationship is sent to the target detection device. The target meter under test is then transmitted to the target detection location, and the meter number of the target meter under test is verified. After the meter number verification is successful, a communication connection is established between the target meter under test and the target detection device. This optimizes the communication connection establishment process between the meter under test and the detection device. The communication frequency is determined based on the coordinates of the detection device and the location number of the detection location, which improves the utilization rate of the communication frequency and the reliability of the communication connection.

[0092] In one embodiment of this application, determining the binding relationship between the meter number, communication frequency, and communication address corresponding to the target meter being measured, based on the coordinates of the target detection device and the location number of the target detection device, includes:

[0093] Based on the first frequency band, the preset three-dimensional space is divided into a three-dimensional grid with the first length as the side length, and each grid corresponds to a complete frequency band;

[0094] The frequency deviation value is determined based on the coordinates of the reference point, the coordinates of the target detection device, and the tag number of the target detection location;

[0095] Based on the frequency deviation value and the first frequency band, determine the communication frequency corresponding to the target meter under test;

[0096] Based on the coordinates of the target detection device and the tag number of the target detection location, determine the communication address corresponding to the target meter being measured;

[0097] Establish a binding relationship between the meter number, communication frequency, and communication address of the target meter under test.

[0098] It is understandable that the first frequency band is a preset frequency range. Based on the first frequency band and a first length, a preset three-dimensional space is divided. Each three-dimensional grid defined by the first length corresponds to a part within this frequency band. According to the first frequency band, the three-dimensional grid divided with the first length as the side length contains a complete communication frequency band in each grid, so the communication between the grids does not interfere with each other.

[0099] In some embodiments, the first frequency band is set to a 2400MHz band, and the first length is set to 150 meters. The 2400MHz band, also known as the 2.4GHz band, has a frequency range of 2400MHz to 2483.5MHz and is widely used in various wireless communication applications.

[0100] The target detection device is a detection device used to detect the target meter being tested. A reference point refers to a point in a preset three-dimensional space used as a reference or benchmark. This reference point can be the center point of the preset three-dimensional space, which may refer to the three-dimensional space corresponding to the building where the communication system is located. Here, the communication system refers to the communication system including the meter being tested, the detection device, and the server in this embodiment. Based on the coordinates of the reference point and the target detection device, the frequency deviation value can be determined, thereby determining the communication frequency corresponding to the target meter being tested.

[0101] The frequency deviation value is determined based on the coordinates of the target detection device and the coordinates of the reference point, and the communication frequency corresponding to the target meter is determined based on the frequency deviation value. This realizes the setting of the communication frequency based on the coordinate position, reduces the interference between the target meters, adjusts the communication frequency by the coordinates, establishes the correspondence between the communication frequency and the position coordinates, balances the frequency distribution of each coordinate position, and improves the utilization rate of the communication frequency.

[0102] It is understandable that the communication frequency corresponding to the target meter being tested is also the communication frequency corresponding to the target detection position of the target detection device corresponding to the target meter being tested. After the target meter being tested reaches the target detection position, the target meter being tested can communicate with the target detection device according to this communication frequency.

[0103] Each detection position of the detection device is assigned a tag number, and these tag numbers are unique within their corresponding detection device range. Tag numbers may overlap between different detection devices; that is, the same tag number may represent different detection positions on different devices. Therefore, the coordinates of the target detection device in a preset three-dimensional space are combined with the tag number of the corresponding target detection position. The communication address corresponding to the target meter under test is determined based on the coordinates of the target detection device and the tag number of the target detection position. This achieves reliable management of communication addresses and ensures the uniqueness of the communication address corresponding to the target meter under test.

[0104] It is understandable that the communication address corresponding to the target meter being tested is also the communication address corresponding to the target detection location of the target detection device. After the target meter being tested arrives at the target detection location, the target meter being tested can communicate with the target detection device according to this communication address.

[0105] In the above technical solution, communication frequency bands are divided by pre-setting a three-dimensional spatial grid. The frequency deviation value is determined by combining the coordinates of the target detection device and the coordinates of the reference point, thereby determining the communication frequency corresponding to the target meter under test. By combining the coordinates of the target detection device with the tag number of the target detection location, the communication address corresponding to the target meter under test is determined. Finally, a binding relationship is established between the meter number, communication frequency, and communication address of the target meter under test, which improves the accuracy and utilization of the communication frequency. By establishing the correspondence between the coordinates of the detection device and the tag number of the detection location and the communication frequency of the meter under test, communication interference between devices is reduced, the frequency distribution of each coordinate position is balanced, and the reliability of the communication connection is improved.

[0106] In one embodiment of this application, determining the frequency deviation value based on the coordinates of the reference point, the coordinates of the target detection device, and the location number of the target detection device includes:

[0107] Based on the coordinates of the reference point, the coordinates of the target detection device, and the tag number of the target detection location, the frequency deviation value is determined using the following formula:

[0108]

[0109] Wherein, Δf is the frequency deviation value, z2 is the z-axis coordinate of the target detection device, the coordinates of the target detection device are p2(x2,y2,z2), z1 is the z-axis coordinate of the reference point, the coordinates of the reference point are p1(x1,y1,z1), k is a coefficient, k∈[0,1], flr is the floor number where the target detection device is located, bit is the location number of the target detection device, and sgn is the sign function.

[0110]

[0111] Understandably, the coordinates p2(x2,y2,z2) of the target detection device and the coordinates p1(x1,y1,z1) of the reference point are used to determine the specific location in the preset three-dimensional space, while the floor number flr refers to the physical floor location of the target detection device. Since the actual working environment is usually a multi-story building or facility, different floors may have different communication frequencies due to environmental differences (such as electromagnetic interference, building structure, etc.). The floor number (flr) is introduced as a parameter in the formula to take into account the influence of the difference in communication environment between different floors on the frequency deviation.

[0112] In the process of determining the frequency deviation value Δf based on the coordinates of the target detection device and the coordinates of the reference point, parameters such as the floor number of the target detection device and the location number of the target detection point are used. It can be understood that the frequency deviation is the frequency deviation of the target detection point corresponding to the target detection device. When the target meter reaches the target detection point, this frequency deviation can be used to further determine the communication frequency corresponding to the target meter.

[0113] In the above technical solution, the frequency deviation value is determined by combining the coordinates of the target detection device, the coordinates of the reference point, the floor number, and the tag number of the target detection location using Formula 1. The frequency deviation value can be used to determine the communication frequency corresponding to the target meter being measured. The calculation of the frequency deviation value takes into account the spatial position of the target detection device (including the floor and coordinates) and the tag number of the detection location, and considers the positional differences between different detection devices and detection locations. This improves the utilization rate of the communication frequency, helps to reduce communication interference between devices, and improves the flexibility and reliability of establishing communication connections.

[0114] In one embodiment of this application, determining the communication frequency corresponding to the target meter under test based on the frequency deviation value and the first frequency band includes:

[0115] Based on the frequency deviation value and the first frequency band, the communication frequency corresponding to the target meter under test is determined using the following formula:

[0116] Formula 2: f = ((f1-f2) / 2) + Δf

[0117] Where f is the communication frequency corresponding to the target meter under test, f1 is the maximum frequency value corresponding to the first frequency band, f2 is the minimum frequency value corresponding to the first frequency band, and Δf is the frequency deviation value.

[0118] In Formula 2, the difference between the maximum frequency f1 and the minimum frequency f2 corresponding to the first frequency band is calculated and divided by 2. This value can represent the average value of all frequencies in the first frequency band. This value is added to the frequency deviation corresponding to the target meter to obtain the communication frequency f corresponding to the target meter.

[0119] The frequency deviation value is determined based on the coordinates of the target detection device and the reference point, reflecting the positional difference of the target detection device relative to the reference point. Furthermore, the communication frequency corresponding to the target meter under test is determined based on the frequency deviation value and the first frequency band, that is, the frequency within the first frequency band is allocated according to the positional difference. Therefore, each target meter under test will obtain a communication frequency corresponding to its position, avoiding the waste and conflict of frequency resources and improving the utilization rate of the frequency band.

[0120] In the above technical solution, the communication frequency corresponding to the target meter is dynamically determined by the frequency deviation value relative to the reference point and the frequency range of the first frequency band, thereby realizing the rational allocation of the communication frequency. The target meter and the target detection device establish a communication connection through this communication frequency, avoiding the waste and conflict of frequency resources and improving the stability and efficiency of the communication connection.

[0121] In one embodiment of this application, determining the communication address corresponding to the target meter based on the coordinates of the target detection device and the location number of the target detection device includes:

[0122] Based on the coordinates of the target detection device and the location number of the target detection device, the communication address corresponding to the target meter is determined using the following formula three:

[0123]

[0124] Where addr is the communication address corresponding to the target meter being measured, p2(x2,y2,z2) is the coordinate of the target detection device, and bit is the bit number of the target detection location.

[0125] In order for each target meter to communicate with its corresponding target detection device, it is necessary to assign it a unique communication address. Formula 3 can be used to determine the communication address corresponding to the target detection device based on the coordinates of the target detection device and the tag number of the target detection device, which is also the communication address corresponding to the target meter.

[0126] Once the target meter reaches the target detection location, it can communicate with the target detection device through this communication address.

[0127] In the above technical solution, the communication address corresponding to the target meter is determined by formula three based on the coordinates of the target detection device and the tag number of the target detection location. This achieves reliable management of the communication address, improves the accuracy of the communication address allocation, and enables the meter under test and the detection device to establish a communication connection through the communication address, thereby improving the stability and reliability of the communication method.

[0128] In one embodiment of this application, the method further includes: fine-tuning the communication frequency corresponding to the target meter under test according to the pre-configured fixed bandwidth of each detection location.

[0129] Understandably, by binding the meter number, communication frequency, and communication address of the target meter under test, the target detection device can establish a communication connection with the target meter under test located at each inspection position and perform verification. However, some unforeseen circumstances, such as electromagnetic interference, equipment failure, or network congestion, may cause the allocated communication frequency to be unusable.

[0130] The server pre-configures fixed bandwidth resources for each testing position of the testing device. This fixed bandwidth defines the highest and lowest communication frequencies that the meter under test can use at that testing position. When communication interference or frequency conflicts occur, the communication frequency corresponding to the target meter under test is fine-tuned within the fixed bandwidth. This fine-tuning process finds a frequency that is within the bandwidth limit and less susceptible to interference, effectively responding to unexpected situations, avoiding communication interruptions, and improving the reliability and flexibility of the communication connection.

[0131] In the above technical solution, the communication frequency corresponding to the target meter under test is finely adjusted according to the pre-configured fixed bandwidth of each detection position, so that the meter under test and the detection device can communicate in a complex environment. By adjusting the communication frequency, sudden interference can be effectively dealt with, frequency band resource utilization can be optimized, and the reliability of the communication connection can be improved.

[0132] In one embodiment of this application, the method further includes:

[0133] A first instruction is sent to the conveyor belt, which instructs the conveyor belt to transport the target meter to the target detection position of the target detection device.

[0134] The server queries the available testing positions of each detection device, determines the target testing position of the target device corresponding to the meter under test, and then instructs the conveyor belt via a first command to transport the meter under test to the target testing position of the target detection device, effectively reducing errors and interventions from manual operation. By controlling the movement of the conveyor belt, the target meter under test is brought to the target testing position, providing a foundation for subsequent verification of the meter number and further establishment of a communication connection with the target detection device.

[0135] In the above technical solution, a first instruction is sent to the conveyor belt to realize the target measurement meter being transported to the target detection device via the conveyor belt. This reduces manual intervention, improves the automation level and accuracy of establishing communication connections, and enhances the efficiency of the communication method.

[0136] Figure 3 This is a second schematic flowchart of a communication method provided in some embodiments of this application. For example... Figure 3 As shown, the communication method includes steps 310, 320, and 330. This communication method is applied to a target detection device. The executing entity of this communication method can be the target detection device itself, or a functional module or entity within the target detection device capable of implementing the communication method. The following description uses the target detection device as an example to illustrate the communication method provided in this application embodiment.

[0137] Step 310: Receive the binding relationship between the meter number, communication frequency and communication address of the target meter under test.

[0138] The target detection device receives the binding relationship between the meter number, communication frequency, and communication address of the target meter under test. The meter number in the binding relationship can be used by the server to verify the meter number of the target meter under test after it arrives at the designated detection location of the target detection device. The communication frequency and communication address can be used for communication between the target meter under test and the target detection device.

[0139] The binding relationship between the meter number, communication frequency, and communication address of the target meter under test is determined based on the coordinates of the target detection device and the tag number of the target detection location. The target detection device is a device used to calibrate the target meter under test. The target meter under test is transported to the target detection location of the target detection device by the meter conveyor belt.

[0140] The communication frequency and communication address used when the target meter communicates with the target detection device are related to the coordinates of the target detection device and the tag number of the target detection location. Therefore, the communication frequency can be adjusted according to the specific location of the target detection device corresponding to the meter under test, thereby reducing interference between meter devices and external interference, reducing the possibility of communication failure, and improving frequency utilization and communication connection reliability.

[0141] Step 320: After detecting that the target meter under test is in place, read the meter number of the target meter under test and report the meter number of the target meter under test to the server so that the server can verify the meter number of the target meter under test.

[0142] When the target meter is detected to have reached the detection position of the target detection device, the target detection device will read the meter number of the target meter and report this information to the server. After receiving the meter number, the server will verify it to ensure the accuracy and validity of the meter number.

[0143] In some embodiments, after the target detection device detects that the meter under test has arrived at the target location, it supplies power to the meter under test, reads the meter number of the meter under test via carrier communication, and reports the meter number to the server. The server compares the meter number of the current meter under test with the meter number of the target meter under test and receives the verification result sent by the server. If the meter number of the target meter under test is verified successfully, the current meter under test can be determined to be the target meter under test.

[0144] Step 330: After the meter number of the target meter under test is verified, the communication frequency and communication address corresponding to the target meter under test are sent to the target meter under test according to the binding relationship, so that the target meter under test can establish a communication connection with the target detection device according to the communication frequency and communication address.

[0145] Communication frequency and communication address are parameters used to establish a communication connection with the target meter under test. Based on the binding relationship between the meter number, communication frequency and communication address of the target meter under test, the corresponding communication frequency and communication address are sent to the target meter under test. Based on the communication frequency and communication address, a communication connection can be established between the target meter under test and the target detection device. Then, the target detection device can control the meter under test according to the instructions of the server.

[0146] It is understood that the target meter receives the communication frequency and communication address corresponding to the target meter from the target detection device; and establishes a communication connection with the target detection device based on the communication frequency and communication address.

[0147] In the above technical solution, the target detection device receives the binding relationship between the meter number, communication frequency, and communication address of the target meter under test. After the target meter under test arrives, it reads the meter number of the target meter under test and reports it to the server. After the server verifies the meter number of the target meter under test, the target detection device sends the corresponding communication frequency and communication address to the target meter under test, so that the target meter under test and the target detection device can establish a communication connection. This optimizes the communication connection establishment process between the meter under test and the detection device. The communication frequency is determined according to the coordinates of the detection device and the location number of the detection position, which improves the utilization rate of the communication frequency and the reliability of the communication connection.

[0148] In one embodiment of this application, the method further includes:

[0149] Monitoring wireless signals in communication channels;

[0150] The device receives a connection establishment request from the target meter under test, sends an authentication message, and establishes a wireless communication link between the target detection device and the target meter under test.

[0151] Understandably, the target detection device continuously monitors the wireless signals on its communication channel to promptly receive connection establishment requests from the target meter under test. The communication channel, or data transmission channel, can be a specific range within a wireless frequency band. Upon receiving a connection establishment request, the target detection device sends an authentication message to the target meter under test, establishing a wireless communication link between them. The target detection device and the target meter under test can then exchange business data under the server's instructions.

[0152] In the above technical solution, by monitoring the communication channel, receiving the connection establishment request from the target meter under test, sending authentication messages and establishing a wireless communication link, the detection device and the meter under test can establish a secure and reliable communication connection, which improves the accuracy and efficiency of the communication connection and provides a foundation for subsequent control of the target meter under test.

[0153] In one embodiment of this application, the method further includes: controlling the operating state of the target meter under test according to instructions issued by the server.

[0154] The target detection device receives control commands from the server, which may include operations or status adjustments required for the target meter under test. After a successful communication connection is established between the target detection device and the target meter under test, the target detection device remotely controls the target meter under test and adjusts its operating status according to the received commands.

[0155] In the above technical solution, by establishing a wireless communication link between the target detection device and the target meter under test, and by remotely controlling the meter's operating status according to server instructions, effective control of the target meter under test can be achieved.

[0156] The communication method provided in this application can be executed by a communication device. This application uses the example of a communication device executing the communication method to illustrate the communication device provided in this application.

[0157] Figure 4 This is one of the structural schematic diagrams of a communication device provided in some embodiments of this application. For example... Figure 4 As shown, the communication device 400 includes:

[0158] The first determining unit 401 is used to query the available testing positions of each testing device based on the meter number of the target meter under test, and determine the target testing position of the target testing device corresponding to the target meter under test.

[0159] The second determining unit 402 is used to determine the binding relationship between the meter number, communication frequency and communication address of the target meter being measured, based on the coordinates of the target detection device and the location number of the target detection device;

[0160] The first sending unit 403 is used to send the binding relationship to the target detection device, so that after the target meter under test is detected to be in place and the meter number of the target meter under test is verified, the target detection device sends the communication frequency and communication address corresponding to the target meter under test to the target meter under test according to the binding relationship, so that the target meter under test establishes a communication connection with the target detection device according to the communication frequency and communication address.

[0161] Optionally, the second determining unit 402 is used for:

[0162] Based on the first frequency band, the preset three-dimensional space is divided into a three-dimensional grid with the first length as the side length, and each grid corresponds to a complete frequency band;

[0163] The frequency deviation value is determined based on the coordinates of the reference point, the coordinates of the target detection device, and the tag number of the target detection location;

[0164] Based on the frequency deviation value and the first frequency band, determine the communication frequency corresponding to the target meter under test;

[0165] Based on the coordinates of the target detection device and the tag number of the target detection location, determine the communication address corresponding to the target meter being measured;

[0166] Establish a binding relationship between the meter number, communication frequency, and communication address of the target meter under test.

[0167] Optionally, determining the frequency deviation value based on the coordinates of the reference point, the coordinates of the target detection device, and the location number of the target detection device includes:

[0168] Based on the coordinates of the reference point, the coordinates of the target detection device, and the tag number of the target detection location, the frequency deviation value is determined using the following formula:

[0169]

[0170] Wherein, Δf is the frequency deviation value, z2 is the z-axis coordinate of the target detection device, the coordinates of the target detection device are p2(x2,y2,z2), z1 is the z-axis coordinate of the reference point, the coordinates of the reference point are p1(x1,y1,z1), k is a coefficient, k∈[0,1], flr is the floor number where the target detection device is located, bit is the location number of the target detection device, and sgn is the sign function.

[0171]

[0172] Optionally, determining the communication frequency corresponding to the target meter under test based on the frequency deviation value and the first frequency band includes:

[0173] Based on the frequency deviation value and the first frequency band, the communication frequency corresponding to the target meter under test is determined using the following formula:

[0174] Formula 2: f = ((f1-f2) / 2) + Δf

[0175] Where f is the communication frequency corresponding to the target meter under test, f1 is the maximum frequency value corresponding to the first frequency band, f2 is the minimum frequency value corresponding to the first frequency band, and Δf is the frequency deviation value.

[0176] Optionally, determining the communication address corresponding to the target meter based on the coordinates of the target detection device and the location number of the target detection device includes:

[0177] Based on the coordinates of the target detection device and the location number of the target detection device, the communication address corresponding to the target meter is determined using the following formula three:

[0178]

[0179] Where addr is the communication address corresponding to the target meter being measured, p2(x2,y2,z2) is the coordinate of the target detection device, and bit is the bit number of the target detection location.

[0180] Optionally, the device further includes a first control unit, for:

[0181] Based on the pre-configured fixed bandwidth of each detection position, the communication frequency corresponding to the target meter under test is finely adjusted.

[0182] Optionally, the device further includes a second transmitting unit for:

[0183] A first instruction is sent to the conveyor belt, which instructs the conveyor belt to transport the target meter to the target detection position of the target detection device.

[0184] In the above technical solution, the communication device determines the target detection location of the target detection device corresponding to the target meter by querying available detection locations, establishes a binding relationship between the meter number, communication frequency, and communication address, and sends this binding relationship to the target detection device. The target meter is then transmitted to the target detection location, and the meter number of the target meter is verified. After the meter number verification is successful, a communication connection is established between the target meter and the target detection device. This optimizes the communication connection establishment process between the meter and the detection device. The communication frequency is determined based on the coordinates of the detection device and the location number of the detection location, which improves the utilization rate of the communication frequency and the reliability of the communication connection.

[0185] The communication device in the embodiments of this application can be a server or a component within a server, such as an integrated circuit or a chip. The embodiments of this application do not specifically limit the type of server.

[0186] The communication device in this application embodiment can be a device with an operating system. This operating system can be a Microsoft (Windows) operating system, an Android operating system, an iOS operating system, or other possible operating systems; this application embodiment does not specifically limit the specific operating system.

[0187] The communication device provided in this application embodiment can implement the various processes implemented in the above communication method embodiment, and will not be described again here to avoid repetition.

[0188] Figure 5 This is a second schematic diagram of the structure of a communication device provided in some embodiments of this application. For example... Figure 5 As shown, the communication device 500 includes:

[0189] The first receiving unit 501 is used to receive the binding relationship between the meter number, communication frequency and communication address of the target meter under test;

[0190] The first processing unit 502 is used to read the meter number of the target meter after detecting that the target meter under test has arrived, and report the meter number of the target meter under test to the server so that the server can verify the meter number of the target meter under test.

[0191] The third sending unit 503 is used to send the communication frequency and communication address corresponding to the target meter to the target meter according to the binding relationship after the meter number of the target meter is verified, so that the target meter can establish a communication connection with the target detection device according to the communication frequency and communication address.

[0192] Optionally, the device further includes a second processing unit for:

[0193] Monitoring wireless signals in communication channels;

[0194] The device receives a connection establishment request from the target meter under test, sends an authentication message, and establishes a wireless communication link between the target detection device and the target meter under test.

[0195] Optionally, the device further includes a second control unit for:

[0196] Control the operating status of the target meter under test according to the instructions issued by the server.

[0197] In the above technical solution, the communication device receives the binding relationship between the meter number, communication frequency, and communication address of the target meter under test. After the target meter under test arrives, it verifies the meter number and sends the corresponding communication frequency and communication address to it, so that the target meter under test can establish a communication connection with the target detection device. This optimizes the communication connection establishment process between the meter under test and the detection device. The communication frequency is determined according to the coordinates of the detection device and the location number of the detection position, which improves the utilization rate of the communication frequency and the reliability of the communication connection.

[0198] The communication device in the embodiments of this application can be a detection device, or a component within the detection device, such as an integrated circuit or a chip. The embodiments of this application are not specifically limited to this.

[0199] The communication device in this application embodiment can be a device with an operating system. This operating system can be a Microsoft (Windows) operating system, an Android operating system, an iOS operating system, or other possible operating systems; this application embodiment does not specifically limit the specific operating system.

[0200] The communication device provided in this application embodiment can implement the various processes implemented in the above communication method embodiment, and will not be described again here to avoid repetition.

[0201] In some embodiments, such as Figure 6 As shown, this application embodiment also provides an electronic device 600, including a processor 601, a memory 602, and a computer program stored in the memory 602 and executable on the processor 601. When the program is executed by the processor 601, it implements the various processes of the above-described communication method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here.

[0202] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0203] This application also provides a non-transitory computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described communication method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0204] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0205] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described communication method.

[0206] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0207] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described communication method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0208] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0209] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0210] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the related technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0211] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

[0212] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0213] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

Claims

1. A communication method characterized by comprising: The application is applied to a server, comprising: According to the received meter number of the target measured meter, the free calibration position of each detection device is inquired to determine the target calibration position of the target detection device corresponding to the target measured meter; According to the coordinates of the target detection device and the position number of the target calibration position, the binding relationship among the meter number, the communication frequency and the communication address corresponding to the target measured meter is determined; The target detection device is sent the binding relationship, so that after the target detection device detects the target measured meter, after the meter number of the target measured meter is verified, the target detection device sends the communication frequency and the communication address corresponding to the target measured meter to the target measured meter according to the binding relationship, so that the target measured meter establishes a communication connection with the target detection device according to the communication frequency and the communication address; According to the coordinates of the target detection device and the position number of the target calibration position, the binding relationship among the meter number, the communication frequency and the communication address corresponding to the target measured meter is determined; According to the first frequency band, a preset three-dimensional space is divided into a three-dimensional grid with a first length as the side length, and each grid corresponds to a complete frequency band; According to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target calibration position, a frequency deviation value is determined; According to the frequency deviation value and the first frequency band, the communication frequency corresponding to the target measured meter is determined; According to the coordinates of the target detection device and the position number of the target calibration position, the communication address corresponding to the target measured meter is determined; The binding relationship among the meter number, the communication frequency and the communication address corresponding to the target measured meter is established.

2. The communication method according to claim 1, characterized by, According to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target calibration position, a frequency deviation value is determined; According to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target calibration position, a frequency deviation value is determined by using the following formula one: Formula 1 wherein, is the frequency deviation value, is the coordinate of the target detection device, is the axis coordinate of the target detection device, and the coordinate of the target detection device is , is the axis coordinate of the reference point, and the coordinate of the reference point is , , is a coefficient, , is the floor number where the target detection device is located, is the position number of the target detection position, is a sign function, 。 3. The communication method according to claim 1, wherein, According to the frequency deviation value and the first frequency band, the communication frequency corresponding to the target measured meter is determined by using the following formula two: According to the coordinates of the target detection device and the position number of the target calibration position, the communication address corresponding to the target measured meter is determined by using the following formula three: Formula 2 wherein, a communication frequency corresponding to the target meter to be measured, a maximum frequency value corresponding to the first frequency band, a minimum frequency value corresponding to the first frequency band, the frequency deviation value.

4. The communication method according to claim 1, characterized by, The method further comprises: according to the fixed bandwidth of each calibration position pre-configured, the communication frequency corresponding to the target measured meter is fine-tuned. The method further comprises: Formula 3 wherein, is a communication address corresponding to the target meter, is a coordinate of the target detection device, is a bit number of the target detection position.

5. The communication method according to claim 3, wherein, A first instruction is sent to the conveying belt, and the first instruction is used to instruct the conveying belt to convey the target measured meter to the target calibration position of the target detection device.

6. The communication method of claim 1, wherein, The application is applied to a target detection device, comprising: The binding relationship among the meter number, the communication frequency and the communication address corresponding to the target measured meter is received; 7. A communication method characterized by comprising: The binding relationship among the meter number, the communication frequency and the communication address corresponding to the target measured meter is received; ​ After detecting that the target meter is in place, a meter number of the target meter is read, and the meter number of the target meter is reported to a server, so that the server verifies the meter number of the target meter; After the meter number of the target meter is verified, a communication frequency and a communication address corresponding to the target meter are sent to the target meter according to the binding relationship, so that the target meter establishes a communication connection with the target detection device according to the communication frequency and the communication address; The binding relationship among the meter number, the communication frequency and the communication address corresponding to the target meter is determined according to the coordinates of the target detection device and the position number of the target detection position through the following steps: According to a first frequency band, a preset three-dimensional space is divided into a three-dimensional grid with a first length as a side length, and each grid corresponds to a complete frequency band; According to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position, a frequency deviation value is determined; According to the frequency deviation value and the first frequency band, the communication frequency corresponding to the target meter is determined; According to the coordinates of the target detection device and the position number of the target detection position, the communication address corresponding to the target meter is determined; The binding relationship among the meter number, the communication frequency and the communication address corresponding to the target meter is established.

8. The communication method according to claim 7, wherein, The method further comprises: Listening to a wireless signal of a communication channel; Receiving a connection establishment request sent by the target meter, sending an authentication message, and establishing a wireless communication link between the target detection device and the target meter.

9. The communication method according to claim 8, wherein, The method further comprises: controlling the running state of the target meter according to an instruction issued by the server.

10. A communications device, characterized by Comprise: A first determination unit is configured to determine a target detection position of a target detection device corresponding to a target meter according to a meter number of the target meter received; A second determination unit is configured to determine a binding relationship among a meter number, a communication frequency and a communication address corresponding to the target meter according to the coordinates of the target detection device and the position number of the target detection position; A first sending unit is configured to send the binding relationship to the target detection device, so that the target detection device sends the communication frequency and the communication address corresponding to the target meter to the target meter according to the binding relationship after detecting that the target meter is in place and after the meter number of the target meter is verified, so that the target meter establishes a communication connection with the target detection device according to the communication frequency and the communication address; The second determination unit is configured to: According to a first frequency band, a preset three-dimensional space is divided into a three-dimensional grid with a first length as a side length, and each grid corresponds to a complete frequency band; According to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position, a frequency deviation value is determined; According to the frequency deviation value and the first frequency band, the communication frequency corresponding to the target meter is determined; According to the coordinates of the target detection device and the position number of the target detection position, the communication address corresponding to the target meter is determined; According to the coordinates of the target detection device and the position number of the target detection position, a communication address corresponding to the target meter to be measured is determined; A binding relationship among a meter number, a communication frequency and a communication address corresponding to the target meter to be measured is established.

11. A communications device, characterized by Comprise: A first receiving unit is configured to receive a binding relationship among a meter number, a communication frequency and a communication address corresponding to the target meter to be measured; A first processing unit is configured to, after detecting that the target meter to be measured is in place, read a meter number of the target meter to be measured, and report the meter number of the target meter to be measured to a server, so that the server verifies the meter number of the target meter to be measured; A third sending unit is configured to, after the meter number of the target meter to be measured is verified, send a communication frequency and a communication address corresponding to the target meter to be measured to the target meter to be measured according to the binding relationship, so that the target meter to be measured establishes a communication connection with the target detection device according to the communication frequency and the communication address; Wherein, the binding relationship among the meter number, the communication frequency and the communication address corresponding to the target meter to be measured is determined according to the coordinates of the target detection device and the position number of the target detection position by the following steps: According to a first frequency band, a preset three-dimensional space is divided into a three-dimensional grid with a first length as a side length, and each grid corresponds to a complete frequency band; According to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position, a frequency deviation value is determined; According to the frequency deviation value and the first frequency band, a communication frequency corresponding to the target meter to be measured is determined; According to the coordinates of the target detection device and the position number of the target detection position, a communication address corresponding to the target meter to be measured is determined; A binding relationship among a meter number, a communication frequency and a communication address corresponding to the target meter to be measured is established.

12. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to realize the communication method of any one of claims 1-6, or realize the communication method of any one of claims 7-9.

13. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to realize the communication method of any one of claims 1-6, or realize the communication method of any one of claims 7-9.

Citation Information

Patent Citations

  • Channel frequency hopping method for large-scale verification system of wireless pulse type metering equipment

    CN112702082A