CN112152704B - Communication control method, communication control device, storage medium, and electronic apparatus - Google Patents

Communication control method, communication control device, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN112152704B
CN112152704B CN201910577287.7A CN201910577287A CN112152704B CN 112152704 B CN112152704 B CN 112152704B CN 201910577287 A CN201910577287 A CN 201910577287A CN 112152704 B CN112152704 B CN 112152704B
Authority
CN
China
Prior art keywords
frequency
distance
spectral
communication
spectral frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910577287.7A
Other languages
Chinese (zh)
Other versions
CN112152704A (en
Inventor
杨鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910577287.7A priority Critical patent/CN112152704B/en
Publication of CN112152704A publication Critical patent/CN112152704A/en
Application granted granted Critical
Publication of CN112152704B publication Critical patent/CN112152704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • 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/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/071Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using a reflected signal, e.g. using optical time domain reflectometers [OTDR]
    • 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/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/077Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using a supervisory or additional signal
    • 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/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • H04B10/114Indoor or close-range type systems
    • H04B10/116Visible light communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a communication control method, a communication control device, a storage medium and electronic equipment, wherein the method comprises the steps of obtaining the relative distance between the electronic equipment and second electronic equipment and obtaining the spectral frequency of current communication; and adjusting the spectral parameters of the current communication link according to the distance information and the spectral frequency. Through this application, can adjust the LiFi communication distance better and make its and distance information looks adaptation, effectively promote the LiFi communication effect.

Description

Communication control method, communication control device, storage medium, and electronic apparatus
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication control method and apparatus, a storage medium, and an electronic device.
Background
The Light Fidelity (LiFi) communication technology is a lighting communication technology, and Light emitted by an LED lighting lamp is used as a transmission tool of a network signal to transmit data, so as to realize illumination internet access. LiFi communication has the characteristics of low radiation, low energy consumption, low carbon and environmental protection, and gradually becomes a research hotspot in the field of the Internet.
Due to the distance limitation of the LiFi communication, if the distance is too far, the data throughput of the LiFi communication link is affected. In the related art, the communication distance is generally extended by increasing the power.
In this way, since the range of increasing the optical signal power is limited, the LiFi communication distance cannot be effectively extended, which affects the LiFi communication effect.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present application is to provide a communication control method, apparatus, storage medium, and electronic device, which can better adjust the LiFi communication distance to be adapted to the distance information, thereby effectively improving the LiFi communication effect.
In order to achieve the above object, a communication control method provided in an embodiment of a first aspect of the present application is applied to a first electronic device, where the first electronic device and a second electronic device perform data communication based on LiFi, and the method includes: acquiring a relative distance between the first electronic equipment and the second electronic equipment, and acquiring the spectral frequency of current communication; and adjusting the spectral parameters of the current communication link according to the distance information and the spectral frequency.
According to the communication control method provided by the embodiment of the first aspect of the application, the relative distance between the LiFi communication distance and the second electronic device is acquired, the spectral frequency of the current communication link is acquired, and the spectral parameters of the current communication link are adjusted according to the distance information and the spectral frequency.
In order to achieve the above object, a communication control apparatus provided in an embodiment of a second aspect of the present application is applied to a first electronic device, where the first electronic device and a second electronic device perform data communication based on LiFi, and the communication control apparatus includes: the acquisition module is used for acquiring the relative distance between the acquisition module and the second electronic equipment and acquiring the spectral frequency of the current communication; and the adjusting module is used for adjusting the spectral parameters of the current communication link according to the distance information and the spectral frequency.
The communication control device that this application second aspect embodiment provided, through the relative distance who obtains with second electronic equipment to obtain the spectral frequency of current communication, according to distance information and spectral frequency, adjust the spectral parameter of current communication link, because combine the spectral parameter of distance information and current communication to current communication link to adjust, can adjust LiFi communication distance better and make it and distance information looks adaptation, effectively promote LiFi communication effect.
To achieve the above object, a computer-readable storage medium is provided in an embodiment of a third aspect of the present application, where when executed by a processor of an electronic device, an instruction of the storage medium enables the electronic device to perform a communication control method, the method including: the embodiment of the first aspect of the present application provides a communication control method.
According to the computer-readable storage medium provided by the embodiment of the third aspect of the application, the relative distance between the computer-readable storage medium and the second electronic device is acquired, the spectral parameter of the current communication link is adjusted according to the distance information and the spectral frequency, and the LiFi communication distance can be well adjusted to be matched with the distance information due to the fact that the spectral parameter of the current communication link is adjusted by combining the distance information and the spectral frequency of the current communication, and the LiFi communication effect is effectively improved.
In order to achieve the above object, a fourth aspect of the present invention provides an electronic device, which includes a housing, a processor, a memory, a circuit board, and a power circuit, wherein the circuit board is disposed inside a space enclosed by the housing, and the processor and the memory are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the electronic equipment; the memory is to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing: acquiring a relative distance between the first electronic device and the second electronic device, and acquiring the spectral frequency of current communication; and adjusting the spectrum parameters of the current communication link according to the distance information and the spectrum frequency.
The embodiment of the fourth aspect of the present application provides an electronic device, which obtains a relative distance from a second electronic device, obtains a spectral frequency of current communication, and adjusts a spectral parameter of a current communication link according to distance information and the spectral frequency.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a communication control method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a communication control method according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of a communication control apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. On the contrary, the embodiments of the application include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
In order to solve the technical problem that the LiFi communication effect is affected because the range of improving the optical signal power is limited, and therefore, the LiFi communication distance cannot be effectively extended, the embodiment of the present application provides a communication control method, which is applied to a first electronic device, data communication is performed between the first electronic device and a second electronic device based on LiFi, a spectral parameter of a current communication link is adjusted according to distance information and spectral frequency by obtaining a relative distance between the first electronic device and the second electronic device and obtaining the spectral frequency of the current communication, and the LiFi communication distance can be well adjusted to be adaptive to distance information by adjusting the spectral parameter of the current communication link according to the distance information and the spectral frequency of the current communication, so that the LiFi communication effect is effectively improved.
Fig. 1 is a flowchart illustrating a communication control method according to an embodiment of the present application.
The embodiment of the application is applied to first electronic equipment, data communication is carried out between the first electronic equipment and the second electronic equipment based on LiFi, the electronic equipment which carries out data communication at present can be called as first electronic equipment, and the first electronic equipment can be a smart phone, a tablet computer, wearable equipment and the like.
Referring to fig. 1, the method includes:
s101: the relative distance to the second electronic device is obtained, and the spectral frequency of the current communication is obtained.
The distance between the first electronic device and the second electronic device can be detected through the distance detector and used as a relative distance, or the first electronic device can be provided with a light ray emitting module, a light ray receiving module and a time-of-flight ranging (TOF) control module which is respectively connected with the light ray emitting module and the light ray receiving module, and the light ray emitting module is controlled to emit and detect light rays through the TOF control module; the distance between the first electronic device and the second electronic device is detected according to the reflected light of the detection light received by the light receiving module, which is not limited.
In the embodiment of the present application, when the relative distance from the second electronic device is obtained, the spectral frequency of the current communication is also obtained, where the spectral frequency may be used to determine the farthest communication distance capable of LiFi communication, for example, a preset distance corresponding to the spectral frequency may be obtained, where the corresponding preset distance is calibrated in advance, and the preset distance is used to represent the farthest communication distance capable of LiFi communication based on the spectral frequency.
S102: and adjusting the spectral parameters of the current communication link according to the distance information and the spectral frequency.
The spectral parameter is, for example, a frequency or a frequency band, the spectral parameter of the current communication link is a frequency or a frequency band of a spectrum of a non-visible light signal emitted by the first electronic device when the first electronic device is currently based on LiFi optical communication.
In the embodiment of the application, the spectral parameters of the current communication link can be correspondingly adjusted according to the distance information and the spectral frequency, so that the adjusted LiFi communication distance is adaptive to the distance information between the first electronic device and the second electronic device.
In some embodiments, adjusting the spectral parameter of the current communication link according to the distance information and the spectral frequency includes: acquiring a preset distance corresponding to the spectrum frequency, wherein the corresponding preset distance is calibrated in advance; judging whether the relative distance is greater than or equal to a preset distance; and if the distance is greater than or equal to the preset distance, adjusting the spectral parameters of the current communication link.
Wherein the preset distance is used to characterize a farthest communication distance at which LiFi communication can be performed based on the spectral frequency.
In the embodiment of the application, whether the relative distance is greater than or equal to the preset distance or not can be judged, if the relative distance is greater than or equal to the preset distance, it is indicated that the current first electronic device and the second electronic device are far away from each other, and a better communication effect may not be obtained when the LiFi communication is performed at the current communication spectral frequency, therefore, at this time, the spectral parameters of the current communication link can be triggered to be correspondingly adjusted, so that the adjusted LiFi communication distance is matched with the distance information between the first electronic device and the second electronic device, and if the relative distance is less than the preset distance, it is indicated that the current first electronic device and the second electronic device are close to each other, in the optimal LiFi communication distance range, the LiFi communication is performed at the current communication spectral frequency, and a better communication effect can be obtained, and at this time, the spectral parameters of the current communication link can not be triggered to be correspondingly adjusted.
The preset distance may be calibrated in advance according to an empirical value, or may be calibrated based on an actual test result of the optimal communication distance of the sample optical signal, which is not limited herein.
Acquiring a preset distance corresponding to the spectrum frequency, wherein the corresponding preset distance is calibrated in advance; judging whether the relative distance is greater than or equal to a preset distance; if the relative distance is greater than or equal to the preset distance, the spectral parameters of the current communication link are adjusted, the time for adjusting the spectral parameters can be flexibly determined, and the preset distance is calibrated in advance, so that the preset distance which is calibrated in advance can be directly read to judge whether the relative distance is greater than or equal to the preset distance, the method is high in execution efficiency, more accurate adjustment time can be determined, and convenience and expandability of application of the method are improved.
In another embodiment, referring to fig. 2, the method further comprises:
after acquiring the spectral frequency of the current communication, the method further comprises the following steps:
s201: and acquiring the throughput rate of the current communication.
Where the throughput rate is used to describe the data throughput rate in the current communication environment, in a computer or data communication system, it refers to the average rate at which data is successfully delivered over a communication channel or a node per unit time, usually in units of bits per second.
For example, the LiFi communication link between the first electronic device and the second electronic device may be monitored, and an average rate of data transmission up to a current time point within a set time period may be determined as a throughput rate of the current communication.
S202: a throughput threshold corresponding to the range information and the spectral frequency is obtained.
The throughput rate threshold corresponding to the distance information and the spectrum frequency can be obtained according to a preset relation table, wherein the preset relation table comprises: the corresponding relationship between the distance information and the spectrum frequency, and the corresponding throughput threshold, which may be calibrated in advance according to an empirical value, or may be calibrated based on an actual test result of the optimal communication distance of the sample optical signal, which is not limited in this respect.
S203: it is determined whether the throughput rate is less than or equal to a throughput rate threshold.
S204: and if the current spectral parameter is less than or equal to the throughput rate threshold, adjusting the spectral parameter of the current communication link.
In the specific execution process, whether the throughput rate is smaller than or equal to a throughput rate threshold value or not can be judged, if the throughput rate is smaller than or equal to the throughput rate threshold value, it is indicated that the first electronic device and the second electronic device may be far away from each other and the throughput rate is low, so that a good communication effect may not be obtained when the LiFi communication is performed at the current communication spectrum frequency, at this time, the corresponding adjustment of the spectrum parameter of the current communication link can be triggered, so that the adjusted LiFi communication distance is matched with the distance information between the first electronic device and the second electronic device, if the throughput rate is larger than the throughput rate threshold value, it is indicated that the first electronic device and the second electronic device may be near from each other and the throughput rate is proper, at this time, the corresponding adjustment of the spectrum parameter of the current communication link may not be triggered.
The two embodiments show the method steps for adjusting the spectrum parameters of the current communication link according to the distance information and the spectrum frequency, and it can be seen that the embodiment of the application is flexible, and the experience value and the actual test result are considered to calibrate the throughput threshold and the preset distance of the reference, so that the control is more accurate, and a better communication control effect can be obtained.
In a specific implementation, when the spectral parameter of the current communication link is adjusted, it may be determined that the spectral frequency is not the lowest value of the adjustable range, and determine a first target spectral frequency, which is lower than the spectral frequency, and adjust the spectral frequency of the communication link to the first target spectral frequency.
According to the propagation characteristic of the optical signal, the lower the frequency is, the longer the wavelength is, the stronger the penetration capability is, therefore, the longer the propagation distance is, and conversely, the lower the frequency is, the shorter the wavelength is, the weaker the penetration capability is, therefore, the shorter the propagation distance is, therefore, when the spectral parameters of the current communication link are adjusted, the spectral frequency can be determined not to be the lowest value of the adjustable range, and a first target spectral frequency is determined, which is lower than the spectral frequency, and the spectral frequency of the communication link is adjusted to the first target spectral frequency, so that the communication distance of the LiFi communication link can be effectively and flexibly adjusted, the LiFi communication distance can be well adjusted to be matched with the distance information, and the LiFi communication effect is effectively improved.
In another embodiment, the spectral parameter of the current communication link is adjusted, and the spectral frequency of the current communication link may be further analyzed to obtain an interference value, where the interference value is used to describe an interference degree suffered by the current communication link, a second target spectral frequency is determined, the interference value at the second target spectral frequency is smaller than the interference value at the current frequency, and the spectral frequency of the communication link is adjusted to the second target spectral frequency.
It can be understood that, if the interference value under the second target spectral frequency is smaller than the interference value under the current frequency, the communication effect of the second target spectral frequency for the LiFi communication is better than the communication effect of the current spectral frequency for the LiFi communication, therefore, when the interference value under the second target spectral frequency is smaller than the interference value under the current frequency, the spectral frequency of the communication link is adjusted to the second target spectral frequency, so as to obtain a better communication effect, the adjustment mode is more flexible, and the communication device can be suitable for different scene use requirements, and the user use experience is improved.
In this embodiment, by obtaining the relative distance from the second electronic device and obtaining the spectral frequency of the current communication, the spectral parameter of the current communication link is adjusted according to the distance information and the spectral frequency, and by adjusting the spectral parameter of the current communication link according to the distance information and the spectral frequency of the current communication, the LiFi communication distance can be well adjusted to be matched with the distance information, and the LiFi communication effect is effectively improved.
Fig. 3 is a schematic structural diagram of a communication control apparatus according to an embodiment of the present application;
the communication control device is provided in a first electronic apparatus, and data communication is performed between the first electronic apparatus and a second electronic apparatus based on LiFi.
Referring to fig. 3, the communication control apparatus 300 includes:
an obtaining module 301, configured to obtain a relative distance from the second electronic device, and obtain a spectral frequency of current communication;
an adjusting module 302, configured to adjust a spectrum parameter of the current communication link according to the distance information and the spectrum frequency.
Optionally, in some embodiments, the adjusting module 302 is specifically configured to:
and acquiring a preset distance corresponding to the spectrum frequency, wherein the corresponding preset distance is calibrated in advance, judging whether the relative distance is greater than or equal to the preset distance, and if so, adjusting the spectrum parameters of the current communication link.
Optionally, in some embodiments, the communication control apparatus includes:
an obtaining module 301, further configured to obtain a throughput rate of current communication;
the adjusting module 302 is further configured to obtain a throughput rate threshold corresponding to the distance information and the spectrum frequency, determine whether the throughput rate is less than or equal to the throughput rate threshold, and adjust the spectrum parameter of the current communication link if the throughput rate is less than or equal to the throughput rate threshold.
Optionally, in some embodiments, the adjusting module 302 is further configured to:
determining that the spectral frequency is not the lowest value of the adjustable range, and determining a first target spectral frequency, the first target spectral frequency being lower than the spectral frequency, and adjusting the spectral frequency of the communication link to the first target spectral frequency.
Optionally, in some embodiments, the adjusting module 302 is further configured to:
analyzing the spectrum frequency of the current communication link to obtain an interference value, wherein the interference value is used for describing the interference degree of the current communication link, determining a second target spectrum frequency, the interference value under the second target spectrum frequency is smaller than the interference value under the current frequency, and adjusting the spectrum frequency of the communication link to the second target spectrum frequency.
It should be noted that the explanation of the embodiment of the communication control method in the foregoing embodiments of fig. 1 to fig. 2 is also applicable to the communication control apparatus 300 of this embodiment, and the implementation principle is similar, and is not repeated here.
In this embodiment, by obtaining the relative distance from the second electronic device and obtaining the spectral frequency of the current communication, the spectral parameter of the current communication link is adjusted according to the distance information and the spectral frequency, and by adjusting the spectral parameter of the current communication link according to the distance information and the spectral frequency of the current communication, the LiFi communication distance can be well adjusted to be matched with the distance information, and the LiFi communication effect is effectively improved.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Referring to fig. 4, the electronic apparatus 40 of the present embodiment includes: the device comprises a shell 401, a processor 402, a memory 403, a circuit board 404 and a power circuit 405, wherein the circuit board 404 is arranged in a space surrounded by the shell 401, and the processor 402 and the memory 403 are arranged on the circuit board 404; a power supply circuit 405 for supplying power to each circuit or device of the electronic apparatus 40; the memory 403 is used for storing executable program code; wherein, the processor 402 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 403, for executing:
acquiring a relative distance between the first electronic equipment and the second electronic equipment, and acquiring the spectral frequency of current communication;
and adjusting the spectral parameters of the current communication link according to the distance information and the spectral frequency.
It should be noted that the explanation of the embodiment of the communication control method in the foregoing fig. 1-fig. 2 is also applicable to the electronic device 40 of this embodiment, and the implementation principle is similar, and is not described herein again.
In this embodiment, the relative distance from the second electronic device is obtained, the spectral frequency of the current communication is obtained, and the spectral parameter of the current communication link is adjusted according to the distance information and the spectral frequency.
In order to implement the above embodiments, the present application proposes a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the communication control method of the foregoing method embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, the meaning of "a plurality" is two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description of the present specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A communication control method applied to a first electronic device, wherein data communication is performed between the first electronic device and a second electronic device based on LiFi, the method comprising:
acquiring a relative distance between the first electronic equipment and the second electronic equipment, and acquiring the spectral frequency of current communication;
acquiring a preset distance corresponding to the spectrum frequency, wherein the corresponding preset distance is calibrated in advance based on an actual test result of the optimal communication distance of the sample optical signal, and the preset distance is used for representing the farthest communication distance capable of carrying out LiFi communication based on the spectrum frequency;
judging whether the relative distance is greater than or equal to a preset distance;
and if the distance is greater than or equal to the preset distance, adjusting the spectral parameters of the current communication link.
2. The communication control method according to claim 1, wherein after the acquiring of the spectral frequency of the current communication, further comprising:
acquiring the throughput rate of the current communication;
the adjusting the spectral parameter of the current communication link includes:
acquiring a throughput rate threshold corresponding to the preset distance and the spectrum frequency;
judging whether the throughput rate is less than or equal to the throughput rate threshold value;
and if the throughput rate is less than or equal to the throughput rate threshold, adjusting the spectral parameters of the current communication link.
3. The communication control method of any of claims 1-2, wherein said adjusting spectral parameters of the current communication link comprises:
determining that the spectral frequency is not the lowest value of the adjustable range;
determining a first target spectral frequency, the first target spectral frequency being lower than the spectral frequency;
adjusting a spectral frequency of the communication link to the first target spectral frequency.
4. The communication control method of any of claims 1-2, wherein said adjusting spectral parameters of the current communication link comprises:
analyzing the spectrum frequency of the current communication link to obtain an interference value, wherein the interference value is used for describing the interference degree of the current communication link;
determining a second target spectrum frequency, wherein the interference value under the second target spectrum frequency is smaller than the interference value under the current frequency;
adjusting the spectral frequency of the communication link to the second target spectral frequency.
5. A communication control apparatus applied to a first electronic device, the first electronic device and a second electronic device performing data communication based on LiFi, the apparatus comprising:
the acquisition module is used for acquiring the relative distance between the acquisition module and the second electronic equipment and acquiring the spectral frequency of the current communication;
the adjusting module is used for acquiring a preset distance corresponding to the spectral frequency, the corresponding preset distance is calibrated in advance, and the preset distance is used for representing the farthest communication distance of LiFi communication based on the spectral frequency;
judging whether the relative distance is greater than or equal to a preset distance;
and if the distance is greater than or equal to the preset distance, adjusting the spectral parameters of the current communication link.
6. The communication control apparatus according to claim 5, wherein,
the obtaining module is further configured to obtain a throughput rate of the current communication;
the adjusting module is further configured to obtain a throughput rate threshold corresponding to the preset distance and the spectrum frequency, determine whether the throughput rate is smaller than or equal to the throughput rate threshold, and adjust the spectrum parameter of the current communication link if the throughput rate is smaller than or equal to the throughput rate threshold.
7. The communication control apparatus of any of claims 5-6, wherein the adjustment module is further to:
determining that the spectral frequency is not the lowest value of the adjustable range, and determining a first target spectral frequency, the first target spectral frequency being lower than the spectral frequency, and adjusting the spectral frequency of the communication link to the first target spectral frequency.
8. The communication control apparatus according to any one of claims 5 to 6, wherein the adjustment module is further configured to:
analyzing the spectrum frequency of the current communication link to obtain an interference value, wherein the interference value is used for describing the interference degree of the current communication link, determining a second target spectrum frequency, the interference value under the second target spectrum frequency is smaller than the interference value under the current frequency, and adjusting the spectrum frequency of the communication link to the second target spectrum frequency.
9. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing the communication control method according to any one of claims 1 to 4.
10. An electronic device comprising a housing, a processor, a memory, a circuit board, and a power circuit, wherein the circuit board is disposed inside a space enclosed by the housing, the processor and the memory being disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the electronic equipment; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing:
acquiring a relative distance between the first electronic equipment and the second electronic equipment, and acquiring the spectral frequency of current communication;
acquiring a preset distance corresponding to the spectral frequency, wherein the corresponding preset distance is pre-calibrated based on an actual test result of an optimal communication distance of a sample optical signal, and the preset distance is used for representing the farthest communication distance capable of carrying out LiFi communication based on the spectral frequency;
judging whether the relative distance is greater than or equal to a preset distance;
and if the distance is greater than or equal to the preset distance, adjusting the spectral parameters of the current communication link.
CN201910577287.7A 2019-06-28 2019-06-28 Communication control method, communication control device, storage medium, and electronic apparatus Active CN112152704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910577287.7A CN112152704B (en) 2019-06-28 2019-06-28 Communication control method, communication control device, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910577287.7A CN112152704B (en) 2019-06-28 2019-06-28 Communication control method, communication control device, storage medium, and electronic apparatus

Publications (2)

Publication Number Publication Date
CN112152704A CN112152704A (en) 2020-12-29
CN112152704B true CN112152704B (en) 2022-10-25

Family

ID=73869591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910577287.7A Active CN112152704B (en) 2019-06-28 2019-06-28 Communication control method, communication control device, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN112152704B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117811651A (en) * 2022-09-30 2024-04-02 华为技术有限公司 Spectrum detection equipment, spectrum detection method and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602334A (en) * 2015-02-02 2015-05-06 中山大学花都产业科技研究院 Point-to-multipoint communication system power control optimization method
CN105187133A (en) * 2015-09-30 2015-12-23 常州机电职业技术学院 Carrier frequency self-adaptive underwater communication method and device
CN107682879A (en) * 2017-08-30 2018-02-09 深圳市盛路物联通讯技术有限公司 A kind of frequency adjustment method and mobile terminal based on antenna received signal strength
CN108476061A (en) * 2015-12-28 2018-08-31 湖西大学产学合作团 Underwater communications system
CN108833030A (en) * 2018-06-05 2018-11-16 珠海格力电器股份有限公司 Wireless signal transmission power adjusting method, device, storage medium and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8249678B2 (en) * 2007-09-28 2012-08-21 Kyocera Corporation Wireless communication device with configurable antenna

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602334A (en) * 2015-02-02 2015-05-06 中山大学花都产业科技研究院 Point-to-multipoint communication system power control optimization method
CN105187133A (en) * 2015-09-30 2015-12-23 常州机电职业技术学院 Carrier frequency self-adaptive underwater communication method and device
CN108476061A (en) * 2015-12-28 2018-08-31 湖西大学产学合作团 Underwater communications system
CN107682879A (en) * 2017-08-30 2018-02-09 深圳市盛路物联通讯技术有限公司 A kind of frequency adjustment method and mobile terminal based on antenna received signal strength
CN108833030A (en) * 2018-06-05 2018-11-16 珠海格力电器股份有限公司 Wireless signal transmission power adjusting method, device, storage medium and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
浅谈短波通信系统的频率自适应技术;李广军等;《吉林省第四届科学技术学术年会论文集》;20080901;全文 *

Also Published As

Publication number Publication date
CN112152704A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
KR102706194B1 (en) Beam indication for multi-panel ue
US20190174339A1 (en) Method, user equipment, base station, and system for enhancing reliability of wireless communication
TW201828746A (en) Reporting power limit and corresponding constraint
KR20200116727A (en) Electronic device for controlling beam based on data obtained by a camera and method for the same
EP2367388B1 (en) Techniques for evaluation and improvement of user experience for applications in mobile wireless networks
CN114337953B (en) Method and device for determining and configuring uplink channel parameters
CN1537367A (en) Adaptive array antenna receiving apparatus and antenna array calibration method
CN108540995A (en) A kind of channel status detection method, the network equipment and user equipment
WO2020020251A1 (en) Electromagnetic radiation control method and related device
KR20200040073A (en) Method for mitigating interference between cells in dynamic time division duplex environment and electronic device thereof
CN112152704B (en) Communication control method, communication control device, storage medium, and electronic apparatus
CN112468228A (en) LiFi communication optimization method and related device
JP2023533001A (en) Coexistence between radar-capable user equipment and other user equipment
US20180205420A1 (en) Configuration of Beamforming Settings
CN108632856A (en) A kind of processing method and server of determining target adjacent area
CN115668792A (en) UE adaptive beam management method and device
EP2986080B1 (en) Method and apparatus for setting pa blanking working mode
US20230254714A1 (en) Local wireless communication system, in-area reception quality control method, controller, and program
CN108632876B (en) Communication method, terminal equipment and network equipment
KR20210087508A (en) Uplink beam training method, terminal and network device
US10750547B2 (en) Beamforming based on combined beams
KR20140112319A (en) Rfid reader based on automatic matching network and controlling method thereof
US20180302865A1 (en) Access method and access device
Masroor et al. Analyzing the effects of LED lamp arrangements on performance of an indoor visible light communication system
CN112152715B (en) Communication control method, communication control device, storage medium, and electronic apparatus

Legal Events

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