Communication method, communication device, electronic equipment and readable storage medium

By querying the vacancy check positioning in the metering device verification system and establishing a binding relationship between the table number, communication frequency and communication address, the communication connection problem caused by interference between the metering device and external equipment is solved, and a more efficient and reliable communication connection is achieved.

CN119997258AActive Publication Date: 2025-05-13BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When the metering device is checked using a preset communication frequency, the metering device may interfere with each other and may also be disturbed by other wireless devices in the external environment, affecting the normal communication connection between the meter being measured and the detection device.

Method used

By querying the vacancy detection positioning, the target detection positioning of the target detection device corresponding to the target meter is determined, the binding relationship between the table number, communication frequency and communication address is established, and the binding relationship is sent to the target detection device, so that the target meter is measured and the target detection device is established to establish a communication connection between the target detection device.

Benefits of technology

The communication connection establishment process between the measured meter and the detection device is optimized, the utilization rate of communication frequency and the reliability of communication connection are improved, and communication interference between devices is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119997258A_ABST
    Figure CN119997258A_ABST
Patent Text Reader

Abstract

The invention discloses a communication method, a communication device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: according to a received meter number of a target to-be-detected meter, querying unoccupied detection positions of current detection devices, and determining target detection positions of target detection devices corresponding to the target to-be-detected meter; determining a binding relationship among a meter number, a communication frequency and a communication address corresponding to the target tested meter; and sending the binding relationship to the target detection device, so that the target detected meter establishes communication connection with the target detection device according to the communication frequency and the communication address. The communication frequency is determined according to the coordinates of the detection device and the position number of the detection position, the communication connection establishment process between the detected 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] The present application belongs to the field of communication technology, and in particular, relates to a communication method, a communication device, an electronic device and a readable storage medium. Background Art

[0002] When using a preset communication frequency to calibrate meter equipment, if the adopted communication frequency is widely used, the meter equipment may interfere with each other and may also be interfered with by other wireless devices in the external environment, affecting the normal communication connection between the meter under test and the detection device, thereby affecting the meter calibration results. Summary of the invention

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

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

[0005] According to the meter number of the received target meter under test, query the available detection positions of each detection device at present, and determine the target detection position of the target detection device corresponding to the target meter under test;

[0006] Determine the binding relationship between the meter number, communication frequency and communication address corresponding to the target meter under test according to the coordinates of the target detection device and the position number of the target detection position;

[0007] The binding relationship is sent to the target detection device, so that after the target detection device detects that the target meter under test is in place and 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 establishes a communication connection with the target detection device according to the communication frequency and communication address.

[0008] In the above technical scheme, the target detection position of the target detection device corresponding to the target meter under test is determined by querying the available detection positions, a binding relationship among 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 transmitted to the target detection position, the meter number of the target meter under test is verified, and the target meter under test establishes a communication connection with the target detection device after the meter number verification is passed, thereby optimizing the process of establishing the communication connection between the meter under test and the detection device, determining the communication frequency according to the coordinates of the detection device and the position number of the detection position, thereby improving the utilization rate of the communication frequency and also improving the reliability of the communication connection.

[0009] According to an embodiment of the present application, determining the binding relationship between the meter number, communication frequency and communication address corresponding to the target measured meter according to the coordinates of the target detection device and the position number of the target detection position includes:

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

[0011] Determining a frequency deviation value according to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position;

[0012] Determining a communication frequency corresponding to the target measured meter according to the frequency deviation value and the first frequency band;

[0013] Determine the communication address corresponding to the target meter under test according to the coordinates of the target detection device and the position number of the target detection position;

[0014] A binding relationship between the meter number, communication frequency and communication address corresponding to the target measured meter is established.

[0015] In the above technical scheme, the communication frequency band is divided by presetting a three-dimensional space to divide the three-dimensional grid, and the frequency deviation value is determined by combining the coordinates of the target detection device and the coordinates of the reference point, and then the communication frequency corresponding to the target meter under test is determined. The target detection device coordinates are combined with the position number of the target detection position to determine the communication address corresponding to the target meter under test, and finally a binding relationship between the meter number, communication frequency and communication address of the target meter under test is established, thereby improving the accuracy and utilization of the communication frequency. By establishing a corresponding relationship between the detection device coordinates and the detection position number 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 the present application, determining the frequency deviation value according to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position includes:

[0017] According to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position, the frequency deviation value is determined using the following formula 1:

[0018]

[0019] Wherein, Δf is the frequency deviation value, z2 is the z-axis coordinate of the target detection device, the coordinate of the target detection device is p2(x2,y2,z2), z1 is the z-axis coordinate of the reference point, the coordinate of the reference point is p1(x1,y1,z1), k is the coefficient, k∈[0,1], flr is the floor number of the target detection device, bit is the bit number of the target detection position, 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 number of floors, and the position number of the target detection position through formula 1. The frequency deviation value can be used to determine the communication frequency corresponding to the target meter under test. The calculation of the frequency deviation value comprehensively considers the spatial position of the target detection device (including the floor and coordinates) and the position number of the detection position, takes into account the position differences between different detection devices and detection positions, 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 an embodiment of the present application, determining the communication frequency corresponding to the target measured meter according to the frequency deviation value and the first frequency band includes:

[0023] According to the frequency deviation value and the first frequency band, the communication frequency corresponding to the target measured meter is determined using the following formula 2:

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

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

[0026] In the above technical scheme, the communication frequency corresponding to the target meter under test is dynamically determined by combining the frequency deviation value relative to the reference point with the frequency range of the first frequency band, thereby realizing the reasonable allocation of the communication frequency. A communication connection is established between the target meter under test and the target detection device through the communication frequency, thereby avoiding the waste and conflict of frequency resources and improving the stability and efficiency of the communication connection.

[0027] According to an embodiment of the present application, determining the communication address corresponding to the target measured meter according to the coordinates of the target detection device and the position number of the target detection position includes:

[0028] 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 under test is determined using the following formula 3:

[0029]

[0030] Among them, addr is the communication address corresponding to the target meter under test, p2(x2, y2, z2) is the coordinates of the target detection device, and bit is the bit number of the target detection position.

[0031] In the above technical scheme, the communication address corresponding to the target meter under test is determined by formula three according to the coordinates of the target detection device and the position number of the target detection position, thereby realizing reliable management of the communication address and improving the accuracy of communication address allocation. A communication connection can be established between the meter under test and the detection device through the communication address, thereby improving the stability and reliability of the communication method.

[0032] According to an embodiment of the present application, the method further includes: fine-tuning the communication frequency corresponding to the target measured meter according to the pre-configured fixed bandwidth of each detection position.

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

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

[0035] A first instruction is sent to the conveyor belt, wherein the first instruction is used to instruct the conveyor belt to transport the target meter to be tested 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 transport the target meter to the target detection position of the target detection device through the conveyor belt, which reduces manual intervention, improves the automation level and accuracy of establishing communication connections, and improves the efficiency of the communication method.

[0037] In a second aspect, the present application provides a communication method, applied to a target detection device, the method comprising:

[0038] Receive the binding relationship between the meter number, communication frequency and communication address corresponding to the target meter under test;

[0039] After detecting that the target meter to be measured is in place, reading the meter number of the target meter to be measured, and reporting the meter number of the target meter to be measured to the server, so that the server verifies the meter number of the target meter to be measured;

[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 establishes a communication connection with the target detection device according to the communication frequency and communication address.

[0041] In the above technical scheme, the target detection device receives the binding relationship between the meter number, communication frequency and communication address of the target meter under test, reads the meter number of the target meter under test and reports it to the server after the target meter under test is in place. 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 establishes a communication connection with the target detection device, thereby optimizing the process of establishing the communication connection between the meter under test and the detection device. The communication frequency is determined based on the coordinates of the detection device and the position number of the detection position, thereby improving the utilization rate of the communication frequency and the reliability of the communication connection.

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

[0043] monitoring wireless signals of communication channels;

[0044] A connection establishment request sent by the target measured meter is received, an authentication message is sent, and a wireless communication link is established between the target detection device and the target measured meter.

[0045] In the above technical scheme, by monitoring the communication channel, receiving the connection establishment request of the target meter under test, sending the authentication message and establishing the wireless communication link, the communication connection can be established safely and reliably between the detection device and the meter under test, thereby improving the accuracy and efficiency of the communication connection and providing a basis for the subsequent control of the target meter under test.

[0046] According to an embodiment of the present application, the method further includes: controlling the operating state of the target measured meter according to the instruction issued by the server.

[0047] In the above technical solution, a wireless communication link is established between the target detection device and the target meter to be measured, and the meter operation status is remotely controlled according to server instructions, thereby achieving effective control of the target meter to be measured.

[0048] In a third aspect, the present application provides a communication device, the device comprising:

[0049] A first determination unit is used to query the available detection positions of each detection device according to the received meter number of the target meter to determine the target detection position of the target detection device corresponding to the target meter;

[0050] A second determination unit is used to determine the binding relationship between the meter number, communication frequency and communication address corresponding to the target measured meter according to the coordinates of the target detection device and the position number of the target detection position;

[0051] The first sending unit is used to send the binding relationship to the target detection device, so that after the target detection device detects that the target meter to be measured is in place and the meter number of the target meter to be measured is verified, the communication frequency and communication address corresponding to the target meter to be measured are sent 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 communication address.

[0052] In the above technical scheme, the communication device determines the target detection position of the target detection device corresponding to the target meter under test by querying the available detection positions, establishes a binding relationship among the meter number, communication frequency and communication address, and sends the binding relationship to the target detection device, transmits the target meter under test to the target detection position, verifies the meter number of the target meter under test, and enables the target meter under test to establish a communication connection with the target detection device after the meter number verification is passed, thereby optimizing the process of establishing the communication connection between the meter under test and the detection device and improving the utilization rate of the communication frequency.

[0053] In a fourth aspect, the present 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 corresponding to the target measured meter;

[0055] A first processing unit is used to read the meter number of the target meter under test after detecting that the target meter under test is in place, and report the meter number of the target meter under test to the server, so that the server verifies 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 under test to the target meter under test according to the binding relationship after the meter number of the target meter under test is verified, so that the target meter under test establishes a communication connection with the target detection device according to the communication frequency and communication address.

[0057] In the above technical scheme, the communication device receives the binding relationship between the meter number, communication frequency and communication address of the target meter under test, verifies the meter number of the target meter under test after it is in place, and sends the corresponding communication frequency and communication address to it, so that the target meter under test establishes a communication connection with the target detection device, thereby optimizing 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 position number of the detection position, thereby improving the utilization rate of the communication frequency and the reliability of the communication connection.

[0058] In a fifth aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the communication method as described in the first aspect above is implemented, or the communication method as described in the second aspect above is implemented.

[0059] In a sixth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the communication method as described in the first aspect above is implemented, or the communication method as described in the second aspect above is implemented.

[0060] In the seventh aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the communication method described in the first aspect above, or to implement the communication method described in the second aspect above.

[0061] In an eighth aspect, the present application provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the communication method as described in the first aspect above is implemented, or the communication method as described in the second aspect above is implemented.

[0062] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0064] Figure 1 It is one of the flowcharts of the communication method provided in some embodiments of the present application;

[0065] Figure 2 is a schematic diagram of meter calibration provided in some embodiments of the present application;

[0066] Figure 3This is a second flow chart of a communication method provided in some embodiments of the present application;

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

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

[0069] Figure 6 It is a schematic diagram of the structure of an electronic device provided in some embodiments of the present application. DETAILED DESCRIPTION

[0070] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0071] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0072] The 2400MHz frequency band is classified as an unlicensed frequency band, so there are a large number of wireless devices in the society that operate in this frequency band, which can easily lead to signal interference. At present, the power meter system is also promoting the use of this frequency band for communication. During the verification process, the meter devices may interfere with each other and may also be interfered by other wireless devices in the external environment.

[0073] In the related art, establishing a communication connection with the metering device usually does not consider the influence of its coordinate position, and only communicates based on the preset frequency. In the case of external radio signal interference, the metering device and the detection device may not be able to successfully establish a stable communication connection, resulting in the obstruction or failure of the normal communication function. There is no function of real-time adjustment or switching of the communication frequency band, that is, once the communication frequency band is set, it cannot be flexibly adjusted according to the current communication environment or interference situation.

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

[0075] Figure 1 This is one of the flow charts of the communication method provided in some embodiments of the present application. Figure 1 As shown, the communication method includes: step 110, step 120 and step 130.

[0076] The communication method is applied to a server. The execution subject of the communication method may be a server or a functional module or functional entity in the server that can implement the communication method. The communication method provided in the embodiment of the present application is described below using the server as an example of the execution subject.

[0077] Step 110: According to the meter number of the received target meter under test, query the available detection positions of each detection device at present, and determine the target detection position of the target detection device corresponding to the target meter under test.

[0078] It should be noted that the meter under test is a general term for devices with wireless communication functions such as IoT meters, concentrators, and fusion terminals that need to be calibrated. The meter numbers of the meters under test are unique and correspond one-to-one with the meters under test, and can be used to identify the meters under test during the process of establishing a communication connection with the target detection device.

[0079] The detection device is a device used to verify the reading or status of the meter under test. The detection device can be used to connect to the meter under test and supply power to the meter under test. The detection device has a built-in wireless transceiver, which can establish a wireless connection with the meter under test according to the communication frequency and communication address parameters sent by the server, and control the operating status of the meter under test according to the server's instructions.

[0080] The calibration position refers to the specific position corresponding to the detection device, which is used to place the meter under test and perform measurements. Figure 2 Schematic diagram of meter calibration provided by some embodiments of the present application. Figure 2 As shown in the figure, the server is the core of the system operation, storing the three-dimensional position coordinates of the detection device, and has all the functions of initiating communication, completing calibration, recording, etc., and is connected to the detection device through a network cable. A detection device usually has multiple calibration locations, which can calibrate multiple meters under test.

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

[0082] The server queries the available calibration positions of each detection device based on the meter number of the received target meter under test, and determines the target calibration position of the target detection device corresponding to the target meter under test, where the target calibration position is the available calibration position of the target detection device. After the server determines the target calibration position of the target detection device corresponding to the target meter under test, the server sends a command to the meter conveyor belt, which delivers the target meter under test to the target calibration position of the target detection device.

[0083] Step 120: Determine the binding relationship between the meter number, communication frequency and communication address corresponding to the target meter under test according to the coordinates of the target detection device and the position number of the target detection position.

[0084] After the target meter under test reaches the designated inspection position of the target detection device, the server can verify the meter number of the target meter under test according to the meter number in the binding relationship; the target meter under test 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 position number of the target detection position, so 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 position number of the target detection position, so that the communication frequency can be adjusted according to the specific position of the target detection device corresponding to the target meter under test, thereby reducing interference between meter devices and the outside, reducing the possibility of communication failure, and improving frequency utilization and reliability of communication connections.

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

[0087] Step 130: Send the binding relationship to the target detection device, so that after the target detection device detects that the target meter is 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.

[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 reaches the target detection position is the target meter under test.

[0089] In some embodiments, the meter number verification step of the target meter under test includes: after the target detection device detects that the meter under test has reached the target detection position, the meter under test is powered, the meter number of the meter under test is read through carrier communication, and the meter number is uploaded 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 to the target detection device. If the meter number of the target meter under test is verified, it can be determined that the current meter under test is the target meter under test.

[0090] The binding relationship includes the meter number, communication frequency and communication address corresponding to the target meter under test. According to 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 the target meter under test can be subsequently controlled according to the instructions of the server.

[0091] In the above technical scheme, the target detection position of the target detection device corresponding to the target meter under test is determined by querying the available detection positions, a binding relationship among 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 transmitted to the target detection position, the meter number of the target meter under test is verified, and the target meter under test establishes a communication connection with the target detection device after the meter number verification is passed, thereby optimizing the process of establishing the communication connection between the meter under test and the detection device, determining the communication frequency according to the coordinates of the detection device and the position number of the detection position, thereby improving the utilization rate of the communication frequency and also improving the reliability of the communication connection.

[0092] In one embodiment of the present application, determining the binding relationship between the meter number, communication frequency and communication address corresponding to the target measured meter according to the coordinates of the target detection device and the position number of the target detection position includes:

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

[0094] Determining a frequency deviation value according to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position;

[0095] Determining a communication frequency corresponding to the target measured meter according to the frequency deviation value and the first frequency band;

[0096] Determine the communication address corresponding to the target meter under test according to the coordinates of the target detection device and the position number of the target detection position;

[0097] A binding relationship between the meter number, communication frequency and communication address corresponding to the target measured meter is established.

[0098] It can be understood that the first frequency band is a preset frequency range, and the preset three-dimensional space is divided based on the first frequency band and the first length, and each three-dimensional grid determined by the first length corresponds to a part in the frequency band. According to the first frequency band, the three-dimensional grids divided by the first length as the side length, each grid is a complete communication frequency band, so the communication between the grids does not interfere with each other.

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

[0100] The target detection device is a detection device used to detect the target meter under test. The reference point refers to a point used as a reference or benchmark in a preset three-dimensional space, and can be the center point of the preset three-dimensional space, wherein the preset three-dimensional space can refer to the three-dimensional space corresponding to the building where the communication system is located, and the communication system here refers to the communication system including the meter under test, the detection device, and the server in the embodiment of the present application. According to the coordinate position of the reference point and the coordinate position of the target detection device, the frequency deviation value can be determined, and then the communication frequency corresponding to the target meter under test can be determined.

[0101] The frequency deviation value is determined according to the coordinates of the target detection device and the coordinates of the reference point, and the communication frequency corresponding to the target meter under test is determined according to the frequency deviation value, thereby realizing the setting of the communication frequency based on the coordinate position, reducing the interference between the target meters under test, adjusting the communication frequency through the coordinates, establishing the corresponding relationship between the communication frequency and the position coordinates, balancing the frequency distribution of each coordinate position, and improving the utilization rate of the communication frequency.

[0102] It can be understood that the communication frequency corresponding to the target meter under test is also the communication frequency corresponding to the target detection position of the target detection device corresponding to the target meter under test. After the target meter under test reaches the target detection position, the target meter under test can communicate with the target detection device according to the communication frequency.

[0103] Each inspection position of the detection device is assigned a position number, and the position number is unique within the range of the corresponding detection device. The inspection position numbers between different detection devices may be repeated, that is, the same position number may represent different inspection positions on different detection devices, so the coordinates of the target detection device in the preset three-dimensional space are combined with the position number of the corresponding target inspection position. The communication address corresponding to the target meter under test is determined based on the coordinates of the target detection device and the position number of the target inspection position, which realizes the reliable management of the communication address and ensures the uniqueness of the communication address corresponding to the target meter under test.

[0104] It can be understood that the communication address corresponding to the target meter under test is also the communication address corresponding to the target detection position of the target detection device corresponding to the target meter under test. After the target meter under test reaches the target detection position, the target meter under test can communicate with the target detection device according to the communication address.

[0105] In the above technical scheme, the communication frequency band is divided by presetting a three-dimensional space to divide the three-dimensional grid, and the frequency deviation value is determined by combining the coordinates of the target detection device and the coordinates of the reference point, and then the communication frequency corresponding to the target meter under test is determined. The target detection device coordinates are combined with the position number of the target detection position to determine the communication address corresponding to the target meter under test, and finally a binding relationship between the meter number, communication frequency and communication address of the target meter under test is established, thereby improving the accuracy and utilization of the communication frequency. By establishing a corresponding relationship between the detection device coordinates and the detection position number 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 the present application, determining the frequency deviation value according to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position includes:

[0107] According to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position, the frequency deviation value is determined using the following formula 1:

[0108]

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

[0110]

[0111] It can be understood that 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 position in the preset three-dimensional space, and the floor number flr refers to the physical floor position 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 number of floors (flr) is introduced as a parameter in the formula, taking into account the impact of differences in communication environment between different floors on frequency deviation.

[0112] In the calculation 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 position number of the target detection position are used. It can be understood that the frequency deviation is the frequency deviation of the target detection position corresponding to the target detection device. When the target meter under test reaches the target detection position, the frequency deviation can be used to further determine the communication frequency corresponding to the target meter under test.

[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 number of floors, and the position number of the target detection position through formula 1. The frequency deviation value can be used to determine the communication frequency corresponding to the target meter under test. The calculation of the frequency deviation value comprehensively considers the spatial position of the target detection device (including the floor and coordinates) and the position number of the detection position, takes into account the position differences between different detection devices and detection positions, 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 the present application, determining the communication frequency corresponding to the target measured meter according to the frequency deviation value and the first frequency band includes:

[0115] According to the frequency deviation value and the first frequency band, the communication frequency corresponding to the target measured meter is determined using the following formula 2:

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

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

[0118] In formula 2, the difference between the maximum frequency f1 corresponding to the first frequency band 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. It is added to the frequency deviation corresponding to the target meter under test to obtain the communication frequency f corresponding to the target meter under test.

[0119] The frequency deviation value is determined based on the coordinates of the target detection device and the coordinates of the reference point, reflecting the position 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 position difference. Therefore, each target meter under test will obtain a communication frequency corresponding to its position, avoiding waste and conflict of frequency resources and improving the utilization rate of the frequency band.

[0120] In the above technical scheme, the communication frequency corresponding to the target meter under test is dynamically determined by combining the frequency deviation value relative to the reference point with the frequency range of the first frequency band, thereby realizing the reasonable allocation of the communication frequency. A communication connection is established between the target meter under test and the target detection device through the communication frequency, thereby avoiding the waste and conflict of frequency resources and improving the stability and efficiency of the communication connection.

[0121] In one embodiment of the present application, determining the communication address corresponding to the target measured meter according to the coordinates of the target detection device and the position number of the target detection position includes:

[0122] 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 under test is determined using the following formula 3:

[0123]

[0124] Among them, addr is the communication address corresponding to the target meter under test, p2(x2, y2, z2) is the coordinates of the target detection device, and bit is the bit number of the target detection position.

[0125] In order for each target meter under test to communicate with its corresponding target detection device, it is necessary to assign it a unique communication address. Through Formula 3, the communication address corresponding to the target detection position of the target detection device, that is, the communication address corresponding to the target meter under test, can be determined based on the coordinates of the target detection device and the position number of the target detection position.

[0126] After the target meter under test reaches the target detection position, the target meter under test can communicate with the target detection device through the communication address.

[0127] In the above technical scheme, the communication address corresponding to the target meter under test is determined by formula three according to the coordinates of the target detection device and the position number of the target detection position, thereby realizing reliable management of the communication address and improving the accuracy of communication address allocation. A communication connection can be established between the meter under test and the detection device through the communication address, thereby improving the stability and reliability of the communication method.

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

[0129] It can be understood that through the binding relationship between the meter number, communication frequency and communication address corresponding to the target meter under test, the target detection device can establish a communication connection with the target meter under test located at each calibration position and perform calibration, while some emergencies, such as electromagnetic interference, equipment failure or network congestion, may cause the allocated communication frequency to be unable to be used normally.

[0130] The server pre-configures fixed bandwidth resources for each detection position of the detection device. The fixed bandwidth limits the highest and lowest communication frequencies that the measured meter can use at the detection position. When encountering communication interference or frequency conflict, the communication frequency corresponding to the target measured meter is fine-tuned within the fixed bandwidth. Through the fine-tuning process, a frequency that is within the bandwidth limit and less subject to interference is found, which can effectively respond to emergencies, avoid communication interruptions, and improve the reliability and flexibility of communication connections.

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

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

[0133] A first instruction is sent to the conveyor belt, wherein the first instruction is used to instruct the conveyor belt to transport the target meter to be tested to the target detection position of the target detection device.

[0134] After the server inquires about the available inspection positions of each current inspection device and determines the target inspection position of the target inspection device corresponding to the target meter under test, it instructs the conveyor belt through the first instruction to transport the target meter under test to the target inspection position of the target inspection device, effectively reducing the error and intervention of manual operation. By controlling the movement of the conveyor belt, the target meter under test reaches the target inspection position, which provides a basis for the subsequent verification of the meter number of the target meter under test and further establishing a communication connection with the target detection device.

[0135] In the above technical solution, a first instruction is sent to the conveyor belt to transport the target meter to the target detection position of the target detection device through the conveyor belt, which reduces manual intervention, improves the automation level and accuracy of establishing communication connections, and improves the efficiency of the communication method.

[0136] Figure 3 This is the second flow chart of the communication method provided by some embodiments of the present application. Figure 3 As shown, the communication method includes: step 310, step 320 and step 330. The communication method is applied to the target detection device. The execution subject of the communication method can be the target detection device or a functional module or functional entity in the target detection device that can implement the communication method. The communication method provided in the embodiment of the present application is described below by taking the target detection device as the execution subject.

[0137] Step 310: Receive the binding relationship between the meter number, communication frequency and communication address corresponding to the target measured meter.

[0138] The target detection device receives the binding relationship between the meter number, communication frequency and communication address corresponding to the target meter under test. The meter number in the binding relationship can be used for the target meter under test. After the meter under test reaches the designated detection position of the target detection device, the server verifies the meter number of the target meter under test based on the meter number. 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 corresponding to the target meter under test is determined based on the coordinates of the target detection device and the position number of the target calibration position, wherein the target detection device is a device for calibrating the target meter under test, and the target meter under test is transported to the target calibration position of the target detection device by the meter conveyor belt.

[0140] 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 position number of the target detection position. Therefore, the communication frequency can be adjusted according to the specific position of the target detection device corresponding to the meter under test, thereby reducing interference between meter devices and the outside, reducing the possibility of communication failure, and improving frequency utilization and reliability of communication connections.

[0141] Step 320: after detecting that the target meter to be measured is in place, read the meter number of the target meter to be measured, and report the meter number of the target meter to be measured to the server, so that the server verifies the meter number of the target meter to be measured.

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

[0143] In some embodiments, after the target detection device detects that the meter under test has reached the target detection position, it supplies power to the meter under test, reads the meter number of the meter under test through 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 passes the verification, it can be determined that the current meter under test is 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 establishes a communication connection with the target detection device according to the communication frequency and communication address.

[0145] The communication frequency and communication address are parameters used to establish a communication connection with the target meter under test. According to the binding relationship between the meter number, communication frequency and communication address corresponding to the target meter under test, the corresponding communication frequency and communication address are sent to the target meter under test. According to 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 the target detection device can control the meter under test according to the instructions of the server.

[0146] It can be understood that the target meter under test receives the communication frequency and communication address corresponding to the target meter under test sent by the target detection device; and establishes a communication connection with the target detection device according to the communication frequency and communication address.

[0147] In the above technical scheme, the target detection device receives the binding relationship between the meter number, communication frequency and communication address of the target meter under test, reads the meter number of the target meter under test and reports it to the server after the target meter under test is in place. 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 establishes a communication connection with the target detection device, thereby optimizing the process of establishing the communication connection between the meter under test and the detection device. The communication frequency is determined based on the coordinates of the detection device and the position number of the detection position, thereby improving the utilization rate of the communication frequency and the reliability of the communication connection.

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

[0149] monitoring wireless signals of communication channels;

[0150] A connection establishment request sent by the target measured meter is received, an authentication message is sent, and a wireless communication link is established between the target detection device and the target measured meter.

[0151] It is understandable that the target detection device will continue to monitor the wireless signals on its communication channel, so as to promptly receive the connection establishment request that may be sent by the target meter under test. The communication channel is the channel for data transmission, which can be a specific range on the wireless frequency band. After receiving the connection establishment request, the target detection device will send an authentication message to the target meter under test to establish a wireless communication link between the target detection device and the target meter under test. The target detection device and the target meter under test can then interact with each other for business data under the instructions of the server.

[0152] In the above technical scheme, by monitoring the communication channel, receiving the connection establishment request of the target meter under test, sending the authentication message and establishing the wireless communication link, the communication connection can be established safely and reliably between the detection device and the meter under test, thereby improving the accuracy and efficiency of the communication connection and providing a basis for the subsequent control of the target meter under test.

[0153] In one embodiment of the present application, the method further includes: controlling the operating state of the target measured meter according to the instruction issued by the server.

[0154] The target detection device receives control instructions from the server, which may include operations or status adjustments that need to be performed on the target meter under test. After a communication connection is successfully 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 instructions.

[0155] In the above technical solution, a wireless communication link is established between the target detection device and the target meter to be measured, and the meter operation status is remotely controlled according to server instructions, thereby achieving effective control of the target meter to be measured.

[0156] The communication method provided in the embodiment of the present application can be executed by a communication device. In the embodiment of the present application, the communication device provided in the embodiment of the present application is described by taking the communication device executing the communication method as an example.

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

[0158] The first determination unit 401 is used to query the available detection positions of each detection device according to the received meter number of the target meter to determine the target detection position of the target detection device corresponding to the target meter;

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

[0160] The first sending unit 403 is used to send the binding relationship to the target detection device, so that after the target detection device detects that the target meter under test is 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 configured to:

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

[0163] Determining a frequency deviation value according to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position;

[0164] Determining a communication frequency corresponding to the target measured meter according to the frequency deviation value and the first frequency band;

[0165] Determine the communication address corresponding to the target meter under test according to the coordinates of the target detection device and the position number of the target detection position;

[0166] A binding relationship between the meter number, communication frequency and communication address corresponding to the target measured meter is established.

[0167] Optionally, determining the frequency deviation value according to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position includes:

[0168] According to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position, the frequency deviation value is determined using the following formula 1:

[0169]

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

[0171]

[0172] Optionally, determining the communication frequency corresponding to the target measured meter according to the frequency deviation value and the first frequency band includes:

[0173] According to the frequency deviation value and the first frequency band, the communication frequency corresponding to the target measured meter is determined using the following formula 2:

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

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

[0176] Optionally, determining the communication address corresponding to the target meter under test according to the coordinates of the target detection device and the position number of the target detection position includes:

[0177] 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 under test is determined using the following formula 3:

[0178]

[0179] Among them, addr is the communication address corresponding to the target meter under test, p2(x2, y2, z2) is the coordinates of the target detection device, and bit is the bit number of the target detection position.

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

[0181] According to the pre-configured fixed bandwidth of each detection position, the communication frequency corresponding to the target measured meter is fine-tuned.

[0182] Optionally, the device further includes a second sending unit, configured to:

[0183] A first instruction is sent to the conveyor belt, wherein the first instruction is used to instruct the conveyor belt to transport the target meter to be tested to the target detection position of the target detection device.

[0184] In the above technical scheme, the communication device determines the target detection position of the target detection device corresponding to the target meter under test by querying the free detection positions, establishes a binding relationship among the meter number, communication frequency and communication address, and sends the binding relationship to the target detection device, transmits the target meter under test to the target detection position, verifies the meter number of the target meter under test, and enables the target meter under test to establish a communication connection with the target detection device after the meter number verification is passed, thereby optimizing the process of establishing the communication connection between the meter under test and the detection device, determining the communication frequency according to the coordinates of the detection device and the position number of the detection position, improving the utilization rate of the communication frequency, and also improving the reliability of the communication connection.

[0185] The communication device in the embodiment of the present application may be a server, or a component in the server, such as an integrated circuit or a chip. The embodiment of the present application does not specifically limit the server.

[0186] The communication device in the embodiment of the present application may be a device having an operating system. The operating system may be a Microsoft (Windows) operating system, an Android (Android) operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0187] The communication device provided in the embodiment of the present application can implement each process implemented in the above-mentioned communication method embodiment. To avoid repetition, it will not be repeated here.

[0188] Figure 5 This is the second structural diagram of the communication device provided in some embodiments of the present application. 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 corresponding to the target measured meter;

[0190] The first processing unit 502 is used to read the meter number of the target meter to be measured after detecting that the target meter to be measured is in place, and report the meter number of the target meter to be measured to the server, so that the server verifies the meter number of the target meter to be measured;

[0191] The third sending unit 503 is used to send the communication frequency and communication address corresponding to the target meter under test to the target meter under test according to the binding relationship after the meter number of the target meter under test is verified, so that the target meter under test establishes 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, configured to:

[0193] monitoring wireless signals of communication channels;

[0194] A connection establishment request sent by the target measured meter is received, an authentication message is sent, and a wireless communication link is established between the target detection device and the target measured meter.

[0195] Optionally, the device further comprises a second control unit, configured to:

[0196] The operating state of the target meter under test is controlled according to the instructions sent by the server.

[0197] In the above technical scheme, the communication device receives the binding relationship between the meter number, communication frequency and communication address of the target meter under test, verifies the meter number of the target meter under test after it is in place, and sends the corresponding communication frequency and communication address to it, so that the target meter under test establishes a communication connection with the target detection device, thereby optimizing 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 position number of the detection position, thereby improving the utilization rate of the communication frequency and the reliability of the communication connection.

[0198] The communication device in the embodiment of the present application may be a detection device, or a component in the detection device, such as an integrated circuit or a chip. The embodiment of the present application does not specifically limit this.

[0199] The communication device in the embodiment of the present application may be a device having an operating system. The operating system may be a Microsoft (Windows) operating system, an Android (Android) operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0200] The communication device provided in the embodiment of the present application can implement each process implemented in the above-mentioned communication method embodiment. To avoid repetition, it will not be repeated here.

[0201] In some embodiments, Figure 6 As shown, an embodiment of the present application 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, the various processes of the above-mentioned communication method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0203] An embodiment of the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned communication method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0205] An embodiment of the present application also provides a computer program product, including a computer program, which implements the above-mentioned communication method when executed by a processor.

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

[0207] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned communication method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0208] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0209] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0210] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0211] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

[0212] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

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

Claims

1. A communication method, characterized in that: Applicable to servers, including: According to the meter number of the received target meter under test, query the available detection positions of each detection device at present, and determine the target detection position of the target detection device corresponding to the target meter under test; Determine the binding relationship between the meter number, communication frequency and communication address corresponding to the target meter under test according to the coordinates of the target detection device and the position number of the target detection position; The binding relationship is sent to the target detection device, so that after the target detection device detects that the target meter under test is in place and 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 establishes a communication connection with the target detection device according to the communication frequency and communication address.

2. The communication method according to claim 1, characterized in that: The method of determining the binding relationship between the meter number, communication frequency and communication address corresponding to the target meter under test according to the coordinates of the target detection device and the position number of the target detection position includes: According to the first frequency band, the preset three-dimensional space is divided into three-dimensional grids with the first length as the side length, and each grid corresponds to a complete frequency band; Determining a frequency deviation value according to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position; Determining a communication frequency corresponding to the target measured meter according to the frequency deviation value and the first frequency band; Determine the communication address corresponding to the target meter under test according to the coordinates of the target detection device and the position number of the target detection position; A binding relationship between the meter number, communication frequency and communication address corresponding to the target measured meter is established.

3. The communication method according to claim 2, characterized in that: Determining the frequency deviation value according to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position includes: According to the coordinates of the reference point, the coordinates of the target detection device and the position number of the target detection position, the frequency deviation value is determined using the following formula 1: Wherein, Δf is the frequency deviation value, z2 is the z-axis coordinate of the target detection device, the coordinate of the target detection device is p2(x2,y2,z2), z1 is the z-axis coordinate of the reference point, the coordinate of the reference point is p1(x1,y1,z1), k is the coefficient, k∈[0,1], flr is the floor number of the target detection device, bit is the bit number of the target detection position, sgn is the sign function, 4. The communication method according to claim 2, characterized in that: The determining, according to the frequency deviation value and the first frequency band, a communication frequency corresponding to the target measured meter includes: According to the frequency deviation value and the first frequency band, the communication frequency corresponding to the target measured meter is determined using the following formula 2: f=((f1-f2) / 2)+ΔfFormula 2 Among them, f is the communication frequency corresponding to the target measured meter, f1 is the maximum frequency corresponding to the first frequency band, f2 is the minimum frequency corresponding to the first frequency band, and Δf is the frequency deviation value.

5. The communication method according to claim 2, characterized in that: The step of determining the communication address corresponding to the target meter under test according to the coordinates of the target detection device and the position number of the target detection position comprises: 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 under test is determined using the following formula 3: Among them, addr is the communication address corresponding to the target meter under test, p2(x2, y2, z2) is the coordinates of the target detection device, and bit is the bit number of the target detection position.

6. The communication method according to claim 4, characterized in that: The method further includes: fine-tuning the communication frequency corresponding to the target measured meter according to the pre-configured fixed bandwidth of each detection position.

7. The communication method according to claim 1, characterized in that: The method further comprises: A first instruction is sent to the conveyor belt, wherein the first instruction is used to instruct the conveyor belt to transport the target meter to be tested to the target detection position of the target detection device.

8. A communication method, characterized in that: Applicable to target detection devices, including: Receive the binding relationship between the meter number, communication frequency and communication address corresponding to the target meter under test; After detecting that the target meter to be measured is in place, reading the meter number of the target meter to be measured, and reporting the meter number of the target meter to be measured to the server, so that the server verifies the meter number of the target meter to be measured; 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 establishes a communication connection with the target detection device according to the communication frequency and communication address.

9. The communication method according to claim 8, characterized in that: The method further comprises: monitoring wireless signals of communication channels; A connection establishment request sent by the target measured meter is received, an authentication message is sent, and a wireless communication link is established between the target detection device and the target measured meter.

10. The communication method according to claim 9, characterized in that: The method further includes: controlling the operating state of the target measured meter according to the instruction sent by the server.

11. A communication device, characterized in that: include: A first determination unit is used to query the available detection positions of each detection device according to the received meter number of the target meter to determine the target detection position of the target detection device corresponding to the target meter; A second determination unit is used to determine the binding relationship between the meter number, communication frequency and communication address corresponding to the target measured meter according to the coordinates of the target detection device and the position number of the target detection position; The first sending unit is used to send the binding relationship to the target detection device, so that after the target detection device detects that the target meter to be measured is in place and the meter number of the target meter to be measured is verified, the communication frequency and communication address corresponding to the target meter to be measured are sent 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 communication address.

12. A communication device, characterized in that: include: The first receiving unit is used to receive the binding relationship between the meter number, communication frequency and communication address corresponding to the target measured meter; A first processing unit is used to read the meter number of the target meter under test after detecting that the target meter under test is in place, and report the meter number of the target meter under test to the server, so that the server verifies the meter number of the target meter under test; The third sending unit is used to send the communication frequency and communication address corresponding to the target meter under test to the target meter under test according to the binding relationship after the meter number of the target meter under test is verified, so that the target meter under test establishes a communication connection with the target detection device according to the communication frequency and communication address.

13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, it implements the communication method according to any one of claims 1 to 7, or implements the communication method according to any one of claims 8 to 10.

14. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the communication method according to any one of claims 1 to 7, or implements the communication method according to any one of claims 8 to 10.

Citation Information

Patent Citations

  • Signal sending method and device, signal detection method and device and base station

    CN110831176A

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

    CN112702082A

  • Automatic test method and device of communication equipment, electronic equipment and storage medium

    CN114978360A

  • Transformer partial discharge positioning method and device, storage medium and electronic equipment

    CN119199415A

  • Method and device for SSB transmission / reception in wireless communication system

    US20230422310A1