Information transmitting program and information receiving program
Patent Information
- Application Number
- JP2023129942
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-08-09
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2043-08-09
Smart Images

Figure 2025025294000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information transmitting program and an information receiving program for transmitting information by reading the screen display of a computer terminal. [Background technology]
[0002] As a method of transmitting information using a computer terminal such as a smartphone, a QR code (registered trademark) printed on the surface of a book or other document can be read with a smartphone camera and connected to a dedicated website via the Internet, making it possible to obtain a large amount of text information, video, etc. (see Patent Document 1, etc.).
[0003] On the other hand, as disclosed in Patent Document 2, by converting the information to be transmitted, such as facility application information, into a QR code and having the facility terminal read the single QR code generated, it is also possible to transmit information directly, without going through the Internet. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2019-53702 A [Patent Document 2] JP 2020-107032 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, as disclosed in Patent Document 1, information transmission using the Internet can only be performed in an environment where a network can be connected, and is accompanied by risks such as information leakage in various situations.
[0006] On the other hand, in transmitting information using one QR code as disclosed in Patent Document 2, the amount of information that can be transmitted is limited because there is a limit to the amount of information that can be embedded in one QR code. Another widely known method of inputting information to a computer terminal offline is via a storage medium such as a USB memory (USB flash drive) or an SD card (SD memory card), but this requires the preparation of the storage medium and entails the risk of computer virus infection via the storage medium.
[0007] SUMMARY OF THE PRESENT EMBODIMENTS An object of the present invention is to provide an information sending program and an information receiving program that enable any amount of information to be transmitted safely and easily offline. [Means for solving the problem]
[0008] In order to achieve the above-mentioned object, the information transmission program of the present invention is an information transmission program for transmitting information by reading the screen display of a computer terminal, and is characterized in that it causes a computer to execute the steps of: dividing data based on electronic data of the information to be transmitted into predetermined units, assigning a total number of divisions and a sequence number to each divided data, and converting it into a QR code (registered trademark); and displaying the QR codes of the divided data continuously on the screen at a display interval set based on the refresh rate of the screen of the computer terminal.
[0009] Here, the method may include a procedure for encrypting the divided data based on a set encryption key before generating the divided data. Also, the method may include a procedure for confirming that the QR codes have been read using short-range wireless communication of the computer terminal when the QR codes are continuously displayed on the screen.
[0010] On the other hand, the invention of an information reception program is an information reception program for transmitting information by reading the screen display of a computer terminal, characterized in that when multiple QR codes (registered trademark) are displayed in succession as the screen display, the program causes a computer to execute the following steps: acquiring the QR codes using a camera of another computer terminal; reading the divided data and the assigned total number of divisions and sequence number from the acquired QR codes; determining whether the divided data for all of the sequence numbers have been read based on the total number of divisions; and connecting the divided data in the number of the total number of divisions in the order of the sequence numbers.
[0011] Here, the method may include a procedure for decrypting the joined divided data based on a set encryption key, and a procedure for transmitting the sequence number read from the QR code by short-range wireless communication of the computer terminal having the camera. Effect of the Invention
[0012] The information transmission program and information receiving program of the present invention thus configured convert data based on electronic data of the information to be transmitted into multiple QR codes on the transmitting side, and display these QR codes continuously on the screen. When displaying these QR codes continuously on the screen, the display interval of the QR codes is set based on the refresh rate of the screen of the computer terminal.
[0013] Meanwhile, on the receiving side, the QR codes displayed successively on the screen are read using a camera, and the divided data embedded in the QR codes is pieced together to restore it to a single electronic data piece.
[0014] This allows safe, simple and efficient information transmission between computer terminals offline without the need for an Internet connection. In addition, the number of QR codes generated can be adjusted according to the amount of information to be transmitted, allowing any amount of information to be transmitted without restrictions. [Brief description of the drawings]
[0015] [Figure 1] 1 is an explanatory diagram showing an overview of an information transmission program and an information reception program executed in the present embodiment; [Diagram 2] FIG. 1 is an explanatory diagram showing an overview of continuous display of QR codes. [Diagram 3] 10 is a flowchart illustrating a process flow of an information transmission program according to the present embodiment. [Figure 4] 10 is a flowchart illustrating a process flow of an information receiving program according to the present embodiment. [Diagram 5] 11 is a flowchart illustrating a process for determining whether reading of a plurality of QR codes has been completed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Fig. 1 is an explanatory diagram showing an overview of an information transmission program and an information reception program according to the present embodiment at the time of execution, and Fig. 2 is an explanatory diagram showing an overview of continuous display of QR codes.
[0017] The information transmitting program and the information receiving program of this embodiment are executed when transmitting information between two computer terminals offline, where there is no need to connect to the Internet.
[0018] The computer terminals that can be used include smartphones, laptops, tablet terminals, wearable terminals, personal computers (PCs), etc. The combination of two computer terminals used to transmit and receive data may be the same type or different types.
[0019] The device may also be a computer terminal that is equipped with both a screen display and a camera, such as a smartphone, or may have a configuration in which a display and a camera are connected to a desktop PC.
[0020] In the following, a case will be mainly described in which the computer terminal sending information is a sending terminal 1 which is a smartphone, and the computer terminal receiving information is a receiving terminal 2 which is also a smartphone, as shown in FIG.
[0021] The transmitting terminal 1 has a screen 11 that continuously displays QR codes. The receiving terminal 2 has a camera 21 that can capture images of the screen display of the transmitting terminal 1. The transmitting terminal 1 and the receiving terminal 2 also have Bluetooth (registered trademark) as a short-distance wireless communication means. Bluetooth is a short-distance communication standard of about 10 m.
[0022] The computer terminals (transmitting terminal 1, receiving terminal 2) are equipped with hardware that serves as a processing unit, such as a SoC (System on a Chip), a CPU (Central Processing Unit), an MPU (Micro-processing unit), a GPU (Graphics Processing Unit), etc. They also have memories such as a RAM (Random Access Memory) and a ROM (Read Only Memory).
[0023] Furthermore, the computer terminals (the transmitting terminal 1 and the receiving terminal 2) are provided with a flash memory, an SD memory card, a solid state drive (SSD), a hard disk, or the like as a storage unit.
[0024] The information transmission program and the information reception program of this embodiment are applications installed in computer terminals (the transmitting terminal 1 and the receiving terminal 2). This application may be a package incorporating both the information transmission program and the information reception program, or the information transmission program and the information reception program may each be separate applications.
[0025] The QR code (registered trademark) used for transmitting information in the information transmission program and the information reception program of this embodiment is a known matrix type two-dimensional code. In addition to the normal size QR code, there are also micro QR codes and iQR codes, but in this embodiment, these are collectively referred to as QR codes.
[0026] The capacity of a standard-sized QR code is a maximum of 7,089 numeric characters, 4,296 alphanumeric characters (US-ASCII), 2,953 bytes of binary data (8 bits), or 1,817 kanji / kana characters (Shift JIS).
[0027] The electronic data to be transmitted by the information transmitting program and the information receiving program of this embodiment may be in any format. For example, it may be text data consisting of kanji, kana, alphanumeric characters, etc. It may also be a CSV (comma separated values) file in which items such as numbers are separated by commas. It may also be information such as program code that can be imported into other applications.
[0028] As mentioned above, there is a limit to the amount of information that can be embedded in a single QR code, so if the amount of electronic data to be transmitted exceeds this limit, the information will be split into multiple QR codes to transmit the information.
[0029] Figure 2 shows an example of electronic data to be transmitted that has been divided into three QR codes. The divided QR codes are displayed consecutively on the screen 11 of the transmitting terminal 1, and are read using the camera 21 of the receiving terminal 2. The divided data embedded in the divided QR codes are then restored to a single code, enabling offline information transmission.
[0030] Here, a refresh rate is set for the display (screen 11) of the computer terminal (sending terminal 1). The refresh rate refers to how many times per second the display draws a new image. This refresh rate is expressed in Hertz (Hz), and for example, if the display refresh rate is 30 Hz, the image will be updated 30 times per second.
[0031] Therefore, when multiple QR codes are displayed continuously on the screen 11 of the transmitting terminal 1, the QR codes are switched and displayed at intervals (frame rate) close to the refresh rate of the screen 11. Figure 2 shows an example of three QR codes being switched in sequence at intervals of 1 / 30 (approximately 0.03) seconds and repeatedly and continuously displayed. In other words, the QR codes are switched at a frame rate of 30 fps (1 / 30 second intervals).
[0032] On the other hand, the camera 21 of the receiving terminal 2 is a camera device capable of capturing video at a resolution of 1920×1080 or more and a frame rate of 60 fps (1 / 60 seconds) or more. When executing the information transmitting program and the information receiving program of this embodiment to transmit information, the key to efficiently reading the QR code is to match the refresh rate of the screen 11 of the transmitting terminal 1 with the frame rate at which the QR code is switched.
[0033] For example, if the display refresh rate is 1 / 60 seconds and the QR code is set to change at a frame rate of 15 fps (1 / 15 seconds), the number of times the QR code changes will coincide with the display redisplay will increase, resulting in a completely black screen being photographed and more opportunities for the new QR code not to be read, which will result in a longer reading time.
[0034] In contrast, in the information transmission program of this embodiment, the frame rate for switching QR codes is matched to the refresh rate of screen 11 of the sending terminal 1, and the camera 21 of the receiving terminal 2 is designed to have camera capabilities capable of capturing video at a frame rate equal to or higher than the refresh rate of screen 11, thereby enabling QR codes to be read efficiently one after the other.
[0035] The process flow of the information transmission program of this embodiment will be described below with reference to the flowchart shown in FIG. At least an information transmission program (application) is installed in the transmitting terminal 1, and the procedure described below is executed by a computer.
[0036] First, in step S1, a transmission application, which is an information transmission program, is started in the transmitting terminal 1. In the storage unit of this transmitting terminal 1, electronic data that is to be the information to be transmitted is stored in advance.
[0037] Therefore, in step S2, electronic data that is the information to be transmitted is read. Here, the electronic data that is the information to be transmitted can be imported from outside via a network such as the Internet. It can also be imported from a storage medium such as a USB memory. At this stage, the electronic data that is the information to be transmitted can be read by any known means.
[0038] In this embodiment, the electronic data read in step S2 is converted to binary data in step S3. This converted binary data is based on the electronic data before conversion. Note that it is also possible to proceed with subsequent processing using the read electronic data as is, in which case the electronic data itself becomes "data based on the electronic data of the information to be transmitted."
[0039] As a subsequent process, the binary data can be divided as is and converted into a QR code (see steps S5 and S6), but in this embodiment, a case where data compression and encryption are performed will be described.
[0040] For example, when transmitting highly confidential information, it is necessary to prevent the information from being transmitted to a computer terminal owned by an unintended recipient. Therefore, in step S4, the compressed binary data whose data size has been reduced is encrypted based on a predetermined encryption key. This encryption key is determined between the sender and the receiver, and it is possible to prevent the information from being transmitted to a computer terminal operated by a person who cannot obtain the encryption key.
[0041] For example, AES-256 (Advanced Encryption Standard 256-bit) can be used for encryption. AES-256 is a method for encrypting data using a 256-bit encryption key, and is a common key encryption method in which the same key is used by both the sender and receiver of the data.
[0042] In the next step S5, the compressed and encrypted binary data is divided into a predetermined unit, for example, into 1,152-byte pieces, and each piece of divided data is assigned the total number of pieces and a sequence number (step S6).
[0043] As mentioned above, the capacity of one QR code is a maximum of 2,953 bytes for binary data, so if it is divided into 1,152-byte chunks, there is still room for capacity. Therefore, information such as the total number of chunks and the sequence number of the chunk data is added.
[0044] Then, the divided data, the total number of divisions, and the sequence number are converted into one QR code. This conversion into a QR code is performed for all of the divided data. In short, in step S6, the same number of QR codes as the total number of divisions are generated.
[0045] The processes from step S7 onwards are executed when transmitting information to the receiving terminal 2. First, in step S7, the refresh rate of the screen 11 of the transmitting terminal 1 is obtained. The refresh rate may differ depending on the model, and the display interval (frame rate) of the QR code that is closest to the refresh rate obtained from the transmitting terminal 1 is set. For example, the display interval (frame rate) for continuous display is set to either an interval of 1 / 30 (approximately 0.03) seconds or an interval of 1 / 60 (approximately 0.016) seconds, whichever is closer.
[0046] Then, in step S8, multiple QR codes are displayed consecutively on the screen 11 of the transmitting terminal 1 at the set display interval (frame rate). In this consecutive display, QR codes starting from sequence number 1 up to the sequence number of the total number of divisions are displayed on the screen 11 at each display interval.
[0047] For example, when the refresh rate of the screen 11 of the transmitting terminal 1 is acquired to be 30 Hz, the frame rate for the continuous display of the QR codes is set to 30 fps, and the first QR code is displayed at the start of the refresh rate of the screen 11, and the total number of divided QR codes are displayed one after another at intervals of 1 / 30 seconds.
[0048] The screen 11 on which the QR codes are continuously displayed is photographed by the camera 21 of the receiving terminal 2, as shown in Fig. 1. The camera 21 of the receiving terminal 2 can capture video at a frame rate of 60 fps (1 / 60 seconds) or higher, so it can efficiently capture the QR codes displayed at 1 / 30 second intervals.
[0049] The receiving terminal 2 needs to recognize and acquire all of the QR codes from sequence number 1 to the total number of divided sequence numbers. There are several methods that can be used to determine whether all of the QR codes have been read, and details of these methods will be described later.
[0050] In step S9, it is determined whether or not reading of all the divided QR codes has been completed. If reading has not been completed, the process returns to step S8 to continue continuous display. If reading of all the QR codes has been completed, the process proceeds to step S10 to stop continuous display of the QR codes on the transmitting terminal 1.
[0051] Next, the process flow of the information receiving program of this embodiment will be described with reference to the flowchart shown in FIG. At least an information receiving program (application) is installed in the receiving terminal 2, and the procedure described below is executed by a computer.
[0052] First, in step S11, a receiving application, which is an information receiving program, is started in the receiving terminal 2. Then, the receiving application is switched to a QR code acquisition screen (step S12).
[0053] After the receiving terminal 2 is in a state in which the QR code can be acquired, the screen 11 (step S8) of the transmitting terminal 1 on which the QR codes are continuously displayed is photographed by the camera 21 of the receiving terminal 2, as shown in FIG.
[0054] When shooting starts, one of the QR codes with sequence numbers from 1 to the total number of divisions that are displayed consecutively is acquired (step S13). In step S14, information on the total number of divisions and the sequence number is read from the acquired QR code.
[0055] Then, in step S15, it is determined whether the read sequence number has already been read. In short, the read sequence number is stored in the memory of the receiving terminal 2, and is collated with the stored sequence number.
[0056] The divided data of sequence numbers that have not yet been read are read in step S16. The divided data are read in this manner until the divided data embedded in all the divided QR codes has been read (step S17). Here, several methods for determining whether or not reading of all the QR codes has been completed will be described.
[0057] As a simple method, the first time the QR code is read by the receiving terminal 2, the total number of divisions and sequence number are stored, and the transmitting terminal 1 QR code continues to be displayed continuously until all sequence numbers from 1 to the total number of divisions are collected. At this time, the transmitting terminal 1 will repeatedly display the QR codes from 1 to the total number of divisions continuously.
[0058] As another method for checking the read status, a process flow for determining whether multiple QR codes have been read is shown in Figure 5. In this method, QR codes are continuously displayed on the screen 11, and a short-range wireless communication means such as Bluetooth is used as an auxiliary means.
[0059] When the QR code is read, the receiving terminal 2 transmits the read sequence number via Bluetooth communication (step S21). The signal of the read sequence number transmitted from the receiving terminal 2 is received via Bluetooth communication by the transmitting terminal 1, which is located adjacent to the receiving terminal 2, as shown in FIG.
[0060] When the transmitting terminal 1 receives a signal with a sequence number that has already been read, it removes the QR code that corresponds to that sequence number from the consecutive display list (step S22). In other words, the QR code with the already read sequence number is removed from the consecutive display list in which all QR codes in the total number of divisions were initially registered.
[0061] In the next step S23, the QR codes remaining in the consecutive display list are consecutively displayed. In other words, the QR codes with sequence numbers that have not been received by the transmitting terminal 1 are repeatedly displayed on the screen 11.
[0062] In step S24, the transmitting terminal 1 determines whether or not it has received signals of all sequence numbers of the total divided number through Bluetooth communication with the receiving terminal 2, and if there are sequence numbers that have not been received, the processes from steps S21 to S23 are repeated.
[0063] Then, when the transmitting terminal 1 has confirmed receipt of all sequence numbers, the continuous display of QR codes on the screen 11 of the transmitting terminal 1 is stopped (step S25). The same determination as in step S24 is also made in the receiving terminal 2 in step S17.
[0064] 4, it is determined whether or not reading of the divided data embedded in all the divided QR codes has been completed, and if not, the process returns to step S13 to repeat obtaining the unread QR codes. The determination in step S15 as to whether or not the sequence number has been read is performed when all the QR codes are repeatedly displayed, and when the above-mentioned Bluetooth communication is used as an auxiliary, the process in step S15 can be omitted.
[0065] After the divided data embedded in all the QR codes (total number of divisions) have been read, the divided data are joined together in the order of sequence numbers in step S18. Typically, the joined data are joined in ascending order from sequence number 1 up to the total number of divisions.
[0066] In the next step S19, the encrypted joined divided data is decrypted. In the receiving terminal 2, an encryption key (encryption key) required to receive the information to be transmitted is acquired in advance, and decryption is performed based on the encryption key that is set. In other words, a computer terminal in which an encryption key (common key encryption) is not set can read the QR code from the screen display of the transmitting terminal 1, but cannot decrypt the encrypted binary data. The decrypted binary data is expanded from the compressed state to return it to the original data size.
[0067] In step S20, the binary data expanded to the original data size is converted to electronic data. If the received electronic data is text data, the content of the information can be understood as it is. If the received data is a CSV file, program code, or various instruction information, it can be imported into another application started on the receiving terminal 2 and executed.
[0068] Next, the operation of the information transmitting program and the information receiving program of this embodiment will be described.
[0069] The information transmitting program and information receiving program of this embodiment configured as described above replace data based on the electronic data of the information to be transmitted in the transmitting terminal 1 with a plurality of QR codes, and cause these QR codes to be displayed consecutively on the screen 11. When these QR codes are displayed consecutively on the screen 11, the display interval (frame rate) of the QR codes is set based on the refresh rate of the screen 11 of the transmitting terminal 1. In short, the first QR code is displayed at the start of the refresh rate of the screen 11, thereby matching the timing of the refresh rate and the frame rate.
[0070] Meanwhile, the receiving terminal 2 uses the camera 21 to read the QR codes displayed consecutively on the screen 11 of the transmitting terminal 1, and combines the divided data embedded in those QR codes to restore them to a single electronic data.
[0071] Therefore, information can be transmitted safely and simply between the transmitting terminal 1 and the receiving terminal 2 offline, when there is no need to connect to the Internet. Also, since the refresh rate of the screen 11 of the transmitting terminal 1 and the display interval (frame rate) of the QR code are matched, there are few missed reads and the QR code can be read efficiently. Furthermore, since it is only necessary to increase or decrease the number of QR codes to be generated depending on the amount of information to be transmitted, any amount of information can be transmitted without restrictions.
[0072] Furthermore, if electronic data or binary data based on it is encrypted based on a set encryption key, even highly confidential information that should be transmitted only between specific individuals can be transmitted safely and easily.
[0073] Furthermore, if the reading confirmation is performed using short-range wireless communication such as Bluetooth communication as an auxiliary means, even if the number of QR codes increases, only the QR codes that have not been completely read can be displayed continuously, making it possible to transmit information efficiently.
[0074] Although an embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to this embodiment, and design changes that do not deviate from the gist of the present invention are included in the present invention.
[0075] For example, in the above embodiment, an example was described in which electronic data is converted into binary data, and then the data is compressed and encrypted, but this is not limited to this, and conversion to binary data, data compression, and encryption may be performed as necessary.
[0076] In addition, in the above embodiment, an example was described in which the continuous display of QR codes generated using the information transmission program of this embodiment is read by the receiving terminal 2, but this is not limited to this, and the continuous display of QR codes can be read by the information reception program of this embodiment regardless of how they are generated. [Explanation of symbols]
[0077] 1: Sending terminal (computer terminal) 11: Screen 2: Receiving terminal (another computer terminal) 21: Camera
Claims
1. An information transmission program for transmitting information by reading a screen display of a computer terminal, A step of dividing data based on electronic data of information to be transmitted into a predetermined unit, assigning a total number of divisions and a sequence number to each divided data, and converting the data into a QR code (registered trademark); and a procedure for displaying the QR codes of the divided data continuously on the screen at a display interval set based on a refresh rate of the screen of the computer terminal.
2. 2. The information transmission program according to claim 1, further comprising a step of encrypting the divided data based on a set encryption key before generating the divided data.
3. 3. The information transmission program according to claim 1, further comprising a step of confirming reading of the QR codes by using short-range wireless communication of the computer terminal when the QR codes are successively displayed on the screen.
4. An information receiving program for transmitting information by reading a screen display of a computer terminal, When a plurality of QR codes are displayed consecutively as the screen display, capturing the QR codes using a camera of another computer terminal; A step of reading the divided data, the total number of divided data, and a sequence number from the acquired QR code; determining whether or not the divided data of all the sequence numbers have been read based on the total number of divisions; and a step of connecting the divided data in the total number of divisions in order of the sequence numbers.
5. 5. The information receiving program according to claim 4, further comprising a step of decrypting the joined divided data based on a set encryption key.
6. 6. The information receiving program according to claim 4, further comprising a step of transmitting the sequence number read from the QR code by short-range wireless communication of the computer terminal having the camera.
Citation Information
Patent Citations
Communication system, imaging apparatus, program, and communication method
JP2015169952A
Program and system
JP2017059024A
Information processing device and program
JP2019144793A
Information transmission and acquisition system formed by combining book with QR code connectable to content-itemized dedicated website
JP2019053702A
Quick arrangement system and terminal device
JP2020107032A