Data transmission system, related method and device
Through the short-range wireless communication and encryption processing between the data sending device and the external device, the security and adaptability problems of the data transmission solution in the prior art are solved, and the user's intuitive data protection experience is realized, and it is suitable for Bluetooth devices and near-field communication devices.
Patent Information
- Application Number
- CN202510210024.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-24
- Publication Date
- 2025-07-08
AI Technical Summary
The existing data transmission solutions have shortcomings in terms of security, adaptability and user perception, especially the software-based end-to-end protection is easily compromised. External device solutions require installation of driver software to introduce supply chain risks, and it is difficult to adapt to both mobile and desktop.
Through close-range wireless communication between the data sending device and external devices, data encryption and decryption processing is realized. Data transmission and display are used using Bluetooth keyboards, electronic ink screens or near-field communication devices. Users can intuitively perceive the encryption status and avoid installing protection devices and drivers on the device side.
It improves the security, adaptability and user perception of data protection, adapts to mobile and desktop, and expands product form.
Smart Images

Figure CN120281825A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data security technology, specifically to a data transmission system, a data sending method and device, a data receiving method and device, a data encryption method and device, a data decryption method and device, as well as an electronic device, a Bluetooth device, and a near field communication device. Background Art
[0002] During the process of data transmission through a network, since the transmitted data may be intercepted (confidentiality, resulting in leakage of sensitive data) or even tampered with (integrity, such as transfer account numbers), therefore, a data encryption and decryption scheme needs to be used for protection.
[0003] Currently, common data protection schemes include: a software-based message end-to-end protection scheme, and an external device-based scheme. However, the inventors of this application found that the above existing schemes have at least the following problems: 1) The software-based data end-to-end protection scheme is relatively easy to implement, but the software itself is easily compromised; 2) The external device-based scheme requires installing additional driver software on the main device side, thus introducing supply chain risks, that is, once the device driver is contaminated, the loss is greater than not introducing the protection scheme. In addition, the above common data protection schemes are also difficult to adapt to mobile terminals, desktop terminals, etc. at the same time, and users cannot intuitively perceive whether the encryption status takes effect. Therefore, how to improve the security, adaptability, and user perception of data protection has become an urgent technical problem for those skilled in the art to solve. Summary of the Invention
[0004] This application provides a data transmission system to solve the problems of poor security, adaptability, and user perception of data protection existing in the prior art. This application also provides a data sending method and device, a data receiving method and device, a data encryption method and device, a data decryption method and device, as well as an electronic device, a Bluetooth device, and a near field communication device.
[0005] This application provides a data transmission system, including:
[0006] A data sending device, a data receiving device, a first external device, and a second external device; the data sending device communicates with the first external device through a short-range wireless method, and the data receiving device communicates with the second external device through a short-range wireless method;
[0007] The data sending device is configured to convert the target data to be sent into first data readable by the first external device, provide the first data to the first external device, obtain the ciphertext of the target data obtained by encryption provided by the first external device, and send the ciphertext to the data receiving device;
[0008] A first external device for obtaining first data, extracting target data from the first data, encrypting the target data, and providing the ciphertext to a data sending device;
[0009] A data receiving device for receiving the ciphertext, converting the ciphertext into second data readable by a second external device, providing the second data to the second external device, and obtaining the target data obtained by decryption provided by the second external device;
[0010] A second external device for obtaining second data, extracting the ciphertext from the second data, decrypting the ciphertext, and providing the target data to the data receiving device.
[0011] Optionally, the data sending device is specifically configured to receive a data protection quick instruction; through a data protection quick processing program corresponding to the data protection quick instruction, display a first data input window, obtain the target data input through the first data input window, and convert the target data into first data through the quick processing program;
[0012] The data receiving device is specifically configured to receive a data protection quick instruction; through a data protection quick processing program corresponding to the data protection quick instruction, display a second data input window, obtain the ciphertext input through the second data input window, and convert the ciphertext into second data through the quick processing program.
[0013] Optionally, the data sending device is specifically configured to have a user set the target data as the first data;
[0014] The data receiving device is specifically configured to have a user set the ciphertext as the second data.
[0015] Optionally, the first external device includes a first Bluetooth keyboard, and the second external device includes a second Bluetooth keyboard;
[0016] The data sending device is specifically configured to locate the data input position in a first data input area;
[0017] The first external device is specifically configured to write the ciphertext of the encrypted target data into the first data input area through the first Bluetooth keyboard;
[0018] The data receiving device is specifically configured to locate the data input position in a second data input area;
[0019] The second external device is specifically configured to write the decrypted target data into the second data input area through the second Bluetooth keyboard.
[0020] Optionally, the first external device includes a first electronic ink screen, and the second external device includes a second electronic ink screen;
[0021] A data sending device, specifically used for obtaining the ciphertext by scanning a first picture containing the ciphertext displayed by a first external device;
[0022] A first external device, specifically used for displaying the first picture through a first electronic ink screen;
[0023] A data receiving device, specifically used for obtaining target data by scanning a second picture containing the target data displayed by a second external device;
[0024] A second external device, specifically used for displaying the second picture through a second electronic ink screen.
[0025] Optionally, the first external device includes a first near-field communication device, and the second external device includes a second near-field communication device;
[0026] A data sending device, specifically used for obtaining the ciphertext by scanning the first near-field communication device;
[0027] A data receiving device, specifically used for obtaining target data by scanning the second near-field communication device.
[0028] Optionally, the first external device includes a first Bluetooth device, and the second external device includes a second Bluetooth device;
[0029] A data sending device, specifically used for converting target data into contacts in an address book as first data;
[0030] The first Bluetooth device, specifically used for reading updated contacts;
[0031] A data receiving device, specifically used for converting the ciphertext into contacts in an address book as second data;
[0032] The second Bluetooth device, specifically used for reading updated contacts.
[0033] Optionally, the first external device includes a first Bluetooth device, and the second external device includes a second Bluetooth device;
[0034] A data sending device, specifically used for converting target data into attribute data of an audio file as first data; playing the audio file;
[0035] The first Bluetooth device, specifically used for reading the attribute data;
[0036] A data receiving device, specifically used for converting the ciphertext into attribute data of an audio file as second data; playing the audio file;
[0037] The second Bluetooth device, specifically used for reading the attribute data.
[0038] Optionally, the first external device includes a first near field communication device, and the second external device includes a second near field communication device;
[0039] A data sending device, specifically configured to convert target data into data in a near field communication format as first data;
[0040] The first near field communication device is specifically configured to receive the first data through an antenna;
[0041] A data receiving device, specifically configured to convert the ciphertext into second data;
[0042] The second near field communication device is specifically configured to receive the second data through an antenna.
[0043] This application further provides a data sending method for a data sending device. The data sending device communicates with a first external device through a short-range wireless manner, including:
[0044] Converting target data to be sent into first data readable by the first external device;
[0045] Providing the first data to the first external device;
[0046] Obtaining a ciphertext of the target data obtained by encryption provided by the first external device;
[0047] Sending the ciphertext to a data receiving device.
[0048] Optionally, converting the target data to be sent into first data includes:
[0049] Converting the target data into a contact in the address book.
[0050] Optionally, converting the target data into a contact in the address book includes:
[0051] Converting the target data into a contact in the address book according to a preset contact format.
[0052] Optionally, converting the target data to be sent into first data includes:
[0053] Converting the target data into attribute data of an audio file;
[0054] The method further includes: playing the audio file.
[0055] Optionally, the attribute data includes: text-based attribute data.
[0056] Optionally, converting the target data to be sent into first data includes:
[0057] Converting the target data into data in a near field communication format.
[0058] Optionally, converting the target data to be sent into first data includes:
[0059] Receiving a data protection shortcut instruction;
[0060] Through a data protection shortcut processing program corresponding to the data protection shortcut instruction, displaying a first data input window, obtaining the target data input through the first data input window, and converting the target data into first data through the shortcut processing program.
[0061] Optionally, the first external device includes a first Bluetooth keyboard;
[0062] The obtaining of the ciphertext of the target data encrypted and provided by the first external device includes:
[0063] Positioning the data input location in the first data input area, so that the first external device writes the ciphertext of the target data obtained by encryption into the first data input area through the first Bluetooth keyboard.
[0064] Optionally, the first external device includes a first electronic ink screen;
[0065] The obtaining of the ciphertext of the target data encrypted and provided by the first external device includes:
[0066] Obtaining the ciphertext by scanning a first picture containing the ciphertext displayed on the first electronic ink screen.
[0067] Optionally, the first external device includes a first near-field communication device;
[0068] The obtaining of the ciphertext of the target data encrypted and provided by the first external device includes:
[0069] Receiving the ciphertext through an antenna.
[0070] This application provides a data sending device for a data sending device. The data sending device communicates with the first external device through a short-range wireless method, including:
[0071] A data conversion unit, configured to convert the target data to be sent into first data readable by the first external device;
[0072] A wireless transmission unit, configured to provide the first data to the first external device;
[0073] A ciphertext obtaining unit, configured to obtain the ciphertext of the target data encrypted and provided by the first external device;
[0074] A data sending unit, configured to send the ciphertext to a data receiving device.
[0075] This application provides a data encryption method for a first external device. The data sending device communicates with the first external device via a short-range wireless manner, and the method includes:
[0076] Obtain first data from the data sending device side. The first data is data readable by the first external device converted from the target data to be sent;
[0077] Extract the target data from the first data;
[0078] Perform an encryption process on the target data;
[0079] Provide the ciphertext of the encrypted target data to the data sending device.
[0080] This application provides a data encryption device for a first external device. The data sending device communicates with the first external device via a short-range wireless manner, and the device includes:
[0081] A data acquisition unit, configured to obtain first data from the data sending device side. The first data is data readable by the first external device converted from the target data to be sent;
[0082] A data extraction unit, configured to extract the target data from the first data;
[0083] A data encryption unit, configured to perform an encryption process on the target data;
[0084] A data providing unit, configured to provide the ciphertext of the encrypted target data to the data sending device.
[0085] This application provides a data receiving method for a data receiving device. The data receiving device communicates with a second external device via a short-range wireless manner, and the method includes:
[0086] Receive the ciphertext of the target data;
[0087] Convert the ciphertext into second data readable by the second external device;
[0088] Provide the second data to the second external device;
[0089] Obtain the target data obtained by decryption provided by the second external device.
[0090] This application provides a data receiving device for a data receiving device. The data receiving device communicates with a second external device via a short-range wireless manner, and the device includes:
[0091] A data receiving unit, configured to receive the ciphertext of the target data;
[0092] A data conversion unit for converting the ciphertext into second data readable by a second external device;
[0093] A wireless transmission unit for providing the second data to the second external device;
[0094] A data acquisition unit for acquiring the target data obtained by decryption provided by the second external device.
[0095] This application provides a data decryption method for a second external device. The data receiving device communicates with the second external device through a short - range wireless manner, and includes:
[0096] Obtaining second data from the data receiving device side, where the second data is data readable by the second external device converted from the ciphertext of the target data to be sent;
[0097] Extracting the ciphertext from the second data;
[0098] Performing decryption processing on the ciphertext;
[0099] Providing the decrypted target data to the data receiving device.
[0100] This application provides a data decryption device for a second external device. The data receiving device communicates with the second external device through a short - range wireless manner, and includes:
[0101] A data acquisition unit for obtaining second data from the data receiving device side, where the second data is data readable by the second external device converted from the ciphertext of the target data to be sent;
[0102] A data extraction unit for extracting the ciphertext from the second data;
[0103] A data decryption unit for performing decryption processing on the ciphertext;
[0104] A data providing unit for providing the decrypted target data to the data receiving device.
[0105] This application provides a Bluetooth device, including:
[0106] A processor; and
[0107] A memory for storing a program for implementing the above - mentioned data encryption method and / or data decryption method, and the device is powered on and runs the program of the method through the processor.
[0108] Optionally, the Bluetooth device includes: a Bluetooth headset, a Bluetooth power bank, a Bluetooth smart watch.
[0109] This application provides a near - field communication device, characterized by including:
[0110] A processor; and
[0111] A memory for storing a program for implementing the above data encryption method and / or data decryption method, the device being powered on and running the program of the method through the processor.
[0112] Optionally, the near-field communication device includes: a power bank based on near-field communication.
[0113] This application provides an electronic device, including:
[0114] A processor; and
[0115] A memory for storing a program for implementing the method described in any one of the above, the device being powered on and running the program of the method through the processor.
[0116] This application also provides a computer-readable storage medium, in which instructions are stored, and when the instructions are run on a computer, the computer is caused to execute the above various methods.
[0117] This application also provides a computer program product including instructions, and when the computer program product is run on a computer, the computer is caused to execute the above various methods.
[0118] Compared with the prior art, this application has the following advantages:
[0119] The data transmission system provided by the embodiment of the present application converts the target data to be transmitted into the first data that can be read by the first external device through the data sending device, provides the first data to the first external device that communicates with the data sending device through a short-range wireless manner, obtains the ciphertext of the target data obtained by encryption provided by the first external device, and sends the ciphertext to the data receiving device; obtains the first data through the first external device, extracts the target data from the first data, performs encryption processing on the target data, and provides the ciphertext to the data sending device; receives the ciphertext through the data receiving device, converts the ciphertext into the second data that can be read by the second external device, provides the second data to the second external device that communicates with the data receiving device through a short-range wireless manner, and obtains the target data obtained by decryption provided by the second external device; obtains the second data through the second external device, extracts the ciphertext from the second data, performs decryption processing on the ciphertext, and provides the target data to the data receiving device. By adopting this processing method, data can be transmitted bidirectionally between the data transmission device and its external device through a short-range wireless path, and the external device performs encryption or decryption processing on the data, thereby realizing end-to-end data protection. In this way, it is neither necessary to install a data protection device on the data transmission device side nor to install a driver for the external device on the data transmission device side, and it can be adapted to both the mobile end and the desktop end at the same time, and the user can conveniently perceive whether the encryption state takes effect; therefore, the security, adaptability and user perception of data protection can be effectively improved. Moreover, due to the strong adaptability based on wireless connection, it can be easily integrated into various Bluetooth devices or near-field communication devices, so the product form can be effectively expanded. BRIEF DESCRIPTION OF THE DRAWINGS
[0120] Figure 1 Schematic diagram of device interaction in the embodiment of the data transmission system provided by the present application;
[0121] Figure 2 Schematic diagram of the user interface for responding to a quick command in the embodiment of the data transmission system provided by the present application;
[0122] Figure 3 Schematic diagram of specific device interaction in the embodiment of the data transmission system provided by the present application;
[0123] Figure 4 Schematic diagram of specific device interaction in the embodiment of the data transmission system provided by the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0124] Many specific details are set forth in the following description in order to provide a thorough understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the connotation of the present application. Therefore, the present application is not limited by the specific embodiments disclosed below.
[0125] In this application, a data transmission system, a data sending method and apparatus, a data receiving method and apparatus, a data encryption method and apparatus, a data decryption method and apparatus, as well as an electronic device, a Bluetooth device, and a near field communication device are provided. The following will describe each solution in detail in the respective embodiments.
[0126] The first embodiment
[0127] Please refer to Figure 1 , which is a schematic diagram of device interaction of the data transmission system of this application. In this embodiment, the data transmission system includes: a data sending device 1, a first external device 2, a data receiving device 3, and a second external device 4. The data sending device 1 communicates with the first external device 2 by a short-range wireless method, and the data receiving device 3 communicates with the second external device 4 by a short-range wireless method.
[0128] In this system, the data sending device is used to convert the target data to be sent into first data that can be read by the first external device, provide the first data to the first external device, obtain the ciphertext of the target data obtained by encryption provided by the first external device, and send the ciphertext to the data receiving device; the first external device is used to obtain the first data, extract the target data from the first data, perform encryption processing on the target data, and provide the ciphertext to the data sending device; the data receiving device is used to receive the ciphertext, convert the ciphertext into second data that can be read by the second external device, provide the second data to the second external device, and obtain the target data obtained by decryption provided by the second external device; the second external device is used to obtain the second data, extract the ciphertext from the second data, perform decryption processing on the ciphertext, and provide the target data to the data receiving device.
[0129] The data sending device has at least a data sending function. In practical applications, the data sending device not only has a data sending function but also can have a data receiving function. Such a data sending device can be a personal computer, a smart phone, a smart speaker, and other devices. Similarly, the data receiving device has at least a data receiving function. In practical applications, the data receiving device not only has a data receiving function but also can have a data sending function. The data sending device and the data receiving device can be communicatively connected through a network (such as the Internet, a local area network, etc.), and the data sending device sends data to the data receiving device.
[0130] Data can be transmitted between a data sending device and a data receiving device through a data communication tool. The data communication tool can be any data communication tool in the prior art, such as various application programs that can achieve end-to-end data transmission on a personal computer, applications that can achieve end-to-end data transmission on a smart communication device (such as instant messaging tools, etc.), short message tools used on ordinary mobile phones, and so on.
[0131] For example, both the data sending device and the data receiving device are smart phones, and data is transmitted between them through an instant messaging tool. For example, the sender uses the instant messaging tool in the smart phone to send a message to the instant messaging tool in the smart phone used by the receiver. Another example is that both the data sending device and the data receiving device are ordinary mobile phones, and data is transmitted between them through the built-in short message tool of the mobile phone. For example, the sender uses the short message tool in the mobile phone to send a short message to the short message tool in the mobile phone used by the receiver. Another example is that the data sending device is a personal computer and the data receiving device is a smart phone, and data is transmitted between them through an instant messaging tool. For example, the sender uses the instant messaging tool in the personal computer to send a message to the instant messaging tool in the smart phone used by the receiver.
[0132] The first external device is an external device of the data sending device, abbreviated as a peripheral device. The first external device communicates with the data sending device through a short-range wireless method, and any short-range wireless communication method in the prior art can be adopted, such as the Bluetooth method, the near field communication NFC method, etc. When the first external device communicates with the data sending device through the Bluetooth method, the first external device can be a common Bluetooth device, such as a Bluetooth headset, a Bluetooth speaker, a Bluetooth power bank, a Bluetooth smart watch, etc.; when the first external device is connected to the data sending device through the NFC method, the first external device can be a common NFC device, such as an NFC power bank, etc. Similarly, the second external device is an external device of the data receiving device. The second external device communicates with the data receiving device through a short-range wireless method.
[0133] The target data can be symbols, characters, numbers, voices, images, videos, etc. The first external device communicates with the data sending device through a short-range wireless method. The first data that can be read by the first external device refers to the data that can be read from the data sending device side after the first external device establishes a communication connection with the data sending device. The first data contains the target data and may also include format data.
[0134] From the perspective of the form of the first data, several specific implementation methods can be adopted to convert the target data to be sent into the first data that can be read by the first external device.
[0135] Method 1: The first external device is a Bluetooth device (such as a Bluetooth speaker, a power bank, etc.), and the first data is a contact in the address book of the data sending device. In this case, to convert the target data to be sent into the first data, the following method can be used: Convert the target data into a contact in the address book. Correspondingly, for the data sending device to provide the first data to the first external device, the following method can be used: After the Bluetooth device detects that the data sending device has updated the contacts, it can automatically pull the updated contacts from the data sending device side. By adopting this processing method, it is possible to convert the target data to be sent into the first data by setting the target data as a contact in the address book.
[0136] In specific implementation, to convert the target data into a contact in the address book, the following method can be used: Convert the target data into a contact in the address book according to a preset contact format. For example, the preset contact format can be with a specified string as a prefix (such as the prefix of the contact is YYY), or with a specified string as a suffix, or with a specified string as a prefix and a specified string as a suffix at the same time, etc. By adopting this processing method, after the Bluetooth device detects that the data sending device has updated the contacts that conform to the preset contact format, it can automatically pull the contact from the data sending device side, so that it can effectively identify that the data sending device wants to send data, thus saving device resources.
[0137] In specific implementation, the Bluetooth device can use the Bluetooth protocol of Phone Book Access Profile (PBAP) to detect whether the data sending device has updated the contacts and pull the updated contacts from the data sending device side. The Bluetooth device includes a Bluetooth transceiver chip. After the Bluetooth device is paired with the data sending device, it is recognized by the data sending device as a Bluetooth speaker that supports address book reading. By configuring corresponding parameters on the Bluetooth Profile, it can become different functional Bluetooth devices, such as Bluetooth speakers, Bluetooth headsets, Bluetooth power banks, etc.
[0138] Method 2: The first external device is a Bluetooth device (such as a Bluetooth speaker, etc.), and the first data is the attribute data of an audio file. The type of the attribute data can be numerical, text, picture, video, voice, etc. For example, the text-type attribute data can be the artist information of an MP3 audio file, etc. In this case, to convert the target data to be sent into the first data, the following method can be adopted: convert the target data into the attribute data of an audio file; thereafter, the data sending device is further used to: play the audio file. Correspondingly, to provide the first data to the first external device, the following method can be adopted: when the Bluetooth device plays the audio file, it automatically reads the attribute information of the audio file. By adopting this processing method, it is possible to convert the target data to be sent into the first data by setting the target data as the attribute data of the audio file.
[0139] Method 3: The first external device is a Near Field Communication (NFC) device, and the first data can be NFC Data Exchange Format (NDEF) data. NDEF is a standardized data format that can be used to exchange information between any compatible NFC device and another NFC device or tag. In this case, to convert the target data to be sent into the first data, the following method can be adopted: convert the target data into NDEF format data. Correspondingly, to provide the first data to the first external device, the following method can be adopted: the near field communication device obtains the NDEF format data by scanning the data sending device. Devices using NFC technology can exchange data when they are close to each other, and can integrate the functions of an inductive card reader, an inductive card, and peer-to-peer communication on a single chip. After the first external device receives the NDEF format data through the NFC antenna, it decodes it into plain text data. By adopting this processing method, it is possible to convert the target data to be sent into the first data by setting the target data as the NDEF format data.
[0140] In specific implementation, the first external device is a near field communication device, specifically, it can be a wireless power bank, an NFC tag, etc. Taking the wireless power bank as an example, the power bank supports the wireless charging function, and the user can bring the mobile phone close to the power bank to transmit data using the NFC method.
[0141] From the perspective of the execution entity that converts the target data, there are two specific implementation methods to convert the target data to be sent into the first data.
[0142] Method 1: The data sending device is specifically used for the user to convert the target data into the first data; the data receiving device is specifically used for the user to convert the ciphertext into the second data. By adopting this processing method, it is possible for the user to manually perform data conversion.
[0143] Method 2: A data sending device, specifically used to receive a data protection quick instruction; through a data protection quick processing program corresponding to the data protection quick instruction, display a first data input window, obtain target data input through the first data input window, and convert the target data into first data through the data protection quick processing program; A data receiving device, specifically used to receive a data protection quick instruction; through a data protection quick processing program corresponding to the data protection quick instruction, display a second data input window, obtain the ciphertext input through the second data input window, and convert the ciphertext into second data through the data protection quick processing program. Adopting this processing method enables automated data conversion to be achieved through quick instructions, avoiding manual operations by users; Therefore, the data processing efficiency can be effectively improved, thereby improving the data transmission efficiency and the user experience.
[0144] In specific implementation, any existing technology can be used to set quick instructions and build a data processing flow corresponding to the quick instructions, that is, form a quick instruction processing program. For example, use an intelligent communication device with the Android system to set quick instructions and build a data processing flow, or use an intelligent communication device with the iOS system to set quick instructions and build a data processing flow, and so on. In specific implementation, the quick instruction can be to tap the data transmission device in a specific manner, such as tapping the back of the mobile phone twice, to activate the corresponding quick instruction.
[0145] From the perspective of the method of providing the encrypted ciphertext from the first external device to the data sending device, there are several specific implementation methods for the data sending device to obtain the ciphertext obtained by encryption provided by the first external device.
[0146] Method 1: The first external device includes a first Bluetooth keyboard. In addition, the first external device can be configured in product forms such as a Bluetooth speaker, a Bluetooth power bank, a Bluetooth smart watch, etc.; A data sending device, specifically used to locate the data input position in the first data input area; The first external device, specifically used to write the ciphertext of the target data obtained by encryption into the first data input area through the first Bluetooth keyboard. Adopting this processing method enables the first external device to send back the ciphertext obtained by encryption to the data sending device by simulating keyboard input.
[0147] Method 2: The first external device includes a first electronic ink screen. In addition, the first external device can be configured in the form of products such as a Bluetooth speaker, a Bluetooth power bank, a Bluetooth smart watch, etc.; a data sending device, specifically used for obtaining the ciphertext by scanning a first picture (such as a QR code, a bar code, etc.) containing the ciphertext displayed on the first external device; the first external device, specifically used for displaying the first picture through the first electronic ink screen. By adopting this processing method, it is possible to obtain the ciphertext encrypted by the first external device by scanning the picture displayed on the first external device through the data sending device.
[0148] Method 3: The first external device includes a first near-field communication device; a data sending device, specifically used for obtaining the ciphertext by scanning the first near-field communication device. By adopting this processing method, it is possible to obtain the ciphertext encrypted by the first external device by scanning the first NFC device through the data sending device.
[0149] The above has described the two-way data transmission method between the data sending device and the first external device from three perspectives. Similarly, the same two-way data transmission method can be adopted between the data receiving device and the second external device, which will not be elaborated here. The difference between the two is that the data transmitted is different. The data sent by the data sending device to the first external device is the target data, and the data sent by the first external device to the data sending device is the ciphertext of the target data. The data sent by the data receiving device to the second external device is the ciphertext of the target data, and the data sent by the second external device to the data receiving device is the target data.
[0150] After the first external device extracts the target data from the first data, it needs to perform encryption processing on the target data. Similarly, after the second external device extracts the ciphertext of the target data from the second data, it needs to perform decryption processing on the ciphertext of the target data. In specific implementation, any existing technology can be used to perform encryption / decryption processing on the data, such as symmetric encryption algorithms, asymmetric encryption algorithms, and hash algorithms, etc.
[0151] Please refer to Figure 2, which is a schematic diagram of the user interface for responding to a quick instruction in an embodiment of the data transmission system of the present application. As can be seen from this figure, data can be transmitted between a data sending device (such as a smart phone) and a data receiving device (such as a personal computer) through an instant messaging tool. When the data sending user wants to send protected data to the other party through the mobile version of the instant messaging tool, a quick instruction can be sent to the mobile phone. After the mobile phone recognizes the quick instruction, it calls the quick instruction processing program corresponding to this instruction, and this program can perform the following processing: display a first data input window, obtain the target data (such as "The weather is nice today, sunny turning to cloudy") input by the data sending user through the first data input window, and convert the target data into the first data. The user locates the data input position in the instant messaging input box. After the first external device extracts the target data from the first data, it encrypts the target data, and then inputs the ciphertext into the instant messaging input box through the Bluetooth keyboard. The user can perceive that the encryption state takes effect by viewing the ciphertext, and then sends the ciphertext to the other party.
[0152] Please refer to Figure 3 , which is a schematic diagram of the specific device interaction in an embodiment of the data transmission system of the present application. As can be seen from this figure, the data sending device (mobile phone) can first establish a connection with the first external device (peripheral device) through Bluetooth pairing. This peripheral device is a Bluetooth car audio that supports access to the phone book PBAP configuration and also includes a Bluetooth keyboard. Then, the user writes the target information to be sent (such as a text message) into the contact in the address book of the data sending device. Correspondingly, this peripheral device pulls the address book entry from this mobile phone, extracts the target data from it, encrypts the text message, such as encoding it into base64 characters, and then returns it to the chat window in the form of simulated keystrokes typing. The user can see this ciphertext, and then presses the send button in the chat window to send the ciphertext to the chat object.
[0153] Please refer to Figure 4 , which is a schematic diagram of the specific device interaction in an embodiment of the data transmission system of the present application. As can be seen from this figure, the data sending device (mobile phone) can first establish a connection with the first external device (peripheral device) through Bluetooth pairing. This peripheral device is a Bluetooth speaker and also includes a Bluetooth keyboard. Then, the user encodes the target information to be sent (such as a text message) only in the artist information (ID3 TAG) of the audio file MP3, and the user clicks to play this audio. Correspondingly, this peripheral device receives the artist information of the MP3 audio stream, extracts the target data from it, encrypts the text message, such as encoding it into base64 characters, and then returns it to the chat window in the form of simulated keystrokes typing. The user can see this ciphertext, and then presses the send button in the chat window to send the ciphertext to the chat object.
[0154] As can be seen from the above embodiments, the data transmission system provided by the embodiments of the present application performs bidirectional data transmission between a data transmission device (i.e., a host computer, such as a data sending device or a data transmission device like a mobile phone / computer, etc.) and an external device (the data sending device is connected to a first external device, and the data receiving device is connected to a second external device) through a wireless path (such as a Bluetooth path or a Near Field Communication NFC path, etc.), so as to achieve end-to-end protection of data (such as instant messaging messages, etc.). In this way, it is neither necessary to install a data protection device (such as software / application App) on the data transmission device side, nor to install a driver for external devices on the data transmission device side, and it can be adapted to both the mobile side and the desktop side at the same time, and at the same time, users can conveniently perceive whether the encryption state takes effect; therefore, the security, adaptability, and user perception of data protection can be effectively improved. Moreover, because of the strong adaptability based on wireless connection, it can be conveniently integrated into various Bluetooth devices or Near Field Communication devices, so the product form can be effectively expanded.
[0155] Second Embodiment
[0156] In the above embodiment, a data transmission system is provided. Correspondingly, the present application also provides a data sending method for a data sending device, and the data sending device communicates with a first external device through a short-range wireless manner. This method corresponds to the embodiment of the above system. Since the method embodiment is basically similar to the system embodiment, the description is relatively simple, and for the related parts, refer to the partial description of the system embodiment. The method embodiment described below is only illustrative.
[0157] The present application further provides a data sending method, which may include the following steps:
[0158] Step S501: Convert the target data to be sent into first data that can be read by the first external device.
[0159] In one example, converting the target data to be sent into first data includes: converting the target data into a contact in the address book. Specifically, during implementation, the target data can be converted into a contact in the address book according to a preset contact format.
[0160] In another example, converting the target data to be sent into first data includes: converting the target data into attribute data of an audio file; the method further includes: playing the audio file. The attribute data includes but is not limited to: text-based attribute data, and can also be numerical, picture-based, voice-based, video-based attribute data.
[0161] In yet another example, converting the target data to be sent into first data includes: converting the target data into data in a Near Field Communication format.
[0162] In one example, converting target data to be sent into first data includes: receiving a data protection shortcut instruction; displaying a first data input window through a data protection shortcut handler corresponding to the data protection shortcut instruction, obtaining the target data input through the first data input window, and converting the target data into first data through the shortcut handler.
[0163] In another example, converting target data to be sent into first data includes: the user setting the target data as the first data.
[0164] Step S503: Provide the first data to a first external device.
[0165] In one example, the first external device is a Bluetooth device (such as a Bluetooth speaker, a power bank, etc.), and the first data is a contact in the address book of the data sending device. The data sending device provides the first data to the first external device, which can be implemented in the following way: after the Bluetooth device detects that the data sending device has updated the contacts, it can automatically pull the updated contacts from the data sending device side.
[0166] In another example, the first external device is a Bluetooth device (such as a Bluetooth speaker, etc.), and the first data is the attribute data of an audio file. The data sending device provides the first data to the first external device, which can be implemented in the following way: when the Bluetooth device plays the audio file, it automatically reads the attribute information of the audio file.
[0167] In yet another example, the first external device is a Near Field Communication (NFC) device, and the first data can be NFC Data Exchange Format (NDEF) data. The data sending device provides the first data to the first external device, which can be implemented in the following way: the NFC device obtains the NDEF format data by scanning the data sending device. After the first external device receives the NDEF format data through the NFC antenna, it decodes it into plain text data.
[0168] Step S505: Obtain the ciphertext of the target data obtained by encryption provided by the first external device.
[0169] In one example, the first external device includes a first Bluetooth keyboard; obtaining the ciphertext of the target data obtained by encryption provided by the first external device includes: positioning the data input location in the first data input area, so that the first external device writes the ciphertext of the target data obtained by encryption into the first data input area through the first Bluetooth keyboard.
[0170] In another example, the first external device includes a first electronic ink screen; obtaining the ciphertext of the target data obtained by encryption provided by the first external device includes: obtaining the ciphertext by scanning a first picture containing the ciphertext displayed on the first electronic ink screen.
[0171] In yet another example, the first external device includes a first near-field communication device; obtaining the ciphertext of the target data obtained by encryption provided by the first external device includes: receiving the ciphertext through an antenna.
[0172] Step S507: Send the ciphertext to the data receiving device.
[0173] As can be seen from the above embodiments, the data sending method provided by the embodiments of the present application performs two-way data transmission between the first external device (data encryption device) and the data sending device through a wireless path, thereby realizing end-to-end data protection. In this way, there is no need to install a data protection device on the data sending device side, nor to install a driver for external devices on the data sending device side, and it can be adapted to both the mobile side and the desktop side at the same time. At the same time, users can easily perceive whether the encryption state takes effect; therefore, the security, adaptability, and user perception of data protection can be effectively improved.
[0174] Third Embodiment
[0175] In the above embodiments, a data sending method is provided. Correspondingly, the present application also provides a data sending device for a data sending device, and the data sending device communicates with the first external device through a short-range wireless method. This device corresponds to the method embodiments above. Since the device embodiments are basically similar to the method embodiments, the description is relatively simple, and for the relevant parts, refer to the partial description of the method embodiments. The device embodiments described below are only illustrative.
[0176] The present application further provides a data sending device, including: a data conversion unit, a wireless transmission unit, a ciphertext acquisition unit, and a data sending unit. Among them, the data conversion unit is used to convert the target data to be sent into first data that can be read by the first external device. The wireless transmission unit is used to provide the first data to the first external device. The ciphertext acquisition unit is used to acquire the ciphertext of the target data obtained by encryption provided by the first external device. The data sending unit is used to send the ciphertext to the data receiving device.
[0177] In one example, converting the target data to be sent into first data includes: converting the target data into contacts in the address book. Specifically, during implementation, the target data can be converted into contacts in the address book according to a preset contact format.
[0178] In another example, converting the target data to be sent into first data includes: converting the target data into attribute data of an audio file; the method further includes: playing the audio file. The attribute data includes, but is not limited to, text-based attribute data, and can also be numerical, picture-based, voice-based, or video-based attribute data.
[0179] In yet another example, converting the target data to be sent into first data includes: converting the target data into data in a near-field communication format.
[0180] In one example, converting the target data to be sent into first data includes: receiving a data protection shortcut instruction; through a data protection shortcut handler corresponding to the data protection shortcut instruction, displaying a first data input window, obtaining the target data input through the first data input window, and converting the target data into first data through the shortcut handler.
[0181] In another example, converting the target data to be sent into first data includes: setting, by the user, the target data as the first data.
[0182] In one example, the first external device includes a first Bluetooth keyboard; obtaining the ciphertext of the target data encrypted and provided by the first external device includes: positioning the data input location in a first data input area, so that the first external device writes, through the first Bluetooth keyboard, the ciphertext of the target data obtained by encryption into the first data input area.
[0183] In another example, the first external device includes a first electronic ink screen; obtaining the ciphertext of the target data encrypted and provided by the first external device includes: obtaining the ciphertext by scanning a first picture containing the ciphertext displayed on the first electronic ink screen.
[0184] In yet another example, the first external device includes a first near-field communication device; obtaining the ciphertext of the target data encrypted and provided by the first external device includes: receiving the ciphertext through an antenna.
[0185] Fourth Embodiment
[0186] In the above embodiments, a data transmission system is provided. Correspondingly, the present application also provides a data encryption method for a first external device. The data sending device communicates with the first external device in a short-range wireless manner. This method corresponds to the embodiments of the above system. Since the method embodiments are basically similar to the system embodiments, the description is relatively simple. For related parts, refer to the partial description of the system embodiments. The method embodiments described below are merely illustrative.
[0187] The present application further provides a data encryption method, which may include the following steps:
[0188] Step S601: Obtain first data from the data sending device side. The first data is data that can be read by the first external device and is obtained by converting the target data to be sent.
[0189] Step S603: Extract target data from the first data.
[0190] Step S605: Encrypt the target data.
[0191] After the first external device extracts the target data from the first data, it is necessary to encrypt the target data. In specific implementation, any existing technology can be used to encrypt the data, such as symmetric encryption algorithms, asymmetric encryption algorithms, and hash algorithms.
[0192] Step S607: Provide the ciphertext of the encrypted target data to the data sending device.
[0193] In one example, the first external device includes a first Bluetooth keyboard. In addition, the first external device can be configured in product forms such as a Bluetooth speaker, a Bluetooth power bank, a Bluetooth smart watch, etc.; the data sending device can locate the data input position in the first data input area; the first external device can write the ciphertext of the encrypted target data into the first data input area through the first Bluetooth keyboard. By adopting this processing method, the first external device can send back the encrypted ciphertext to the data sending device by simulating keyboard input.
[0194] In another example, the first external device includes a first electronic ink screen. In addition, the first external device can be configured in product forms such as a Bluetooth speaker, a Bluetooth power bank, a Bluetooth smart watch, etc.; the first external device can display a first picture (such as a QR code, a bar code, etc.) containing the ciphertext through the first electronic ink screen; the data sending device can obtain the ciphertext by scanning the first picture displayed by the first external device. By adopting this processing method, the ciphertext encrypted by the first external device can be obtained by scanning the picture displayed on the first external device by the data sending device.
[0195] In yet another example, the first external device includes a first near-field communication device; the data sending device can obtain the ciphertext by scanning the first near-field communication device. By adopting this processing method, the ciphertext encrypted by the first external device can be obtained by scanning the first NFC device by the data sending device.
[0196] As can be seen from the above embodiments, in the data encryption method provided by the embodiments of the present application, the first external device (data encryption device) performs two-way data transmission with the data sending device through a wireless path, thereby realizing end-to-end data protection. In this way, it is neither necessary to install a data protection device on the data sending device side, nor to install a driver for external devices on the data sending device side, and it can be adapted to both the mobile end and the desktop end at the same time, and at the same time, users can conveniently perceive whether the encryption status takes effect; therefore, the security, adaptability, and user perception of data protection can be effectively improved.
[0197] The Fifth Embodiment
[0198] In the above embodiments, a data encryption method is provided. Correspondingly, the present application also provides a data encryption device. This device corresponds to the embodiments of the above method. Since the device embodiments are basically similar to the method embodiments, the description is relatively simple. For related parts, refer to the partial description of the method embodiments. The device embodiments described below are merely illustrative.
[0199] The present application further provides a data encryption device, including: a data acquisition unit, a data extraction unit, a data encryption unit, and a data providing unit. Among them, the data acquisition unit is used to acquire first data from the data sending device side, and the first data is the first external device-readable data converted from the target data to be sent; the data extraction unit is used to extract the target data from the first data; the data encryption unit is used to perform encryption processing on the target data; the data providing unit is used to provide the ciphertext of the encrypted target data to the data sending device.
[0200] The Sixth Embodiment
[0201] In the above embodiments, a data transmission system is provided. Correspondingly, the present application also provides a data receiving method for a data receiving device, and the data receiving device communicates with a second external device through a short-range wireless manner. This method corresponds to the embodiments of the above system. Since the method embodiments are basically similar to the system embodiments, the description is relatively simple. For related parts, refer to the partial description of the system embodiments. The method embodiments described below are merely illustrative.
[0202] The present application further provides a data receiving method, which may include the following steps:
[0203] Step S701: Receive the ciphertext of the target data.
[0204] Step S703: Convert the ciphertext into second data readable by the second external device.
[0205] In one example, converting the ciphertext of the target data into second data includes: converting the ciphertext into contacts in the address book. Specifically, during implementation, the ciphertext can be converted into contacts in the address book according to a preset contact format.
[0206] In another example, converting the ciphertext of the target data into second data includes: converting the ciphertext into attribute data of an audio file; the method further includes: playing the audio file. The attribute data includes, but is not limited to, text-based attribute data, and may also be numerical, picture-based, voice-based, or video-based attribute data.
[0207] In yet another example, converting the ciphertext of the target data into second data includes: converting the ciphertext into data in a near-field communication format.
[0208] In one example, converting the ciphertext of the target data into second data includes: receiving a data protection shortcut instruction; through a data protection shortcut handler corresponding to the data protection shortcut instruction, displaying a second data input window, obtaining the ciphertext input through the second data input window, and converting the ciphertext into second data through the shortcut handler.
[0209] In another example, converting the ciphertext of the target data into second data includes: the user setting the ciphertext as the second data.
[0210] Step S705: Provide the second data to a second external device.
[0211] In one example, the second external device is a Bluetooth device (such as a Bluetooth speaker, a power bank, etc.), and the second data is a contact in the address book of the data receiving device. The data receiving device provides the second data to the second external device, which can be implemented in the following way: after the Bluetooth device detects that the data receiving device has updated the contacts, it can automatically pull the updated contacts from the data receiving device side.
[0212] In another example, the second external device is a Bluetooth device (such as a Bluetooth speaker, etc.), and the second data is the attribute data of an audio file. The data receiving device provides the second data to the second external device, which can be implemented in the following way: when the Bluetooth device plays an audio file, it automatically reads the attribute information of the audio file.
[0213] In yet another example, the second external device is a near-field communication (NFC) device, and the second data can be data in the NFC data exchange format (NDEF). The data receiving device provides the second data to the second external device, which can be implemented in the following way: the NFC device obtains the NDEF format data by scanning the data receiving device. After the second external device receives the NDEF format data through the NFC antenna, it decodes it into ciphertext.
[0214] Step S707: Obtain the target data obtained by decryption provided by the second external device.
[0215] In one example, the second external device includes a second Bluetooth keyboard; the obtaining the target data obtained by decryption provided by the second external device includes: positioning the data input location in the second data input area so that the second external device writes the decrypted target data into the second data input area through the second Bluetooth keyboard.
[0216] In another example, the second external device includes a second electronic ink screen; the obtaining of the target data obtained by decryption provided by the second external device includes: obtaining the target data by scanning a second picture containing the target data displayed on the second electronic ink screen.
[0217] In yet another example, the second external device includes a second near-field communication device; the obtaining of the target data obtained by decryption provided by the second external device includes: receiving the target data through an antenna.
[0218] As can be seen from the above embodiments, the data receiving method provided by the embodiments of the present application performs two-way data transmission between a second external device (data encryption device) and a data receiving device through a wireless path, thereby implementing a solution for end-to-end data protection. In this way, it is neither necessary to install a data protection device on the data receiving device side nor to install a driver for a peripheral device on the data receiving device side, and it can be adapted to both the mobile end and the desktop end at the same time, and at the same time, users can easily perceive whether the encryption state takes effect; therefore, the security, adaptability, and user perception of data protection can be effectively improved.
[0219] The seventh embodiment
[0220] In the above embodiments, a data receiving method is provided. Correspondingly, the present application also provides a data receiving device. This device corresponds to the embodiments of the above method. Since the device embodiments are basically similar to the method embodiments, the description is relatively simple, and for the relevant parts, reference can be made to the partial description of the method embodiments. The device embodiments described below are only illustrative.
[0221] The present application further provides a data receiving device, including: a data receiving unit, a data conversion unit, a wireless transmission unit, and a data acquisition unit. Among them, the data receiving unit is used to receive the ciphertext of the target data; the data conversion unit is used to convert the ciphertext into second data that can be read by the second external device; the wireless transmission unit is used to provide the second data to the second external device; the data acquisition unit is used to obtain the target data obtained by decryption provided by the second external device.
[0222] The eighth embodiment
[0223] In the above embodiments, a data transmission system is provided. Correspondingly, the present application also provides a data decryption method for the second external device. The data receiving device communicates with the second external device through a short-range wireless method. This method corresponds to the embodiments of the above system. Since the method embodiments are basically similar to the system embodiments, the description is relatively simple, and for the relevant parts, reference can be made to the partial description of the system embodiments. The method embodiments described below are only illustrative.
[0224] The present application further provides a data decryption method, which may include the following steps:
[0225] Step S801: Obtain second data from the data receiving device side. The second data is second external device-readable data converted from the ciphertext of the target data to be sent.
[0226] Step S803: Extract the ciphertext from the second data.
[0227] Step S805: Perform decryption processing on the ciphertext.
[0228] After the second external device extracts the ciphertext of the target data from the second data, it is necessary to perform decryption processing on the ciphertext of the target data. In specific implementation, any existing technology can be used to decrypt the data, such as symmetric encryption algorithms, asymmetric encryption algorithms, and hash algorithms.
[0229] Step S807: Provide the decrypted target data to the data receiving device.
[0230] In one example, the second external device includes a second Bluetooth keyboard. In addition, the second external device can be configured in product forms such as a Bluetooth speaker, a Bluetooth power bank, and a Bluetooth smart watch. The data receiving device can locate the data input position in the second data input area. The second external device can write the decrypted target data into the second data input area through the second Bluetooth keyboard. By adopting this processing method, the second external device can send back the decrypted target data to the data receiving device by simulating keyboard input.
[0231] In another example, the second external device includes a second electronic ink screen. In addition, the second external device can be configured in product forms such as a Bluetooth speaker, a Bluetooth power bank, and a Bluetooth smart watch. The second external device can display a second picture containing the target data (such as a QR code, a barcode, etc.) through the second electronic ink screen. The data receiving device can obtain the target data by scanning the second picture displayed by the second external device. By adopting this processing method, the target data decrypted by the second external device can be obtained by scanning the second picture displayed on the second external device by the data receiving device.
[0232] In yet another example, the second external device includes a second near-field communication device. The data receiving device can obtain the target data by scanning the second near-field communication device. By adopting this processing method, the target data decrypted by the second external device can be obtained by scanning the second NFC device by the data receiving device.
[0233] As can be seen from the above embodiments, in the data decryption method provided by the embodiments of the present application, the second external device (data decryption device) performs two-way data transmission with the data receiving device through a wireless path, thereby implementing a solution for end-to-end data protection. In this way, it is neither necessary to install a data protection device on the data receiving device side nor to install a driver for external devices on the data receiving device side, and it can be adapted to both the mobile end and the desktop end at the same time. At the same time, users can easily perceive whether the encryption state takes effect. Therefore, the security, adaptability, and user perception of data protection can be effectively improved.
[0234] The Ninth Embodiment
[0235] In the above embodiments, a data decryption method is provided. Correspondingly, the present application also provides a data decryption device for the second external device. The data receiving device communicates with the second external device through a short-range wireless method. This device corresponds to the method embodiments. Since the device embodiments are basically similar to the method embodiments, the description is relatively simple. For related parts, refer to the partial description of the method embodiments. The device embodiments described below are only illustrative.
[0236] The present application further provides a data decryption device, including: a data acquisition unit, a data extraction unit, a data decryption unit, and a data providing unit. Among them, the data acquisition unit is used to acquire second data from the data receiving device side. The second data is data that can be read by the second external device obtained by converting the ciphertext of the target data to be sent. The data extraction unit is used to extract the ciphertext from the second data. The data decryption unit is used to perform decryption processing on the ciphertext. The data providing unit is used to provide the decrypted target data to the data receiving device.
[0237] The Tenth Embodiment
[0238] In the above embodiments, a data sending method, a data receiving method, a data encryption method, and a data decryption method are provided. Correspondingly, the present application also provides an electronic device. This device corresponds to the method embodiments. Since the device embodiments are basically similar to the method embodiments, the description is relatively simple. For related parts, refer to the partial description of the method embodiments. The device embodiments described below are only illustrative.
[0239] The electronic device of this embodiment includes: a memory and a processor. The memory is used to store a program for implementing any of the above data sending methods and / or data receiving methods, or to store a program for implementing any of the above data encryption methods and / or data decryption methods. The device is powered on and runs the program of the above method through the processor.
[0240] In specific implementation, a program for implementing any of the above data sending methods and / or data receiving methods is stored in a memory of an electronic device, which can be a personal computer, a smart phone, etc., serving as the above data sending device or data receiving device.
[0241] In specific implementation, a program for implementing any of the above data encryption methods and / or data decryption methods is stored in a memory of an electronic device, which can be a Bluetooth device (such as a Bluetooth speaker, Bluetooth headset, Bluetooth power bank, Bluetooth smart watch, etc.), an NFC device (such as a wireless power bank, NFC tag, etc.), etc., serving as the above first external device or second external device.
[0242] The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk or an optical disk.
[0243] In specific implementation, the electronic device may further include one or more of the following components: a power supply component, an input / output (I / O) interface, and a communication component. The power supply component provides power for various components of the electronic device. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device. The I / O interface provides an interface between the processor 503 and a peripheral interface module, and the above peripheral interface module may be a keyboard, a click wheel, a button, etc. The communication component is configured to facilitate communication between the electronic device and a user device (such as a smart phone, a tablet computer, etc.) in a wired or wireless manner.
[0244] The eleventh embodiment
[0245] In the above embodiments, data encryption methods and data decryption methods are provided. Correspondingly, the present application also provides a Bluetooth device. This device corresponds to the embodiments of the above methods. Since the device embodiments are basically similar to the method embodiments, the description is relatively simple, and for the relevant parts, reference can be made to the partial description of the method embodiments. The device embodiments described below are merely illustrative.
[0246] The Bluetooth device of this embodiment includes: a memory and a processor; the memory is used to store a program for implementing any of the above data encryption methods and / or data decryption methods, and the device is powered on and runs the program of the above method through the processor.
[0247] In specific implementation, the Bluetooth device may be a Bluetooth speaker, a Bluetooth power bank, a Bluetooth smart watch, etc.
[0248] The twelfth embodiment
[0249] In the above embodiments, a data encryption method and a data decryption method are provided. Correspondingly, the present application also provides a near-field communication device. This device corresponds to the embodiments of the above methods. Since the device embodiments are basically similar to the method embodiments, the description is relatively simple. For related parts, refer to the partial description of the method embodiments. The device embodiments described below are merely illustrative.
[0250] The near-field communication device of this embodiment includes: a memory and a processor; the memory is used to store a program for implementing any of the above data encryption methods and / or data decryption methods, and the device is powered on and runs the program of the above method through the processor.
[0251] Specifically, the NFC device can be a wireless power bank, an NFC tag, etc.
[0252] The thirteenth embodiment
[0253] The present application also provides a computer-readable storage medium. Since the embodiments of the computer-readable storage medium are basically similar to the method embodiments, the description is relatively simple. For related parts, refer to the partial description of the method embodiments. The embodiments of the computer-readable storage medium described below are merely illustrative.
[0254] In this embodiment, a non-transitory computer-readable storage medium including instructions is provided, such as a memory including instructions. The above instructions can be executed by a processor of an electronic device to complete the content risk identification method provided by the technical solution of the present disclosure. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0255] It should be noted that the embodiments of the present application may involve the use of user data. In actual applications, user-specific personal data can be used in the solutions described herein within the scope permitted by applicable laws and regulations (for example, with the user's explicit consent, giving the user a practical notice, etc.) and in compliance with the requirements of applicable laws and regulations of the country where it is located.
[0256] Although the present application is disclosed above with preferred embodiments, it is not used to limit the present application. Any person skilled in the art can make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application should be defined by the scope of the claims of the present application.
[0257] In a typical conversion, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and a memory.
[0258] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM) and / or non-volatile memory such as read-only memory (ROM) or flash RAM. The memory is an example of computer-readable media.
[0259] 1. Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store data by any method or technology. The data can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transitory medium that can be used to store data that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0260] 2. Those skilled in the art will appreciate that the embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
Claims
1. A data transmission system, characterized in that, Including: A data sending device, a data receiving device, a first external device, and a second external device; The data sending device communicates with the first external device through a short-range wireless method, and the data receiving device communicates with the second external device through a short-range wireless method; The data sending device is configured to convert the target data to be sent into first data readable by the first external device, provide the first data to the first external device, obtain the ciphertext of the target data obtained by encryption provided by the first external device, and send the ciphertext to the data receiving device; The first external device is configured to obtain the first data, extract the target data from the first data, perform an encryption process on the target data, and provide the ciphertext to the data sending device; The data receiving device is configured to receive the ciphertext, convert the ciphertext into second data readable by the second external device, provide the second data to the second external device, and obtain the target data obtained by decryption provided by the second external device; The second external device is configured to obtain the second data, extract the ciphertext from the second data, perform a decryption process on the ciphertext, and provide the target data to the data receiving device.
2. A data sending method, for a data sending device, the data sending device communicating with a first external device by a short-range wireless manner, characterized in that, Including: Converting the target data to be sent into first data readable by the first external device; Providing the first data to the first external device; Obtaining the ciphertext of the target data obtained by encryption provided by the first external device; Sending the ciphertext to the data receiving device.
3. The method according to claim 2, characterized in that, Converting the target data to be sent into first data includes: Converting the target data into contacts in the address book.
4. The method according to claim 2, wherein Converting the target data to be sent into first data includes: Converting the target data into attribute data of an audio file; The method further includes: playing the audio file.
5. A data sending device for a data sending device, the data sending device communicating with a first external device by a short-range wireless method, characterized in that Including: A data conversion unit configured to convert the target data to be sent into first data readable by the first external device; A wireless transmission unit configured to provide the first data to the first external device; A ciphertext acquisition unit configured to obtain the ciphertext of the target data obtained by encryption provided by the first external device; A data sending unit configured to send the ciphertext to the data receiving device.
6. A data encryption method for a first external device, where the data sending device communicates with the first external device by a short-range wireless method, characterized in that, Including: Obtaining the first data from the data sending device side, where the first data is data readable by the first external device converted from the target data to be sent; Extracting the target data from the first data; Performing an encryption process on the target data; Providing the ciphertext of the target data obtained by encryption to the data sending device.
7. A data encryption device for a first external device, where the data sending device communicates with the first external device through a short-range wireless method, and is characterized in that Including: A data acquisition unit configured to obtain the first data from the data sending device side, where the first data is data readable by the first external device converted from the target data to be sent; A data extraction unit configured to extract the target data from the first data; A data encryption unit configured to perform an encryption process on the target data; A data providing unit configured to provide the ciphertext of the target data obtained by encryption to the data sending device.
8. A data receiving method for a data receiving device, where the data receiving device communicates with a second external device through a short-range wireless manner, characterized in that, Including: Receiving the ciphertext of the target data; Converting the ciphertext into second data readable by the second external device; Providing the second data to the second external device; Obtaining the target data obtained by decryption provided by the second external device.
9. A data receiving device for a data receiving apparatus, wherein the data receiving apparatus communicates with a second external device by a short-range wireless method, characterized in that, Including: A data receiving unit configured to receive the ciphertext of the target data; A data conversion unit for converting the ciphertext into second data readable by a second external device; A wireless transmission unit for providing the second data to the second external device; A data acquisition unit for acquiring the target data obtained by decryption provided by the second external device.
10. A data decryption method for a second external device. The data receiving device communicates with the second external device through a short-range wireless manner, and is characterized in that Comprising: Acquiring second data from the data receiving device side, the second data being data readable by the second external device converted from the ciphertext of the target data to be transmitted; Extracting the ciphertext from the second data; Performing decryption processing on the ciphertext; Providing the decrypted target data to the data receiving device.
11. A data decryption device for a second external device, where the data receiving device communicates with the second external device by means of short-range wireless communication, characterized in that Comprising: A data acquisition unit for acquiring second data from the data receiving device side, the second data being data readable by the second external device converted from the ciphertext of the target data to be transmitted; A data extraction unit for extracting the ciphertext from the second data; A data decryption unit for performing decryption processing on the ciphertext; A data providing unit for providing the decrypted target data to the data receiving device.
12. An electronic device, characterized in that, Comprising: A processor; And A memory for storing a program for implementing the method according to any one of claims 2-4, 6, 8, 10, and the device is powered on and runs the program of the method through the processor.
13. A Bluetooth device, characterized in that, Comprising: A processor; And A memory for storing a program for implementing the method according to claim 6 and / or claim 10, and the device is powered on and runs the program of the method through the processor.
14. A near field communication device, characterized in that, Comprising: A processor; And A memory for storing a program for implementing the method according to claim 6 and / or claim 10, and the device is powered on and runs the program of the method through the processor.