Control method and device
By dynamically adjusting the external code frame error detection ratio of the cascading code system, only some data are detected according to the link error rate, the problem of high power consumption of the cascading code system is solved, and power reduction and error correction are achieved. Keeping the wrong ability.
Patent Information
- Application Number
- CN202310535099.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-12
- Publication Date
- 2024-11-12
AI Technical Summary
The existing cascading code systems consume higher power when reducing the network link bit error rate, and power is needed to reduce to improve system efficiency.
By dynamically adjusting the cascade code system's external code frame error detection ratio of the link transmitted data, the target information is determined based on the link error rate, so that only partial or no external code frame error detection is performed on data, so as to reduce external code frame detection The power consumption of the wrong circuit.
It effectively reduces the power consumption of the cascading code system, improves the system efficiency, and maintains the error error correction ability.
Smart Images

Figure CN118944806A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of control technology, and in particular, to control methods and devices. Background Art
[0002] As the demand for Ethernet capacity increases, the speed of network links is getting higher and higher, and the bit error rate of network links is also increasing. The increase in bit error rate poses a serious threat to the stability and continuity of services.
[0003] In the related art, a cascade code system can be used to perform error correction on a network link to reduce the error rate of the network link. However, although the cascade code system can perform error correction on a network link, it consumes a lot of power.
[0004] Therefore, how to reduce the power of the concatenated code system is one of the problems that those skilled in the art need to solve urgently. Summary of the invention
[0005] The embodiment of the present application provides a control method and device, which can reduce the power of the cascade code system. To achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
[0006] In a first aspect, an embodiment of the present application provides a control method, the method comprising: obtaining a bit error rate of a link. Determining target information according to the bit error rate. The target information is used to indicate a ratio of outer code frame error detection for data transmitted by the link, the data comprising inner code frames and outer code frames.
[0007] It can be seen that the method provided in the embodiment of the present application can dynamically adjust the ratio of the cascade code system to perform outer code frame error detection on the data transmitted on the link according to the bit error rate of the link. Compared with the cascade code system in the related art, all the data transmitted on the link are subjected to outer code frame error detection. The method provided in the embodiment of the present application can perform outer code frame error detection on only part of the data transmitted on the link or not at all according to the bit error rate of the link, thereby reducing the power consumption of the outer code frame error detection circuit in the cascade code system, thereby reducing the power of the cascade code system.
[0008] In a possible implementation manner, the method may further include: performing outer code frame error detection on the outer code frame of the data according to the target information.
[0009] It can be seen that the method provided in the embodiment of the present application can obtain target information for indicating the ratio of outer code frame error detection for the data transmitted on the above link according to the bit error rate of the link. The outer code frame of the above data is subjected to outer code frame error detection through the target information to dynamically adjust the ratio of the outer code frame error detection for the data transmitted on the link by the cascade code system. Compared with the cascade code system in the related art, all data transmitted on the link are subjected to outer code frame error detection. The method provided in the embodiment of the present application can perform outer code frame error detection on only part of the data transmitted on the link or not at all according to the bit error rate of the link, thereby reducing the power consumption of the outer code frame error detection circuit in the cascade code system, thereby reducing the power of the cascade code system.
[0010] In a possible implementation, when the bit error rate is less than or equal to a first threshold, the target information is determined to be a first value; when the bit error rate is greater than the first threshold, the target information is determined to be a second value, and the second value is greater than the first value.
[0011] It can be understood that if the bit error rate is less than or equal to the first threshold, it means that the link bit error rate is low. At this time, determining the above target information to be the first value can reduce the ratio of the outer code frame error detection of the data transmitted by the link, so as to reduce the power consumption of the outer code frame error detection circuit in the cascade code system, thereby reducing the power of the cascade code system. If the bit error rate is greater than the first threshold, it means that the link bit error rate is low. At this time, determining the above target information to be the second value can increase the ratio of the outer code frame error detection of the data transmitted by the link, so as to reduce the bit error rate of the link.
[0012] In a possible implementation, the first value may be greater than or equal to 0 and less than 1.
[0013] In a second aspect, the present application implements a control device, which includes: a transceiver unit and a processing unit. The transceiver unit is used to obtain a bit error rate of a link. The processing unit is used to determine target information based on the bit error rate, and the target information is used to indicate the ratio of outer code frame error detection for data transmitted on the link, and the data includes inner code frames and outer code frames.
[0014] In a possible implementation manner, the processing unit is further configured to: perform outer code frame error detection on the outer code frame of the data according to the target information.
[0015] In a possible implementation, the processing unit is specifically used to: when the bit error rate is less than or equal to a first threshold, determine the target information as a first value; when the bit error rate is greater than the first threshold, determine the target information as a second value, and the second value is greater than the first value.
[0016] In a possible implementation, the first value is greater than or equal to 0 and less than 1.
[0017] In a third aspect, an embodiment of the present application further provides a control device, which includes: at least one processor, when the at least one processor executes program code or instructions, it implements the method described in the above first aspect or any possible implementation method thereof.
[0018] Optionally, the control device may further include at least one memory, and the at least one memory is used to store the program code or instruction.
[0019] In a fourth aspect, an embodiment of the present application further provides a chip, comprising: an input interface, an output interface, and at least one processor. Optionally, the chip further comprises a memory. The at least one processor is used to execute the code in the memory, and when the at least one processor executes the code, the chip implements the method described in the first aspect or any possible implementation thereof.
[0020] Optionally, the above chip may also be an integrated circuit.
[0021] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium for storing a computer program, wherein the computer program includes methods for implementing the method described in the above-mentioned first aspect or any possible implementation thereof.
[0022] In a sixth aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to implement the method described in the first aspect or any possible implementation thereof.
[0023] The control device, computer storage medium, computer program product and chip provided in this embodiment are all used to execute the method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the method provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 A schematic diagram of the structure of a cascade code system provided in an embodiment of the present application;
[0026] Figure 2 A flow chart of a control method provided in an embodiment of the present application;
[0027] Figure 3A schematic diagram of the structure of a control device provided in an embodiment of the present application;
[0028] Figure 4 A schematic diagram of the structure of a chip provided in an embodiment of the present application;
[0029] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0030] Figure 6 A schematic diagram of the structure of another control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present application.
[0032] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0033] The terms "first" and "second" and the like in the description and drawings of the embodiments of the present application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0034] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0035] It should be noted that in the description of the embodiments of the present application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as having priority or advantage over other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0036] First, the terms involved in the embodiments of the present application are explained.
[0037] Forward error correction (FEC) is a data encoding and error correction technology. In communication transmission with FEC, the sender completes data encoding, and the receiver completes data error detection and error data location calculation according to the specified algorithm, and then corrects the erroneous data.
[0038] Reed Solomon (RS) code defines the codeword length N and the information length K. RS code can be expressed as RS (N, K, T, M). Among them, N represents the code block length, K represents the information length, T represents the number of symbols that can be corrected, 2T represents the length of the check code, and m represents the symbol bit width.
[0039] Bose Chaudhuri Hocquenghem Codes (BCH) codes are error-correcting codes that can correct random errors.
[0040] Bit error rate: Bit error rate is the most commonly used indicator of data communication transmission quality. It can be understood as "how many bits of data have an error". The bit error rate in mobile communication networks mainly refers to the bit error rate. The bit error rate can meet the following equation: Bit error rate = number of error bits / total number of transmitted bits * 100%.
[0041] Bit errors are caused by the fact that decay changes the voltage of the signal during transmission, causing the signal to be damaged during transmission, resulting in bit errors. Noise, pulses caused by alternating current or lightning, transmission equipment failures and other factors can all cause bit errors (in data communication, if the signal sent is 1 and the received signal is 0, this is a bit error, that is, an error has occurred).
[0042] As the demand for Ethernet capacity increases, the speed of network links is getting higher and higher, and the bit error rate of network links is also increasing. The increase in bit error rate poses a serious threat to the stability and continuity of services.
[0043] In the related art, a cascade code system can be used to perform error correction on a network link to reduce the error rate of the network link. However, although the cascade code system can perform error correction on a network link, it consumes a lot of power.
[0044] To this end, the embodiment of the present application provides a control method that can reduce the power of the cascade code system. The method is applicable to the cascade code system. Figure 1 A possible existence form of the concatenated code system is shown.
[0045] like Figure 1 The cascade code system shown includes: an inner code frame decoding module 10 and an outer code frame decoding module 20.
[0046] The inner code frame decoding module 10 is used to perform error detection on the inner code frame of the data packet input into the concatenated code system.
[0047] For example, the inner code frame decoding module 10 may perform error detection on the BCH frame of the data packet input into the concatenated code system.
[0048] In a possible implementation, the inner code frame decoding module 10 may include a BCH error detection (BCH_CHK) circuit.
[0049] The outer code frame decoding module 20 is used to perform error detection on the outer code frame of the data packet input into the concatenated code system.
[0050] For example, the outer code frame decoding module 20 can perform error detection on the RS frame of the data packet input into the concatenated code system.
[0051] In a possible implementation, the outer code frame decoding module 20 may include a RS error detection (RS_CHK) circuit and a RS error correction (RS_COR) circuit.
[0052] Figure 2 A control method provided by an embodiment of the present application is shown, the method comprising:
[0053] S201. Obtain a link bit error rate.
[0054] The specific method for obtaining the bit error rate of the link can adopt any method that can be thought of by a person skilled in the art, and the embodiments of the present application do not limit this. For example, the total number of transmission bits of the link and the number of error bits of the link can be obtained, and the bit error rate of the link can be determined according to the total number of transmission bits of the link and the number of error bits of the link.
[0055] S202: Determine target information according to the above bit error rate.
[0056] The target information is used to indicate the ratio of outer code frame error detection for data transmitted on the link, and the data includes inner code frames and outer code frames.
[0057] In a possible implementation manner, the target information may be determined according to the bit error rate and N thresholds, where N is a positive integer.
[0058] In a possible implementation, when the bit error rate is less than or equal to the first threshold, the target information is determined to be a first value. When the bit error rate is greater than the first threshold, the target information is determined to be a second value, which is greater than the first value.
[0059] For example, when the bit error rate is equal to 0, the target information may be determined to be 0. When the bit error rate is greater than 0, the target information may be determined to be 0.3.
[0060] It can be understood that if the bit error rate is less than or equal to the first threshold, it means that the link bit error rate is low. At this time, determining the above target information to be the first value can reduce the ratio of the outer code frame error detection of the data transmitted by the link, so as to reduce the power consumption of the outer code frame error detection circuit in the cascade code system, thereby reducing the power of the cascade code system. If the bit error rate is greater than the first threshold, it means that the link bit error rate is low. At this time, determining the above target information to be the second value can increase the ratio of the outer code frame error detection of the data transmitted by the link, so as to reduce the bit error rate of the link.
[0061] Optionally, the first numerical value may be greater than or equal to 0 and less than 1.
[0062] In another possible implementation, when the bit error rate is less than or equal to the first threshold, the target information is determined to be a first value. When the bit error rate is greater than the first threshold, the target information is determined to be a second value. When the bit error rate is greater than the first threshold and less than or equal to the second threshold, the target information is determined to be a second value. When the bit error rate is greater than a third threshold, the target information is determined to be a third value. The third value is greater than the second value.
[0063] For example, when the bit error rate is equal to 0, the target information may be determined to be 0. When the bit error rate is greater than 0 and less than or equal to 0.1, the target information may be determined to be 0.3. When the bit error rate is greater than 0.1, the target information may be determined to be 0.7.
[0064] It can be seen that the method provided in the embodiment of the present application can dynamically adjust the ratio of the cascade code system to perform outer code frame error detection on the data transmitted on the link according to the bit error rate of the link. Compared with the cascade code system in the related art, all the data transmitted on the link are subjected to outer code frame error detection. The method provided in the embodiment of the present application can perform outer code frame error detection on only part of the data transmitted on the link or not at all according to the bit error rate of the link, thereby reducing the power consumption of the outer code frame error detection circuit in the cascade code system, thereby reducing the power of the cascade code system.
[0065] It is worth mentioning that according to the characteristics that the outer code is N times the inner code, N ≥ 2, and the characteristics of linear coding BCH / RS, it means that the power consumption of error detection of the outer code frame (such as RS frame) is 3 to 4 times that of the error detection of the inner code frame (such as BCH frame), which means that the power consumption of the outer code error detection accounts for 75% to 80%, which is relatively high. The larger the N, the greater the proportion of the power consumption of the outer code error detection. When N>4, the power consumption of the outer code error detection basically accounts for more than 90%. Therefore, the method provided in the embodiment of the present application starts the outer code frame error detection and decoding functions on demand according to the inner code frame error detection result, instead of using fixed startup of the outer code frame error detection to unify all errors within the error detection capability of the inner code frame, thereby reducing the power consumption of the outer code frame error detection circuit in the cascade code system, thereby reducing the power of the cascade code system.
[0066] Optionally, the above threshold may be a memory waterline.
[0067] S203: Perform outer code frame error detection on the outer code frame of the data according to the target information.
[0068] In a possible implementation manner, outer code frame error detection may be performed on the outer code frame of the data according to the target information.
[0069] For example, if the target information is 0, the inner code frame decoding module and the outer code frame decoding module can be adjusted to be serial, and the outer code frame error detection is not performed on the outer code frame of the data.
[0070] For another example, if the target information is 0.3, the inner code frame decoding module and the outer code frame decoding module may be adjusted to operate in parallel, and outer code frame error detection may be performed on the outer code frames of 30% of the data.
[0071] For another example, if the target information is 0.5, the inner code frame decoding module and the outer code frame decoding module may be adjusted to operate in parallel, and outer code frame error detection may be performed on the outer code frames of 50% of the data.
[0072] In a possible implementation manner, inner code frame error detection may also be performed on the inner code frame of the above data.
[0073] It can be seen that the method provided in the embodiment of the present application can obtain target information for indicating the ratio of outer code frame error detection for the data transmitted on the above link according to the bit error rate of the link. The outer code frame of the above data is subjected to outer code frame error detection through the target information to dynamically adjust the ratio of the outer code frame error detection for the data transmitted on the link by the cascade code system. Compared with the cascade code system in the related art, all data transmitted on the link are subjected to outer code frame error detection. The method provided in the embodiment of the present application can perform outer code frame error detection on only part of the data transmitted on the link or not at all according to the bit error rate of the link, thereby reducing the power consumption of the outer code frame error detection circuit in the cascade code system, thereby reducing the power of the cascade code system.
[0074] The following takes EBCH (1320, 1285) + RS (952, 924) as a cascade code system as an example to introduce the power consumption benefits of the method provided in the embodiment of the present application. Among them, one RS (952, 924) is composed of 7 EBCH (1320, 1285). According to the scale of the coding matrix, the RS_CHK (external code frame decoding module) scale of its RS (952, 924) is estimated to be about 10 to 12 times the scale of the BCH_CHK (inner code frame decoding module) of EBCH (1320, 1285). Set the power consumption of BCH_CH K (external code frame decoding module) to 1, and the power consumption of RS_CHK (inner code frame decoding module) is estimated to be 9. The power consumption benefits of the method provided in the embodiment of the present application are shown in Table 1.
[0075] As shown in Table 1, when the link bit error rate is 1.00E-05, the embodiment of the present application can achieve 81.43% and 54.29% power consumption benefits respectively by adjusting the ratio of the outer code frame error detection of the link transmission data by the cascade code system according to the link bit error rate. When the link bit error rate is 1.00E-06, the embodiment of the present application can achieve 89.14% and 59.43% power consumption benefits respectively by adjusting the ratio of the outer code frame error detection of the link transmission data by the cascade code system according to the link bit error rate.
[0076] Table 1
[0077]
[0078] The following will be combined Figure 3 A control device for executing the above control method is introduced.
[0079] It is understandable that, in order to realize the above functions, the control device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the embodiments of the present application.
[0080] The embodiment of the present application can divide the functional modules of the control device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0081] In the case of dividing each functional module into corresponding functional modules, Figure 3 A possible schematic diagram of the composition of the control device involved in the above embodiment is shown. Figure 3 As shown, the control device 300 may include: a transceiver unit 301 and a processing unit 302 .
[0082] The transceiver unit 301 is used to obtain the bit error rate of the link.
[0083] The processing unit 302 is used to determine target information according to the bit error rate, where the target information is used to indicate the ratio of outer code frame error detection for the data transmitted on the link, where the data includes inner code frames and outer code frames.
[0084] In a possible implementation manner, the processing unit 302 is further configured to: perform outer code frame error detection on the outer code frame of the data according to the target information.
[0085] In a possible implementation, the processing unit 302 is specifically used to: when the bit error rate is less than or equal to a first threshold, determine the target information as a first value; when the bit error rate is greater than the first threshold, determine the target information as a second value, and the second value is greater than the first value.
[0086] In a possible implementation, the first value is greater than or equal to 0 and less than 1.
[0087] The embodiment of the present application also provides a chip. Figure 4 4 shows a schematic diagram of the structure of a chip 400. The chip 400 includes one or more processors 401 and an interface circuit 402. Optionally, the chip 400 may also include a bus 403.
[0088] The processor 401 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above control method may be completed by an integrated logic circuit of hardware in the processor 401 or by instructions in the form of software.
[0089] Optionally, the processor 401 may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods and steps disclosed in the embodiments of the present application may be implemented or executed. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0090] The interface circuit 402 can be used to send or receive data, instructions or information. The processor 401 can use the data, instructions or other information received by the interface circuit 402 to process, and can send the processing completion information through the interface circuit 402.
[0091] Optionally, the chip also includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory (NVRAM).
[0092] Optionally, the memory stores executable software modules or data structures, and the processor can perform corresponding operations by calling operation instructions stored in the memory (the operation instructions can be stored in the operating system).
[0093] Optionally, the chip can be used in the control device involved in the embodiment of the present application. Optionally, the interface circuit 402 can be used to output the execution result of the processor 401. The control method provided by one or more embodiments of the embodiment of the present application can refer to the above embodiments, which will not be repeated here.
[0094] It should be noted that the functions corresponding to the processor 401 and the interface circuit 402 can be implemented through hardware design, software design, or a combination of hardware and software, and there is no limitation here.
[0095] Figure 5 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application, the electronic device 500 may be a processor or a chip or functional module in a processor. Figure 5 As shown, the electronic device 500 includes a processor 501 , a transceiver 502 and a communication circuit 503 .
[0096] Among them, the processor 501 is used to execute any step in the control method provided in the embodiment of the present application, and in the process of executing any step in the control method provided in the embodiment of the present application, the transceiver 502 and the communication line 503 can be selectively called to complete the corresponding operation.
[0097] Furthermore, the electronic device 500 may further include a memory 504. The processor 501, the memory 504 and the transceiver 502 may be connected via a communication line 503.
[0098] The processor 501 is a processor, a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 501 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.
[0099] The transceiver 502 is used to communicate with other devices or other communication networks, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc. The transceiver 502 can be a module, a circuit, a transceiver or any device capable of achieving communication.
[0100] The transceiver 502 is mainly used for sending and receiving commands and information, etc., and may include a transmitter and a receiver, which respectively send and receive commands and information, etc.; operations other than sending and receiving commands and information, etc. are implemented by the processor.
[0101] The communication line 503 is used to transmit information between the components included in the electronic device 500.
[0102] In one design, the processor may be considered as the logic circuit and the transceiver may be considered as the interface circuit.
[0103] The memory 504 is used to store instructions, where the instructions may be computer programs.
[0104] The memory 504 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLD RAM), and direct rambus RAM (DRRAM). The memory 504 may also be a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disk, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, etc. It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0105] It should be noted that the memory 504 can exist independently of the processor 501, or can be integrated with the processor 501. The memory 504 can be used to store instructions or program codes or some data, etc. The memory 504 can be located inside the electronic device 500, or outside the electronic device 500, without limitation. The processor 501 is used to execute the instructions stored in the memory 504 to implement the method provided in the above embodiment of the present application.
[0106] In one example, the processor 501 may include one or more processors, such as Figure 5 Processor 0 and processor 1 in.
[0107] As an optional implementation, the electronic device 500 includes multiple processors, for example, Figure 5 In addition to the processor 501, a processor 507 may also be included.
[0108] As an optional implementation, the electronic device 500 further includes an output device 505 and an input device 506. Exemplarily, the input device 506 is a device such as a keyboard, a mouse, a microphone or a joystick, and the output device 505 is a device such as a display screen and a speaker.
[0109] It should be noted that the electronic device 500 may be a chip system or a Figure 5 Devices with similar structures in the chip system. Among them, the chip system can be composed of chips, or it can include chips and other discrete devices. The actions, terms, etc. involved in the various embodiments of this application can refer to each other without limitation. The message name or parameter name in the message exchanged between the various devices in the embodiment of this application is only an example, and other names can also be used in the specific implementation without limitation. In addition, Figure 5 The components shown in the figure do not constitute a limitation on the electronic device 500. Figure 5 In addition to the components shown, the electronic device 500 may include Figure 5 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.
[0110] The processor and transceiver described in the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (Si Ge), gallium arsenide (GaAs), etc.
[0111] Figure 6This is a schematic diagram of the structure of a control device provided in an embodiment of the present application. The control device can be applied to the scenario shown in the above method embodiment. For the convenience of explanation, Figure 6 Only the main components of the control device are shown, including a processor 601, a memory 602, a control circuit 603, and an input-output device 604. The processor 601 is mainly used to process the communication protocol and communication data, execute the software program, and process the data of the software program. The memory 602 is mainly used to store the software program and data. The control circuit 603 is mainly used for power supply and transmission of various electrical signals. The input-output device 604 is mainly used to receive data input by the user and output data to the user.
[0112] When the control device is a processor 601, the control circuit 603 can be a mainboard, the memory 602 includes a hard disk, RAM, ROM and other media with storage functions, the processor 601 can include a baseband processor 601 and a central processing unit, the baseband processor is mainly used to process the communication protocol and communication data, the central processing unit is mainly used to control the entire control device, execute software programs, and process the data of the software programs, and the input and output device 604 includes a display screen, a keyboard and a mouse, etc.; the control circuit 603 can further include or connect a transceiver circuit or a transceiver, such as: a network cable interface, etc., for sending or receiving data or signals, such as data transmission and communication with other devices. Further, it can also include an antenna for sending and receiving wireless signals, and for data / signal transmission with other devices.
[0113] An embodiment of the present application also provides a control device, which includes: at least one processor, when the at least one processor executes program code or instructions, it implements the above-mentioned related method steps to implement the control method in the above-mentioned embodiment.
[0114] Optionally, the device may further include at least one memory, and the at least one memory is used to store the program code or instruction.
[0115] An embodiment of the present application also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on a control device, the control device executes the above-mentioned related method steps to implement the control method in the above-mentioned embodiment.
[0116] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the control method in the above-mentioned embodiment.
[0117] The embodiment of the present application also provides a control device, which can be a chip, an integrated circuit, a component or a module. Specifically, the device may include a connected processor and a memory for storing instructions, or the device includes at least one processor for obtaining instructions from an external memory. When the device is running, the processor can execute instructions so that the chip executes the control method in the above-mentioned method embodiments.
[0118] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0119] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0120] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0121] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0122] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0124] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0125] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A control method, characterized in that: The method comprises: Get the bit error rate of the link; Target information is determined according to the bit error rate, wherein the target information is used to indicate a ratio of outer code frame error detection for data transmitted on the link, the data including inner code frames and outer code frames.
2. The method according to claim 1, characterized in that The method further comprises: An outer code frame error detection is performed on the outer code frame of the data according to the target information.
3. The method according to claim 1 or 2, characterized in that: Determining target information according to the bit error rate includes: When the bit error rate is less than or equal to a first threshold, determining that the target information is a first value; When the bit error rate is greater than a first threshold, the target information is determined to be a second value, and the second value is greater than the first value.
4. The method according to claim 3, characterized in that The first value is greater than or equal to 0 and less than 1.
5. A control device, characterized in that: The device comprises a transceiver unit and a processing unit; The transceiver unit is used to obtain the bit error rate of the link; The processing unit is used to determine target information according to the bit error rate, and the target information is used to indicate the ratio of outer code frame error detection for data transmitted on the link, and the data includes inner code frames and outer code frames.
6. The device according to claim 5, characterized in that The processing unit is also used for: An outer code frame error detection is performed on the outer code frame of the data according to the target information.
7. The device according to claim 5 or 6, characterized in that The processing unit is specifically used for: When the bit error rate is less than or equal to a first threshold, determining that the target information is a first value; When the bit error rate is greater than a first threshold, the target information is determined to be a second value, and the second value is greater than the first value.
8. The device according to claim 7, characterized in that The first value is greater than or equal to 0 and less than 1.
9. A control device, comprising at least one processor and a memory, characterized in that: The at least one processor executes a program or instruction stored in the memory so that the control device implements the method according to any one of claims 1 to 4 above.
10. A computer-readable storage medium for storing a computer program, characterized in that: When the computer program is executed on a computer or a processor, the computer or the processor is enabled to implement the method according to any one of claims 1 to 4.
11. A computer program product, comprising instructions, characterized in that: When the instructions are executed on a computer or a processor, the computer or the processor is enabled to implement the method according to any one of claims 1 to 4.
12. A chip comprising at least one processor and a memory, characterized in that: The at least one processor executes a program or instruction stored in the memory so that the control device implements the method according to any one of claims 1 to 4 above.
