CN107682083B - Short-distance file transmission method and device - Google Patents

Short-distance file transmission method and device Download PDF

Info

Publication number
CN107682083B
CN107682083B CN201711057618.1A CN201711057618A CN107682083B CN 107682083 B CN107682083 B CN 107682083B CN 201711057618 A CN201711057618 A CN 201711057618A CN 107682083 B CN107682083 B CN 107682083B
Authority
CN
China
Prior art keywords
terminal
illumination intensity
flash lamp
file
photodiode
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201711057618.1A
Other languages
Chinese (zh)
Other versions
CN107682083A (en
Inventor
王豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201711057618.1A priority Critical patent/CN107682083B/en
Publication of CN107682083A publication Critical patent/CN107682083A/en
Application granted granted Critical
Publication of CN107682083B publication Critical patent/CN107682083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • H04B10/114Indoor or close-range type systems
    • H04B10/116Visible light communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences

Abstract

The application relates to the technical field of visible light communication, in particular to a short-distance file transmission method and device, which are used for solving the problem that a terminal for realizing visible light communication in the prior art is inconvenient to use; the short-distance file transmission method provided by the embodiment of the application comprises the following steps: the method comprises the steps that when a first terminal receives a command of sending a file to a second terminal, the distance between the first terminal and the second terminal is obtained; when the illumination intensity of a flash lamp in the first terminal on a photodiode of the second terminal is determined to be within the illumination intensity range when visible light communication is carried out at the distance, converting the file into an electric signal according to the coding information of the file; the flash lamp in the first terminal is used for converting the electric signal into the optical signal, the photodiode in the second terminal is used for carrying out photoelectric conversion processing after receiving the optical signal, and the obtained electric signal is converted into the file coding information for storage, so that the flash lamp of the first terminal and the photodiode of the second terminal are used for conveniently realizing file transmission.

Description

Short-distance file transmission method and device
Technical Field
The application relates to the technical field of visible light communication, in particular to a short-distance file transmission method and device.
Background
In recent years, with rapid development of Visible Light Communication (VLC) technology, some Visible Light Communication devices, such as terminals capable of Visible Light Communication, have gradually appeared.
In the prior art, a terminal for realizing visible light communication needs to realize file transmission with other terminals by means of a specific external device. Specifically, as shown in fig. 1, the external device mainly includes a light receiving module, a demodulation module, an interface module, a modulation module, and a light transmitting module. When receiving a file, the light receiving module receives a visible light signal converted by other external devices, converts the visible light signal into an electric signal and sends the electric signal to the demodulation module, and then the demodulation module converts the electric signal into a digital signal available for a user terminal and sends the digital signal to the terminal through the interface module; when a file is sent, the terminal sends the file to the modulation module through the interface module, the modulation module converts the file into an electric signal according to the file coding information and transmits the electric signal to the light sending module, and the light sending module converts the electric signal into a visible light signal and sends the visible light signal to other external devices. Therefore, when the two terminals carry out optical communication, each terminal needs to carry an external device, and any one of the terminals can not carry out file transmission in a visible light mode without the external device, so that the use is inconvenient, and the application market of visible light communication is limited.
Therefore, the terminal for realizing visible light communication in the prior art has the problems of inconvenient use and poor user experience.
Disclosure of Invention
The embodiment of the application provides a short-distance file transmission method and device, and aims to solve the problems that a terminal for realizing visible light communication in the prior art is inconvenient to use and poor in user experience.
The short-distance file transmission method provided by the embodiment of the application comprises the following steps:
the method comprises the steps that when a first terminal receives a command of sending a file to a second terminal, the distance between the first terminal and the second terminal is obtained;
when the first terminal determines that the illumination intensity of a flash lamp installed on the first terminal on a photodiode of the second terminal is within the illumination intensity range when visible light communication is carried out at the distance, the file is converted into an electric signal according to the coding information of the file;
and the first terminal converts the electric signal into an optical signal by using the flash lamp, so that a photodiode in the second terminal performs photoelectric conversion processing after receiving the optical signal, and converts the electric signal obtained by the photoelectric conversion processing into file coding information for storage.
Optionally, before converting the document into an electrical signal according to the encoded information of the document, the method further comprises:
if the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is smaller than or equal to a first illumination intensity, adjusting the position of the flash lamp to enable the flash lamp to be close to the focus of a lens in the first terminal; wherein the lens is a concave mirror or a convex lens, and the first illumination intensity is the minimum value of the illumination intensity range; and
converting the document into an electrical signal according to the encoded information of the document, comprising:
and after the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is within the illumination intensity range when the visible light communication is carried out at the distance after the position is adjusted, converting the file into an electric signal according to the coding information of the file.
Optionally, before converting the document into an electrical signal according to the encoded information of the document, the method further comprises:
if the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is greater than or equal to a second illumination intensity, adjusting the position of the flash lamp to enable the flash lamp to be far away from the focus of a lens in the first terminal; wherein the lens is a concave mirror or a convex lens, and the second illumination intensity is the maximum value of the illumination intensity range; and
converting the document into an electrical signal according to the encoded information of the document, comprising:
and after the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is within the illumination intensity range when the visible light communication is carried out at the distance after the position is adjusted, converting the file into an electric signal according to the coding information of the file.
Optionally, before converting the document into an electrical signal according to the encoded information of the document, the method further comprises:
if the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is smaller than or equal to a first illumination intensity, increasing the power supply voltage or the power supply current of the flash lamp; the first illumination intensity is the minimum value of the illumination intensity range; and
converting the document into an electrical signal according to the encoded information of the document, comprising:
and after the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is within the illumination intensity range when the visible light communication is carried out at the distance after the power supply voltage or the power supply current is adjusted, converting the file into an electric signal according to the coding information of the file.
Optionally, before converting the document into an electrical signal according to the encoded information of the document, the method further comprises:
if the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is greater than or equal to a second illumination intensity, reducing the power supply voltage or the power supply current of the flash lamp; the second illumination intensity is the maximum value of the illumination intensity range; and
converting the document into an electrical signal according to the encoded information of the document, comprising:
and after the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is within the illumination intensity range when the visible light communication is carried out at the distance after the power supply voltage or the power supply current is adjusted, converting the file into an electric signal according to the coding information of the file.
Optionally, the first terminal converts the electrical signal into an optical signal by using the flash, and includes:
the first terminal adjusts the amplitude of the electric signal according to the working area of the flash lamp;
the first terminal superposes the electric signal with the adjusted amplitude on a power supply of the flash lamp;
and the first terminal sends out an optical signal by using the flashlight after the power supply is adjusted.
Optionally, the method further comprises:
displaying any one or more of the following information on the display screens of the first and second terminals during the transmission of the optical signal to the photodiode in the second terminal using the flash:
a transmitted proportion of the file;
the remaining transmission time of the file;
the current transmission rate.
The embodiment of the application provides a short distance file transmission device, includes:
the acquisition module is used for acquiring the distance between the first terminal and the second terminal when receiving an instruction of sending a file to the second terminal;
the conversion module is used for converting the file into an electric signal according to the coding information of the file when the illumination intensity of a flash lamp installed in the device on a photodiode of the second terminal is determined to be within the illumination intensity range when the visible light communication is carried out at the distance;
and the processing module is used for converting the electric signal into an optical signal by using a flash lamp in the first terminal, so that a photodiode in the second terminal performs photoelectric conversion processing after receiving the optical signal, and converts the electric signal obtained by the photoelectric conversion processing into file coding information for storage.
Optionally, the apparatus further comprises an adjustment module:
the adjusting module is used for adjusting the position of the flash lamp to enable the flash lamp to be close to the focus of a first lens in the device if the illumination intensity of the flash lamp on a photodiode of the second terminal is determined to be smaller than or equal to a first illumination intensity before the file is converted into an electric signal according to the coding information of the file; the first lens is a concave mirror or a convex lens, and the first illumination intensity is the minimum value of the illumination intensity range;
the conversion module is specifically configured to:
and after the illumination intensity of the flash lamp on the photodiode of the second terminal after the position is adjusted is determined to be within the illumination intensity range when the visible light communication is carried out at the distance, converting the file into an electric signal according to the coding information of the file.
Optionally, the adjusting module is further configured to:
if the illumination intensity of the flash lamp on the photodiode of the second terminal is determined to be greater than or equal to a second illumination intensity, adjusting the position of the flash lamp to enable the flash lamp to be far away from the focus of a lens in the device; wherein the lens is a concave mirror or a convex lens, and the second illumination intensity is the maximum value of the illumination intensity range;
the conversion module is specifically configured to:
and after the illumination intensity of the flash lamp on the photodiode of the second terminal after the position is adjusted is determined to be within the illumination intensity range when the visible light communication is carried out at the distance, converting the file into an electric signal according to the coding information of the file.
Optionally, the adjusting module is further configured to:
before the file is converted into an electric signal according to the coding information of the file, if the illumination intensity of the flash lamp on a photodiode of the second terminal is determined to be smaller than or equal to a first illumination intensity, increasing the power supply voltage or the power supply current of the flash lamp; the first illumination intensity is the minimum value of the illumination intensity range;
the conversion module is specifically configured to:
and after the illumination intensity of the flash lamp on the photodiode of the second terminal after the power supply voltage or the power supply current is adjusted is determined to be within the illumination intensity range when the visible light communication is carried out at the distance, converting the file into an electric signal according to the coding information of the file.
Optionally, the adjusting module is further configured to:
before the file is converted into an electric signal according to the coding information of the file, if the illumination intensity of the flash lamp on a photodiode of the second terminal is determined to be greater than or equal to a second illumination intensity, reducing the power supply voltage or the power supply current of the flash lamp; the second illumination intensity is the maximum value of the illumination intensity range;
the conversion module is specifically configured to:
and after the illumination intensity of the flash lamp on the photodiode of the second terminal after the power supply voltage or the power supply current is adjusted is determined to be within the illumination intensity range when the visible light communication is carried out at the distance, converting the file into an electric signal according to the coding information of the file.
Optionally, the sending process is specifically configured to:
adjusting the amplitude of the electric signal according to the working area of the flash lamp;
superposing the electric signal with the adjusted amplitude on a power supply of the flash lamp;
and the flashlight after adjusting the power supply is used for sending light signals outwards.
Optionally, the apparatus further comprises a display module:
the display module is used for displaying any one or more of the following information on the display screens of the device and the second terminal in the process of transmitting the optical signal to the photodiode in the second terminal by using the flash lamp:
a transmitted proportion of the file;
the remaining transmission time of the file;
the current transmission rate.
Optionally, the apparatus further comprises a photodiode:
and the photodiode is used for receiving an optical signal sent by a flash lamp in the second terminal and converting the optical signal into an electric signal.
Optionally, the device further comprises a second lens, the photodiode being located at a focal point of the second lens; wherein the second lens is a concave mirror or a convex lens.
The computer device provided by the embodiment of the application comprises a processor, wherein the processor is used for realizing the steps of the short-distance file transmission method when executing the computer program stored in the memory.
An embodiment of the present application provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the short-distance file transmission method described above.
In the embodiment of the application, when the first terminal receives an instruction of sending a file to the second terminal, the distance between the first terminal and the second terminal is acquired, when the illumination intensity of a flash lamp in the first terminal on a photodiode of the second terminal is determined to be within the illumination intensity range when the distance is used for carrying out visible light communication, the file is converted into an electric signal according to the coding information of the file, the flash lamp in the first terminal is further used for converting the electric signal into an optical signal, so that the photodiode in the second terminal carries out photoelectric conversion processing after receiving the optical signal, and the electric signal obtained by the photoelectric conversion processing is converted into the coding information of the file for storage, therefore, based on the flash lamp of the first terminal and the photodiode of the second terminal, the short-distance file transmission between the first terminal and the second terminal can be conveniently realized by using a visible light technology, and a complex external device is not needed, so that the terminal is more convenient to use and the user experience is better.
Drawings
Fig. 1 is a schematic diagram of an external device that a terminal implementing visible light communication needs to use in the prior art;
fig. 2 is a flowchart of a short-distance file transmission method according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a positional relationship between a convex lens and a flash lamp according to an embodiment of the present disclosure;
fig. 4 is a positional relationship between a concave mirror and a flash lamp provided in an embodiment of the present application;
fig. 5 is a schematic diagram of visible light communication between terminals according to an embodiment of the present application;
fig. 6 shows the positions of the concave mirror and the photodiode provided in the embodiment of the present application;
FIG. 7 illustrates the positions of a convex lens and a photodiode provided in an embodiment of the present application;
fig. 8 is a structural diagram of a short-distance file transmission device according to an embodiment of the present application;
fig. 9 is a schematic diagram of a hardware structure for implementing the short-range file transmission apparatus/terminal device according to an embodiment of the present application.
Detailed Description
In the embodiment of the application, when the first terminal receives an instruction of sending a file to the second terminal, the distance between the first terminal and the second terminal is acquired, when the illumination intensity of a flash lamp in the first terminal on a photodiode of the second terminal is determined to be within the illumination intensity range when the distance is used for carrying out visible light communication, the file is converted into an electric signal according to the coding information of the file, the flash lamp in the first terminal is further used for converting the electric signal into an optical signal, so that the photodiode in the second terminal carries out photoelectric conversion processing after receiving the optical signal, and the electric signal obtained by the photoelectric conversion processing is converted into the coding information of the file for storage, therefore, based on the flash lamp of the first terminal and the photodiode of the second terminal, the short-distance file transmission between the first terminal and the second terminal can be conveniently realized by using a visible light technology, and a complex external device is not needed, so that the terminal is more convenient to use and the user experience is better.
It should be noted that, in the embodiment of the present application, the terminal includes a flash lamp, a photodiode, and two lenses, where a center of the first lens and a center of the flash lamp are located on a same axis, and a distance between the first lens and the flash lamp can be adjusted by a telescopic rod; the positional relationship between the photodiode and the flash lamp, the first lens is not limited, but the photodiode is located at the focal point of the second lens.
The embodiments of the present application will be described in further detail with reference to the drawings attached hereto.
Example one
As shown in fig. 2, a flowchart of a short-distance file transmission method provided in the embodiment of the present application includes the following steps:
s201: the method comprises the steps that when a first terminal receives an instruction of sending a file to a second terminal, the distance between the first terminal and the second terminal is obtained.
Optionally, the first terminal may be internally provided with an infrared remote sensor, and when receiving an instruction to send a file to the second terminal, the infrared remote sensor is used to obtain a distance between the first terminal and the second terminal; or, the first terminal may be integrated with an ultrasound apparatus, and when receiving an instruction to send a file to the second terminal, the distance between the first terminal and the second terminal is acquired by the ultrasound apparatus.
Further, it may be determined whether a distance between the first terminal and the second terminal is smaller than a preset threshold, where the preset threshold may be a limit distance when performing short-distance communication using visible light, and if so, performing subsequent operations; otherwise, the user can be prompted that the current distance is too far and the visible light communication cannot be performed.
S202: and when the illumination intensity of the flash lamp in the first terminal on the photodiode of the second terminal is determined to be within the illumination intensity range when the visible light communication is carried out at the distance, converting the file into an electric signal according to the coding information of the file.
In the specific implementation process, the corresponding relationship between the distance and the illumination intensity range may be established in advance, and then the reasonable illumination intensity range (I) in the visible light communication with the distance H may be determined according to the corresponding relationship and the distance H acquired in S2011,I2) And calculating the illumination intensity C of the flash lamp irradiating the photodiode of the second terminal according to the current illumination intensity (the illumination intensity can be predetermined after the flash lamp is manufactured) of the flash lamp in the first terminal and the distance H, and then judging whether the illumination intensity C is within the illumination intensity range (I)1,I2) If the light intensity C is within the light intensity range (I)1,I2) In addition, the file can be directly converted into an electric signal according to the encoded information of the file, for example, the file is converted from the encoded information of 0101 into corresponding high and low levels; if the light intensity C is not in the light intensity range (I)1,I2) The intensity of illumination of the flash lamp in the first terminal onto the photodiode of the second terminal can then be adjusted in the following manner.
The first method is as follows: the degree of convergence of the light emitted from the flash lamp is adjusted by a lens (first lens), such as a concave mirror or a convex lens.
Specifically, a lens may be installed near the flash lamp in the first terminal, a center of the lens and a center of the flash lamp are located on the same axis, and a distance between the lens and the flash lamp may be adjusted by a telescopic rod. If the illumination intensity C of the flash lamp in the first terminal on the photodiode of the second terminal is less than or equal to I1That is, when the intensity of the light emitted from the flash lamp to the photodiode of the second terminal needs to be increased, the position of the flash lamp in the first terminal can be adjusted to make the flash lamp close to the focus of the lens in the first terminal, so that the flash lamp can be adjusted to be in contact with the lens in the first terminalThe light emitted by the flash lamp is converged, the unit solid angle of the flash lamp is reduced, and the luminous intensity of the flash lamp is improved, so that the illumination intensity of the flash lamp in the first terminal, which irradiates on the photodiode of the second terminal, is improved. If the illumination intensity C of the flash lamp in the first terminal on the photodiode of the second terminal is greater than or equal to I2When the illumination intensity of the flash lamp irradiating on the photodiode of the second terminal needs to be reduced, the position of the flash lamp can be adjusted through the telescopic rod to enable the flash lamp to be far away from the focus of the lens in the first terminal, so that light rays emitted by the flash lamp are diffused, the unit solid angle of the flash lamp is increased, the luminous intensity of the flash lamp is reduced, and the illumination intensity of the flash lamp irradiating on the photodiode of the second terminal in the first terminal is reduced.
If the lens used is a convex lens, the positional relationship between the convex lens and the flash lamp is shown in fig. 3, the LED in fig. 3 represents the flash lamp, F is the focal point of the convex lens, and the position between the focal point and the convex lens is the position to which the flash lamp can be adjusted; if the lens used is a concave mirror, the positional relationship between the concave mirror and the strobe is as shown in fig. 4, where in fig. 4 the LED represents the strobe, F is the focal point of the concave mirror, and the position between the focal point and the concave mirror is the position to which the strobe can be adjusted.
The above-described adjustment process is described below with reference to specific examples.
In the implementation process, the relationship between the distance from the flash to the focal point of the lens and the illumination intensity of the flash at different distances may be established in advance, for example, the established relationship may be: when the flash lamp is 3mm away from the focal point of the lens, the illumination intensity at 1m is 100lx, the illumination intensity at 2m is 80lx, and the illumination intensity at 3m is 50 lx; when the flash lamp is 2mm away from the focal point of the lens, the illumination intensity at 1m is 110lx, the illumination intensity at 2m is 85lx, and the illumination intensity at 3m is 63 lx; when the flash lamp is 1mm from the focal point of the lens, the light intensity at 1m is 120lx, the light intensity at 2m is 90lx, and the light intensity at 3m is 70 lx.
In the implementation process, if the illumination intensity C of the flash lamp in the first terminal on the photodiode of the second terminal is determined not to be equalIn the illumination intensity range (I)1,I2) In the method, the illumination intensity range (I) can be determined first1,I2) M (M is only in the illumination intensity range, and this is only an example), and then according to M and the relationship between the distance from the flash to the focal point of the lens and the illumination intensities of the flash at different distances, a preferred distance from the flash to the focal point of the lens when the visible light communication is performed at the distance H is determined.
For example, the distance between the first terminal and the second terminal is 2m, the reasonable illumination intensity range is (78lx, 84lx), the illumination intensity of the current flash lamp in the first terminal that irradiates the photodiode in the second terminal is 60lx and less than 78lx, the median of the illumination intensity range (78lx, 84lx) is calculated to be 81lx, and the correspondence is found, where when the distance is 2m, if the flash lamp is 3mm from the focal point of the lens, the illumination intensity at 2m is 80lx and is closest to 81lx, and at this time, it can be determined that the preferred distance from the flash lamp to the focal point of the lens is 3mm when visible light communication is performed at 2 m.
Further, according to the determined preferred distance 3mm from the flash lamp to the focal point of the lens, the position of the flash lamp is adjusted by using the telescopic rod, and when the flash lamp is adjusted to the corresponding position, the illumination intensity of the current flash lamp irradiating the photodiode in the second terminal and the illumination intensity range (I) when the current flash lamp is positioned at the distance H for carrying out visible light communication are determined1,I2) Then converting the file into an electric signal according to the coding information of the file.
In the above process, when the telescopic rod is used for adjusting the position of the flash lamp, if the illumination intensity C of the flash lamp in the first terminal on the photodiode of the second terminal is less than or equal to I1Adjusting the position of the flash lamp to enable the flash lamp to be close to the focus of the lens in the first terminal; if the illumination intensity C of a flash lamp in the first terminal on a photodiode of the second terminal is determined to be greater than or equal to I2Then the position of the flash is adjusted to bring the flash away from the focus of the lens in the first terminal.
The second method comprises the following steps: and adjusting the luminous intensity of a flash lamp in the first terminal by using the supply voltage or the supply current.
In the implementation process, if the illumination intensity C of a flash lamp in the first terminal on a photodiode of the second terminal is less than or equal to I1The power supply voltage or the power supply current of the flash lamp can be increased, and the luminous intensity of the flash lamp is further improved; if the illumination intensity C of the flash lamp in the first terminal on the photodiode of the second terminal is greater than or equal to I2The supply voltage or current of the flash lamp can be reduced, thereby reducing the luminous intensity of the flash lamp.
Taking the example of increasing the illumination intensity of the flash lamp to irradiate the photodiode of the second terminal, at this time, the supply voltage or the supply current of the flash lamp in the first terminal may be increased, wherein if the supply voltage is increased, the increased supply voltage does not exceed the rated voltage of the flash lamp; if the power supply current is increased, the increased power supply current does not exceed the rated current of the flash lamp, then the luminous flux of the current flash lamp is calculated according to parameters such as power supply voltage, power supply current, power factor, conversion efficiency and wavelength, the luminous intensity of the flash lamp is calculated according to the luminous flux, the illumination intensity of the flash lamp on a photodiode of a second terminal is calculated according to the luminous intensity and the distance H, after the illumination intensity is determined to be not less than the illumination intensity I when visible light communication is carried out at the distance H, the file is converted into an electric signal according to the coding information of the file.
The above process is explained below by taking the adjustment of the voltage as an example.
In the specific implementation process, the relationship between the voltage and the luminous intensity of the flash lamp can be established in advance, and if the illumination intensity C of the flash lamp in the first terminal on the photodiode of the second terminal is determined not to be in the illumination intensity range (I)1,I2) In the method, the illumination intensity range (I) can be determined first1,I2) Then, the luminous intensity of the flash lamp when visible light communication is performed at the distance H is calculated according to M, and the supply voltage of the flash lamp is determined according to the relationship between the voltage and the luminous intensity of the flash lamp.
For example, the relationship between the voltage and the emission intensity of the flash lamp established in advance is: 2.5V-125lx, 3V-130lx, 4V-140 lx. Assuming that the current distance between the first terminal and the second terminal is 2m, the reasonable illumination intensity range is (78lx, 84lx), the illumination intensity of the flash lamp in the first terminal to the photodiode in the second terminal is 60lx and less than 78lx, the median of the illumination intensity range (78lx, 84lx) is calculated to be 81x, and the illumination intensity of the flash lamp calculated according to 2m and the illumination intensity 81lx is 141lx, it can be known from the above correspondence that the voltage closest to 141lx is 4V, and at this time, it can be determined that the preferred power supply voltage of the flash lamp is 4V.
Further, the supply voltage of the flash lamp is adjusted, and when the supply voltage of the flash lamp is adjusted to the determined preferred supply voltage of 4V, the illumination intensity of the current flash lamp irradiating the photodiode in the second terminal and the illumination intensity range (I) when the visible light communication is performed at the distance H are determined1,I2) Then converting the file into an electric signal according to the coding information of the file.
In the above process, when the supply voltage of the flash lamp is adjusted, if the illumination intensity C of the flash lamp in the first terminal on the photodiode of the second terminal is less than or equal to I1Adjusting the voltage of the flash lamp to 4V; if the illumination intensity C of a flash lamp in the first terminal on a photodiode of the second terminal is determined to be greater than or equal to I2Then, the voltage of the flash lamp is adjusted to 4V.
In a specific implementation process, the manner of adjusting the current is similar to the manner of adjusting the voltage, and is not described herein again.
S203: and converting the electric signal into an optical signal by using a flash lamp in the first terminal, so that a photodiode in the second terminal performs photoelectric conversion processing after receiving the optical signal, and converting the electric signal obtained by the photoelectric conversion processing into file coding information for storage.
In a specific implementation process, the amplitude of the electrical signal can be adjusted according to the working area of the flash lamp in the first terminal, the electrical signal with the adjusted amplitude is superposed on the power supply of the flash lamp, and then the flash lamp with the adjusted power supply sends an optical signal outwards, so that the photodiode in the second terminal can perform photoelectric conversion processing after receiving the optical signal, convert the electrical signal obtained by the photoelectric conversion processing into recognizable file coding information, such as binary coding information of 0 and 1, and store the information, thereby completing file transmission.
Further, in transmitting the optical signal to the photodiode in the second terminal using the flash in the first terminal, any one or more of the following information may be displayed on the display screens of the first and second terminals:
the transmitted proportion of the file; the remaining transfer time of the file; the current transmission rate.
In the embodiment of the application, when the first terminal receives an instruction of sending a file to the second terminal, the distance between the first terminal and the second terminal is acquired, when the illumination intensity of a flash lamp in the first terminal on a photodiode of the second terminal is determined to be within the illumination intensity range when the distance is used for carrying out visible light communication, the file is converted into an electric signal according to the coding information of the file, the flash lamp in the first terminal is further used for converting the electric signal into an optical signal, so that the photodiode in the second terminal carries out photoelectric conversion processing after receiving the optical signal, and the electric signal obtained by the photoelectric conversion processing is converted into the coding information of the file for storage, therefore, based on the flash lamp of the first terminal and the photodiode of the second terminal, the short-distance file transmission between the first terminal and the second terminal can be conveniently realized by using a visible light technology, and a complex external device is not needed, so that the terminal is more convenient to use and the user experience is better.
Example two
As shown in fig. 5, a schematic diagram of visible light communication between terminals according to an embodiment of the present application is provided, where a left dotted line box represents a transmitting system, and a right dotted line box represents a receiving system, where:
the transmitting system comprises a signal source, a modulation circuit, a driving circuit and a flash lamp, wherein the signal source represents an electric signal obtained by converting a file according to file coding information; the modulation circuit is used for properly adjusting the amplitude of the electric signal according to the amplitude of the electric signal in the information source and the working interval of the flash lamp; and the driving circuit is used for driving the flash lamp.
The receiving system comprises a photoelectric detector, an amplifying circuit and a judging circuit, wherein the photoelectric detector is used for converting a received optical signal into an electric signal, and the common photoelectric detector is a PIN photodiode or an APD photodiode and the like; the amplifying circuit is used for amplifying the weak signals detected by the photoelectric detector; and the decision circuit is used for restoring the amplified electric signal into code information which can be identified by the terminal, such as binary 0 and binary 1, by utilizing a decision threshold.
In practical applications, the transmitting system and the receiving system can be integrated into a terminal, so that the terminal can transmit the file in a visible light mode and can receive the file in a visible light mode.
In a specific implementation process, when the first terminal sends a file, the file may be converted into an electrical signal according to binary coding information of the file, for example, the code 0 in the file a is converted into a low level of 2.84V, the code 1 in the file is converted into a high level of 5V, then the amplitude of the electrical signal is adjusted by using the modulation circuit, the electrical signal after the amplitude is adjusted is loaded on the flash lamp, and the flash lamp sends an optical signal to the second terminal under the combined action of the driving circuit and the loaded electrical signal.
When receiving a file, the second terminal detects an optical signal sent by the first terminal by using the photoelectric detector, converts the detected optical signal into an electrical signal, amplifies the electrical signal by using the amplifying circuit, and finally converts the amplified electrical signal into binary codes expressed by 0 and 1 by using the judging circuit.
In addition, in the implementation process, in order to make the photodetector (photodiode) receive more optical signals, a lens (second lens) may be added in the terminal to converge the optical signals near the photodiode, and the photodiode is located at the focal point of the lens, wherein the lens is a concave mirror or a convex lens.
Alternatively, if the added lens is a concave mirror, the positional relationship between the concave mirror and the photodiode is shown in fig. 6, pin represents the photodiode, and F is the focal point of the concave mirror; if the added lens is a convex lens, the positional relationship between the convex lens and the photodiode is shown in fig. 7, where pin in fig. 7 represents the photodiode and F is the focal point of the convex lens.
EXAMPLE III
Based on the same inventive concept, the embodiment of the present application further provides a short-distance file transmission device corresponding to the short-distance file transmission method, and as the principle of solving the problem of the device is similar to that of the short-distance file transmission method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 8, a structure diagram of a short-distance file transmitting apparatus 80 provided in the embodiment of the present application includes:
an obtaining module 801, configured to obtain a distance between a first terminal and a second terminal when receiving an instruction to send a file to the second terminal;
a conversion module 802, configured to determine that an illumination intensity of a flash installed in the apparatus on a photodiode of the second terminal is within an illumination intensity range when visible light communication is performed at the distance, and convert the file into an electrical signal according to encoding information of the file;
the processing module 803 is configured to convert the electrical signal into an optical signal by using a flash lamp in the first terminal, so that a photodiode in the second terminal performs a photoelectric conversion process after receiving the optical signal, and converts the electrical signal obtained through the photoelectric conversion process into file encoding information for storage.
Optionally, the apparatus further comprises the adjusting module 804:
the adjusting module 804 is configured to, before converting the file into an electrical signal according to the encoding information of the file, adjust the position of the flash lamp to enable the flash lamp to be close to a focus of a first lens in the apparatus if it is determined that the illumination intensity of the flash lamp on the photodiode of the second terminal is smaller than or equal to a first illumination intensity; the first lens is a concave mirror or a convex lens, and the first illumination intensity is the minimum value of the illumination intensity range;
the conversion module 802 is specifically configured to:
and after the illumination intensity of the flash lamp on the photodiode of the second terminal after the position is adjusted is determined to be within the illumination intensity range when the visible light communication is carried out at the distance, converting the file into an electric signal according to the coding information of the file.
Optionally, the adjusting module 804 is further configured to:
if the illumination intensity of the flash lamp on the photodiode of the second terminal is determined to be greater than or equal to a second illumination intensity, adjusting the position of the flash lamp to enable the flash lamp to be far away from the focus of a lens in the device; wherein the lens is a concave mirror or a convex lens, and the second illumination intensity is the maximum value of the illumination intensity range;
the conversion module 802 is specifically configured to:
and after the illumination intensity of the flash lamp on the photodiode of the second terminal after the position is adjusted is determined to be within the illumination intensity range when the visible light communication is carried out at the distance, converting the file into an electric signal according to the coding information of the file.
Optionally, the adjusting module 804 is further configured to:
before the file is converted into an electric signal according to the coding information of the file, if the illumination intensity of the flash lamp on a photodiode of the second terminal is determined to be smaller than or equal to a first illumination intensity, increasing the power supply voltage or the power supply current of the flash lamp; the first illumination intensity is the minimum value of the illumination intensity range;
the conversion module 802 is specifically configured to:
and after the illumination intensity of the flash lamp on the photodiode of the second terminal after the power supply voltage or the power supply current is adjusted is determined to be within the illumination intensity range when the visible light communication is carried out at the distance, converting the file into an electric signal according to the coding information of the file.
Optionally, the adjusting module 804 is further configured to:
before the file is converted into an electric signal according to the coding information of the file, if the illumination intensity of the flash lamp on a photodiode of the second terminal is determined to be greater than or equal to a second illumination intensity, reducing the power supply voltage or the power supply current of the flash lamp; the second illumination intensity is the maximum value of the illumination intensity range;
the conversion module 802 is specifically configured to:
and after the illumination intensity of the flash lamp on the photodiode of the second terminal after the power supply voltage or the power supply current is adjusted is determined to be within the illumination intensity range when the visible light communication is carried out at the distance, converting the file into an electric signal according to the coding information of the file.
Optionally, the processing module 803 is specifically configured to:
adjusting the amplitude of the electric signal according to the working area of the flash lamp;
superposing the electric signal with the adjusted amplitude on a power supply of the flash lamp;
and the flashlight after adjusting the power supply is used for sending light signals outwards.
Optionally, the apparatus further comprises a display module 805:
the display module 805 is specifically configured to display any one or more of the following information on the display screens of the apparatus and the second terminal in the process of transmitting the optical signal to the photodiode in the second terminal by using the flash:
a transmitted proportion of the file;
the remaining transmission time of the file;
the current transmission rate.
Optionally, the apparatus further comprises a photodiode 806:
and the photodiode is used for receiving an optical signal sent by a flash lamp in the second terminal and converting the optical signal into an electric signal.
Optionally, the apparatus further comprises a second lens 807, the photodiode being located at a focal point of the second lens; wherein the second lens is a concave mirror or a convex lens.
Example four
Fig. 9 is a schematic diagram of a hardware structure of a short-range file transmission apparatus/terminal device according to an embodiment of the present application. The short-range file transmission apparatus/terminal device of this embodiment includes: a processor 901, a memory 902 and a computer program, such as a short-range file transfer program, stored in and executable on said processor. The processor, when executing the computer program, implements the steps in each short-distance file transmission method embodiment described above, such as step S201 shown in fig. 2. Alternatively, the processor implements the functions of each module/unit in the above device embodiments when executing the computer program, for example, the obtaining module 801.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the short-distance file transmission apparatus/terminal device. For example, the computer program may be divided into an acquisition module, a conversion module and a transmission module, and each module has the following specific functions:
the acquisition module is used for acquiring the distance between the first terminal and the second terminal when receiving an instruction of sending a file to the second terminal;
the conversion module is used for converting the file into an electric signal according to the coding information of the file when the illumination intensity of the flash lamp in the first terminal on the photodiode of the second terminal is determined to be within the illumination intensity range when the visible light communication is carried out at the distance;
and the processing module is used for converting the electric signal into an optical signal by using the flash lamp in the first terminal so that a photodiode in the second terminal performs photoelectric conversion processing after receiving the optical signal, and converting the electric signal obtained by the photoelectric conversion processing into file coding information for storage.
The short-distance file transmission device/terminal equipment can be computing equipment such as a desktop computer, a notebook computer, a palm computer and a cloud server. The short-range file transmission device/terminal equipment may include, but is not limited to, a processor, a memory. It will be understood by those skilled in the art that the schematic diagram is merely an example of a short-range file transfer apparatus/terminal device, and does not constitute a limitation of a short-range file transfer apparatus/terminal device, and may include more or less components than those shown, or some components in combination, or different components, for example, the short-range file transfer apparatus/terminal device may further include an input-output device, a network access device, a bus, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the short-range file transfer apparatus/terminal device, and various interfaces and lines connecting the various parts of the entire short-range file transfer apparatus/terminal device.
The memory may be used to store the computer programs and/or modules, and the processor may implement the various functions of the short-range file transfer apparatus/terminal device by running or executing the computer programs and/or modules stored in the memory and calling the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
EXAMPLE five
The short-range file transfer apparatus/terminal device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer-readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A short-distance file transmission method is characterized by comprising the following steps:
the method comprises the steps that when a first terminal receives a command of sending a file to a second terminal, the distance between the first terminal and the second terminal is obtained; the first terminal and the second terminal comprise a flash lamp, a photodiode and two lenses, wherein the center of the first lens and the center of the flash lamp are located on the same axis, and the distance between the first lens and the flash lamp is adjusted through a telescopic rod; the photodiode is positioned on the focal point of the second lens;
when the first terminal determines that the illumination intensity of a flash lamp installed on the first terminal on a photodiode of the second terminal is within the illumination intensity range when visible light communication is carried out at the distance, the file is converted into an electric signal according to the coding information of the file;
the first terminal converts the electric signal into an optical signal by using the flash lamp, so that a photodiode in the second terminal performs photoelectric conversion processing after receiving the optical signal, and converts the electric signal obtained by the photoelectric conversion processing into file coding information for storage;
before converting the document into an electrical signal according to the encoded information of the document, the method further comprises:
if the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is smaller than or equal to a first illumination intensity, adjusting the position of the flash lamp to enable the flash lamp to be close to the focus of a first lens in the first terminal; the first lens is a concave mirror or a convex lens, and the first illumination intensity is the minimum value of the illumination intensity range; and
converting the document into an electrical signal according to the encoded information of the document, comprising:
after the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is within the illumination intensity range when the visible light communication is carried out at the distance after the position is adjusted, converting the file into an electric signal according to the coding information of the file;
before converting the document into an electrical signal according to the encoded information of the document, the method further comprises:
if the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is greater than or equal to a second illumination intensity, adjusting the position of the flash lamp to enable the flash lamp to be far away from the focus of a first lens in the first terminal; wherein the first lens is a concave mirror or a convex lens, and the second illumination intensity is the maximum value of the illumination intensity range; and
converting the document into an electrical signal according to the encoded information of the document, comprising:
and after the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is within the illumination intensity range when the visible light communication is carried out at the distance after the position is adjusted, converting the file into an electric signal according to the coding information of the file.
2. The method of claim 1, wherein prior to converting the document into the electrical signal based on the encoded information of the document, the method further comprises:
if the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is smaller than or equal to a first illumination intensity, increasing the power supply voltage or the power supply current of the flash lamp; the first illumination intensity is the minimum value of the illumination intensity range; and
converting the document into an electrical signal according to the encoded information of the document, comprising:
and after the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is within the illumination intensity range when the visible light communication is carried out at the distance after the power supply voltage or the power supply current is adjusted, converting the file into an electric signal according to the coding information of the file.
3. The method of claim 1, wherein prior to converting the document into the electrical signal based on the encoded information of the document, the method further comprises:
if the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is greater than or equal to a second illumination intensity, reducing the power supply voltage or the power supply current of the flash lamp; the second illumination intensity is the maximum value of the illumination intensity range; and
converting the document into an electrical signal according to the encoded information of the document, comprising:
and after the first terminal determines that the illumination intensity of the flash lamp on the photodiode of the second terminal is within the illumination intensity range when the visible light communication is carried out at the distance after the power supply voltage or the power supply current is adjusted, converting the file into an electric signal according to the coding information of the file.
4. The method of claim 1, wherein the first terminal converting the electrical signal to an optical signal using the flash, comprising:
the first terminal adjusts the amplitude of the electric signal according to the working area of the flash lamp;
the first terminal superposes the electric signal with the adjusted amplitude on a power supply of the flash lamp;
and the first terminal sends out an optical signal by using the flashlight after the power supply is adjusted.
5. The method of any of claims 1 to 4, further comprising:
displaying any one or more of the following information on the display screens of the first and second terminals during the transmission of the optical signal to the photodiode in the second terminal using the flash:
a transmitted proportion of the file;
the remaining transmission time of the file;
the current transmission rate.
6. A short-range file transfer apparatus, comprising:
the acquisition module is used for acquiring the distance between the first terminal and the second terminal when receiving an instruction of sending a file to the second terminal; the first terminal and the second terminal comprise a flash lamp, a photodiode and two lenses, wherein the center of the first lens and the center of the flash lamp are located on the same axis, and the distance between the first lens and the flash lamp is adjusted through a telescopic rod; the photodiode is positioned on the focal point of the second lens;
the conversion module is used for converting the file into an electric signal according to the coding information of the file when the illumination intensity of a flash lamp installed in the device on a photodiode of the second terminal is determined to be within the illumination intensity range when the visible light communication is carried out at the distance;
the processing module is used for converting the electric signal into an optical signal by using the flash lamp, so that a photodiode in the second terminal performs photoelectric conversion processing after receiving the optical signal, and converts the electric signal obtained by the photoelectric conversion processing into file coding information for storage;
the device further comprises:
the adjusting module is used for adjusting the position of the flash lamp to enable the flash lamp to be close to the focus of a first lens in the device if the illumination intensity of the flash lamp on a photodiode of the second terminal is determined to be smaller than or equal to a first illumination intensity before the file is converted into an electric signal according to the coding information of the file; the first lens is a concave mirror or a convex lens, and the first illumination intensity is the minimum value of the illumination intensity range;
the conversion module is specifically configured to convert the file into an electrical signal according to the coding information of the file after determining that the illumination intensity of the flash lamp on the photodiode of the second terminal after the position adjustment is within the illumination intensity range when the visible light communication is performed at the distance;
the device further comprises:
the adjusting module is used for adjusting the position of the flash lamp to enable the flash lamp to be far away from the focus of a first lens in the device if the illumination intensity of the flash lamp on a photodiode of the second terminal is determined to be larger than or equal to a second illumination intensity before the file is converted into an electric signal according to the coding information of the file; wherein the first lens is a concave mirror or a convex lens, and the second illumination intensity is the maximum value of the illumination intensity range;
the conversion module is specifically configured to convert the file into an electrical signal according to the coding information of the file after determining that the illumination intensity of the flash lamp on the photodiode of the second terminal after the position adjustment is within the illumination intensity range when the visible light communication is performed at the distance.
7. The apparatus of claim 6, wherein the photodiode is configured to receive an optical signal from a flash in the second terminal and convert the optical signal to an electrical signal.
8. The apparatus of claim 7, wherein the second lens is a concave mirror or a convex lens.
9. A computer arrangement, characterized in that the computer arrangement comprises a processor and a memory, the processor being adapted to carry out the steps of the short-range file transmission method according to any one of claims 1-5 when executing a computer program stored in the memory.
10. A readable storage medium having stored thereon a computer program, characterized in that: the computer program when being executed by a processor realizes the steps of the short-range file transfer method according to any one of claims 1 to 5.
CN201711057618.1A 2017-11-01 2017-11-01 Short-distance file transmission method and device Active CN107682083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711057618.1A CN107682083B (en) 2017-11-01 2017-11-01 Short-distance file transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711057618.1A CN107682083B (en) 2017-11-01 2017-11-01 Short-distance file transmission method and device

Publications (2)

Publication Number Publication Date
CN107682083A CN107682083A (en) 2018-02-09
CN107682083B true CN107682083B (en) 2020-04-24

Family

ID=61143499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711057618.1A Active CN107682083B (en) 2017-11-01 2017-11-01 Short-distance file transmission method and device

Country Status (1)

Country Link
CN (1) CN107682083B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104527B (en) * 2018-07-27 2021-01-22 京东方科技集团股份有限公司 Information transmitting apparatus for optical communication, optical communication method, and optical communication system
CN110278029B (en) * 2019-06-25 2020-12-22 Oppo广东移动通信有限公司 Data transmission control method and related product
CN112152723B (en) * 2019-06-28 2022-08-02 Oppo广东移动通信有限公司 Mobile terminal
CN112152710B (en) * 2019-06-28 2022-03-22 Oppo广东移动通信有限公司 Data transmission method and device, electronic equipment and storage medium
CN112311456A (en) * 2019-07-29 2021-02-02 Oppo广东移动通信有限公司 LiFi communication control method and device, transmitting end and mobile terminal
CN112332915A (en) * 2019-08-05 2021-02-05 Oppo广东移动通信有限公司 Light fidelity LiFi emission device, control method, mobile terminal and medium
CN112994792B (en) * 2019-12-12 2022-08-16 Oppo广东移动通信有限公司 Communication device of electronic equipment and electronic equipment
CN113364845B (en) * 2021-05-31 2023-08-18 维沃移动通信有限公司 File transmission method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707880B (en) * 2012-04-24 2015-01-07 华为终端有限公司 File transmission method and terminal
CN103729898B (en) * 2013-12-20 2016-01-20 江苏大学 Based on the ETC visible light radio communication cut-in method of LED car lamp
CN103986915B (en) * 2014-05-30 2017-05-10 上海皓维电子有限公司 Data transmission system and method for camera shooting equipment
CN104104441A (en) * 2014-08-12 2014-10-15 陈思源 Near field communication method and near field communication system for intelligent terminals
CN204013542U (en) * 2014-08-12 2014-12-10 陈思源 A kind of near field communication system
CN105406916A (en) * 2015-12-31 2016-03-16 中广核工程有限公司 Communication terminal, visible light communication user external connection device and communication method thereof

Also Published As

Publication number Publication date
CN107682083A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN107682083B (en) Short-distance file transmission method and device
US9998217B2 (en) Free-space optical communications for mobile devices
CN104980217B (en) A kind of visible light communication system, method and relevant device
CN110830730B (en) Apparatus and method for generating moving image data in electronic device
KR102345777B1 (en) Method and apparatus for determining location of a vehicle based on optical camera communication
KR20200067027A (en) Electronic device for acquiring depth information using at least one of cameras or depth sensor
CN205003693U (en) Optical scan pen
US10497141B2 (en) Three-dimensional imaging using frequency domain-based processing
CN109246371B (en) Light spot capturing system and method
CN111788568A (en) Method for generating a plurality of information by sensing a plurality of wavelength bandwidths using a camera and apparatus therefor
CN110380781B (en) Signal enhancement method and system, and storage medium
CN112825492B (en) Visible light communication method, device and storage medium
CN105719166A (en) Shopping guide method based on Zigbee communication and visible light communication and system achieving method
CN106130637B (en) A kind of LED based visible light communication system and method
CN105680943B (en) A kind of visible light communication system, method and relevant device
CN103916601A (en) Three-dimensional scanning device based on mobile device and three-dimensional reconstruction method of three-dimensional scanning device
KR102499187B1 (en) Electronic device for compression processing image acquired by using camera and method for operating thefeof
KR20200117460A (en) Electronic device and method for controlling heat generation thereof
CN203746086U (en) Adjustable two-dimension code scanning gun
CN112117835B (en) Laser alignment method and related device
CN103257367B (en) Optical target detects
KR102268095B1 (en) Method and apparatus for acquiring and demodulating in communication system
US20190349519A1 (en) Electronic device and image processing method therefor
CN106445090B (en) Method and device for controlling cursor and input equipment
Salvi et al. LiCamPos: An indoor positioning system using light to camera communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant