Signal generating method, signal generating unit, and non-transitory recording medium storing computer program
First Claim
1. A signal generating method for generating a visible light signal transmitted by way of a luminance change of a light source included in a transmitter, the method comprising:
- determining, by a processor and as a method-for transmitting the visible light signal from the transmitter, one of a single-frame transmitting method for transmitting data as one frame and a multiple-frame transmitting method for transmitting the data while dividing the data into a plurality of frames;
when the multiple-frame transmitting method is determined to be the method for transmitting the visible light signal, generating, by the processor, partition type information indicating a type of data to be transmitted, and generating, by the processor, combination data by adding the partition type information to the data to be transmitted;
generating, by the processor, the plurality of frames, each of which includes each of a plurality of data parts, by dividing the combination data into the plurality of data parts;
generating, by the processor, the visible light signal by adding a preamble, being data indicating a head of a frame, to the head of each of the plurality of frames; and
outputting, by the processor, the visible light signal to the transmitter.
1 Assignment
0 Petitions
Accused Products
Abstract
One aspect of the present disclosure relates to a signal generating method for generating a visible light signal. A signal generating method includes: a step SD11 of determining, as a method for transmitting a visible light signal from a transmitter, one of a single-frame transmitting method for transmitting data as one frame and a multiple-frame transmitting method for transmitting the data while dividing the data into a plurality of frames; a step SD12 of, when the multiple-frame transmitting method is determined, generating partition type information indicating a type of data to be transmitted, and generating combination data by adding the partition type information to the data to be transmitted; a step SD13 of generating the plurality of frames each of which includes each of a plurality of data parts by dividing the combination data into the plurality of data parts; and a step SD14 of generating the visible light signal by adding a preamble to a head of each of the plurality of frames.
12 Citations
3 Claims
-
1. A signal generating method for generating a visible light signal transmitted by way of a luminance change of a light source included in a transmitter, the method comprising:
-
determining, by a processor and as a method-for transmitting the visible light signal from the transmitter, one of a single-frame transmitting method for transmitting data as one frame and a multiple-frame transmitting method for transmitting the data while dividing the data into a plurality of frames; when the multiple-frame transmitting method is determined to be the method for transmitting the visible light signal, generating, by the processor, partition type information indicating a type of data to be transmitted, and generating, by the processor, combination data by adding the partition type information to the data to be transmitted; generating, by the processor, the plurality of frames, each of which includes each of a plurality of data parts, by dividing the combination data into the plurality of data parts; generating, by the processor, the visible light signal by adding a preamble, being data indicating a head of a frame, to the head of each of the plurality of frames; and outputting, by the processor, the visible light signal to the transmitter.
-
-
2. A signal generating unit that generates a visible light signal to be transmitted by way of a luminance change of a light source included in a transmitter, the signal generating unit comprising:
-
a processor; and a memory storing thereon a computer program, which when executed by the processor, causes the processor to perform operations including; determining, as a method for transmitting the visible light signal from the transmitter, one of a single-frame transmitting method for transmitting data as one frame and a multiple-frame transmitting method for transmitting the data while dividing the data into a plurality of frames; when the multiple-frame transmitting method is determined to be the method for transmitting visible light signal, generating partition type information indicating a type of data to be transmitted, and generating combination data by adding the partition type information to the data to be transmitted; generating the plurality of frames, each of which includes each of a plurality of data parts, by dividing the combination data into the plurality of data parts; generating the visible light signal by adding a preamble that is data indicating a head of a frame to the head of each of the plurality of frames; and outputting the visible light signal to the transmitter.
-
-
3. A non-transitory recording medium having a computer program stored thereon, the computer program causing a processor which is included in a transmitter having a light source which transmits a visible light signal by change in luminace, to execute operations comprising:
-
determining, as a method for transmitting the visible light signal from the transmitter, one of a single-frame transmitting method for transmitting data as one frame and a multiple-frame transmitting method for transmitting the data while dividing the data into a plurality of frames; when the multiple-frame transmitting method is determined to be the method for transmitting visible light signal, generating partition type information indicating a type of data to be transmitted, and generating combination data by adding the partition type information to the data to be transmitted; generating the plurality of frames each of which includes each of a plurality of data parts by dividing the combination data into the plurality of data parts; generating the visible light signal by adding a preamble, which is data indicating a head of a frame, to the head of each of the plurality of frames; and outputting the visible light signal to the transmitter.
-
Specification