A method, system and medium for detecting channel crosstalk based on a time division multiplexing mechanism

By analyzing the channel check data difference in the time-division multiplexing mechanism, the problem of channel crosstalk in audio data transmission is solved, enabling real-time and accurate detection and repair, and improving the customer experience.

CN116800377BActive Publication Date: 2025-10-17YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310635625.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2025-10-17
Estimated Expiration
2043-05-31

AI Technical Summary

Technical Problem

In existing audio data transmission based on time-division multiplexing mechanisms, it is impossible to accurately detect and locate channel crosstalk problems, resulting in poor customer call experience. Furthermore, cyclic redundancy check methods cannot effectively locate the specific cause of data transmission errors.

Method used

By acquiring data and channel verification data of each channel at different data transmission times in the time-division multiplexing mechanism, forming a data frame to be transmitted, and analyzing the channel verification data difference at the receiving end to determine the channel crosstalk situation, the data is fed back to the background management terminal in real time for repair.

Benefits of technology

It achieves real-time and accurate channel crosstalk detection, can locate the cause of data transmission errors, and can promptly repair them through the back-end management terminal to ensure that the customer experience is not affected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116800377B_ABST
    Figure CN116800377B_ABST
Patent Text Reader

Abstract

The application discloses a channel crosstalk detection method and system based on a time division multiplexing mechanism and a medium, and comprises the following steps: acquiring first data of each channel at different data transmission moments, and traversing each channel to form to-be-transmitted data of the current channel at each data transmission moment according to the first data of the current channel and first channel check data; regarding all to-be-transmitted data at the same data transmission moment as a to-be-transmitted data frame, transmitting each to-be-transmitted data frame to a data receiving end according to the data transmission moment, and acquiring to-be-detected data frames received by the data receiving end; traversing each moment to analyze and obtain a channel crosstalk detection result according to all second channel check data in the to-be-detected data frames received by the data receiving end at the current moment and the previous moment. The application detects the crosstalk condition of the channel by analyzing the change condition of the channel check data of each channel in each data frame before and after data transmission, so that a manager can perform transmission repair.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of data transmission, in particular to a channel crosstalk detection method and system based on a time-division multiplexing mechanism and a medium. BACKGROUND

[0002] In a conventional case, audio data transmission between two terminals is mainly realized based on two chips, and audio transmission between the two chips usually uses an Inter-IC Sound (I2S) bus or a Time-division Multiplexing (TDM) communication mode. In the I2S or TDM audio transmission process, audio data transmission errors may occur due to some factors (external factors / chip abnormalities / software defects, etc.), thereby causing some audio problems. For example, in TDM communication between two chips, TDM adopts an 8-channel configuration, and channel 1 to channel 8 sequentially transmit 1 audio data respectively, A and a use channel 1 to transmit audio data for communication, B and b use channel 2 to transmit audio data for communication, if crosstalk occurs between channel 1 and channel 2 (i.e., the data of channel 1 and channel 2 are reversed), A and a may hear the voice of b while communicating, and cannot hear the voice of a, which will bring a very poor communication experience to the customer. Therefore, a TDM data transmission crosstalk self-detection mechanism is particularly important, and an accurate TDM data transmission crosstalk self-detection mechanism can help software developers to repair software defects or add corresponding abnormal self-recovery mechanisms as early as possible.

[0003] At present, in order to confirm the accuracy of data transmission, cyclic redundancy check (CRC) is usually performed on the transmitted data, the data packet header carries data CRC information, and the opposite chip calculates CRC after receiving the data to confirm whether the data transmission is incorrect. However, this method can only confirm whether the data frame is incorrect, and cannot help software developers to further locate the specific reasons and rules of data transmission errors, and has certain limitations. SUMMARY

[0004] The present application provides a channel crosstalk detection method, system and medium based on a time-division multiplexing mechanism, which detects the crosstalk of the channel based on the change of the channel verification data of each channel in each data frame before and after data transmission.

[0005] To solve the above technical problems, the present application provides a channel crosstalk detection method based on a time-division multiplexing mechanism, comprising:

[0006] The first data of each channel at different data transmission time points is acquired based on a time division multiplexing mechanism, and each channel is traversed to form to-be-transmitted data of the current channel at each data transmission time point according to the first data of the current channel at each data transmission time point and first channel verification data of the current channel at each data transmission time point, wherein the first channel verification data and the first data correspond to each other in a one-to-one manner.

[0007] All the to-be-transmitted data at the same data transmission time point are taken as a to-be-transmitted data frame, and then each to-be-transmitted data frame is sequentially transmitted to a data receiving end through each channel according to each data transmission time point, and a to-be-detected data frame received by the data receiving end is acquired, wherein the to-be-detected data frame includes a plurality of second channel verification data.

[0008] Each data transmission time point is traversed, and a channel crosstalk detection result is analyzed according to all the second channel verification data in the to-be-detected data frame received by the data receiving end at the current time point and all the second channel verification data in the to-be-detected data frame received by the data receiving end at the previous time point.

[0009] In the embodiment of the present application, before data transmission by using a time division multiplexing technology, each channel is traversed, to-be-transmitted data of the current channel at different data transmission time points is formed according to the first data of the current channel at different data transmission time points and first channel verification data of the current channel at different data transmission time points, and all the to-be-transmitted data at the same data transmission time point are taken as a to-be-transmitted data frame, so that each first data in the to-be-transmitted data frame has corresponding channel verification data, and therefore, after the to-be-transmitted data frame is transmitted to a data receiving end, whether crosstalk occurs in each channel can be analyzed according to all the second channel verification data in the to-be-detected data frame received by the data receiving end at different time points, so that the cause of an error can be determined when data transmission is incorrect, and real-time and accurate channel crosstalk detection is realized.

[0010] As a preferred solution, each data transmission time point is traversed, and a channel crosstalk detection result is analyzed according to all the second channel verification data in the to-be-detected data frame received by the data receiving end at the current time point and all the second channel verification data in the to-be-detected data frame received by the data receiving end at the previous time point, and specifically:

[0011] Each data transmission time point is traversed to acquire all the second channel verification data in the to-be-detected data frame received by the data receiving end at the current time point and all the second channel verification data in the to-be-detected data frame received by the data receiving end at the previous time point.

[0012] Subtracting each second channel check data in the to-be-detected data frame received by the data receiving end at the current moment from each second channel check data in the to-be-detected data frame received by the data receiving end at the previous moment in the same channel, a check data difference value corresponding to each channel is obtained, and each check data difference value is traversed, if the current check data difference value is inconsistent with the channel number of the channel corresponding to the current check data difference value, the channel number of the channel in which crosstalk occurs is determined according to the current check data difference value, and the channel crosstalk detection result is taken as the channel number.

[0013] According to the difference between each second channel check data in the to-be-detected data frame received by the data receiving end at the current moment and each second channel check data in the to-be-detected data frame received by the data receiving end at the previous moment in the same channel, the channel number of the channel in which crosstalk occurs in the current transmission process and other specific crosstalk conditions can be determined, so that subsequent data tracing or repair management can be performed.

[0014] As a preferred solution, the channel crosstalk detection method based on the time division multiplexing mechanism further comprises:

[0015] Each check data difference value is traversed, if the current check data difference value is inconsistent with the channel number of the channel corresponding to the current check data difference value, the channel number of the channel in which crosstalk occurs is determined according to the current check data difference value, and the channel number of the channel in which crosstalk occurs is fed back to the background management terminal in real time, and then the background management terminal is used to perform repair processing on the data transmission process based on the channel number of the channel in which crosstalk occurs.

[0016] According to the channel number of the channel in which crosstalk occurs, the administrator or software developer can clearly master the data transmission crosstalk condition and locate and analyze the crosstalk problem, so that software defects can be repaired in time through the background management terminal, or a software abnormal self-repairing mechanism can be added according to the channel number of the channel in which crosstalk occurs, so as to ensure that the customer experience is not affected.

[0017] As a preferred solution, the time division multiplexing mechanism is used to obtain first data of the current channel at different data transmission moments, and each channel is traversed, and the first data of the current channel at each data transmission moment and the first channel check data of the current channel at each data transmission moment are used to form to-be-transmitted data of the current channel at each data transmission moment, and the to-be-transmitted data of the current channel at each data transmission moment is specifically:

[0018] The time division multiplexing mechanism is used to obtain first data of each channel at different data transmission moments.

[0019] obtaining a channel number of each of the channels, and determining a transmission sequence of each of the to-be-transmitted data frames according to each of the data transmission time points, and determining a frame number of each of the to-be-transmitted data frames corresponding to the data transmission time points according to the transmission sequence;

[0020] multiplying the frame number of the to-be-transmitted data frame corresponding to the data transmission time point corresponding to the current first data and the channel number of the channel in which the current first data is located, and taking the multiplication result as the first channel check data of the current channel at each of the data transmission time points, and then adding the first channel check data corresponding to the current first data in front of the current first data to form the to-be-transmitted data of the current channel at each of the data transmission time points.

[0021] According to the preferred embodiment of the present application, the frame number of each of the to-be-transmitted data frames corresponding to each of the data transmission time points is determined according to the transmission sequence of each of the to-be-transmitted data frames determined by the data transmission time points, and the multiplication result of the frame number of the to-be-transmitted data frame corresponding to the data transmission time point corresponding to the current first data and the channel number of the channel in which the current first data is located is taken as the channel check data corresponding to the current first data, so that the difference between each of the channel check data of the to-be-transmitted data frames of adjacent transmission time points is always equal to the channel number of the channel in which the channel check data is located, and therefore the channel crosstalk detection can be performed according to this characteristic subsequently, thereby directly indicating the crosstalk situation of the channel.

[0022] To solve the same technical problem, the embodiment of the present application also provides a channel crosstalk detection system based on a time division multiplexing mechanism, comprising:

[0023] a data preprocessing module configured to obtain first data of each of the channels at different data transmission time points based on a time division multiplexing mechanism, and traverse each of the channels to form to-be-transmitted data of the current channel at each of the data transmission time points according to the first data of the current channel at each of the data transmission time points and first channel check data of the current channel at each of the data transmission time points, wherein the first channel check data and the first data correspond to each other in a one-to-one manner;

[0024] a data transmission module configured to transmit all the to-be-transmitted data frames at the same data transmission time point as to-be-transmitted data frames, and then transmit each of the to-be-transmitted data frames to a data receiving end through each of the channels in sequence according to each of the data transmission time points, and obtain a to-be-detected data frame received by the data receiving end, wherein the to-be-detected data frame comprises a plurality of second channel check data;

[0025] The channel crosstalk detection module is configured to traverse each data transmission moment, and analyze all the second channel verification data in the to-be-detected data frame received by the data receiving end at the current moment and all the second channel verification data in the to-be-detected data frame received by the data receiving end at the previous moment to obtain a channel crosstalk detection result.

[0026] As a preferred solution, the channel crosstalk detection module specifically comprises:

[0027] The data acquisition unit is configured to traverse each data transmission moment, and acquire all the second channel verification data in the to-be-detected data frame received by the data receiving end at the current moment and all the second channel verification data in the to-be-detected data frame received by the data receiving end at the previous moment.

[0028] The channel crosstalk detection unit is configured to subtract each second channel verification data in the to-be-detected data frame received by the data receiving end at the previous moment from each second channel verification data in the to-be-detected data frame received by the data receiving end at the current moment to obtain a verification data difference value corresponding to each channel, and traverse each verification data difference value, and if the current verification data difference value is inconsistent with the channel number of the channel corresponding to the current verification data difference value, determine the channel number of the channel in which crosstalk occurs according to the current verification data difference value as the channel crosstalk detection result.

[0029] As a preferred solution, the channel crosstalk detection system based on the time division multiplexing mechanism further comprises:

[0030] The transmission repair module is configured to traverse each verification data difference value, and if the current verification data difference value is inconsistent with the channel number of the channel corresponding to the current verification data difference value, determine the channel number of the channel in which crosstalk occurs according to the current verification data difference value, and feed back the channel number of the channel in which crosstalk occurs to a background management terminal in real time, and then perform repair processing on the data transmission process based on the channel number of the channel in which crosstalk occurs through the background management terminal.

[0031] As a preferred solution, the data preprocessing module specifically comprises:

[0032] The data acquisition unit is configured to acquire first data of each channel at different data transmission moments based on the time division multiplexing mechanism, acquire the channel numbers of the channels, determine the transmission order of each to-be-transmitted data frame according to each data transmission moment, and determine the frame numbers of the to-be-transmitted data frames corresponding to each data transmission moment according to the transmission order.

[0033] The check preprocessing unit is configured to traverse each first data corresponding to each channel, multiply the frame number of the to-be-transmitted data frame corresponding to the data transmission moment corresponding to the current first data and the channel number of the channel where the current first data is located, and take the product result as the first channel check data of the current channel at each data transmission moment, and then add the first channel check data corresponding to the current first data in front of the current first data to form the to-be-transmitted data of the current channel at each data transmission moment.

[0034] To solve the same technical problems, the application further provides a computer readable storage medium, which comprises a stored computer program; wherein the computer readable storage medium controls a device where the computer readable storage medium is located to execute the channel crosstalk detection method based on the time division multiplexing mechanism when the computer program runs.

[0035] To solve the same technical problems, the application further provides a terminal, which comprises a processor, a memory and a computer program stored in the memory; wherein the computer program can be executed by the processor to realize the channel crosstalk detection method based on the time division multiplexing mechanism. BRIEF DESCRIPTION OF DRAWINGS

[0036] Figure 1 FIG. 1 is a flowchart of a channel crosstalk detection method based on a time division multiplexing mechanism provided by an embodiment of the application;

[0037] Figure 2 FIG. 2 is a data format diagram of each channel of a to-be-transmitted data frame provided by the embodiment of the application;

[0038] Figure 3 FIG. 3 is a format diagram of data sent by a data sending end to a data receiving end provided by the embodiment of the application;

[0039] Figure 4 FIG. 4 is a format diagram of data received by the data receiving end provided by the embodiment of the application;

[0040] Figure 5 FIG. 5 is a structure diagram of a channel crosstalk detection system based on a time division multiplexing mechanism provided by the embodiment of the application. DETAILED DESCRIPTION

[0041] With reference to the drawings and embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of the present application.

[0042] Embodiment one:

[0043] Please refer to Figure 1 A channel crosstalk detection method based on a time-division multiplexing mechanism is provided in the embodiments of the present application, which comprises steps S1 to S4, and each step is specifically as follows:

[0044] In step S1, based on the time-division multiplexing mechanism, the first data of each channel at different data transmission time is obtained, and each channel is traversed. According to the first data of the current channel at each data transmission time and the first channel verification data of the current channel at each data transmission time, the to-be-transmitted data of the current channel at each data transmission time is formed. The first channel verification data and the first data correspond to each other.

[0045] It should be noted that the time-division multiplexing technology (Time-division Multiplexing, TDM) is a communication technology that different signals are interleaved in different time periods, transmitted along the same channel, and then restored to the original signal by extracting the signals in each time period at the data / signal receiving end.

[0046] In this embodiment, in the time-division multiplexing mechanism, the transmission configuration of the data is 8 channels, and the capacity of each channel is 32 bits, that is, the maximum data amount that each channel can transmit is 32 bits. Even if a channel has no audio data or other to-be-transmitted data, the channel can also transmit empty data. Therefore, the maximum data amount that each to-be-transmitted data frame can transmit in the TDM transmission process is 32*8=256 bits. Please refer to Figure 2 The high 8 bits (the first 8 bits) of each channel are used to transmit the first channel verification data, and the low 24 bits (the last 24 bits) are used to transmit the audio data (i.e., the first data). The data amount used to transmit the channel verification data can be adjusted according to the actual bandwidth application situation, and it is not necessarily set to 8 bits.

[0047] As a preferred solution, step S1 comprises steps S11 to S13, and each step is specifically as follows:

[0048] In step S11, based on the time-division multiplexing mechanism, the first data of each channel at different data transmission time is obtained.

[0049] In this embodiment, please refer to Figure 3 ,In the time division multiplexing mechanism, data transmission is configured as 8 channels, namely Ch1 to Ch8.

[0050] Step S12, please refer to Figure 3 , obtain the channel number of each channel, and determine the transmission order of each data frame to be transmitted according to each data transmission time, and determine the frame number of the data frame to be transmitted corresponding to each data transmission time based on the transmission order. Therefore, the data frames to be transmitted with the same frame number are at the same data transmission time.

[0051] Step S13, traverse each first data corresponding to each channel, multiply the frame number of the data frame to be transmitted corresponding to the data transmission moment corresponding to the current first data and the channel number of the channel where the current first data is located, and use the product result as the first channel verification data of the current channel at each data transmission moment, and then add the first channel verification data corresponding to the current first data in front of the current first data to form the data to be transmitted of the current channel at each data transmission moment.

[0052] As an example, see Figure 3 , sorted according to the time sequence of each data transmission moment, the data transmission moment corresponds to the data frame to be transmitted with frame number (ie, the data frame to be transmitted of the 3rd frame), so the first channel check data of channel Ch2 at the data transmission moment is.

[0053] In step S2, all data to be transmitted at the same data transmission moment are regarded as data frames to be transmitted, and then each data frame to be transmitted is transmitted to the data receiving end through each channel in turn according to each data transmission moment, and the data frame to be detected received by the data receiving end is obtained; wherein the data frame to be detected includes multiple second channel verification data.

[0054] In this embodiment, the smaller the frame number of the data frame to be detected is, the earlier the data transmitting end transmits the data frame to be detected to the data receiving end.

[0055] It should be noted that the data transmitter and the data receiver can be chips. For example, chip A acts as the data transmitter and sends frame data to chip B. When the roles of the two chips are reversed, that is, chip B sends frame data to chip A, chip B acts as the data transmitter and chip A acts as the data receiver, and the channel crosstalk detection method described in Embodiment 1 of the present invention can also be implemented.

[0056] Step S3: traversing each data transmission moment, analyzing the crosstalk detection result according to all the second channel check data in the to-be-detected data frame received by the data receiving end at the current moment and all the second channel check data in the to-be-detected data frame received by the data receiving end at the previous moment.

[0057] As a preferred solution, step S3 comprises steps S31 to S33, each of which is specifically as follows:

[0058] Step S31: traversing each data transmission moment, obtaining all the second channel check data in the to-be-detected data frame received by the data receiving end at the current moment and all the second channel check data in the to-be-detected data frame received by the data receiving end at the previous moment.

[0059] Step S32: subtracting each second channel check data in the to-be-detected data frame received by the data receiving end at the previous moment from each second channel check data in the to-be-detected data frame received by the data receiving end at the current moment to obtain the check data difference value corresponding to each channel.

[0060] As an example, the second channel check data and the check data difference value of each channel of the first frame and the second frame are shown in Table 1.

[0061] Table 1: Check data difference value of each channel of the first frame and the second frame

[0062] Channel number Ch1 Ch2 Ch3 Ch4 Ch5 Ch6 Ch7 Ch8 Second channel check data of the 1st frame 1 2 3 4 5 6 7 8 Second channel check data of the 2nd frame 2 4 6 8 10 12 14 16 Difference of check data between the 1st and 2nd frames 1 2 3 4 5 6 7 8

[0063] Since the check data difference value of the first frame and the second frame is consistent with the channel number of the corresponding channel, it indicates that the data transmission process between the first frame and the second frame is normal.

[0064] Step S33: traversing each check data difference value, if the current check data difference value is inconsistent with the channel number of the channel corresponding to the current check data difference value, determining the channel number of the channel in which crosstalk occurs according to the current check data difference value as the crosstalk detection result.

[0065] In this embodiment, please refer to Figure 4 , the specific situation of each second channel check data in the to-be-detected data frame received by the data receiving end at different moments can be seen. Among them, the second channel check data of Ch3 and Ch4 is obviously abnormal. Taking the second channel check data of each channel of the second frame and the third frame as an example, please refer to Table 2, at this time, the check data difference value of Ch3 is 4, and the check data difference value of Ch4 is 3, which indicates that the data of Ch3 and Ch4 has crosstalk.

[0066] Table 2: Check data difference value of each channel of the second frame and the third frame

[0067] Channel number Ch1 Ch2 Ch3 Ch4 Ch5 Ch6 Ch7 Ch8 Second channel check data of the 2nd frame 2 4 8 6 10 12 14 16 Second channel check data of the 3rd frame 3 6 12 9 15 18 21 24 Difference of check data between the 2nd and 3rd frames 1 2 4 3 5 6 7 8

[0068] As a preferred solution, after the step S33 is executed, a transmission repair procedure is further included, which comprises the step S4, which is specifically as follows:

[0069] In step S4, each check data difference is traversed, and if the current check data difference is inconsistent with the channel number of the channel corresponding to the current check data difference, the channel number of the channel where crosstalk occurs is determined according to the current check data difference, and the channel number of the channel where crosstalk occurs is fed back to the background management terminal in real time, and then the data transmission process is repaired based on the channel number of the channel where crosstalk occurs through the background management terminal, so as to ensure that the user experience is not affected.

[0070] Please refer to Figure 5 A structure diagram of a channel crosstalk detection system based on a time division multiplexing mechanism is provided for the embodiment of the application, which comprises a data preprocessing module M1, a data transmission module M2 and a channel crosstalk detection module M3, and each module is specifically as follows:

[0071] The data preprocessing module M1 is used to obtain first data of each channel at different data transmission moments based on the time division multiplexing mechanism, and traverse each channel to form to-be-transmitted data of the current channel at each data transmission moment according to the first data of the current channel at each data transmission moment and the first channel check data of the current channel at each data transmission moment; wherein the first channel check data and the first data are one-to-one corresponding;

[0072] The data transmission module M2 is used to take all to-be-transmitted data at the same data transmission moment as a to-be-transmitted data frame, and then transmit each to-be-transmitted data frame to a data receiving end through each channel in turn according to each data transmission moment, and obtain a to-be-detected data frame received by the data receiving end; wherein the to-be-detected data frame comprises a plurality of second channel check data;

[0073] The channel crosstalk detection module M3 is used to traverse each data transmission moment, and analyze to obtain a channel crosstalk detection result according to all second channel check data in the to-be-detected data frame received by the data receiving end at the current moment and all second channel check data in the to-be-detected data frame received by the data receiving end at the previous moment.

[0074] As a preferred solution, the channel crosstalk detection module M3 specifically comprises a data acquisition unit 31 and a channel crosstalk detection unit 32, and each unit is specifically as follows:

[0075] The data acquisition unit 31 is configured to acquire all second channel check data in the to-be-detected data frame received by the data receiving end at the current time and all second channel check data in the to-be-detected data frame received by the data receiving end at the previous time at each data transmission time.

[0076] The channel crosstalk detection unit 32 is configured to subtract each second channel check data in the to-be-detected data frame received by the data receiving end at the previous time in the same channel from each second channel check data in the to-be-detected data frame received by the data receiving end at the current time, to obtain a check data difference value corresponding to each channel, and to traverse each check data difference value.

[0077] As a preferred solution, please refer to Figure 5 The channel crosstalk detection system based on the time division multiplexing mechanism provided by the embodiment of the application further comprises a transmission repair module M4, which is specifically as follows.

[0078] The transmission repair module M4 is configured to traverse each check data difference value, and if the channel number of the channel corresponding to the current check data difference value is inconsistent with the current check data difference value, determine the channel number of the channel in which crosstalk occurs according to the current check data difference value, and feed back the channel number of the channel in which crosstalk occurs to the background management terminal in real time, and then repair the data transmission process based on the channel number of the channel in which crosstalk occurs through the background management terminal.

[0079] As a preferred solution, the data preprocessing module M1 specifically comprises a data acquisition unit 11 and a check preprocessing unit 12, which are specifically as follows.

[0080] The data acquisition unit 11 is configured to acquire first data of each channel at different data transmission times based on the time division multiplexing mechanism, acquire the channel number of each channel, determine the transmission order of each to-be-transmitted data frame according to each data transmission time, and determine the frame number of the to-be-transmitted data frame corresponding to each data transmission time according to the transmission order.

[0081] The check preprocessing unit 12 is configured to multiply the frame number of the to-be-transmitted data frame corresponding to the data transmission time corresponding to the current first data and the channel number of the channel in which the current first data is located, and take the product as the first channel check data of the current channel at each data transmission time, and then add the first channel check data corresponding to the current first data in front of the current first data to form the to-be-transmitted data of the current channel at each data transmission time.

[0082] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system described above can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here.

[0083] The embodiment of the present application further provides a computer readable storage medium, which comprises a stored computer program; wherein the computer readable storage medium controls a device, in which the computer readable storage medium is located, to execute the channel crosstalk detection method based on the time division multiplexing mechanism according to the embodiment one when the computer program is running.

[0084] The embodiment of the present application further provides a terminal, which comprises a processor, a memory and a computer program stored in the memory; wherein the computer program can be executed by the processor to realize the channel crosstalk detection method based on the time division multiplexing mechanism according to the embodiment one.

[0085] Preferably, the computer program can be divided into one or more modules / units (such as computer programs, computer programs), which are stored in the memory and executed by the processor to complete the present application. The one or more modules / units can be a series of computer program instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program in the terminal.

[0086] The processor can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or the processor can also be any conventional processor. The processor is a control center of the terminal, and connects various parts of the terminal by using various interfaces and lines.

[0087] The memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs required by at least one function, etc., and the data storage area can store relevant data, etc. In addition, the memory can be a high-speed random access memory, and can also be a non-volatile memory such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., or the memory can also be other volatile solid-state storage devices.

[0088] It should be noted that the terminal described above can include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the terminal described above is only an example and does not constitute a limitation on the terminal, and can include more or fewer components, or combine certain components, or different components.

[0089] Compared with the prior art, the embodiment of the application has the following beneficial effects:

[0090] The application provides a channel crosstalk detection method and system based on a time division multiplexing mechanism and a medium. Before data transmission by using a time division multiplexing technology, each channel is traversed, first data of a current channel at different data transmission moments and first channel verification data of the current channel at the different data transmission moments are used to form to-be-transmitted data of the current channel at the different data transmission moments, and all to-be-transmitted data at a same data transmission moment are used as a to-be-transmitted data frame, so that each first data in the to-be-transmitted data frame has one-to-one corresponding channel verification data. Therefore, after the to-be-transmitted data frame is transmitted to a data receiving end, all second channel verification data of a to-be-detected data frame received by the data receiving end at different moments can be used to analyze whether crosstalk occurs in each channel, so that a cause of an error can be determined when data transmission is incorrect, and real-time and accurate channel crosstalk detection is achieved.

[0091] Further, according to a transmission sequence of each to-be-transmitted data frame determined by a data transmission moment, a frame number of a to-be-transmitted data frame corresponding to each data transmission moment is determined, each first data is traversed, a product of a frame number of a to-be-transmitted data frame corresponding to a data transmission moment corresponding to the current first data and a channel number of a channel in which the current first data is located is used as channel verification data corresponding to the current first data, so that a difference value of each channel verification data of to-be-transmitted data frames of adjacent transmission moments is always equal to a channel number of a channel in which the channel verification data is located. Therefore, channel crosstalk detection can be performed according to this characteristic subsequently, so that the crosstalk condition of the channel can be directly indicated.

[0092] The above-described specific embodiments further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above-described specific embodiments are merely examples of the present application and are not intended to limit the protection scope of the present application. It is particularly pointed out that any modification, equivalent replacement, improvement, etc. made by those skilled in the art within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A channel crosstalk detection method based on time division multiplexing mechanism, characterized in that: include: Based on a time division multiplexing mechanism, first data of each channel at different data transmission moments are obtained, and each channel is traversed to form data to be transmitted of the current channel at each data transmission moment according to the first data of the current channel at each data transmission moment and the first channel verification data of the current channel at each data transmission moment. Specifically, based on the time division multiplexing mechanism, the first data of each channel at different data transmission moments are obtained; Obtaining the channel number of each channel, and determining the transmission order of each data frame to be transmitted according to each data transmission time, and determining the frame number of the data frame to be transmitted corresponding to each data transmission time according to the transmission order; Traversing each first data corresponding to each channel, multiplying the frame number of the data frame to be transmitted corresponding to the data transmission moment corresponding to the current first data and the channel number of the channel where the current first data is located, and using the multiplication result as the first channel verification data of the current channel at each data transmission moment, and then adding the first channel verification data corresponding to the current first data to the front of the current first data to form the data to be transmitted of the current channel at each data transmission moment; wherein the first channel verification data and the first data have a one-to-one correspondence; All the data to be transmitted at the same data transmission moment are regarded as data frames to be transmitted, and then, according to each data transmission moment, each of the data frames to be transmitted is sequentially transmitted to a data receiving end through each of the channels, and a data frame to be detected received by the data receiving end is obtained; wherein the data frame to be detected includes a plurality of second channel verification data; Traversing each of the data transmission moments, analyzing all the second channel verification data in the data frame to be detected received by the data receiving end at the current moment and all the second channel verification data in the data frame to be detected received by the data receiving end at the previous moment to obtain a channel crosstalk detection result, specifically: Traversing each of the data transmission moments, obtaining all the second channel verification data in the data frame to be detected received by the data receiving end at the current moment, and all the second channel verification data in the data frame to be detected received by the data receiving end at the previous moment; The second channel verification data in the data frame to be detected received by the data receiving end at the previous moment on the same channel are respectively subtracted from each second channel verification data in the data frame to be detected received by the data receiving end at the current moment to obtain a verification data difference corresponding to each channel, and each verification data difference is traversed. If the current verification data difference is inconsistent with the channel number of the channel corresponding to the current verification data difference, the channel number of the channel where crosstalk occurs is determined based on the current verification data difference, as the channel crosstalk detection result.

2. A channel crosstalk detection method based on a time division multiplexing mechanism as claimed in claim 1, characterized in that: Also includes: Traverse each of the verification data differences, and if the current verification data difference is inconsistent with the channel number of the channel corresponding to the current verification data difference, determine the channel number of the channel where the crosstalk occurs based on the current verification data difference, and feed back the channel number of the channel where the crosstalk occurs to the background management terminal in real time. Then, through the background management terminal, repair the data transmission process based on the channel number of the channel where the crosstalk occurs.

3. A channel crosstalk detection system based on time division multiplexing mechanism, characterized in that: include: A data preprocessing module is configured to obtain, based on a time division multiplexing mechanism, first data of each channel at different data transmission moments, and traverse each channel to form data to be transmitted for the current channel at each data transmission moment based on the first data of the current channel at each data transmission moment and the first channel verification data of the current channel at each data transmission moment; wherein the first channel verification data and the first data have a one-to-one correspondence; the data preprocessing module specifically includes: a data acquisition unit, configured to acquire, based on a time division multiplexing mechanism, the first data of each of the channels at different data transmission times; acquire a channel number of each of the channels, and determine a transmission order of each data frame to be transmitted according to each of the data transmission times, and determine, based on the transmission order, a frame number of the data frame to be transmitted corresponding to each of the data transmission times; a verification preprocessing unit, configured to traverse each first data corresponding to each channel, multiply the frame number of the data frame to be transmitted corresponding to the data transmission moment corresponding to the current first data and the channel number of the channel where the current first data is located, and use the multiplication result as the first channel verification data of the current channel at each data transmission moment, and then add the first channel verification data corresponding to the current first data to the front of the current first data to form the data to be transmitted of the current channel at each data transmission moment; a data transmission module, configured to treat all the data to be transmitted at the same data transmission moment as data frames to be transmitted, and then sequentially transmit each of the data frames to be transmitted to a data receiving end through each of the channels according to each of the data transmission moments, and obtain a data frame to be detected received by the data receiving end; wherein the data frame to be detected includes a plurality of second channel verification data; A channel crosstalk detection module is configured to traverse each of the data transmission moments and analyze all the second channel verification data in the data frame to be detected received by the data receiving end at the current moment and all the second channel verification data in the data frame to be detected received by the data receiving end at the previous moment to obtain a channel crosstalk detection result; the channel crosstalk detection module specifically includes: a data acquisition unit, configured to traverse each of the data transmission moments and acquire all the second channel verification data in the data frame to be detected received by the data receiving end at the current moment and all the second channel verification data in the data frame to be detected received by the data receiving end at the previous moment; The channel crosstalk detection unit is configured to subtract each second channel verification data in the data frame to be detected received by the data receiving end at a previous moment on the same channel from each second channel verification data in the data frame to be detected received by the data receiving end at a current moment, so as to obtain a verification data difference corresponding to each channel, and traverse each verification data difference. If the current verification data difference is inconsistent with the channel number of the channel corresponding to the current verification data difference, determine the channel number of the channel where crosstalk occurs based on the current verification data difference, as the channel crosstalk detection result.

4. A channel crosstalk detection system based on a time division multiplexing mechanism as claimed in claim 3, characterized in that: Also includes: A transmission repair module is used to traverse each of the verification data differences. If the current verification data difference is inconsistent with the channel number of the channel corresponding to the current verification data difference, the channel number of the channel where the crosstalk occurs is determined based on the current verification data difference, and the channel number of the channel where the crosstalk occurs is fed back to the background management terminal in real time. Then, through the background management terminal, the data transmission process is repaired based on the channel number of the channel where the crosstalk occurs.

5. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored computer program; wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the channel crosstalk detection method based on the time division multiplexing mechanism as described in any one of claims 1 to 2.

6. A terminal, characterized in that: It comprises a processor, a memory and a computer program stored in the memory; wherein the computer program can be executed by the processor to implement a channel crosstalk detection method based on a time division multiplexing mechanism as described in any one of claims 1 to 2.

Citation Information

Patent Citations

  • Serial bus redundant communication method oriented to multi-point Internet application

    CN104135412A

  • Frame synchronization method and apparatus

    CN105406937A