Routing device power detection method, system and electronic device
By presetting the signal strength attenuation value and received signal strength indicator RSSI in the routing device, calculating the power of the routing device, solving the problem of high power testing cost of WiFi routers in the prior art, and realizing a method of accurately detecting power at different rates , reducing the testing cost.
Patent Information
- Application Number
- CN202311158055.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-08
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2043-09-08
AI Technical Summary
The prior art requires the use of signaling testing instruments and professional laboratories to conduct WiFi router power testing, resulting in high labor and material costs and it is difficult for users to test the power of routing equipment at different rates.
By presetting the signal strength attenuation value, the signal strength indication RSSI is received from the routing device, and the power of the routing device is calculated based on the RSSI and signal attenuation value. The weighted value is used to calculate based on line loss, so as to realize that without using the signaling test instrument Test the power of the routing device at different rates.
It saves the manpower and material costs of traditional testing, can accurately judge the power of routing equipment in a simple environment, and reduces the testing costs.
Smart Images

Figure CN117353845B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of routing device detection, and in particular to a routing device power detection technology. Background Art
[0002] The convenience and efficiency of WiFi networks have made them rapidly popular in recent years. Home, small office and enterprise wireless coverage are its main application scenarios. WiFi technology has the characteristics of wide coverage, fast transmission speed and low entry barriers for manufacturers. Currently, there are WiFi routers of different specifications on the market, and the quality varies. The user end has problems such as insufficient coverage, insufficient wall penetration ability and unstable connection. WiFi signal output power, signal quality and receiving sensitivity are key factors for a good wireless performance experience on the user end.
[0003] WiFi signaling test refers to simulating the call connection of the real network. The signal connection is completed through the handshake message interaction between AP and Station. The instrument plays the role of Station or AP to complete the wireless connection with the device under test and test the wireless performance indicators of the device under test. Generally, WiFi router manufacturers need to provide customers with the power and RSSI of different standards and rates under the WiFi router signaling mode, but they need to purchase related signaling test instruments and related licenses or spend money to go to professional laboratories for testing, which costs both manpower and material costs. Summary of the invention
[0004] One purpose of the present application is to provide a method, system and electronic device for detecting power of a routing device, aiming to test and determine the power of a routing device at different rates by building a simple environment test without using a signaling test instrument.
[0005] To achieve the above-mentioned purpose, according to one aspect of the present application, some embodiments of the present application provide a method for detecting power of a routing device, the method comprising: presetting a signal strength attenuation value; receiving a routing signal from the routing device; obtaining a signal strength indication RSSI of the routing signal; calculating the routing power of the routing device according to the signal strength indication RSSI and the signal strength attenuation value;
[0006] The routing power is the sum of the signal strength indication RSSI and the signal strength attenuation value, or the routing power is a weighted value of the sum of the signal strength indication RSSI and the signal strength attenuation value, and the weighted value is obtained based on line loss.
[0007] Optionally, the method further includes: verifying the calculated routing power; after the verification is correct, using the routing power calculated according to the signal strength indication RSSI and the signal strength attenuation value as the power of the routing device.
[0008] Optionally, the verification of the calculated routing power includes: splitting the routing signal of the routing device to obtain a first signal stream and a second signal stream; measuring the power of the first signal stream to obtain a first routing power; calculating the second routing power based on the signal strength indication RSSI and the signal strength attenuation value of the second signal stream; and using the first routing power to verify the second routing power.
[0009] Optionally, the use of the first routing power to verify the second routing power includes: calculating the power difference between the first routing power and the second routing power; determining whether the power difference is within a preset range; if the power difference is within the preset range, passing the verification and determining that the calculated second routing power is accurate; if the power difference is not within the preset range, further finding the cause of the difference.
[0010] Optionally, the method further includes: using one or more routing devices, setting different bandwidths and / or rates, performing multiple calculations and verifications; counting the number and / or proportion of verification passes in the verification results, and when a preset number and / or preset proportion is reached, the verification is passed.
[0011] Optionally, the method also includes: using a splitter to split the signal of the routing device; the input of the splitter is connected to the routing device, and the output of the splitter is respectively connected to a non-signaling meter and an adjustable attenuator; measuring the power of the first signal stream through the non-signaling meter to obtain a first routing power, and attenuating the signal strength of the second signal stream through an adjustable attenuator; recording the signal strength indication RSSI through the adjustable attenuator of the connected companion test board; wherein, after verification, the non-signaling meter is removed or turned off, and the routing power calculated using the signal strength indication RSSI and the signal strength attenuation value is used as the power of the routing device.
[0012] According to another aspect of the present application, the present application also provides a routing device power detection system, including:
[0013] Adjustable attenuation module, used to preset the signal strength attenuation value;
[0014] A signal receiving and transmitting module, used for receiving a routing signal from the routing device;
[0015] An acquisition module, used to acquire the signal strength indication RSSI of the routing device,
[0016] A calculation module, used to calculate the routing power according to the signal strength indication RSSI and the signal strength attenuation value; wherein the routing power is the sum of the signal strength indication RSSI and the signal strength attenuation value, or the routing power is a weighted value of the sum of the signal strength indication RSSI and the signal strength attenuation value, and the weighted value is obtained based on the line loss.
[0017] According to another aspect of the present application, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the above-mentioned routing device power detection method when executing the computer program.
[0018] According to another aspect of the present application, the present application also provides a computer program product, including computer-readable code, or a readable storage medium carrying computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes to implement the routing device power detection method described above.
[0019] The above-mentioned technical solution of the present application pre-sets the signal strength attenuation value, and then receives the routing signal from the routing device and obtains the signal strength indication RSSI of the routing signal; the routing power of the routing device can be directly calculated according to the signal strength indication RSSI and the signal strength attenuation value; it can be realized that the power of the routing device at different rates can be judged without using a signaling instrument, saving the manpower and material costs of traditional testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of the architecture of a prior art routing device power detection method provided in an embodiment of the present application;
[0021] Figure 2 A schematic diagram of a flow chart of a method for detecting power of a routing device provided in an embodiment of the present application;
[0022] Figure 3 A schematic diagram of a system standing diagram of a method for detecting power of a routing device provided in an embodiment of the present application;
[0023] Figure 4 A schematic structural diagram of a routing device power detection system provided in an embodiment of the present application;
[0024] Figure 5 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0026] In order to facilitate the understanding of the technical solutions provided by the embodiments of the present application, some technical terms are first explained as follows:
[0027] RSSI: RSSI is generally used to indicate the strength of wireless signals. It stands for Received Signal Strength Indication in English. It refers to the signal strength during wireless reception, or the signal strength at a certain location within the coverage of a wireless network. It is the value of EIRP after a period of transmission path loss and obstacle attenuation. The weak signal strength problem encountered by network planning refers to weak RSSI, which does not meet the required value of the indicator, resulting in the wireless terminal receiving very weak signals or even no signals. It is related to the transmission power of the wireless module, the design of the RF front end, and the gain of the antenna. The unit is the unit of power, generally expressed in dBm.
[0028] like Figure 1 As shown, Figure 1 It is a traditional power detection solution for routing equipment. It directly uses a signaling test instrument to test the power and RSSI. However, if there is no signaling test instrument or the signaling test instrument is missing, the power and RSSI test cannot be completed.
[0029] See also Figure 2 An embodiment of the present application provides a method for detecting power of a routing device, the method comprising:
[0030] Step S201: presetting a signal strength attenuation value;
[0031] Step S202: receiving a routing signal from the routing device;
[0032] Step S203: Acquire the signal strength indication RSSI of the routing signal;
[0033] Step S204: calculating the routing power of the routing device according to the signal strength indication RSSI and the signal strength attenuation value;
[0034] The routing power is the sum of the signal strength indication RSSI and the signal strength attenuation value, or the routing power is a weighted value of the sum of the signal strength indication RSSI and the signal strength attenuation value, and the weighted value is obtained based on line loss. Specifically, the weighted value can also be set by the user.
[0035] As an optional embodiment, the method further includes: verifying the calculated routing power; after the verification is correct, using the routing power calculated based on the signal strength indication RSSI and the signal strength attenuation value as the power of the routing device.
[0036] As an optional embodiment, the verification of the calculated routing power includes: splitting the routing signal of the routing device to obtain a first signal stream and a second signal stream; measuring the power of the first signal stream to obtain a first routing power; calculating the second routing power based on the signal strength indication RSSI and the signal strength attenuation value of the second signal stream; and using the first routing power to verify the second routing power.
[0037] As an optional embodiment, the use of the first routing power to verify the second routing power includes: calculating the power difference between the first routing power and the second routing power; determining whether the power difference is within a preset range; if the power difference is within the preset range, passing the verification and determining that the calculated second routing power is accurate; if the power difference is not within the preset range, further finding the cause of the difference.
[0038] As an optional embodiment, the method also includes: using one or more routing devices, setting different bandwidths and / or rates, performing multiple calculations and verifications; counting the number and / or proportion of verification results, and when the preset number and / or preset proportion are reached, the verification is passed.
[0039] As an optional embodiment, the method also includes: using a splitter to split the signal of the routing device; the input of the splitter is connected to the routing device, and the output of the splitter is respectively connected to a non-signaling meter and an adjustable attenuator; measuring the power of the first signal stream by the non-signaling meter to obtain a first routing power, and attenuating the signal strength of the second signal stream by an adjustable attenuator; recording the signal strength indication RSSI by the adjustable attenuator of the connected companion test board; wherein, after verification, the non-signaling meter is removed or turned off, and the routing power calculated using the signal strength indication RSSI and the signal strength attenuation value is used as the power of the routing device.
[0040] Specifically, Figure 3As shown, the technical solution of this application is as follows Figure 3 The system architecture shown stands, then measures the cable loss in the system, sets the attenuation, and lets the DUT (the router to be tested) run at the highest rate of 20M bandwidth mcs13. Record RSSI, throughput, etc. through instructions, and read the power from the non-signaling instrument end. For example, if RSSI is -30dbm and attenuation is 40dbm, then power = RSSI + attenuation = 10dbm. At this time, use the instrument to measure the 20M bandwidth power. If the difference between the power measured by the instrument and the calculated power is within 3dbm, it is normal. Because the RSSI error is within 3db. If the difference is too large, check the cause.
[0041] Adjust the attenuation value, let the DUT run at 20M bandwidth rate mcs7, and record RSSI and throughput through commands. Power = RSSI + attenuation. For example, if the attenuation is 50dbm and RSSI is -37dbm, the power can be calculated to be 13dbm. Compare it with the power measured by the non-signaling instrument.
[0042] By analogy, the RSSI of other rates can be calculated by using the known attenuation and RSSI. If the calculated power of 3-4 rates matches the measured power, the non-signaling instrument can be removed, and the results can be directly measured using the adjustable attenuation and the companion test board. This calculation method takes 20M bandwidth as an example. If the 40M / 80M / 160M / 320M bandwidth is tested, the RSSI value will be different, which is caused by different platform calculations. This part needs to be confirmed with the platform.
[0043] like Figure 4 As shown, according to another aspect of the present application, the present application also provides a routing device power detection system, including:
[0044] Adjustable attenuation module (can be Figure 3 0-90db adjustable attenuation as shown in ), used to preset the signal strength attenuation value;
[0045] Signal receiving and transmitting module (can be Figure 3 2 divider as shown in ), used for receiving routing signals from the routing device;
[0046] Get module (can be Figure 3 The accompanying test board shown in FIG. 1 is used to obtain the signal strength indication RSSI of the routing device.
[0047] Computation module (can be Figure 3The accompanying test board shown in the figure is used to calculate the routing power according to the signal strength indication RSSI and the signal strength attenuation value; wherein the routing power is the sum of the signal strength indication RSSI and the signal strength attenuation value, or the routing power is a weighted value of the sum of the signal strength indication RSSI and the signal strength attenuation value, and the weighted value is obtained based on the line loss.
[0048] For the specific limitations of the routing device power detection system, please refer to the limitations of the routing device power detection method above, which will not be repeated here. Each module / unit in the above-mentioned medical text annotation device based on the label knowledge base can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules / units can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0049] In one embodiment, the present application provides a computer device, the computer device comprising: a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are interconnected via the bus;
[0050] The memory stores computer program instructions, which, when executed, cause the processor to perform steps of a medical text annotation method based on a label knowledge base.
[0051] The computer device provided in the embodiment of the present application may be a server, a client or other computer network communication device; Figure 5 , which is a schematic diagram of the structure of a computer device provided in an embodiment of the present application.
[0052] Processor 501, memory 502, bus 505, interface 504, processor 501 is connected to memory 502 and interface 504, bus 505 is respectively connected to processor 501, memory 502 and interface 504, interface 504 is used to receive or send data, processor 501 is a single-core or multi-core central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement an embodiment of the present invention. Memory 502 can be a random access memory (RAM) or a non-volatile memory (non-volatile memory), such as at least one hard disk memory. Memory 502 is used to store computer execution instructions. Specifically, the computer execution instructions may include program 503.
[0053] In this embodiment, when the processor 501 calls the program 503, it can use Figure 5The management server in performs the operation of the routing device power detection method, and the details are not repeated here.
[0054] It should be understood that the processor provided in the above embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0055] It should also be understood that the number of processors in the computer device in the above embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited. The number of memories in the embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited.
[0056] It should also be noted that when a computer device includes a processor (or processing unit) and a memory, the processor in this application can be integrated with the memory, or the processor and the memory can be connected through an interface. It can be adjusted according to the actual application scenario and is not limited.
[0057] The present application provides a chip system, which includes a processor for supporting a computer device (client or server) to implement the functions of the controller involved in the above method, such as processing the data and / or information involved in the above method. In one possible design, the chip system also includes a memory, which is used to store necessary program instructions and data. The chip system can be composed of a chip or a chip and other discrete devices.
[0058] In another possible design, when the chip system is a chip in a user device or access network, the chip includes: a processing unit and a communication unit. The processing unit may be, for example, a processor, and the communication unit may be, for example, an input / output interface, a pin or a circuit. The processing unit may execute computer-executable instructions stored in the storage unit so that the chip in the client or management server may perform the steps of the common sense question answering method. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, etc. The storage unit may also be a storage unit located outside the chip in the client or management server, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.
[0059] It should be understood that the methods and / or embodiments in the embodiments of the present application can be implemented as computer software programs. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. When the computer program is executed by the processing unit, the above functions defined in the method of the present application are executed.
[0060] It should be understood that the controller or processor mentioned in the above embodiments of the present application may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0061] It should also be understood that the number of processors or controllers in the computer device or chip system in the above embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited. The number of memories in the embodiments of the present application can be one or more, and can be adjusted according to the actual application scenario. This is only an exemplary description and is not limited.
[0062] It should be noted that the computer-readable medium described in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0063] In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0064] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0065] The flow chart or block diagram in the accompanying drawings shows the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0066] As another aspect, the embodiments of the present application further provide a computer-readable medium, which may be included in the device described in the above embodiments; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more computer-readable instructions, which may be executed by a processor to implement the steps of the methods and / or technical solutions of the above-mentioned multiple embodiments of the present application. The computer may be the above-mentioned computer device (client or server or other computer network communication device).
[0067] In a typical configuration of the present application, the terminal and the equipment of the service network each include one or more processors (CPU), input / output interface, network interface and memory.
[0068] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0069] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
[0070] In addition, an embodiment of the present application further provides a computer program, which is stored in a computer device, so that the computer device executes the method for controlling code execution.
[0071] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In certain embodiments, the software program of the present application can be executed by a processor to implement the above steps or functions. Similarly, the software program of the present application (including related data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.
[0072] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is defined by the attached claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, the terms used in the embodiments of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present invention.
[0073] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. The singular forms of "a", "an", and "the" used in the embodiments of the present application are also intended to include plural forms, unless the context clearly indicates other meanings.
[0074] In addition, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, product, or apparatus.
[0075] In the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a kind of association relationship describing the associated objects, indicating that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. Depending on the context, the words "if" or "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination" or "in response to detection". Similarly, depending on the context, the phrases "if it is determined" or "if (stated condition or event) is detected" can be interpreted as "when determined" or "in response to determination" or "when (stated condition or event) is detected" or "in response to detection (stated condition or event)".
[0076] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for detecting power of a routing device, characterized in that: include: Preset signal strength attenuation value; receiving a routing signal from the routing device; Use a splitter to split the signal of the routing device to obtain a first signal stream and a second signal stream; the input of the splitter is connected to the routing device, and the output of the splitter is connected to a non-signaling instrument and an adjustable attenuator respectively; Measuring the power of the first signal flow by the non-signaling instrument to obtain a first routing power; Attenuating the signal strength of the second signal stream by an adjustable attenuator, and recording the signal strength indication RSSI by the adjustable attenuator connected to the accompanying test board; Calculate a second routing power according to the signal strength indication RSSI of the second signal flow and the signal strength attenuation value; Using the first route power to verify the second route power; After the verification is correct, the non-signaling instrument is removed or turned off, and the routing power calculated by the signal strength indication RSSI and the signal strength attenuation value is used as the routing power of the routing device; The routing power is the sum of the signal strength indication RSSI and the signal strength attenuation value, or the routing power is a weighted value of the sum of the signal strength indication RSSI and the signal strength attenuation value, and the weighted value is obtained based on line loss.
2. The method according to claim 1, characterized in that The verifying the second routing power by using the first routing power includes: Calculating a power difference between the first routing power and the second routing power; Determining whether the power difference is within a preset range; If the power difference is within a preset range, the verification is passed, and it is determined that the calculated power of the second route is accurate.
3. The method according to claim 2, characterized in that The method further comprises: If the power difference is not within the preset range, further find out the reason for the difference.
4. The method according to claim 1, characterized in that The method further comprises: Use one or more routing devices, set different bandwidths and / or rates, perform multiple calculations and verifications; The number and / or proportion of the verification results that pass the verification are counted. When the preset number and / or preset proportion are reached, the verification is passed.
5. A routing device power detection system, characterized in that: include: Adjustable attenuation module, used to preset the signal strength attenuation value; A signal receiving and transmitting module, used for receiving a routing signal from the routing device; An acquisition module is used to use a splitter to split the signal of the routing device to obtain a first signal stream and a second signal stream; the input of the splitter is connected to the routing device, and the output of the splitter is respectively connected to a non-signaling instrument and an adjustable attenuator; the power of the first signal stream is measured by the non-signaling instrument to obtain a first routing power; the signal strength of the second signal stream is attenuated by the adjustable attenuator, and the signal strength indication RSSI is recorded by the adjustable attenuator connected to the accompanying test board; A calculation module, configured to calculate a second routing power according to the signal strength indication RSSI and the signal strength attenuation value of the second signal flow; The second routing power is verified using the first routing power; wherein, after the verification is correct, the non-signaling instrument is removed or turned off, and the routing power calculated by the signal strength indication RSSI and the signal strength attenuation value is used as the routing power of the routing device; The routing power is the sum of the signal strength indication RSSI and the signal strength attenuation value, or the routing power is a weighted value of the sum of the signal strength indication RSSI and the signal strength attenuation value, and the weighted value is obtained based on line loss.
6. 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 computer program, the method for detecting power of a routing device according to any one of claims 1 to 4 is implemented.
7. A computer program product, characterized in that The invention comprises a computer-readable code or a readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes a method for detecting power of a routing device according to any one of claims 1 to 4.
