Data transmission method, system, electronic device and computer readable storage medium
By processing the target data to generate the first and second parts of the data, and using the management platform to verify the recipient's confirmation of receipt, the problem of user denial and repudiation in data transmission is solved, thus achieving reliable data transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PING AN BANK CO LTD
- Filing Date
- 2022-07-19
- Publication Date
- 2026-04-28
AI Technical Summary
The existing data transmission process allows users to arbitrarily deny or renege on their claims, leading to unreliability in data transmission and reception.
The target data to be transmitted is processed to generate a first part of data and a second part of data. The identity information of the first part of data is sent to the management platform. After receiving the first part of data, the target recipient obtains confirmation of receipt through the management platform to obtain the second part of data.
This reduces the possibility of users arbitrarily denying or repudiating data transmission, ensuring the accuracy and reliability of data transmission.
Smart Images

Figure CN115203752B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data transmission, in particular to a data transmission method, system, electronic device and computer readable storage medium. BACKGROUND
[0002] In daily life or on the Internet, most of the time, people are communicating and exchanging, especially with the continuous popularization of the Internet, from an 80-year-old old lady to a 3-year-old child, all love smart electronic devices.
[0003] In smart electronic devices, commonly used are chat software, work software and shopping software, which all involve data sending and receiving.
[0004] However, the existing data sending and receiving, like transferring and paying, cannot be denied, which leads to the possibility of denial and repudiation of the existing data sending and receiving, for example, user A should send data 1 to user B, but user A actually sends data 2 to user B, and the names of data 1 and data 2 are completely the same, finally, user B thinks that he has received data 1, until a long time later, user B finds that user A sent the wrong data when using, but user A denies sending the wrong data. As can be seen, in the prior art, the data transmission has the possibility of user's arbitrary denial and repudiation. SUMMARY
[0005] Based on the above research, the embodiments of the present application provide a data transmission method, system, electronic device and computer readable storage medium to reduce the possibility of user's arbitrary denial and repudiation in data transmission.
[0006] The embodiments of the present application can be realized through the following two aspects:
[0007] In a first aspect, a data transmission method is provided, comprising:
[0008] processing target data to be transmitted to obtain first part data and second part data corresponding to the target data;
[0009] determining first identity information of the first part data, and sending the first identity information of the first part data to a management platform;
[0010] sending the first part data to a target receiver;
[0011] If the confirmation receiving information is obtained through the management platform, the second part of data is sent to the management platform, so that the target receiver obtains the second part of data through the management platform; the confirmation receiving information is obtained by the target receiver according to the received first part of data and the first identity information.
[0012] In a second aspect, a data transmission method is provided, and the method comprises:
[0013] Receiving the first part of data sent by the target sender;
[0014] Obtaining the first identity information of the target sender in the management platform, the first identity information being the identity information of the first part of data corresponding to the target data to be transmitted;
[0015] Obtaining the confirmation result information according to the first part of data sent by the target sender and the first identity information;
[0016] If the confirmation result information is the confirmation receiving information, the confirmation receiving information is sent to the management platform;
[0017] Obtaining the second part of data sent by the target sender according to the confirmation receiving information in the management platform.
[0018] In a third aspect, a data transmission method is provided, and the method comprises:
[0019] Obtaining the first identity information of the target sender, the first identity information being the identity information of the first part of data corresponding to the target data to be transmitted;
[0020] Sending the first identity information to the target receiver;
[0021] Obtaining the confirmation receiving information sent by the target receiver, the confirmation receiving information being obtained by the target receiver according to the received first part of data and the first identity information, the received first part of data being sent by the target sender;
[0022] Sending the confirmation receiving information to the target sender;
[0023] Obtaining the second part of data sent by the target sender;
[0024] Sending the second part of data to the target receiver.
[0025] In a fourth aspect, a data transmission system is provided, and the system comprises:
[0026] A target sender, a target receiver and a management platform;
[0027] The target sender processes the target data to be transmitted to obtain the first part of the data and the second part of the data corresponding to the target data;
[0028] The target sender is also used to determine the first identity information of the first part of the data and send the first identity information of the first part of the data to the management platform;
[0029] The target sender also uses it to send the first part of the data to the target receiver;
[0030] The target recipient uses this primary identity information to obtain the information from the management platform;
[0031] The target recipient is also used to obtain confirmation result information based on the received first part of the data and the first identity information;
[0032] The target recipient is also used to send the confirmation receipt information to the management platform if the confirmation result information is a confirmation receipt information;
[0033] The management platform is also used to send the confirmation of receipt to the target sender;
[0034] The target sender is also used to send a second part of the data to the management platform if it obtains the confirmation of receipt information through the management platform;
[0035] The target recipient is also used to obtain the second part of the data sent by the target sender in the management platform based on the confirmation of receipt.
[0036] Fifthly, an electronic device is provided, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps in the data transmission method described in the first to second aspects, or the steps in the data transmission method described in the third aspect.
[0037] A sixth aspect provides a computer-readable storage medium storing a computer program, which is executed by a processor to implement the steps in the data transmission method described in the first to second aspects, or the steps in the data transmission method described in the third aspect.
[0038] The data transmission method, system, electronic device and computer readable storage medium provided by the embodiment of the present application can reduce the possibility of user's arbitrary denial and repudiation in data transmission to a certain extent. BRIEF DESCRIPTION OF DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor.
[0040] Figure 1 A structural block diagram of the electronic device provided by the embodiment of the present application.
[0041] Figure 2 This is a schematic flowchart of a data transmission method provided in an embodiment of the present invention.
[0042] Figure 3 This is a schematic flowchart of a data transmission method provided in an embodiment of the present invention.
[0043] Figure 4 This is a schematic flowchart of a data transmission method provided in an embodiment of the present invention.
[0044] Figure 5 This is a schematic diagram of the composition structure of the data transmission system provided in an embodiment of the present invention. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0046] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0047] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0048] As mentioned in the background section, the sending and receiving of data in the present technology is not as irrefutable as transferring money or making payments. This leads to the possibility of denial and repudiation in the sending and receiving of data. For example, user A was supposed to send data 1 to user B, but user A actually sent data 2 to user B. Furthermore, data 1 and data 2 have the same name. In the end, user B thought he had received data 1, and it wasn't until much later, when user B wanted to use the data, that he discovered user A had sent the wrong data. However, user A denied sending the wrong data. Therefore, it is clear that in the present technology, data sending and receiving are subject to the possibility of users arbitrarily denying and repudiation.
[0049] Based on this, the data transmission method, system, electronic device, and computer-readable storage medium provided in the embodiments of the present invention store the first identity information, confirmation of receipt information, and second part of the data corresponding to the first part of the target data to be transmitted in the management platform, thereby reducing the possibility that users can arbitrarily deny or renege on data transmission and reception to a certain extent.
[0050] Please see Figure 1 , Figure 1 This is a structural block diagram of an electronic device 100 provided in this embodiment. The electronic device may include a data transmission device 10, a memory 20, a processor 30, and a communication unit 40. The memory 20 stores a computer program that can be executed by the processor 30. When the electronic device 100 is running, the processor 30 and the memory 20 communicate via a bus, and the processor 30 executes the computer program to perform the data transmission method.
[0051] The memory 20, processor 30, and communication unit 40 are electrically connected to each other directly or indirectly to achieve signal transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The data transmission device 10 includes at least one software functional unit that can be stored in the memory 20 in the form of software or firmware. The processor 30 is used to execute the software functional unit stored in the memory 20.
[0052] The memory 20 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.
[0053] In some embodiments, processor 30 is used to perform one or more functions described in this embodiment. In some embodiments, processor 30 may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (S)). By way of example only, processor 30 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), an application-specific instruction-set processor (ASIP), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a field-programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computing (RISC) computer, or a microprocessor, or any combination thereof.
[0054] For ease of explanation, only one processor is described in the electronic device 100. However, it should be noted that the electronic device 100 in this embodiment may also include multiple processors, and therefore the steps performed by one processor as described in this embodiment may also be performed jointly or individually by multiple processors. For example, if the server's processor performs steps A and B, it should be understood that steps A and B may also be performed jointly by two different processors or individually by one processor. For example, the first processor performs step A, the second processor performs step B, or the first processor and the second processor jointly perform steps A and B.
[0055] In this embodiment, the memory 20 is used to store the program, and the processor 30 is used to execute the program after receiving it from the computer. The process definition method disclosed in any implementation of this embodiment can be applied to the processor 30, or implemented by the processor 30.
[0056] The communication unit 40 is used to establish a communication connection between the electronic device 100 and other devices via a network, and to send and receive data via the network.
[0057] In some implementations, the network can be any type of wired or wireless network, or a combination thereof. By way of example only, the network may include wired networks, wireless networks, fiber optic networks, telecommunications networks, intranets, the Internet, local area networks (LANs), wide area networks (WANs), wireless local area networks (WLANs), metropolitan area networks (MANs), public switched telephone networks (PSTNs), Bluetooth networks, ZigBee networks, or near field communication (NFC) networks, or any combination thereof.
[0058] In this embodiment, the electronic device 100 may be, but is not limited to, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a server, a server cluster, etc. This embodiment does not impose any restrictions on the specific type of electronic device.
[0059] Understandably, Figure 1 The structure shown is for illustrative purposes only. The electronic device 100 may also have... Figure 1 Showing more or fewer components, or having with Figure 1 The different configurations shown. Figure 1 The components shown can be implemented using hardware, software, or a combination thereof.
[0060] based on Figure 1 In this implementation architecture, three data transmission methods are provided, with the target sender, the target receiver, and the management platform as the execution entities, respectively. Figures 2 to 4 ,Depend on Figure 1 The electronic device shown performs the following based on Figure 1 The structural diagram of the electronic device 100 shown illustrates in detail the steps of the data transmission method provided in this embodiment.
[0061] Please refer to the following: Figure 2 With the target sender as the executing entity, the data transmission method provided in this embodiment includes steps S101 to S104. The data transmission method provided in this embodiment can be used, but is not limited to, the fields of electronic transactions and online transactions.
[0062] Step S101: Process the target data to be transmitted to obtain the first part of the data and the second part of the data corresponding to the target data.
[0063] The target data to be transmitted refers to the data that the target sender intends to transmit to the target receiver. The target sender is one of multiple senders, where "sender" refers to the party sending the data; the target receiver is one of multiple receivers, where "receiver" refers to the party receiving the data. Data can be information, files, or service data. For example, data could be a message: "Your VIP account is ssss, your password is gggg." Or, data could be a file containing exam questions and their corresponding answers. Or, data could be service data for obtaining a certain service, where service data includes information and files. For example, if the service is a reminder service, then the data would be the service data for obtaining the reminder service, which might include the reminder service's code file, executable file, and user manual. In a business scenario, the sender is a seller of digital goods, and the receiver is a buyer of digital goods. Therefore, the target data to be transmitted is the digital goods purchased by the target receiver from multiple digital goods offered by the target sender. Digital goods include goods traded and sent via the internet; for example, a digital document is a digital product.
[0064] The first and second parts of the target data are obtained by processing the target data. It should be noted that the target data can be obtained through the first and second parts of the target data, but the target data cannot be obtained through either the first or the second part of the target data.
[0065] The first or second part of the data can each be a component of the target data. Therefore, even if the first or second part of the data corresponding to the target data is obtained, the target data itself cannot be obtained. Thus, the target data to be transmitted is processed to obtain the first and second parts of the data, including: splitting the target data to be transmitted into its components to obtain the first and second parts of the data.
[0066] Content splitting refers to the process of splitting all the data content contained in the target data. The result of content splitting is to obtain two parts of data, one of which is set as the first part of data, and the remaining part of data is set as the second part of data.
[0067] For example, if the target data is a message: Your VIP account is ssss, and your password is gggg, then the first part of the data obtained after content splitting can be: Your VIP account is ssss, and the second part of the data can be: Your password is gggg.
[0068] For example, if the target data is a file containing exam questions and their corresponding answers, then the first part of the data obtained after content splitting can be: a file containing only exam questions, and the second part of the data can be: a file containing only the corresponding answers.
[0069] For example, if the target data is the service data for obtaining the reminder service, then the first part of the data obtained after content splitting and processing can be: the user manual file for the reminder service, and the second part of the data can be: the code file for the reminder service and the executable file for the reminder service.
[0070] The first part of the data can be encrypted target data, and the second part can be data used for decryption. Therefore, the target recipient cannot decrypt the data, and although they can obtain the target data, they cannot use it. Compared to a method where the first or second part of the data is composed of separate components of the target data, this method prevents the target recipient from obtaining any data due to the inability to decrypt, effectively preventing the target recipient from denying ownership after obtaining the first part of the data. The target data to be transmitted is processed to obtain the corresponding first and second parts of the data, including: compressing and encrypting the target data to obtain a compressed package and a password for decompressing the compressed package; setting the compressed package as the first part of the target data, and setting the password for decompressing the compressed package as the second part of the target data.
[0071] Compression encryption processing refers to the process of compressing data and obtaining a password for the compressed file. For example, encryption compression processing: the target data to be transmitted is compressed to obtain a preliminary compressed file corresponding to the target data. This preliminary compressed file is unencrypted and can be opened and viewed directly without a password. Encryption processing is then applied to this preliminary compressed file to obtain the compressed file corresponding to the target data and the password to decompress it. Here, encryption processing refers to the process of setting a password. Another example of encryption compression processing: the target data to be transmitted is compressed. When the compression process is complete, a password retrieval interface pops up to retrieve the password entered in the password retrieval interface. When a password confirmation event is detected, the compressed file corresponding to the target data and the password to decompress it are obtained. Here, the password retrieval interface is the interface for retrieving the password entered by the user, which includes a box for retrieving the password entered by the user and a confirmation button. The password confirmation event is the event when the user clicks the confirmation button.
[0072] Step S102: Determine the first identity information of the first part of the data and send the first identity information of the first part of the data to the management platform.
[0073] The identity information is used to uniquely identify a first part of data. The first identity information is the identity information of the first part of data corresponding to the target data to be transmitted. The identity information can be a hash value. Therefore, determining the first identity information of the first part of data includes: calculating the hash value of the first part of data and setting the hash value of the first part of data as the first identity information of the first part of data. Calculating the hash value of the first part of data includes: calculating the hash value of the first part of data using a hash algorithm, for example, the hash algorithm can be SHA-1, SHA-2, or MD5.
[0074] If the target sender has a tool locally configured to determine the first identity information of the first part of the data, then the first identity information of the first part of the data can be obtained by directly inputting the first part of the data into the tool. For example, the tool can perform hash calculations to obtain hash values. If the target sender does not have a tool locally configured to determine the first identity information of the first part of the data, then the first part of the data can be sent to other devices. The target sender receives the first identity information of the first part of the data returned by the other devices. Here, other devices refer to electronic devices that have a tool to determine the first identity information of the first part of the data.
[0075] The management platform may be a blockchain platform, which includes smart contracts. Sending the first identity information of the first part of the data to the management platform includes sending the first identity information of the first part of the data to the smart contracts.
[0076] In addition to sending the first identity information of the first part of the target data to the management platform, the target recipient's target receiving address can also be sent to the management platform. The management platform can then store this target receiving address to later determine if the sender has sent the data to the wrong address. The target receiving address is the address provided by the target recipient to receive the target data; for example, it could be an email address or a chat account from a chat application.
[0077] Step S103: Send the first part of the data to the target receiver.
[0078] The first part of the data sent from the target sender to the target receiver can be the first part of the data corresponding to the target data, or it can be the first part of the data corresponding to other data. It can be understood that if the first part of the data sent from the target sender to the target receiver is the first part of the data corresponding to the target data, it means that the target sender has not sent the wrong data. If the first part of the data sent from the target sender to the target receiver is the first part of the data corresponding to other data, it means that the target sender has sent the wrong data. For example, the target receiver purchased product 1, and the target sender sent the first part of the data for product 2.
[0079] Step S104: If the confirmation of receipt is obtained through the management platform, the second part of the data is sent to the management platform so that the target recipient can obtain the second part of the data through the management platform.
[0080] The confirmation of receipt is a credential used by the target receiver to acknowledge receipt of the first portion of the target data to be transmitted. This confirmation of receipt is obtained by the target receiver based on the first portion of data received from the target sender and the first identity information.
[0081] After receiving the confirmation message, the target sender assumes that the target receiver has received the first part of the target data. Therefore, the target sender sends the second part of the data to the management platform. It should be noted that the second part of the data sent by the target sender to the management platform can be the second part of the target data or the second part of other data. Understandably, if the second part of the data sent by the target sender to the management platform is the second part of the target data, it means that the target sender has not sent the wrong data. If the second part of the data sent by the target sender to the management platform is the second part of other data, it means that the target sender has sent the wrong data.
[0082] After the second part of the data sent by the target sender arrives at the management platform, the target receiver can obtain the second part of the data sent by the target sender through the management platform. It can be understood that if the first part of the data sent by the target sender to the target receiver is the first part of the data corresponding to the target data, and the second part of the data sent by the target sender to the management platform is the second part of the data corresponding to the target data, then the target receiver obtains the target data to be transmitted at this time.
[0083] If confirmation of receipt is obtained through the management platform, a second part of the data is sent to the management platform so that the target recipient can obtain the second part of the data through the management platform. This includes: if confirmation of receipt is obtained through the blockchain platform, a second part of the data is sent to the smart contract so that the target recipient can obtain the second part of the data through the blockchain platform.
[0084] The data transmission method provided in this embodiment sends the first identity information of the first part of the target data to be transmitted to the management platform. Therefore, if the target sender sends an incorrect first part of the data to the target receiver, the target receiver will find it difficult to obtain confirmation of receipt. For example, if the target receiver does not receive confirmation of receipt, excluding accidental events such as user error, it indicates that the target sender sent an incorrect first part of the data, which the target sender cannot deny or refute. If the target receiver receives confirmation of receipt due to accidental events such as user error, it can subsequently verify that the target sender did indeed send an incorrect first part of the data based on the first identity information of the first part of the target data to be transmitted stored in the management platform and the first part of the data received by the target receiver. The target sender cannot deny or refute this either. Similarly, if the target receiver denies receiving the correct first part of the data, it can also verify that the target sender did send an incorrect first part of the data based on the first identity information of the first part of the target data to be transmitted stored in the management platform and the first part of the data received by the target receiver. The first part of the data received by the recipient verifies whether the target recipient is lying. Further, after receiving confirmation of receipt, the target sender sends a second part of the data to the management platform. The target recipient can then obtain this second part of the data through the management platform. Since the management platform records the second part of the data sent by the target sending method, if the target sender sends the correct first part of the data and the incorrect second part of the data, the target data cannot be obtained using the correct first part and the incorrect second part of the data. Similarly, if the target sender sends the incorrect first part of the data and the incorrect second part of the data, the target data cannot be obtained using the incorrect first part and the incorrect second part of the data, and the target sender cannot deny or refute this. Likewise, if the target recipient denies receiving the correct second part of the data, they can combine the correct first part of the data with the second part of the data stored in the management platform. If they can obtain the target data, it indicates that the target recipient is lying. Therefore, the data transmission method of this embodiment can, to a certain extent, reduce the possibility of users arbitrarily denying or refusing to transmit data.
[0085] In one embodiment, confirmation of receipt can be obtained through querying. Before sending the second part of the data to the management platform if confirmation of receipt is obtained through the management platform, the following steps are also included:
[0086] When an information detection event is detected, an information query request is sent to the management platform;
[0087] The management platform receives the confirmation of receipt returned by the query request based on this information.
[0088] Among them, the information detection event is an event in the detection management platform that detects whether there is a confirmation message sent by the target recipient.
[0089] Among them, the information query request is a request to check whether there is a confirmation of receipt information sent by the target recipient in the management platform.
[0090] The target sender includes a query interface corresponding to the target data, which contains an information detection button. If a user corresponding to the target receiver clicks the information detection button on the query interface, the target sender can detect the information detection event. Simultaneously, the target sender generates an information query request for the target data and sends it to the management platform. Upon receiving the information query request, the management platform checks if there is confirmation of receipt information for the first part of the target data. If the management platform finds confirmation of receipt information for the first part of the target data, it returns the found confirmation of receipt information to the target sender. The target sender receives the confirmation of receipt information returned by the management platform based on the information query request and displays it on the query interface, thus making it visible to the user corresponding to the target receiver. Specifically, sending an information query request to the management platform upon detecting an information detection event includes sending an information query request to the smart contract.
[0091] In one embodiment, in order to send the second part of the data to the management platform in a timely manner, before the step of sending an information query request to the management platform when an information detection event is detected, the method further includes:
[0092] Obtain the notification information corresponding to the confirmation received from the management platform. This notification information is used to generate the information detection event.
[0093] After receiving the confirmation message from the target recipient, the management platform generates a corresponding notification message. For example, the generated notification message might read: "I have received the confirmation message from the target recipient regarding the first part of the target data." The platform then sends this notification message to the target sender. Upon receiving the notification message, the target sender can display it for their user. After seeing the notification message, the user can click the information detection button on the query interface for the target data. This generates and detects an information detection event. Alternatively, the platform can automatically generate and detect information detection events. For instance, upon receiving the notification message from the management platform, the target sender can generate a corresponding information detection event based on that notification message.
[0094] In one embodiment, after receiving confirmation of receipt from the management platform based on the information query request, the target sender displays the confirmation information so that the user corresponding to the target sender can see it. Then, after seeing the confirmation information, the user clicks the second send button on the sending interface corresponding to the target data to send the second part of the target data to the management platform. It is understood that if the user clicks another button, for example, the second send button on the sending interface corresponding to other data, the target sender will send the second part of the other data to the management platform, meaning that the target sender has sent the wrong second part of the data.
[0095] In one embodiment, before processing the target data to be transmitted to obtain the first part of the data and the second part of the data corresponding to the target data, the method further includes:
[0096] Send the product identifier of the digital goods purchased by the target recipient from the target sender to the management platform.
[0097] Among them, the product identifier is used to uniquely identify a product.
[0098] The digital goods purchased by the target recipient from the target sender are what the target sender should actually send to the target recipient. If the target data to be transmitted is the digital goods purchased by the target recipient from the target sender, then the target data is correct. At the same time, the target sender can send the correct first identity information of the first part of the data to the management platform. If the target data to be transmitted is not the digital goods purchased by the target recipient from the target sender, then the target data is incorrect. The target sender cannot send the correct first identity information of the first part of the data to the management platform. Therefore, in order to further reduce the repudiation and denial of data transmission and reception, the target sender also needs to send the digital goods purchased by the target recipient to the management platform to prevent the target sender from sending incorrect target data to the target recipient later.
[0099] Please refer to the following: Figure 3 With the target recipient as the executing entity, the data transmission method provided in this embodiment includes steps S201 to S205. The data transmission method provided in this embodiment can be used, but is not limited to, the fields of electronic transactions and online transactions.
[0100] Step S201: Receive the first part of the data sent by the target sender.
[0101] Step S202: Obtain the first identity information sent by the target sender in the management platform. The first identity information is the identity information of the first part of the data corresponding to the target data to be transmitted.
[0102] When confirmation of receipt is required, the target recipient obtains the first identity information sent by the target sender from the management platform.
[0103] In one implementation, the user corresponding to the target recipient can actively trigger the receipt confirmation message, thereby retrieving the first identity information during the process of triggering the receipt confirmation message. Obtaining the first identity information sent by the target sender from the management platform includes:
[0104] Upon detecting a confirmation event, an identity query request is sent to the management platform.
[0105] Obtain the first identity information sent by the target sender, returned by the management platform based on the identity query request.
[0106] The confirmation event is an event that confirms whether the correct first part of the data has been received. The correct first part of the data refers to the first part of the data corresponding to the target data.
[0107] Among them, the identity query request is a request to query the first identity information corresponding to the target data.
[0108] The target recipient includes a confirmation interface corresponding to the target data, which contains a confirmation button. When the user corresponding to the target recipient enters the confirmation interface, they click the confirmation button. The target recipient can then detect the confirmation event. After detecting the confirmation event, the target recipient generates an identity query request corresponding to the target data based on the confirmation event and sends the generated identity query request to the management platform. After receiving the identity query request from the target recipient, the management platform returns the first identity information of the first part of the target data sent by the target sender to the target recipient.
[0109] Step S203: Obtain confirmation result information based on the first part of data sent by the target sender and the first identity information.
[0110] The confirmation result information is a confirmation of whether the correct first part of the data has been received. The confirmation result information includes confirmation of receipt information and confirmation of incorrect receipt information. If the confirmation result information is confirmation of receipt information, it is considered that the target receiver has received the correct first part of the data. If the confirmation result information is confirmation of incorrect receipt information, it is considered that the target receiver has received the incorrect first part of the data.
[0111] In one implementation, confirmation result information is obtained based on the first portion of data sent by the target sender and the first identity information, including:
[0112] Determine the second identity information of the first portion of data sent by the target sender;
[0113] The second identity information is compared with the first identity information to obtain the comparison result;
[0114] If the comparison result shows that the second identity information and the first identity information are the same, the confirmation result information is determined to be the confirmation of receipt information.
[0115] The second identity information is the identity information of the first part of the data sent by the target sender that the target receiver receives.
[0116] If the target receiver has a tool locally configured to determine the second identity information of the first part of the data sent by the target sender, then the second identity information of the first part of the data can be obtained by directly inputting the first part of the data into the tool. If the target receiver does not have a tool locally configured to determine the second identity information of the first part of the data sent by the target sender, then the first part of the data can be sent to other devices, and the target receiver can receive the second identity information of the first part of the data returned by the other devices. Here, other devices refer to electronic devices that have a tool to determine the second identity information of the first part of the data sent by the target sender.
[0117] The comparison results include the cosine similarity between the first identity information and the second identity information. For example, the vector of each character in the first identity information is obtained by looking up the vector table; the vectors of each character in the first identity information are combined to obtain the first vector of the first identity information; the vector of each character in the second identity information is obtained by looking up the vector table; the vectors of each character in the second identity information are combined to obtain the second vector of the second identity information; the cosine similarity between the first vector and the second vector is calculated to obtain the comparison result. If the cosine similarity between the first vector and the second vector is 100%, the comparison result is that the second identity information and the first identity information are the same; otherwise, the comparison result is that the second identity information and the first identity information are different.
[0118] Step S204: If the confirmation result information is a confirmation of receipt, then send the confirmation of receipt information to the management platform.
[0119] In one embodiment, the data transmission method further includes: if the confirmation result information is a confirmation of receipt, the target recipient uses its local private key to sign the second identity information to obtain a second identity signature, and sends the second signature to the management platform. This way, when subsequently determining whether the second identity information and the first identity information are the same, it can be quickly confirmed directly through the management platform.
[0120] Step S205: Obtain the second part of the data sent by the target sender in the management platform based on the confirmation of receipt information.
[0121] The beneficial effects of this embodiment are the same as those of the embodiment in which the target sender is the executing entity, and will not be described in detail here.
[0122] Please refer to the following: Figure 4 With the management platform as the executing entity, the data transmission method provided in this embodiment includes steps S301 to S306. The data transmission method provided in this embodiment can be used, but is not limited to, the fields of electronic transactions and online transactions.
[0123] Step S301: Obtain the first identity information sent by the target sender, which is the identity information of the first part of the data corresponding to the target data to be transmitted;
[0124] Step S302: Send the first identity information to the target recipient;
[0125] Step S303: Obtain the confirmation of receipt information sent by the target receiver. The confirmation of receipt information is obtained by the target receiver based on the first part of data received and the first identity information. The first part of data received is sent by the target sender.
[0126] Step S304: Send the confirmation message to the target sender;
[0127] Step S305: Obtain the second part of the data sent by the target sender;
[0128] Step S306: Send the second part of the data to the target receiver.
[0129] The beneficial effects of this embodiment are the same as those of the embodiment in which the target sender is the executing entity, and will not be described in detail here.
[0130] In an optional implementation, the confirmation of receipt is sent to the target sender, including:
[0131] Obtain the information query request sent by the target sender;
[0132] Based on the information query request, the confirmation of receipt is sent to the target sender.
[0133] In an optional implementation, before sending the confirmation of receipt to the target sender, the method further includes:
[0134] Generate a notification message corresponding to the confirmation message received; this notification message is used to generate an information detection event.
[0135] Send the notification message corresponding to the confirmation of receipt to the target sender.
[0136] In an optional implementation, sending the first identity information to the target recipient includes:
[0137] Obtain the identity query request sent by the target recipient;
[0138] Based on the identity query request, the first identity information is sent to the target recipient.
[0139] Please see Figure 5 This embodiment provides a data transmission system 10, including:
[0140] Target sender 1, target receiver 2, and management platform 3;
[0141] The target sender 1 processes the target data to be transmitted to obtain the first part of the data and the second part of the data corresponding to the target data;
[0142] The target sender 1 is also used to determine the first identity information of the first part of the data and send the first identity information of the first part of the data to the management platform 3;
[0143] Target sender 1 is also used to send the first part of the data to target receiver 2;
[0144] Target recipient 2 is used to obtain the first identity information from management platform 3;
[0145] The target receiver 2 is also used to obtain confirmation result information based on the received first part of the data and the first identity information;
[0146] The target recipient 2 is also used to send the confirmation receipt information to the management platform 3 if the confirmation result information is a confirmation receipt information;
[0147] Management platform 3 is also used to send the confirmation of receipt information to the target sender 1;
[0148] The target sender 1 is also used to send a second part of the data to the management platform 3 if it obtains the confirmation of receipt information through the management platform 3;
[0149] Target receiver 2 is also used to obtain the second part of the data sent by target sender 1 in the management platform 3 based on the confirmation receipt information.
[0150] In an optional implementation, the target sender 1 is further configured to send an information query request to the management platform when an information detection event is detected; and receive confirmation information returned by the management platform based on the information query request.
[0151] In an optional implementation, the management platform 3 is further configured to generate a reminder message corresponding to the confirmation of receipt, the reminder message being used to generate an information detection event; and to send the reminder message corresponding to the confirmation of receipt to the target sender 1.
[0152] In an optional implementation, the target receiver 2 is further configured to determine the second identity information of the first part of the data sent by the target sender 1; compare the second identity information with the first identity information to obtain a comparison result; and when the comparison result shows that the second identity information and the first identity information are the same, determine the confirmation result information as confirmation of receipt information.
[0153] In an optional implementation, the target receiver 2 is further configured to send an identity query request to the management platform when a confirmation event is detected; and obtain the first identity information sent by the target sender returned by the management platform based on the identity query request.
[0154] In one embodiment, a data transmission device 10 is provided, which is applied to... Figure 1 The electronic device, the data transmission device 10, may include a processing unit, a determining unit, a sending unit, and a second sending unit.
[0155] The processing unit is used to process the target data to be transmitted to obtain the first part of the data and the second part of the data corresponding to the target data.
[0156] The determining unit is used to determine the first identity information of the first part of the data and send the first identity information of the first part of the data to the management platform.
[0157] The sending unit is used to send the first part of the data to the target receiver.
[0158] The second sending unit is used to send a second part of data to the management platform if a confirmation of receipt is obtained through the management platform, so that the target receiver can obtain the second part of data through the management platform; the confirmation of receipt is obtained by the target receiver based on the first part of data and the first identity information received.
[0159] The data transmission device 10 may further include a receiving unit, a first unit, a result unit, a transmitting unit, and a second acquisition unit.
[0160] The receiving unit is used to receive the first part of the data sent by the target sender;
[0161] The first unit is used to obtain the first identity information sent by the target sender in the management platform. The first identity information is the identity information of the first part of the data corresponding to the target data to be transmitted.
[0162] The result unit is used to obtain confirmation result information based on the first part of data sent by the target sender and the first identity information;
[0163] The sending unit is used to send the confirmation message to the management platform if the confirmation result is a confirmation of receipt.
[0164] The second acquisition unit is used to acquire the second part of the data sent by the target sender in the management platform based on the confirmation of receipt information.
[0165] The data transmission device 10 may further include a first identity acquisition unit, a first identity sending unit, a confirmation information receiving unit, a confirmation information sending unit, a second data acquisition unit, and a second data sending unit.
[0166] The first identity acquisition unit is used to acquire the first identity information sent by the target sender, which is the identity information of the first part of the data corresponding to the target data to be transmitted.
[0167] The first identity sending unit is used to send the first identity information to the target recipient;
[0168] A confirmation information receiving unit is used to obtain confirmation information sent by the target receiver. The confirmation information is obtained by the target receiver based on the first part of data received and the first identity information. The first part of data received is sent by the target sender.
[0169] The confirmation message sending unit is used to send the confirmation message to the target sender;
[0170] The second data acquisition unit is used to acquire the second part of the data sent by the target sender.
[0171] The second data transmission unit is used to send the second part of the data to the target receiver.
[0172] In one embodiment, such as Figure 1 As shown, an electronic device 100 is provided. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the data transmission method of any of the foregoing embodiments.
[0173] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the data transmission method of any of the foregoing embodiments.
[0174] The data transmission methods, systems, electronic devices, data transmission apparatuses, and computer-readable storage media provided in the embodiments of the present invention belong to the same inventive concept. Therefore, the contents of the embodiments of the data transmission methods, systems, electronic devices, data transmission apparatuses, and computer-readable storage media are applicable to each other and will not be described in detail here.
[0175] In summary, the data transmission method, system, electronic device, data transmission apparatus, and computer-readable storage medium provided in this invention, by sending the first identity information of the first part of the target data to be transmitted to the management platform, make it difficult for the target receiver to obtain confirmation of receipt if the target sender sends an incorrect first part of the data. For example, if the target receiver does not receive confirmation of receipt, excluding accidental situations such as user error, it indicates that the target sender sent an incorrect first part of the data, which the target sender cannot deny or refute. If the target receiver receives confirmation of receipt due to accidental situations such as user error, it can subsequently verify that the target sender did indeed send an incorrect first part of the data based on the first identity information of the first part of the target data to be transmitted stored in the management platform and the first part of the data received by the target receiver. The target sender also cannot deny or refute this. Similarly, if the target receiver denies receiving the correct first part of the data, it can also verify that the target sender did send an incorrect first part of the data based on the first identity information of the first part of the target data to be transmitted stored in the management platform. The system uses the first part of the data (identity information) and the first part of the data received by the target recipient to verify whether the target recipient is lying. Furthermore, after receiving confirmation of receipt, the target sender sends a second part of the data to the management platform. The target recipient can then obtain this second part of the data through the management platform. Since the management platform records the second part of the data sent by the target sending method, if the target sender sends the correct first part of the data and the incorrect second part of the data, the target data cannot be obtained using the correct first part and the incorrect second part of the data. Similarly, if the target sender sends the incorrect first part of the data and the incorrect second part of the data, the target data cannot be obtained using the incorrect first part and the incorrect second part of the data, and the target sender cannot deny or refute this. Likewise, if the target recipient denies receiving the correct second part of the data, they can combine the correct first part of the data with the second part of the data stored in the management platform. If they can obtain the target data, it indicates that the target recipient is lying. Therefore, this embodiment of the invention can, to a certain extent, reduce the possibility of users arbitrarily denying or refusing to receive data during transmission and reception.
[0176] The above are merely various embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A data transmission method, characterized in that, include: The target data to be transmitted is processed to obtain a first part of the data and a second part of the data corresponding to the target data; Determine the first identity information of the first part of the data and send the first identity information of the first part of the data to the management platform; Send the first part of the data to the target receiver; If the confirmation of receipt is obtained through the management platform, the second part of the data is sent to the management platform so that the target recipient can obtain the second part of the data through the management platform. The confirmation of receipt is obtained by the target recipient based on the first part of the data received and the first identity information. The process of processing the target data to be transmitted to obtain a first part of data and a second part of data corresponding to the target data includes: The target data to be transmitted is compressed and encrypted to obtain a compressed package corresponding to the target data and a password to decompress the compressed package; Set the compressed package corresponding to the target data as the first part of the target data, and set the password for decompressing the compressed package as the second part of the target data.
2. The data transmission method according to claim 1, characterized in that, Before sending the second part of the data to the management platform if confirmation of receipt is obtained through the management platform, the method further includes: When an information detection event is detected, an information query request is sent to the management platform; Receive confirmation information returned by the management platform based on the information query request.
3. The data transmission method according to claim 2, characterized in that, Before sending an information query request to the management platform upon detecting an information detection event, the method further includes: Obtain the reminder information corresponding to the confirmation receipt information sent by the management platform, and the reminder information is used to generate the information detection event.
4. The data transmission method according to claim 1, characterized in that, The process of processing the target data to be transmitted to obtain a first part of data and a second part of data corresponding to the target data includes: The target data to be transmitted is split into two parts to obtain the first part and the second part of the target data.
5. A data transmission method, characterized in that, include: Receive the first part of data sent by the target sender, wherein the first part of data is a compressed package corresponding to the target data to be transmitted; Obtain the first identity information sent by the target sender in the management platform, wherein the first identity information is the identity information of the first part of the data corresponding to the target data to be transmitted; Based on the first part of the data sent by the target sender and the first identity information, the confirmation result information is obtained; If the confirmation result information is a confirmation of receipt, then the confirmation of receipt information is sent to the management platform; Obtain the second part of data sent by the target sender in the management platform according to the confirmation of receipt, wherein the second part of data is the password for decompressing the compressed package.
6. The data transmission method according to claim 5, characterized in that, The step of obtaining confirmation result information based on the first portion of data sent by the target sender and the first identity information includes: Determine the second identity information of the first portion of data sent by the target sender; The second identity information and the first identity information are compared to obtain the comparison result; When the comparison result shows that the second identity information and the first identity information are the same, the confirmation result information is determined to be confirmation of receipt information.
7. The data transmission method according to claim 5, characterized in that, The acquisition of the first identity information sent by the target sender in the management platform includes: Upon detecting a confirmation event, an identity query request is sent to the management platform; Obtain the first identity information sent by the target sender, which is returned by the management platform based on the identity query request.
8. A data transmission method, characterized in that, include: Obtain the first identity information sent by the target sender. The first identity information is the identity information of the first part of the data corresponding to the target data to be transmitted. The first part of the data is the compressed package corresponding to the target data to be transmitted. Send the first identity information to the target recipient; Obtain confirmation of receipt information sent by the target receiver, wherein the confirmation of receipt information is obtained by the target receiver based on the first part of data received and the first identity information, wherein the first part of data received is sent by the target sender; The confirmation of receipt is sent to the target sender; Obtain the second part of data sent by the target sender, wherein the second part of data is the password for decompressing the compressed package; The second part of the data is sent to the target recipient.
9. A data transmission system, characterized in that, include: Target sender, target receiver, and management platform; The target sender is used to process the target data to be transmitted to obtain a first part of data and a second part of data corresponding to the target data. The first part of data is a compressed package corresponding to the target data to be transmitted, and the second part of data is a password for decompressing the compressed package. The target sender is also used to determine the first identity information of the first part of the data and send the first identity information of the first part of the data to the management platform; The target sender is also used to send a first part of data to the target receiver; The target recipient is used to obtain the first identity information in the management platform; The target recipient is also configured to obtain confirmation result information based on the received first part of data and the first identity information; The target recipient is further configured to send the confirmation receipt information to the management platform if the confirmation result information is confirmation receipt information; The management platform is also used to send the confirmation of receipt information to the target sender; The target sender is also configured to send a second part of data to the management platform if it obtains confirmation of receipt information through the management platform; The target recipient is also used to obtain the second part of data sent by the target sender in the management platform based on the confirmation of receipt information.
10. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and executable on the processor, the processor executing the computer program to implement the steps of the data transmission method according to any one of claims 1 to 7, or the steps of the data transmission method according to claim 8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is executed by a processor to implement the steps of the data transmission method according to any one of claims 1 to 7, or the steps of the data transmission method according to claim 8.
Citation Information
Patent Citations
Data partitioning confirmation method and device based on block chain, equipment and medium
CN110968899A
Data transmission quality verification method, system and device based on block chain and medium
CN112866255A
Data exchanging method based on Web service
CN1909551A