CN112261636B - Communication method, apparatus, and storage medium - Google Patents

Communication method, apparatus, and storage medium Download PDF

Info

Publication number
CN112261636B
CN112261636B CN202011147969.3A CN202011147969A CN112261636B CN 112261636 B CN112261636 B CN 112261636B CN 202011147969 A CN202011147969 A CN 202011147969A CN 112261636 B CN112261636 B CN 112261636B
Authority
CN
China
Prior art keywords
power
transmitting power
carrier frequency
frequency
message
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
CN202011147969.3A
Other languages
Chinese (zh)
Other versions
CN112261636A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202011147969.3A priority Critical patent/CN112261636B/en
Publication of CN112261636A publication Critical patent/CN112261636A/en
Application granted granted Critical
Publication of CN112261636B publication Critical patent/CN112261636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/30TPC using constraints in the total amount of available transmission power
    • H04W52/36TPC using constraints in the total amount of available transmission power with a discrete range or set of values, e.g. step size, ramping or offsets
    • H04W52/367Power values between minimum and maximum limits, e.g. dynamic range

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a communication method, equipment and storage medium, wherein the method comprises the following steps: the method comprises the steps that a first terminal device obtains target transmitting power, wherein the target transmitting power is larger than preset power; and the first terminal equipment transmits a first message to the second terminal equipment in a Bluetooth mode according to the target transmitting power, and the distance between the first terminal equipment and the second terminal equipment is larger than or equal to a preset distance. The method of the embodiment of the application enables the first terminal device and the second terminal device to communicate in a Bluetooth mode under the condition of larger distance.

Description

Communication method, apparatus, and storage medium
Technical Field
Embodiments of the present application relate to the field of communications technologies, and in particular, to a communication method, device, and storage medium.
Background
With the continuous development of communication and information technology, bluetooth (Bluetooth) is a communication technology supporting short-distance communication (generally within 10 m) of devices, and has an increasingly wide application range. For example, they are widely used in portable terminal devices such as mobile phones and computers.
In the related art, the maximum transmitting power of bluetooth with low energy is generally limited within 20dBm, the transmission distance is limited, and a certain limitation is caused to the application scenario of bluetooth, for example, the bluetooth with low energy (Bluetooth Low Energy, BLE) sensor with long distance, the BLE internet of things (Internet of things, IOT) and other scenarios cannot be used, so how to improve the transmission distance of bluetooth communication is a technical problem to be solved for those skilled in the art.
Disclosure of Invention
The embodiment of the application provides a communication method, a device and a storage medium, so as to improve the transmission distance of Bluetooth communication.
In a first aspect, an embodiment of the present application provides a communication method, including:
the method comprises the steps that a first terminal device obtains target transmitting power, wherein the target transmitting power is larger than preset power;
and the first terminal equipment transmits a first message to the second terminal equipment in a Bluetooth mode according to the target transmitting power, and the distance between the first terminal equipment and the second terminal equipment is larger than or equal to a preset distance.
In one possible implementation manner, the first terminal device transmits a first message to a second terminal device according to the target transmission power in a bluetooth manner, including:
the first terminal equipment acquires carrier frequency;
and the first terminal equipment transmits a first message to the second terminal equipment in a Bluetooth mode according to the carrier frequency and the target transmitting power.
In one possible implementation, the difference between the target transmission power and the transmission power corresponding to the first transmission frequency is a first preset value, and the difference between the first transmission frequency and the carrier frequency is greater than or equal to a first frequency offset.
In one possible implementation, the difference between the target transmission power and the transmission power corresponding to the second transmission frequency is a second preset value, and the difference between the second transmission frequency and the carrier frequency is greater than or equal to a second frequency offset.
In one possible implementation, the difference between the power of the first message and the preset power is a multiple of 3 dBm.
In one possible implementation, the preset power is 20dBm.
In a second aspect, an embodiment of the present application provides a communication method, including:
the second terminal equipment receives a first message of the first terminal equipment; the target transmitting power of the first message transmitted by the first terminal equipment is larger than preset power;
the second terminal equipment processes the first message; the distance between the first terminal device and the second terminal device is greater than or equal to a preset distance.
In one possible implementation manner, the second terminal device processes the first message includes at least one of the following:
the second terminal equipment establishes connection with the first terminal equipment;
the second terminal equipment sends a second message to the second terminal equipment according to the first message;
and the second terminal equipment processes the data included in the first message.
In one possible implementation manner, a difference between the target transmission power and the transmission power corresponding to the first transmission power is a first preset value, and a difference between the first transmission frequency and the carrier frequency corresponding to the target transmission power is greater than or equal to a first frequency offset.
In one possible implementation manner, the difference between the target transmission power and the transmission power corresponding to the second transmission frequency is a second preset value, and the difference between the second transmission frequency and the carrier frequency corresponding to the target transmission power is greater than or equal to a second frequency offset.
In one possible implementation, the difference between the power at which the first message is transmitted and the preset power is a multiple of 3 dBm.
In a third aspect, an embodiment of the present application provides a first terminal device, including:
the acquisition module is used for acquiring target transmitting power, wherein the target transmitting power is larger than preset power;
and the sending module is used for sending a first message to the second terminal equipment in a Bluetooth mode according to the target sending power, and the distance between the first terminal equipment and the second terminal equipment is larger than or equal to a preset distance.
In a fourth aspect, an embodiment of the present application provides a second terminal device, including:
the receiving module is used for receiving a first message of the first terminal equipment; the power of the first terminal equipment for transmitting the first message is larger than preset power;
the processing module is used for processing the first message; the distance between the first terminal device and the second terminal device is greater than or equal to a preset distance.
In a fifth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one of the first and second aspects.
In a sixth aspect, an embodiment of the present application provides a first terminal device, including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of the first aspects via execution of the executable instructions.
In a seventh aspect, an embodiment of the present application provides a second terminal device, including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of the second aspects via execution of the executable instructions.
In an eighth aspect, embodiments of the present application provide a chip, including: a processing module and a communication interface, the processing module being capable of performing the communication method according to any one of the first and second aspects.
Further, the chip further includes a storage module (e.g., a memory), the storage module is configured to store instructions, the processing module is configured to execute the instructions stored in the storage module, and execution of the instructions stored in the storage module causes the processing module to perform the communication method according to any one of the first aspect and the second aspect.
According to the communication method, the device and the storage medium, the distance between the first terminal device and the second terminal device is larger than or equal to the preset distance, so that the first terminal device transmits the first message to the second terminal device in a Bluetooth mode according to the target transmission power by acquiring the larger target transmission power which is larger than the preset power, and the first terminal device and the second terminal device can communicate in the Bluetooth mode under the condition that the distance is larger.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is an application scenario diagram provided in an embodiment of the present application;
FIG. 2 is a flow chart of a communication method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interaction flow of a communication method according to an embodiment of the present application;
FIG. 4 is a flow chart of a communication method according to another embodiment of the present application;
fig. 5 is a schematic diagram of a bluetooth connection establishment procedure according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a first terminal device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a second terminal device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a first terminal device according to another embodiment of the present application;
fig. 9 is a schematic structural diagram of a second terminal device according to another embodiment of the present application.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terms "comprising" and "having" and any variations thereof in the description and claims of the present application and in the drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
First, an application scenario related to the present application is described:
the terminal device in the embodiments of the present application may refer to various forms of User Equipment (UE), an access terminal, a subscriber unit, a subscriber station, a Mobile Station (MS), a remote station, a remote terminal, a mobile device, a user terminal, a terminal device (terminal equipment), a wireless communication device, a user agent, or a user apparatus. The terminal device may also be a cellular telephone, a cordless telephone, a session initiation protocol (Session Initiation Protocol, SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future 5G network or a terminal device in a future evolved public land mobile network (Public Land Mobile Network, PLMN), etc., as the embodiments of the application are not limited in this respect.
In addition, the network device in the embodiment of the present application may be a base station (Base Transceiver Station, BTS) in global mobile communications (Global System of Mobile communication, GSM) or code division multiple Access (Code Division Multiple Access, CDMA), a base station (NodeB, NB) in wideband code division multiple Access (Wideband Code Division Multiple Access, WCDMA), an evolved NodeB (eNB) in long term evolution (Long Term Evolution, LTE) or enhanced long term evolution (evolved Long Term Evolution, eete), or a next generation evolved NodeB (ng-eNB), an Access Point (AP) or a relay station in WLAN, a gNB in 5G NR, an Access device in a future communication network, or the like, which is not limited herein.
Fig. 1 is a schematic diagram of a network architecture according to an embodiment of the present application, where the technical solution provided in the present application is based on the network architecture shown in fig. 1, and the network architecture includes at least two terminal devices 100, only two of which are shown in fig. 1 for clarity.
Wherein, the terminal devices can communicate through a network. For example, communication between terminal devices follows the bluetooth communication protocol.
Optionally, the network architecture may further include: network devices, each terminal device 100 communicates with the network devices through a wireless interface.
The method of the embodiment of the application is mainly applied to communication among a plurality of terminal devices.
It should be noted that the method in the embodiment of the present application is equally applicable to other short-range communication modes, and in the following embodiments, bluetooth communication is only used as an example.
In the related art, the maximum transmitting power of bluetooth with low energy is generally limited to 20dBm, for example, as shown in table 1 and table 2 in the bluetooth corev5.2 protocol, the transmission distance is limited, which causes a certain limitation to the application scenario of bluetooth, for example, the long-distance bluetooth with low energy (Bluetooth Low Energy, BLE) sensor (sensor), BLE internet of things (Internet of things, IOT) and other scenarios cannot be used, so how to increase the transmission distance of bluetooth communication is a technical problem to be solved for those skilled in the art.
Table 1 bluetooth low energy BLE transmit power
Figure BDA0002740291550000061
TABLE 2 BLE transmit power at different power levels
Power Class Maximum output power Minimum output power
1 100mW(20dBm) 1mW(0dBm)
2 2.5mW(4dBm) 0.25mW(-6dBm)
3 1mW(0dBm) N/A
In an indoor environment, a maximum output power of 20dBm is generally sufficient, but in an outdoor environment, the power decays very rapidly due to no wall reflection. Many scenarios cannot be overlaid, such as IOT scenarios.
According to the method, the maximum transmitting power is improved compared with the maximum transmitting power of the existing protocol, so that the distance of Bluetooth communication is larger, and the coverage range of BLE is enlarged.
For example, the power class xx is increased based on table 2, and the maximum supported transmission power is 23, 26, 29, 30, 32, 33, 35dBm, or the like, and may be any transmission power greater than 20dBm.
In an embodiment, the communication method of the embodiment of the present application is applicable to the following scenarios:
the BLE Mesh networking can enable a communication range to be wider, and the network is more stable, such as building a low-cost forest fire prevention sensor network;
2. the remote outdoor voice broadcasting is constructed, the BLE AUDIO function is utilized, the BLE broadcasting can be constructed, the power can be increased when the outdoor voice broadcasting is used outdoors, the outdoor coverage area is enlarged, the anti-interference capability is strong, and the user experience is improved;
3. other various remote outdoor application scenarios.
The technical scheme of the present application is described in detail below with specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 2 is a flow chart of a communication method according to an embodiment of the present application. As shown in fig. 2, the method provided in this embodiment includes:
step 101, a first terminal device obtains a target transmitting power, wherein the target transmitting power is larger than a preset power;
wherein the distance between the first terminal device and the second terminal device is greater than or equal to a preset distance.
Specifically, since the distance between the first terminal device and the second terminal device is greater than or equal to the preset distance, the preset distance is, for example, the maximum communication distance between the terminal devices when the transmission power is the preset power, and in order to achieve communication with a larger distance, the transmission power needs to be increased on the basis of the preset power, so that the first terminal device obtains the target transmission power, the target transmission power is greater than the preset power, and the preset power is, for example, 20dBm.
Step 102, the first terminal device transmits a first message to the second terminal device in a Bluetooth mode according to the target transmission power.
Specifically, the method of the embodiment of the application may be applied to bluetooth communication, where the first terminal device transmits a first message to the second terminal device in a bluetooth manner according to the target transmission power, and the first message may include data transmitted by the first terminal device to the second terminal device.
According to the method, the distance between the first terminal device and the second terminal device is larger than or equal to the preset distance, so that the first terminal device transmits the first message to the second terminal device in a Bluetooth mode according to the target transmission power by acquiring larger target transmission power which is larger than the preset power, and the first terminal device and the second terminal device can communicate in the Bluetooth mode under the condition that the distance is larger.
In one embodiment, step 102 may be specifically implemented as follows:
the method comprises the steps that a first terminal device obtains carrier frequency;
and the first terminal equipment transmits a first message to the second terminal equipment in a Bluetooth mode according to the carrier frequency and the target transmitting power.
Specifically, the first terminal device acquires a carrier frequency, and the first terminal device transmits a first message to the second terminal device at a target transmission power on the carrier frequency.
For example, the maximum transmitting power is 20dBm, the modulation mode is 1/8code PHY modulation, the outdoor distance of about 750 m can be covered generally, if the transmitting power is increased again, the distance can be increased to be equal to 2km and 3km, if BLE Mesh networking is added, the communication distance can be covered for tens of kilometers, and therefore, the method of the embodiment of the application can be widely applied to the aspects of outdoor forest fire sensors, grassland environments, ultra-long-distance intercom and the like.
In the above embodiment, by acquiring the larger target transmitting power, where the target transmitting power is greater than the preset power, the first terminal device transmits the first message to the second terminal device in the bluetooth mode according to the carrier frequency and the target transmitting power, so that the first terminal device and the second terminal device can communicate in the bluetooth mode under the condition of a larger distance.
In an embodiment, the transmission power corresponding to the transmission frequency outside the first frequency offset range of the carrier frequency is decreased by a first preset value with respect to the target transmission power.
It can also be expressed as: the difference between the target transmitting power and the transmitting power corresponding to the first transmitting frequency is a first preset value, and the difference between the first transmitting frequency and the carrier frequency is larger than or equal to a first frequency offset. The first frequency offset is, for example, 500kHz or 2MHz, etc.
Specifically, the target transmission power is the transmission power corresponding to the carrier frequency, and the transmission power needs to be reduced outside the first frequency offset range of the carrier frequency to reduce the interference to the adjacent channel, so that the transmission power corresponding to the transmission frequency outside the first frequency offset range of the carrier frequency is reduced by a first preset value, for example, 20dB, relative to the target transmission power, that is, the maximum output power.
The first frequency offset range is, for example, a carrier frequency 500kHz offset range, or a carrier frequency 2MHz offset range.
Illustratively, as shown in Table 3, the transmit power corresponding to a transmit frequency outside the 500kHz offset range of the carrier frequency is reduced by 20dB relative to the target transmit power.
Illustratively, as shown in Table 3, the transmit power corresponding to a transmit frequency outside the 2MHz offset range of the carrier frequency is reduced by 20dB relative to the target transmit power.
In an embodiment, the transmission power corresponding to the transmission frequency outside the second frequency offset range of the carrier frequency is decreased by a second preset value with respect to the target transmission power.
It can also be expressed as: the difference between the target transmission power and the transmission power corresponding to the second transmission frequency is a second preset value, and the difference between the second transmission frequency and the carrier frequency is greater than or equal to a second frequency offset. The second frequency offset is, for example, greater than or equal to 3MHz.
Specifically, the target transmission power is the transmission power corresponding to the carrier frequency, and the transmission power needs to be reduced outside the first frequency offset range of the carrier frequency to reduce the interference to the adjacent channel, so that the transmission power corresponding to the transmission frequency outside the second frequency offset range of the carrier frequency is reduced by a second preset value, for example, 40dB, relative to the target transmission power, that is, the maximum output power.
A second frequency offset range such as a carrier frequency + -3 MHz offset range.
Illustratively, as shown in Table 3, the transmit power corresponding to a transmit frequency outside the 3MHz offset range of the carrier frequency is reduced by 40dB relative to the target transmit power.
TABLE 3 emission spectrum template (Transmit Spectrum mask) in the examples of this application
Frequency offset Transmit Power
±500kHz -20dBc
2MHz(|M-N|=2) -20dBc
3MHz or greater(|M-N>=3) -40dBc
Wherein N in table 3 represents the carrier frequency.
As shown in table 4, in the related art, the transmission power corresponding to the transmission frequency outside the first frequency offset range of the carrier frequency (outside the carrier frequency ±500kHz offset range) is reduced by 20dB with respect to the maximum output power.
The transmit power corresponding to a transmit frequency outside the 2MHz offset range for the carrier frequency needs to be reduced to-20 dBm.
At a transmit power corresponding to a transmit frequency offset from the carrier frequency of 3MHz or greater, a drop to-40 dBm is required.
Since the target transmit power in the embodiments of the present application is large, it may be difficult to drop the transmit power to the values in table 4 outside the frequency offset range (e.g., frequency offset of 2mhz,3mhz or more), and thus the scheme described in table 3 may be adopted.
Table 4 related Art emission Spectrum template (Transmit Spectrum mask)
Frequency offset Transmit Power
±500kHz -20dBc
2MHz(|M-N|=2) -20dBm
3MHz or greater(|M-N>=3) -40dBm
In the above embodiment, the transmission power corresponding to the transmission frequency outside the first frequency offset range of the carrier frequency is reduced by a first preset value with respect to the target transmission power, and the transmission power corresponding to the transmission frequency outside the second frequency offset range of the carrier frequency is reduced by a second preset value with respect to the target transmission power, so that the interference to the adjacent channel is reduced.
Fig. 4 is a flow chart of a communication method according to another embodiment of the present application. As shown in fig. 3 and 4, the method provided in this embodiment includes:
step 201, a second terminal device receives a first message of a first terminal device; the target transmitting power of the first message transmitted by the first terminal equipment is larger than the preset power;
step 202, the second terminal equipment processes the first message; the distance between the first terminal device and the second terminal device is greater than or equal to a preset distance.
Specifically, the method of the embodiment of the present application may be applied to bluetooth communication, where the distance between the first terminal device and the second terminal device is greater than or equal to a preset distance, where the preset distance is, for example, a maximum communication distance between the terminal devices when the transmission power is the preset power, and in order to implement communication with a larger distance, the transmission power needs to be increased on the basis of the preset power, so that the first terminal device obtains a target transmission power, where the target transmission power is greater than the preset power, and the preset power is, for example, 20dBm.
The first terminal device transmits a first message to the second terminal device in a bluetooth manner according to the target transmission power, wherein the first message may include data transmitted from the first terminal device to the second terminal device.
In one possible implementation manner, the second terminal device processes the first message includes at least one of the following:
the second terminal equipment establishes connection with the first terminal equipment;
the second terminal equipment sends a second message to the second terminal equipment according to the first message;
and the second terminal equipment processes the data included in the first message.
Specifically, the first terminal device sends a first message to the second terminal device, where the first message may be a request message for connection establishment, and according to the first message, the second terminal device establishes a connection with the first terminal device; or alternatively, the first and second heat exchangers may be,
the first terminal equipment sends a first message to the second terminal equipment, and the second terminal equipment sends a second message to the second terminal equipment according to the first message; the first message and the second message may be sent before and/or after the connection is established; or alternatively, the first and second heat exchangers may be,
the first terminal device sends a first message to the second terminal device, the second terminal device processes data included in the first message, and the first message may be sent before and/or after the connection is established.
In one possible implementation manner, a difference between the target transmission power and the transmission power corresponding to the first transmission power is a first preset value, and a difference between the first transmission frequency and the carrier frequency corresponding to the target transmission power is greater than or equal to a first frequency offset.
In one possible implementation manner, the difference between the target transmission power and the transmission power corresponding to the second transmission frequency is a second preset value, and the difference between the second transmission frequency and the carrier frequency corresponding to the target transmission power is greater than or equal to a second frequency offset.
In one possible implementation, the difference between the power at which the first message is transmitted and the preset power is a multiple of 3 dBm.
The method of this embodiment, similar to the scheme on the side of the first terminal device, implements similar principles and technical effects, and is not described herein again.
According to the method, the distance between the first terminal device and the second terminal device is larger than or equal to the preset distance, so that the first terminal device transmits the first message to the second terminal device in a Bluetooth mode according to the target transmission power by acquiring larger target transmission power which is larger than the preset power, and the first terminal device and the second terminal device can communicate in the Bluetooth mode under the condition that the distance is larger.
In an embodiment, as shown in fig. 5, a procedure of establishing a bluetooth connection between terminal devices is shown, a terminal device as a master device transmits a broadcast message, a terminal device as a slave device transmits a probe request according to the broadcast message, a terminal device as a master device transmits a probe response, a terminal device as a slave device transmits a connection establishment request to the terminal device as a master device, and a terminal device as a master device transmits a connection establishment response to the terminal device as a slave device, so that the master device and the slave device establish a communication connection, and communication can be performed between the two devices using a bluetooth manner.
In other embodiments, the process of establishing the connection may also be different from the above manner, which is not limited in the embodiments of the present application.
Fig. 6 is a schematic structural diagram of a first terminal device according to an embodiment of the present application, as shown in fig. 6, where the first terminal device according to the embodiment includes:
an obtaining module 110, configured to obtain a target transmission power, where the target transmission power is greater than a preset power;
and a sending module 111, configured to send a first message to a second terminal device by using a bluetooth mode according to the target sending power, where a distance between the first terminal device and the second terminal device is greater than or equal to a preset distance.
In one possible implementation, the sending module 111 is specifically configured to:
the first terminal equipment acquires carrier frequency;
and the first terminal equipment transmits a first message to the second terminal equipment in a Bluetooth mode according to the carrier frequency and the target transmitting power.
In one possible implementation, the difference between the target transmission power and the transmission power corresponding to the first transmission frequency is a first preset value, and the difference between the first transmission frequency and the carrier frequency is greater than or equal to a first frequency offset.
In one possible implementation, the difference between the target transmission power and the transmission power corresponding to the second transmission frequency is a second preset value, and the difference between the second transmission frequency and the carrier frequency is greater than or equal to a second frequency offset.
In one possible implementation, the difference between the power of the first message and the preset power is a multiple of 3 dBm.
In one possible implementation, the preset power is 20dBm.
The first terminal device of the present embodiment may be configured to execute the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
Fig. 7 is a schematic structural diagram of a second terminal device provided in an embodiment of the present application, as shown in fig. 7, where the first terminal device in this embodiment includes:
a receiving module 210, configured to receive a first message of a first terminal device; the target transmitting power of the first message transmitted by the first terminal equipment is larger than preset power;
a processing module 211, configured to process the first message; the distance between the first terminal device and the second terminal device is greater than or equal to a preset distance.
In one possible implementation manner, the second terminal device processes the first message includes at least one of the following:
the second terminal equipment establishes connection with the first terminal equipment;
the second terminal equipment sends a second message to the second terminal equipment according to the first message;
and the second terminal equipment processes the data included in the first message.
In one possible implementation manner, a difference between the target transmission power and the transmission power corresponding to the first transmission power is a first preset value, and a difference between the first transmission frequency and the carrier frequency corresponding to the target transmission power is greater than or equal to a first frequency offset.
In one possible implementation manner, the difference between the target transmission power and the transmission power corresponding to the second transmission frequency is a second preset value, and the difference between the second transmission frequency and the carrier frequency corresponding to the target transmission power is greater than or equal to a second frequency offset.
In one possible implementation, the difference between the power at which the first message is transmitted and the preset power is a multiple of 3 dBm.
The second terminal device of the present embodiment may be configured to execute the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The embodiment of the application provides a chip, which comprises: a processing module and a communication interface, the processing module being capable of performing the communication method according to any one of the first and second aspects.
Further, the chip further includes a storage module (e.g., a memory), the storage module is configured to store instructions, the processing module is configured to execute the instructions stored in the storage module, and execution of the instructions stored in the storage module causes the processing module to perform the communication method according to any one of the first aspect and the second aspect.
In one embodiment, the chip further comprises:
and the power amplifier PA is used for amplifying the power of the transmitted signal.
The power amplifier PA may be internal or external in the chip.
Fig. 8 is a schematic structural diagram of a first terminal device according to another embodiment of the present application, as shown in fig. 8, where the first terminal device includes:
a processor 121, and a memory 122 for storing executable instructions of the processor 121.
Optionally, the method may further include: and a communication interface 123 for enabling communication with other devices.
The components may communicate via one or more buses.
The processor 121 is configured to execute the corresponding method in the foregoing method embodiment by executing the executable instruction, and the specific implementation process of the processor may refer to the foregoing method embodiment and will not be described herein.
Fig. 9 is a schematic structural diagram of a second terminal device according to another embodiment of the present application, as shown in fig. 9, where the second terminal device includes:
a processor 221, and a memory 222 for storing executable instructions of the processor 221.
Optionally, the method may further include: a communication interface 223 for enabling communication with other devices.
The components may communicate via one or more buses.
The processor 221 is configured to execute the corresponding method in the foregoing method embodiment by executing the executable instruction, and the specific implementation process of the method embodiment may be referred to in the foregoing method embodiment and will not be described herein.
The embodiment of the application further provides a computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements a method corresponding to the foregoing method embodiment, and a specific implementation process of the computer program may refer to the foregoing method embodiment, and its implementation principle and technical effect are similar, and are not repeated herein.
The embodiment of the application also provides a communication system, which comprises: the first terminal device as in any one of the preceding embodiments, and the second terminal device as in any one of the preceding embodiments,
the communication system of the present embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and are not repeated here.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A method of communication, comprising:
the method comprises the steps that a first terminal device obtains target transmitting power, wherein the target transmitting power is larger than preset power, and the preset power is 20dBm;
the first terminal equipment transmits a first message to the second terminal equipment in a Bluetooth mode according to the target transmission power, the distance between the first terminal equipment and the second terminal equipment is larger than or equal to a preset distance, and the difference value between the target transmission power for transmitting the first message and the preset power is a multiple of 3 dBm;
the first terminal device transmits a first message to a second terminal device in a Bluetooth mode according to the target transmitting power, and the method comprises the following steps:
the first terminal equipment acquires carrier frequency;
the first terminal equipment transmits a first message to the second terminal equipment in a Bluetooth mode according to the carrier frequency and the target transmitting power, wherein the target transmitting power is the transmitting power corresponding to the carrier frequency;
the difference between the target transmitting power and the transmitting power corresponding to the transmitting frequency outside the first frequency offset range of the carrier frequency is a first preset value, the first frequency offset range is a carrier frequency 500kHz offset range or a carrier frequency 2MHz offset range, and the first preset value is 20dB;
the difference between the target transmitting power and the transmitting power corresponding to the second transmitting frequency outside the second frequency offset range of the carrier frequency is a second preset value, the second frequency offset range is a carrier frequency 3MHz offset range, and the second preset value is 40dB.
2. A method of communication, comprising:
the second terminal equipment receives a first message of the first terminal equipment; the target transmitting power of the first message transmitted by the first terminal equipment is larger than preset power, the preset power is 20dBm, the difference value between the target transmitting power for transmitting the first message and the preset power is a multiple of 3dBm, and the target transmitting power is the transmitting power corresponding to the carrier frequency;
the second terminal equipment processes the first message; the distance between the first terminal device and the second terminal device is greater than or equal to a preset distance;
the difference between the target transmitting power and the transmitting power corresponding to the transmitting frequency outside the first frequency offset range of the carrier frequency is a first preset value, the first frequency offset range is a carrier frequency 500kHz offset range or a carrier frequency 2MHz offset range, and the first preset value is 20dB;
the difference between the target transmitting power and the transmitting power corresponding to the second transmitting frequency outside the second frequency offset range of the carrier frequency is a second preset value, the second frequency offset range is a carrier frequency 3MHz offset range, and the second preset value is 40dB.
3. The method of claim 2, wherein the second terminal device processing the first message comprises at least one of:
the second terminal equipment establishes connection with the first terminal equipment;
the second terminal equipment sends a second message to the first terminal equipment according to the first message;
and the second terminal equipment processes the data included in the first message.
4. A first terminal device, comprising:
the acquisition module is used for acquiring target transmitting power, wherein the target transmitting power is larger than preset power, and the preset power is 20dBm;
the sending module is used for sending a first message to the second terminal equipment in a Bluetooth mode according to the target sending power, wherein the distance between the first terminal equipment and the second terminal equipment is larger than or equal to a preset distance, and the difference value between the target sending power for sending the first message and the preset power is a multiple of 3 dBm;
the sending module is specifically configured to obtain a carrier frequency by the first terminal device;
the first terminal equipment transmits a first message to the second terminal equipment in a Bluetooth mode according to the carrier frequency and the target transmitting power, wherein the target transmitting power is the transmitting power corresponding to the carrier frequency;
the difference between the target transmitting power and the transmitting power corresponding to the transmitting frequency outside the first frequency offset range of the carrier frequency is a first preset value, the first frequency offset range is a carrier frequency 500kHz offset range or a carrier frequency 2MHz offset range, and the first preset value is 20dB;
the difference between the target transmitting power and the transmitting power corresponding to the second transmitting frequency outside the second frequency offset range of the carrier frequency is a second preset value, the second frequency offset range is a carrier frequency 3MHz offset range, and the second preset value is 40dB.
5. A second terminal device, comprising:
the receiving module is used for receiving a first message of the first terminal equipment; the target transmitting power of the first message transmitted by the first terminal equipment is larger than preset power, the preset power is 20dBm, the difference value between the target transmitting power for transmitting the first message and the preset power is a multiple of 3dBm, and the target transmitting power is the transmitting power corresponding to the carrier frequency;
the processing module is used for processing the first message; the distance between the first terminal device and the second terminal device is greater than or equal to a preset distance;
the difference between the target transmitting power and the transmitting power corresponding to the transmitting frequency outside the first frequency offset range of the carrier frequency is a first preset value, the first frequency offset range is a carrier frequency 500kHz offset range or a carrier frequency 2MHz offset range, and the first preset value is 20dB;
the difference between the target transmitting power and the transmitting power corresponding to the second transmitting frequency outside the second frequency offset range of the carrier frequency is a second preset value, the second frequency offset range is a carrier frequency 3MHz offset range, and the second preset value is 40dB.
6. A first terminal device, comprising:
a processor, a memory, a communication interface for communicating with other devices;
the memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory causes the processor to perform the communication method of claim 1.
7. A second terminal device, comprising:
a processor, a memory, a communication interface for communicating with other devices;
the memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory, causing the processor to perform the communication method of any one of claims 2 to 3.
8. A computer readable storage medium having stored therein computer executable instructions for implementing the communication method according to any of claims 1-3 when the computer executable instructions are executed by a processor.
CN202011147969.3A 2020-10-23 2020-10-23 Communication method, apparatus, and storage medium Active CN112261636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011147969.3A CN112261636B (en) 2020-10-23 2020-10-23 Communication method, apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011147969.3A CN112261636B (en) 2020-10-23 2020-10-23 Communication method, apparatus, and storage medium

Publications (2)

Publication Number Publication Date
CN112261636A CN112261636A (en) 2021-01-22
CN112261636B true CN112261636B (en) 2023-07-11

Family

ID=74261068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011147969.3A Active CN112261636B (en) 2020-10-23 2020-10-23 Communication method, apparatus, and storage medium

Country Status (1)

Country Link
CN (1) CN112261636B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110139262A (en) * 2019-06-10 2019-08-16 Oppo广东移动通信有限公司 Bluetooth communication control method and Related product

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8077032B1 (en) * 2006-05-05 2011-12-13 Motion Computing, Inc. System and method for selectively providing security to and transmission power from a portable electronic device depending on a distance between the device and a user
CN105792342A (en) * 2016-03-04 2016-07-20 海能达通信股份有限公司 Power control method and node device
CN111756123A (en) * 2019-03-29 2020-10-09 北京小米移动软件有限公司 Remote wireless charging transmitting equipment and method for adjusting wireless charging transmitting power
CN111093259B (en) * 2019-12-27 2023-10-03 深圳市亿诚伟业电子有限公司 Bluetooth power adjustment method and device, storage medium and terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110139262A (en) * 2019-06-10 2019-08-16 Oppo广东移动通信有限公司 Bluetooth communication control method and Related product

Also Published As

Publication number Publication date
CN112261636A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
US11626947B2 (en) Communication method and communications device
KR102551990B1 (en) Power control method and power control device
US20230103652A1 (en) Method for determining timing advance (ta), network device, and terminal
US20220174602A1 (en) Data transmission method and apparatus
CN108702800A (en) Terminal direct connection communication means, terminal device and the network equipment
US20230337150A1 (en) Power headroom reporting method, apparatus, and system
JP2017539135A (en) Power control mode for D2D synchronization signal
US20230171704A1 (en) Communication method and apparatus
WO2024000193A1 (en) Relay communication method and apparatus, device, and storage medium
JP2004363998A (en) Wireless communication apparatus and wireless communication method
CN112261636B (en) Communication method, apparatus, and storage medium
US20230047970A1 (en) Power adjustment method, apparatus, and system
CN110167127B (en) Communication method and device
CN109936823A (en) Communication means and device
WO2022117022A1 (en) Random access method, apparatus and device
WO2023083037A1 (en) Signal transmission method and apparatus
US20210359822A1 (en) Method for receiving and sending reference signal, apparatus, and system
WO2024017349A1 (en) Power control method and apparatus, and device
WO2024087627A1 (en) Cooperative transmission method and related apparatus
WO2023000331A1 (en) Communication method and terminal
WO2023066126A1 (en) Method and device for sending discovery message
WO2024127786A1 (en) Access point, and method for controlling coordinated communication
US20230232310A1 (en) Information sending method, apparatus, and system
WO2022082434A1 (en) Method for communication between terminals, and terminal device and network device
TW201735605A (en) D2D communication method, terminal equipment, and network equipment

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