CN106888057A - The method of reseptance and mobile terminal of a kind of optical signal - Google Patents

The method of reseptance and mobile terminal of a kind of optical signal Download PDF

Info

Publication number
CN106888057A
CN106888057A CN201710025462.2A CN201710025462A CN106888057A CN 106888057 A CN106888057 A CN 106888057A CN 201710025462 A CN201710025462 A CN 201710025462A CN 106888057 A CN106888057 A CN 106888057A
Authority
CN
China
Prior art keywords
optical signal
optical
receiving area
area
mobile terminal
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.)
Pending
Application number
CN201710025462.2A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710025462.2A priority Critical patent/CN106888057A/en
Publication of CN106888057A publication Critical patent/CN106888057A/en
Pending legal-status Critical Current

Links

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/60Receivers

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The embodiment of the invention provides the method for reseptance and mobile terminal of a kind of optical signal, methods described application in the terminal, including:Optical signal is sampled by optical signal receiver;Calculate the optical parameter value of the optical signal;Determine receiving area on the optical signal receiver according to the optical parameter value;Optical signal is received in the receiving area.Realize light source from motion tracking, when light source or mobile terminal movement, it is ensured that optical signal can be with straightline propagation to mobile terminal so that the optical signal that mobile terminal is received more is concentrated, reduces interference, improves the reliability of optical signal.

Description

Optical signal receiving method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for receiving an optical signal and a mobile terminal.
Background
With the development of mobile communication technology, mobile terminals have become an indispensable part of people's lives, and therefore accessible communication is achieved anytime and anywhere.
At present, optical signal communication is a novel high-speed wireless communication technology, has the advantages of high bandwidth, no electromagnetic interference, safety, reliability, low energy consumption, low carbon, environmental protection and the like, and is widely applied to mobile terminals.
However, since the optical signal is linearly propagated and affected by the lampshade or the shielding object, there is a problem that the optical signal has a direction in the transmission process, and when the light source or the mobile terminal moves, the main optical signal of the light source cannot be propagated to the optical signal receiver of the mobile terminal, and the optical signal received by the mobile terminal is relatively dispersed and has interference, which results in low reliability of the optical signal.
Disclosure of Invention
The embodiment of the invention provides a method for receiving an optical signal and a mobile terminal, which aim to solve the problem of low reliability caused by linear propagation of the optical signal.
In a first aspect, a method for receiving an optical signal is provided, where the method is applied in a mobile terminal, and the method includes:
sampling the optical signal by an optical signal receiver;
calculating an optical parameter value of the optical signal;
determining a receiving area on the optical signal receiver according to the optical parameter value;
an optical signal is received at the receiving area.
In a second aspect, a mobile terminal is provided, including:
the optical signal sampling module is used for sampling the optical signal through the optical signal receiver;
an optical parameter value calculation module for calculating an optical parameter value of the optical signal;
a receiving area determining module for determining a receiving area on the optical signal receiver according to the optical parameter value;
and the optical signal receiving module is used for receiving the optical signal in the receiving area.
Therefore, in the embodiment of the invention, the receiving area is determined on the optical signal receiver through the optical parameter value of the optical signal sampled by the optical signal receiver, and the optical signal is received by the receiving area, so that the automatic tracking of the light source is realized, and under the condition that the light source or the mobile terminal moves and the like, the optical signal can be ensured to be linearly transmitted to the mobile terminal, so that the optical signal received by the mobile terminal is more concentrated, the interference is reduced, and the reliability of the optical signal is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart of a method of receiving an optical signal according to an embodiment of the present invention.
Fig. 2 is a flowchart of a method of receiving an optical signal according to another embodiment of the present invention.
Fig. 3 is an exemplary diagram of an optical communication area of one embodiment of the present invention.
Fig. 4 is an exemplary diagram of receiving an optical signal at a receiving area in accordance with one embodiment of the present invention.
Fig. 5A and 5B are exemplary diagrams of calculating the angle of a light source according to one embodiment of the present invention.
Fig. 6 is a flowchart of a method of receiving an optical signal according to another embodiment of the present invention.
Fig. 7 is a block diagram of a mobile terminal of one embodiment of the present invention.
Fig. 8 is a block diagram of an optical signal sampling module in accordance with one embodiment of the present invention.
Fig. 9 is a block diagram of a receive area determination module of one embodiment of the invention.
Fig. 10 is a block diagram of a mobile terminal according to another embodiment of the present invention.
Fig. 11 is a block diagram of a mobile terminal according to another embodiment of the present invention.
Fig. 12 is a block diagram of a mobile terminal according to another embodiment of the present invention.
Fig. 13 is a block diagram of a mobile terminal according to another embodiment of the present invention.
Fig. 14 is a block diagram of a mobile terminal according to another embodiment of the present invention.
FIG. 15 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First embodiment
Referring to fig. 1, a flowchart of a method for receiving an optical signal according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 101, sampling an optical signal by an optical signal receiver.
In a specific implementation, the embodiments of the present invention may be applied to a mobile terminal, for example, a mobile phone, a tablet computer, a personal digital assistant, a wearable device (such as a bracelet, glasses, a watch, and the like), and the like.
The operating systems of these mobile terminals may include Android (Android), IOS, Windows Phone, Windows, and so on.
In these mobile terminals, an optical signal receiver that can receive an optical signal may be configured, and the optical signal receiver may be configured individually or may be configured in a plurality of component arrays, which is not limited in this embodiment of the present invention.
The optical signal may be visible light or invisible light, which is not limited in this embodiment of the present invention.
In the embodiment of the present invention, the optical signal receiver may be called to collect an optical signal, where the collection of the optical signal is a sampling operation, and the optical signal receiver may receive the optical signal in an area where the optical signal receiver can receive the optical signal, and does not receive the optical signal for a specific area.
Step 102, calculating an optical parameter value of the optical signal.
In an embodiment of the present invention, for the sampled light signal, an optical parameter value, such as light intensity, illuminance, luminous flux, etc., may be analyzed for finding the light source direction.
Step 103, determining a receiving area on the optical signal receiver according to the optical parameter value.
In a specific implementation, an effective optical signal can be found according to a certain rule by using an optical parameter value, where the effective optical signal generally originates from a light source and can be a receiving area where the effective optical signal is located.
Step 104, receiving the optical signal in the receiving area.
If the direction of the light source is determined by the optical parameter value, the light signal can be received for the receiving area that the light source is facing.
Therefore, in the embodiment of the invention, the receiving area is determined on the optical signal receiver through the optical parameter value of the optical signal sampled by the optical signal receiver, and the optical signal is received by the receiving area, so that the automatic tracking of the light source is realized, and under the condition that the light source or the mobile terminal moves and the like, the optical signal can be ensured to be linearly transmitted to the mobile terminal, so that the optical signal received by the mobile terminal is more concentrated, the interference is reduced, and the reliability of the optical signal is improved.
Second embodiment
Referring to fig. 2, a flowchart of a method for receiving an optical signal according to another embodiment of the present invention is shown, which may specifically include the following steps:
in step 201, an optical signal of a full angle range is sampled by an optical information receiver.
In the embodiment of the present invention, the optical signal receivers may be an array, and typically, may be an array of optical signal receivers arranged in a spherical shape, each of the optical signal receivers may receive an optical signal of one point, and then the array of optical signal receivers may receive optical signals in a whole angle range.
Step 202, calculating an optical parameter value of the optical signal.
Step 203, identifying an optical communication area on the optical signal receiver.
In the embodiment of the present invention, a continuous light communication area can be segmented according to the light signal sampled by the light signal receiver and the intensity, color, and other modes of the sampled light signal by using a communication area detection algorithm of image processing.
The light communication area may be divided into shapes such as a near elliptical area (a circular area is regarded as a special elliptical area), which is not limited in the embodiment of the present invention.
For example, as shown in fig. 3, assuming that the receiving surface of the optical signal receiver is a spherical surface, all directions of optical signals can be received, one light source is received at the upper left, another light source is received at the lower right, the upper left gray area is an optical communication area, and the lower right gray area is an optical communication area, which appear as an elliptical area on the spherical surface.
And 204, calculating the weight by using the optical parameter value of the optical signal collected in the optical communication area.
Step 205, selecting a receiving area from the divided optical communication areas according to the weight.
In the embodiment of the present invention, the weight of the optical signal collected in the optical communication area may be calculated according to a certain rule, and the receiving area of the optical signal is determined according to the weight, for example, the divided optical communication area with the largest weight is used as the receiving area.
In one example, it is assumed that the optical parameter values of the optical signal include light intensity, illuminance, and luminous flux, and the weight of the optical signal is 0.3+ 0.4, where 0.3, and 0.4 are the weights of the light intensity, illuminance, and luminous flux, respectively.
In this example, the strength of the received optical signal and the size of the receiving area are balanced, and an effective optical signal can be found by excluding interference signals such as a strong optical signal but a small receiving area and a weak optical signal but a large receiving area.
Of course, the above-mentioned manner of calculating the weight is only an example, and when implementing the embodiment of the present invention, other manners of calculating the weight, such as maximum light intensity, maximum illuminance, maximum luminous flux, maximum weighted value of light intensity and illuminance and maximum weighted value of luminous flux, may be set according to practical situations, and the embodiment of the present invention is not limited thereto. In addition, besides the above-mentioned way of calculating the weight, a person skilled in the art may also adopt other ways of calculating the weight according to actual needs, and the embodiment of the present invention is not limited to this.
Step 206, receiving the optical signal at the receiving area.
In a specific implementation, the selected receiving area may be subjected to regularization processing and size adjustment, a position where the optical signal is strongest (which refers to a point where the illuminance is highest in the receiving area, and the point where the illuminance changes continuously, and a mutation point is excluded) is placed in the center of the receiving area, and an edge area with less contribution is excluded under the condition that the illuminance and the luminous flux are ensured to exceed a certain threshold, so as to reduce interference of other light sources and ambient light.
As shown in fig. 4, the grayish white area is an optical communication area, the grayness represents the intensity of the optical signal, the darker the grayness represents the weaker the optical signal received by the point, the lighter the grayness represents the stronger the optical signal received by the point, the brighter the optical signal received by the point, the area enclosed by the black circle is the adjusted optical communication area, and the strongest optical signal in the optical communication area is received as the effective optical signal.
Step 207, adjusting the receiving area according to the motion data of the mobile terminal.
In the embodiment of the invention, under the conditions of rapid movement of the mobile terminal and the like, the angle change of the light source can be calculated according to the movement data of the mobile terminal, and the position of the receiving area of the optical signal is adjusted in the receiving surface of the optical signal receiver according to the calculated angle change, so that the change of the direction of the light source caused by the self movement is conveniently and rapidly positioned.
In one example, as shown in fig. 5A, D is a light source, the mobile terminal moves horizontally, the optical information receiver is located at position a initially, after the receiving area is adjusted, the angle α can be calculated, after the optical information receiver moves to position B, the distance e between BAs can be known, and after the receiving position is adjusted, the angle β can be calculated.
At this time, the d-distance can be calculated:
since d is tan α -d is tan β, and AE-BE is AB, d is e/(tan α -tan β).
When the optical information receiver continues to move, the angle change of the light source can be quickly calculated through the movement distance:
when the optical information receiver moves from the position B to the position C, the moving distance is f, the light source angle is γ, and d is tan β -d is tan γ ═ f, so that the angle γ is arctan (tan β -f/d).
In another example, as shown in fig. 5B, C is a light source, initially, the upward direction of the optical information receiver is position a, and after the receiving area is adjusted, the direction of the light source in the coordinate system with the upward direction of the position receiver being position a can be obtained, assuming that ai + bj + ck (i, j, k are coordinate axis vectors), when the optical signal receiver rotates to the forward direction being position B, the rotation direction can be represented as di + ej + fk by three-way resolving the rotation angle with respect to the original coordinate system, and the direction of the light source with the upward direction being position B can be represented as (a-d) i + (B-e) j + (C-f) k.
Of course, the manner of calculating the light source is only an example, and when the embodiment of the present invention is implemented, other manners of calculating the light source may be set according to actual situations, and the embodiment of the present invention is not limited thereto. In addition, besides the above-mentioned manner of calculating the light source, a person skilled in the art may also adopt other manners of calculating the light source according to actual needs, and the embodiment of the present invention is not limited thereto.
Step 208, calculating the signal strength of the optical signal received by the optical signal receiver.
Step 209, when the optical signal with the strongest signal strength is outside the receiving area, moving the receiving area so that the receiving area receives the optical signal with the strongest signal strength.
In the implementation of the present invention, the signal strength of the optical signal received by the optical signal receiver can be used as the measurement data to determine the central position of the received optical signal, i.e. the strongest point of the signal.
Comparing the central position of the optical signal with a receiving area (generally taking the central point as a representative), and if the central position is the same position, continuing to receive the optical signal by using the optical receiving area; if the position is different, the shape and the size of the receiving area are kept unchanged, the receiving area (generally represented by a central point) is moved to the position of the central position of the optical signal, and the receiving area is finely adjusted to ensure that the receiving area always receives the maximum signal so as to track the change of the light.
Step 210, calculating the signal strength of the optical signal received at the receiving area.
Step 211, determining whether the signal strength is lower than a preset strength threshold, if so, returning to execute step 201.
In the embodiment of the present invention, it may be detected whether the signal strength of the optical signal received by the receiving area meets the requirement of information reception, that is, whether the signal strength is lower than the strength threshold.
If the intensity is lower than the intensity threshold value, the intensity of the optical signal in the receiving area is low, the requirement of information receiving is not met, and the receiving area of the optical information is reselected.
If the intensity is equal to or higher than the intensity threshold value, the intensity of the optical signal in the receiving area is high, the requirement of information receiving is met, and the receiving is continued.
Step 212, determining whether the area of the receiving area is greater than a preset area threshold, if so, executing step 213, otherwise, returning to execute step 201.
Step 213, expanding the area of the receiving area.
In the embodiment of the present invention, it may be determined whether the size of the receiving area exceeds an area threshold, if the size of the receiving area does not exceed the area threshold, the size of the receiving area may be enlarged, and if the size of the receiving area exceeds the area threshold, the receiving area of the optical information may be reselected.
Third embodiment
Referring to fig. 6, a flowchart of a method for receiving an optical signal according to another embodiment of the present invention is shown, which may specifically include the following steps:
step 601, the optical information receiver is sequentially rotated to sample the optical signals in a plurality of angle ranges.
In the embodiment of the present invention, the optical signal receivers may be an array, each of the optical signal receivers may receive an optical signal of one point, and the array of the optical signal receivers may receive optical signals within a certain angle range.
By rotating the optical information receiver array, the receiving direction is changed in three-dimensional space, so that an optical signal in a full angle range can be received.
Step 602, calculating an optical parameter value of the optical signal.
Step 603, calculating the weight by using the optical parameter value of the optical signal collected in the angle range.
Step 604, determining the light source according to the weight.
In the embodiment of the present invention, the weight of the light signal collected by the light information receiver in each angular range may be calculated according to a certain rule, and the light source may be determined according to the weight, for example, the angular range with the largest weight is used as the direction of the light source.
In one example, it is assumed that the optical parameter values of the optical signal include light intensity, illuminance, and luminous flux, and the weight of the optical signal is 0.3+ 0.4, where 0.3, and 0.4 are the weights of the light intensity, illuminance, and luminous flux, respectively.
In this example, the strength of the received optical signal and the size of the receiving area are balanced, and an effective optical signal can be found by excluding interference signals such as a strong optical signal but a small receiving area and a weak optical signal but a large receiving area.
Of course, the above-mentioned manner of calculating the weight is only an example, and when implementing the embodiment of the present invention, other manners of calculating the weight, such as maximum light intensity, maximum illuminance, maximum luminous flux, maximum weighted value of light intensity and illuminance and maximum weighted value of luminous flux, may be set according to practical situations, and the embodiment of the present invention is not limited thereto. In addition, besides the above-mentioned way of calculating the weight, a person skilled in the art may also adopt other ways of calculating the weight according to actual needs, and the embodiment of the present invention is not limited to this.
Step 605, moving the optical information receiver according to the light source to serve as a receiving area.
In the embodiment of the present invention, the optical information receiver may be adjusted to face the light source with the receiving surface of the optical information receiver as the receiving area.
Step 606, receiving the optical signal at the receiving area.
Step 607, calculating the signal strength of the optical signal received by the optical signal receiver.
Step 608, when the optical signal with the strongest signal strength is outside the receiving area, moving the receiving area so that the receiving area receives the optical signal with the strongest signal strength.
Step 609, calculating the signal strength of the optical signal received in the receiving area.
Step 610, determining whether the signal strength is lower than a preset strength threshold, if so, returning to execute step 601.
Step 611, adjusting the receiving area according to the motion data of the mobile terminal.
In the embodiment of the invention, under the conditions of rapid movement of the mobile terminal and the like, the angle change of the light source can be calculated according to the movement data of the mobile terminal, the optical signal receiver is correspondingly moved and rotated according to the calculated angle, the direction of the optical information receiver facing the light source is kept, and the change of the direction of the light source caused by the self movement is conveniently and rapidly positioned.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Fourth embodiment
Referring to fig. 7, which is a block diagram of a mobile terminal according to an embodiment of the present invention, the mobile terminal 700 shown in fig. 7 may specifically include the following modules:
an optical signal sampling module 701, configured to sample an optical signal through an optical signal receiver;
an optical parameter value calculating module 702, configured to calculate an optical parameter value of the optical signal;
a receiving area determining module 703, configured to determine a receiving area on the optical signal receiver according to the optical parameter value;
an optical signal receiving module 704, configured to receive an optical signal in the receiving area.
In an embodiment of the present invention, referring to the block diagram of the optical signal sampling module shown in fig. 8, the optical signal sampling module 701 may further include the following sub-modules:
the full-angle sampling sub-module 7011 is configured to sample an optical signal in a full-angle range by the optical information receiver;
or,
the angular range sampling sub-module 7012 is configured to sequentially rotate the optical information receiver to sample optical signals in a plurality of angular ranges.
In an embodiment of the present invention, referring to the block diagram of the receiving area determining module shown in fig. 9, the receiving area determining module 703 may further include the following sub-modules:
an optical communication area identification submodule 7031 configured to identify an optical communication area on the optical signal receiver;
a first weight calculating submodule 7032, configured to calculate a weight using an optical parameter value of the optical signal collected in the optical communication region;
a split optical communication region selection sub-module 7033, configured to select a receiving region from the split optical communication regions according to the weight;
or,
a second weight calculating submodule 7034, configured to calculate a weight using the optical parameter value of the optical signal acquired in the angle range;
a light source determination submodule 7035 configured to determine a light source according to the weight;
and an optical information receiver moving submodule 7036 configured to move the optical information receiver as a receiving area according to the light source.
On the basis of fig. 7, optionally, referring to fig. 10, the mobile terminal 700 may further include the following modules:
a receiving area adjusting module 705, configured to adjust the receiving area according to the motion data of the mobile terminal.
On the basis of fig. 7, optionally, referring to fig. 11, the mobile terminal 700 may further include the following modules:
a first signal strength calculating module 706, configured to calculate a signal strength of an optical signal received by the optical signal receiver;
a receiving area moving module 707, configured to move the receiving area when the optical signal with the strongest signal strength is outside the receiving area, so that the receiving area receives the optical signal with the strongest signal strength.
On the basis of fig. 7, optionally, referring to fig. 12, the mobile terminal 700 may further include the following modules:
a second signal strength calculation module 708, configured to calculate a signal strength of the optical signal received in the receiving area;
an intensity threshold determination module 709, configured to determine whether the signal intensity is lower than a preset intensity threshold, and if so, return to calling the optical signal sampling module 701.
On the basis of fig. 7, optionally, referring to fig. 13, the mobile terminal 700 may further include the following modules:
an area threshold determination module 710, configured to determine whether the area of the receiving area is greater than a preset area threshold, if so, invoke an area expansion module 711, and if not, return to invoke the optical signal sampling module 701;
an area expanding module 711 for expanding the area of the receiving area.
The mobile terminal 700 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 6, and is not described herein again to avoid repetition.
Therefore, in the embodiment of the invention, the receiving area is determined on the optical signal receiver through the optical parameter value of the optical signal sampled by the optical signal receiver, and the optical signal is received by the receiving area, so that the automatic tracking of the light source is realized, and under the condition that the light source or the mobile terminal moves and the like, the optical signal can be ensured to be linearly transmitted to the mobile terminal, so that the optical signal received by the mobile terminal is more concentrated, the interference is reduced, and the reliability of the optical signal is improved.
Fifth embodiment
Fig. 14 is a block diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal 1400 shown in fig. 14 includes: at least one processor 1401, memory 1402, at least one network interface 1404, and other user interfaces 1403. The various components in mobile terminal 1400 are coupled together by bus system 1405. It will be appreciated that bus system 1405 is used to enable communications among the components connected. The bus system 1405 includes a power bus, a control bus, and a status signal bus, in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 1405 in fig. 14.
User interface 1403 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 1402 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 1402 of the systems and methods described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 1402 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 14021 and application programs 14022.
The operating system 14021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 14022 contains various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. A program implementing a method according to an embodiment of the invention may be included in the application 14022.
In an embodiment of the present invention, the processor 1401 is configured to sample the optical signal through the optical signal receiver by calling a program or an instruction stored in the memory 1402, and specifically, may be a program or an instruction stored in the application 14022; calculating an optical parameter value of the optical signal; determining a receiving area on the optical signal receiver according to the optical parameter value; an optical signal is received at the receiving area.
The methods disclosed in the embodiments of the present invention described above may be applied to the processor 1401, or may be implemented by the processor 1401. Processor 1401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware integrated logic circuits or software in the processor 1401. The processor 1401 may be a 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. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 1402, and a processor 1401 reads information in the memory 1402 and performs the steps of the above method in combination with hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 1401 is further configured to: sampling the optical signal in the full angle range through an optical information receiver; alternatively, the optical information receiver is sequentially rotated to sample the optical signals over a plurality of angular ranges.
Optionally, the processor 1401 is further configured to: identifying an optical communication region on the optical signal receiver; calculating a weight by using an optical parameter value of an optical signal collected in the optical communication region; selecting a receiving area from the split optical communication areas according to the weight; or, calculating the weight by using the optical parameter value of the optical signal collected in the angle range; determining a light source according to the weight; and moving the optical information receiver according to the light source to serve as a receiving area.
Optionally, the processor 1401 is further configured to: and adjusting the receiving area according to the motion data of the mobile terminal.
Optionally, the processor 1401 is further configured to: calculating the signal intensity of the optical signal received by the optical signal receiver; and when the optical signal with the strongest signal strength is outside the receiving area, moving the receiving area so that the receiving area receives the optical signal with the strongest signal strength.
Optionally, the processor 1401 is further configured to: calculating a signal strength of the optical signal received at the receiving area; and judging whether the signal intensity is lower than a preset intensity threshold value, if so, returning to the step of sampling the optical signal through the optical signal receiver.
Optionally, the processor 1401 is further configured to: and judging whether the area of the receiving area is larger than a preset area threshold value or not, if so, enlarging the area of the receiving area, and if not, returning to the step of sampling the optical signal through the optical signal receiver.
The mobile terminal 1400 can implement each process implemented by the mobile terminal in the foregoing embodiments, and is not described here again to avoid repetition.
Therefore, in the embodiment of the invention, the receiving area is determined on the optical signal receiver through the optical parameter value of the optical signal sampled by the optical signal receiver, and the optical signal is received by the receiving area, so that the automatic tracking of the light source is realized, and under the condition that the light source or the mobile terminal moves and the like, the optical signal can be ensured to be linearly transmitted to the mobile terminal, so that the optical signal received by the mobile terminal is more concentrated, the interference is reduced, and the reliability of the optical signal is improved.
Sixth embodiment
Fig. 15 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 1500 in fig. 15 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 1500 in fig. 15 includes a Radio Frequency (RF) circuit 1510, a memory 1520, an input unit 1530, a display unit 1540, a processor 1560, an audio circuit 1570, a wifi (wireless fidelity) module 1580, and a power supply 1590.
The input unit 1530 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal 1500. Specifically, in the embodiment of the present invention, the input unit 1530 may include a touch panel 1531. The touch panel 1531, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on the touch panel 1531 by using a finger, a stylus, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 1531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 1560, and can receive and execute commands from the processor 1560. In addition, the touch panel 1531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1531, the input unit 1530 may also include other input devices 1532, and the other input devices 1532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 1540 may be used to display information input by the user or information provided to the user, and various menu interfaces of the mobile terminal 1500. The display unit 1540 may include a display panel 1541, and optionally, the display panel 1541 may be configured in the form of an LCD or an organic light-emitting diode (OLED).
It should be noted that the touch panel 1531 may cover the display panel 1541 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 1560 to determine the type of touch event, and then the processor 1560 provides a corresponding visual output on the touch display screen according to the type of touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 1560 is a control center of the mobile terminal 1500, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile terminal 1500 and processes data by operating or executing software programs and/or modules stored in the first memory 1521 and calling data stored in the second memory 1522, thereby performing overall monitoring of the mobile terminal 1500. Processor 1560 may include one or more processing units.
In an embodiment of the present invention, the processor 1560 is configured to obtain samples of optical signals received by the optical signal receiver by invoking software programs and/or modules stored in the first memory 1521 and/or data stored in the second memory 1522; calculating an optical parameter value of the optical signal; determining a receiving area on the optical signal receiver according to the optical parameter value; an optical signal is received at the receiving area.
Optionally, processor 1560 is also configured to: sampling the optical signal in the full angle range through an optical information receiver; alternatively, the optical information receiver is sequentially rotated to sample the optical signals over a plurality of angular ranges.
Optionally, processor 1560 is also configured to: identifying an optical communication region on the optical signal receiver; calculating a weight by using an optical parameter value of an optical signal collected in the optical communication region; selecting a receiving area from the split optical communication areas according to the weight; or, calculating the weight by using the optical parameter value of the optical signal collected in the angle range; determining a light source according to the weight; and moving the optical information receiver according to the light source to serve as a receiving area.
Optionally, processor 1560 is also configured to: and adjusting the receiving area according to the motion data of the mobile terminal.
Optionally, processor 1560 is also configured to: calculating the signal intensity of the optical signal received by the optical signal receiver; and when the optical signal with the strongest signal strength is outside the receiving area, moving the receiving area so that the receiving area receives the optical signal with the strongest signal strength.
Optionally, processor 1560 is also configured to: calculating a signal strength of the optical signal received at the receiving area; and judging whether the signal intensity is lower than a preset intensity threshold value, if so, returning to the step of sampling the optical signal through the optical signal receiver.
Optionally, processor 1560 is also configured to: and judging whether the area of the receiving area is larger than a preset area threshold value or not, if so, enlarging the area of the receiving area, and if not, returning to the step of sampling the optical signal through the optical signal receiver.
Therefore, in the embodiment of the invention, the receiving area is determined on the optical signal receiver through the optical parameter value of the optical signal sampled by the optical signal receiver, and the optical signal is received by the receiving area, so that the automatic tracking of the light source is realized, and under the condition that the light source or the mobile terminal moves and the like, the optical signal can be ensured to be linearly transmitted to the mobile terminal, so that the optical signal received by the mobile terminal is more concentrated, the interference is reduced, and the reliability of the optical signal is improved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A method for receiving an optical signal, the method being applied in a mobile terminal, the method comprising:
sampling the optical signal by an optical signal receiver;
calculating an optical parameter value of the optical signal;
determining a receiving area on the optical signal receiver according to the optical parameter value;
an optical signal is received at the receiving area.
2. The method of claim 1, wherein the step of sampling the optical signal by the optical signal receiver comprises:
sampling the optical signal in the full angle range through an optical information receiver;
or,
the optical information receiver is sequentially rotated to sample the optical signals over a plurality of angular ranges.
3. The method of claim 2, wherein said step of determining a reception area at said optical signal receiver based on said optical parameter value comprises:
identifying an optical communication region on the optical signal receiver;
calculating a weight by using an optical parameter value of an optical signal collected in the optical communication region;
selecting a receiving area from the split optical communication areas according to the weight;
or,
calculating a weight using the optical parameter values of the optical signals collected over the angular range;
determining a light source according to the weight;
and moving the optical information receiver according to the light source to serve as a receiving area.
4. The method of any of claims 1-3, wherein after the step of receiving an optical signal at the receiving area, the method further comprises:
and adjusting the receiving area according to the motion data of the mobile terminal.
5. The method of any of claims 1-3, wherein after the step of receiving an optical signal at the receiving area, the method further comprises:
calculating the signal intensity of the optical signal received by the optical signal receiver;
and when the optical signal with the strongest signal strength is outside the receiving area, moving the receiving area so that the receiving area receives the optical signal with the strongest signal strength.
6. The method of any of claims 1-3, wherein after the step of receiving an optical signal at the receiving area, the method further comprises:
calculating a signal strength of the optical signal received at the receiving area;
and judging whether the signal intensity is lower than a preset intensity threshold value, if so, returning to the step of sampling the optical signal through the optical signal receiver.
7. The method of any of claims 1-3, wherein after the step of receiving an optical signal at the receiving area, the method further comprises:
and judging whether the area of the receiving area is larger than a preset area threshold value or not, if so, enlarging the area of the receiving area, and if not, returning to the step of sampling the optical signal through the optical signal receiver.
8. A mobile terminal, comprising:
the optical signal sampling module is used for sampling the optical signal through the optical signal receiver;
an optical parameter value calculation module for calculating an optical parameter value of the optical signal;
a receiving area determining module for determining a receiving area on the optical signal receiver according to the optical parameter value;
and the optical signal receiving module is used for receiving the optical signal in the receiving area.
9. The mobile terminal of claim 8, wherein the optical signal sampling module comprises:
the full-angle sampling submodule is used for sampling the optical signals in the full-angle range through the optical information receiver;
or,
and the angle range sampling submodule is used for sequentially rotating the optical information receiver so as to sample the optical signals in a plurality of angle ranges.
10. The mobile terminal of claim 9, wherein the reception area determining module comprises:
an optical communication area identification submodule for identifying an optical communication area on the optical signal receiver;
the first weight calculation submodule is used for calculating the weight by adopting the optical parameter value of the optical signal collected in the optical communication area;
a divided optical communication region selection submodule for selecting a reception region from the divided optical communication regions according to the weight;
or,
the second weight calculation submodule is used for calculating the weight by adopting the optical parameter value of the optical signal collected in the angle range;
a light source determination submodule for determining a light source in accordance with the weight;
and the optical information receiver moving submodule is used for moving the optical information receiver according to the light source to serve as a receiving area.
11. The mobile terminal of any of claims 8-10, further comprising:
and the receiving area adjusting module is used for adjusting the receiving area according to the motion data of the mobile terminal.
12. The mobile terminal of any of claims 8-10, further comprising:
the first signal intensity calculating module is used for calculating the signal intensity of the optical signal received by the optical signal receiver;
and the receiving area moving module is used for moving the receiving area to enable the receiving area to receive the optical signal with the strongest signal intensity when the optical signal with the strongest signal intensity is outside the receiving area.
13. The mobile terminal of any of claims 8-10, further comprising:
a second signal strength calculation module, configured to calculate a signal strength of the optical signal received at the receiving area;
and the intensity threshold judging module is used for judging whether the signal intensity is lower than a preset intensity threshold, and if so, returning to call the optical signal sampling module.
14. The mobile terminal of any of claims 8-10, further comprising:
the area threshold value judging module is used for judging whether the area of the receiving area is larger than a preset area threshold value or not, if so, the area enlarging module is called, and if not, the optical signal sampling module is returned to be called;
an area enlarging module for enlarging an area of the receiving area.
CN201710025462.2A 2017-01-13 2017-01-13 The method of reseptance and mobile terminal of a kind of optical signal Pending CN106888057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710025462.2A CN106888057A (en) 2017-01-13 2017-01-13 The method of reseptance and mobile terminal of a kind of optical signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710025462.2A CN106888057A (en) 2017-01-13 2017-01-13 The method of reseptance and mobile terminal of a kind of optical signal

Publications (1)

Publication Number Publication Date
CN106888057A true CN106888057A (en) 2017-06-23

Family

ID=59176493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710025462.2A Pending CN106888057A (en) 2017-01-13 2017-01-13 The method of reseptance and mobile terminal of a kind of optical signal

Country Status (1)

Country Link
CN (1) CN106888057A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291003A (en) * 2019-07-22 2021-01-29 Oppo广东移动通信有限公司 Light fidelity LiFi communication control method and device of mobile terminal, terminal and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895342A (en) * 2010-06-24 2010-11-24 西安电子科技大学 Optical intelligent antenna for rapidly moving free space optical communication system
CN102498682A (en) * 2009-09-19 2012-06-13 三星电子株式会社 Apparatus and method for supporting mobility of a mobile terminal that performs visible light communication
CN102571204A (en) * 2011-12-09 2012-07-11 西安电子科技大学 Optical transmitting antenna system and beam control method thereof
CN102694604A (en) * 2012-05-30 2012-09-26 西安电子科技大学 Regular icosahedrons-based omni-directional optical intelligent antenna for FSO system and communication method
CN104506235A (en) * 2014-12-10 2015-04-08 北京智谷睿拓技术服务有限公司 Optical communication method and optical communication equipment
CN104539361A (en) * 2015-01-04 2015-04-22 中国联合网络通信集团有限公司 Method for adjusting illumination scope in indoor visible light communication and lighting device
CN105577276A (en) * 2016-01-22 2016-05-11 西安电子科技大学 Error correction-extended Kalman filter (EC-EKF) algorithm based optical intelligent antenna wave beam control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102498682A (en) * 2009-09-19 2012-06-13 三星电子株式会社 Apparatus and method for supporting mobility of a mobile terminal that performs visible light communication
CN101895342A (en) * 2010-06-24 2010-11-24 西安电子科技大学 Optical intelligent antenna for rapidly moving free space optical communication system
CN102571204A (en) * 2011-12-09 2012-07-11 西安电子科技大学 Optical transmitting antenna system and beam control method thereof
CN102694604A (en) * 2012-05-30 2012-09-26 西安电子科技大学 Regular icosahedrons-based omni-directional optical intelligent antenna for FSO system and communication method
CN104506235A (en) * 2014-12-10 2015-04-08 北京智谷睿拓技术服务有限公司 Optical communication method and optical communication equipment
CN104539361A (en) * 2015-01-04 2015-04-22 中国联合网络通信集团有限公司 Method for adjusting illumination scope in indoor visible light communication and lighting device
CN105577276A (en) * 2016-01-22 2016-05-11 西安电子科技大学 Error correction-extended Kalman filter (EC-EKF) algorithm based optical intelligent antenna wave beam control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291003A (en) * 2019-07-22 2021-01-29 Oppo广东移动通信有限公司 Light fidelity LiFi communication control method and device of mobile terminal, terminal and medium
CN112291003B (en) * 2019-07-22 2022-03-22 Oppo广东移动通信有限公司 Light fidelity LiFi communication control method and device of mobile terminal, terminal and medium

Similar Documents

Publication Publication Date Title
KR102510402B1 (en) Radar based sensing system for touch and in-the-air interactions
US9201521B2 (en) Storing trace information
US11016644B2 (en) Suspend button display method and terminal device
CN106354373B (en) Icon moving method and mobile terminal
US20150139511A1 (en) Method for identifying fingerprint and electronic device thereof
EP2921947B1 (en) Device and method for controlling a display panel
CN106953675B (en) Mobile terminal and antenna connection method
CN107102806A (en) A kind of split screen input method and mobile terminal
JP2016502722A (en) Using clamping to correct scrolling
CN106484354B (en) Display brightness adjusting method and mobile terminal
CN106791086B (en) Control method of mobile terminal and mobile terminal
CN106406741B (en) A kind of operation processing method and mobile terminal of mobile terminal
CN108366161B (en) Radiation stray test method and device, electronic device and readable storage medium
CN107678813B (en) Desktop icon theme switching method and mobile terminal
CN106775378B (en) Method for determining candidate words of input method and mobile terminal
CN106959864A (en) A kind of adjusting method and mobile terminal of interface display effect
US20130086461A1 (en) Techniques for selection and manipulation of table boarders
US9417717B2 (en) Methods for interacting with an electronic device by using a stylus comprising body having conductive portion and systems utilizing the same
US20200142582A1 (en) Disambiguating gesture input types using multiple heatmaps
CN106713742B (en) Shooting method and mobile terminal
EP2804084A1 (en) Remote control method and remote control system of image display apparatus
US10261608B2 (en) Cursor control method and cursor control system
CN112764647B (en) Display method, display device, electronic equipment and readable storage medium
CN106888057A (en) The method of reseptance and mobile terminal of a kind of optical signal
CN107728898B (en) Information processing method and mobile terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170623

RJ01 Rejection of invention patent application after publication