Downlink status acquisition method, uplink status acquisition method and device

By using Ethernet packets to measure link state in microwave communication systems, the problem of low link state measurement efficiency and accuracy in the prior art is solved, and efficient link quality evaluation of multiple remote machines is achieved.

CN115460644BActive Publication Date: 2025-04-15CHINA TELECOM CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210973648.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-15
Publication Date
2025-04-15
Estimated Expiration
2042-08-15

AI Technical Summary

Technical Problem

The existing microwave communication systems have problems with low efficiency and accuracy in link status measurement, especially when multiple remote machines need to be accepted, the existing methods are cumbersome and inconvenient.

Method used

By implementing a downlink state acquisition method and an uplink state acquisition method between the near-end machine and the target remote machine, link state measurement is performed using Ethernet data packets. The specific steps include generating and sending Ethernet packets of preset length and time intervals, measuring link status based on the number of received data packets, and recording the results.

Benefits of technology

It realizes one-time measurement of the uplink and downlink states of multiple remote machines, improves the measurement efficiency and accuracy, and simplifies the link state measurement process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115460644B_ABST
    Figure CN115460644B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method for acquiring a downlink status, a method for acquiring an uplink status, and an apparatus. The downlink broadband acquisition method comprises: in response to a response message returned by a target remote machine to a request for downlink bandwidth speed measurement, generating a first Ethernet data packet of a first set length according to the physical address of the target remote machine; sending the first Ethernet data packet to the target remote machine according to a pre-set first time interval, so that the target remote machine measures the downlink status according to the number of received data packets and the target number of data packets set by the near-end machine; acquiring and recording the downlink status returned by the target remote machine. The embodiments of the present application can measure the uplink and downlink status of multiple remote machines at one time, and improve the efficiency and accuracy of the measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a downlink status acquisition method, an uplink status acquisition method and a device. Background Art

[0002] Microwave communication technology does not require laying optical fiber or cables, but directly transmits data through radio waves in the air. It has obvious engineering advantages in densely built-up areas in cities. It uses wireless connections to realize communication networks accessed by fixed terminal users (RT (Remote Terminal)), that is, it realizes broadband access of the "last mile". In daily networking and usage, microwave communication technology can be divided into point-to-point networking communication and point-to-multipoint networking communication. Regardless of the networking method, microwave transmission is widely used in various application scenarios due to its flexible and convenient usage, large bandwidth, high speed, and low transmission delay, including: 4G / 5G network backhaul, video surveillance backhaul, broadband access, enterprise dedicated lines, operator backbone network construction, rural network backhaul and other scenario applications.

[0003] In the point-to-multipoint networking mode, the entire microwave communication system, as a distributed radio system, can transmit information from one point to multiple points in space. This system is usually composed of a communication network consisting of a central station (access point AP (Wireless Access Point)) and a terminal station (user RT). The access point AP constitutes a circular wireless area covering 360°, and the user RT side only needs to set up a small directional antenna facing the AP direction to easily establish a communication line. Each RT user station can be assigned a dozen or dozens of business users, and when necessary, it can be extended to users hundreds of kilometers away through a relay station. The point-to-multipoint communication method uses a wireless broadband access method, and multiple RT users share a carrier frequency and an AP access point device. This makes the wireless frequency effectively utilized and the equipment utilization rate is high. The monitoring system of the AP access point can efficiently monitor the status of each business user line and the equipment status, and the access point AP can perform maintenance for users. This system is suitable for systems with relatively scattered users, such as users in urban suburbs, village points, coastal islands, and scattered settlements, and is relatively economical.

[0004] In actual application, microwave point-to-multipoint system does not need to obtain road rights or lay optical fiber, and can quickly build a network. It also has the advantages of small installation equipment, easy site acquisition, automatic terminal access, ready-to-use, simple network, low maintenance cost, reduced access layer equipment, transmission layer equipment to achieve access functions, and simplified network maintenance. The system can provide bandwidth of more than 100M, meeting the business needs of various large bandwidths for families, enterprises, and private networks and dedicated lines, and has broad application prospects.

[0005] In the current microwave communication system, after the equipment is installed and debugged, the link quality of the air interface and the network is inspected and accepted. Usually, a power meter is used to check the received power, or a flow meter is used to measure the speed. This method requires the use of external instruments to connect the equipment. In order to maintain line of sight, the equipment is usually installed at a high position, which makes it inconvenient to connect various instruments. In addition, due to the networking mode of the point-to-multipoint system, each remote machine needs to be inspected from the near-end machine. The use of instruments requires connection to each remote machine, which further increases the complexity of the entire acceptance method. Summary of the invention

[0006] The technical problem to be solved by the embodiments of the present application is to provide a downlink status acquisition method, an uplink status acquisition method and an apparatus, so as to measure the uplink and downlink status of multiple remote machines at one time and improve the efficiency and accuracy of the measurement.

[0007] In a first aspect, an embodiment of the present application provides a method for acquiring a downlink status, which is applied to a near-end machine, and the method includes:

[0008] In response to a response message returned by the target remote machine to the request for downlink bandwidth speed measurement, a first Ethernet data packet of a first set length is generated according to the physical address of the target remote machine;

[0009] sending the first Ethernet data packet to the target remote machine according to a preset first time interval, so that the target remote machine measures the downlink state according to the number of received data packets and the target number of data packets set by the near-end machine;

[0010] Acquire and record the downlink status returned by the target remote machine.

[0011] Optionally, before generating a first Ethernet data packet of a first set length according to the physical address of the target remote machine in response to the response message for the downlink bandwidth speed measurement request returned by the target remote machine, the method further includes:

[0012] Generate a downlink bandwidth speed measurement request corresponding to the target remote machine according to the custom field identifier;

[0013] Sending the downlink bandwidth speed measurement request to the target remote machine;

[0014] After receiving the response message to the downlink bandwidth speed measurement request fed back by the target remote machine, the step of generating a first Ethernet data packet of a first set length in response to the response message to the downlink bandwidth speed measurement request returned by the target remote machine is executed according to the physical address of the target remote machine.

[0015] Optionally, generating a first Ethernet data packet of a first set length according to the physical address of the target remote machine includes:

[0016] Generate an initial Ethernet data packet of a first set length according to the physical address of the target remote machine;

[0017] The initial Ethernet data packet is filled with data according to a preset bandwidth detection PDU (Protocol Data Unit) format to generate the first Ethernet data packet.

[0018] Optionally, before generating a first Ethernet data packet of a first set length according to the physical address of the target remote machine in response to the response message for the downlink bandwidth speed measurement request returned by the target remote machine, the method further includes:

[0019] During the process of measuring the link status of the target remote machine, data interaction with other remote machines except the target remote machine is disconnected.

[0020] In a second aspect, an embodiment of the present application provides an uplink status acquisition method, which is applied to a target remote machine, and the method includes:

[0021] In response to a response message returned by the near-end machine to the request for uplink bandwidth speed measurement, a second Ethernet data packet of a second set length is generated according to the physical address of the local machine;

[0022] The second Ethernet data packet is sent to the near-end machine according to a preset second time interval, so that the near-end machine measures the uplink state according to the number of received data packets and a preset target number of data packets.

[0023] Optionally, before generating a second Ethernet data packet of a second set length according to the physical address of the local machine in response to the response message for the uplink bandwidth speed measurement request returned by the local machine, the method further includes:

[0024] Generate an uplink bandwidth speed measurement request based on the custom field identifier;

[0025] Sending the uplink bandwidth speed measurement request to the near-end machine;

[0026] After receiving the response message to the uplink bandwidth speed measurement request fed back by the proximal machine, the step of generating a second Ethernet data packet of a second set length according to the physical address of the local machine in response to the response message to the uplink bandwidth speed measurement request returned by the proximal machine is executed.

[0027] In a third aspect, an embodiment of the present application provides a downlink status acquisition device, which is applied to a near-end machine, and the device includes:

[0028] A first data packet generating module, configured to generate a first Ethernet data packet of a first set length in response to a response message returned by a target remote machine to a request for downlink bandwidth speed measurement according to a physical address of the target remote machine;

[0029] A first data packet sending module, configured to send the first Ethernet data packet to the target remote machine according to a preset first time interval, so that the target remote machine measures the downlink state according to the number of received data packets and the target number of data packets set by the near-end machine;

[0030] The downlink status acquisition module is used to acquire and record the downlink status returned by the target remote machine.

[0031] Optionally, the device further comprises:

[0032] A downlink speed measurement request generation module, used to generate a downlink bandwidth speed measurement request corresponding to the target remote machine according to a custom field identifier;

[0033] A downlink speed measurement request sending module, used to send the downlink bandwidth speed measurement request to the target remote machine;

[0034] The first execution module is used to execute the first data packet generation module after receiving a response message to the downlink bandwidth speed measurement request fed back by the target remote machine.

[0035] Optionally, the first data packet generating module includes:

[0036] An initial data packet generating unit, used for generating an initial Ethernet data packet of a first set length according to the physical address of the target remote machine;

[0037] The first data packet generating unit is used to fill the initial Ethernet data packet with data according to a preset bandwidth detection PDU (Protocol Data Unit) format to generate the first Ethernet data packet.

[0038] Optionally, the device further comprises:

[0039] The data interaction disconnection module is used to disconnect the data interaction with other remote machines except the target remote machine during the process of measuring the link status of the target remote machine.

[0040] In a fourth aspect, an embodiment of the present application provides an uplink status acquisition device, which is applied to a target remote machine, and the device includes:

[0041] A second data packet generating module, configured to generate a second Ethernet data packet of a second set length in response to a response message returned by the proximal machine to the request for uplink bandwidth speed measurement according to the physical address of the local machine;

[0042] The uplink status acquisition module is used to send the second Ethernet data packet to the near-end machine according to a preset second time interval, so that the near-end machine measures the uplink status according to the number of received data packets and a preset target number of data packets.

[0043] Optionally, the device further comprises:

[0044] An uplink speed measurement request generation module is used to generate an uplink bandwidth speed measurement request according to a custom field identifier;

[0045] An uplink speed measurement request sending module, used to send the uplink bandwidth speed measurement request to the near-end machine;

[0046] The second execution module executes the second data packet generation module after receiving the response message fed back by the near-end machine to the uplink bandwidth speed measurement request.

[0047] In a fifth aspect, an embodiment of the present application provides an electronic device, including:

[0048] A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for acquiring the downlink state described in any one of the above items or the method for acquiring the uplink state described in any one of the above items is implemented.

[0049] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the downlink status acquisition methods described above, or any of the uplink status acquisition methods described above.

[0050] Compared with the prior art, the embodiments of the present application have the following advantages:

[0051] In an embodiment of the present application, in response to a response message returned by the target remote machine for a request for downlink bandwidth speed measurement, a first Ethernet data packet of a first set length is generated according to the physical address of the target remote machine; the first Ethernet data packet is sent to the target remote machine according to a pre-set first time interval, so that the target remote machine measures the downlink state according to the number of received data packets and the target number of data packets set by the near-end machine; and the downlink state returned by the target remote machine is obtained and recorded. In an embodiment of the present application, the near-end machine measures the uplink and downlink states of the remote machine, and a one-key acceptance can be performed at the near-end machine, and link quality assessment can be performed on multiple remote machines at the same time, without the need to perform link assessment on the remote machine separately, thereby improving the efficiency and accuracy of the uplink and downlink state measurement of the remote machine, and simplifying the measurement of the uplink and downlink states of the remote machine.

[0052] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A flowchart of a method for acquiring downlink status provided in an embodiment of the present application;

[0054] Figure 2 A schematic diagram of a microwave device provided in an embodiment of the present application;

[0055] Figure 3 A schematic diagram of bandwidth acceptance provided in an embodiment of the present application;

[0056] Figure 4 A schematic diagram of a bandwidth acceptance process provided in an embodiment of the present application;

[0057] Figure 5 A schematic diagram of a custom bandwidth speed measurement package format provided in an embodiment of the present application;

[0058] Figure 6 A flowchart of a method for obtaining an uplink status provided in an embodiment of the present application;

[0059] Figure 7 A schematic diagram of the structure of a downlink status acquisition device provided in an embodiment of the present application;

[0060] Figure 8 A schematic diagram of the structure of an uplink status acquisition device provided in an embodiment of the present application;

[0061] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0063] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0064] Reference Figure 1 , shows a flowchart of the steps of a downlink status acquisition method provided by an embodiment of the present application, the downlink status acquisition method can be applied to a near-end machine, such as Figure 1 As shown, the downlink status acquisition method may include the following steps:

[0065] Step 101: In response to a response message returned by a target remote machine to a request for downlink bandwidth speed measurement, a first Ethernet data packet of a first set length is generated according to a physical address of the target remote machine.

[0066] The embodiments of the present application may be applied to a scenario in which a near-end machine measures the downlink status of multiple associated remote machines.

[0067] The embodiments of the present application can be applied to a proximal machine, that is, the execution subject is a proximal machine.

[0068] The downlink bandwidth speed measurement request refers to a request generated by the near-end machine side for requesting to measure the uplink and downlink status of the far-end machine.

[0069] In a specific implementation, when it is necessary to measure the downlink status of the target remote machine, the near-end machine may send a downlink bandwidth speed measurement request to the remote machine to start the measurement process, which may be described in detail in combination with the following specific implementation method.

[0070] In a specific implementation of the present application, before the above step 101, the following may also be included:

[0071] Step A1: Generate a downlink bandwidth speed measurement request corresponding to the target remote machine according to a custom field identifier.

[0072] Step A2: Send the downlink bandwidth speed measurement request to the target remote machine.

[0073] In this embodiment, when the near-end machine measures the uplink and downlink status of the remote machine under it, the near-end machine selects a remote machine according to the remote machine number. In actual applications, the remote machines can be selected in order from small to large in the remote machine number, or they can be selected randomly. The specific selection method can be determined according to business requirements, and this embodiment does not limit this.

[0074] After selecting the target remote machine, the near-end machine can generate a downlink bandwidth speed measurement request corresponding to the target remote machine according to the custom field identifier. The custom field identifier (Operation Code) can be as shown in the following Table 1:

[0075] Table 1:

[0076] Operation Code meaning 0 reserve 1 Speed ​​test request 2 Speed ​​test request ACK response 3 Speed ​​Test PDU 4 Speed ​​test complete ACK response 5 Speed ​​test result reporting

[0077] The meaning of the custom fields can be shown in Table 2 below:

[0078] Table 2:

[0079] Fields meaning Protocol Version Bandwidth test protocol version number Operation Code Operation code field, representing different operation contents RT ID RT ID of the packet received or sent Total Number Total number of speed test packages Serial Number The serial number of the current speed test package Block Number If the fragment number appears

[0080] In a specific implementation, after the near-end machine selects the target remote machine, it can use a custom speed measurement function protocol process to send a downlink bandwidth speed measurement request to the target remote machine through a custom field identifier Operation Code. Figure 4 As shown, when remote machine 1 is selected as the target remote machine, a downlink bandwidth speed measurement request can be sent to remote machine 1.

[0081] After sending the downlink bandwidth speed measurement request to the target remote machine, execute step A3.

[0082] Step A3: After receiving the response message to the downlink bandwidth speed measurement request fed back by the target remote machine, execute step 101.

[0083] After the downlink bandwidth speed measurement request is sent to the target remote machine, the target remote machine responds, and then the measurement process of the downlink state is entered, such as Figure 2 As shown, after sending a bandwidth speed measurement request to remote machine 1, the remote machine feeds back a response ACK, and then can start sending speed measurement PDU.

[0084] In this embodiment, when the near-end machine measures the link status of the target remote machine, the data interaction with other remote machines except the target remote machine is disconnected. Figure 4 As shown, when remote machine 1 is used as the target remote machine, remote machine 2 does not respond to the message sent by the near-end machine, that is, remote machine 2 does not perform data interaction with the near-end machine.

[0085] It can be understood that the above examples are merely examples listed for a better understanding of the solutions provided by the embodiments of the present application, and are not intended to be the sole limitations of the present embodiments.

[0086] After receiving the response message returned by the target remote machine to the downlink bandwidth speed measurement request, a first Ethernet data packet of a first set length can be generated according to the physical address (MAC, Medium Access Control) of the target remote machine in response to the response message fed back by the target remote machine. The near-end machine has an Ethernet switching module, an air interface scheduling module, an air interface physical layer module and a radio frequency module, such as Figure 2 After obtaining the ACK response from the target remote machine, the Ethernet switching module or FPGA (Field-Programmable Gate Array) module forms a first Ethernet data packet with a fixed length (i.e., the first set length) and a MAC address. The format of the first Ethernet data packet can be as follows: Figure 5 Shown: Bandwidth speed test package format.

[0087] In the process of generating the first Ethernet data packet, packet filling should also be performed according to the bandwidth detection PDU format. Specifically, the implementation process can be described in detail in combination with the following specific implementation method.

[0088] In another specific implementation of the present application, the above step 101 may include:

[0089] Sub-step B1: Generate an initial Ethernet data packet of a first set length according to the physical address of the target remote machine.

[0090] In this embodiment, an initial Ethernet data packet of a first set length may be generated according to the physical address of the target remote machine.

[0091] After generating an initial Ethernet data packet of a first set length according to the physical address of the target remote machine, sub-step B2 is executed.

[0092] Sub-step B2: Filling the initial Ethernet data packet with data according to a preset bandwidth detection PDU (Protocol Data Unit) format to generate the first Ethernet data packet.

[0093] After generating an initial Ethernet data packet of a first set length according to the physical address of the target remote machine, data can be filled in the initial Ethernet data packet according to a preset bandwidth detection PDU format to generate a first Ethernet data packet. In a specific implementation, when filling data, it can be filled with a data packet of 64 bits to 1500 bits in size, a data packet of a fixed memory size, or a data packet of inconsistent memory. Specifically, it can be determined according to business requirements, and this embodiment does not limit this.

[0094] In practical applications, in order to ensure the accuracy of link quality acceptance, the packet transmission lasts for a period of time (more than 30s), and the Ethernet data packet needs to meet the following conditions: packet size * packet transmission interval >= 1000Mbps, to ensure that the maximum bandwidth can be accurately measured.

[0095] After a first Ethernet data packet of a first set length is generated according to the physical address of the target remote machine, step 102 is executed.

[0096] Step 102: Send the first Ethernet data packet to the target remote machine according to a preset first time interval, so that the target remote machine measures the downlink status according to the number of received data packets and the target number of data packets set by the near-end machine.

[0097] The first time interval refers to a preset time interval for the near-end machine to send Ethernet data packets to the target remote machine. The specific value of the first time interval can be determined according to business requirements, and this embodiment does not impose any limitation on this.

[0098] The target number of data packets refers to the number of Ethernet data packets set by the near-end machine and the target remote machine to be sent. The specific value of the target number of data packets can be determined according to business requirements, and this embodiment does not impose any restrictions on this.

[0099] After generating a first Ethernet data packet of a first set length according to the physical address of the target remote machine, the first Ethernet data packet can be sent to the target remote machine according to a preset first time interval, such as Figure 4 As shown, after the remote machine feeds back a response ACK, it starts to send a speed measurement PDU. After sending the last speed measurement PDU, the remote machine starts to measure the downlink status according to the number of received data packets and the target number of data packets set by the near-end machine. The remote machine device measures the downlink status of the remote machine according to the received Ethernet packets, including the Ethernet bandwidth and physical layer bandwidth, and link quality. After sending the last packet, the remote machine feeds back an ACK in the detection PDU format to confirm that the measurement is complete, and reports the bandwidth size to the near-end machine through the service channel for statistical recording. The content of the PDU packet for bandwidth detection is random and does not require special regulations.

[0100] Step 103: Obtain and record the downlink status returned by the target remote machine.

[0101] The target remote machine measures the downlink status based on the number of received data packets and the target number of data packets set by the near-end machine. The target remote machine can return the measured downlink status to the near-end machine, and the near-end machine records the downlink status of the target remote machine. Figure 4 As shown, after the remote machine completes the speed measurement, it can feed back a speed measurement completion ACK to the local machine and report the test rate.

[0102] The downlink status acquisition method provided in the embodiment of the present application generates a first Ethernet data packet of a first set length according to the physical address of the target remote machine in response to the response message returned by the target remote machine for the downlink bandwidth speed measurement request; sends the first Ethernet data packet to the target remote machine according to a pre-set first time interval, so that the target remote machine measures the downlink status according to the number of received data packets and the target number of data packets set by the near-end machine; and obtains and records the downlink status returned by the target remote machine. The embodiment of the present application measures the uplink and downlink status of the remote machine by the near-end machine, and can perform one-key acceptance at the near-end machine, and can simultaneously evaluate the link quality and bandwidth of multiple remote machines without the need to perform link evaluation on the remote machine separately, thereby improving the efficiency and accuracy of the uplink and downlink status measurement of the remote machine, and simplifying the measurement of the uplink and downlink status of the remote machine.

[0103] Reference Figure 6 , shows a flowchart of the steps of an uplink status acquisition method provided by an embodiment of the present application, the uplink status acquisition method can be applied to a target remote machine, such as Figure 6 As shown, the uplink status acquisition method may include the following steps:

[0104] Step 601: In response to a response message returned by the proximal machine to a request for uplink bandwidth speed measurement, a second Ethernet data packet of a second set length is generated according to the physical address of the local machine.

[0105] The embodiments of the present application may be applied to a scenario of measuring the uplink status of a target remote machine.

[0106] This embodiment can be applied to a target remote machine, that is, the execution subject is the target remote machine.

[0107] When measuring the uplink state of the target remote machine, the target remote machine can send an uplink bandwidth speed measurement request to the near-end machine, and after the near-end machine responds to the uplink bandwidth speed measurement request, the measurement process of the uplink state begins. The sending process of the uplink bandwidth speed measurement request can be described in detail in combination with the following specific implementation method.

[0108] In a specific implementation of the present application, before the above step 601, the following may also be included:

[0109] Step C1: Generate an uplink bandwidth speed measurement request according to the custom field identifier.

[0110] Step C2: Send the uplink bandwidth speed measurement request to the near-end machine.

[0111] In this embodiment, when measuring the uplink state of the target remote machine, an uplink state speed measurement request may be generated according to a user-defined field identifier.

[0112] After the uplink state speed measurement request is generated, the uplink bandwidth speed measurement request may be sent to the near-end machine. This process is similar to the generation and sending process of the downlink bandwidth speed measurement request, and this embodiment will not describe this process in detail.

[0113] Step C3: after receiving the response message to the uplink bandwidth speed measurement request fed back by the near-end machine, execute step 601.

[0114] After the uplink bandwidth speed measurement request is sent to the near-end machine, and after the near-end machine accepts the uplink bandwidth speed measurement request, the target far-end machine may execute step 601 in response to a response message to the uplink bandwidth speed measurement request fed back by the near-end machine.

[0115] After receiving the response message fed back by the proximal machine to the request for uplink bandwidth speed measurement, a second Ethernet data packet of a second set length may be generated in response to the response message according to the physical address of the local machine.

[0116] After generating a second Ethernet data packet of a second set length according to the local physical address, step 602 is executed.

[0117] Step 602: Send the second Ethernet data packet to the near-end machine according to a preset second time interval, so that the near-end machine measures the uplink status according to the number of received data packets and a preset target number of data packets.

[0118] The second time interval refers to the pre-set time interval for sending Ethernet data packets to the proximal machine. In this example, in order to ensure the accuracy of link quality acceptance, packet sending continues for a period of time (more than 30s), and the Ethernet data packet needs to meet the following conditions: packet size * packet sending interval>=1000Mbps.

[0119] After generating the second Ethernet data packet, the second Ethernet data packet can be sent to the near-end machine according to the preset second time interval, so that the near-end machine can measure the uplink state, including Ethernet bandwidth, physical layer bandwidth, and link quality, according to the number of received data packets and the preset target data packet number. Specifically, in the uplink direction, after the far-end machine receives the last bandwidth detection data packet in the bandwidth detection PDU format in the downlink direction and feeds back ACK and the received downlink packet rate, it waits for 2 seconds, sends an uplink bandwidth measurement request, and after obtaining the ACK feedback from the near-end machine, starts to form a bandwidth detection packet of a fixed length in the Ethernet switching module or FPGA module, and the MAC address is the Ethernet packet of the near-end machine switching module or FPGA module. The length and sending interval of the Ethernet packet are configurable, so as to evaluate the bandwidth situation under different packet sizes. The Ethernet packet is sent to the near-end machine through the air interface scheduling module of the near-end machine through the wireless air interface. After receiving the last uplink measurement data packet, the near-end machine feeds back ACK confirmation information and records the measurement results, completing the bandwidth detection of the uplink and downlink wireless links of the far-end machine.

[0120] After the near-end machine completes the measurement of the uplink and downlink status of the target remote machine, it can select other remote machines in turn according to the remote machine number to send bandwidth detection requests in the special bandwidth detection format PDU. After the ACK response, the bandwidth detection PDU format Ethernet packet is sent and the uplink and downlink bandwidth records of the remote machine are completed. Figure 3 As shown, the remote machines associated with the proximal machine include: remote machine 1, remote machine 2, remote machine 3, ..., remote machine N (N is a positive integer). When the proximal machine measures the bandwidth and quality of the uplink and downlink links of the remote machines in turn, it can first measure the bandwidth and quality of the uplink and downlink links of the remote machine. After completion, remote machine 2 is selected to measure the bandwidth and quality of the uplink and downlink links of remote machine 2, and so on, until the measurement of the bandwidth and quality of the uplink and downlink links of all remote machines is completed.

[0121] The uplink status acquisition method provided in the embodiment of the present application generates a second Ethernet data packet of a second set length according to the physical address of the local machine in response to the response message returned by the near-end machine to the uplink bandwidth speed measurement request; sends the second Ethernet data packet to the near-end machine according to a preset second time interval, so that the near-end machine measures the uplink status according to the number of received data packets and the preset number of target data packets. The embodiment of the present application measures the uplink and downlink status of the remote machine by the near-end machine, and can perform one-key acceptance at the near-end machine, and can simultaneously evaluate the link quality of multiple remote machines without the need to perform link evaluation on the remote machine separately, thereby improving the efficiency and accuracy of the uplink and downlink status measurement of the remote machine, and simplifying the measurement of the uplink and downlink status of the remote machine.

[0122] Reference Figure 7 , shows a schematic diagram of the structure of a downlink status acquisition device provided in an embodiment of the present application, the downlink status acquisition device can be applied to a near-end machine, such as Figure 7 As shown, the downlink status acquisition device 700 may include the following modules:

[0123] The first data packet generating module 710 is used to generate a first Ethernet data packet of a first set length according to the physical address of the target remote machine in response to the response message to the downlink bandwidth speed measurement request returned by the target remote machine;

[0124] The first data packet sending module 720 is used to send the first Ethernet data packet to the target remote machine according to a preset first time interval, so that the target remote machine measures the downlink state according to the number of received data packets and the target number of data packets set by the near-end machine;

[0125] The downlink status acquisition module 730 is used to acquire and record the downlink status returned by the target remote machine.

[0126] Optionally, the device further comprises:

[0127] A downlink speed measurement request generation module, used to generate a downlink bandwidth speed measurement request corresponding to the target remote machine according to a custom field identifier;

[0128] A downlink speed measurement request sending module, used to send the downlink bandwidth speed measurement request to the target remote machine;

[0129] The first execution module is used to execute the first data packet generation module after receiving a response message to the downlink bandwidth speed measurement request fed back by the target remote machine.

[0130] Optionally, the first data packet generating module includes:

[0131] An initial data packet generating unit, used for generating an initial Ethernet data packet of a first set length according to the physical address of the target remote machine;

[0132] The first data packet generating unit is used to fill the initial Ethernet data packet with data according to a preset bandwidth detection PDU (Protocol Data Unit) format to generate the first Ethernet data packet.

[0133] Optionally, the device further comprises:

[0134] The data interaction disconnection module is used to disconnect the data interaction with other remote machines except the target remote machine during the process of measuring the link status of the target remote machine.

[0135] The downlink status acquisition device provided in the embodiment of the present application generates a first Ethernet data packet of a first set length according to the physical address of the target remote machine in response to the response message returned by the target remote machine for the downlink bandwidth speed measurement request; sends the first Ethernet data packet to the target remote machine according to a preset first time interval, so that the target remote machine measures the downlink status according to the number of received data packets and the target number of data packets set by the near-end machine; and acquires and records the downlink status returned by the target remote machine. The embodiment of the present application measures the uplink and downlink status of the remote machine through the near-end machine, and can perform one-key acceptance at the near-end machine, and can simultaneously evaluate the link quality of multiple remote machines without the need to perform link evaluation on the remote machine separately, thereby improving the efficiency and accuracy of the uplink and downlink status measurement of the remote machine, and simplifying the measurement of the uplink and downlink status of the remote machine.

[0136] Reference Figure 8 , shows a schematic diagram of the structure of an uplink state acquisition device provided in an embodiment of the present application, the uplink state acquisition device can be applied to a target remote machine, such as Figure 8 As shown, the uplink state acquisition device 800 may include the following modules:

[0137] The second data packet generating module 810 is used to generate a second Ethernet data packet of a second set length according to the physical address of the local machine in response to the response message returned by the local machine to the request for uplink bandwidth speed measurement;

[0138] The uplink status acquisition module 820 is used to send the second Ethernet data packet to the proximal machine according to a preset second time interval, so that the proximal machine measures the uplink status according to the number of received data packets and a preset target number of data packets.

[0139] Optionally, the device further comprises:

[0140] An uplink speed measurement request generation module is used to generate an uplink bandwidth speed measurement request according to a custom field identifier;

[0141] An uplink speed measurement request sending module, used to send the uplink bandwidth speed measurement request to the near-end machine;

[0142] The second execution module executes the second data packet generation module after receiving the response message fed back by the near-end machine to the uplink bandwidth speed measurement request.

[0143] The uplink status acquisition device provided in the embodiment of the present application generates a second Ethernet data packet of a second set length according to the physical address of the local machine by responding to the response message returned by the near-end machine to the uplink bandwidth speed measurement request; and sends the second Ethernet data packet to the near-end machine according to the preset second time interval, so that the near-end machine measures the uplink status according to the number of received data packets and the preset number of target data packets. The embodiment of the present application measures the uplink and downlink status of the remote machine by the near-end machine, and can perform one-key acceptance at the near-end machine, and can simultaneously evaluate the link quality of multiple remote machines without the need to perform link evaluation on the remote machine separately, thereby improving the efficiency and accuracy of the uplink and downlink status measurement of the remote machine, and simplifying the measurement of the uplink and downlink status of the remote machine.

[0144] An embodiment of the present application also provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the above-mentioned downlink status acquisition method or the above-mentioned uplink status acquisition method when executed by the processor.

[0145] Fig. 9 FIG. 1 is a schematic diagram showing the structure of an electronic device 900 according to an embodiment of the present invention. Fig. 9 As shown, the electronic device 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 902 or computer program instructions loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 can also be stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0146] Multiple components in the electronic device 900 are connected to the I / O interface 905, including: an input unit 906, such as a keyboard, a mouse, a microphone, etc.; an output unit 907, such as various types of displays, speakers, etc.; a storage unit 908, such as a disk, an optical disk, etc.; and a communication unit 909, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 909 allows the electronic device 900 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0147] The various processes and processing described above may be performed by the processing unit 901. For example, the method of any of the above embodiments may be implemented as a computer software program, which is tangibly contained in a computer-readable medium, such as the storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 900 via the ROM 902 and / or the communication unit 909. When the computer program is loaded into the RAM 903 and executed by the CPU 901, one or more actions in the method described above may be performed.

[0148] In addition, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned downlink status acquisition method or the above-mentioned uplink status acquisition method is implemented.

[0149] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0150] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0151] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminals (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0152] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0153] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal so that a series of operating steps are executed on the computer or other programmable terminal to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable terminal. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0154] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0155] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or terminal including the elements.

[0156] The above is a detailed introduction to a downlink state acquisition method, an uplink state acquisition method, a downlink state acquisition device, an uplink state acquisition device, an electronic device and a computer-readable storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for acquiring downlink status, applied to a near-end machine, characterized in that: The method comprises: In response to an ACK message returned by the target remote machine in response to the request for downlink bandwidth speed measurement, a first Ethernet data packet of a first set length is generated according to the physical address of the target remote machine; According to a preset first time interval, the first Ethernet data packet is sent to the target remote machine, so that the target remote machine measures the downlink state according to the number of received data packets and the target number of data packets set by the near-end machine; wherein the first time interval refers to a preset time interval for the near-end machine to send the first Ethernet data packet to the target remote machine, and the first Ethernet data packet satisfies: packet size*packet sending interval>=1000Mbps; Acquire and record the downlink status returned by the target remote machine.

2. The method according to claim 1, characterized in that: Before generating a first Ethernet data packet of a first set length according to the physical address of the target remote machine in response to the response ACK message returned by the target remote machine to the request for downlink bandwidth speed measurement, the method further includes: Generate a downlink bandwidth speed measurement request corresponding to the target remote machine according to the custom field identifier; Sending the downlink bandwidth speed measurement request to the target remote machine; After receiving the response ACK message to the downlink bandwidth speed measurement request fed back by the target remote machine, the step of generating a first Ethernet data packet of a first set length in response to the response ACK message to the downlink bandwidth speed measurement request returned by the target remote machine is performed according to the physical address of the target remote machine.

3. The method according to claim 1, characterized in that The step of generating a first Ethernet data packet of a first set length according to the physical address of the target remote machine comprises: Generate an initial Ethernet data packet of a first set length according to the physical address of the target remote machine; The initial Ethernet data packet is filled with data according to a preset bandwidth detection PDU (Protocol Data Unit) format to generate the first Ethernet data packet.

4. The method according to claim 1, characterized in that: Before generating a first Ethernet data packet of a first set length according to the physical address of the target remote machine in response to the response ACK message returned by the target remote machine to the request for downlink bandwidth speed measurement, the method further includes: During the process of measuring the link status of the target remote machine, data interaction with other remote machines except the target remote machine is disconnected.

5. A method for acquiring uplink status, applied to a target remote machine, characterized in that: The method comprises: In response to the response ACK message returned by the near-end machine to the request for uplink bandwidth speed measurement, a second Ethernet data packet of a second set length is generated according to the physical address of the local machine; According to a preset second time interval, the second Ethernet data packet is sent to the near-end machine, so that the near-end machine measures the uplink state according to the number of received data packets and the preset target number of data packets; wherein the second time interval refers to a preset time interval for sending the second Ethernet data packet to the near-end machine, and the second Ethernet data packet: packet size*packet sending interval>=1000Mbps.

6. The method according to claim 5, characterized in that Before generating a second Ethernet data packet of a second set length according to the physical address of the local machine in response to the response ACK message returned by the near-end machine to the request for uplink bandwidth speed measurement, the method further includes: Generate an uplink bandwidth speed measurement request based on the custom field identifier; Sending the uplink bandwidth speed measurement request to the near-end machine; After receiving the response ACK message to the uplink bandwidth speed measurement request fed back by the proximal machine, the step of generating a second Ethernet data packet of a second set length in response to the response ACK message to the uplink bandwidth speed measurement request returned by the proximal machine according to the physical address of the local machine is executed.

7. A downlink status acquisition device, applied to a near-end machine, characterized in that: The device comprises: A first data packet generating module, configured to generate a first Ethernet data packet of a first set length in response to an ACK message returned by a target remote machine to a request for downlink bandwidth speed measurement according to a physical address of the target remote machine; A first data packet sending module is used to send the first Ethernet data packet to the target remote machine according to a preset first time interval, so that the target remote machine measures the downlink state according to the number of received data packets and the target number of data packets set by the near-end machine; wherein the first time interval refers to a preset time interval for the near-end machine to send the first Ethernet data packet to the target remote machine, and the first Ethernet data packet satisfies: packet size*packet sending interval>=1000Mbps; The downlink status acquisition module is used to acquire and record the downlink status returned by the target remote machine.

8. The device according to claim 7, characterized in that The device also includes: A downlink speed measurement request generation module, used to generate a downlink bandwidth speed measurement request corresponding to the target remote machine according to a custom field identifier; A downlink speed measurement request sending module, used to send the downlink bandwidth speed measurement request to the target remote machine; The first execution module is used to execute the first data packet generation module after receiving a response ACK message fed back by the target remote machine in response to the downlink bandwidth speed measurement request.

9. The device according to claim 7, characterized in that The first data packet generation module comprises: An initial data packet generating unit, used for generating an initial Ethernet data packet of a first set length according to the physical address of the target remote machine; The first data packet generating unit is used to fill the initial Ethernet data packet with data according to a preset bandwidth detection PDU (Protocol Data Unit) format to generate the first Ethernet data packet.

10. The device according to claim 7, characterized in that The device also includes: The data interaction disconnection module is used to disconnect the data interaction with other remote machines except the target remote machine during the process of measuring the link status of the target remote machine.

11. An uplink status acquisition device, applied to a target remote machine, characterized in that: The device comprises: A second data packet generating module, configured to generate a second Ethernet data packet of a second set length according to the physical address of the local machine in response to the response ACK message returned by the local machine to the request for uplink bandwidth speed measurement; The uplink status acquisition module is used to send the second Ethernet data packet to the near-end machine according to a preset second time interval, so that the near-end machine measures the uplink status according to the number of received data packets and the preset target number of data packets; wherein the second time interval refers to a preset time interval for sending the second Ethernet data packet to the near-end machine, and the second Ethernet data packet satisfies: packet size*packet sending interval>=1000Mbps.

12. The device according to claim 11, characterized in that The device also includes: An uplink speed measurement request generation module is used to generate an uplink bandwidth speed measurement request according to a custom field identifier; An uplink speed measurement request sending module, used to send the uplink bandwidth speed measurement request to the near-end machine; The second execution module executes the second data packet generation module after receiving the response ACK message fed back by the near-end machine in response to the uplink bandwidth speed measurement request.

13. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the downlink state acquisition method according to any one of claims 1 to 4 or the uplink state acquisition method according to any one of claims 5 to 6 is implemented.

14. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the downlink state acquisition method described in any one of claims 1 to 4, or the uplink state acquisition method described in any one of claims 5 to 6.

Citation Information

Patent Citations

  • Network bio-directional testing method

    CN104734909A