CN106160860B - A kind of visible light communication method and terminal - Google Patents
A kind of visible light communication method and terminal Download PDFInfo
- Publication number
- CN106160860B CN106160860B CN201610596940.0A CN201610596940A CN106160860B CN 106160860 B CN106160860 B CN 106160860B CN 201610596940 A CN201610596940 A CN 201610596940A CN 106160860 B CN106160860 B CN 106160860B
- Authority
- CN
- China
- Prior art keywords
- transmission
- visible light
- terminal
- data information
- light signal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/11—Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
- H04B10/114—Indoor or close-range type systems
- H04B10/116—Visible light communication
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Optical Communication System (AREA)
Abstract
The present invention provides a kind of visible light communication method and terminal, solve the problem of that need to re-start transmission when carrying out data transmission after visible data Transmission again resumes without can be carried out.Visible light communication method of the invention includes: the visible light signal that data information is carried to second terminal transmission;If the visible light signal Transmission, obtains the transmission progress of the data information, and stops transmitting the data information to the second terminal;If the visible light signal restores transmission, the data information is resumed according to the transmission progress of the data information, data is transmitted without restarting, improves data transmission efficiency, and then improves the visible data transmission experience of user.
Description
Technical field
The present invention relates to the technical field of communications applications, a kind of visible light communication method and terminal are particularly related to.
Background technique
With the arriving of information age, the transmission quantity of information is increasing, and the requirement to information transfer rate is higher and higher.
Data communication mode is broadly divided into wired and wireless at present, and common wireless communication is based on WI-FI technology, and when WI-FI communication
There are problems that jitter, for transmitting big data quantity information, speed is high not enough.Therefore based on to wireless communication speed
Spend higher requirement, it is seen that optical communication technique develops therewith, and is expected to become next generation communication technology.Visible light communication technology
It has a clear superiority in transmission speed, can be used for big data transmission, while visible light can be revealed to avoid electromagnetic signal,
Also tool has great advantage in communication security.
Visible light communication is mainly used in data one-way transmission at present, in the unidirectional transmission process of data, works as visible light
When being blocked, data-transmission interruptions need to restart to transmit, reduce data transmission efficiency, in turn after establishing connection again
Affect the visible data transmission experience of user.
Summary of the invention
The purpose of the present invention is to provide a kind of visible light communication method and terminals, it is intended to solve in visible data transmission
Need to re-start transmission when having no progeny, then carrying out data transmission without can be carried out the problem of resuming.
To achieve the goals above, the present invention provides a kind of visible light communication method, be applied to first terminal, it is described can
Light-exposed communication means includes:
The visible light signal of data information is carried to second terminal transmission;
If the visible light signal Transmission, obtains the transmission progress of the data information, and stops to described
Data information described in two terminal transmissions;
If the visible light signal restores transmission, according to the transmission progress of the data information to the data information into
Row resumes.
In order to solve the above technical problems, the embodiments of the present invention also provide a kind of terminals, comprising:
Transmission module, for carrying the visible light signal of data information to second terminal transmission;
Processing module obtains the transmission progress of the data information if being used for the visible light signal Transmission, and
Stop transmitting the data information to the second terminal;
Module is resumed, if restoring transmission for the visible light signal, according to the transmission progress pair of the data information
The data information is resumed.
The embodiment of the present invention has the advantages that
In the above scheme of the embodiment of the present invention, first terminal carries the visible light of data information to second terminal transmission
Signal;If visible light signal Transmission, the transmission progress of data information is obtained, and stops transmitting the number to second terminal
It is believed that breath;If visible light signal restores transmission, the data information is resumed according to the transmission progress of data information, nothing
It need to restart to transmit data, improve data transmission efficiency, and then improve the visible data transmission experience of user.
Detailed description of the invention
Fig. 1 is a work flow diagram of the visible light communication method of the embodiment of the present invention;
Fig. 2 is the another work flow diagram of the visible light communication method of the embodiment of the present invention;
Fig. 3 is another work flow diagram of the visible light communication method of the embodiment of the present invention;
Fig. 4 is a structural block diagram of the terminal of the embodiment of the present invention;
Fig. 5 is the another structural block diagram of the terminal of the embodiment of the present invention;
Fig. 6 is another structural block diagram of the terminal of the embodiment of the present invention.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with specific implementation
Example and attached drawing are described in detail.
The present invention is for after visible data Transmission in the prior art, then while carrying out data transmission needs to re-start
Transmission is without can be carried out the problem of resuming, and the present invention provides a kind of visible light communication method and terminals, passes in visible data
It can be resumed without restarting to be transmitted after defeated interruption, then when carrying out data transmission, improve data transmission effect
Rate, and then improve the usage experience of user.
First embodiment:
As shown in Figure 1, the visible light communication method of the embodiment, is applied to first terminal, which can be specially
Smart phone, tablet computer/PAD, personal computer etc..The visible light communication method includes:
Step 11: the visible light signal of data information is carried to second terminal transmission.
Here, first terminal may include VISIBLE LIGHT EMISSION unit, and second terminal includes visible light receiving unit, first terminal
The visible light signal of data information is carried to the transmission of above-mentioned visible light receiving unit by above-mentioned VISIBLE LIGHT EMISSION unit.
Specifically, the VISIBLE LIGHT EMISSION unit of first terminal and the visible light receiving unit of second terminal establish communication link
Connect, and after above-mentioned first signal transmission unit and above-mentioned second signal transmission unit establish communication connection, first terminal it is visible
Light emitting units emitting carries the visible light signal of data information.
Step 12: if above-mentioned visible light signal Transmission, obtains the transmission progress of above-mentioned data information, and stop to
Above-mentioned second terminal transmits above-mentioned data information.
Visible light letter can be detected especially by above-mentioned first terminal or second terminal in a specific embodiment of the present invention
Whether number transmission is interrupted.Specifically, the step 12 includes:
It is passed if detecting above-mentioned visible light signal Transmission or receiving the visible light signal that above-mentioned second terminal is sent
Defeated interrupting information, then obtain the transmission progress of above-mentioned data information, and stops transmitting above-mentioned data information to above-mentioned second terminal.
Here, visible light signal Transmission is detected in first terminal itself or receive the visible of second terminal transmission
When optical signal transmission interrupting information, first terminal obtains the transmission progress of current data information and is saved, and is the subsequent number
It is believed that breath resumes offer data basis.Wherein, it is seen that optical signal transmission interrupting information is that second terminal detects that visible light is believed
The information sent when number Transmission by wireless transmission method, and the visible light signal Transmission information carries the number
It is believed that the transmission progress of breath.
Step 13: if above-mentioned visible light signal restores transmission, according to the transmission progress of above-mentioned data information to above-mentioned number
It is believed that breath is resumed.
Here, equally it can detect whether visible light signal restores to transmit by above-mentioned first terminal or second terminal, specifically
, the step 13 can include: restore to pass by the visible light signal that wireless transmission method is sent if receiving above-mentioned second terminal
Defeated information then resumes the data information according to the transmission progress of above-mentioned data information, and above-mentioned visible light signal restores
Transmission information is that above-mentioned second terminal detects the information issued when visible light signal restores transmission.
Here when detecting that visible light signal restores transmission, first terminal is utilized according to the transmission progress of data information can
Optical signal is resumed, is transmitted without restarting, improves data transmission efficiency.
The visible light communication method of the embodiment of the present invention, what first terminal carried data information to second terminal transmission can
Light-exposed signal;If visible light signal Transmission, the transmission progress of data information is obtained, and stops transmitting institute to second terminal
State data information;If visible light signal restores transmission, the data information is continued according to the transmission progress of data information
It passes, transmits data without restarting, improve data transmission efficiency, and then improve the visible data transmission body of user
It tests.
Second embodiment:
As shown in Fig. 2, the visible light communication method of the embodiment of the present invention, is applied to first terminal, which can have
Body is smart phone, tablet computer/PAD, personal computer etc..The visible light communication method includes:
Step 21: the visible light signal of data information is carried to second terminal transmission.
This step is identical as above-mentioned steps 11, and details are not described herein again.
Step 22: judging whether to receive the infrared signal that above-mentioned second terminal is sent, obtain the first judging result.
In a specific embodiment of the present invention, it is provided with infrared communications set in first terminal and second terminal, specifically
, infrared remote receiver is provided in first terminal, infrared remote receiver is arranged close to above-mentioned VISIBLE LIGHT EMISSION unit, in second terminal
It is provided with infrared transmitter, the infrared transmitter is close to above-mentioned visible light receiving unit.Infrared transmitter is built with infrared remote receiver
After vertical communication connection, infrared transmitter sends infrared signal to above-mentioned infrared remote receiver.
Step 23: if above-mentioned first judging result be it is no, detect above-mentioned visible light signal Transmission, obtain above-mentioned
The transmission progress of data information, and stop transmitting above-mentioned data information to above-mentioned second terminal.
During above-mentioned visible light communication, if visible light is blocked, the visible light receiving unit close to second terminal is set
The infrared transmitter set can also be blocked, at this point, the visible light receiving unit of second terminal cannot receive first terminal can
The visible light signal for carrying data information that light-exposed transmitting unit is sent, i.e. visible light signal Transmission, while close to can
The infrared remote receiver of light-exposed transmitting unit setting does not receive infrared signal, infrared between infrared transmitter and infrared remote receiver
Signal also interrupts transmission.
Therefore, the infrared letter sent in the infrared transmitter that the infrared remote receiver of first terminal cannot receive second terminal
Number when, show that the visible light signal transmitted between first terminal and second terminal is blocked, at this point, detect visible light signal pass
Defeated interruption, first terminal obtain the transmission progress of above-mentioned data information, and stop transmitting above-mentioned data letter to above-mentioned second terminal
Breath.
Step 24: judging whether to receive the infrared signal that above-mentioned second terminal is sent, obtain the second judging result.
After visible light signal Transmission, sent by judging whether infrared remote receiver receives infrared transmitter again
Infrared signal, to detect whether visible light signal restores to transmit.
Step 25: if above-mentioned second judging result be it is yes, detect that above-mentioned visible light signal restores transmission, then according to upper
The transmission progress for stating data information resumes above-mentioned data information.
Removed when blocking, the infrared remote receiver close to the setting of VISIBLE LIGHT EMISSION unit receives infrared signal, table again
The visible light signal transmitted between bright first terminal and second terminal is no longer blocked, it is seen that light emitting unit can be according to having saved
Data transmission state send data, without re-starting data transmission, raising communication efficiency is more advantageous to, when saving communication
Between.
Since visible light communication is short-range communication, penetration capacity is weak, it is easy to be blocked, and visible light communication is single
To communication, the Transmission after visible data is blocked needs to transmit again when being again coupled to.The visible light of the present embodiment is logical
Letter method makes up the problem of cannot resuming after visible light communication Transmission by infrared communications set, improves visible data
Efficiency of transmission saves transmission time, and user is made to have the transmission experience of better data.
3rd embodiment:
As shown in figure 3, the visible light communication method of the embodiment of the present invention, is applied to first terminal, which can have
Body is smart phone, tablet computer/PAD, personal computer etc..The visible light communication method includes:
Step 31: the visible light signal of data information is carried to second terminal transmission.
This step is identical as above-mentioned steps 11, and details are not described herein again.
Step 32: if receiving the visible light signal Transmission information that above-mentioned second terminal is sent, obtaining above-mentioned number
It is believed that the transmission progress of breath, and stop transmitting above-mentioned data information to above-mentioned second terminal.
Here, it is seen that when optical signal transmission interrupting information is that second terminal detects visible light signal Transmission, pass through
The information that wireless transmission method is sent, and the visible light signal Transmission information carry the transmission of above-mentioned data information into
Degree.It is passed specifically, second terminal can send above-mentioned visible light signal by close range wireless communication NFC device, bluetooth or WIFI
Defeated interrupting information.
In this step, when the visible light receiving unit of second terminal cannot receive the VISIBLE LIGHT EMISSION unit of first terminal
When the visible light signal of transmission (visible light signal transmitted between first terminal and second terminal is blocked), second terminal is saved
The transmission progress of current data information, and above-mentioned transmission is carried to first terminal transmission by equipment such as the bluetooths of second terminal
The visible light signal Transmission information of progress.
Step 33: transmission letter being restored by the visible light signal that wireless transmission method is sent if receiving above-mentioned second terminal
Breath, then resume above-mentioned data information according to the transmission progress of above-mentioned data information, and above-mentioned visible light signal restores transmission
Information is that above-mentioned second terminal detects the information issued when visible light signal restores transmission.
Here, when the visible light transmitted between first terminal and second terminal is blocked, the visible light of first terminal is sent out
The visible light signal for not carrying data information can still be emitted by penetrating unit, when the visible light receiving unit of second terminal can connect again
When receiving visible light signal, then show that the visible light signal transmitted between first terminal and second terminal at this time is no longer blocked,
Second terminal sends visible light signal to first terminal by way of wireless transmission and restores transmission information, so that first terminal
Visible light signal transmitting unit continues the visible light signal that transmission carries data information according to the data transmission schedule saved,
And then realize resuming for data information.
It can thus be seen that during above-mentioned visible light communication, it is seen that light emitting end and visible optical receiving end are established wirelessly
Connection, such as bluetooth connection, when visible light, which is blocked, causes visible optical receiving end that can not receive signal, it is seen that optical receiving end is protected
Deposit data transmission progress, while the bluetooth equipment of visible optical receiving end carries number to the transmission of the bluetooth equipment at VISIBLE LIGHT EMISSION end
According to the visible light signal Transmission information of transmission progress so that VISIBLE LIGHT EMISSION end stop sending carry data information can
Light-exposed signal;When visible light blocks removal, it is seen that the bluetooth of optical receiving end sends visible light letter to VISIBLE LIGHT EMISSION end bluetooth
Number restore transmission information, it is seen that light emitting end since the progress that last time data transmits to visible optical receiving end transmission.
The visible light communication method of the embodiment of the present invention, is blocked in visible light, when data-transmission interruptions, in conjunction with bluetooth etc.
Wireless telecom equipment, progress notification VISIBLE LIGHT EMISSION end when by data outage, after interrupting and restoring, it is seen that light emitting end can be with
Continue data transmission according to data transmission schedule, without transmitting from the beginning, solves data in visible light communication
The problem of cannot resuming, saves the time that data are transmitted again again due to interrupting needs, improves the efficiency of data transmission,
And then improve the visible data transmission experience of user.
Fourth embodiment:
As shown in figure 4, the embodiments of the present invention also provide a kind of terminals, comprising:
Transmission module 41, for carrying the visible light signal of data information to second terminal transmission;
Processing module 42 obtains the transmission progress of the data information if being used for the visible light signal Transmission,
And stop transmitting the data information to the second terminal;
Module 43 is resumed, if restoring transmission for the visible light signal, according to the transmission progress of the data information
The data information is resumed.
The terminal of the embodiment of the present invention, if the processing module 42 for detect the visible light signal Transmission or
The visible light signal Transmission information that the second terminal is sent is received, then obtains the transmission progress of the data information,
And stop transmitting the data information to the second terminal.
The terminal of the embodiment of the present invention, the processing module 42 include:
First judging submodule 421, the infrared signal sent for judging whether to receive the second terminal obtain the
One judging result;
Handle submodule 422, if for first judging result be it is no, detect that the visible light signal transmits
It is disconnected, the transmission progress of the data information is obtained, and stop transmitting the data information to the second terminal.
The terminal of the embodiment of the present invention, the module 43 that resumes include:
Second judgment submodule 431, the infrared signal sent for judging whether to receive the second terminal obtain the
Two judging results;
First resumes submodule 432, if for second judging result be it is yes, detect that the visible light signal is extensive
Multiple transmission, then resume the data information according to the transmission progress of the data information.
The terminal of the embodiment of the present invention, the visible light signal Transmission information are that the second terminal detects described
When visible light signal Transmission, the information sent by wireless transmission method, and the visible light signal Transmission information
Carry the transmission progress of the data information.
The terminal of the embodiment of the present invention, the module 43 that resumes include:
Second resumes submodule 433, if sending for receiving the second terminal by wireless transmission method visible
Optical signal restore transmission information, then the data information is resumed according to the transmission progress of the data information, it is described can
It is that the second terminal detects the information issued when visible light signal restores transmission that light-exposed signal, which restores transmission information,.
The terminal of the embodiment of the present invention carries the visible light signal of data information to second terminal transmission;If visible light
Signal Transmission, then obtain the transmission progress of data information, and stops transmitting the data information to second terminal;If it can be seen that
Optical signal restores transmission, then is resumed according to the transmission progress of data information to the data information, passed without restarting
Transmission of data improves data transmission efficiency, and then improves the visible data transmission experience of user.
5th embodiment:
As shown in figure 5, being the another structural block diagram of the terminal of that embodiment of the invention, terminal 500 shown in fig. 5 includes: at least
One processor 501, memory 502, at least one network interface 504 and other users interface 503.It is each in terminal 500
Component is coupled by bus system 505.It is understood that bus system 505 is logical for realizing the connection between these components
Letter.Bus system 505 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But it is
For the sake of clear explanation, in Fig. 5 various buses are all designated as bus system 505.
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 502 of system and method described herein is intended to include but is not limited to these and arbitrarily its
It is suitble to the memory of type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 5022.
In one embodiment of this invention, by the program or instruction of calling memory 502 to store, the specific can be that
The program or instruction stored in application program 5022, what processor 501 was used to carry data information to second terminal transmission can
Light-exposed signal;If the visible light signal Transmission, obtains the transmission progress of the data information, and stops to described
Data information described in two terminal transmissions;If the visible light signal restores transmission, according to the transmission progress of the data information
The data information is resumed.
Optionally, processor 501 is also used to: if detecting the visible light signal Transmission or receiving described second
The visible light signal Transmission information that terminal is sent, then obtain the transmission progress of the data information, and stops to described the
Data information described in two terminal transmissions.
Optionally, processor 501 is also used to: being judged whether to receive the infrared signal that the second terminal is sent, be obtained
First judging result;If first judging result be it is no, detect the visible light signal Transmission, obtain the number
It is believed that the transmission progress of breath, and stop transmitting the data information to the second terminal.
Optionally, processor 501 is also used to: being judged whether to receive the infrared signal that the second terminal is sent, be obtained
Second judging result;
If second judging result be it is yes, detect that the visible light signal restores transmission, then according to the data
The transmission progress of information resumes the data information.
Optionally, the visible light signal Transmission information is that the second terminal detects that the visible light signal passes
When defeated interruption, the information sent by wireless transmission method, and the visible light signal Transmission information carries the number
It is believed that the transmission progress of breath.
Optionally, processor 501 is also used to: if receive the second terminal sent by wireless transmission method it is visible
Optical signal restore transmission information, then the data information is resumed according to the transmission progress of the data information, it is described can
It is that the second terminal detects the information issued when visible light signal restores transmission that light-exposed signal, which restores transmission information,.
The terminal 500 of the embodiment of the present invention, processor 501 are used to carry the visible of data information to second terminal transmission
Optical signal;If the visible light signal Transmission, obtains the transmission progress of the data information, and stops to described second
Data information described in terminal transmission;If the visible light signal restores transmission, according to the transmission progress pair of the data information
The data information is resumed, and is transmitted data without restarting, is improved data transmission efficiency, and then improve user's
Visible data transmission experience.
Terminal of the invention such as can be mobile phone, tablet computer, personal digital assistant (Personal Digital
Assistant, PDA) or vehicle-mounted computer etc. terminal.
Terminal 500 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating
It states.
The method that the embodiments of the present invention disclose can be applied in processor 501, or real by processor 501
It is existing.Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned place
Reason device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated
Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 502, processor 501 reads the information in memory 502, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Sixth embodiment:
As shown in fig. 6, another structural block diagram of the terminal for the embodiment of the present invention.Terminal 600 shown in fig. 6 includes radio frequency
(Radio Frequency, RF) circuit 610, memory 620, input unit 630, display unit 640, processor 660, audio
Circuit 670, WiFi (Wireless Fidelity) module 680 and power supply 690.
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generate and terminal 600
User setting and function control related signal input.Specifically, in the embodiment of the present invention, which can be with
Including touch panel 631.Touch panel 631, also referred to as touch screen collect the touch operation (ratio of user on it or nearby
Such as user uses the operation of finger, stylus any suitable object or attachment on touch panel 631), and according to setting in advance
Fixed formula drives corresponding attachment device.Optionally, touch panel 631 may include touch detecting apparatus and touch controller two
A part.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed
Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then
The processor 660 is given, and order that processor 660 is sent can be received and executed.Furthermore, it is possible to using resistance-type, electricity
The multiple types such as appearance formula, infrared ray and surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630
Can also include other input equipments 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as
Volume control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 640 can be used for showing information input by user or be supplied to the information and terminal of user
600 various menu interfaces.Display unit 640 may include display panel 641, optionally, can use LCD or organic light emission two
The forms such as pole pipe (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device
660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of terminal 600, utilizes each of various interfaces and connection whole mobile phone
Part by running or execute the software program and/or module that are stored in first memory 621, and calls and is stored in the
Data in two memories 622 execute the various functions and processing data of terminal 600, to carry out whole prison to terminal 600
Control.Optionally, processor 660 may include one or more processing units.
In one embodiment of this invention, by calling the software program and/or module that store in the first memory 621
And/or the data in the second memory 622, processor 660 are used to carry the visible of data information to second terminal transmission
Optical signal;If the visible light signal Transmission, obtains the transmission progress of the data information, and stops to described second
Data information described in terminal transmission;If the visible light signal restores transmission, according to the transmission progress pair of the data information
The data information is resumed.
Optionally, processor 660 is also used to: if detecting the visible light signal Transmission or receiving described second
The visible light signal Transmission information that terminal is sent, then obtain the transmission progress of the data information, and stops to described the
Data information described in two terminal transmissions.
Optionally, processor 660 is also used to: being judged whether to receive the infrared signal that the second terminal is sent, be obtained
First judging result;If first judging result be it is no, detect the visible light signal Transmission, obtain the number
It is believed that the transmission progress of breath, and stop transmitting the data information to the second terminal.
Optionally, processor 660 is also used to: being judged whether to receive the infrared signal that the second terminal is sent, be obtained
Second judging result;
If second judging result be it is yes, detect that the visible light signal restores transmission, then according to the data
The transmission progress of information resumes the data information.
Optionally, the visible light signal Transmission information is that the second terminal detects that the visible light signal passes
When defeated interruption, the information sent by wireless transmission method, and the visible light signal Transmission information carries the number
It is believed that the transmission progress of breath.
Optionally, processor 660 is also used to: if receive the second terminal sent by wireless transmission method it is visible
Optical signal restore transmission information, then the data information is resumed according to the transmission progress of the data information, it is described can
It is that the second terminal detects the information issued when visible light signal restores transmission that light-exposed signal, which restores transmission information,.
Terminal 600 provided in an embodiment of the present invention, processor 660 are used to carry data information to second terminal transmission
Visible light signal;If the visible light signal Transmission, obtains the transmission progress of the data information, and stops to described
Second terminal transmits the data information;If the visible light signal restores transmission, according to the transmission of the data information into
Degree resumes the data information, transmits data without restarting, improves data transmission efficiency, and then improve use
The visible data at family transmits experience.
Terminal of the invention such as can be mobile phone, tablet computer, personal digital assistant (Personal Digital
Assistant, PDA) or vehicle-mounted computer etc. terminal.
Terminal 600 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating
It states.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is controlled by computer program to complete, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (12)
1. a kind of visible light communication method, it is applied to first terminal, which is characterized in that the visible light communication method includes:
The visible light signal of data information is carried to second terminal transmission, and the biography of infrared signal is carried out with the second terminal
It is defeated;
If the visible light signal Transmission, obtains the transmission progress of the data information, and stops to described second eventually
The data information is transmitted at end, and the visible light signal Transmission is the first terminal or the second terminal according to being passed
What defeated infrared signal determined;
If the visible light signal restores transmission, the data information is continued according to the transmission progress of the data information
It passes.
2. visible light communication method according to claim 1, which is characterized in that if the visible light signal Transmission,
Then obtain the transmission progress of the data information, and stop to the second terminal transmit the data information the step of include:
If detecting the visible light signal Transmission or receiving in the visible light signal transmission that the second terminal is sent
Disconnected information, then obtain the transmission progress of the data information, and stops transmitting the data information to the second terminal.
3. visible light communication method according to claim 2, which is characterized in that if detecting the visible light signal transmission
It interrupts, then obtains the transmission progress of the data information, and stop the step of transmitting the data information to the second terminal
Include:
Judge whether to receive the infrared signal that the second terminal is sent, obtains the first judging result;
If first judging result be it is no, detect the visible light signal Transmission, obtain the data information
Transmission progress, and stop transmitting the data information to the second terminal.
4. visible light communication method according to claim 3, which is characterized in that if the visible light signal restores transmission,
The step of then being resumed according to the transmission progress of the data information to the data information include:
Judge whether to receive the infrared signal that the second terminal is sent, obtains the second judging result;
If second judging result be it is yes, detect that the visible light signal restores transmission, then according to the data information
Transmission progress the data information is resumed.
5. visible light communication method according to claim 2, which is characterized in that the visible light signal Transmission information
When detecting the visible light signal Transmission for the second terminal, the information sent by wireless transmission method, and institute
State the transmission progress that visible light signal Transmission information carries the data information.
6. visible light communication method according to claim 5, which is characterized in that if the visible light signal restores to pass
Defeated, then the step of being resumed according to the transmission progress of the data information to the data information, includes:
Transmission information is restored by the visible light signal that wireless transmission method is sent if receiving the second terminal, according to institute
The transmission progress for stating data information resumes the data information, and it is described that the visible light signal, which restores transmission information,
Two terminals detect the information issued when visible light signal restores transmission.
7. a kind of terminal characterized by comprising
Transmission module, for carrying the visible light signal of data information to second terminal transmission, and with the second terminal into
The transmission of row infrared signal;
Processing module obtains the transmission progress of the data information, and stop if being used for the visible light signal Transmission
The data information is transmitted to the second terminal, the visible light signal Transmission is first terminal or the second terminal
It is determined according to the infrared signal transmitted;
Module is resumed, if restoring transmission for the visible light signal, according to the transmission progress of the data information to described
Data information is resumed.
8. terminal according to claim 7, which is characterized in that if the processing module is for detecting the visible light letter
Number Transmission receives the visible light signal Transmission information that the second terminal is sent, then obtains the data information
Transmission progress, and stop transmitting the data information to the second terminal.
9. terminal according to claim 8, which is characterized in that the processing module includes:
First judging submodule, the infrared signal sent for judging whether to receive the second terminal, obtains the first judgement
As a result;
Handle submodule, if for first judging result be it is no, detect the visible light signal Transmission, acquisition
The transmission progress of the data information, and stop transmitting the data information to the second terminal.
10. terminal according to claim 7, which is characterized in that the module that resumes includes:
Second judgment submodule, the infrared signal sent for judging whether to receive the second terminal, obtains the second judgement
As a result;
First resumes submodule, if for second judging result be it is yes, detect that the visible light signal restores transmission,
Then the data information is resumed according to the transmission progress of the data information.
11. terminal according to claim 8, which is characterized in that the visible light signal Transmission information is described the
When two terminals detect the visible light signal Transmission, the information sent by wireless transmission method, and the visible light
Signal Transmission information carries the transmission progress of the data information.
12. terminal according to claim 11, which is characterized in that the module that resumes includes:
Second resumes submodule, if extensive for receiving the visible light signal that the second terminal is sent by wireless transmission method
Information is transmitted again, then the data information is resumed according to the transmission progress of the data information, the visible light signal
Restoring transmission information is that the second terminal detects the information issued when visible light signal restores transmission.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610596940.0A CN106160860B (en) | 2016-07-26 | 2016-07-26 | A kind of visible light communication method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610596940.0A CN106160860B (en) | 2016-07-26 | 2016-07-26 | A kind of visible light communication method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106160860A CN106160860A (en) | 2016-11-23 |
CN106160860B true CN106160860B (en) | 2019-02-22 |
Family
ID=58060189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610596940.0A Active CN106160860B (en) | 2016-07-26 | 2016-07-26 | A kind of visible light communication method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106160860B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11345467B2 (en) | 2017-04-07 | 2022-05-31 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Data transmission method, and sending end device |
CN108880676A (en) * | 2018-04-26 | 2018-11-23 | 苏州灵亿易电子科技有限公司 | A kind of communication system based on FPGA and ASIC |
CN113472440A (en) * | 2021-06-30 | 2021-10-01 | 中国农业银行股份有限公司 | Signal receiving method, signal transmitting method and communication device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217295A (en) * | 2007-12-29 | 2008-07-09 | 深圳华为通信技术有限公司 | File transmitting method, receiving method and device based on Bluetooth technique |
US8428469B2 (en) * | 2009-10-31 | 2013-04-23 | Samsung Electronics Co., Ltd | Visible light communication method and apparatus |
CN104320188A (en) * | 2014-09-25 | 2015-01-28 | 北京广厦网络技术股份公司 | Stereo wireless transmission system |
CN104980399A (en) * | 2014-04-08 | 2015-10-14 | 腾讯科技(深圳)有限公司 | File transfer method, client and proxy server |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105162519A (en) * | 2015-09-29 | 2015-12-16 | 北京邮电大学 | Kalman filtering based positioning and handover method in indoor microcellular visible light communication network |
-
2016
- 2016-07-26 CN CN201610596940.0A patent/CN106160860B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217295A (en) * | 2007-12-29 | 2008-07-09 | 深圳华为通信技术有限公司 | File transmitting method, receiving method and device based on Bluetooth technique |
US8428469B2 (en) * | 2009-10-31 | 2013-04-23 | Samsung Electronics Co., Ltd | Visible light communication method and apparatus |
CN104980399A (en) * | 2014-04-08 | 2015-10-14 | 腾讯科技(深圳)有限公司 | File transfer method, client and proxy server |
CN104320188A (en) * | 2014-09-25 | 2015-01-28 | 北京广厦网络技术股份公司 | Stereo wireless transmission system |
Also Published As
Publication number | Publication date |
---|---|
CN106160860A (en) | 2016-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106231662B (en) | A kind of method for handover control and terminal of terminal antenna | |
CN106469011B (en) | A kind of information display method and mobile terminal | |
KR102175750B1 (en) | Antenna device for electronic device with the same | |
CN106844067B (en) | A kind of processing method and mobile terminal of content | |
CN107466077A (en) | A kind of method for switching network and mobile terminal | |
CN106301604B (en) | A kind of radio frequency path detection method and mobile terminal | |
CN106371745B (en) | A kind of interface switching method and mobile terminal | |
CN106325753B (en) | A kind of display methods and mobile terminal of payment interface | |
CN106160860B (en) | A kind of visible light communication method and terminal | |
CN106909289A (en) | The operating method and mobile terminal of a kind of application controls | |
CN105893130B (en) | A kind of processing method and mobile terminal of application program for mobile terminal | |
CN106210106A (en) | A kind of intelligent meeting implementation method and mobile terminal | |
CN106851001A (en) | A kind of information processing method and mobile terminal | |
CN108377537A (en) | The configuration method of discontinuous reception, the method for discontinuous reception, base station and terminal | |
CN103176738A (en) | Expanding application method of mobile phone touch screen, mobile phone touch screen system and mobile phone | |
CN106453925A (en) | Information transmission method and mobile terminals | |
CN106227324B (en) | A kind of control method and mobile terminal of mobile terminal | |
CN106982293A (en) | Communication means, terminal and system between a kind of terminal | |
CN107819922A (en) | Relaying method of adjustment, wireless headset and the mobile terminal of a kind of wireless headset | |
CN109150425A (en) | A kind of data processing method, mobile terminal and computer readable storage medium | |
CN107342777B (en) | A kind of control method and mobile terminal of radio circuit | |
CN109151843A (en) | data transmission method, mobile terminal, base station and computer readable storage medium | |
CN107708093B (en) | A kind of method and mobile terminal for establishing relaying data network using wireless headset | |
CN106651300B (en) | A kind of method and terminal that event is reminded | |
CN106878524B (en) | A kind of update processing method, server and the mobile terminal of calling card number |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |