WO2015117352A1 - Data processing method, data sending and receiving terminal, and data transmission system - Google Patents

Data processing method, data sending and receiving terminal, and data transmission system Download PDF

Info

Publication number
WO2015117352A1
WO2015117352A1 PCT/CN2014/088549 CN2014088549W WO2015117352A1 WO 2015117352 A1 WO2015117352 A1 WO 2015117352A1 CN 2014088549 W CN2014088549 W CN 2014088549W WO 2015117352 A1 WO2015117352 A1 WO 2015117352A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
byte stream
code map
stream code
module
Prior art date
Application number
PCT/CN2014/088549
Other languages
French (fr)
Chinese (zh)
Inventor
康伟
刘博�
李焰峰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015117352A1 publication Critical patent/WO2015117352A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Definitions

  • the present invention relates to data processing technologies in the field of communications, and in particular, to a data processing method, a data transmitting and receiving terminal, a data transmission system, and a computer storage medium.
  • the method for transmitting and sharing data between communication devices generally adopts a communication module shared between devices, through wireless fidelity (WiFi, WIreless FIdelity), Android debugging bridge (ADB, Android Debug Bridge), Bluetooth, Near Field Communication (NFC, Near Field Communication) and other transmission media, establish information transmission connection channels to complete shared transmission such as audio, video, pictures, documents.
  • WiFi wireless fidelity
  • ADB Android debugging bridge
  • NFC Near Field Communication
  • NFC Near Field Communication
  • FTP File Transfer Protocol
  • the embodiment of the invention provides a data processing method, a data transmitting and receiving terminal, and a data transmission system, which can break through the limitation of establishing a transmission channel through a cumbersome operation when transmitting data between the data transmitting terminal and the data receiving terminal in the related art. And restrictions on the format of the transmitted data.
  • the embodiment of the invention provides a data processing method, including:
  • the data transmitting terminal determines the data to be sent
  • the data transmitting terminal converts the to-be-sent data into a byte stream code map
  • the data transmitting terminal displays the byte stream code map on the display screen to be read by the data receiving terminal.
  • the data transmitting terminal converting the data to be sent into a byte stream code map includes:
  • the data transmitting terminal determines the data capacity that the byte stream code map can carry
  • the data transmitting terminal converts the to-be-sent data into a byte stream
  • the data transmitting terminal splits the byte stream into byte stream segments according to a data capacity that can be carried by the byte stream code map;
  • the data transmitting terminal uses a byte stream code graph algorithm to convert each segment of the byte stream into a byte stream code map.
  • the data sending terminal determines that the data capacity that the byte stream code map can bear includes:
  • the data transmitting terminal acquires resolution information of its display screen
  • the data transmitting terminal determines, according to the resolution information, a data capacity that can be carried by the single byte stream code map.
  • the method before the data transmitting terminal converts the one-byte stream segment into a byte stream code map, the method further includes:
  • the data transmitting terminal adds a packet header to the byte stream segment, and the packet header includes at least location information of the byte stream segment in the original data.
  • the embodiment of the invention further provides a data processing method, including:
  • the data receiving terminal reads the byte stream code map displayed on the display screen of the data transmitting terminal;
  • the data receiving terminal parses the read byte stream code map to obtain corresponding data.
  • the data receiving terminal reads the byte stream code map displayed by the data transmitting terminal, and the data receiving terminal reads the byte stream code map by scanning or photographing.
  • the data receiving terminal parses the read byte stream code map to obtain corresponding data, including:
  • the data receiving terminal parses the byte stream code map to obtain a corresponding byte stream segment
  • the data receiving terminal performs a restoration operation on the byte stream segment to obtain corresponding data.
  • the embodiment of the invention further provides a data processing method, including:
  • the data transmitting terminal determines the data to be sent
  • the data transmitting terminal converts the to-be-sent data into a byte stream code map
  • the data transmitting terminal displays the byte stream code map on the display screen for reading by the data receiving terminal;
  • the data receiving terminal reads the byte stream code map displayed on the display screen of the data transmitting terminal;
  • the data receiving terminal parses the read byte stream code map to obtain corresponding data.
  • the embodiment of the invention further provides a data sending terminal, comprising: a sending data selection module, a conversion module and a display module;
  • the sending data selection module is configured to determine data to be sent
  • the conversion module is configured to convert the to-be-sent data into a byte stream code map
  • the display module is configured to display the byte stream code map on the display screen of the data sending terminal to be read by the data receiving terminal.
  • the conversion module includes a capacity determining submodule, a byte stream conversion submodule, a data splitting molecular module, and a byte stream code graph generating submodule;
  • the capacity determining submodule is configured to determine a data capacity that the byte stream code map can carry;
  • a byte stream conversion submodule is configured to convert the to-be-sent data into a byte stream
  • the data splitting module is configured to stream the byte according to a data capacity that can be carried by the byte stream code map Split into byte stream segments;
  • the byte stream code map generation sub-module is used to convert each byte stream segment into a byte stream code map by using a byte stream code graph algorithm.
  • the embodiment of the invention further provides a data receiving terminal, comprising: a reading module and a parsing module;
  • the reading module is configured to read a byte stream code map displayed on a display screen of the data sending terminal;
  • the parsing module is configured to parse the byte stream code map read by the reading module to obtain corresponding data.
  • the reading module is a scanning reading module that reads by scanning a byte stream code diagram, or a shooting reading module that reads by taking a byte stream code map manner. .
  • the parsing module includes a byte stream parsing submodule and a restoring submodule:
  • the byte stream parsing sub-module is configured to parse the byte stream code graph to obtain a corresponding byte stream segment
  • the restoration processing sub-module is configured to perform a restoration operation on the byte stream segment to obtain corresponding data.
  • the embodiment of the invention further provides a data transmission system, comprising: a data sending terminal and a data receiving terminal;
  • the data sending terminal is configured to determine data to be sent, and convert the data to be sent into a byte stream code map.
  • the data receiving terminal is configured to read the byte stream code map displayed on the display screen of the data sending terminal, and parse the read byte stream code map to obtain corresponding data.
  • An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute any of the foregoing A data processing method.
  • the data processing method, the data sending and receiving terminal, and the data transmission system provided by the embodiment of the present invention after the data transmitting terminal determines the data to be sent, converts the data to be sent into a byte stream code map, and the byte stream code map is
  • the display is displayed on the display to be read by the data receiving terminal; the data receiving terminal reads the byte stream code map displayed on the display screen of the data transmitting terminal, and parses the read byte stream code map to obtain corresponding data.
  • the data transmission terminal and the data receiving terminal can realize data transmission through the byte stream code map, and the two do not need to rely on the network to establish a transmission channel through cumbersome operations; It is also unaffected by the state of the network, preventing network leakage of data transmission, better transmission efficiency, more stable transmission, and better confidentiality and security of transmission; since data of any data format can be converted into bytes.
  • Stream code map so the format of the data to be sent is also unlimited, can be mp3, doc, pdf and other relatively common data, can also be mobile phone text messages, contacts, applications and other special data, more versatile, can enhance users Satisfaction of experience.
  • FIG. 1 is a schematic structural diagram of a data transmission system according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic structural diagram of a data transmitting terminal in FIG. 1;
  • FIG. 3 is a schematic structural diagram 1 of a conversion module of the data transmitting terminal in FIG. 2;
  • FIG. 4 is a schematic structural diagram 2 of a conversion module of the data transmitting terminal in FIG. 2;
  • FIG. 5 is a schematic structural diagram of a data packet according to Embodiment 1 of the present invention.
  • FIG. 6 is a schematic structural diagram of a data receiving terminal in FIG. 1;
  • FIG. 7 is a schematic structural diagram of a parsing module of the data receiving terminal in FIG. 6;
  • FIG. 8 is a schematic flowchart of a data transmission method according to Embodiment 2 of the present invention.
  • FIG. 9 is a schematic flowchart of processing of a data sending terminal according to Embodiment 3 of the present invention.
  • FIG. 10 is a schematic diagram of a processing flow of a data receiving terminal according to Embodiment 3 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the data transmission system includes: a data sending terminal and a data receiving terminal;
  • the data transmitting terminal is configured to determine data to be sent, and convert the data to be sent into a byte stream code map.
  • the data receiving terminal is configured to read the byte stream code map displayed on the display screen of the data transmitting terminal, and parse the read byte stream code map to obtain corresponding data.
  • the byte stream code map in this embodiment refers to an image in which a byte stream is mapped to a bearer byte stream information by a byte stream code map generation algorithm.
  • the byte stream code map generation algorithm is various. This embodiment includes but is not limited to the following two algorithms.
  • the first type of lattice generation algorithm one byte represents 8-bit binary.
  • a dot matrix composed of 8 black and white dots can be used to represent an 8-bit binary data, wherein a black dot is used to represent 1
  • the white point indicates 0
  • the second digital generation algorithm 8-bit binary data can be replaced with 0-255 Arabic numerals, so the byte stream is represented by a plurality of Arabic numerals on the transmitting screen.
  • the data transmitting terminal and the data receiving terminal in this embodiment may be communication terminals such as various smart phones, IPADs, and PCs.
  • the data sending terminal in this embodiment includes: a sending data selection module, a conversion module, and a display module;
  • the sending data selection module is configured to determine data to be sent; the data to be sent in this embodiment may be data in a relatively common format such as mp3, doc, pdf, or may be a mobile phone short message, a contact, an application, various media, or text. Data in a special format;
  • the conversion module is configured to convert the data to be sent into a byte stream code map
  • the display module is configured to display the obtained byte stream code map on the display screen of the data transmitting terminal for reading by the data receiving terminal.
  • the data sending terminal in this embodiment may further include a user interface module, configured to provide an operable and graphical display interface for the user; the user may input corresponding instructions through the interface to complete the corresponding operation; the display in this embodiment
  • the interface specifically provides settings and displays of various parameters, byte stream code map display, total number of byte stream code maps, and switching options/buttons that indicate user switching between byte stream code maps.
  • the sending data selection module in this embodiment may determine the data to be sent according to the instruction input by the user; of course, in some application scenarios, the sending data selection module may also select the data to be sent according to other conditions, for example, when the application scenario is synchronized at the timing. The data selection module can automatically select the corresponding data to be synchronized as the data to be sent after the timer expires.
  • the conversion module in this embodiment includes a capacity determining submodule, a byte stream conversion submodule, a data demolition molecular module, and a byte stream code graph generation submodule, where:
  • the capacity determining sub-module is configured to determine a data capacity that can be carried by the single-byte byte stream code map; specifically, the data capacity that can be carried by the single-byte byte stream code map can be determined according to the display resolution information of the data transmitting terminal; for example, if the sending The resolution of the end screen is 1024*960, then the pixel of the screen is 983040.
  • the byte stream conversion submodule is configured to convert the data to be sent into a byte stream
  • the data splitting module is configured to split the byte stream into a plurality of byte stream segments according to a data capacity that can be carried by a single byte stream code map;
  • the byte stream code map generation sub-module is used to convert each byte stream segment into a byte stream code pattern by using a byte stream code graph algorithm.
  • the conversion module in this embodiment may further include a data packet component submodule and/or an encryption submodule; as shown in FIG. 4, the conversion module includes a data packet component submodule and an encryption submodule; wherein:
  • the data packet component sub-module is used to convert a byte stream segment into a byte stream code graph generation sub-module.
  • a packet is formed after adding a header to the byte stream segment.
  • the main function of adding a packet header in this embodiment is to identify which original data the byte stream segment belongs to and location information in the original data, and the like; the packet header includes at least location information of the byte stream segment in the original data.
  • the data packet includes a packet header and a data content, wherein the data content is the above byte stream segment; the packet header may specifically include a file type, a data start position, a data end position, a data length, and an encryption.
  • the algorithm the total length of the packet, the current byte stream code map index, the total number of byte stream code maps, and so on.
  • the packetized data may be parsed according to the header identification information and written to the local file of the receiving end.
  • the file type indicates which type of file the valid data in the packet data comes from, mp3, docx or special types of data such as contacts and text messages in the mobile phone. After the receiving end learns these file types, it can write valid data to the receiving end locally by using different writing methods.
  • the starting position indicates the starting position of the valid data in the original file. After the receiving end obtains the valid data, the valid data needs to be written locally at the receiving end.
  • the end position indicates the end of valid data in the original file.
  • the data length represents the length of the valid data in the packet.
  • the encryption algorithm is used to indicate that the packet data of the sender is encrypted. After the receiver resolves the identifier, it can be used to verify whether the decryption algorithm of the receiver matches the encryption algorithm of the sender.
  • the total length of the packet indicates the length of the entire packetized data.
  • the current byte stream code map index indicates the index of the byte stream code map scanned or captured by the receiving end from the transmitting end.
  • the index also indicates the index of the valid segmentation data being obtained by the receiver.
  • the total number of byte stream code graphs indicates the total number of byte stream code maps that the receiver needs to scan or capture from the sender before the file transfer is completed. It also represents the total number of segment data that needs to be received before the file is received.
  • the encryption sub-module is used to convert a byte stream segment into a byte stream code generation sub-module Before the byte stream code map, the byte stream segment is encrypted to improve the security of data transmission.
  • the encryption sub-module may specifically encrypt the packet sub-module after adding the header to the byte stream segment.
  • the encryption algorithm used can be flexibly selected according to actual needs.
  • Each module in the data transmitting terminal can be implemented by a microprocessor or a logic programmable gate array (FPGA) of the data transmitting terminal.
  • FPGA logic programmable gate array
  • the data receiving terminal in this embodiment includes: a reading module and a parsing module;
  • the reading module is configured to read a byte stream code map displayed on a display screen of the data transmitting terminal;
  • the parsing module is configured to parse the byte stream code map read by the reading module to obtain corresponding data.
  • the specific readable module in this embodiment is a scanning and reading module that reads by scanning a byte stream code diagram, or a shooting and reading module that reads by reading a byte stream code map; both can be It is realized by the camera that comes with the terminal or an external camera.
  • the data receiving terminal in this embodiment may also include a user interface module for providing an operable, graphical display interface for the user, for example, including a button for providing a photo or scan.
  • a user interface module for providing an operable, graphical display interface for the user, for example, including a button for providing a photo or scan.
  • the parsing module in this embodiment includes a byte stream parsing submodule and a restoring submodule:
  • the byte stream parsing sub-module is configured to parse the byte stream code map to obtain a corresponding byte stream segment, which may be implemented by using an optical character recognition (OCR) technique or the like;
  • OCR optical character recognition
  • the restoration processing sub-module is used to perform a restoration operation on the byte stream segment to obtain corresponding data.
  • the parsing module in this embodiment may further include a packet parsing submodule and a decrypting submodule when the data sending terminal adds a header and performs encryption processing on the byte stream segment during the sending process;
  • the decryption sub-module is configured to decrypt the byte stream segment parsed by the byte stream parsing sub-module, and the decryption algorithm used in the decryption process and the encryption algorithm used by the data transmitting terminal correspond;
  • the packet parsing sub-module parses the header of the byte stream segment to obtain corresponding information, including specific file type, data starting position, data ending position, data length, encryption algorithm, total packet length, current word.
  • the information of the throttle code map index and the total number of byte stream code maps, the restoration processing sub-module restores the data content portion of the byte stream segment to obtain data and inserts it into the corresponding position in the original data according to the packet header information.
  • Each module in the data receiving terminal can be implemented by a microprocessor or a logic programmable gate array (FPGA) of the data receiving terminal.
  • FPGA logic programmable gate array
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the data transmission method provided by this implementation includes:
  • Step 801 The data sending terminal determines the data to be sent.
  • the data to be sent in this embodiment may be data in a relatively common format such as mp3, doc, or pdf, or may be a short message, a contact, an application, or various media.
  • Data in a special format such as text;
  • Step 802 The data sending terminal converts the data to be sent into a byte stream code map.
  • Step 803 The data sending terminal displays the byte stream code map on the display screen for reading by the data receiving terminal.
  • Step 804 The data receiving terminal reads a byte stream code map displayed on a display screen of the data sending terminal.
  • Step 805 The data receiving terminal parses the read byte stream code map to obtain corresponding data.
  • the process of converting the data to be transmitted into the byte stream code map in the above step 802 includes:
  • Determining a data capacity that can be carried by a single byte stream code map specifically, determining, according to display resolution information of the data transmitting terminal, a data capacity that can be carried by the single byte stream code map;
  • the byte stream code graph algorithm is used to convert each segment of the byte stream into a byte stream code map.
  • a header may be added to the byte stream segment, and the main function of adding the packet header in this embodiment is It is to identify which original data the byte stream belongs to and the location information in the original data, etc.; the header includes at least the location information of the byte stream in the original data.
  • the packet header may include a file type, a data start position, a data end position, a data length, an encryption algorithm, a total packet length, a current byte stream code map index, and a total number of byte stream code maps.
  • the packetized data may be parsed according to the header identification information and written to the local file of the receiving end.
  • the byte stream segment can be encrypted to improve the security of data transmission.
  • the header can be encrypted after it has been added to the byte stream segment.
  • the encryption algorithm used can be flexibly selected according to actual needs.
  • the data receiving terminal can read the byte stream code map displayed on the display screen of the data transmitting terminal by scanning or photographing through its own camera or peripheral camera;
  • the data receiving terminal parses the read byte stream code map to obtain a corresponding
  • the process of data includes:
  • the byte stream code map is parsed to obtain a corresponding byte stream segment, which can be implemented by using OCR (Optical Character Recognition) and other technologies;
  • the restoration operation is performed on the byte stream segment to obtain corresponding data.
  • the parsed byte stream segment needs to be decrypted, and the decryption algorithm and the data transmitting terminal used in the decryption process are used.
  • the encryption algorithm used then parsing the header of the byte stream segment to obtain corresponding information, including specific file types, data starting positions, and numbers According to the end position, the data length, the encryption algorithm, the total length of the packet, the current byte stream code map index, the total number of byte stream code maps, etc., finally the data content part of the byte stream segment is restored to obtain data according to The header information is inserted into the corresponding location in the original data.
  • the restored data can be stored in a memory local to the data receiving terminal and can be stored in a remote database.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • a data transmission terminal and a data receiving terminal are both used as a mobile phone, and a more specific and detailed description of the solution of the present invention is made.
  • the processing flow of the data sending terminal includes:
  • Step 901 Select data to be sent according to a user instruction, such as a format such as mp3, docx, or special data such as a mobile phone contact, a short message, or the like;
  • Step 902 Read the determined data to be sent and convert it into a byte stream.
  • Step 903 Calculate the data information capacity carried by each byte stream code picture that can be displayed on the display UI according to the resolution of the data display terminal display screen and the like;
  • Step 904 According to the data information capacity calculated in step 903, the byte stream obtained in step 902 is segmented to obtain a plurality of byte stream segments, and sequentially stored in the data transmitting terminal memory;
  • Step 905 Read a segmentation data from the data transmission terminal memory, and go to step 906.
  • Step 906 Add important header information, such as file type, data start position, data end position, data length, current byte stream code map index, byte stream code, in front of the segment data read in step 905.
  • the total number of graphs and other header information, and the segment data constitutes a complete subcontracting data. Then go to step 907.
  • Step 907 Encrypt the packetized byte stream data obtained in step 906 to obtain the encrypted packetized data.
  • Step 908 Apply a specific image generation algorithm to the encrypted packetized data stream to generate a generation
  • the table divides the byte stream code map of the data stream, and displays the byte stream code image on the UI of the data sending terminal;
  • Step 909 After successfully displaying the encrypted data stream on the display terminal UI of the data transmitting terminal in step 908, waiting for the data receiving end to scan or take a picture;
  • Step 910 If the data receiving terminal successfully scans or captures the byte stream code map generated in step 908, then go to step 911, and the data transmitting terminal displays the next byte stream code map, that is, the next segment data stream. If the data receiving terminal scans or the byte stream code map generated by the shooting step 908 fails, then go to step 905, re-read the original segment byte stream and regenerate the byte stream code map;
  • Step 911 Display the next byte stream code map, that is, the entry of the next segment data
  • Step 912 Determine whether there is any next unsent segmentation data. If yes, go to step 905 to read the next segmentation data; otherwise, it indicates that the segmentation has been sent.
  • the processing flow of the data receiving terminal is as shown in FIG. 10, and includes the following specific steps:
  • Step 1001 Enable an application of the data receiving end, and use the camera function of the data receiving device to capture or scan the byte stream code map generated in the above step 908 to obtain a byte stream code image;
  • Step 1002 Using image processing technology, processing the image obtained in step 1001, parsing the byte stream information represented by the byte stream code map, and saving the byte stream;
  • Step 1003 Determine whether the image parsing is successful, if unsuccessful, go to step 1001 to re-scan the byte stream code map; if successful, go to step 1004;
  • Step 1004 Decrypt the byte stream obtained in step 1002 by using the data decryption algorithm corresponding to step S207 to obtain packetized data. Then go to step 1005;
  • Step 1005 Parse the packetized data transmitted in step 1004 to obtain packet header information such as file type, data start position, data end position, data length, encryption algorithm, total packet length, and current byte stream code. Graph index, total number of byte stream code graphs, and valid data for the original byte stream. At the same time, the packet data validity check is performed. If the data packet is invalid, go to step 1001. Rescanning the image; if it is valid, it will go to step 1006;
  • Step 1006 According to the file type, data start position, data length and other useful information obtained in step 1005, the obtained original valid segment data is written into the original data or the original file corresponding to the data receiving terminal according to the file type.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • the embodiment provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the data processing method shown in any of FIG. 8, FIG. 9, and FIG. .
  • the embodiment of the present invention has at least the following advantages:
  • the transmitted data content will not be limited to a single data type, and can support the transmission extension of any data type.
  • the technical solution provided by the present invention fully utilizes the screen of the communication device and the camera photographing or scanning function, establishes a special channelless transmission mode between the communication devices, and analyzes the byte stream code map by using image processing technology, and completes Unformatted data transfer between communication devices.
  • the transmission method is novel and unique, which effectively improves the confidentiality and security of data transmission.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage medium includes: a mobile storage device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk, or an optical disk.
  • RAM random access memory
  • ROM read-only memory
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making A computer device (which may be a personal computer, server, or network device, etc.) performs all or part of the methods described in various embodiments of the present invention.
  • a computer device which may be a personal computer, server, or network device, etc.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a RAM, a ROM, a magnetic disk, or an optical disk.

Abstract

Disclosed are a data processing method, a data sending and receiving terminal, a data transmission system and a computer storage medium. The method comprises: after a data sending terminal determines data to be sent, converting the data to be sent into a byte flow code graph, and displaying the byte flow code graph on a display screen for a data receiving terminal to read; and reading, by the data receiving terminal, the byte flow code graph displayed on the display screen of the data sending terminal, and parsing the byte flow code graph which is read, so as to obtain corresponding data.

Description

数据处理方法、数据发送及接收终端、数据传输系统Data processing method, data transmitting and receiving terminal, data transmission system 技术领域Technical field
本发明涉及通信领域中的数据处理技术,具体涉及一种数据处理方法、数据发送及接收终端、数据传输系统及计算机存储介质。The present invention relates to data processing technologies in the field of communications, and in particular, to a data processing method, a data transmitting and receiving terminal, a data transmission system, and a computer storage medium.
背景技术Background technique
随着信息科技的高速发展,特别是目前大数据、大流量信息的普及,以及用户在日常生活中多样化的需求,通信设备间高效的信息传输速率以及多样的数据共享方法也越来越受到人们的广泛关注。With the rapid development of information technology, especially the popularization of big data and large-flow information, and the diversified needs of users in daily life, the efficient information transmission rate between communication devices and various data sharing methods are also increasingly affected. People's widespread concern.
在目前的市场上,通信设备间数据的传输与共享方法,一般采取的是利用设备间共有的通信模块,通过无线保真(WiFi,WIreless FIdelity)、安卓调试桥(ADB,Android Debug Bridge)、蓝牙、近场通信(NFC,Near Field Communication)等传输媒质,建立起信息传输连接通道,来完成如音频、视频、图片、文档等的共享传输。上述的数据共享方式,已经有了不少成熟的方案和系统,比如利用蓝牙互传、利用WiFi连接的文件传输协议(FTP,File Transfer Protocol)传输等。但是这些传输方法和系统在数据正式传输前,需要通过繁琐的操作步骤与流程来建立通信设备间的数据传输通道连接,而且传输速率与传输稳定性也会受到网络状况的影响;另外,这些传输方法对发送数据的格式也有限制和要求,不能很好的支持除文档外比如手机联系人、短信等特殊数据的传输与共享,降低了用户体验的满意度。In the current market, the method for transmitting and sharing data between communication devices generally adopts a communication module shared between devices, through wireless fidelity (WiFi, WIreless FIdelity), Android debugging bridge (ADB, Android Debug Bridge), Bluetooth, Near Field Communication (NFC, Near Field Communication) and other transmission media, establish information transmission connection channels to complete shared transmission such as audio, video, pictures, documents. The above data sharing methods have already had a lot of mature schemes and systems, such as the use of Bluetooth inter-transmission, File Transfer Protocol (FTP) transmission using WiFi connection. However, before the data is officially transmitted, these transmission methods and systems need to establish a data transmission channel connection between communication devices through cumbersome operation steps and processes, and the transmission rate and transmission stability are also affected by network conditions; in addition, these transmissions are affected. The method also has restrictions and requirements on the format of the transmitted data, and cannot well support the transmission and sharing of special data such as mobile phone contacts and short messages, such as mobile phone contacts and short messages, thereby reducing the satisfaction of the user experience.
发明内容Summary of the invention
本发明实施例提供一种数据处理方法、数据发送及接收终端、数据传输系统,能够突破相关技术中数据发送终端和数据接收终端之间传输数据时需先通过繁琐的操作建立传输通道的限制、以及对传输数据格式的限制。 The embodiment of the invention provides a data processing method, a data transmitting and receiving terminal, and a data transmission system, which can break through the limitation of establishing a transmission channel through a cumbersome operation when transmitting data between the data transmitting terminal and the data receiving terminal in the related art. And restrictions on the format of the transmitted data.
本发明实施例提供一种数据处理方法,包括:The embodiment of the invention provides a data processing method, including:
数据发送终端确定待发送数据;The data transmitting terminal determines the data to be sent;
数据发送终端将所述待发送数据转换成字节流码图;The data transmitting terminal converts the to-be-sent data into a byte stream code map;
数据发送终端将所述字节流码图在显示屏上进行显示待数据接收终端读取。The data transmitting terminal displays the byte stream code map on the display screen to be read by the data receiving terminal.
在本发明的一种实施例中,数据发送终端将所述待发送数据转换成字节流码图包括:In an embodiment of the present invention, the data transmitting terminal converting the data to be sent into a byte stream code map includes:
数据发送终端确定字节流码图可承载的数据容量;The data transmitting terminal determines the data capacity that the byte stream code map can carry;
数据发送终端将所述待发送数据转换成字节流;The data transmitting terminal converts the to-be-sent data into a byte stream;
数据发送终端根据字节流码图可承载的数据容量将所述字节流拆分成字节流段;The data transmitting terminal splits the byte stream into byte stream segments according to a data capacity that can be carried by the byte stream code map;
数据发送终端采用字节流码图算法将每段字节流段转换成字节流码图。The data transmitting terminal uses a byte stream code graph algorithm to convert each segment of the byte stream into a byte stream code map.
在本发明的一种实施例中,数据发送终端确定字节流码图可承载的数据容量包括:In an embodiment of the present invention, the data sending terminal determines that the data capacity that the byte stream code map can bear includes:
数据发送终端获取其显示屏的分辨率信息;The data transmitting terminal acquires resolution information of its display screen;
数据发送终端根据所述分辨率信息确定单张字节流码图可承载的数据容量。The data transmitting terminal determines, according to the resolution information, a data capacity that can be carried by the single byte stream code map.
在本发明的一种实施例中,数据发送终端将一字节流段转换成一张字节流码图之前,还包括:In an embodiment of the present invention, before the data transmitting terminal converts the one-byte stream segment into a byte stream code map, the method further includes:
数据发送终端为所述字节流段添加包头,所述包头至少包括所述字节流段在原数据中的位置信息。The data transmitting terminal adds a packet header to the byte stream segment, and the packet header includes at least location information of the byte stream segment in the original data.
本发明实施例还提供了一种数据处理方法,包括:The embodiment of the invention further provides a data processing method, including:
数据接收终端读取所述数据发送终端显示屏上显示的字节流码图;The data receiving terminal reads the byte stream code map displayed on the display screen of the data transmitting terminal;
数据接收终端对读取的字节流码图进行解析得到对应的数据。 The data receiving terminal parses the read byte stream code map to obtain corresponding data.
在本发明的一种实施例中,数据接收终端读取所述数据发送终端显示的字节流码图包括:数据接收终端通过扫描或拍摄的方式读取所述字节流码图。In an embodiment of the present invention, the data receiving terminal reads the byte stream code map displayed by the data transmitting terminal, and the data receiving terminal reads the byte stream code map by scanning or photographing.
在本发明的一种实施例中,数据接收终端对读取的字节流码图进行解析得到对应的数据包括:In an embodiment of the present invention, the data receiving terminal parses the read byte stream code map to obtain corresponding data, including:
数据接收终端对所述字节流码图进行解析得到对应的字节流段;The data receiving terminal parses the byte stream code map to obtain a corresponding byte stream segment;
数据接收终端对所述字节流段进行还原操作得到对应的数据。The data receiving terminal performs a restoration operation on the byte stream segment to obtain corresponding data.
本发明实施例还提供了一种数据处理方法,包括:The embodiment of the invention further provides a data processing method, including:
数据发送终端确定待发送数据;The data transmitting terminal determines the data to be sent;
数据发送终端将所述待发送数据转换成字节流码图;The data transmitting terminal converts the to-be-sent data into a byte stream code map;
数据发送终端将所述字节流码图在显示屏上进行显示以供数据接收终端读取;The data transmitting terminal displays the byte stream code map on the display screen for reading by the data receiving terminal;
数据接收终端读取所述数据发送终端显示屏上显示的字节流码图;The data receiving terminal reads the byte stream code map displayed on the display screen of the data transmitting terminal;
数据接收终端对读取的字节流码图进行解析得到对应的数据。The data receiving terminal parses the read byte stream code map to obtain corresponding data.
本发明实施例还提供了一种数据发送终端,包括:发送数据选择模块、转换模块以及显示模块;The embodiment of the invention further provides a data sending terminal, comprising: a sending data selection module, a conversion module and a display module;
发送数据选择模块用于确定待发送数据;The sending data selection module is configured to determine data to be sent;
转换模块用于将所述待发送数据转换成字节流码图;The conversion module is configured to convert the to-be-sent data into a byte stream code map;
显示模块用于将所述字节流码图在数据发送终端的显示屏上进行显示待数据接收终端读取。The display module is configured to display the byte stream code map on the display screen of the data sending terminal to be read by the data receiving terminal.
在本发明的一种实施例中,转换模块包括容量确定子模块、字节流转换子模块、数据拆分子模块以及字节流码图生成子模块;In an embodiment of the present invention, the conversion module includes a capacity determining submodule, a byte stream conversion submodule, a data splitting molecular module, and a byte stream code graph generating submodule;
容量确定子模块用于确定字节流码图可承载的数据容量;The capacity determining submodule is configured to determine a data capacity that the byte stream code map can carry;
字节流转换子模块用于将所述待发送数据转换成字节流;a byte stream conversion submodule is configured to convert the to-be-sent data into a byte stream;
数据拆分子模块用于根据字节流码图可承载的数据容量将所述字节流 拆分成字节流段;The data splitting module is configured to stream the byte according to a data capacity that can be carried by the byte stream code map Split into byte stream segments;
字节流码图生成子模块用于采用字节流码图算法将每段字节流段转换成字节流码图。The byte stream code map generation sub-module is used to convert each byte stream segment into a byte stream code map by using a byte stream code graph algorithm.
本发明实施例还提供了一种数据接收终端,包括:读取模块、解析模块;The embodiment of the invention further provides a data receiving terminal, comprising: a reading module and a parsing module;
读取模块用于读取所述数据发送终端显示屏上显示的字节流码图;The reading module is configured to read a byte stream code map displayed on a display screen of the data sending terminal;
解析模块用于对读取模块读取的字节流码图进行解析得到对应的数据。The parsing module is configured to parse the byte stream code map read by the reading module to obtain corresponding data.
在本发明的一种实施例中,所述读取模块为通过扫描字节流码图方式进行读取的扫描读取模块,或通过拍摄字节流码图方式进行读取的拍摄读取模块。In an embodiment of the invention, the reading module is a scanning reading module that reads by scanning a byte stream code diagram, or a shooting reading module that reads by taking a byte stream code map manner. .
在本发明的一种实施例中,所述解析模块包括字节流解析子模块和还原处理子模块:In an embodiment of the present invention, the parsing module includes a byte stream parsing submodule and a restoring submodule:
字节流解析子模块用于对所述字节流码图进行解析得到对应的字节流段;The byte stream parsing sub-module is configured to parse the byte stream code graph to obtain a corresponding byte stream segment;
还原处理子模块用于对所述字节流段进行还原操作得到对应的数据。The restoration processing sub-module is configured to perform a restoration operation on the byte stream segment to obtain corresponding data.
本发明实施例还提供了一种数据传输系统,包括:数据发送终端和数据接收终端;The embodiment of the invention further provides a data transmission system, comprising: a data sending terminal and a data receiving terminal;
数据发送终端用于确定待发送数据,将所述待发送数据转换成字节流码图,The data sending terminal is configured to determine data to be sent, and convert the data to be sent into a byte stream code map.
并将所述字节流码图在显示屏上进行显示待数据接收终端读取;And displaying the byte stream code map on the display screen to be read by the data receiving terminal;
数据接收终端用于读取所述数据发送终端显示屏上显示的字节流码图,对读取的字节流码图进行解析得到对应的数据。The data receiving terminal is configured to read the byte stream code map displayed on the display screen of the data sending terminal, and parse the read byte stream code map to obtain corresponding data.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行以上所述的任意 一种数据处理方法。An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute any of the foregoing A data processing method.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
本发明实施例提供的数据处理方法、数据发送及接收终端、数据传输系统,数据发送终端确定待发送数据后,将该待发送数据转换成字节流码图,并将字节流码图在显示屏上进行显示以待数据接收终端读取;数据接收终端读取数据发送终端显示屏上显示的字节流码图,对读取的字节流码图进行解析即可得到对应的数据。可见,本发明实施例中数据发送终端和数据接收终端之间可通过字节流码图实现数据的传输,二者之间并不需要依靠网络通过繁琐的操作先建立传输通道;在传输过程中也不会受网络状态的影响,可防止数据传输的网络泄露,传输效率更好、传输更稳定,且传输的保密性和安全性也更好;由于可将任何数据格式的数据转换成字节流码图,因此对待发送数据的格式也无限制,可以是mp3、doc、pdf等比较通用的数据,也可以是手机短信、联系人、应用程序等特殊数据,通用性更好,能提升用户体验的满意度。The data processing method, the data sending and receiving terminal, and the data transmission system provided by the embodiment of the present invention, after the data transmitting terminal determines the data to be sent, converts the data to be sent into a byte stream code map, and the byte stream code map is The display is displayed on the display to be read by the data receiving terminal; the data receiving terminal reads the byte stream code map displayed on the display screen of the data transmitting terminal, and parses the read byte stream code map to obtain corresponding data. It can be seen that, in the embodiment of the present invention, the data transmission terminal and the data receiving terminal can realize data transmission through the byte stream code map, and the two do not need to rely on the network to establish a transmission channel through cumbersome operations; It is also unaffected by the state of the network, preventing network leakage of data transmission, better transmission efficiency, more stable transmission, and better confidentiality and security of transmission; since data of any data format can be converted into bytes. Stream code map, so the format of the data to be sent is also unlimited, can be mp3, doc, pdf and other relatively common data, can also be mobile phone text messages, contacts, applications and other special data, more versatile, can enhance users Satisfaction of experience.
附图说明DRAWINGS
图1为本发明实施例一提供的数据传输系统结构示意图;1 is a schematic structural diagram of a data transmission system according to Embodiment 1 of the present invention;
图2为图1中数据发送终端的结构示意图;2 is a schematic structural diagram of a data transmitting terminal in FIG. 1;
图3为图2中数据发送终端的转换模块的结构示意图一;3 is a schematic structural diagram 1 of a conversion module of the data transmitting terminal in FIG. 2;
图4为图2中数据发送终端的转换模块的结构示意图二;4 is a schematic structural diagram 2 of a conversion module of the data transmitting terminal in FIG. 2;
图5为本发明实施例一提供的数据包结构示意图;FIG. 5 is a schematic structural diagram of a data packet according to Embodiment 1 of the present invention; FIG.
图6为图1中数据接收终端的结构示意图;6 is a schematic structural diagram of a data receiving terminal in FIG. 1;
图7为图6中数据接收终端的解析模块的结构示意图;7 is a schematic structural diagram of a parsing module of the data receiving terminal in FIG. 6;
图8为本发明实施例二提供的数据传输方法流程示意图;8 is a schematic flowchart of a data transmission method according to Embodiment 2 of the present invention;
图9为本发明实施例三提供的数据发送终端处理流程示意图;9 is a schematic flowchart of processing of a data sending terminal according to Embodiment 3 of the present invention;
图10为本发明实施例三提供的数据接收终端处理流程示意图。 FIG. 10 is a schematic diagram of a processing flow of a data receiving terminal according to Embodiment 3 of the present invention.
具体实施方式detailed description
下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.
实施例一:Embodiment 1:
请参见图1所示,本实施例提供的数据传输系统包括:数据发送终端和数据接收终端;其中,Referring to FIG. 1 , the data transmission system provided in this embodiment includes: a data sending terminal and a data receiving terminal;
数据发送终端用于确定待发送数据,将待发送数据转换成字节流码图,The data transmitting terminal is configured to determine data to be sent, and convert the data to be sent into a byte stream code map.
并将得到的字节流码图在显示屏上进行显示待数据接收终端读取;And the obtained byte stream code map is displayed on the display screen to be read by the data receiving terminal;
数据接收终端用于读取数据发送终端显示屏上显示的字节流码图,对读取的字节流码图进行解析得到对应的数据。The data receiving terminal is configured to read the byte stream code map displayed on the display screen of the data transmitting terminal, and parse the read byte stream code map to obtain corresponding data.
本实施例中的字节流码图,是指通过字节流码图生成算法将字节流映射为可承载字节流信息的图像。字节流码图生成算法多样,本实施例包括但不局限于以下两种算法。第一种点阵生成算法:一个字节代表8位二进制,在发送端屏幕上,可以用8个黑白点组成的点阵来表示一个8位的二进制数据,其中用黑点来表示1,用白点来表示0;第二种数字生成算法:8位的二进制数据可以用0-255的阿拉伯数字来代替,故在发送端屏幕上将字节流用多个阿拉伯数字来表示。The byte stream code map in this embodiment refers to an image in which a byte stream is mapped to a bearer byte stream information by a byte stream code map generation algorithm. The byte stream code map generation algorithm is various. This embodiment includes but is not limited to the following two algorithms. The first type of lattice generation algorithm: one byte represents 8-bit binary. On the screen of the transmitting end, a dot matrix composed of 8 black and white dots can be used to represent an 8-bit binary data, wherein a black dot is used to represent 1 The white point indicates 0; the second digital generation algorithm: 8-bit binary data can be replaced with 0-255 Arabic numerals, so the byte stream is represented by a plurality of Arabic numerals on the transmitting screen.
本实施例中的数据发送终端和数据接收终端可以是各种智能手机、IPAD、PC等通信终端。例如,请参见图2所示,本实施例中的数据发送终端包括:发送数据选择模块、转换模块以及显示模块;The data transmitting terminal and the data receiving terminal in this embodiment may be communication terminals such as various smart phones, IPADs, and PCs. For example, as shown in FIG. 2, the data sending terminal in this embodiment includes: a sending data selection module, a conversion module, and a display module;
发送数据选择模块用于确定待发送数据;本实施例中的待发送数据可以是mp3、doc、pdf等比较通用格式的数据,也可以是手机短信、联系人、应用程序、各种媒体、文本等特殊格式的数据;The sending data selection module is configured to determine data to be sent; the data to be sent in this embodiment may be data in a relatively common format such as mp3, doc, pdf, or may be a mobile phone short message, a contact, an application, various media, or text. Data in a special format;
转换模块用于将待发送数据转换成字节流码图;The conversion module is configured to convert the data to be sent into a byte stream code map;
显示模块用于将得到字节流码图在数据发送终端的显示屏上进行显示,以供数据接收终端读取。 The display module is configured to display the obtained byte stream code map on the display screen of the data transmitting terminal for reading by the data receiving terminal.
本实施例中的数据发送终端还可包括用户界面模块,用于负责为用户提供可操作、图形化的显示界面;用户可通过该界面输入相应的指令完成相应的操作;本实施例中的显示界面具体可提供各种参数的设置和显示、字节流码图显示、字节流码图总数显示以及指示用户在字节流码图之间切换的切换选项/按钮等。本实施例中的发送数据选择模块则可根据用户输入的指令确定待发送数据;当然,在一些应用场景下,发送数据选择模块也可根据其他条件选择待发送数据,例如当在定时同步应用场景中,数据选择模块在定时器到时后即可自动选择对应的待同步数据作为待发送数据。The data sending terminal in this embodiment may further include a user interface module, configured to provide an operable and graphical display interface for the user; the user may input corresponding instructions through the interface to complete the corresponding operation; the display in this embodiment The interface specifically provides settings and displays of various parameters, byte stream code map display, total number of byte stream code maps, and switching options/buttons that indicate user switching between byte stream code maps. The sending data selection module in this embodiment may determine the data to be sent according to the instruction input by the user; of course, in some application scenarios, the sending data selection module may also select the data to be sent according to other conditions, for example, when the application scenario is synchronized at the timing. The data selection module can automatically select the corresponding data to be synchronized as the data to be sent after the timer expires.
请参见图3所示,本实施例中的转换模块包括容量确定子模块、字节流转换子模块、数据拆分子模块以及字节流码图生成子模块,其中:Referring to FIG. 3, the conversion module in this embodiment includes a capacity determining submodule, a byte stream conversion submodule, a data demolition molecular module, and a byte stream code graph generation submodule, where:
容量确定子模块用于确定单张字节流码图可承载的数据容量;具体可根据数据发送终端的显示屏分辨率信息确定单张字节流码图可承载的数据容量;例如:如发送端屏幕的分辨率是1024*960,那么该屏幕的像素点即为983040个。采用上述的点阵生成算法来生成字节流码图,即一个字节用八个黑白的点阵来表示。理想情况下,用一个像素来表示一个黑点或者白点的话,一个字节流码图可容纳983040/8=122880个字节。实际情况中,也可用多个像素点表示一个黑点或者白点,数据容量也会相应减少;The capacity determining sub-module is configured to determine a data capacity that can be carried by the single-byte byte stream code map; specifically, the data capacity that can be carried by the single-byte byte stream code map can be determined according to the display resolution information of the data transmitting terminal; for example, if the sending The resolution of the end screen is 1024*960, then the pixel of the screen is 983040. The dot matrix generation algorithm described above is used to generate a byte stream code map, that is, one byte is represented by eight black and white dot matrix. Ideally, a one-byte stream code map can hold 983040/8 = 122880 bytes if one pixel is used to represent a black or white point. In actual situations, multiple pixels can also be used to represent a black dot or white point, and the data capacity will be reduced accordingly;
字节流转换子模块用于将待发送数据转换成字节流;The byte stream conversion submodule is configured to convert the data to be sent into a byte stream;
数据拆分子模块用于根据单张字节流码图可承载的数据容量将该字节流拆分成若干字节流段;The data splitting module is configured to split the byte stream into a plurality of byte stream segments according to a data capacity that can be carried by a single byte stream code map;
字节流码图生成子模块用于采用字节流码图算法将每段字节流段转换成一张字节流码图。The byte stream code map generation sub-module is used to convert each byte stream segment into a byte stream code pattern by using a byte stream code graph algorithm.
本实施例中的转换模块还可包括数据包组成子模块和/或加密子模块;请参见图4所示,转换模块包括数据包组成子模块和加密子模块;其中:The conversion module in this embodiment may further include a data packet component submodule and/or an encryption submodule; as shown in FIG. 4, the conversion module includes a data packet component submodule and an encryption submodule; wherein:
数据包组成子模块用于在字节流码图生成子模块将一字节流段转换成 一张字节流码图之前,为该字节流段添加包头后形成数据包。本实施例中添加包头的主要作用是为标识该字节流段属于哪个原数据以及在原数据中的位置信息等;包头至少包括所述字节流段在原数据中的位置信息。例如,请参见图5所示,数据包包括包头和数据内容两部分,其中数据内容则是上述字节流段;包头具体可包括文件类型、数据起始位置、数据结束位置、数据长度、加密算法、分包总长度、当前字节流码图索引、字节流码图总数等字段。相应的,在数据接收过程中,则可以对分包数据依据包头标识信息进行解析并写入接收端本地文件。The data packet component sub-module is used to convert a byte stream segment into a byte stream code graph generation sub-module. Before a byte stream code map, a packet is formed after adding a header to the byte stream segment. The main function of adding a packet header in this embodiment is to identify which original data the byte stream segment belongs to and location information in the original data, and the like; the packet header includes at least location information of the byte stream segment in the original data. For example, as shown in FIG. 5, the data packet includes a packet header and a data content, wherein the data content is the above byte stream segment; the packet header may specifically include a file type, a data start position, a data end position, a data length, and an encryption. The algorithm, the total length of the packet, the current byte stream code map index, the total number of byte stream code maps, and so on. Correspondingly, in the data receiving process, the packetized data may be parsed according to the header identification information and written to the local file of the receiving end.
其中包头中各个字段的含义如下:The meaning of each field in the header is as follows:
文件类型表明分包数据中的有效数据来源于何种类型的文件,mp3、docx或者是手机中的联系人、短信等特殊类型的数据。接收端获悉这些文件类型后,就可以用不同的写入方式将有效数据写入接收端本地。The file type indicates which type of file the valid data in the packet data comes from, mp3, docx or special types of data such as contacts and text messages in the mobile phone. After the receiving end learns these file types, it can write valid data to the receiving end locally by using different writing methods.
起始位置表明有效数据在原始文件中的起始位置,接收端获得有效数据后,需要在接收端本地以该起始位置写入有效数据。The starting position indicates the starting position of the valid data in the original file. After the receiving end obtains the valid data, the valid data needs to be written locally at the receiving end.
结束位置表明有效数据在原始文件中的结束位置。The end position indicates the end of valid data in the original file.
数据长度代表分包中有效数据的长度。The data length represents the length of the valid data in the packet.
加密算法则用来表明发送端分包数据被加密的方法。接收端解析得到该标识后,可以用来验证接收端的解密算法是否与发送端的加密算法匹配。The encryption algorithm is used to indicate that the packet data of the sender is encrypted. After the receiver resolves the identifier, it can be used to verify whether the decryption algorithm of the receiver matches the encryption algorithm of the sender.
分包总长度表明整个分包数据的长度。The total length of the packet indicates the length of the entire packetized data.
当前字节流码图索引表示接收端从发送端扫描或者拍摄得到的字节流码图的索引。该索引也表明接收端正在获得的有效分段数据的索引。The current byte stream code map index indicates the index of the byte stream code map scanned or captured by the receiving end from the transmitting end. The index also indicates the index of the valid segmentation data being obtained by the receiver.
字节流码图总数表示在文件传输完成前,接收端从发送端共需要扫描或者拍摄的字节流码图的总数量,也代表文件接收完成前总共需要接收的分段数据的数量。The total number of byte stream code graphs indicates the total number of byte stream code maps that the receiver needs to scan or capture from the sender before the file transfer is completed. It also represents the total number of segment data that needs to be received before the file is received.
加密子模块则用于在字节流码图生成子模块将一字节流段转换成一张 字节流码图之前,对为该字节流段进行加密处理,以提升数据传输的安全性。例如,加密子模块具体可在数据包组成子模块为字节流段添加完包头后对其进行加密处理。其采用的加密算法具体可根据实际需求进行灵活选择。The encryption sub-module is used to convert a byte stream segment into a byte stream code generation sub-module Before the byte stream code map, the byte stream segment is encrypted to improve the security of data transmission. For example, the encryption sub-module may specifically encrypt the packet sub-module after adding the header to the byte stream segment. The encryption algorithm used can be flexibly selected according to actual needs.
数据发送终端中的各模块可由数据发送终端的微处理器或逻辑可编程门阵列(FPGA)实现。Each module in the data transmitting terminal can be implemented by a microprocessor or a logic programmable gate array (FPGA) of the data transmitting terminal.
请参见图6所示,本实施例中的数据接收终端包括:读取模块、解析模块;Referring to FIG. 6, the data receiving terminal in this embodiment includes: a reading module and a parsing module;
读取模块用于读取数据发送终端显示屏上显示的字节流码图;The reading module is configured to read a byte stream code map displayed on a display screen of the data transmitting terminal;
解析模块用于对读取模块读取的字节流码图进行解析得到对应的数据。The parsing module is configured to parse the byte stream code map read by the reading module to obtain corresponding data.
本实施例中的具体可读取模块为通过扫描字节流码图方式进行读取的扫描读取模块,或通过拍摄字节流码图方式进行读取的拍摄读取模块;二者都可通过终端自带的摄像头或外接的摄像头实现。The specific readable module in this embodiment is a scanning and reading module that reads by scanning a byte stream code diagram, or a shooting and reading module that reads by reading a byte stream code map; both can be It is realized by the camera that comes with the terminal or an external camera.
本实施例中的数据接收终端也可包括用户界面模块,用于负责为用户提供可操作、图形化的显示界面,例如还包括提供拍照或扫描的按钮。The data receiving terminal in this embodiment may also include a user interface module for providing an operable, graphical display interface for the user, for example, including a button for providing a photo or scan.
请参见图7所示,本实施例中的解析模块包括字节流解析子模块和还原处理子模块:Referring to FIG. 7, the parsing module in this embodiment includes a byte stream parsing submodule and a restoring submodule:
字节流解析子模块用于对字节流码图进行解析得到对应的字节流段,其具体可采用光学字符识别(OCR)等技术实现;The byte stream parsing sub-module is configured to parse the byte stream code map to obtain a corresponding byte stream segment, which may be implemented by using an optical character recognition (OCR) technique or the like;
还原处理子模块用于对字节流段进行还原操作得到对应的数据。The restoration processing sub-module is used to perform a restoration operation on the byte stream segment to obtain corresponding data.
当数据发送终端在发送过程中,对字节流段添加了包头和进行过加密处理时,本实施例中的解析模块还可包括数据包解析子模块和解密子模块;The parsing module in this embodiment may further include a packet parsing submodule and a decrypting submodule when the data sending terminal adds a header and performs encryption processing on the byte stream segment during the sending process;
解密子模块则用于对字节流解析子模块经解析得到的字节流段进行解密处理,该解密处理所采用的解密算法与数据发送终端所采用的加密算法 对应;The decryption sub-module is configured to decrypt the byte stream segment parsed by the byte stream parsing sub-module, and the decryption algorithm used in the decryption process and the encryption algorithm used by the data transmitting terminal correspond;
数据包解析子模块则对该字节流段的包头进行解析获取对应的信息,包括具体可包括文件类型、数据起始位置、数据结束位置、数据长度、加密算法、分包总长度、当前字节流码图索引、字节流码图总数等信息,还原处理子模块则对字节流段中的数据内容部分进行还原处理得到数据并根据包头信息将其插入原数据中的对应位置。The packet parsing sub-module parses the header of the byte stream segment to obtain corresponding information, including specific file type, data starting position, data ending position, data length, encryption algorithm, total packet length, current word. The information of the throttle code map index and the total number of byte stream code maps, the restoration processing sub-module restores the data content portion of the byte stream segment to obtain data and inserts it into the corresponding position in the original data according to the packet header information.
数据接收终端中的各模块可由数据接收终端的微处理器或逻辑可编程门阵列(FPGA)实现。Each module in the data receiving terminal can be implemented by a microprocessor or a logic programmable gate array (FPGA) of the data receiving terminal.
实施例二:Embodiment 2:
请参见图8所示,本实施提供的数据传输方法包括:Referring to FIG. 8, the data transmission method provided by this implementation includes:
步骤801:数据发送终端确定待发送数据;本实施例中的待发送数据可以是是mp3、doc、pdf等比较通用格式的数据,也可以是手机短信、联系人、应用程序、各种媒体、文本等特殊格式的数据;Step 801: The data sending terminal determines the data to be sent. The data to be sent in this embodiment may be data in a relatively common format such as mp3, doc, or pdf, or may be a short message, a contact, an application, or various media. Data in a special format such as text;
步骤802:数据发送终端将该待发送数据转换成字节流码图;Step 802: The data sending terminal converts the data to be sent into a byte stream code map.
步骤803:数据发送终端将该字节流码图在显示屏上进行显示以供数据接收终端读取;Step 803: The data sending terminal displays the byte stream code map on the display screen for reading by the data receiving terminal.
步骤804:数据接收终端读取数据发送终端显示屏上显示的字节流码图;Step 804: The data receiving terminal reads a byte stream code map displayed on a display screen of the data sending terminal.
步骤805:数据接收终端对读取的字节流码图进行解析得到对应的数据。Step 805: The data receiving terminal parses the read byte stream code map to obtain corresponding data.
上述步骤802将待发送数据转换成字节流码图的过程包括:The process of converting the data to be transmitted into the byte stream code map in the above step 802 includes:
确定单张字节流码图可承载的数据容量;具体可根据数据发送终端的显示屏分辨率信息确定单张字节流码图可承载的数据容量;Determining a data capacity that can be carried by a single byte stream code map; specifically, determining, according to display resolution information of the data transmitting terminal, a data capacity that can be carried by the single byte stream code map;
将待发送数据转换成字节流;Converting data to be transmitted into a byte stream;
根据单张字节流码图可承载的数据容量将该字节流拆分成若干字节流 段;Splitting the byte stream into a number of byte streams according to the data capacity that can be carried by the single byte stream code map segment;
采用字节流码图算法将每段字节流段转换成一张字节流码图。The byte stream code graph algorithm is used to convert each segment of the byte stream into a byte stream code map.
本实施例中,在字节流码图生成子模块将一字节流段转换成一张字节流码图之前,还可为该字节流段添加包头,本实施例中添加包头的主要作用是为标识该字节流段属于哪个原数据以及在原数据中的位置信息等;包头至少包括所述字节流段在原数据中的位置信息。例如,包头可包括文件类型、数据起始位置、数据结束位置、数据长度、加密算法、分包总长度、当前字节流码图索引、字节流码图总数等字段。相应的,在数据接收过程中,则可以对分包数据依据包头标识信息进行解析并写入接收端本地文件。In this embodiment, before the byte stream code graph generation sub-module converts the one-byte stream segment into a byte stream code graph, a header may be added to the byte stream segment, and the main function of adding the packet header in this embodiment is It is to identify which original data the byte stream belongs to and the location information in the original data, etc.; the header includes at least the location information of the byte stream in the original data. For example, the packet header may include a file type, a data start position, a data end position, a data length, an encryption algorithm, a total packet length, a current byte stream code map index, and a total number of byte stream code maps. Correspondingly, in the data receiving process, the packetized data may be parsed according to the header identification information and written to the local file of the receiving end.
为了提升数据传输过程中的安全性,在将一字节流段转换成一张字节流码图之前,还可对为该字节流段进行加密处理,以提升数据传输的安全性。例如,可在为字节流段添加完包头后对其进行加密处理。其采用的加密算法具体可根据实际需求进行灵活选择。In order to improve the security during data transmission, before converting a one-byte stream segment into a byte stream code map, the byte stream segment can be encrypted to improve the security of data transmission. For example, the header can be encrypted after it has been added to the byte stream segment. The encryption algorithm used can be flexibly selected according to actual needs.
上述步骤804中,数据接收终端可通过其自带的或外设的摄像头通过扫描或拍摄的方式读取数据发送终端显示屏上显示的字节流码图;In the above step 804, the data receiving terminal can read the byte stream code map displayed on the display screen of the data transmitting terminal by scanning or photographing through its own camera or peripheral camera;
上述步骤805中,数据接收终端对读取的字节流码图进行解析得到对应的In the above step 805, the data receiving terminal parses the read byte stream code map to obtain a corresponding
数据的过程包括:The process of data includes:
对字节流码图进行解析得到对应的字节流段,其具体可采用OCR(光学字符识别)等技术实现;The byte stream code map is parsed to obtain a corresponding byte stream segment, which can be implemented by using OCR (Optical Character Recognition) and other technologies;
对字节流段进行还原操作得到对应的数据。The restoration operation is performed on the byte stream segment to obtain corresponding data.
当数据发送终端在发送过程中,对字节流段添加了包头和进行过加密处理时,需对解析得到的字节流段进行解密处理,该解密处理所采用的解密算法与数据发送终端所采用的加密算法对应;然后对该字节流段的包头进行解析获取对应的信息,包括具体可包括文件类型、数据起始位置、数 据结束位置、数据长度、加密算法、分包总长度、当前字节流码图索引、字节流码图总数等信息,最后对字节流段中的数据内容部分进行还原处理得到数据并根据包头信息将其插入原数据中的对应位置即可。还原得到的数据可以存储在数据接收终端本地的存储器中,可以存储在远程数据库中。When the data transmitting terminal adds a packet header and performs encryption processing on the byte stream segment during the transmission process, the parsed byte stream segment needs to be decrypted, and the decryption algorithm and the data transmitting terminal used in the decryption process are used. Corresponding to the encryption algorithm used; then parsing the header of the byte stream segment to obtain corresponding information, including specific file types, data starting positions, and numbers According to the end position, the data length, the encryption algorithm, the total length of the packet, the current byte stream code map index, the total number of byte stream code maps, etc., finally the data content part of the byte stream segment is restored to obtain data according to The header information is inserted into the corresponding location in the original data. The restored data can be stored in a memory local to the data receiving terminal and can be stored in a remote database.
实施例三:Embodiment 3:
为了更好的理解本发明,本实施例以数据发送终端和数据接收终端都为手机为例,对本发明方案做一更为具体、详细的说明。For a better understanding of the present invention, in this embodiment, a data transmission terminal and a data receiving terminal are both used as a mobile phone, and a more specific and detailed description of the solution of the present invention is made.
请参见图9所示,数据发送终端的处理流程包括:Referring to FIG. 9, the processing flow of the data sending terminal includes:
步骤901:根据用户指令选择待发送的数据,如mp3、docx等格式或者手机联系人、短信等特殊数据;Step 901: Select data to be sent according to a user instruction, such as a format such as mp3, docx, or special data such as a mobile phone contact, a short message, or the like;
步骤902:读取确定好的待发送数据,并将其转化为字节流;Step 902: Read the determined data to be sent and convert it into a byte stream.
步骤903:根据数据发送终端显示屏的分辨率等信息,计算出其显示屏UI上可显示的每张字节流码图承载的数据信息容量;Step 903: Calculate the data information capacity carried by each byte stream code picture that can be displayed on the display UI according to the resolution of the data display terminal display screen and the like;
步骤904:根据步骤903计算出的数据信息容量,对步骤902得到的字节流进行分段处理得到若干字节流段,并依次保存在数据发送终端存储器中;Step 904: According to the data information capacity calculated in step 903, the byte stream obtained in step 902 is segmented to obtain a plurality of byte stream segments, and sequentially stored in the data transmitting terminal memory;
步骤905:从数据发送终端存储器中读取一个分段数据,并转到步骤906。Step 905: Read a segmentation data from the data transmission terminal memory, and go to step 906.
步骤906:在步骤905中读取到的分段数据前面,添加重要的包头信息,比如文件类型、数据起始位置、数据结束位置、数据长度、当前字节流码图索引、字节流码图总数等包头信息,并与分段数据组成一个完整的分包数据。接着转到步骤907。Step 906: Add important header information, such as file type, data start position, data end position, data length, current byte stream code map index, byte stream code, in front of the segment data read in step 905. The total number of graphs and other header information, and the segment data constitutes a complete subcontracting data. Then go to step 907.
步骤907:对步骤906得到的分包字节流数据加密处理,得到加密后的分包数据;Step 907: Encrypt the packetized byte stream data obtained in step 906 to obtain the encrypted packetized data.
步骤908:对加密后的分包数据流采用特定的图像生成算法,生成可代 表分包数据流的字节流码图,并将该字节流码图像显示在数据发送终端的UI上;Step 908: Apply a specific image generation algorithm to the encrypted packetized data stream to generate a generation The table divides the byte stream code map of the data stream, and displays the byte stream code image on the UI of the data sending terminal;
步骤909:在步骤908成功将加密数据流显示在数据发送终端显示屏UI上后,等待数据接收端扫描或者拍摄图片;Step 909: After successfully displaying the encrypted data stream on the display terminal UI of the data transmitting terminal in step 908, waiting for the data receiving end to scan or take a picture;
步骤910:如果数据接收终端成功扫描或者拍摄到步骤908生成的字节流码图,则转到步骤911,数据发送终端显示下一个字节流码图即下一个分段数据流。如果数据接收终端扫描或者拍摄步骤908生成的字节流码图失败,则转到步骤905,重新读取原始分段字节流并重新生成字节流码图;Step 910: If the data receiving terminal successfully scans or captures the byte stream code map generated in step 908, then go to step 911, and the data transmitting terminal displays the next byte stream code map, that is, the next segment data stream. If the data receiving terminal scans or the byte stream code map generated by the shooting step 908 fails, then go to step 905, re-read the original segment byte stream and regenerate the byte stream code map;
步骤911:显示下一张字节流码图即下一个分段数据的入口;Step 911: Display the next byte stream code map, that is, the entry of the next segment data;
步骤912:判断是否还有下一个未发送的分段数据,如果有,则转到步骤905读取下一个分段数据;否则,表示已经发送完毕。Step 912: Determine whether there is any next unsent segmentation data. If yes, go to step 905 to read the next segmentation data; otherwise, it indicates that the segmentation has been sent.
数据接收终端的处理流程如图10所示,包括如下具体步骤:The processing flow of the data receiving terminal is as shown in FIG. 10, and includes the following specific steps:
步骤1001:启用数据接收端的应用程序,并利用数据接收设备的摄像头功能对上述步骤908生成的字节流码图进行拍摄或者扫描,得到字节流码图像;Step 1001: Enable an application of the data receiving end, and use the camera function of the data receiving device to capture or scan the byte stream code map generated in the above step 908 to obtain a byte stream code image;
步骤1002:利用图像处理技术,对步骤1001得到的图像进行处理,解析获得字节流码图代表的字节流信息,并将字节流保存;Step 1002: Using image processing technology, processing the image obtained in step 1001, parsing the byte stream information represented by the byte stream code map, and saving the byte stream;
步骤1003:判断图像解析是否成功,如不成功,转到步骤1001重新对字节流码图进行扫描;若成功,则转到步骤1004;Step 1003: Determine whether the image parsing is successful, if unsuccessful, go to step 1001 to re-scan the byte stream code map; if successful, go to step 1004;
步骤1004:通过与步骤S207相对应的数据解密算法,对步骤1002得到的字节流进行解密,得到分包数据。接着转到步骤1005;Step 1004: Decrypt the byte stream obtained in step 1002 by using the data decryption algorithm corresponding to step S207 to obtain packetized data. Then go to step 1005;
步骤1005:将步骤1004传递来的分包数据进行解析,得到分包的包头信息比如文件类型、数据起始位置、数据结束位置、数据长度、加密算法、分包总长度、当前字节流码图索引、字节流码图总数以及原始字节流的有效数据。同时进行分包数据有效性校验,如果数据包无效,则转到步骤1001 对图像重新扫描;如果有效,则将转到步骤1006;Step 1005: Parse the packetized data transmitted in step 1004 to obtain packet header information such as file type, data start position, data end position, data length, encryption algorithm, total packet length, and current byte stream code. Graph index, total number of byte stream code graphs, and valid data for the original byte stream. At the same time, the packet data validity check is performed. If the data packet is invalid, go to step 1001. Rescanning the image; if it is valid, it will go to step 1006;
步骤1006:根据步骤1005得到的文件类型、数据起始位置,数据长度等有用信息,将获得的原始有效分段数据根据文件类型写入数据接收终端本地对应的原数据或原文件中。Step 1006: According to the file type, data start position, data length and other useful information obtained in step 1005, the obtained original valid segment data is written into the original data or the original file corresponding to the data receiving terminal according to the file type.
实施例四:Embodiment 4:
本实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行图8、图9、图10任一附图所示的数据处理方法。The embodiment provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the data processing method shown in any of FIG. 8, FIG. 9, and FIG. .
本发明实施例与现有通信设备间的数据传输共享方式相比至少具备以下优点:Compared with the data transmission sharing mode between the existing communication devices, the embodiment of the present invention has at least the following advantages:
只需通过设备自带的摄像头扫描或拍照功能,即可简单完成数据的共享传输。不需要通过繁琐的操作步骤与流程,建立通信设备间的数据传输连接通道。Simply share the data with the camera's own camera scanning or camera function. There is no need to go through the cumbersome steps and processes to establish a data transmission connection channel between communication devices.
不需要借助于设备的通信模块并建立传输通道连接,可有效提高数据传输的保密性和安全性,防止数据传输的网络泄露。同时,生成字节流码图的算法多样,也可一定程度提高数据共享的安全性。It is not necessary to use the communication module of the device and establish a transmission channel connection, which can effectively improve the confidentiality and security of data transmission and prevent network leakage of data transmission. At the same time, the algorithms for generating byte stream code maps are diverse, and the security of data sharing can be improved to some extent.
不局限于手机与PC之间以及手机与手机之间的数据传输,可以扩展至任意通信设备间的数据传输。It is not limited to data transmission between mobile phones and PCs and between mobile phones and mobile phones, and can be extended to data transmission between any communication devices.
采用自定义数据业务模块处理和解析分包,传输的数据内容将不限于单一数据类型,能够支持任意数据类型的传输扩展。With the custom data service module processing and parsing sub-packages, the transmitted data content will not be limited to a single data type, and can support the transmission extension of any data type.
可见,本发明提供的技术方案,充分利用了通信设备的屏幕以及摄像头拍照或者扫描功能,建立了通信设备间特殊的无通道传输方式,借助图像处理技术对字节流码图进行解析,完成了通信设备间不限格式的数据传输。传输方式新颖独特,有效提高了数据传输的保密性和安全性。 It can be seen that the technical solution provided by the present invention fully utilizes the screen of the communication device and the camera photographing or scanning function, establishes a special channelless transmission mode between the communication devices, and analyzes the byte stream code map by using image processing technology, and completes Unformatted data transfer between communication devices. The transmission method is novel and unique, which effectively improves the confidentiality and security of data transmission.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、随机存取存储器(RAM,Random Access Memory)、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、RAM、ROM、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage medium includes: a mobile storage device, a random access memory (RAM), a read-only memory (ROM), a magnetic disk, or an optical disk. A medium that can store program code. Alternatively, the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making A computer device (which may be a personal computer, server, or network device, etc.) performs all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a RAM, a ROM, a magnetic disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (17)

  1. 一种数据处理方法,其特征在于,包括:A data processing method, comprising:
    数据发送终端确定待发送数据;The data transmitting terminal determines the data to be sent;
    将所述待发送数据转换成字节流码图;Converting the to-be-sent data into a byte stream code map;
    将所述字节流码图在显示屏上进行显示,待数据接收终端读取。The byte stream code map is displayed on the display screen and is to be read by the data receiving terminal.
  2. 如权利要求1所述的数据处理方法,其特征在于,数据发送终端将所述待发送数据转换成字节流码图,包括:The data processing method according to claim 1, wherein the data transmitting terminal converts the data to be transmitted into a byte stream code map, comprising:
    确定字节流码图可承载的数据容量;Determining the data capacity that the byte stream code map can carry;
    将所述待发送数据转换成字节流;Converting the to-be-sent data into a byte stream;
    根据字节流码图可承载的数据容量将所述字节流拆分成字节流段;Splitting the byte stream into byte stream segments according to a data capacity that can be carried by the byte stream code map;
    采用字节流码图算法将每段字节流段转换成字节流码图。The byte stream code graph algorithm is used to convert each segment of the byte stream into a byte stream code map.
  3. 如权利要求2所述的数据处理方法,其特征在于,确定字节流码图可承载的数据容量,包括:The data processing method according to claim 2, wherein determining the data capacity that the byte stream code map can carry comprises:
    获取其显示屏的分辨率信息;Get the resolution information of its display;
    根据所述分辨率信息确定单张字节流码图可承载的数据容量。Determining, according to the resolution information, a data capacity that can be carried by a single byte stream code map.
  4. 如权利要求2或3所述的数据处理方法,其特征在于,采用字节流码图算法将每段字节流段转换成字节流码图之前,还包括:The data processing method according to claim 2 or 3, wherein before the byte stream code map algorithm is used to convert each segment of the byte stream into a byte stream code map, the method further comprises:
    为所述字节流段添加包头,所述包头至少包括所述字节流段在原数据中的位置信息。Adding a header to the byte stream segment, the packet header including at least location information of the byte stream segment in the original data.
  5. 一种数据处理方法,其特征在于,包括:A data processing method, comprising:
    数据接收终端读取数据发送终端显示屏上显示的字节流码图;The data receiving terminal reads the byte stream code map displayed on the display screen of the data transmitting terminal;
    对读取的字节流码图进行解析得到对应的数据。The read byte stream code map is parsed to obtain corresponding data.
  6. 如权利要求5所述的数据处理方法,其特征在于,读取所述数据发送终端显示的字节流码图,包括:通过扫描或拍摄的方式读取所述字节流码图。 The data processing method according to claim 5, wherein reading the byte stream code map displayed by the data transmitting terminal comprises: reading the byte stream code map by scanning or photographing.
  7. 如权利要求5或6所述的数据处理方法,其特征在于,对读取的字节流码图进行解析得到对应的数据,包括:The data processing method according to claim 5 or 6, wherein the parsed byte stream code map is parsed to obtain corresponding data, including:
    数据接收终端对所述字节流码图进行解析得到对应的字节流段;The data receiving terminal parses the byte stream code map to obtain a corresponding byte stream segment;
    数据接收终端对所述字节流段进行还原操作得到对应的数据。The data receiving terminal performs a restoration operation on the byte stream segment to obtain corresponding data.
  8. 一种数据处理方法,其特征在于,包括:A data processing method, comprising:
    数据发送终端确定待发送数据;The data transmitting terminal determines the data to be sent;
    所述数据发送终端将所述待发送数据转换成字节流码图;Transmitting, by the data sending terminal, the data to be sent into a byte stream code map;
    所述数据发送终端将所述字节流码图在显示屏上进行显示待数据接收终端读取;The data sending terminal displays the byte stream code map on the display screen to be read by the data receiving terminal;
    数据接收终端读取所述数据发送终端显示屏上显示的字节流码图;The data receiving terminal reads the byte stream code map displayed on the display screen of the data transmitting terminal;
    所述数据接收终端对读取的字节流码图进行解析得到对应的数据。The data receiving terminal parses the read byte stream code map to obtain corresponding data.
  9. 一种数据发送终端,其特征在于,包括:发送数据选择模块、转换模块以及显示模块;其中,A data transmitting terminal, comprising: a sending data selection module, a conversion module, and a display module; wherein
    所述发送数据选择模块用于确定待发送数据;The sending data selection module is configured to determine data to be sent;
    所述转换模块用于将所述待发送数据转换成字节流码图;The conversion module is configured to convert the data to be sent into a byte stream code map;
    所述显示模块用于将所述字节流码图在数据发送终端的显示屏上进行显示待数据接收终端读取。The display module is configured to display the byte stream code map on a display screen of the data sending terminal to be read by the data receiving terminal.
  10. 如权利要求9所述的数据发送终端,其特征在于,所述转换模块包括容量确定子模块、字节流转换子模块、数据拆分子模块以及字节流码图生成子模块;其中,The data transmitting terminal according to claim 9, wherein the conversion module comprises a capacity determining sub-module, a byte stream converting sub-module, a data splitting molecular module, and a byte stream code graph generating sub-module; wherein
    所述容量确定子模块用于确定字节流码图可承载的数据容量;The capacity determining submodule is configured to determine a data capacity that can be carried by the byte stream code map;
    所述字节流转换子模块用于将所述待发送数据转换成字节流;The byte stream conversion submodule is configured to convert the to-be-sent data into a byte stream;
    所述数据拆分子模块用于根据字节流码图可承载的数据容量将所述字节流拆分成字节流段;The data splitting module is configured to split the byte stream into byte stream segments according to a data capacity that can be carried by a byte stream code map;
    所述字节流码图生成子模块用于采用字节流码图算法将每段字节流段 转换成字节流码图。The byte stream code map generation submodule is configured to use a byte stream code graph algorithm to segment each segment of the byte Convert to a byte stream code map.
  11. 一种数据接收终端,其特征在于,包括:读取模块、解析模块;其中,A data receiving terminal, comprising: a reading module and a parsing module; wherein
    所述读取模块用于读取所述数据发送终端显示屏上显示的字节流码图;The reading module is configured to read a byte stream code map displayed on a display screen of the data sending terminal;
    所述解析模块用于对读取模块读取的字节流码图进行解析得到对应的数据。The parsing module is configured to parse the byte stream code map read by the reading module to obtain corresponding data.
  12. 如权利要求11所述的数据接收终端,其特征在于,所述读取模块用于通过扫描字节流码图方式进行读取,或通过拍摄字节流码图方式进行读取。The data receiving terminal according to claim 11, wherein the reading module is configured to read by scanning a byte stream code map or by reading a byte stream code map.
  13. 如权利要求11或12所述的数据接收终端,其特征在于,所述解析模块包括字节流解析子模块和还原处理子模块:其中,The data receiving terminal according to claim 11 or 12, wherein the parsing module comprises a byte stream parsing submodule and a restoring processing submodule: wherein
    所述字节流解析子模块用于对所述字节流码图进行解析得到对应的字节流段;The byte stream parsing sub-module is configured to parse the byte stream code graph to obtain a corresponding byte stream segment;
    所述还原处理子模块用于对所述字节流段进行还原操作得到对应的数据。The restoration processing sub-module is configured to perform a restoration operation on the byte stream segment to obtain corresponding data.
  14. 一种数据传输系统,其特征在于,包括:数据发送终端和数据接收终端;其中,A data transmission system, comprising: a data transmitting terminal and a data receiving terminal; wherein
    所述数据发送终端用于确定待发送数据,将所述待发送数据转换成字节流码图;将所述字节流码图在显示屏上进行显示待数据接收终端读取;The data sending terminal is configured to determine data to be sent, convert the data to be sent into a byte stream code map, and display the byte stream code image on a display screen to be read by the data receiving terminal;
    所述数据接收终端用于读取所述数据发送终端显示屏上显示的字节流码图,对读取的字节流码图进行解析得到对应的数据。The data receiving terminal is configured to read a byte stream code map displayed on a display screen of the data sending terminal, and parse the read byte stream code map to obtain corresponding data.
  15. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至4任一项所述的数据处理方法。 A computer storage medium having stored therein computer executable instructions for performing the data processing method of any one of claims 1 to 4.
  16. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求5至7任一项所述的数据处理方法。A computer storage medium having stored therein computer executable instructions for performing the data processing method of any one of claims 5 to 7.
  17. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求8所述的数据处理方法。 A computer storage medium having stored therein computer executable instructions for performing the data processing method of claim 8.
PCT/CN2014/088549 2014-08-22 2014-10-14 Data processing method, data sending and receiving terminal, and data transmission system WO2015117352A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410418592.9A CN105471940A (en) 2014-08-22 2014-08-22 Data processing method, data transmitting and receiving terminal and data transmission system
CN201410418592.9 2014-08-22

Publications (1)

Publication Number Publication Date
WO2015117352A1 true WO2015117352A1 (en) 2015-08-13

Family

ID=53777177

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088549 WO2015117352A1 (en) 2014-08-22 2014-10-14 Data processing method, data sending and receiving terminal, and data transmission system

Country Status (2)

Country Link
CN (1) CN105471940A (en)
WO (1) WO2015117352A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301992A (en) * 2021-12-29 2022-04-08 北京半导体专用设备研究所(中国电子科技集团公司第四十五研究所) Data transmission method and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017143464A (en) * 2016-02-12 2017-08-17 株式会社リコー Image processing system, image processing apparatus, image processing method, and program
CN105897885B (en) * 2016-04-07 2019-04-02 深圳市永兴元科技股份有限公司 Across a network data transmission method and device
CN108322438A (en) * 2017-12-28 2018-07-24 泰瑞数创科技(北京)有限公司 Outer net transmits method, interior network termination and the outer network termination of information to Intranet
CN111193690B (en) * 2018-11-15 2023-08-22 中兴通讯股份有限公司 Method and device for processing request message and computer readable storage medium
CN111899173B (en) * 2020-07-24 2021-04-27 自然资源部第一海洋研究所 Data transmission method and device and electronic equipment
CN114866531A (en) * 2022-04-02 2022-08-05 山东体育学院 Cross-network data transmission method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831163A (en) * 2012-07-20 2012-12-19 江苏缨思贝睿物联网科技有限公司 Data transfer method and data transfer system
CN202694340U (en) * 2012-07-20 2013-01-23 江苏缨思贝睿物联网科技有限公司 Data transmission system
CN103560836A (en) * 2013-10-31 2014-02-05 深圳市凡趣科技有限公司 Sound wave wireless communication method and device
CN103729323A (en) * 2014-01-02 2014-04-16 西北工业大学 Method for information exchange between physically isolated computers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831163A (en) * 2012-07-20 2012-12-19 江苏缨思贝睿物联网科技有限公司 Data transfer method and data transfer system
CN202694340U (en) * 2012-07-20 2013-01-23 江苏缨思贝睿物联网科技有限公司 Data transmission system
CN103560836A (en) * 2013-10-31 2014-02-05 深圳市凡趣科技有限公司 Sound wave wireless communication method and device
CN103729323A (en) * 2014-01-02 2014-04-16 西北工业大学 Method for information exchange between physically isolated computers

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114301992A (en) * 2021-12-29 2022-04-08 北京半导体专用设备研究所(中国电子科技集团公司第四十五研究所) Data transmission method and storage medium

Also Published As

Publication number Publication date
CN105471940A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
WO2015117352A1 (en) Data processing method, data sending and receiving terminal, and data transmission system
US10038773B2 (en) Communication systems and methods
US10298398B2 (en) Peer discovery, connection, and data transfer
US20170034149A1 (en) Intelligent Communications Method, Terminal, and System
JP4041465B2 (en) Mobile communication terminal, information processing method, data processing program, and recording medium
CN107786331B (en) Data processing method, device, system and computer readable storage medium
JP5675747B2 (en) Wireless communication system, portable terminal, digital camera, communication method and program
WO2015184689A1 (en) File sharing method based on wireless communication and wireless communication terminal
CN107306261B (en) Encryption communication method, device and system
US10791124B2 (en) Method and terminal device for encrypting message
JP2009267578A (en) Network projector system
WO2022012153A1 (en) Data transmission method and device, and storage medium
CN104780044A (en) Dynamic token type smart watch based on mobile phone, Bluetooth and two-dimension code and implementation method
WO2023011376A1 (en) Key updating method in beidou communication system, and system and related apparatus
JP2004147006A (en) Information transmitting method and portable terminal
CN103067897A (en) Asymmetrical mobile phone short message encryption method
US20150156173A1 (en) Communication system utilizing fingerprint information and use thereof
CN112272319A (en) Audio and video data transmission method and device, storage medium and electronic equipment
WO2017020389A1 (en) Encrypted conversation communication establishment failure processing method and user terminal
CN107172718B (en) Information processing method and electronic equipment
US11444927B2 (en) Method and apparatus for encrypting data
CN115701017A (en) Image processing method and device
CN102436320A (en) Transmission method, terminal and system for handwritten information
JP2017135530A (en) Image scanner and image scanning system
JP2016189566A (en) Radio communication device and radio communication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14881924

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14881924

Country of ref document: EP

Kind code of ref document: A1