A data checking method and device

By determining data transmission loss through data and verification information at the receiving end, and generating third verification information to judge data loss, the problem of insufficient flexibility in data retransmission is solved, and a more refined loss judgment and flexible retransmission mechanism are realized, while reducing computational complexity and power consumption.

CN123163776APending Publication Date: 2026-11-24HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510683017.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-23
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies have low flexibility in data retransmission and cannot flexibly cope with the receiving device's tolerance for data errors, resulting in an inflexible retransmission mechanism.

Method used

The receiving end determines the degree of data transmission loss based on the received data and verification information, generates third verification information, compares it with the original verification information, judges the data transmission loss, and then decides whether data needs to be retransmitted.

Benefits of technology

It enables more precise judgment of data transmission loss, improves the flexibility of data retransmission, meets the needs of fault-tolerant transmission scenarios, and reduces computational complexity and power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123163776A_ABST
    Figure CN123163776A_ABST
Patent Text Reader

Abstract

This application provides a data verification method and apparatus applied in the field of communications. The method includes: a first communication device sending first data and first verification information, the first verification information being generated based on the first data; correspondingly, a second communication device receiving second data and second verification information, and determining the data transmission loss of the first data based on the second data and second verification information, wherein the second data is the data after the first data has been transmitted. This data verification method can determine the data transmission loss of the first data, that is, it can obtain more precise data error information. This is beneficial for more flexibly meeting the needs of fault-tolerant transmission scenarios. If the calculated data transmission loss is within an acceptable range, retransmission is not required; if the data transmission loss is outside the acceptable range, retransmission can be requested, thus improving the flexibility of data retransmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and particularly to a data verification method and apparatus in the field of communications. Background Technology

[0002] In communication systems, data retransmission based on verification information is a technique to improve data transmission reliability. For example, a sending device sends data and corresponding verification information to a receiving device. The receiving device then performs verification based on the data and verification information to determine whether the data has been transmitted incorrectly.

[0003] In the above verification method, if the data transmission is incorrect, the receiving device requests retransmission of the data, resulting in low flexibility in data retransmission. Therefore, improving the flexibility of data retransmission is an urgent problem to be solved. Summary of the Invention

[0004] This application provides a data verification method and apparatus to determine the degree of data transmission loss and improve the flexibility of data retransmission.

[0005] Firstly, this application provides a data verification method, which can be executed by a second communication device. The second communication device can be a network device or terminal, or a circuit or chip applicable to the network device or terminal (such as a modem chip, also known as a baseband chip, or a system-on-chip (SoC) chip containing a modem core, or a system-in-package (SIP) chip), or it can be a logic module or software capable of implementing all or part of the functions of the network device or terminal; this application does not limit this.

[0006] The second communication device mentioned above can be regarded as the data receiving end, and the first communication device mentioned below can be regarded as the data sending end.

[0007] For example, the method includes: receiving second data and second verification information, the second data being data after the first data has been transmitted; and determining the data transmission loss of the first data based on the second data and the second verification information.

[0008] The second verification information can be the verification information obtained after transmitting the first verification information. The first verification information is generated based on the first data. That is, the first communication device sends the first data and the first verification information to the second communication device. The first verification information is generated based on the first data. Due to transmission effects, the data received by the second communication device may be different from or the same as the data sent by the first communication device. Similarly, the verification information received by the second communication device may be different from or the same as the verification information sent by the first communication device. For ease of distinction, the data and verification information received by the second communication device are respectively referred to as the second data and the second verification information.

[0009] In the above scheme, the receiving end can determine the degree of data transmission loss of the first data sent by the sending end based on the received second data (which is the data after the first data has been transmitted) and the second verification information. This data verification method can obtain a more detailed data transmission loss situation, which is conducive to more flexibly meeting the needs of fault-tolerant transmission scenarios (that is, scenarios that can accept a certain degree of data errors). If the calculated data transmission loss is within the allowable range, there is no need to request retransmission. If the data transmission loss is not within the allowable range, retransmission can be requested, which helps to improve the flexibility of data retransmission.

[0010] In conjunction with the first aspect, in some possible implementations of the first aspect, determining the data transmission loss of the first data based on the second data and the second verification information includes: generating third verification information based on the second data; and determining the data transmission loss of the first data based on the third verification information and the second verification information.

[0011] In the above scheme, the second communication device generates third verification information corresponding to the second data. Based on the third verification information and the second verification information, the data transmission loss of the first data is determined. This method of calculating data transmission loss is simpler, and the computational load of the above calculation method is less, which is beneficial to reducing power consumption.

[0012] The method for generating the third verification information is the same as that for generating the first verification information. This helps to reduce the possibility of inaccurate data transmission due to different methods of generating verification information.

[0013] In conjunction with the first aspect, in some possible implementations of the first aspect, the aforementioned third verification information is generated based on the aforementioned second data and the first model; or, the aforementioned third verification information is the distribution information of the second data.

[0014] For example, the first model mentioned above can be an artificial intelligence (AI) model / machine learning (ML) model, and this application does not limit the type of the first model.

[0015] For example, the above distribution information includes, but is not limited to, parameters of any of the following distributions: percentile or histogram distribution, skewed distribution, binomial distribution, Bernoulli distribution, Poisson distribution, exponential distribution, or gamma distribution.

[0016] This application does not limit the specific method of generating the third verification information, as long as it is the same as the method of generating the first verification information. For example, the first verification information can be generated based on the first data and the first model, and the third verification information can be generated based on the second data and the first model. As another example, the first verification information can be the distribution information of the first data, and the third verification information can be the distribution information of the second data. In this way, the comparison between the third verification information and the second verification information (i.e., the first verification information after transmission) is comparable.

[0017] Optionally, the data transmission loss of the first data is determined based on the third verification information and the second verification information. One possible implementation is that the data transmission loss of the first data is equal to the distance between the third verification information and the second verification information. Another possible implementation is that the data transmission loss of the first data is determined based on the third verification information, the second verification information, and the second model.

[0018] For example, the aforementioned distance may be, for instance, Euclidean distance, cosine distance, Minkowski distance, relative entropy (also known as (kullback-leibler, KL) divergence or KL distance), or a variation of these distances, which are not limited in this application.

[0019] It should be noted that the data transmission loss of the first data mentioned above is represented by the distance between the third verification information and the second verification information. This is only an example. For example, it can also be calculated by other algorithms, such as similarity calculation. This application does not limit this.

[0020] The second model mentioned above can be an AI model / ML model, and this application does not limit the type of the second model.

[0021] The data transmission loss of the first data is equal to the distance between the third and second verification information. This method of calculating data transmission loss is relatively simple and efficient. This calculation method can be applied to scenarios with low power consumption or limited computing resources.

[0022] The data transmission loss of the first data is determined based on the third verification information, the second verification information, and the second model. This method of calculating data transmission loss is beneficial to improving the accuracy of data transmission loss calculation. For example, by training the second model, the difference between the third verification information and the second verification information can better represent the difference between the second data and the first data, thereby making the calculated data transmission loss more accurate.

[0023] In conjunction with the first aspect, in some possible implementations of the first aspect, determining the data transmission loss of the first data based on the second data and the second verification information includes: determining the data transmission loss of the first data based on the second data, the second verification information, and the third model.

[0024] In the above scheme, the second communication device determines the data transmission loss of the first data based on the second data, the second verification information, and the third model, and directly uses the second data without generating the verification information corresponding to the second data. This method of calculating data transmission loss is more direct.

[0025] For example, the third model mentioned above can be an AI model / ML model, and this application does not limit the type of the third model.

[0026] In conjunction with the first aspect, in some possible implementations of the first aspect, the method further includes: obtaining at least one of the following: first threshold information, information for indicating a verification information generation method, or information for indicating a data transmission loss calculation method, wherein the first threshold information is used to indicate the data transmission loss threshold corresponding to the first data.

[0027] The aforementioned transmission loss threshold can correspond to the data transmission loss threshold calculated based on the data verification method provided in this application.

[0028] To obtain at least one of the above, one possible design is to receive at least one of the above from the first communication device, that is, the first communication device instructs the second communication device on at least one of the above. This design improves the flexibility of the above parameters, such that the first communication device can flexibly configure at least one of the above according to actual needs.

[0029] Another possible design is to predefine at least one of the above, and the second communication device can obtain at least one of the above from local storage or other devices. This design helps to reduce signaling overhead.

[0030] In conjunction with the first aspect, in some possible implementations of the first aspect, the method further includes: sending information indicating data transmission loss of the first data.

[0031] In conjunction with the first aspect, in some possible implementations of the first aspect, the method further includes: sending first information when the data transmission loss of the first data is less than or equal to a first threshold, the first information indicating that the first data has been correctly received.

[0032] It should be noted that the aforementioned first information indicates that the aforementioned first data was correctly received, but does not necessarily mean that the aforementioned first data was without transmission errors. It is possible that the data transmission loss / error is within an acceptable range, or that there is an error in the data transmission loss calculation process (including data and algorithm) for the aforementioned first data. The aforementioned first data being correctly received can also be replaced with the aforementioned first data being successfully received.

[0033] In conjunction with the first aspect, in some possible implementations of the first aspect, the method further includes: when the data transmission loss of the first data is greater than a first threshold, sending second information, the second information being used to indicate that the first data has not been correctly received.

[0034] The phrase "the first data was not received correctly" can also be replaced with "the first data was received incorrectly" or "the first data failed to be received," etc.

[0035] By sending the second information back to the sender of the first data, the sender can retransmit the first data.

[0036] In conjunction with the first aspect, in some possible implementations of the first aspect, the method further includes: sending second information, which includes a negative acknowledgment (NACK), when the data transmission loss of the first data is greater than a first threshold.

[0037] Secondly, this application provides a data verification method, which can be executed by a first communication device. The first communication device can be a network device or terminal, or a circuit or chip applicable to a network device or terminal (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core), or a logic module or software capable of implementing all or part of the functions of a network device or terminal; this application does not limit the scope of the application.

[0038] For example, the method includes: sending first data and first verification information, the first verification information being generated based on the first data; and receiving information indicating data transmission loss of the first data.

[0039] In the above scheme, the sending end of the first data can obtain the data transmission loss of the first data, which makes it easier for the sending end to determine whether the first data needs to be retransmitted or the data transmission configuration needs to be adjusted based on the data transmission loss, thereby improving the flexibility of data retransmission and the reliability and accuracy of data transmission.

[0040] In conjunction with the second aspect, in some possible implementations of the second aspect, the data transmission loss of the first data is determined based on the second data and the second verification information, wherein the second data is the data after the first data has been transmitted, and the second verification information is the verification information after the first verification information has been transmitted.

[0041] In conjunction with the second aspect, in some possible implementations of the second aspect, the data transmission loss of the first data is determined based on the second data and the second verification information, including: the data transmission loss of the first data is determined based on the second verification information and the third verification information, wherein the third verification information is determined based on the second data; or, the data transmission loss of the first data is determined based on the second data, the second verification information, and the third model.

[0042] In conjunction with the second aspect, in some possible implementations of the second aspect, the above method further includes: sending at least one of the following: first threshold information, information for indicating a verification information generation method, or information for indicating a data transmission loss calculation method, wherein the first threshold information is used to indicate a data transmission loss threshold corresponding to the first data.

[0043] It should be understood that the second aspect of this application corresponds to the technical solution of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here.

[0044] Thirdly, this application provides a data verification method, which can be executed by a first communication device. The first communication device can be a network device or terminal, or a circuit or chip applicable to a network device or terminal (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core), or a logic module or software capable of implementing all or part of the functions of a network device or terminal. This application does not limit the scope of the application.

[0045] For example, the method includes: generating first verification information based on first data; and sending the first data and the first verification information.

[0046] Optionally, the first verification information is generated by the first model, or the first verification information is the distribution information of the first data.

[0047] In conjunction with the third aspect, in some possible implementations of the third aspect, the above method further includes: sending at least one of the following: first threshold information, information for indicating a verification information generation method, or information for indicating a data transmission loss calculation method, wherein the first threshold information is used to indicate the data transmission loss threshold corresponding to the first data.

[0048] In conjunction with the third aspect, in some possible implementations of the third aspect, the above method further includes: receiving information for indicating data transmission loss of the first data.

[0049] In conjunction with the third aspect, in some possible implementations of the third aspect, the above method further includes: receiving first information indicating that the first data has been correctly received.

[0050] In conjunction with the third aspect, in some possible implementations of the third aspect, the above method further includes: receiving second information, which is used to indicate that the first data was not received correctly.

[0051] In conjunction with the third aspect, in some possible implementations of the third aspect, the above method further includes: receiving second information, which includes NACK.

[0052] It should be understood that the third aspect of this application corresponds to the technical solution of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, so they will not be repeated here.

[0053] Fourthly, this application provides a data verification method, which can be executed by a first communication device. The first communication device can be a network device or terminal, or a circuit or chip applicable to a network device or terminal (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core), or a logic module or software capable of implementing all or part of the functions of a network device or terminal; this application does not limit the scope of the application.

[0054] For example, the method includes: sending first data; receiving third verification information, the third verification information being generated based on second data, the second data being data after the first data has been transmitted; and determining the data transmission loss of the first data based on the third verification information and the first data.

[0055] In the above scheme, the first communication device can determine the degree of data transmission loss of the first data based on the third verification information of the second data and the first data. This data verification method can obtain a more detailed data transmission loss situation. In this way, it is beneficial to meet the needs of fault-tolerant transmission scenarios (that is, scenarios that can accept a certain degree of data errors) more flexibly. If the calculated data transmission loss is within the allowable range, there is no need to request retransmission. If the data transmission loss is not within the allowable range, retransmission can be requested. This helps to improve the flexibility of data retransmission.

[0056] In conjunction with the fourth aspect, in some possible implementations of the fourth aspect, the aforementioned third verification information is the distribution information of the aforementioned second data; or, the aforementioned third verification information is generated based on the aforementioned second data and the first model.

[0057] In conjunction with the fourth aspect, in some possible implementations of the fourth aspect, determining the data transmission loss of the first data based on the third verification information and the first data includes: generating first verification information based on the first data; and determining the data transmission loss of the first data based on the first verification information and the third verification information.

[0058] Optionally, the data transmission loss of the first data is equal to the distance between the third verification information and the first verification information; or, the data transmission loss of the first data is determined based on the third verification information, the first verification information, and the second model.

[0059] In conjunction with the fourth aspect, in some possible implementations of the fourth aspect, the above-mentioned determination of the data transmission loss of the first data based on the third verification information and the first data includes: determining the data transmission loss of the first data based on the third verification information, the first data, and the third model.

[0060] In conjunction with the fourth aspect, in some possible implementations of the fourth aspect, the above method further includes: sending information for instructing the verification information generation method.

[0061] In conjunction with the fourth aspect, in some possible implementations of the fourth aspect, the above method further includes: retransmitting the first data to the second communication device when the first data transmission loss is greater than the first threshold.

[0062] It should be understood that the technical effects of the technical solutions in the possible implementations of the fourth aspect of this application can be referred to the first aspect, and will not be repeated here.

[0063] Fifthly, this application provides a data verification method, which can be executed by a second communication device. The second communication device can be a network device or terminal, or a circuit or chip applicable to a network device or terminal (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core), or a logic module or software capable of implementing all or part of the functions of a network device or terminal; this application does not limit the scope of the application.

[0064] For example, the method includes: receiving second data; generating third verification information based on the second data, wherein the third verification information is distribution information of the second data, or the third verification information is generated based on the second data and the first model; and sending the third verification information.

[0065] In conjunction with the fifth aspect, in some possible implementations of the fifth aspect, information for instructing the verification information generation method is obtained.

[0066] Sixthly, this application provides a data verification apparatus for performing the methods described in the first aspect and any possible implementation thereof. Specifically, the apparatus includes a module for performing the methods described in the first aspect and any possible implementation thereof.

[0067] In a seventh aspect, this application provides a data verification apparatus for performing the methods described in the second aspect and any possible implementation thereof. Specifically, the apparatus includes a module for performing the methods described in the second aspect and any possible implementation thereof.

[0068] Eighthly, this application provides a data verification apparatus for performing the methods in the third aspect and any possible implementation thereof. Specifically, the apparatus includes modules for performing the methods in the third aspect and any possible implementation thereof.

[0069] Ninthly, this application provides a data verification apparatus for performing the methods in the fourth aspect and any possible implementation thereof. Specifically, the apparatus includes a module for performing the methods in the fourth aspect and any possible implementation thereof.

[0070] In a tenth aspect, this application provides a data verification apparatus for performing the methods in the fifth aspect and any possible implementation thereof. Specifically, the apparatus includes a module for performing the methods in the fifth aspect and any possible implementation thereof.

[0071] In one aspect, this application provides a data verification device, including a processor coupled to a memory, which can be used to execute instructions in the memory to implement the methods in the first aspect and any possible implementation of the first aspect.

[0072] In a twelfth aspect, this application provides a data verification apparatus, including a processor coupled to a memory, which can be used to execute instructions in the memory to implement the methods in the second aspect and any possible implementation of the second aspect.

[0073] In a thirteenth aspect, this application provides a data verification apparatus, including a processor coupled to a memory, which can be used to execute instructions in the memory to implement the methods in the third aspect and any possible implementation of the third aspect.

[0074] In a fourteenth aspect, this application provides a data verification apparatus, including a processor coupled to a memory, which can be used to execute instructions in the memory to implement the methods in the fourth aspect and any possible implementation of the fourth aspect.

[0075] In a fifteenth aspect, this application provides a data verification apparatus, including a processor coupled to a memory, which can be used to execute instructions in the memory to implement the methods in the fifth aspect and any possible implementation of the fifth aspect.

[0076] In conjunction with aspects eleven through fifteen, in some possible implementations, the aforementioned processor may be one or more.

[0077] In conjunction with aspects eleven through fifteen, in some possible implementations, the above-described apparatus further includes a memory. The memory may be one or more. The memory may be integrated with the processor, or it may be disposed separately from the processor.

[0078] In the specific implementation process, the memory can be a non-transitory memory, such as read-only memory (ROM), which can be integrated with the processor on the same chip or set on different chips. This application does not limit the type of memory or the way the memory and processor are set.

[0079] In conjunction with aspects eleven through fifteen, in some possible implementations, the above-described apparatus further includes a communication interface, with the processor coupled to the communication interface.

[0080] In one implementation, the aforementioned device is a terminal or network device. When the device is a terminal or network device, the aforementioned communication interface can be a transceiver, or an input / output interface.

[0081] In another implementation, the aforementioned device is a chip applicable to a terminal or network device. When the device is a chip applicable to a terminal or network device, the aforementioned communication interface can be an input / output interface.

[0082] The device described in aspects eleven to fifteen above can be a chip. The processor can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, an integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor that reads software code stored in a memory. The memory can be integrated into the processor or located outside the processor and exist independently.

[0083] In a sixteenth aspect, this application provides a chip system including at least one processor for supporting the implementation of the functions involved in the first to fifth aspects and any possible implementation of the first to fifth aspects, such as receiving or processing data and / or information involved in the above methods.

[0084] In one possible design, the chip system also includes a memory for storing program instructions and data, which may be located within or outside the processor.

[0085] The chip system can consist of chips or include chips and other discrete components.

[0086] In a seventeenth aspect, this application provides a computer program product comprising: a computer program (also referred to as code or instructions) that, when run, causes a computer to perform the methods described in the first to fifth aspects and any possible implementation thereof.

[0087] In an eighteenth aspect, this application provides a computer-readable storage medium storing a computer program (also referred to as code or instructions) that, when run on a computer, causes the computer to perform the methods described in the first to fifth aspects and any possible implementation thereof.

[0088] In a nineteenth aspect, this application provides a communication system including the aforementioned first communication device and second communication device. The second communication device is configured to execute the methods described in the first aspect and any possible implementation thereof; the first communication device is configured to execute the methods described in the second aspect and any possible implementation thereof, or to execute the methods described in the third aspect and any possible implementation thereof; or, the first communication device is configured to execute the methods described in the fourth aspect and any possible implementation thereof, and the second communication device is configured to execute the methods described in the fifth aspect and any possible implementation thereof.

[0089] Optionally, the communication system includes the apparatus described in the sixth aspect and the apparatus described in the seventh aspect, or the communication system includes the apparatus described in the sixth aspect and the apparatus described in the eighth aspect, or the communication system includes the apparatus described in the ninth aspect and the apparatus described in the tenth aspect.

[0090] Optionally, the communication system includes the apparatus described in the eleventh aspect and the apparatus described in the twelfth aspect, or the communication system includes the apparatus described in the eleventh aspect and the apparatus described in the thirteenth aspect, or the communication system includes the apparatus described in the fourteenth aspect and the apparatus described in the fifteenth aspect.

[0091] It should be understood that aspects six to nineteen of this application correspond to the technical solutions of aspects one to five of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here. Attached Figure Description

[0092] Figure 1 This is a schematic diagram of the architecture of a communication system applicable to the methods provided in this application;

[0093] Figure 2 This is the system architecture for source-channel coding separation provided in the embodiments of this application;

[0094] Figure 3 This is a schematic diagram of the data verification method provided in an embodiment of this application;

[0095] Figure 4 This is another schematic diagram of the data verification method provided in the embodiments of this application;

[0096] Figure 5 This is a schematic diagram of several possible verification points provided in the embodiments of this application;

[0097] Figure 6 This is a schematic diagram of the data interaction process provided in the embodiments of this application;

[0098] Figure 7This is a schematic flowchart of the data verification method provided in the embodiments of this application;

[0099] Figure 8 This is a schematic block diagram illustrating model training provided in an embodiment of this application;

[0100] Figure 9 This is another schematic block diagram of model training provided in the embodiments of this application;

[0101] Figure 10 This is a schematic block diagram of the data verification device provided in the embodiments of this application;

[0102] Figure 11 This is another schematic block diagram of the data verification device provided in the embodiments of this application;

[0103] Figure 12 This is a schematic diagram of a radio access network (RAN) intelligent controller (RIC) architecture communication system shown in an embodiment of this application;

[0104] Figure 13 This is a schematic diagram of a communication system based on an open RAN architecture provided in an embodiment of this application. Detailed Implementation

[0105] Before describing the technical solutions in this application, the following points should be noted.

[0106] First, in this application, the terms "first" and "second" are used to distinguish identical or similar items with essentially the same function and purpose. For example, "first verification information" and "second verification information" are merely used to distinguish verification information sent by the transmitting device from verification information received by the receiving device, and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that the terms "first" and "second" do not necessarily imply that they are different.

[0107] Second, in this application, the words "exemplarily" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design that is described as "exemplarily" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0108] Third, in this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0109] Fourth, the predefined in this application can be understood as preset, defined, predefined, stored, pre-stored, pre-negotiated, or pre-configured, etc.

[0110] Fifth, the technical solutions of the embodiments of this application can be applied to various communication systems, such as: Universal Mobile Telecommunications System (UMTS), Wireless Local Area Network (WLAN), Wireless Fidelity (Wi-Fi) system, 4th generation (4G) mobile communication system (such as Long Term Evolution (LTE) system), 5th generation (5G) mobile communication system (such as New Radio (NR) system), or future communication systems, etc. This application does not limit it in this regard.

[0111] The following will combine Figure 1 The architecture of the communication system to which this application applies is described in detail.

[0112] Figure 1 This is a schematic diagram of the architecture of a communication system applicable to the method provided in this application. Figure 1 A schematic diagram of a possible, non-limiting system architecture is shown. (e.g.) Figure 1 As shown, the communication system includes RAN 100 and core network (CN) 200. Optionally, the communication system 100 also includes Internet 300. RAN 100 includes at least one RAN node (e.g., Figure 1 110a and 110b (collectively referred to as 110) and at least one terminal (such as Figure 1120a-120j are collectively referred to as 120. The RAN may also include other RAN nodes, such as wireless relay devices and / or wireless backhaul devices. Figure 1 (Not shown in the image). Terminal 120 is connected to RAN node 110 wirelessly. RAN node 110 is connected to core network 200 wirelessly or via wired connection. The core network equipment in core network 200 and RAN node 110 in RAN 100 can be different physical devices, or they can be the same physical device integrating core network logical functions and radio access network logical functions.

[0113] RAN 100 can be a cellular system related to the 3rd Generation Partnership Project (3GPP), such as 4G, 5G mobile communication systems, non-terrestrial network (NTN) systems, or future mobile communication systems. RAN 100 can also be an open RAN (O-RAN or ORAN), a cloud radio access network (CRAN), or a Wi-Fi system. RAN 100 can also be a communication system that integrates two or more of the above systems.

[0114] RAN node 110, sometimes also referred to as access network equipment, RAN entity, or access node, is part of the communication system and is used to help terminals achieve wireless access. Multiple RAN nodes 110 in communication system 100 can be of the same type or different types. In some scenarios, the roles of RAN node 110 and terminal 120 are relative, for example... Figure 1 Network element 120i can be a helicopter or a drone, and it can be configured as a mobile base station. For terminals 120j that access RAN 100 through network element 120i, network element 120i is a base station; however, for base station 110a, network element 120i is a terminal. RAN node 110 and terminal 120 are sometimes referred to as communication devices, for example... Figure 1 Network elements 110a and 110b can be understood as communication devices with base station functions, while network elements 120a-120j can be understood as communication devices with terminal functions.

[0115] In one possible scenario, a RAN node can be a base station, an evolved NodeB (eNodeB), an access point (AP), a transmission reception point (TRP), a next-generation NodeB (gNB), a base station in a future mobile communication system, or an access node in a Wi-Fi system, etc. A RAN node can also be a macro base station (such as...) Figure 1 110a), micro base stations or indoor stations (such as Figure 1 In CRAN scenarios, RAN nodes can be 110b), relay nodes or donor nodes, or wireless controllers. Optionally, RAN nodes can also be servers, wearable devices, vehicles, or in-vehicle equipment. For example, in vehicle-to-everything (V2X) technology, the access network equipment can be a roadside unit (RSU).

[0116] In another possible scenario, multiple RAN nodes collaborate to assist terminals in achieving wireless access, with different RAN nodes each implementing some of the base station's functions. For example, RAN nodes can be central units (CUs), distributed units (DUs), CU-control plane (CPs), CU-user plane (UPs), or radio units (RUs), etc. CUs and DUs can be set up separately or included in the same network element, such as a baseband unit (BBU). RUs can be included in radio equipment or radio units, such as remote radio units (RRUs), active antenna units (AAUs), or remote radio heads (RRHs). It is understood that access network equipment can be CU nodes, DU nodes, or equipment including both CU and DU nodes. Furthermore, CUs can be classified as access network equipment within the RAN or as access network equipment within the CN; no restrictions are placed here.

[0117] In different systems, CU (or CU-CP and CU-UP), DU, or RU may have different names, but those skilled in the art will understand their meaning. For example, in an open RAN (ORAN or O-RAN) system, CU can also be called O-CU (open CU), DU can also be called O-DU, CU-CP can also be called O-CU-CP, CU-UP can also be called O-CU-UP, and RU can also be called O-RU. For ease of description, this application uses CU, CU-CP, CU-UP, DU, and RU as examples. Any of the units among CU (or CU-CP, CU-UP), DU, and RU in this application can be implemented through software modules, hardware modules, or a combination of software modules and hardware modules.

[0118] In this embodiment, the form of the access network device is not limited. The device used to implement the function of the access network device can be the access network device itself; or it can be a device that supports the access network device in implementing the function, such as a chip system. The device can be installed in the access network device or used in conjunction with the access network device.

[0119] Terminal 120 can also be referred to as terminal equipment, user equipment (UE), mobile station, mobile terminal, etc. Terminals can be widely used in various scenarios, such as device-to-device (D2D), vehicle-to-everything (V2X) communication, machine-type communication (MTC), Internet of Things (IoT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grids, smart furniture, smart offices, smart wearables, smart transportation, smart cities, etc. Terminals can be, for example, mobile phones, tablets, computers with wireless transceiver capabilities, wearable devices, vehicles, drones, helicopters, airplanes, ships, robots, robotic arms, smart home devices, etc.

[0120] This application does not limit the device form of the terminal. The device used to implement the terminal's functions can be a terminal device or a device that supports the terminal in implementing those functions, such as a chip system. This device can be installed in the terminal or used in conjunction with the terminal. In this application, the chip system can be composed of chips or can include chips and other discrete components.

[0121] It should be understood that Figure 1This application merely illustrates an exemplary system architecture to which the method provided herein is applicable and should not be construed as limiting the application in any way. For example, the method provided herein can also be applied to other system architectures, as long as the system includes at least one transmitting device and at least one receiving device. The transmitting device may be, for example, a network device or a terminal, and the receiving device may be, for example, a network device or a terminal, wherein the network device may be, for example, a RAN device or a server. Exemplarily, in downlink communication, the transmitting device may be a network device and the receiving device may be a terminal; in uplink communication, the transmitting device may be a terminal and the receiving device may be a network device; in sidelink communication, both the transmitting device and the receiving device may be terminals.

[0122] In communication systems, checksums can be used for data error detection and auxiliary error correction. For example, cyclic redundancy check (CRC) codes are a commonly used checksum in communication systems. Data retransmission based on checksums is a technique to improve data transmission reliability. For example, a sending device sends data and its corresponding checksum to a receiving device. The receiving device verifies the data based on the data and checksum to determine if the data has been transmitted incorrectly. If a data transmission error is found, the receiving device can request a retransmission. However, in some scenarios, the receiving end has a certain tolerance for data errors; in other words, lossless data transmission is not required, or a certain degree of data error can be allowed / accepted. Therefore, the mechanism for requesting retransmission upon data transmission error is not very flexible, and a method to improve the flexibility of data retransmission is urgently needed. Before introducing the method provided in this application, the following describes scenarios where data transmission errors are allowed.

[0123] One possible scenario is joint source and channel coding (JSCC), where source coding and channel coding are processed jointly / coordinated, and / or channel decoding and source decoding are processed jointly / coordinated. In this scenario, the application layer has a certain tolerance for data errors in the communication layer.

[0124] It should be noted that, in this application, decoding can also be referred to as decoding.

[0125] One possible design for a JSCC system is to separate source encoding / decoding and channel encoding / decoding, that is, to separate source encoding / decoding and / or channel encoding / decoding modules, and to achieve joint processing of the two only through some information exchange. Even if the data received by the communication layer is erroneous, it can be passed to the application layer and may still be usable after source decoding. In other words, the application layer has a certain tolerance for errors in the communication layer data.

[0126] For example, Figure 2The system architecture of source-channel coding separation is shown. For example... Figure 2 As shown, the source coding module performs source coding on the source data and outputs the source-coded data. The CRC generation module generates a CRC code based on the source-coded data. The data merging module merges the source-coded data and the CRC code; for example, the data merging module can append the CRC code to the end / before the source-coded data. The channel coding module performs channel coding on the merged data and outputs the channel-coded data.

[0127] It should be understood that Figure 2 The modules shown are merely examples and should not be construed as limiting the transmitting device in any way. In other embodiments, the transmitting device may include more or fewer modules. It should also be understood that the architecture of separating source decoding and channel decoding in the receiving device corresponds to that on the transmitting device side, such as including a channel decoding module, a data separation module, a CRC check module, and a source decoding module, which will not be described in detail here.

[0128] It should also be understood that the CRC code is merely an example of verification information and should not constitute any limitation on this application.

[0129] Another possible design for a JSCC system is an integrated source encoding / decoding and channel encoding / decoding system. This means there are no independent source encoding / decoding and / or channel encoding / decoding modules. In this case, the communication quality at the communication layer cannot be determined through CRC between the channel encoding / decoding and source encoding / decoding; it can only be judged at the application layer. However, the application layer can tolerate some data errors in certain scenarios and does not require completely lossless data transmission. Examples include voice calls and video transmissions.

[0130] It should be understood that the method provided in this application is applicable not only to JSCC scenarios (JSCC systems that integrate source coding and decoding and channel coding and decoding, or JSCC systems that separate source coding and decoding and channel coding and decoding), but also to other scenarios, as long as a certain degree of data error can be accepted, or a scenario that needs to monitor data transmission loss.

[0131] In the data verification method provided in this application, the transmitting device sends first data and first verification information, which is generated based on the first data. Correspondingly, the receiving device receives the first data after transmission (referred to as second data, which may be the same as or different from the first data) and the first verification information after transmission (referred to as second verification information, which may be the same as or different from the first verification information). Furthermore, the receiving device can determine the data transmission loss of the first data based on the second data and the second verification information. In other words, the receiving device can judge the degree of error of the first data. This is beneficial for more flexibly meeting the needs of fault-tolerant transmission scenarios (i.e., scenarios that can accept a certain degree of data error). If the calculated data transmission loss is within an acceptable range, there is no need to request retransmission. If the data transmission loss is not within an acceptable range, a retransmission can be requested, which improves the flexibility of data retransmission.

[0132] In the aforementioned data verification method, the receiving device determines the data transmission loss of the first data based on the second data and the second verification information. This includes two possible implementations. One possible implementation is that the receiving device generates third verification information based on the second data, and obtains the data transmission loss of the first data based on this third verification information and the aforementioned second verification information. Another possible implementation is that the receiving device directly determines the data transmission loss of the first data based on the second data and the second verification information, using a third model. The following will combine... Figure 3 and Figure 4 The two possible implementation methods described above will be explained in detail.

[0133] Figure 3 This is a schematic diagram of the data verification method provided in the embodiments of this application.

[0134] like Figure 3 As shown, the transmitting device generates verification information p1 based on data d1 and sends both data d1 and verification information p1 to the receiving device. After transmission, due to transmission effects, the data received by the receiving device may differ from or be the same as that at the transmitting device. Assume that data d1, after transmission, becomes data d2 at the receiving device, and verification information p1, after transmission, becomes verification information p1' at the receiving device. Generally, the data size of verification information p1 and p1' may be much smaller than that of data d1 and d2. Alternatively, verification information p1 may be transmitted using a more reliable transmission method; therefore, the probability / degree of corruption of verification information p1 may be much smaller than that of data d1. In one possible case, p1' = p1.

[0135] The receiving device generates verification information p2 based on data d2. This verification generation method is the same as that used by the sending device (i.e., the method used by the sending device to generate verification information p1 based on data d1). Then, the receiving device uses the verification information p1' and p2 to determine the data transmission loss of data d1.

[0136] In this application, the verification generation module can be used to generate verification information based on data; the verification judgment module can be used to judge the data transmission loss of data d1. Furthermore, data transmission loss can also be referred to as data transmission impairment, data error degree, data damage degree, data loss degree, etc., and this application does not limit its terminology.

[0137] Figure 4 This is another schematic diagram of the data verification method provided in the embodiments of this application.

[0138] like Figure 4 As shown, with Figure 3 The difference is that after receiving data d2 and verification information p1', the receiving device does not generate verification information p2, but directly determines the data transmission loss of data d1 based on verification information p1' and data d2.

[0139] To facilitate understanding of the embodiments provided in this application, before explaining the data verification method described above in detail, the verification points to which the above data verification method can be applied will be introduced first.

[0140] For example, Figure 5 Several possible verification points are shown, all of which can be applied to the data verification method described above.

[0141] It should be understood that the data verification methods provided in this application are not limited to... Figure 5 The verification points shown, such as channel state information (CSI) feedback (compression and recovery), can also be applied.

[0142] It should also be understood that Figure 5 Taking the separation of source coding and decoding and channel coding and decoding as an example, it can also be source-channel joint / cooperative coding and decoding.

[0143] like Figure 5 As shown, taking downlink communication as an example, the terminal can perform channel estimation on the downlink channel to obtain the CSI, compress the CSI to obtain the compressed CSI, and send it to the network device. The network device performs CSI recovery to obtain the downlink channel quality for precoding.

[0144] Network devices can sequentially perform source coding, channel coding, modulation, precoding, and resource mapping on downlink data, and then send it to the terminal through the channel. After receiving the downlink data, the terminal sequentially performs resource demapping, demodulation, channel decoding, and source decoding.

[0145] Among them, verification point 1 corresponds to the data before modulation, that is, the receiving device judges the data transmission loss of the data before modulation. Considering that the modulation module realizes the equivalent mapping of the data flow to the constellation point, verification point 1 can also correspond to the data after modulation, that is, the receiving device judges the data transmission loss of the data after modulation (whether judging the data transmission loss of the data before modulation or the data transmission loss of the data after modulation, the receiving device can first demodulate the received data and then perform verification judgment on the demodulated data); verification point 2 corresponds to the data before channel coding, that is, the receiving device judges the data transmission loss of the data before channel coding; verification point 3 corresponds to the application data (such as pictures, voice, or video, etc.), that is, the receiving device judges the data transmission loss of the data before source coding.

[0146] It should be noted that, Figure 5 The process shown is merely an example and should not be construed as limiting this application. For example, Figure 5 In the system shown, the transmitting device may also include data merging, and the receiving device may also include data splitting, etc.

[0147] The following is combined with Figure 6 Taking verification point 2 as an example, the entire process of data interaction is described in detail.

[0148] Figure 6 This is a schematic diagram of the data interaction process provided in the embodiments of this application.

[0149] like Figure 6 As shown, after source encoding the source data, the transmitting device obtains data d1. Data d1 is then dequantized, that is, the binary bitstream data is converted into, for example, decimal data. Further, the transmitting device generates checksum p1 based on the dequantized data d1 and sends both data d1 and checksum p1 to the receiving device. One possible implementation is that the transmitting device inputs the checksum p1 into a data merging module, which merges the checksum p1 and data d1; that is, checksum p1 and data d1 can be sent together. Another possible implementation is that the transmitting device does not need to input the checksum p1 into the data merging module; that is, checksum p1 and data d1 can be sent separately. For example, checksum p1 can be sent via higher-layer signaling.

[0150] Assume that data d1 becomes data d2 at the receiving device after transmission, and verification information p1 becomes verification information p1' at the receiving device after transmission. This verification information p1' can be the same as or different from the verification information p1; this application does not impose any limitations on this.

[0151] After receiving the verification information p1' and data d2, the receiving device performs channel decoding and data separation (this step is optional), and dequantizes the data d2, that is, converts the binary bit stream data into, for example, decimal data. Then, based on the dequantized data d2, it generates the verification information p2, and based on the verification information p1' and the verification information p2, it determines the data transmission loss of data d1.

[0152] It should be understood that, Figure 6 In this example, JSCC, which separates source coding and decoding from channel coding, is used, but this should not be considered a limitation of this application. It can also be applied to scenarios where source coding and decoding are integrated with channel coding and decoding. Furthermore, other embodiments may include more or fewer steps, such as omitting data merging and / or inverse quantization. Figure 6 Taking the example of the receiving device generating verification information p2 based on data d2, in other implementations, the receiving device may not generate verification information p2, such as directly determining the data transmission loss of data d1 based on data d2 and verification information p1'. See details. Figure 4 .

[0153] The data verification method provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings. It should be understood that the embodiments shown below describe the method from the perspective of the interaction between a first communication device and a second communication device, but should not constitute any limitation on the subject executing the method. The method provided in the embodiments of this application can be executed as long as a program containing the code of the method provided in the embodiments of this application is run. For example, the first communication device can be a network device or terminal, or a circuit or chip applicable to a network device or terminal (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core), or a logic module or software capable of implementing all or part of the functions of a network device or terminal; this application does not limit this. The second communication device can be a network device or terminal, or a circuit or chip applicable to a network device or terminal (such as a modem chip, also known as a baseband chip, or a SoC chip or SIP chip containing a modem core), or a logic module or software capable of implementing all or part of the functions of a network device or terminal; this application does not limit this.

[0154] The first communication device can be regarded as the data sending end, and the second communication device can be regarded as the data receiving end.

[0155] Figure 7 This is a schematic flowchart of the data verification method 700 provided in an embodiment of this application. The above method 700 can be applied, for example, to... Figures 1 to 6 Any of the architectures shown. The steps in method 700 are described in detail below.

[0156] In step 701, the first communication device generates first verification information based on the first data.

[0157] One possible implementation is that the first communication device generates the first verification information corresponding to the first data through a first model. The input of the first model is the first data, and the output is the first verification information. For example, the first model can be an AI model / ML model; the type of the first model is not specifically limited in this application. The first model can be pre-trained. The training process can be seen below and will not be detailed here.

[0158] Another possible implementation is that the first verification information is the distribution information of the first data. The distribution information includes, but is not limited to, parameters of any of the following distributions: percentile or histogram distribution, skewed distribution, binomial distribution, Bernoulli distribution, Poisson distribution, exponential distribution, or gamma distribution, etc.

[0159] It should be understood that if the first data mentioned above changes, the corresponding distribution information is likely to change. Therefore, the change in distribution information can be used to characterize the change in data, or in other words, to characterize the degree of data loss.

[0160] For example, a uniform histogram distribution is used. Assume the first data is [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]. Divide it into four intervals, each with a width of 2.25. The four intervals are [0, 2.25], [2.25, 4.5], [4.5, 6.75], and [6.75, 9]. The amount of the first data falling into each of these four intervals is (3, 2, 2, 3). This distribution information (3, 2, 2, 3) can be used as verification information for the first data. If the first data changes due to transmission, such as 2 becoming 2.5, then the second data becomes [0, 1, 2.5, 3, 4, 5, 6, 7, 8, 9]. The corresponding second verification information is (2, 3, 2, 3). The second communication device can obtain the data transmission loss of the first data by observing the change in the distribution information. For example, the second communication device can determine the data transmission loss of the first data based on the distance between the received distribution information and the distribution information determined based on the second data. For instance, the second communication device can calculate the distance (such as cosine distance, see below) between (3, 2, 2, 3) and (2, 3, 2, 3) to determine the data transmission loss of the first data.

[0161] It should be understood that the above example uses a uniform histogram distribution, but this should not constitute any limitation on this application. For example, a non-uniform histogram distribution can also be used (i.e., the width of each interval can be different).

[0162] Optionally, the first data mentioned above can be segmented data or unsegmented data. This application does not limit this.

[0163] For example, if the first communication device wants to send data X, it can divide the data X into multiple segments. Each segment of data can be applied to the verification method provided in this application. That is, the first communication device can generate verification information corresponding to each segment of data based on the above-mentioned verification information generation method. Correspondingly, the second communication device can determine the data transmission loss of each segment of data based on the data verification method provided in this application.

[0164] Optionally, before generating the first verification information based on the first data, the first communication device may perform a dequantization operation (that is, convert the binary data into, for example, decimal data). Correspondingly, the second communication device may also perform a dequantization operation before generating the third verification information based on the second data.

[0165] For example, the first communication device performs a dequantization operation on the first data and generates first verification information based on the dequantized first data. It is easy to understand that binary data leads to oversimplification of unit data information, which may make changes in the corresponding verification information difficult to identify. Therefore, converting binary data into decimal data helps increase the information content per unit of data, thereby better identifying changes in verification information and thus better identifying data transmission losses. For example, if the aforementioned first verification information is the distribution information of the first data, converting the first data into decimal data helps to better identify changes and trends in the distribution information.

[0166] Optionally, before generating the first verification information based on the first data, the first communication device may preprocess the first data. This preprocessing may include, but is not limited to, at least one of the following: normalization, Fourier transform, or wavelet transform. Thus, the first communication device can generate the first verification information based on the preprocessed first data.

[0167] Preprocessing the aforementioned first data can improve the efficiency and effectiveness of data analysis and processing, and enhance the performance of subsequent data analysis.

[0168] In step 702, the first communication device sends the aforementioned first data and first verification information.

[0169] Due to transmission variations, the data received by the second communication device may be the same as or different from the data sent by the first communication device. Therefore, for ease of distinction, the data received by the second communication device is denoted as "second data," and the received verification information is denoted as "second verification information." The aforementioned second data and the aforementioned first data may be the same or different; similarly, the aforementioned second verification information and the aforementioned first verification information may be the same or different.

[0170] For example, the amount of data in the first verification information may be much smaller than the amount of data in the first data, or the first verification information may be transmitted using a more reliable transmission method. Therefore, the probability / degree of damage to the first verification information during transmission may be much smaller than that of the first data. Thus, the second verification information and the first verification information may be the same.

[0171] For example, the first communication device sends the first data and the first verification information, and correspondingly, the second communication device receives the second data and the second verification information, wherein the second data is the data after the first data has been transmitted.

[0172] Optionally, before sending the first data and the first verification information, the first communication device may merge the first data and the first verification information, such as by appending the first verification information to the end / before the first data.

[0173] It should be understood that the aforementioned first data and the aforementioned first verification information may also be sent separately, and this application does not specifically limit this.

[0174] It should also be understood that before sending the first data and the first verification information, the first communication device may perform at least one of the following processes: encoding, interleaving, or modulation, and then send them to the second communication device. Correspondingly, the second communication device may perform at least one of decoding, deinterleaving, or demodulation to obtain the second data and the second verification information.

[0175] In step 703, the second communication device determines the data transmission loss of the first data based on the second data and the second verification information.

[0176] One possible implementation is that the second communication device generates third verification information based on the second data, and determines the data transmission loss of the first data based on the third verification information and the second verification information.

[0177] Optionally, the aforementioned third verification information is generated through the first model, or the third verification information is the distribution information of the second data. A detailed explanation of the method for generating the aforementioned third verification information can be found in the method for generating the first verification information, and will not be repeated here.

[0178] It should be noted that the method for generating the third verification information is the same as the method for generating the first verification information. For example, if the first verification information is generated using the first model, then the second communication device can generate the third verification information corresponding to the second data using the first model. Alternatively, if the first verification information is the distribution information of the first data, then the second communication device determines the distribution information of the second data, i.e., the third verification information, based on the second data. The definitions of the two sets of distribution information are the same.

[0179] Optionally, the data transmission loss of the first data is the distance between the third verification information and the second verification information; or, the data transmission loss of the first data is determined based on the third verification information, the second verification information, and the second model.

[0180] The distance between the third verification information and the second verification information can be, for example, Euclidean distance, cosine distance, Minkowski distance, relative entropy (also known as (kullback-leibler, KL) divergence or KL distance), or a variation of these distances, etc. This application does not limit it in this regard.

[0181] For example, after generating third verification information based on the second data, the second communication device calculates the distance between the third verification information and the second verification information. This distance can characterize the difference between the second data and the first data, that is, the data transmission loss of the first data.

[0182] It should be noted that the data transmission loss of the first data mentioned above is represented by the distance between the third verification information and the second verification information. This is only an example. For example, it can also be calculated by other algorithms, such as similarity calculation. This application does not limit this.

[0183] The second communication device determines the data transmission loss of the first data based on the third and second verification information. Alternatively, the second communication device may obtain the data transmission loss of the first data using a second model based on the third and second verification information. The input to the second model can be the third and second verification information, and the output can be the data transmission loss of the first data after transmission. For example, the second model can be an AI / ML model; the type of the second model is not specifically limited in this application. The second model can be pre-trained. The training process is described below and will not be detailed here.

[0184] The following will combine Figure 8 The training of the first model described above will be explained in detail. Figure 8 This is a schematic block diagram illustrating model training provided in the embodiments of this application.

[0185] exist Figure 8 In this context, data d1 is an example of the first set of data, data d2 is an example of the second set of data, and verification information p2 is an example of the third set of verification information. Figure 8 In this context, the verification information p1 can also be replaced with the verification information p1' (that is, the second verification information received by the receiving device).

[0186] Figure 8 The training framework shown can be divided into two branches and a loss function to calculate the loss. Loss calculation refers to calculating the difference between the results obtained from the two branches as the training loss for the AI / ML model. Through training, this loss is minimized, thereby ensuring that the verification judgment results based on the verification information obtained from the AI / ML model can represent the actual data transmission impairment as accurately as possible. The difference between the two branches can be, for example, the mean squared error (MSE).

[0187] It is understandable that the verification judgment results between the verification information obtained by the aforementioned AI / ML models can approximate the actual data transmission impairment as closely as possible, or they can represent other known correspondences. For example, the relationship between the verification judgment results between the verification information obtained by the aforementioned AI / ML models and the actual data transmission impairment can be a multiple or a fixed difference. In short, the verification judgment results between the verification information obtained by the aforementioned AI / ML models should be able to characterize the actual data transmission impairment.

[0188] The two branches mentioned above will be described in detail below.

[0189] One branch involves data d1 and data d2 respectively passing through the same verification generation module (i.e., the first model, where data d1 is input into the first verification generation module and data d2 is input into the second verification generation module) to obtain verification information p1 and verification information p2. Verification information p1 and verification information p2 are then input into the verification judgment module to obtain the data transmission loss of data d1. The verification generation module can be based on an AI / ML model, and the verification judgment module can be based on an AI / ML model or a traditional algorithm (non-AI / ML model). For example, it could be the distance between verification information p1 and verification information p2, which can include, but is not limited to, Euclidean distance, Minkowski distance, cosine distance, or KL distance.

[0190] Another branch involves data d1 and data d2 undergoing evaluation by a performance evaluation module to obtain evaluation results. These results are related to performance metrics of interest and can be understood as the data impairment behavior that is of concern during data transmission. Examples include, but are not limited to, the following:

[0191] For speech data, the evaluation results can be (but are not limited to) the mean opinions score (MOS) or the perceptual evaluation of speech quality (PESQ).

[0192] For image data, the evaluation results can be (but are not limited to) the peak signal-to-noise ratio (PSNR), structural similarity (SSIM), or learned perceptual image patch similarity (LPIPS) of received image data d2 compared to transmitted image data d1.

[0193] For video data, the evaluation result can be (but is not limited to) the PSNR or SSIM of the received video data d2 compared to the transmitted video data d1;

[0194] For CSI, the evaluation result can be (but is not limited to) the normalized mean squared error (NMSE) of d2 compared to d1 or the square generalized cosine similarity (SGCS).

[0195] For data before or after modulation, the evaluation result can be (but is not limited to) bit error rate (BER) or symbol error rate (SER);

[0196] For data before channel coding, the evaluation result can be (but is not limited to) block error rate (BLER) or BER.

[0197] Understandable Figure 8 This is a schematic diagram of the first model training. Modules can be adjusted or added based on this to obtain better training results. For example, data d1 and data d2 can be normalized before the input validation generation module; this application does not limit this process.

[0198] Through the above training process, a trained first model can be obtained. The first communication device can generate first verification information based on the first verification generation module (i.e., the first model), and the second communication device can generate third verification information based on the second verification generation module (i.e., the first model). The data transmission loss of the first data is determined based on the verification judgment module.

[0199] It should be noted that the first communication device and the second communication device need to use the same verification generation method. Their synchronization method can be agreed upon in advance and configured by the first communication device (party) to the second communication device (party) or configured by the second communication device (party) to the first communication device (party).

[0200] The second communication device determines the data transmission loss of the first data based on the second data and the second verification information. Another possible implementation is that the second communication device determines the data transmission loss of the first data based on the second data, the second verification information, and the third model.

[0201] For example, the third model mentioned above can be an AI model / ML model, and this application does not specifically limit the type of the third model. The third model mentioned above can be pre-trained.

[0202] The following will combine Figure 9 The training of the third model described above will be explained in detail. Figure 9 This is another schematic block diagram of model training provided in the embodiments of this application.

[0203] exist Figure 9 In the example, data d1 is an example of the first data, verification information p1 is an example of the second verification information (assuming the second verification information is the same as the first verification information), data d2 is an example of the second data, and verification information p2 is an example of the third verification information. Figure 9 The training framework shown can be divided into two branches and a loss function to calculate the loss. For a detailed explanation of the loss calculation, please refer to [link to documentation / reference]. Figure 8 This will not be elaborated upon here.

[0204] The two branches mentioned above will be described in detail below.

[0205] One branch is the data d1 input validation generation module, which obtains validation information p1. The validation information p1 and data d2 are then input into the validation judgment module to obtain the data transmission loss of data d1. The validation generation module can be based on an AI model / ML model (i.e., the first model mentioned above), and the validation judgment module can also be based on an AI model / ML model.

[0206] Another branch involves data d1 and data d2 undergoing evaluation by the performance evaluation module to obtain evaluation results. These results are related to performance metrics of interest and can be understood as the data impairment behavior that is of concern during data transmission. For a detailed explanation of the above evaluation results, please refer to... Figure 8 This will not be elaborated upon here.

[0207] Optionally, the first communication device may also send information to the second communication device indicating a method for generating verification information, and / or information indicating a method for calculating data transmission loss. Correspondingly, the second communication device receives the aforementioned information so that the first and second communication devices can unify the method for generating verification information and / or the method for calculating data transmission loss. It is understood that the aforementioned method for generating verification information and / or the method for calculating data transmission loss may also be predefined by the protocol, and this application does not limit this. The aforementioned method for generating verification information may, for example, be based on a first model or based on the distribution information of the data. The aforementioned method for calculating data transmission loss may, for example, be calculated using a second model, or through distance calculation, or through a third model, etc.

[0208] In one possible embodiment, the method further includes: if the data transmission loss of the first data is less than or equal to a first threshold, the second communication device sends first information to the first communication device, the first information indicating that the first data has been correctly received. Correspondingly, the first communication device receives the first information.

[0209] The aforementioned first threshold may refer to the data transmission loss threshold of the first data, and the aforementioned transmission loss threshold may correspond to the data transmission loss threshold calculated based on the data verification method provided in this application.

[0210] The aforementioned first threshold can be a specific numerical value or a numerical range. When the first threshold is a numerical range, "the data transmission loss of the first data is less than or equal to the first threshold" can be replaced with "the data transmission loss of the first data is within the aforementioned numerical range." Correspondingly, "the data transmission loss of the first data is greater than the first threshold" can be replaced with "the data transmission loss of the first data is not within the aforementioned numerical range."

[0211] The aforementioned first threshold may be predefined in the protocol or indicated by the first communication device to the second communication device. For example, the first communication device sends first threshold information to the second communication device, and the second communication device receives the first threshold information. This first threshold information is used to indicate a data transmission loss threshold for the first data, or in other words, the first threshold information is used to indicate the first threshold. The first threshold information may include the first threshold itself, or it may include an index corresponding to the first threshold, which the second communication device can use to determine the corresponding first threshold. The correspondence between the first threshold and the index may, for example, be predefined.

[0212] Optionally, the method further includes: the second communication device sending information to the first communication device indicating data transmission loss of the first data. Correspondingly, the first communication device receives the information indicating data transmission loss of the first data.

[0213] For example, after determining the data transmission loss of the first data based on the second data and the second verification information, the second communication device sends information indicating the data transmission loss of the first data to the first communication device. Correspondingly, the first communication device receives the information indicating the data transmission loss of the first data. In this example, the second communication device does not need to determine whether the data transmission loss of the first data exceeds a first threshold. After receiving the information indicating the data transmission loss of the first data, the first communication device can determine whether the data transmission loss exceeds the first threshold. If it exceeds the first threshold, the first communication device can retransmit the first data or adjust the data transmission configuration.

[0214] For example, after determining the data transmission loss of the first data based on the second data and the second verification information, if the data transmission loss of the first data is less than or equal to a first threshold, the second communication device sends information indicating the data transmission loss of the first data and the first information to the first communication device. Correspondingly, the first communication device receives the information indicating the data transmission loss of the first data and the first information. In this way, it is convenient for the first communication device to determine the data transmission loss of the first data.

[0215] In one possible embodiment, the method further includes: if the data transmission loss of the first data exceeds a first threshold, the second communication device sends second information to the first communication device, the second information indicating that the first data was not correctly received. Alternatively, the second information may be used to request retransmission of the first data, or to request adjustment of the transmission configuration.

[0216] Optionally, if the data transmission loss of the first data exceeds the first threshold, the second communication device sends second information, which includes information indicating the data transmission loss of the first data and / or negative acknowledgment (NACK).

[0217] For example, if the data transmission loss of the first data exceeds the first threshold, the second communication device sends a NACK message to the first communication device, and the first communication device receives the NACK message.

[0218] For example, if the data transmission loss of the first data exceeds the first threshold, the second communication device indicates the data transmission loss of the first data to the first communication device. If the data transmission loss of the first data exceeds the first threshold, the first communication device may retransmit the first data or adjust the data transmission configuration.

[0219] It should be noted that the above embodiments use the second communication device to determine the data transmission loss of the first data as an example, but this should not constitute any limitation on this application. For example, the first communication device can also determine the data transmission loss of the first data.

[0220] In implementation method A, the first communication device sends first data, and correspondingly, the second communication device receives second data, which is the data after the first data has been transmitted; the second communication device generates third verification information based on the second data; the second communication device sends the third verification information, and correspondingly, the first communication device receives the third verification information and determines the data transmission loss of the first data based on the third verification information and the first data.

[0221] Optionally, in implementation A above, the third verification information is the distribution information of the second data; or, the third verification information is generated based on the second data and the first model. For a detailed explanation of how the third verification information is generated, please refer to [link to relevant documentation]. Figure 7 The method shown will not be elaborated here. For information on training the first model, please refer to [link / reference needed]. Figure 8 This will not be elaborated upon here.

[0222] Optionally, in the above implementation method A, determining the data transmission loss of the first data based on the third verification information and the first data includes: generating first verification information based on the first data; and determining the data transmission loss of the first data based on the first verification information and the third verification information.

[0223] Optionally, the data transmission loss of the first data is equal to the distance between the third verification information and the first verification information; or, the data transmission loss of the first data is determined based on the third verification information, the first verification information, and the second model.

[0224] For a detailed explanation of the distance between the third and first verification information, please refer to the detailed explanation of the distance between the third and second verification information above; it will not be repeated here. For the implementation method of determining the data transmission loss of the first data based on the third verification information, the first verification information, and the second model, please refer to the detailed explanation of determining the data transmission loss of the first data based on the second verification information, the third verification information, and the second model above; it will not be repeated here.

[0225] Optionally, determining the data transmission loss of the first data based on the third verification information and the first data includes: determining the data transmission loss of the first data based on the third verification information, the first data, and the third model. For a detailed explanation of how to determine the data transmission loss of the first data based on the third verification information, the first data, and the third model, please refer to the above explanation of determining the data transmission loss of the first data based on the second verification information, the second data, and the third model. This will not be repeated here. For information on training the third model, please refer to [link to relevant documentation]. Figure 9 ,and Figure 9 The difference is that the input of the first verification generation module is changed to data d2, and the input of the verification judgment module is changed to verification information p1 (which is the verification information of data d2) and data d1.

[0226] Optionally, in implementation A, the first communication device may further send information indicating the verification information generation method. Correspondingly, the second communication device receives the information indicating the verification information generation method and uses the aforementioned verification information generation method to generate third verification information corresponding to the second data. A detailed explanation of the above parameters can be found above and will not be repeated here.

[0227] Optionally, in implementation A, the first communication device may retransmit the first data to the second communication device if the loss of the first data transmission exceeds the first threshold.

[0228] The methods provided in the embodiments of this application have been described in detail above with reference to the accompanying drawings. The apparatus provided in the embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0229] Figure 10 This is a schematic block diagram of the data verification device 1000 provided in the embodiments of this application.

[0230] like Figure 10 As shown, the data verification device 1000 includes a processing module 1010 and a transceiver module 1020. This device 1000 can be used to implement the above-mentioned... Figure 7 The method embodiments shown illustrate the functions of the first or second communication device. Optionally, the transceiver module 1020 includes a sending module and a receiving module, wherein the sending module may be used, for example, to perform... Figure 7 The sending step in the method shown can be performed by the receiving module, for example. Figure 7 The steps received in the method shown.

[0231] When the device 1000 is used to achieve Figure 7 In the method embodiment shown, when the second communication device functions, the transceiver module 1020 (specifically, the receiving module) is used to receive second data and second verification information, the second data being the data after the first data has been transmitted; the processing module 1010 is used to determine the data transmission loss of the first data based on the second data and the second verification information.

[0232] Optionally, the processing module 1010 is specifically used to generate third verification information based on the second data; and to determine the data transmission loss of the first data based on the third verification information and the second verification information. In one possible implementation, the processing module 1010 may include a verification generation module and a verification judgment module. The verification generation module may be used to generate third verification information based on the second data; and the verification judgment module may be used to determine the data transmission loss of the first data based on the third verification information and the second verification information.

[0233] Optionally, the aforementioned third verification information is generated based on the second data and the first model; or, the aforementioned third verification information is the distribution information of the aforementioned second data.

[0234] Optionally, the data transmission loss of the first data is equal to the distance between the third verification information and the second verification information; or, the data transmission loss of the first data is determined based on the third verification information, the second verification information, and the second model.

[0235] Optionally, the processing module 1010 is specifically used to determine the data transmission loss of the first data based on the second data, the second verification information, and the third model. In one possible implementation, the processing module 1010 can also be a verification judgment module, which can be used to determine the data transmission loss of the first data based on the second data, the second verification information, and the third model.

[0236] Optionally, the processing module 1010 is further configured to obtain at least one of the following: first threshold information, information for indicating a verification information generation method, or information for indicating a data transmission loss calculation method, wherein the first threshold information is used to indicate the data transmission loss threshold corresponding to the first data.

[0237] Optionally, the transceiver module 1020 is also configured to send information indicating data transmission loss of the aforementioned first data.

[0238] Optionally, if the data transmission loss of the first data is less than or equal to the first threshold, the transceiver module 1020 is further configured to send first information indicating that the first data has been correctly received.

[0239] Optionally, the transceiver module 1020 is further configured to send a second message if the data transmission loss of the first data is greater than a first threshold, the second message being used to indicate that the first data has not been received correctly.

[0240] Optionally, the transceiver module 1020 is further configured to send a second message, which includes NACK, if the data transmission loss of the first data is greater than a first threshold.

[0241] When the device 1000 is used to achieve Figure 7 In the method embodiment shown, when the first communication device functions, the processing module 1010 can be used to generate first verification information based on the first data; the transceiver module 1020 (specifically, it can be a sending module) is used to send the first data and the first verification information; the transceiver module 1020 (specifically, it can be a receiving module) is used to receive information indicating the data transmission loss of the first data.

[0242] Optionally, the data transmission loss of the first data is determined based on the second data and the second verification information. The second data is the data after the first data has been transmitted, and the second verification information is the verification information after the first verification information has been transmitted.

[0243] Optionally, the data transmission loss of the first data is determined based on the second verification information and the third verification information, wherein the third verification information is determined based on the second data; or, the data transmission loss of the first data is determined based on the second data, the second verification information, and the third model.

[0244] Optionally, the transceiver module 1020 is further configured to send at least one of the following: first threshold information, information for indicating a method for generating verification information, or information for indicating a method for calculating data transmission loss, wherein the first threshold information is used to indicate a data transmission loss threshold corresponding to the first data.

[0245] For a more detailed description of each of the above modules, please refer to [link / reference]. Figure 7 The relevant descriptions in the method embodiments shown are directly obtained and will not be repeated here.

[0246] It should be understood that the module division in the embodiments of this application is illustrative and only represents a logical functional division. In actual implementation, there may be other division methods. Furthermore, the functional modules in the various embodiments of this application can be integrated into a single processor, exist as separate physical entities, or be integrated into a single module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0247] Figure 11 This is another schematic block diagram of the data verification device 1100 provided in the embodiments of this application.

[0248] The device 1100 can be a chip system, or it can be a device configured with a chip system to implement the methods described in the above method embodiments. In the embodiments of this application, the chip system can be composed of chips, or it can include chips and other discrete devices.

[0249] like Figure 11As shown, the device 1100 may include one or more processors 1110, which may be a microprocessor (e.g., x86, advanced reduced instruction set computing machine (ARM)), microcontroller, digital signal processor (DSP), field programmable gate array (FPGA), graphics processing unit (GPU), programmable logic device (PLD), state machine, gated logic, discrete hardware circuitry, and other suitable hardware configured to various functions. This application does not limit the type of processor.

[0250] For example, the processor 1110 can be used to execute computer programs or instructions in memory to achieve Figure 7 The steps performed by the first communication device or the steps performed by the second communication device in the method embodiment shown.

[0251] Optionally, the device 1100 further includes a communication interface 1120. The communication interface 1120 can be used to communicate with other devices via a transmission medium, thereby enabling the device 1100 to communicate with other devices. The communication interface 1120 may be, for example, a transceiver, interface, bus, circuit, or a device capable of transmitting and receiving functions. The processor 1110 can utilize the communication interface 1120 to input and output data and to implement… Figure 7 The method described in the corresponding embodiment.

[0252] Optionally, the device 1100 further includes at least one memory 1130 for storing program instructions and / or data. The memory 1130 is coupled to the processor 1110. The coupling in this embodiment is an indirect coupling or communication connection between devices, units, or modules, and can be electrical, mechanical, or other forms, used for information exchange between devices, units, or modules. The processor 1110 may operate in conjunction with the memory 1130. The processor 1110 may execute program instructions stored in the memory 1130. At least one of the at least one memory may be included in the processor. Alternatively, the at least one memory and the one or more processors may also be provided separately; this application does not limit this.

[0253] It should be understood that the coupling in the embodiments of this application is an indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, used for information interaction between devices, units, or modules. The processor 1110 may operate in conjunction with the memory 1130. The embodiments of this application do not limit the specific connection medium between the processor 1110, the communication interface 1120, and the memory 1130. The embodiments of this application... Figure 11 The processor 1110, communication interface 1120, and memory 1130 are connected via bus 1140. Bus 1140 is... Figure 11 The connections between other components are shown in bold lines only and are not intended to be limiting. The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, Figure 11 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0254] When device 1100 is used to achieve Figure 7 In this method, processor 1110 executes the functions of the aforementioned processing module, and communication interface 1130 executes the functions of the aforementioned transceiver module. Whether communication interface 1130 is used for sending or receiving depends on whether the device 1100 is used to perform a sending or receiving action in the execution scheme.

[0255] When the aforementioned device 1100 is a chip applied to a terminal device, the chip implements the functions of the terminal device in the above method embodiments. The chip of the terminal device receives signals from other modules (such as radio frequency modules or antennas) in the terminal device, and these signals may be sent to the terminal device by the network device; or, the chip of the terminal device sends signals to other modules (such as radio frequency modules or antennas) in the terminal device, and these signals may be sent to the network device by the terminal device.

[0256] When the aforementioned device 1100 is a chip applied to a network device, the chip implements the functions of the network device in the above method embodiments. The chip of the network device receives signals from other modules (such as radio frequency modules or antennas) in the terminal device, and these signals may be sent from the terminal device to the network device; or, the chip of the network device sends signals to other modules (such as radio frequency modules or antennas) in the network device, and these signals may be sent from the network device to the terminal device.

[0257] It is understood that when the device 1100 is a terminal device or a network device, the communication interface 1130 can be a transceiver, specifically including a transmitter and a receiver, with the transmitter used to send signals and the receiver used to receive signals. When the device 1100 is a chip applied to a terminal device or a network device, the communication interface 1130 can be an input / output circuit, wherein the input circuit can be used for receiving and the output interface can be used for sending.

[0258] Figure 12 This is a schematic diagram of a RAN intelligent controller (RIC) architecture communication system illustrated in an embodiment of this application. Figure 12 As shown, the RIC architecture communication system includes an RIC. This RIC includes near-real-time RIC (near-RT RIC) and non-real-time RIC (non-RT RIC). The near-real-time RIC can obtain network-side and / or terminal-side information from RAN devices (e.g., CU, CU-CP, CU-UP, DU, and / or RU) and / or terminals. Optionally, information can be exchanged between CUs and DUs, and / or between DUs and RUs.

[0259] Non-real-time RICs can obtain network-side and / or terminal-side information from RAN devices (e.g., CU, CU-CP, CU-UP, DU, and / or RU) and / or terminals. Optionally, information can be exchanged between CUs and DUs, and / or between DUs and RUs.

[0260] Near real-time RICs and non-real-time RICs can also be configured as separate network elements. Optionally, near real-time RICs and non-real-time RICs can also be part of other devices. For example, near real-time RICs can be set in RAN nodes (e.g., CUs or DUs), while non-real-time RICs can be set in Operations Administration and Maintenance (OAM), cloud servers, core network devices, or other network devices.

[0261] It should be understood that Figure 12 The system shown can be applied to an open RAN architecture, where CU can also be called O-CU, DU can also be called O-DU, RU can also be called O-RU, CU-CP can also be called O-CU-CP, and CU-UP can also be called O-CU-UP.

[0262] For example, when Figure 7When the second communication device in the method shown functions as a network device, the O-DU receives second data and second verification information. The second data is the data after the first data has been transmitted. The O-CU or O-DU determines the data transmission loss of the first data based on the second data and the second verification information.

[0263] For example, when Figure 7 In the method shown, when the first communication device functions as a network device, the O-DU sends first data and first verification information, which is generated based on the first data; the O-DU also receives the data transmission loss of the aforementioned first data.

[0264] Figure 13 This is a schematic diagram of a communication system based on an open RAN architecture provided in an embodiment of this application. Figure 13 The open RAN architecture shown is merely an example; it can include various other architectures. Figure 13 Other components besides those shown. It should be understood that, Figure 13 CU can also be called O-CU, DU can also be called O-DU, and RU can also be called O-RU. They will not be listed here.

[0265] In this communication system, network elements are connected via interfaces (e.g., NG, Xn) or air interfaces (Uu). These network element nodes, such as core network equipment, access network equipment, and terminal equipment, may each have one or more AI modules (only one is shown in the figure for clarity). Access network equipment can be a single RAN device or can include multiple RAN devices, for example, CU and DU. The CU and / or DU may also each have one or more AI modules. Optionally, the CU can be further divided into CU-CP and CU-UP. One or more AI modules may each be configured in the CU-CP and / or CU-UP.

[0266] The AI ​​modules described above can be used to implement corresponding AI functions. AI modules deployed in different network elements can be the same or different. Depending on the parameter configuration, each AI module can perform different functions. An AI module can have one or more models. A model can infer an output, which includes one or more parameters. The learning, training, or inference processes of different models can be deployed on different nodes or devices, or they can be deployed on the same node or device.

[0267] This application also provides a computer program product, which includes: a computer program (also referred to as code or instructions), which, when run, can achieve... Figure 7The steps performed by the first communication device or the steps performed by the second communication device in the method described in the illustrated embodiment.

[0268] This application also provides a computer-readable storage medium storing a computer program (also referred to as code or instructions). When the computer program is executed, it can achieve... Figure 7 The steps performed by the first communication device or the steps performed by the second communication device in the method described in the illustrated embodiment.

[0269] It should be noted that in the various devices described above, the processor can be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above method embodiments can be completed by the integrated logic circuits in the processor's hardware or by software instructions. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.

[0270] It should also be understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0271] The terms "unit," "module," etc., used in this specification can be used to refer to computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. In the embodiments of this application, "unit" and "module" have the same meaning and can be used interchangeably.

[0272] Those skilled in the art will recognize that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application. In the several embodiments provided in this application, it should be understood that the disclosed apparatus, devices, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings or direct couplings or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0273] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0274] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0275] In the above embodiments, the functions of each functional unit can be implemented entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions (programs). When the computer program instructions (programs) are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs, DVDs), or semiconductor media (e.g., solid-state disks, SSDs), etc.

[0276] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the technology, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0277] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A data verification method, characterized in that, include: Receive second data and second verification information, where the second data is the data after the first data has been transmitted; Based on the second data and the second verification information, the data transmission loss of the first data is determined.

2. The method as described in claim 1, characterized in that, The step of determining the data transmission loss of the first data based on the second data and the second verification information includes: Based on the second data, generate the third verification information; Based on the third verification information and the second verification information, the data transmission loss of the first data is determined.

3. The method as described in claim 2, characterized in that, The third verification information is generated based on the second data and the first model; or, the third verification information is the distribution information of the second data.

4. The method as described in claim 2 or 3, characterized in that, The data transmission loss of the first data is equal to the distance between the third verification information and the second verification information; or, the data transmission loss of the first data is determined based on the third verification information, the second verification information, and the second model.

5. The method as described in claim 1, characterized in that, The step of determining the data transmission loss of the first data based on the second data and the second verification information includes: Based on the second data, the second verification information, and the third model, the data transmission loss of the first data is determined.

6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Obtain at least one of the following: first threshold information, information for indicating the method of generating verification information, or information for indicating the method of calculating data transmission loss, wherein the first threshold information is used to indicate the data transmission loss threshold corresponding to the first data.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Send information indicating the data transmission loss of the first data.

8. The method according to any one of claims 1 to 7, characterized in that, The method further includes: If the data transmission loss of the first data is less than or equal to a first threshold, a first message is sent, indicating that the first data has been correctly received.

9. The method according to any one of claims 1 to 7, characterized in that, The method further includes: If the data transmission loss of the first data exceeds a first threshold, a second message is sent, which indicates that the first data has not been received correctly.

10. The method according to any one of claims 1 to 7, characterized in that, The method further includes: If the data transmission loss of the first data is greater than the first threshold, a second message is sent, which includes a negative acknowledgment (NACK).

11. A data verification method, characterized in that, include: Send first data and first verification information, wherein the first verification information is generated based on the first data; Receive information indicating data transmission loss of the first data.

12. The method as described in claim 11, characterized in that, The data transmission loss of the first data is determined based on the second data and the second verification information. The second data is the data after the first data has been transmitted, and the second verification information is the verification information after the first verification information has been transmitted.

13. The method as described in claim 12, characterized in that, The data transmission loss of the first data is determined based on the second data and the second verification information, including: The data transmission loss of the first data is determined based on the second and third verification information, wherein the third verification information is determined based on the second data; or, The data transmission loss of the first data is determined based on the second data, the second verification information, and the third model.

14. The method according to any one of claims 11 to 13, characterized in that, The method further includes: Send at least one of the following: first threshold information, information for indicating a method for generating verification information, or information for indicating a method for calculating data transmission loss, wherein the first threshold information is used to indicate the data transmission loss threshold corresponding to the first data.

15. A data verification device, characterized in that, include: A module for performing the method as described in any one of claims 1 to 10, or the method as described in any one of claims 11 to 14.

16. A data verification device, characterized in that, include: A processor for invoking a computer program in memory to cause the apparatus to perform the method as claimed in any one of claims 1 to 10, or the method as claimed in any one of claims 11 to 14.

17. A computer-readable storage medium, characterized in that, Used to store computer programs, which, when run on a computer, cause the computer to implement the method as described in any one of claims 1 to 10, or the method as described in any one of claims 11 to 14.

18. A computer program product, the computer program product comprising a computer program, characterized in that, When the computer program is run on a computer, it causes the computer to implement the method as described in any one of claims 1 to 10, or the method as described in any one of claims 11 to 14.