Detection Method, Device, Equipment and Medium of Communication Chip
By detecting the idle time slots of the communication chip and generating test vectors online, the problems of low detection coverage and high resource consumption in the prior art are solved, and the functional safety online detection of the communication chip is realized.
Patent Information
- Application Number
- CN201911159004.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-22
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2039-11-22
AI Technical Summary
In the prior art, the detection coverage rate of communication chips is low, and a large amount of communication chip resource performance is consumed during the detection process, so functionally safe online detection cannot be achieved.
By detecting the idle time slots at the receiving end or sending end during the operation of the communication chip, a test vector is generated online and standard results are generated, a data frame containing the test vector is constructed and sent to the chip through the idle time slot for processing, obtaining the chip processing results, and system comparison is performed.
The online detection of functional safety of communication chips is realized, the detection coverage is improved, and the consumption of resources and performance during the detection process is avoided.
Smart Images

Figure CN110824343B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method, apparatus, electronic device, and medium for detecting a communication chip. Background Art
[0002] With the continuous development of communication technologies, communication chips have been widely used in fields such as mobile communication, wireless networks, and wireless data transmission industries. The functional safety of communication chips has a great impact on all walks of life.
[0003] At present, the detection of communication chips mainly focuses on obvious quality problems such as whether the communication chip can communicate normally, whether it can camp on a cell, or whether a communication link can be established. However, there is less detection of the functional safety of communication chips. Only methods such as parity, error correcting code (ECC), redundant design, or dual lock step can be used to detect the functional safety of communication chips.
[0004] The existing functional safety detection methods for Parity and ECC communication chips in the prior art cannot accurately distinguish test nodes, resulting in low test coverage. The functional safety detection methods for redundant design and dual lock step communication chips improve functional safety at the cost of sacrificing chip resources and performance, and these two methods can only test communication chips in an offline state. Summary of the Invention
[0005] Embodiments of the present invention provide a method, apparatus, electronic device, and medium for detecting a communication chip to achieve online detection of the functional safety of a communication chip, and solve the problems of low detection coverage of communication chips and consumption of a large amount of communication chip resources and performance during the detection process in the prior art.
[0006] In a first aspect, embodiments of the present invention provide a method for detecting a receiving end of a communication chip, the method including:
[0007] During the operation of the communication chip, detect the idle time slots of the receiving end of the communication chip;
[0008] Generate test vectors online and generate standard results corresponding to the test vectors;
[0009] Construct a data frame containing the test vectors and send the data frame to the receiving end of the communication chip through the idle time slots for processing to obtain a chip processing result;
[0010] Perform a system comparison between the standard result and the chip processing result.
[0011] In a second aspect, an embodiment of the present invention further provides a method for detecting a transmitting end of a communication chip, the method comprising:
[0012] During the operation of the communication chip, detecting an idle time slot of the transmitting end of the communication chip;
[0013] Online generating a test vector and generating a standard result corresponding to the test vector;
[0014] Constructing a data frame containing the test vector and sending the data frame to the transmitting end of the communication chip through the idle time slot for processing to obtain a chip processing result;
[0015] Systematically comparing the standard result with the chip processing result.
[0016] In a third aspect, an embodiment of the present invention further provides a device for detecting a receiving end of a communication chip, the device comprising:
[0017] An idle time slot detection module for the receiving end, configured to detect an idle time slot of the receiving end of the communication chip during the operation of the communication chip;
[0018] A standard result generation module, configured to online generate a test vector and generate a standard result corresponding to the test vector;
[0019] A chip processing result generation module, configured to construct a data frame containing the test vector and send the data frame to the receiving end of the communication chip through the idle time slot for processing to obtain a chip processing result;
[0020] A standard result and chip processing result comparison module, configured to systematically compare the standard result with the chip processing result.
[0021] In a fourth aspect, an embodiment of the present invention further provides a device for detecting a transmitting end of a communication chip, the device comprising:
[0022] An idle time slot detection module for the transmitting end, configured to detect an idle time slot of the transmitting end of the communication chip during the operation of the communication chip;
[0023] A standard result generation module, configured to online generate a test vector and generate a standard result corresponding to the test vector;
[0024] A chip processing result generation module, configured to construct a data frame containing the test vector and send the data frame to the transmitting end of the communication chip through the idle time slot for processing to obtain a chip processing result;
[0025] A standard result and chip processing result comparison module is used to systematically compare the standard result with the chip processing result.
[0026] In a fifth aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the receiving end detection method of the communication chip as described in any embodiment of the present invention, or implements the sending end detection method of the communication chip as described in any embodiment of the present invention.
[0027] In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the receiving end detection method of the communication chip as described in any embodiment of the present invention, or implements the sending end detection method of the communication chip as described in any embodiment of the present invention.
[0028] In the embodiment of the present invention, during the operation of the communication chip, the idle time slots of the receiving end of the communication chip are detected; test vectors are generated online, and standard results corresponding to the test vectors are generated; data frames containing the test vectors are constructed, and the data frames are sent to the receiving end of the communication chip through the idle time slots for processing to obtain chip processing results; the standard results are systematically compared with the chip processing results. The online detection of the functional safety of the communication chip is realized, and the problems of low detection coverage rate of the communication chip and the consumption of a large amount of communication chip resources and performance during the detection process in the prior art are solved. Description of the Drawings
[0029] Figure 1 is a flowchart of a receiving end detection method of a communication chip in Embodiment 1 of the present invention;
[0030] Figure 2 is a structural block diagram of a vehicle networking communication chip listed in Embodiment 1 of the present invention;
[0031] Figure 3 is a flowchart of a receiving end detection method of a vehicle networking communication chip listed in Embodiment 1 of the present invention;
[0032] Figure 4 is a flowchart of a sending end detection method of a communication chip in Embodiment 2 of the present invention;
[0033] Figure 5 is a flowchart of a sending end detection method of a vehicle networking communication chip listed in Embodiment 2 of the present invention;
[0034] Figure 6 is a flowchart of a detection method of a vehicle networking communication chip listed in Embodiment 2 of the present invention;
[0035] Figure 7 It is a schematic structural diagram of a receiving - end detection device for a communication chip in Embodiment 3 of the present invention;
[0036] Figure 8 It is a schematic structural diagram of a transmitting - end detection device for a communication chip in Embodiment 4 of the present invention;
[0037] Figure 9 It is a schematic structural diagram of a computer device in Embodiment 5 of the present invention. Detailed implementation manners
[0038] The following further elaborates on the embodiments of the present invention in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the embodiments of the present invention, rather than limiting the embodiments of the present invention. Additionally, it should be noted that for the sake of description, only parts related to the embodiments of the present invention are shown in the drawings, rather than all structures.
[0039] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the operations can be rearranged. When the operations are completed, the process can be terminated, but there can also be additional steps not included in the drawings. The process can correspond to a method, function, procedure, sub - routine, sub - program, etc.
[0040] For ease of understanding, the main inventive concept of the embodiments of the present invention is briefly described.
[0041] In the prior art, the detection of communication chips mainly focuses on obvious quality problems such as whether the communication chip can communicate normally, whether it can camp on a cell, or whether a communication link can be established. However, the functional safety detection of communication chips is less, and only methods such as Parity, ECC, redundant design, or Dual Lock step can be used to perform functional safety detection on communication chips.
[0042] The functional safety detection methods of Parity and ECC communication chips in the prior art cannot accurately distinguish test nodes, resulting in low test coverage; the functional safety detection methods of redundant design and dual lock step communication chips improve functional safety at the expense of chip resources and performance, and these two methods can only test communication chips in an offline state.
[0043] In view of the problems of low coverage rate of the functional safety detection method for communication chips and the consumption of a large amount of communication chip resources and performance during the detection process in the prior art, the inventors considered whether it is possible to test the functional safety of communication chips during idle time slots, with the aim of increasing the detection coverage rate as much as possible without consuming a large amount of communication chip resources and performance.
[0044] The inventors analyzed the vehicle-to-everything (V2X) communication chips and their communication protocols. C-V2X is a vehicle wireless communication technology evolved from cellular network communication technologies such as the 3rd-Generation (3G), 4th-Generation (4G), or 5th-Generation (5G) mobile communication technologies. It includes two communication interfaces: one is the short-distance direct communication interface (PC5) between vehicles, people, and roads, and the other is the communication interface (Uu) between terminals and base stations, which can achieve reliable communication over long distances and a larger range. C-V2X is a communication technology based on the global unified standard of the 3rd Generation Partnership Project (3GPP), including LTE-V2X and 5G-V2X. From the perspective of technology evolution, LTE-V2X supports smooth evolution to 5G-V2X. The inventors respectively analyzed the time slot frame structures of LTE-V2X based on the PC5 and Uu interfaces, as well as the 5G-V2X protocol. The inventors found that the radio frame structures of the PC5 interface, Uu interface, and 5G-V2X all adopt the time division duplex (TDD) system. Therefore, it is feasible to detect idle time slots and perform functional safety detection on communication chips through the idle time slots.
[0045] Based on the above considerations, the inventors creatively proposed that during the operation of the communication chip, detect the idle time slots at the receiving end of the communication chip; generate test vectors online and generate corresponding standard results; construct a data frame containing the test vectors and send the data frame to the receiving end of the communication chip through the idle time slots for processing to obtain the chip processing results; perform a systematic comparison between the standard results and the chip processing results. This realizes the online detection of the functional safety of communication chips and solves the problems of low detection coverage rate of communication chips and the consumption of a large amount of communication chip resources and performance in the prior art.
[0046] Embodiment 1
[0047] Figure 1It is a flowchart of a receiving - end detection method for a communication chip in Embodiment 1 of the present invention. This embodiment is applicable to the situation of performing functional safety detection on the receiving end of a communication chip during the operation of the communication chip. This method can be executed by a receiving - end detection device of the communication chip. The device can be implemented in software and / or hardware and integrated in a computer device that executes this method. Specifically, referring to Figure 1 , the method specifically includes the following steps:
[0048] S110. During the operation of the communication chip, detect the idle time slot of the receiving end of the communication chip.
[0049] Specifically, the communication chip involved in the embodiment of the present invention can be a communication chip involved in fields such as vehicle - to - everything (V2X), mobile communication, wireless network, and wireless data transmission industry. It should be noted that the detection method of the communication chip involved in the embodiment of the present invention can test any kind of communication chip.
[0050] Specifically, the receiving end of the communication chip is mainly used to receive communication signals sent by other modules or chips. The communication chip can process the communication signals received through the receiving end of the communication chip and send the processed communication signals to the sending end of the communication chip. Through the sending end of the communication chip, the processed communication signals can be sent to other modules or chips.
[0051] It should be noted that a communication protocol refers to the rules and agreements that both entities must follow to complete communication or services. Exemplarily, if it is necessary to realize the communication between communication chip A and communication chip B, the communication between communication chip A and communication chip B can be realized only by following a pre - set communication protocol.
[0052] Specifically, in this embodiment, during the operation of the communication chip, the idle time slot of the receiving end of the communication chip is detected. Among them, the idle time slot of the receiving end of the communication chip can be a time slot when the receiving end of the communication chip does not receive communication signals from other modules or chips. In this time slot, the receiving end of the communication chip does not need to receive communication signals and send the communication signals to the communication chip for processing. Exemplarily, an analog and / or digital detection signal can be sent to the receiving end of the communication chip, and according to the processing result of the communication chip on the analog and / or digital detection signal, the idle time slot of the receiving end of the communication chip can be obtained. When an idle time slot is detected, functional safety detection of the receiving end of the communication chip can be started. It should be noted that for different communication protocols, their idle time slots are different, so it is necessary to send an analog and / or digital detection signal to the receiving end of the communication chip to detect the idle time slot of the receiving end of the communication chip.
[0053] S120. Generate test vectors online and generate standard results corresponding to the test vectors.
[0054] Specifically, after detecting the idle time slot at the receiving end of the communication chip, a test vector can be generated online, and a standard result corresponding to the test vector can be generated. The test vector can be an Rx_Golden excitation or other standard test excitations, which are not limited in the embodiments of the present invention.
[0055] It should be noted that for the receiving end of the communication chip, the test vector is a modulated signal after encoding and modulation. It should be noted that the functional safety detection of the receiving end of the communication chip cannot affect the normal working process of the communication chip. Therefore, it is necessary to ensure that the power of the test vector is not higher than the power of the working time slot. Therefore, it is necessary to adjust the power of the test vector in real time based on the power of the working time slot. Exemplarily, if the power of the test vector is 2W and the power of the working time slot is 1.5W, then the power of the test vector needs to be adjusted to be less than 1.5W at this time. The advantage of such a setting is that it will not occupy too many resources of the communication chip and will not affect the use effect of the communication chip.
[0056] Optionally, the standard result corresponding to the test vector may include: a digital front-end standard result, a symbol-level standard result, and a bit-level standard result.
[0057] S130. Construct a data frame containing the test vector, and send the data frame to the receiving end of the communication chip through the idle time slot for processing to obtain a chip processing result.
[0058] Specifically, after generating the data vector online, a data frame containing the test vector can be constructed, and the constructed data frame can be sent to the receiving end of the communication chip through the idle time slot for processing to obtain a chip processing result. Exemplarily, if the data vector generated online is data vector a, it can be constructed into a data frame A containing the test vector a, and the data frame A can be sent to the receiving end of the communication chip through the detected idle time slot of the communication chip receiving end for processing to obtain a chip processing result.
[0059] Optionally, sending the data frame to the receiving end of the communication chip through the idle time slot for processing to obtain a chip processing result may include: sending the data frame to the receiving end of the communication chip through the idle time slot, and sequentially performing digital front-end processing, symbol-level processing, and bit-level processing on the data frame through the receiving system of the communication chip; respectively obtaining the digital front-end processing result, the symbol-level processing result, and the bit-level processing result as the chip processing result.
[0060] Exemplarily, data frame A can be sent to the receiving end of the communication chip through an idle time slot, and the data frame A is successively subjected to digital front-end processing, symbol-level processing, and bit-level processing through the receiving system of the communication chip to obtain the digital front-end processing result, symbol-level processing result, and bit-level processing result for the data frame A respectively, and these processing results are used as the chip processing results.
[0061] S140. Systematically compare the standard result with the chip processing result.
[0062] Specifically, after obtaining the chip processing result, the standard result is systematically compared with the chip processing result. It can be determined whether the consistency condition is satisfied between the bit-level standard result and the bit-level processing result; if so, it is determined that the receiving end of the communication chip is secure, and the loop detection program is entered to start the next test; if not, the digital front-end standard result and the digital front-end processing result are obtained for comparison, and the symbol-level standard result and the symbol-level processing result are obtained for comparison to obtain the segmented comparison result.
[0063] Exemplarily, the bit-level standard result and the bit-level processing result can be compared first, and it is determined whether the consistency condition is satisfied between the bit-level standard result and the bit-level processing result; if the consistency condition is satisfied between the two, it can be determined that the receiving end of the communication chip is secure, and the functional safety detection of the receiving end of the communication chip in the next loop can be performed; if the consistency condition is not satisfied between the two, the detection failure point Fail point is reported to the host or server, and the digital front-end standard result and the digital front-end processing result are continuously obtained for comparison and the symbol-level standard result and the symbol-level processing result are obtained for comparison to obtain the segmented comparison result. The advantage of such a setting is that the fault range can be accurately determined or the fault range can be narrowed through the segmented comparison result, which can facilitate the user to quickly find the fault point to maintain the communication chip.
[0064] The solution of this embodiment realizes the online detection of the functional safety of the receiving end of the communication chip by detecting the idle time slot of the receiving end of the communication chip during the operation of the communication chip; online generating test vectors and generating standard results corresponding to the test vectors; constructing a data frame containing the test vectors and sending the data frame to the receiving end of the communication chip through the idle time slot for processing to obtain the chip processing result; and systematically comparing the standard result with the chip processing result. It solves the problems of low detection coverage rate of communication chips and consumption of a large amount of communication chip resources and performance during the detection process in the prior art.
[0065] Application Scenario
[0066] To better understand the embodiments of the present invention, Figure 2Enumerates a vehicle networking communication chip, which mainly includes: a main control subsystem 210, a baseband subsystem 220, a peripheral interface 230, and a radio frequency interface 240. Among them, the main control subsystem 210 mainly includes: a Random Access Memory (RAM), a timer, an internal memory, and a Direct Memory Access (DMA); the baseband subsystem 220 mainly includes: a control Digital Signal Processor (DSP), a vector DSP, a communication accelerator, and an interrupt controller; the peripheral interface 230 mainly includes: Double Data Rate (DDR3 / 4), Universal Serial Bus 3.0 (USB3.0), Industrial Ethernet (Ethemet), Universal Asynchronous Receiver / Transmitter (UART), Serial Peripheral Interface (SPI) and other interfaces; the radio frequency interface 240 mainly includes: a broadband high-speed interface, a narrowband low-speed interface, a time synchronization interface, and a radio frequency control interface. Among them, the control DSP, the vector DSP, the communication accelerator, the interrupt controller, the radio frequency interface, and the internal memory constitute the communication subsystem. It can be seen that the complexity of the vehicle networking communication chip is relatively high. Therefore, it is difficult to perform on-line testing on the vehicle networking communication chip, and it is necessary to accurately locate the fault point of the communication chip.
[0067] In a specific example of this application scenario, the receiving end of the above vehicle networking communication chip is detected. Figure 3 Is a flowchart of a method for detecting the receiving end of a vehicle networking communication chip enumerated. Specifically, the method specifically includes the following steps:
[0068] S310, Start; that is, start the on-line functional safety detection of the receiving end of the vehicle networking communication chip.
[0069] S320, Detect idle time slots; that is, send analog and / or digital detection signals to the receiving end of the vehicle networking communication chip, and obtain the idle time slots of the receiving end of the vehicle networking communication chip according to the processing results of the vehicle networking communication chip on the analog and / or digital detection signals. If an idle time slot is detected, the receiving end of the vehicle networking communication chip is detected; otherwise, the normal working process of the vehicle networking communication chip continues.
[0070] S330. Generate Rx_Golden incentives online and generate corresponding standard results for the Rx_Golden incentives. Among them, the standard results corresponding to the Rx_Golden incentives include: digital front-end standard results, symbol-level standard results, and bit-level standard results.
[0071] S340. Obtain the chip processing results. Specifically, send the data frame containing the Rx_Golden incentives to the receiving end of the vehicle networking communication chip for processing, and respectively obtain the digital front-end processing results, symbol-level processing results, and bit-level processing results.
[0072] S350. System comparison. Determine whether the consistency condition is satisfied between the bit-level standard results and the bit-level processing results. If so, determine that the receiving end of the vehicle networking communication chip is secure and start the next detection of the receiving end of the vehicle networking communication chip. If not, determine that there is a fault in the receiving end of the vehicle networking communication chip, upload the Fail point to the host, and perform segmented comparison.
[0073] S360. Segmented comparison. Compare the digital front-end standard results with the digital front-end processing results, and compare the symbol-level standard results with the symbol-level processing results to obtain the segmented comparison results. When the segmented comparison results are inconsistent, upload the Fail point to the host.
[0074] In this application scenario, during the operation of the vehicle networking communication chip, the idle time slots of the receiving end of the vehicle networking communication chip are detected; Rx_Golden incentives are generated online and corresponding standard results for the Rx_Golden incentives are generated; the data frame containing the Rx_Golden incentives is sent to the receiving end of the vehicle networking communication chip for processing to obtain the chip processing results; the chip processing results and the standard results are respectively subjected to system comparison and segmented comparison. The precise positioning of the fault points of the vehicle networking communication chip is realized, and the problems of low detection coverage rate of communication chips and consumption of a large amount of communication chip resources and performance during the detection process in the prior art are solved.
[0075] Embodiment 2
[0076] Figure 4 It is a flowchart of a method for detecting the transmitting end of a communication chip in Embodiment 2 of the present invention. This embodiment is applicable to the situation of performing functional safety detection on the transmitting end of a communication chip during the operation of the communication chip. This method can be executed by a detection device for the transmitting end of the communication chip, and this device can be implemented in a software and / or hardware manner and integrated in a computer device that executes this method. Specifically, refer to Figure 4 , and this method specifically includes the following steps:
[0077] S410. During the operation of the communication chip, detect the idle time slots of the transmitting end of the communication chip.
[0078] Specifically, during the operation of the communication chip, the number of idle time slots can be obtained from the system configuration parameters. It should be noted that the sending end of the communication chip mainly sends the processing results of the communication chip to other modules or chips according to the communication protocol. Therefore, by only querying the communication protocol of the communication chip in the system configuration parameters, the idle time slots of the sending end of the communication chip can be detected; there is no need to, like the receiving end of the communication chip, obtain the idle time slots of the receiving end of the communication chip by sending analog and / or digital detection signals to the receiving end of the communication chip and according to the processing results of the communication chip on the analog and / or digital detection signals.
[0079] S420. Generate test vectors online and generate standard results corresponding to the test vectors.
[0080] Specifically, after detecting the idle time slots of the sending end of the communication chip, test vectors can be generated online and standard results corresponding to the test vectors can be generated. Among them, the test vectors can be Tx_Golden incentives or other standard test incentives, which are not limited in the embodiments of the present invention.
[0081] Optionally, the standard results corresponding to the test vectors include: bit-level standard results, symbol-level standard results, and digital front-end standard results.
[0082] S430. Construct a data frame containing the test vectors and send the data frame to the sending end of the communication chip through the idle time slots for processing to obtain the chip processing results.
[0083] Specifically, after generating the data vectors online, a data frame containing the test vectors can be constructed and the constructed data frame can be sent to the sending end of the communication chip through the idle time slots for processing to obtain the chip processing results. Exemplarily, if the data vector generated online is data vector a, it can be constructed into a data frame A containing test vector a, and the data frame A can be sent to the sending end of the communication chip through the detected idle time slots of the communication chip sending end for processing to obtain the chip processing results.
[0084] Optionally, sending the data frame to the receiving end of the communication chip through the idle time slots for processing to obtain the chip processing results may include: sending the data frame to the sending end of the communication chip through the idle time slots, and sequentially performing bit-level processing, symbol-level processing, and digital front-end processing on the data frame through the sending system of the communication chip; respectively obtaining the bit-level processing results, symbol-level processing results, and digital front-end processing results as the chip processing results.
[0085] Exemplarily, data frame A can be sent to the transmitting end of the communication chip through an idle time slot, and the receiving system of the communication chip sequentially performs bit-level processing, symbol-level processing, and digital front-end processing on data frame A to obtain the bit-level processing result, symbol-level processing result, and digital front-end processing result for data frame A respectively, and these processing results are used as the chip processing results.
[0086] It should be noted that for the transmitting end of the communication chip, the test vector is the original bit information. Therefore, the transmitting system of the communication chip needs to perform bit-level processing on the data frame containing the test vector first, then perform symbol-level processing, and finally perform digital front-end processing.
[0087] S440. Systematically compare the standard result with the chip processing result.
[0088] Specifically, after obtaining the chip processing result, the standard result is systematically compared with the chip processing result. It can be judged whether the digital front-end standard result and the digital front-end processing result meet the consistency condition; if so, it is determined that the transmitting end of the communication chip is secure; if not, the bit-level standard result and the bit-level processing result are obtained for comparison, and the symbol-level standard result and the symbol-level processing result are obtained for comparison to obtain the segmented comparison result.
[0089] Exemplarily, the digital front-end standard result can be compared with the digital front-end processing result first, and it can be judged whether the digital front-end standard result and the digital front-end processing result meet the consistency condition; if the two meet the consistency condition, it can be determined that the receiving end of the communication chip is secure, and the functional safety detection of the transmitting end of the communication chip in the next cycle can be performed; if the two do not meet the consistency condition, the detection Fail point is reported to the host or server, and the bit-level standard result and the bit-level processing result are continuously obtained for comparison and the symbol-level standard result and the symbol-level processing result are obtained for comparison to obtain the segmented comparison result. The advantage of such a setting is that the fault range can be accurately determined or narrowed down through the segmented comparison result, which can facilitate the user to quickly find the fault point for maintaining the communication chip.
[0090] The solution of this embodiment realizes the online functional safety detection of the transmitting end of the communication chip by detecting the idle time slot of the transmitting end of the communication chip during the operation of the communication chip; generating test vectors online and generating standard results corresponding to the test vectors; constructing a data frame containing the test vectors and sending the data frame to the transmitting end of the communication chip through the idle time slot for processing to obtain the chip processing result; and systematically comparing the standard result with the chip processing result. It solves the problems of low detection coverage rate of communication chips and consumption of a large amount of communication chip resources and performance during the detection process in the prior art.
[0091] Application Scenario
[0092] To better understand the embodiments of the present invention, Figure 5 a flowchart of a method for detecting the transmitting end of a vehicle networking communication chip is listed. Specifically, the method specifically includes the following steps:
[0093] S510: Start; that is, start the online functional safety detection of the transmitting end of the vehicle networking communication chip.
[0094] S520: Detect idle time slots; that is, obtain the idle time slots of the transmitting end of the vehicle networking communication chip from the system configuration parameters. If idle time slots are detected, the detection of the transmitting end of the vehicle networking communication chip is performed; otherwise, the normal working process of the vehicle networking communication chip continues.
[0095] S530: Online generate Tx_Golden excitation and generate standard results corresponding to the Tx_Golden excitation. Among them, the standard results corresponding to the Tx_Golden excitation include: bit-level standard results, symbol-level standard results, and digital front-end standard results.
[0096] S540: Obtain the chip processing results; specifically, send the data frame containing the Tx_Golden excitation to the transmitting end of the vehicle networking communication chip for processing to obtain the bit-level processing results, symbol-level processing results, and digital front-end processing results respectively.
[0097] S550: System comparison; determine whether the digital front-end standard results and the digital front-end processing results meet the consistency condition; if so, determine that the transmitting end of the vehicle networking communication chip is secure and start the next detection of the transmitting end of the vehicle networking communication chip; if not, determine that there is a fault in the transmitting end of the vehicle networking communication chip, upload the Fail point to the host, and perform segmented comparison.
[0098] S560: Segmented comparison; compare the bit-level standard results with the bit-level processing results, and compare the symbol-level standard results with the symbol-level processing results to obtain the segmented comparison results; when the segmented comparison results are inconsistent, upload the Fail point to the host.
[0099] In this application scenario, during the operation of the vehicle networking communication chip, the idle time slots of the transmitting end of the vehicle networking communication chip are detected; Rx_Golden stimuli are generated online, and standard results corresponding to the Rx_Golden stimuli are generated; data frames containing the Rx_Golden stimuli are sent to the transmitting end of the vehicle networking communication chip for processing to obtain chip processing results; the chip processing results and the standard results are respectively compared systemically and segmentally. The precise positioning of the fault points of the vehicle networking communication chip is achieved, and the problems of low detection coverage rate of communication chips and consumption of a large amount of communication chip resources and performance during the detection process in the prior art are solved.
[0100] In another specific example of this embodiment, Figure 6 an online detection method for a vehicle networking communication chip is listed, which includes the detection of the receiving end of the vehicle networking communication chip and the detection of the transmitting end of the vehicle networking communication chip.
[0101] Specifically, when the detection of the receiving end of the vehicle networking communication chip starts, first, it is detected whether there are idle time slots. If there are idle time slots, the RX test stimuli are updated online, a data frame containing the RX test stimuli is constructed, and the data is sent to the receiving end of the communication chip through the idle time slots. After the communication chip receives the data frame, it performs digital front-end processing, symbol-level processing, and bit-level processing on it in sequence; and the standard results and the chip processing results are compared systemically and segmentally.
[0102] Specifically, when the detection of the transmitting end of the vehicle networking communication chip starts, first, it is detected whether there are idle time slots. If there are idle time slots, the TX test stimuli are updated online, a data frame containing the TX test stimuli is constructed, and the data is sent to the transmitting end of the communication chip through the idle time slots. After the communication chip sends the data frame, it performs bit-level processing, symbol-level processing, and digital front-end processing on it in sequence; and the standard results and the chip processing results are compared systemically and segmentally.
[0103] In the above example, the online monitoring of the functional safety of the transmitting end and the receiving end of the vehicle networking communication chip is respectively realized, and the problems of low detection coverage rate of communication chips and consumption of a large amount of communication chip resources and performance during the detection process in the prior art are solved.
[0104] Embodiment III
[0105] Figure 7It is a schematic structural diagram of a receiving - end detection device for a communication chip in Embodiment 3 of the present invention. This device can be implemented in software and / or hardware. When this device executes, it can implement the receiving - end detection method of the communication chip described in any embodiment of the present invention. Specifically, this device mainly includes: an idle time - slot detection module 710 at the receiving end, a standard result generation module 720, a chip - processing result generation module 730, and a comparison module 740 for comparing the standard result with the chip - processing result.
[0106] Among them, the idle time - slot detection module 710 at the receiving end is used to detect the idle time - slots at the receiving end of the communication chip during the operation of the communication chip.
[0107] The standard result generation module 720 is used to generate test vectors online and generate standard results corresponding to the test vectors.
[0108] The chip - processing result generation module 730 is used to construct a data frame containing test vectors and send the data frame to the receiving end of the communication chip through the idle time - slot for processing to obtain the chip - processing result.
[0109] The comparison module 740 for comparing the standard result with the chip - processing result is used to systematically compare the standard result with the chip - processing result.
[0110] The solution of this embodiment detects the idle time - slots at the receiving end of the communication chip through the idle time - slot detection module at the receiving end during the operation of the communication chip; generates test vectors online and generates standard results corresponding to the test vectors through the standard result generation module; constructs a data frame containing test vectors through the chip - processing result generation module and sends the data frame to the receiving end of the communication chip through the idle time - slot for processing to obtain the chip - processing result; systematically compares the standard result with the chip - processing result through the comparison module for comparing the standard result with the chip - processing result. It realizes the online detection of the functional safety of the communication chip and solves the problems of low detection coverage rate of the communication chip and high consumption of communication chip resources and performance during the detection process in the prior art.
[0111] Optionally, the idle time - slot detection module 710 at the receiving end further includes: an analog and / or digital detection signal sending unit, which is used to send analog and / or digital detection signals to the receiving end of the communication chip and obtain the idle time - slots at the receiving end of the communication chip according to the processing results of the communication chip on the analog and / or digital detection signals.
[0112] Optionally, the chip - processing result generation module 730 is further specifically used to send the data frame to the receiving end of the communication chip through the idle time - slot, and the receiving system of the communication chip sequentially performs digital front - end processing, symbol - level processing, and bit - level processing on the data frame; respectively obtains the digital front - end processing result, symbol - level processing result, and bit - level processing result as the chip - processing result.
[0113] Optionally, the standard results involved in this embodiment include: digital front-end standard results, symbol-level standard results, and bit-level standard results.
[0114] Optionally, the standard result and chip processing result comparison module 740 further includes: a segmented comparison result generation unit, configured to determine whether a consistency condition is satisfied between the bit-level standard result and the bit-level processing result; if so, determine that the receiving end of the communication chip is secure; if not, obtain the digital front-end standard result and the digital front-end processing result for comparison, and obtain the symbol-level standard result and the symbol-level processing result for comparison to obtain a segmented comparison result.
[0115] The receiving end detection device of the communication chip provided by the embodiment of the present invention can execute the receiving end detection method of the communication chip provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0116] Embodiment 4
[0117] Figure 8 FIG. 15 is a schematic structural diagram of a transmitting end detection device of a communication chip in Embodiment 4 of the present invention. The device can be implemented in a software and / or hardware manner. When the device is executed, it can implement the transmitting end detection method of the communication chip described in any embodiment of the present invention. Specifically, the device mainly includes: an idle time slot detection module 810 at the transmitting end, a standard result generation module 820, a chip processing result generation module 830, and a standard result and chip processing result comparison module 840.
[0118] Among them, the idle time slot detection module 810 at the transmitting end is configured to detect the idle time slot of the transmitting end of the communication chip during the operation of the communication chip;
[0119] The standard result generation module 820 is configured to generate test vectors online and generate standard results corresponding to the test vectors;
[0120] The chip processing result generation module 830 is configured to construct a data frame containing the test vectors and send the data frame to the transmitting end of the communication chip through the idle time slot for processing to obtain a chip processing result;
[0121] The standard result and chip processing result comparison module 840 is configured to perform a systematic comparison between the standard result and the chip processing result.
[0122] In the solution of this embodiment, during the operation of the communication chip, the idle time slot detection module at the sending end detects the idle time slots at the sending end of the communication chip; the standard result generation module generates test vectors online and generates standard results corresponding to the test vectors; the chip processing result generation module constructs a data frame containing the test vectors and sends the data frame to the sending end of the communication chip through the idle time slot for processing to obtain the chip processing result; the standard result and chip processing result comparison module compares the standard result with the chip processing result systemically. The online detection of the functional safety of the communication chip is realized, and the problems of low detection coverage rate of the communication chip and the consumption of a large amount of communication chip resources and performance during the detection process in the prior art are solved.
[0123] Optionally, the chip processing result generation module 830 is further specifically configured to send the data frame to the sending end of the communication chip through the idle time slot, and perform bit-level processing, symbol-level processing, and digital front-end processing on the data frame in sequence through the sending system of the chip; respectively obtain the bit-level processing result, the symbol-level processing result, and the digital front-end processing result as the chip processing result.
[0124] Optionally, the standard results involved in this embodiment include: bit-level standard results, symbol-level standard results, and digital front-end standard results.
[0125] Optionally, the standard result and chip processing result comparison module 840 further includes: a segmented comparison result generation unit, configured to determine whether the digital front-end standard result and the digital front-end processing result meet the consistency condition; if so, determine that the sending end of the communication chip is secure; if not, obtain the bit-level standard result and the bit-level processing result for comparison, and obtain the symbol-level standard result and the symbol-level processing result for comparison to obtain the segmented comparison result.
[0126] The sending end detection device of the communication chip provided by the embodiment of the present invention can execute the sending end detection method of the communication chip provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0127] Embodiment Five
[0128] Figure 9 is a schematic structural diagram of a computer device provided by Embodiment Five of the present invention. As Figure 9 shown, the computer device includes a processor 90, a memory 91, an input device 92, and an output device 93; the number of processors 90 in the computer device can be one or more, Figure 9 taking one processor 90 as an example; the processor 90, the memory 91, the input device 92, and the output device 93 in the computer device can be connected through a bus or other means, Figure 9 taking the connection through the bus as an example.
[0129] The memory 91, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the receiving-end detection method of the communication chip in the embodiments of the present invention (for example, the idle time slot detection module 710, the standard result generation module 720, the chip processing result generation module 730, and the comparison module 740 for comparing the standard result with the chip processing result in the receiving-end detection device of the communication chip), or program instructions / modules corresponding to the sending-end detection method of the communication chip in the embodiments of the present invention (for example, the idle time slot detection module 810, the standard result generation module 820, the chip processing result generation module 830, and the comparison module 840 for comparing the standard result with the chip processing result in the sending-end detection device of the communication chip). The processor 90 executes various functional applications and data processing of the computer device by running the software programs, instructions, and modules stored in the memory 91, that is, implements the above-mentioned receiving-end detection method or sending-end detection method of the communication chip.
[0130] The memory 91 may mainly include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the terminal, etc. In addition, the memory 91 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some instances, the memory 91 may further include a memory remotely provided with respect to the processor 90, and these remote memories can be connected to the computer device through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.
[0131] The input device 92 can be used to receive input digital or character information, and generate key signal inputs related to the user settings and function controls of the computer device. The output device 93 may include a display device such as a display screen.
[0132] Embodiment Six
[0133] Embodiment Six of the present invention further provides a storage medium containing computer-executable instructions, and the computer-executable instructions are used to execute a receiving-end detection method of a communication chip when executed by a computer processor. The method includes:
[0134] During the operation of the communication chip, detect the idle time slots of the receiving end of the communication chip;
[0135] Online generate test vectors and generate standard results corresponding to the test vectors;
[0136] Construct a data frame containing test vectors, and send the data frame to the receiving end of the communication chip through idle time slots for processing to obtain the chip processing result;
[0137] Perform a system comparison between the standard result and the chip processing result.
[0138] Alternatively, a method for detecting the sending end of a communication chip, the method comprising:
[0139] During the operation of the communication chip, detect the idle time slots of the sending end of the communication chip;
[0140] Generate test vectors online and generate standard results corresponding to the test vectors;
[0141] Construct a data frame containing test vectors, and send the data frame to the sending end of the communication chip through idle time slots for processing to obtain the chip processing result;
[0142] Perform a system comparison between the standard result and the chip processing result.
[0143] Certainly, for a storage medium containing computer-executable instructions provided by an embodiment of the present invention, the computer-executable instructions are not limited to the method operations described above, and can also execute relevant operations in the method for detecting the receiving end of the communication chip or the method for detecting the sending end of the communication chip provided by any embodiment of the present invention.
[0144] From the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software and necessary general-purpose hardware. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk, or optical disc of a computer, and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention.
[0145] It should be noted that in the embodiments of the above-mentioned device for detecting the receiving end of the communication chip or the device for detecting the sending end of the communication chip, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the present invention.
[0146] Note that the above is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein. Various obvious changes, re-adjustments, and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments. Without departing from the concept of the present invention, more other equivalent embodiments can be included, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A detection method for a communication chip, characterized in that, including: During the operation of the communication chip, detecting the idle time slots of the receiving end and the sending end of the communication chip; Generating test vectors online and generating standard results corresponding to the test vectors; wherein, for the receiving end of the communication chip, the test vector is a modulated signal after encoding and modulation; Constructing a data frame containing the test vector, and sending the data frame to the receiving end of the communication chip for processing through the idle time slot of the receiving end, and sending the data frame to the sending end of the communication chip for processing through the idle time slot of the sending end to obtain the chip processing result; Performing a system comparison between the standard result and the chip processing result; wherein, the detecting the idle time slot of the receiving end of the communication chip includes: Sending analog and / or digital detection signals to the receiving end of the communication chip, and obtaining the idle time slot of the receiving end of the communication chip according to the processing result of the communication chip on the analog and / or digital detection signals; wherein, the detecting the idle time slot of the sending end of the communication chip includes: obtaining the idle time slot of the sending end of the communication chip by querying the communication protocol of the communication chip in the system configuration parameters; wherein, the standard result includes: a digital front-end standard result, a symbol-level standard result, and a bit-level standard result; Performing a system comparison between the standard result and the chip processing result includes: Judging whether the bit-level standard result and the bit-level processing result meet the consistency condition; If so, determining that the receiving end and the sending end of the communication chip are secure; If not, obtaining the digital front-end standard result and the digital front-end processing result for comparison, and obtaining the symbol-level standard result and the symbol-level processing result for comparison to obtain a segmented comparison result.
2. The detection method for a communication chip according to claim 1, characterized in that, Sending the data frame to the receiving end of the communication chip for processing through the idle time slot of the receiving end to obtain the chip processing result includes: Sending the data frame to the receiving end of the communication chip through the idle time slot, and sequentially performing digital front-end processing, symbol-level processing, and bit-level processing on the data frame through the receiving system of the communication chip; Respectively obtaining the digital front-end processing result, the symbol-level processing result, and the bit-level processing result as the chip processing result.
3. The detection method for a communication chip according to claim 1, characterized in that, Sending the data frame to the sending end of the communication chip for processing through the idle time slot of the sending end to obtain the chip processing result includes: Sending the data frame to the sending end of the communication chip through the idle time slot, and sequentially performing bit-level processing, symbol-level processing, and digital front-end processing on the data frame through the sending system of the chip; Respectively obtaining the bit-level processing result, the symbol-level processing result, and the digital front-end processing result as the chip processing result.
4. A detection device for a communication chip, characterized in that, including: An idle time slot detection module, configured to detect the idle time slots of the receiving end and the sending end of the communication chip during the operation of the communication chip; A standard result generation module for online generating test vectors and generating standard results corresponding to the test vectors; wherein, for the receiving end of the communication chip, the test vector is a modulated signal after encoding and modulation; A chip processing result generation module for constructing a data frame containing the test vector, sending the data frame to the receiving end of the communication chip for processing through the idle time slot of the receiving end, and sending the data frame to the sending end of the communication chip for processing through the idle time slot of the sending end to obtain chip processing results; A standard result and chip processing result comparison module for systematically comparing the standard result with the chip processing result; Wherein, the idle time slot detection module further includes: An analog and / or digital detection signal sending unit for sending analog and / or digital detection signals to the receiving end of the communication chip, and obtaining the idle time slot of the receiving end of the communication chip according to the processing results of the communication chip on the analog and / or digital detection signals; Wherein, the idle time slot detection module is further used for obtaining the idle time slot of the sending end of the communication chip by querying the communication protocol of the communication chip in the system configuration parameters; Wherein, the standard result includes: a digital front-end standard result, a symbol-level standard result, and a bit-level standard result; The standard result and chip processing result comparison module further includes: A segmented comparison result generation unit for determining whether the bit-level standard result and the bit-level processing result meet the consistency condition; if so, determining that the receiving end and the sending end of the communication chip are secure; if not, obtaining the digital front-end standard result and the digital front-end processing result for comparison, and obtaining the symbol-level standard result and the symbol-level processing result for comparison to obtain a segmented comparison result.
5. A computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the detection method of the communication chip as described in any one of claims 1-3.
6. A computer-readable storage medium, on which a computer program is stored, characterized in that, When the program is executed by the processor, it implements the detection method of the communication chip as described in any one of claims 1-3.
Citation Information
Patent Citations
Multiple access method, transmitter, and receiver
CN108737307A
Method and arrangement for measuring the condition of a base station
CN1110073A