CN108513347B - Data transmission method and electronic equipment - Google Patents

Data transmission method and electronic equipment Download PDF

Info

Publication number
CN108513347B
CN108513347B CN201810291989.4A CN201810291989A CN108513347B CN 108513347 B CN108513347 B CN 108513347B CN 201810291989 A CN201810291989 A CN 201810291989A CN 108513347 B CN108513347 B CN 108513347B
Authority
CN
China
Prior art keywords
controlled device
controlled
connection
wifi
data transmission
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
CN201810291989.4A
Other languages
Chinese (zh)
Other versions
CN108513347A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810291989.4A priority Critical patent/CN108513347B/en
Publication of CN108513347A publication Critical patent/CN108513347A/en
Application granted granted Critical
Publication of CN108513347B publication Critical patent/CN108513347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/245TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/28TPC being performed according to specific parameters using user profile, e.g. mobile speed, priority or network state, e.g. standby, idle or non transmission
    • H04W52/283Power depending on the position of the mobile
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/38TPC being performed in particular situations
    • H04W52/383TPC being performed in particular situations power control in peer-to-peer links
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • 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

Landscapes

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

Abstract

The invention provides a data transmission method and electronic equipment, wherein the method comprises the following steps: determining a first controlled device and a second controlled device; respectively sending a connection instruction to the first controlled device and the second controlled device through a Bluetooth mesh network so as to establish WIFI connection between the first controlled device and the second controlled device; and sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so that the first controlled device and the second controlled device perform data transmission through the WIFI connection. The data transmission method provided by the invention improves the data transmission efficiency among the internal devices of the communication system based on the Bluetooth mesh network.

Description

Data transmission method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission method and an electronic device.
Background
With the rapid development of science and technology, many new communication technologies are created, and the communication technologies are gradually applied to the living environment of people, so that the life of people is optimized. Wireless communication is one of the main energy consumption sources of communication equipment, and a low-power consumption wireless communication technology is particularly important for ensuring the long-time stable operation of the communication equipment.
In the prior art, a Bluetooth wireless Mesh network (Bluetooth Mesh, abbreviated as Bluetooth Mesh or Bluetooth Mesh network) has become one of mainstream networks for communication between devices due to its advantages of low power consumption, long relay transmission distance, and the like, and each electronic device can be controlled by transmitting a control signal through the Bluetooth Mesh network under the condition of low power consumption. However, the data transmission rate in the bluetooth mesh network is low, which causes a problem of low data transmission efficiency between devices within the communication system based on the bluetooth mesh network.
Disclosure of Invention
The embodiment of the invention provides a data transmission method and electronic equipment, and aims to solve the problem of low data transmission efficiency among internal equipment of an existing communication system based on a Bluetooth mesh network.
In order to solve the technical problem, the invention is realized as follows: a data transmission method is applied to control equipment and comprises the following steps:
determining a first controlled device and a second controlled device;
respectively sending a connection instruction to the first controlled device and the second controlled device through a bluetooth mesh network, so that WIreless Fidelity (WIFI) connection is established between the first controlled device and the second controlled device;
and sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so that the first controlled device and the second controlled device perform data transmission through the WIFI connection.
In a first aspect, an embodiment of the present invention provides a data transmission method, which is applied to a control device, and includes:
determining a first controlled device and a second controlled device;
respectively sending a connection instruction to the first controlled device and the second controlled device through a Bluetooth mesh network so as to establish WIFI connection between the first controlled device and the second controlled device;
and sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so that the first controlled device and the second controlled device perform data transmission through the WIFI connection.
In a second aspect, an embodiment of the present invention further provides a data transmission method, applied to a first controlled device, including:
receiving a connection instruction sent by the control equipment through a Bluetooth mesh network;
establishing WIFI connection with second controlled equipment according to the connection instruction;
and receiving a data transmission instruction sent by the control equipment through the Bluetooth mesh network, and performing data transmission with the second controlled equipment through the WIFI connection.
In a third aspect, an embodiment of the present invention further provides a control device, including:
a determining module for determining a first controlled device and a second controlled device;
the first sending module is used for sending a connection instruction to the first controlled device and the second controlled device through a Bluetooth mesh network respectively so as to enable the first controlled device and the second controlled device to establish WIFI connection with each other;
and the second sending module is used for sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so as to enable the first controlled device and the second controlled device to perform data transmission through the WIFI connection.
In a fourth aspect, an embodiment of the present invention further provides a controlled device, including:
the first receiving module is used for receiving a connection instruction sent by the control equipment through the Bluetooth mesh network;
the connection module is used for establishing WIFI connection with the second controlled equipment according to the connection instruction;
and the transmission module is used for receiving a data transmission instruction sent by the control equipment through the Bluetooth mesh network and carrying out data transmission with the second controlled equipment through the WIFI connection.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the data transmission method.
In a sixth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the data transmission method.
In the embodiment of the invention, the first controlled device and the second controlled device are determined; respectively sending a connection instruction to the first controlled device and the second controlled device through a Bluetooth mesh network so as to enable the first controlled device and the second controlled device to establish WIFI connection; and sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so that the first controlled device and the second controlled device perform data transmission through the WIFI connection. Therefore, when data transmission is needed among the communication system internal devices based on the Bluetooth mesh network, the WIFI connection is established among the internal devices and the data transmission is carried out through the WIFI connection, so that the data transmission efficiency among the communication system internal devices based on the Bluetooth mesh network is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention;
fig. 2 is a flowchart of a data transmission method according to another embodiment of the present invention;
fig. 3 is a flowchart of a data transmission method according to another embodiment of the present invention;
fig. 4 is a flowchart of a data transmission method according to another embodiment of the present invention;
fig. 5 is a flowchart of a data transmission method according to another embodiment of the present invention;
FIG. 6 is a block diagram of an electronic device according to an embodiment of the present invention;
FIG. 7 is a block diagram of an electronic device according to another embodiment of the invention;
FIG. 8 is a block diagram of an electronic device according to another embodiment of the present invention;
FIG. 9 is a block diagram of an electronic device according to another embodiment of the present invention;
FIG. 10 is a block diagram of an electronic device according to another embodiment of the invention;
fig. 11 is a schematic hardware configuration diagram of a control device implementing various embodiments of the present invention;
fig. 12 is a schematic diagram of a hardware structure of a controlled device for implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a data transmission method according to an embodiment of the present invention, where the data transmission method is applied to a control device in a communication system based on a bluetooth mesh network. As shown in fig. 1, the method comprises the following steps:
step 101: a first controlled device and a second controlled device are determined.
In the embodiment of the invention, the data transmission method can be applied to communication systems such as an intelligent home system and an intelligent office system based on a Bluetooth mesh network, wherein the communication system at least comprises one control device and at least two controlled devices. The control device and the at least two controlled devices have a Bluetooth communication function, and the controlled devices have a Bluetooth communication function, a WIFI communication function and a WIFI direct communication function. The Bluetooth communication is a wireless technical standard, short-distance data exchange between electronic equipment can be realized, and UHF radio waves of ISM wave band of 2.4-2.485 GHz are used; a master may communicate with up to seven slaves in the same piconet. WIFI communication is a technology for connecting an electronic device to a Wireless Local Area Network (WLAN), that is, a technology for converting a wired network signal into a wireless signal, and is a point-to-end connection, and a router is required to allow the device to access during the connection process; typically 2.4G UHF or 5G SHF ISM radio frequency bands are used. Compared with the WIFI communication, the WIFI direct communication is a point-to-point or shared connection mode, and any central control node does not need to be set.
The control device, the first controlled device and the second controlled device are all in the same Bluetooth mesh network, and the control device establishes Bluetooth connection with the first controlled device and the second controlled device respectively. The specific manner in which the control device determines the first controlled device and the second controlled device may be that the control device determines the first controlled device and the second controlled device in a plurality of devices according to a data transmission instruction received by the control device, where the data transmission instruction may include data transmission object information, and the first controlled device and the second controlled device may be determined in the plurality of controlled devices according to the data transmission object information; the control device may also determine the first controlled device and the second controlled device according to a preset transmission rule.
For example, when the control device receives an instruction that the display screen displays a current picture taken by the camera, the camera and the display screen are determined to be the first controlled device and the second controlled device respectively from the plurality of controlled devices. For another example, the user sets 7: the 30 speakers play the sound of the FM106.5 station as an alarm, the control device controls the device to play the sound at 7: and 30 hours, the loudspeaker and the radio are determined to be a first controlled device and a second controlled device respectively.
Step 102: and respectively sending a connection instruction to the first controlled device and the second controlled device through a Bluetooth mesh network so as to establish WIFI connection between the first controlled device and the second controlled device.
After the control device determines the first controlled device and the second controlled device, the control device sends an instruction for establishing WIFI connection with the second controlled device to the first controlled device through the Bluetooth mesh network, and sends an instruction for establishing WIFI connection with the first controlled device to the second controlled device.
After the first controlled device and the second controlled device successfully receive the corresponding connection instructions, WIFI connection signals are respectively transmitted to the opposite side, and therefore WIFI connection between the first controlled device and the second controlled device is established.
For example, after determining that the camera and the display screen are respectively a first controlled device and a second controlled device, the control device sends a connection instruction to the camera and the display screen through the bluetooth mesh network; after the camera and the display screen successfully receive the connection instruction, WIFI connection signals are respectively transmitted to the other side, and therefore WIFI connection is established between the camera and the display screen.
Step 103: and sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so that the first controlled device and the second controlled device perform data transmission through the WIFI connection.
After the first controlled device and the second controlled device establish the WIFI connection, the control device may send a data transmission instruction only to the first controlled device through the bluetooth mesh network, may also send a data transmission instruction only to the second controlled device through the bluetooth mesh network, and may also send a data transmission instruction to the first controlled device and the second controlled device through the bluetooth mesh network, respectively.
Similarly, the control device may detect file information on the first controlled device and/or the second controlled device through the bluetooth mesh network, and control the target transmission file to be transmitted in the WIFI connection by sending a data transmission instruction containing target file information to the first controlled device and/or the second controlled device; the control device may also send a real-time data transmission instruction through the bluetooth mesh network, so that a data file currently generated by the first controlled device or the second controlled device is transmitted in the WIFI connection.
For example, after the camera and the display screen are connected through WIFI, the control device may send a data transmission instruction containing a specific time period to the camera, and the camera receives the data transmission instruction and then transmits a video file shot at the specific time period to the display screen through WIFI connection.
In the embodiment of the present invention, when the communication system is an intelligent home system or an intelligent office system, the control Device may be a Mobile phone, a remote controller, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The data transmission method of the embodiment of the invention comprises the steps of determining a first controlled device and a second controlled device; respectively sending a connection instruction to the first controlled device and the second controlled device through a Bluetooth mesh network so as to establish WIFI connection between the first controlled device and the second controlled device; and sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so that the first controlled device and the second controlled device perform data transmission through the WIFI connection. Therefore, when data transmission is needed among the communication system internal devices based on the Bluetooth mesh network, the WIFI connection is established among the internal devices and the data transmission is carried out through the WIFI connection, so that the data transmission efficiency among the communication system internal devices based on the Bluetooth mesh network is improved.
Referring to fig. 2, fig. 2 is a flowchart of a data transmission method according to another embodiment of the present invention, and the main difference between the embodiment and the embodiment shown in fig. 1 is that a WIFI direct connection is established between a first controlled device and a second controlled device. As shown in fig. 2, the method comprises the following steps:
step 201: a first controlled device and a second controlled device are determined.
The implementation process and beneficial effects of this step can be referred to the description in step 101, and are not described herein again.
The first controlled device and the second controlled device both have a WIFI direct connection function, and can establish WIFI direct connection between the first controlled device and the second controlled device and mutually transmit WIFI direct signals.
Optionally, in an embodiment, the step of determining the first controlled device and the second controlled device includes:
the control device selects a first controlled device and a second controlled device, and sends locking instructions to the first controlled device and the second controlled device through a Bluetooth mesh network respectively so as to enable the first controlled device and the second controlled device to enter a locking state. And the first controlled equipment and the second controlled equipment forbid responding to control instructions sent by other equipment except the control equipment in the locking state.
In this embodiment, after the control device selects the first controlled device and the second controlled device from the plurality of devices, the control device further sends a locking instruction to the first controlled device and the second controlled device through the bluetooth mesh network, after receiving the locking instruction, the controlled device in the non-locking state prohibits the response of the control instruction sent by the other devices except the control device, and after receiving the control instruction sent by the other devices, the control device returns the state information that the controlled device is locked to the other devices, so that the other devices will not perform the control instruction on the controlled device in the locking state; after receiving the locking instruction, the controlled device in the locking state does not respond to the locking instruction, and returns the state information that the controlled device is locked.
For example: the control equipment sends a locking instruction to the camera, the first display screen and the second display screen through the Bluetooth mesh network, if the first display screen is in a locking state, and the camera and the second display screen are in a non-locking state, the first display screen does not respond to the locking instruction, and the camera and the second display screen respond to the locking instruction to enter the locking state.
According to the embodiment, after the first controlled device and the second controlled device are selected, the first controlled device and the second controlled device are enabled to enter the locking state, so that interference of other control devices except the control device in the data transmission process can be avoided, and the success rate of data transmission of the subsequent first controlled device and the second controlled device through WIFI direct connection is improved.
It should be noted that this embodiment is an optional embodiment of step 201, and step 201 is not limited to this embodiment for determining the first controlled device and the second controlled device, for example: when the user does not need to enter the locked state for the first controlled device and the second controlled device, the first controlled device and the second controlled device are selected.
The selecting a first controlled device and a second controlled device, and sending a locking instruction to the first controlled device and the second controlled device through a bluetooth mesh network, so as to enable the first controlled device and the second controlled device to enter a locked state, where the first controlled device and the second controlled device prohibit a step of responding to a control instruction sent by a device other than the control device in the locked state, and the method is also applicable to the embodiment shown in fig. 1, and has the same beneficial effects.
Step 202: determining WIFI direct signal transmission power between the first controlled device and the second controlled device.
After a first controlled device and a second controlled device which need to be connected in a WIFI direct connection mode are determined, WIFI direct connection signal transmitting power of the WIFI direct connection is established between the first controlled device and the second controlled device, wherein the WIFI direct connection signal transmitting power between the first controlled device and the second controlled device is related to a spacing distance between the first controlled device and the second controlled device, and the WIFI direct connection signal transmitting power of the WIFI direct connection is established between the first controlled device and the second controlled device through a relation comparison table, a preset formula and other modes after the spacing distance is determined.
The control device can respectively send feedback instructions of position coordinates to the first controlled device and the second controlled device through the Bluetooth mesh network, receive position coordinate information returned by the first controlled device and the second controlled device, and calculate the spacing distance between the first controlled device and the second controlled device according to the two pieces of position coordinate information, so that WIFI direct connection signal transmitting power for establishing WIFI direct connection between the first controlled device and the second controlled device is determined.
Optionally, in an embodiment, the step of determining WIFI direct signal transmission power between the first controlled device and the second controlled device includes:
acquiring a Bluetooth signal intensity value between the first controlled device and the second controlled device, calculating a spacing distance between the first controlled device and the second controlled device according to the Bluetooth signal intensity value, and determining WIFI direct connection signal transmitting power corresponding to the spacing distance; or
And taking the preset maximum transmitting power as the transmitting power of the WIFI signal.
In this embodiment, the manner of obtaining the bluetooth signal strength value between the first controlled device and the second controlled device may be that the control device sends an instruction for detecting the bluetooth signal strength value sent by the first controlled device to the second controlled device when the first controlled device originally sends a bluetooth signal, and receives the bluetooth signal strength value returned after the second controlled device detects the bluetooth signal strength value; or, when the bluetooth signal is not turned on by the first controlled device, after the instruction for turning on the bluetooth signal is sent to the first controlled device, the bluetooth signal strength value between the first controlled device and the second controlled device may be obtained in the previous manner.
The bluetooth signal strength value is related to a separation distance between the first controlled device and the second controlled device, the separation distance between the first controlled device and the second controlled device may be found according to a preset comparison table and the bluetooth signal strength value, or the separation distance between the first controlled device and the second controlled device may be calculated according to the bluetooth signal strength value and a first preset formula, for example: the first predetermined formula is d ═ 10^ ((abs (RSSI) -a)/(10 × n)), where RSSI is the bluetooth signal strength value, a is the bluetooth signal strength when the transmitting end and the receiving end are spaced apart by 1 meter, n is the environmental attenuation factor, and d is the separation distance. After the spacing distance between the first controlled device and the second controlled device is determined, the WIFI direct connection signal transmitting power for establishing the WIFI direct connection between the first controlled device and the second controlled device can be determined by using the preset comparison table and the second preset formula.
In this embodiment, after the distance between the first controlled device and the second controlled device is obtained, the distance may be obtained through a second preset formula: and calculating to obtain WIFI direct connection signal transmitting power for establishing the WIFI direct connection between the first controlled equipment and the second controlled equipment (wherein a and b are preset values, S is the spacing distance, and P is the WIFI direct connection signal transmitting power).
In addition, under any of the conditions that the bluetooth signal intensity value between the first controlled device and the second controlled device is small, the second controlled device does not detect the bluetooth signal intensity of the first controlled device, and the time for determining the WIFI direct connection signal transmission power is saved, the WIFI direct connection signal transmission power can be directly determined to be the preset maximum transmission power. In order to ensure that the WIFI direct connection between the first controlled device and the second controlled device is successful, the preset maximum transmitting power is required to ensure that the two devices at the maximum distance within the specified range can establish the WIFI direct connection.
It should be noted that this embodiment is an alternative embodiment of step 202, and step 202 is not limited to this embodiment for determining the WIFI signal transmission power for establishing the WIFI direct connection between the first controlled device and the second controlled device, for example: after the Bluetooth signal intensity value is obtained, WIFI direct connection signal transmitting power for establishing WIFI direct connection between the first controlled device and the second controlled device can be obtained directly through the Bluetooth signal intensity value according to the characteristic relation between the Bluetooth mesh network and the WIFI direct connection.
Step 203: and sending a connection instruction containing the WIFI direct connection signal transmission power information to the first controlled device and the second controlled device through the Bluetooth mesh network, so that the first controlled device and the second controlled device establish WIFI direct connection with the WIFI direct connection signal transmission power.
After the WIFI direct connection signal transmitting power of the WIFI direct connection is established between the first controlled equipment and the second controlled equipment, a connection instruction containing the WIFI direct connection signal transmitting power information is sent to the first controlled equipment and the second controlled equipment respectively. After receiving the connection instruction, the first controlled device and the second controlled device respectively transmit a WIFI direct connection instruction with power being WIFI direct signal transmission power to each other, so that WIFI direct connection is established between the first controlled device and the second controlled device.
Step 204: and sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so that the first controlled device and the second controlled device can perform data transmission through the WIFI direct connection.
The implementation process and beneficial effects of this step can be referred to the description in step 103, and are not described herein again.
The data transmission method of the embodiment of the invention comprises the steps of determining a first controlled device and a second controlled device; the method comprises the steps of determining WIFI direct connection signal transmitting power between first controlled equipment and second controlled equipment, and enabling the first controlled equipment and the second controlled equipment to establish point-to-point WIFI direct connection through the WIFI signal direct connection transmitting power; and sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so that the first controlled device and the second controlled device can perform data transmission through the WIFI direct connection. Therefore, after the point-to-point WIFI direct connection is established between the first controlled device and the second controlled device, the safety of data transmission between the first controlled device and the second controlled device can be ensured, and meanwhile, the data transmission rate can be increased.
Referring to fig. 3, fig. 3 is a flowchart of a data transmission method according to another embodiment of the present invention, where the data transmission method of the present embodiment is applied to a first controlled device in a communication system based on a bluetooth mesh network. As shown in fig. 3, the method comprises the following steps:
step 301: and receiving a connection instruction sent by the control device through the Bluetooth mesh network.
In the embodiment of the present invention, the data transmission method may be applied to communication systems such as an intelligent home system and an intelligent office system based on a bluetooth mesh network, where the communication system includes at least one control device and at least two controlled devices, and a first controlled device in the embodiment of the present invention may be any one of the two controlled devices, where the control device and the at least two controlled devices have a bluetooth communication function, and the controlled devices all have a bluetooth communication function, a WIFI communication function, and a WIFI direct communication function.
The control device, the first controlled device and the second controlled device are all in the same Bluetooth mesh network, and the control device establishes Bluetooth connection with the first controlled device and the second controlled device respectively. After the control device sends a connection instruction through the bluetooth mesh network, the first controlled device receives the connection instruction sent by the control device through the bluetooth mesh network.
Step 302: and establishing WIFI connection with the second controlled equipment according to the connection instruction.
After receiving the control equipment connection instruction in the Bluetooth mesh network, the first controlled equipment determines second controlled equipment according to the connection instruction, and sends a WIFI connection signal to the second controlled equipment, so that WIFI connection is established with the second controlled equipment.
The first controlled device determines the second controlled device in a manner that the connection instruction includes second controlled device information, and the first controlled device determines the second controlled device according to the connection instruction; the first controlled device may also search for the WIFI connection signal sent by the second controlled device according to the connection instruction, so as to determine the second controlled device.
The first controlled device and the second controlled device jointly send out WIFI connection signals, and therefore WIFI connection is established between the first controlled device and the second controlled device.
Step 303: and receiving a data transmission instruction sent by the control equipment through the Bluetooth mesh network, and performing data transmission with the second controlled equipment through the WIFI connection.
After the first controlled device and the second controlled device are mutually connected through WIFI, the first controlled device receives a data transmission instruction through a Bluetooth mesh network, wherein the data transmission instruction can be a data transmission instruction containing target file information of the appointed first controlled device, so that the first controlled device transmits a target file to the second controlled device through the WIFI connection according to the data transmission instruction, and data transmission between the first controlled device and the second controlled device through the WIFI connection is realized; the data transmission instruction can also be a data transmission instruction containing target file information of a designated second controlled device, so that the first controlled device transmits an acquisition instruction containing the target file information to the second controlled device through WIFI connection, and then receives a target file sent by the second controlled device through the WIFI connection, and data transmission between the first controlled device and the second controlled device is realized through the WIFI connection; the data transmission instruction can also be a real-time data transmission instruction, so that the first controlled device sends real-time data to the second controlled device through the WIFI connection, and data transmission between the first controlled device and the second controlled device through the WIFI connection is realized.
For example: the first controlled equipment is a camera, the second controlled equipment is a display screen, and the camera receives a data transmission instruction which is sent by the control equipment and contains a monitoring video in a specific time period, so that the camera transmits the monitoring video in the specific time period to the display screen through WIFI connection, and data transmission between the camera and the display screen through the WIFI connection is realized; another example is: the first controlled device is a display screen, the second controlled device is a camera, the display screen receives a data transmission instruction which is sent by the control device and contains a monitoring video of a specific time period, so that the display screen transmits an acquisition instruction which contains information of the specific time period to the camera through WIFI connection, and then receives the monitoring video of the specific time period which is sent by the camera through the WIFI connection, and data transmission between the camera and the display screen through the WIFI connection is realized; also for example: the first controlled equipment is a camera, the second controlled equipment is a display screen, and the camera receives a real-time data transmission instruction sent by the control equipment, so that the camera sends real-time monitoring video data to the second controlled equipment through WIFI connection, and data transmission between the first controlled equipment and the second controlled equipment through the WIFI connection is realized.
In the embodiment of the invention, when the communication system is an intelligent home system, the first controlled device can be a television, a sound box, a refrigerator, an air conditioner, an electric cooker, an electric water heater, a camera, a display screen and other household appliances; when the communication system is an intelligent office system, the first controlled device may be a printer, an air conditioner, a display screen, a projector, or other office equipment.
According to the data transmission method, the connection instruction sent by the control equipment is received through the Bluetooth mesh network; establishing WIFI connection with second controlled equipment according to the connection instruction; and receiving a data transmission instruction sent by the control equipment through the Bluetooth mesh network, and performing data transmission with the second controlled equipment through the WIFI connection. Therefore, when data transmission is needed among the communication system internal devices based on the Bluetooth mesh network, the WIFI connection is established among the internal devices and the data transmission is carried out through the WIFI connection, so that the data transmission efficiency among the communication system internal devices based on the Bluetooth mesh network is improved.
Referring to fig. 4, fig. 4 is a flowchart of a data transmission method according to another embodiment of the present invention, and the main difference between the present embodiment and the embodiment shown in fig. 3 is that a WIFI direct connection is established between a first controlled device and a second controlled device. As shown in fig. 4, the method comprises the following steps:
step 401: and receiving a connection instruction sent by the control equipment through the Bluetooth mesh network.
The implementation process and beneficial effects of this step can be referred to the description in step 301, and are not described herein again.
The first controlled device and the second controlled device both have a WIFI direct connection function and can transmit WIFI direct connection signals for establishing WIFI direct connection between the devices.
Step 402: and determining the transmitting power of the WIFI direct connection signal.
After receiving a connection instruction sent by the control device, the first controlled device determines WIFI direct connection signal transmitting power for establishing WIFI direct connection with the second controlled device. The WIFI direct connection signal transmitting power is related to the spacing distance between the first controlled device and the second controlled device, and the WIFI direct connection signal transmitting power for establishing the WIFI direct connection between the first controlled device and the second controlled device can be determined through a plurality of modes such as a relation comparison table and a preset formula after the spacing distance is determined.
The first controlled device can send a position coordinate acquisition instruction to the second controlled device through the Bluetooth mesh network, receive a position coordinate returned by the second controlled device, determine the position coordinate of the first controlled device, and calculate the spacing distance between the first controlled device and the second controlled device according to the two position coordinates, so that the WIFI direct connection transmitting power for establishing the WIFI direct connection between the first controlled device and the second controlled device is determined.
Optionally, in an embodiment, the step of determining the WIFI direct signal transmission power includes:
calculating a spacing distance between the first controlled device and the second controlled device according to a Bluetooth signal intensity value between the first controlled device and the second controlled device, and determining WIFI direct connection signal transmitting power corresponding to the spacing distance; or
The preset maximum transmitting power is used as the transmitting power of the WIFI direct connection signal; or
And receiving transmission indication information which is sent by the control equipment and contains the WIFI direct connection signal transmission power through the Bluetooth mesh network.
In a first case of this embodiment, the first controlled device should obtain a bluetooth signal strength value between the first controlled device and the second controlled device, and a specific obtaining method thereof may be that the first controlled device detects a strength value of a bluetooth signal transmitted by the second controlled device under a condition that the second controlled device originally transmits the bluetooth signal, so as to obtain a bluetooth signal strength value between the first controlled device and the second controlled device; or the first controlled device may send a transmission instruction to the second controlled device through the bluetooth mesh network under the condition that the second controlled device does not transmit the bluetooth signal, the second controlled device transmits the bluetooth signal after receiving the transmission instruction, and then detects the intensity value of the bluetooth signal transmitted by the second controlled device, thereby obtaining the bluetooth signal intensity value between the first controlled device and the second controlled device.
The bluetooth signal strength value is related to a separation distance between the first controlled device and the second controlled device, and after the bluetooth signal strength value between the first controlled device and the second controlled device is obtained, the separation distance between the first controlled device and the second controlled device may be found according to a preset comparison table and the bluetooth signal strength value, or the separation distance between the first controlled device and the second controlled device may be calculated by the bluetooth signal strength value and a first preset formula, for example: the first predetermined formula is d ═ 10^ ((abs (RSSI) -a)/(10 × n)), where RSSI is the bluetooth signal strength value, a is the bluetooth signal strength when the transmitting end and the receiving end are spaced apart by 1 meter, n is the environmental attenuation factor, and d is the separation distance.
Similarly, the WIFI direct connection signal transmitting power for establishing the WIFI direct connection between the first controlled device and the second controlled device is also related to the spacing distance between the first controlled device and the second controlled device, and after the spacing distance is determined, the WIFI direct connection signal transmitting power for establishing the WIFI direct connection between the first controlled device and the second controlled device can be determined by using a preset comparison table and a second preset formula.
In this embodiment, after the distance between the first controlled device and the second controlled device is obtained, the distance may be obtained through a second preset formula: and calculating to obtain WIFI direct connection signal transmitting power for establishing the WIFI direct connection between the first controlled equipment and the second controlled equipment (wherein a and b are preset values, S is the spacing distance, and P is the WIFI direct connection signal transmitting power).
In the second case of this embodiment, under any one of the conditions that the bluetooth signal intensity value between the first controlled device and the second controlled device is small, the first controlled device does not detect the bluetooth signal intensity of the second controlled device, and the time for determining the WIFI direct connection signal transmission power is saved, it may be directly determined that the WIFI direct connection signal transmission power is the preset maximum transmission power. In order to ensure that the WIFI direct connection between the first controlled device and the second controlled device is successful, the preset maximum transmitting power is required to ensure that the two devices at the maximum distance within the specified range can establish the WIFI direct connection.
In a third case of this embodiment, the connection instruction received by the first controlled device through the bluetooth mesh network and sent by the control device includes the WIFI direct signal transmission power, and the WIFI direct signal transmission power can be determined according to the connection instruction.
It should be noted that this embodiment is an alternative embodiment of step 402, and step 402 is not limited to this embodiment for determining the WIFI signal transmission power, for example: after the Bluetooth signal intensity value is obtained, WIFI direct connection signal transmitting power can be determined directly through the Bluetooth signal intensity value according to the characteristic relation between the Bluetooth mesh network and the WIFI direct connection.
Step 403: and transmitting a WIFI direct connection instruction to the second controlled equipment according to the WIFI direct connection signal transmitting power so as to establish WIFI direct connection with the second controlled equipment.
After the first controlled device determines the WIFI direct connection signal transmitting power, a WIFI direct connection connecting instruction with the power being the WIFI direct connection signal transmitting power can be transmitted to the second controlled device, meanwhile, the WIFI direct connection connecting instruction sent by the second controlled device is responded, a connection success message returned by the second controlled device is received, and therefore WIFI direct connection is established between the first controlled device and the second controlled device.
Step 404: and receiving a data transmission instruction sent by the control equipment through the Bluetooth mesh network, and performing data transmission with the second controlled equipment through the WIFI direct connection.
The implementation process and beneficial effects of this step can be referred to the description in step 303, and are not described herein again.
Optionally, after step 401, the method further includes:
receiving a locking instruction sent by the control device through the Bluetooth mesh network;
entering a locked state according to the locking instruction, wherein in the locked state, the control instruction sent by other equipment except the control equipment is prohibited from responding;
and if the data transmission is finished, disconnecting the WIFI direct connection and exiting the locking state.
The control device sends a locking instruction to the first controlled device through the Bluetooth mesh network, and the first controlled device receives the locking instruction through the Bluetooth mesh network. When the first controlled device is in the non-locked state, the first controlled device enters the locked state after receiving the locking instruction, the first controlled device is in the locked state, the first controlled device is prohibited from responding to the control instruction sent by other devices except the control device, and the state information that the controlled device is locked is returned to the other devices after receiving the control instruction sent by the other devices, so that the other devices do not carry out the control instruction on the controlled device in the locked state any more. When the first controlled device is in the locked state, the state information that the first controlled device is locked is returned to the control device, so that the control device can not perform control instructions on the controlled device in the locked state any more.
For example: the first controlled equipment is a camera, the camera in the non-locking state receives a locking instruction sent by the control equipment through the Bluetooth mesh network, and the camera enters the locking state to respond to the locking instruction; and the camera in the locked state receives the locking instruction sent by the control equipment through the Bluetooth mesh network, does not respond to the locking instruction and sends the state information that the camera is locked to the control equipment, so that the control equipment does not carry out the control instruction on the camera in the locked state any more.
And after the first controlled equipment entering the locking state finishes data transmission with the second controlled equipment, disconnecting the WIFI direct connection and exiting the locking state. The exit from the locked state may be that the first controlled device automatically exits after detecting that the data transmission is completed, or that the first controlled device sends a data transmission completion message to the control device through the bluetooth mesh network after detecting that the data transmission is completed, and then receives an exit instruction sent by the control device through the bluetooth mesh network, thereby exiting from the locked state.
By locking the first controlled equipment, the interference of other control equipment except the control equipment in the data transmission process can be avoided, and the success rate of data transmission of the subsequent first controlled equipment and the second controlled equipment through WIFI direct connection is improved.
It should be noted that, the locking instruction sent by the control device is received through the bluetooth mesh network; entering a locked state according to the locking instruction, wherein in the locked state, the control instruction sent by other equipment except the control equipment is prohibited from responding; and if the data transmission is finished, disconnecting the WIFI direct connection and exiting the locking state, wherein the steps are optional and do not need to be executed when the controlled equipment does not need to be locked.
In addition, the above steps are also applicable to the embodiment shown in fig. 1, and have the same beneficial effects, specifically: the locking instruction sent by the control equipment is received through the Bluetooth mesh network; entering a locked state according to the locking instruction, wherein in the locked state, the control instruction sent by other equipment except the control equipment is prohibited from responding; if the data transmission is finished, the WIFI connection is disconnected, and the locked state is exited, that is, the step of disconnecting the WIFI direct connection when the data transmission is applied to the embodiment shown in fig. 4 is to disconnect the WIFI connection when the data transmission is applied to the embodiment shown in fig. 3.
According to the data transmission method, the connection instruction sent by the control equipment is received through the Bluetooth mesh network; determining WIFI direct connection signal transmitting power; transmitting a WIFI direct connection instruction to the second controlled equipment according to the WIFI direct signal transmission power so as to establish point-to-point WIFI direct connection with the second controlled equipment; and receiving a data transmission instruction sent by the control equipment through the Bluetooth mesh network, and performing data transmission with the second controlled equipment through the WIFI connection. Therefore, after the point-to-point WIFI direct connection is established between the first controlled device and the second controlled device, the safety of data transmission between the first controlled device and the second controlled device can be ensured, and meanwhile, the data transmission rate can be increased.
Referring to fig. 5, fig. 5 is a flowchart of a data transmission method according to another embodiment of the invention. As shown in fig. 5, includes:
step 501: the control device determines a first controlled device and a second controlled device.
The control device may be factory default of the communication system or user-defined. After the control device is determined, the first controlled device and the second controlled device which perform WIFI direct connection data transmission are determined by the control device.
In the process that the control device determines the first controlled device and the second controlled device from the plurality of controlled devices, the control device may first detect the states of the controlled devices, if the controlled devices in the locked state are detected, the control device abandons the controlled devices, and continues to detect the state of the next controlled device until two controlled devices meeting the data transmission condition are determined; the states of all the controlled devices meeting the data transmission condition may be detected together, and the first controlled device and the second controlled device may be determined from the non-locked state.
Step 502: the control device sends connection instructions to a first controlled device and a second controlled device through a Bluetooth mesh network, and the first controlled device and the second controlled device respectively transmit Bluetooth signals after receiving the connection instructions.
Step 503: whether the first controlled device and the second controlled device can search for or connect with each other for the bluetooth signal transmitted by the other.
If so, go to step 504: the first controlled device and the second controlled device calculate the spacing distance between the first controlled device and the second controlled device according to the strength value of the searched or connected Bluetooth signal, and calculate the WIFI direct signal transmitting power according to the spacing distance.
The strength value of the bluetooth signal is related to the separation distance between the first controlled device and the second controlled device, and the separation distance between the first controlled device and the second controlled device can be determined in various ways such as a relational comparison table and a preset formula. Similarly, the WIFI direct connection signal transmitting power is also related to the spacing distance, and the WIFI direct connection signal transmitting power can be determined in a plurality of modes such as a relation comparison table and a preset formula.
If not, go to step 505: and determining the transmitting power of the WIFI direct connection signal to be the preset maximum power.
Step 506: according to the WIFI signal transmitting power, the first controlled equipment and the second controlled equipment establish WIFI direct connection, and the first controlled equipment sends a connection success message to the control equipment through the Bluetooth mesh network after the WIFI direct connection is successful;
the first controlled equipment and the second controlled equipment both transmit WIFI direct connection instructions with power being WIFI direct signal transmission power, and therefore WIFI direct connection between the first controlled equipment and the second controlled equipment is established.
Step 507: after the control device sends a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network, the first controlled device and the second controlled device perform data transmission through the WIFI direct connection according to the data transmission instruction.
In the data transmission method of the embodiment of the invention, the first controlled equipment and the second controlled equipment are determined by the control equipment; the control equipment respectively sends connection instructions to first controlled equipment and second controlled equipment through a Bluetooth mesh network, and the first controlled equipment and the second controlled equipment respectively transmit Bluetooth signals after receiving the connection instructions; judging whether the first controlled equipment and the second controlled equipment can search or connect the Bluetooth signals transmitted by the other side or not; if yes, the first controlled device and the second controlled device calculate the spacing distance between the first controlled device and the second controlled device according to the strength value of the searched or connected Bluetooth signal, and calculate the WIFI direct connection signal transmitting power according to the spacing distance; if the WIFI direct connection signal cannot be transmitted, determining that the transmitting power of the WIFI direct connection signal is the preset maximum power; according to the WIFI direct connection signal transmitting power, the first controlled equipment and the second controlled equipment establish WIFI direct connection, and the first controlled equipment sends a connection success message to the control equipment through the Bluetooth mesh network after the WIFI direct connection is successful; after the control device sends a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network, the first controlled device and the second controlled device perform data transmission through the WIFI direct connection according to the data transmission instruction. Therefore, after the point-to-point WIFI direct connection is established between the first controlled device and the second controlled device, the safety of data transmission between the first controlled device and the second controlled device can be ensured, and meanwhile, the data transmission rate can be increased.
Referring to fig. 6, fig. 6 is a structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 6, the electronic device 600 includes a determining module 601, a first sending module 602, and a second sending module 603, where the determining module 601 is connected to the first sending module 602, and the determining module 601 is further connected to the second sending module 603:
a determining module 601, configured to determine a first controlled device and a second controlled device;
a first sending module 602, configured to send a connection instruction to the first controlled device and the second controlled device through a bluetooth mesh network, respectively, so that the first controlled device and the second controlled device establish a WIFI connection therebetween;
a second sending module 603, configured to send a data transmission instruction to the first controlled device and/or the second controlled device through the bluetooth mesh network, so that the first controlled device and the second controlled device perform data transmission through the WIFI connection.
Optionally, as shown in fig. 7, the first sending module 602 includes:
a first determining submodule 6021 configured to determine WIFI direct signal transmission power between the first controlled device and the second controlled device;
a sending submodule 6022, configured to send a connection instruction including the WIFI direct signal transmission power information to the first controlled device and the second controlled device through the bluetooth mesh network, so that the first controlled device and the second controlled device establish WIFI direct connection with the WIFI direct signal transmission power therebetween.
Optionally, referring to fig. 7, the first determining submodule 6021 is configured to obtain a bluetooth signal strength value between the first controlled device and the second controlled device, calculate a separation distance between the first controlled device and the second controlled device according to the bluetooth signal strength value, and determine WIFI direct signal transmission power corresponding to the separation distance; or, the method is used for using the preset maximum transmitting power as the transmitting power of the WIFI direct connection signal.
Optionally, referring to fig. 6, the determining module 601 is configured to select a first controlled device and a second controlled device, and send a locking instruction to the first controlled device and the second controlled device through a bluetooth mesh network, so that the first controlled device and the second controlled device enter a locked state; and the first controlled equipment and the second controlled equipment forbid responding to control instructions sent by other equipment except the control equipment in the locking state.
The electronic device 600 can implement each process implemented by the control device in the method embodiments of fig. 1 and fig. 2, and is not described here again to avoid repetition.
According to the electronic device 600 of the embodiment of the invention, when data transmission is required between the internal devices of the communication system based on the Bluetooth mesh network, WIFI connection is established between the internal devices and data transmission is carried out through the WIFI connection, so that the data transmission efficiency between the internal devices of the communication system based on the Bluetooth mesh network is improved.
Referring to fig. 8, fig. 8 is a structural diagram of an electronic device according to another embodiment of the present invention, as shown in fig. 8, an electronic device 800 includes a first receiving module 801, a connecting module 802, and a transmitting module 803, where the first receiving module 801 is connected to the connecting module 802, and the connecting module 802 is further connected to the transmitting module 803:
a first receiving module 801, configured to receive a connection instruction sent by a control device through a bluetooth mesh network;
the connection module 802 is configured to establish a WIFI connection with the second controlled device according to the connection instruction;
a transmission module 803, configured to receive, through the bluetooth mesh network, a data transmission instruction sent by the control device, and perform data transmission with the second controlled device through the WIFI connection.
Optionally, as shown in fig. 9, the connection module 802 includes:
a second determining submodule 8021, configured to determine WIFI direct signal transmission power;
and the connection sub-module 8022 is configured to transmit a WIFI direct connection instruction to the second controlled device according to the WIFI direct connection signal transmission power, so as to establish WIFI direct connection with the second controlled device.
Optionally, as shown in fig. 9, the second determining submodule 8021 is configured to calculate a separation distance between the first controlled device and the second controlled device according to a bluetooth signal strength value between the first controlled device and the second controlled device, and determine WIFI direct signal transmission power corresponding to the separation distance; or, the wireless sensor network is used for using the preset maximum transmitting power as the transmitting power of the WIFI direct connection signal; or, the WIFI direct connection signal transmission power information is used for receiving a connection instruction which is sent by the control equipment and contains the WIFI direct connection signal transmission power information.
Optionally, as shown in fig. 10, the electronic device 800 further includes:
a second receiving module 804, configured to receive, through a bluetooth mesh network, a locking instruction sent by the control device;
an entering module 805, configured to enter a locked state according to the lock instruction, where in the locked state, a response to a control instruction sent by another device except the control device is prohibited;
an exit module 806, configured to disconnect the WIFI connection and exit the locked state if the data transmission is completed.
The electronic device 800 can implement each process implemented by the first controlled device in the method embodiments of fig. 3 and fig. 4, and details are not described here to avoid repetition.
According to the electronic device 800 of the embodiment of the invention, when data transmission is required between the internal devices of the communication system based on the Bluetooth mesh network, WIFI connection is established between the internal devices and data transmission is carried out through the WIFI connection, so that the data transmission efficiency between the internal devices of the communication system based on the Bluetooth mesh network is improved.
Fig. 11 is a schematic diagram of a hardware structure of a control device for implementing various embodiments of the present invention.
The control device 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, processor 1110, power supply 1111, and bluetooth module. Those skilled in the art will appreciate that the control device configuration shown in fig. 11 does not constitute a limitation of the control device, and that the control device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the control device includes, but is not limited to, a mobile phone, a remote controller, a tablet computer, a notebook computer, a palm computer, a wearable device, and the like.
Wherein, the processor 1110 is configured to determine a first controlled device and a second controlled device; respectively sending a connection instruction to the first controlled device and the second controlled device through a Bluetooth mesh network so as to establish WIFI connection between the first controlled device and the second controlled device; and sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so that the first controlled device and the second controlled device perform data transmission through the WIFI connection.
Optionally, the processor 1110, in the step of sending connection instructions to the first controlled device and the second controlled device through the bluetooth mesh network respectively to enable the first controlled device and the second controlled device to establish WIFI connection therebetween, includes: determining WIFI direct signal transmission power between the first controlled device and the second controlled device; and sending a connection instruction containing the WIFI direct connection signal transmission power information to the first controlled device and the second controlled device through the Bluetooth mesh network, so that the first controlled device and the second controlled device establish WIFI direct connection with the WIFI direct connection signal transmission power.
Optionally, the processor 1110, in the step of determining WIFI direct signal transmission power between the first controlled device and the second controlled device, includes: acquiring a Bluetooth signal intensity value between the first controlled device and the second controlled device, calculating a spacing distance between the first controlled device and the second controlled device according to the Bluetooth signal intensity value, and determining WIFI direct connection signal transmitting power corresponding to the spacing distance; or, the preset maximum transmitting power is used as the transmitting power of the WIFI direct connection signal.
Optionally, the processor 1110, in the step of determining the first controlled device and the second controlled device, includes: selecting a first controlled device and a second controlled device, and sending a locking instruction to the first controlled device and the second controlled device through a Bluetooth mesh network so as to enable the first controlled device and the second controlled device to enter a locking state; and the first controlled equipment and the second controlled equipment forbid responding to control instructions sent by other equipment except the control equipment in the locking state.
The control device 1100 is capable of implementing each process implemented by the control device in the foregoing embodiments, and is not described here again to avoid repetition.
According to the control device 1100 of the embodiment of the present invention, when data transmission is required between the internal devices of the communication system based on the bluetooth mesh network, the WIFI connection is established between the internal devices and data transmission is performed through the WIFI connection, so that data transmission efficiency between the internal devices of the communication system based on the bluetooth mesh network is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1101 may be configured to receive and transmit signals during a message transmission or a call, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 1110; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1101 may also communicate with a network and other devices through a wireless communication system.
The control device provides wireless broadband internet access to the user via the network module 1102, such as to assist the user in emailing, browsing web pages, and accessing streaming media.
The audio output unit 1103 may convert audio data received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into an audio signal and output as sound. Also, the audio output unit 1103 can also provide audio output related to a specific function performed by the control device 1100 (e.g., a call signal reception sound, a message reception sound, and the like). The audio output unit 1103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1104 is used to receive audio or video signals. The input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device, such as a camera, in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1106. The image frames processed by the graphic processor 11041 may be stored in the memory 1109 (or other storage medium) or transmitted via the radio frequency unit 1101 or the network module 1102. The microphone 11042 may receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1101 in case of the phone call mode.
The control device 1100 also includes at least one sensor 1105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 11061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 11061 and/or the backlight when the control device 1100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the attitude of a control device (e.g., horizontal and vertical screen switching, related games, magnetometer attitude calibration), and identify related functions of vibration (e.g., pedometer, tapping), etc.; the sensors 1105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., and will not be described in detail herein.
The display unit 1106 is used to display information input by a user or information provided to the user. The Display unit 1106 may include a Display panel 11061, and the Display panel 11061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1107 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function control of the control apparatus. Specifically, the user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 11071 (e.g., operations by a user on or near the touch panel 11071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 11071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1110, and receives and executes commands sent from the processor 1110. In addition, the touch panel 11071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1107 may include other input devices 11072 in addition to the touch panel 11071. In particular, the other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 11071 can be overlaid on the display panel 11061, and when the touch panel 11071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1110 to determine the type of the touch event, and then the processor 1110 provides a corresponding visual output on the display panel 11061 according to the type of the touch event. Although the touch panel 11071 and the display panel 11061 are shown in fig. 11 as two separate components to implement the input and output functions of the control device, in some embodiments, the touch panel 11071 and the display panel 11061 may be integrated to implement the input and output functions of the control device, and is not limited herein.
The interface unit 1108 is an interface through which an external device is connected to the control apparatus 1100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the control apparatus 1100 or may be used to transmit data between the control apparatus 1100 and an external device.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 1109 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1110 is a control center of the control device, connects various parts of the entire control device using various interfaces and lines, and performs various functions of the control device and processes data by operating or executing software programs and/or modules stored in the memory 1109 and calling data stored in the memory 1109, thereby performing overall monitoring of the control device. Processor 1110 may include one or more processing units; preferably, the processor 1110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The Bluetooth module is a PCBA board integrated with Bluetooth function, is used for short-distance wireless communication, and is divided into a Bluetooth data module and a Bluetooth voice module according to functions. The Bluetooth module is a chip basic circuit set integrating the Bluetooth function and is used for wireless network communication. The control device 1100 may perform bluetooth connection with other control devices through a bluetooth module, and may also perform communication with other devices in a bluetooth Mesh-based communication system.
The control device 1100 may also include a power supply 1111 (e.g., a battery) for providing power to various components, and preferably, the power supply 1111 may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the control device 1100 includes some functional blocks that are not shown, and thus will not be described in detail here.
Preferably, an embodiment of the present invention further provides a control device, which includes a processor 1110, a memory 1109, and a computer program that is stored in the memory 1109 and is executable on the processor 1110, where the computer program, when executed by the processor 1110, implements each process of the data transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
Referring to fig. 12, fig. 12 is a schematic diagram of a hardware structure of a controlled device for implementing various embodiments of the present invention. As shown in fig. 12, the base station 1200 includes: processor 1201, transceiver 1202, memory 1203, bus interface, bluetooth module and WIFI module, wherein:
the processor 1201 is configured to receive a connection instruction sent by the control device through the bluetooth mesh network; establishing WIFI connection with second controlled equipment according to the connection instruction; and receiving a data transmission instruction sent by the control equipment through the Bluetooth mesh network, and performing data transmission with the second controlled equipment through the WIFI connection. In the embodiment of the present invention, the controlled device includes, but is not limited to, a television, a sound box, a refrigerator, an air conditioner, an electric cooker, an electric water heater, a camera, a display screen, a printer, a projector, and the like.
Optionally, in the step of establishing a WIFI connection with the second controlled device according to the connection instruction, the processor 1201 includes: determining WIFI direct connection signal transmitting power; and transmitting a WIFI direct connection instruction to the second controlled equipment according to the WIFI direct connection signal transmitting power so as to establish WIFI direct connection with the second controlled equipment.
Optionally, the processor 1201 in the step of determining the WIFI direct signal transmission power includes: calculating a spacing distance between the first controlled device and the second controlled device according to a Bluetooth signal intensity value between the first controlled device and the second controlled device, and determining WIFI direct connection signal transmitting power corresponding to the spacing distance; or, the preset maximum transmitting power is used as the transmitting power of the WIFI direct connection signal; or, receiving a connection instruction containing the WIFI direct connection signal transmission power information sent by the control equipment through the Bluetooth mesh network.
Optionally, after the step of receiving the connection instruction sent by the control device through the bluetooth mesh network, the processor 1201 is further configured to: receiving a locking instruction sent by the control device through the Bluetooth mesh network; entering a locked state according to the locking instruction, wherein in the locked state, the control instruction sent by other equipment except the control equipment is prohibited from responding; and if the data transmission is finished, disconnecting the WIFI connection and exiting the locking state.
The transceiver 1202 is a device for signal conversion, and is generally referred to as a fiber optic transceiver. The optical fiber transceiver converts twisted pair electrical signals and optical signals to each other, ensures smooth transmission of data packets between two networks, and extends the transmission distance limit of the networks from 100 meters of copper wires to 100 kilometers. A transceiver 1202 is used for receiving and transmitting data under control of the processor 1201, the transceiver 1202 comprising at least two antenna ports.
In fig. 12, the bus architecture may include any number of interconnected buses and bridges, with various circuits linking one or more processors, represented by the processor 1201, and memory, represented by the memory 1203. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 1202 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The user interface 1204 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 1201 is responsible for managing a bus architecture and general processing, and the memory 1203 may store data used by the processor 1201 in performing operations.
The Bluetooth module is a PCBA board integrated with Bluetooth function, is used for short-distance wireless communication, and is divided into a Bluetooth data module and a Bluetooth voice module according to functions. The Bluetooth module is a chip basic circuit set integrating the Bluetooth function and is used for wireless network communication.
And the controlled equipment can be connected with the Internet through the WIFI module, and communication among the equipment can be carried out in a local area network formed by the WIFI module. The WIFI module can be a WIFI direct connection module, and point-to-point WIFI direct connection can be established among the controlled devices through the WIFI direct connection module.
Preferably, an embodiment of the present invention further provides a controlled device, which includes a processor 1201, a memory 1203, and a computer program stored in the memory 1203 and capable of running on the processor 1201, where the computer program is executed by the processor 1201 to implement each process of the above-mentioned data transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the data transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (16)

1. A data transmission method is applied to control equipment and is characterized by comprising the following steps:
determining a first controlled device and a second controlled device;
respectively sending a connection instruction to the first controlled device and the second controlled device through a Bluetooth mesh network so as to establish WIFI connection between the first controlled device and the second controlled device;
and sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so that the first controlled device and the second controlled device perform data transmission through the WIFI connection.
2. The method of claim 1, wherein the step of sending connection commands to the first controlled device and the second controlled device through the bluetooth mesh network, respectively, so that the first controlled device and the second controlled device establish WIFI connections with each other comprises:
determining WIFI direct signal transmission power between the first controlled device and the second controlled device;
and sending a connection instruction containing the WIFI direct connection signal transmission power information to the first controlled device and the second controlled device through the Bluetooth mesh network, so that the first controlled device and the second controlled device establish WIFI direct connection with the WIFI direct connection signal transmission power.
3. The method of claim 2, wherein the step of determining the WIFI-direct signal transmit power between the first controlled device and the second controlled device comprises:
acquiring a Bluetooth signal intensity value between the first controlled device and the second controlled device, calculating a spacing distance between the first controlled device and the second controlled device according to the Bluetooth signal intensity value, and determining WIFI direct connection signal transmitting power corresponding to the spacing distance; or
And taking the preset maximum transmitting power as the transmitting power of the WIFI direct connection signal.
4. The method according to any one of claims 1 to 3, wherein the step of determining the first controlled device and the second controlled device comprises:
selecting a first controlled device and a second controlled device, and sending a locking instruction to the first controlled device and the second controlled device through a Bluetooth mesh network so as to enable the first controlled device and the second controlled device to enter a locking state; and the first controlled equipment and the second controlled equipment forbid responding to control instructions sent by other equipment except the control equipment in the locking state.
5. A data transmission method is applied to a first controlled device and is characterized by comprising the following steps:
receiving a connection instruction sent by the control equipment through a Bluetooth mesh network;
establishing WIFI connection with second controlled equipment according to the connection instruction;
and receiving a data transmission instruction sent by the control equipment through the Bluetooth mesh network, and performing data transmission with the second controlled equipment through the WIFI connection.
6. The method of claim 5, wherein the step of establishing a WIFI connection with the second controlled device according to the connection instruction comprises:
determining WIFI direct connection signal transmitting power;
and transmitting a WIFI direct connection instruction to the second controlled equipment according to the WIFI direct connection signal transmitting power so as to establish WIFI direct connection with the second controlled equipment.
7. The method of claim 6, wherein the step of determining the WIFI direct signal transmission power comprises:
calculating a spacing distance between the first controlled device and the second controlled device according to a Bluetooth signal intensity value between the first controlled device and the second controlled device, and determining WIFI direct connection signal transmitting power corresponding to the spacing distance; or
The preset maximum transmitting power is used as the transmitting power of the WIFI direct connection signal; or
And receiving a connection instruction containing the WIFI direct connection signal transmitting power information sent by the control equipment through the Bluetooth mesh network.
8. The method according to any one of claims 5 to 7, wherein the step of receiving the connection instruction sent by the control device through the Bluetooth mesh network further comprises:
receiving a locking instruction sent by the control device through the Bluetooth mesh network;
entering a locked state according to the locking instruction, wherein in the locked state, the control instruction sent by other equipment except the control equipment is prohibited from responding;
and if the data transmission is finished, disconnecting the WIFI connection and exiting the locking state.
9. An electronic device, the electronic device being a control device, comprising:
a determining module for determining a first controlled device and a second controlled device;
the first sending module is used for sending a connection instruction to the first controlled device and the second controlled device through a Bluetooth mesh network respectively so as to enable the first controlled device and the second controlled device to establish WIFI connection with each other;
and the second sending module is used for sending a data transmission instruction to the first controlled device and/or the second controlled device through the Bluetooth mesh network so as to enable the first controlled device and the second controlled device to perform data transmission through the WIFI connection.
10. The electronic device of claim 9, wherein the first sending module comprises:
a first determining submodule, configured to determine WIFI direct signal transmission power between the first controlled device and the second controlled device;
the sending submodule is used for sending a connection instruction containing the WIFI direct connection signal transmitting power information to the first controlled device and the second controlled device through the Bluetooth mesh network so that the first controlled device and the second controlled device can establish WIFI direct connection with the WIFI direct connection signal transmitting power.
11. The electronic device of claim 10, wherein the first determining sub-module is configured to obtain a bluetooth signal strength value between the first controlled device and the second controlled device, calculate a separation distance between the first controlled device and the second controlled device according to the bluetooth signal strength value, and determine WIFI direct signal transmission power corresponding to the separation distance; or, the method is used for using the preset maximum transmitting power as the transmitting power of the WIFI direct connection signal.
12. The electronic device according to any one of claims 9 to 11, wherein the determining module is configured to select a first controlled device and a second controlled device, and send a locking instruction to the first controlled device and the second controlled device through a bluetooth mesh network, so as to enable the first controlled device and the second controlled device to enter a locked state; and the first controlled equipment and the second controlled equipment forbid responding to control instructions sent by other equipment except the control equipment in the locking state.
13. An electronic device, the electronic device being a first controlled device, comprising:
the first receiving module is used for receiving a connection instruction sent by the control equipment through the Bluetooth mesh network;
the connection module is used for establishing WIFI connection with the second controlled equipment according to the connection instruction;
and the transmission module is used for receiving a data transmission instruction sent by the control equipment through the Bluetooth mesh network and carrying out data transmission with the second controlled equipment through the WIFI connection.
14. The electronic device of claim 13, wherein the connection module comprises:
the second determining submodule is used for determining the transmitting power of the WIFI direct connection signal;
and the connection sub-module is used for transmitting a WIFI direct connection instruction to the second controlled equipment according to the WIFI direct connection signal transmission power so as to establish WIFI direct connection with the second controlled equipment.
15. The electronic device of claim 14, wherein the second determining sub-module is configured to calculate a separation distance between the first controlled device and the second controlled device according to a bluetooth signal strength value between the first controlled device and the second controlled device, and determine WIFI-direct signal transmission power corresponding to the separation distance; or, the wireless sensor network is used for using the preset maximum transmitting power as the transmitting power of the WIFI direct connection signal; or, the connection instruction including the WIFI direct connection signal transmission power information sent by the control device is received through the bluetooth mesh network.
16. The electronic device of any of claims 13-15, further comprising:
the second receiving module is used for receiving the locking instruction sent by the control equipment through the Bluetooth mesh network;
an entering module, configured to enter a locked state according to the lock instruction, where in the locked state, a response to a control instruction sent by another device except the control device is prohibited;
and the quitting module is used for disconnecting the connection with the WIFI and quitting the locking state if the data transmission is finished.
CN201810291989.4A 2018-03-30 2018-03-30 Data transmission method and electronic equipment Active CN108513347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810291989.4A CN108513347B (en) 2018-03-30 2018-03-30 Data transmission method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810291989.4A CN108513347B (en) 2018-03-30 2018-03-30 Data transmission method and electronic equipment

Publications (2)

Publication Number Publication Date
CN108513347A CN108513347A (en) 2018-09-07
CN108513347B true CN108513347B (en) 2021-01-08

Family

ID=63380234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810291989.4A Active CN108513347B (en) 2018-03-30 2018-03-30 Data transmission method and electronic equipment

Country Status (1)

Country Link
CN (1) CN108513347B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087643A (en) * 2018-09-28 2018-12-25 联想(北京)有限公司 Sound control method, device and electronic equipment
CN111263338B (en) * 2018-12-03 2024-05-14 深圳市茁壮网络股份有限公司 Network distribution method of Bluetooth Mesh network, related network distribution equipment and system
CN109788429B (en) * 2019-01-28 2020-11-24 武汉慧联无限科技有限公司 Optimization method for improving Bluetooth positioning accuracy
CN110108041A (en) * 2019-05-09 2019-08-09 杭州德意电器股份有限公司 A kind of water heater control system and control method based on bluetooth MESH
CN110267236B (en) * 2019-06-24 2023-02-28 奇点新源国际技术开发(北京)有限公司 Wireless network power control method and system based on Internet of things
CN113170215A (en) * 2020-03-13 2021-07-23 深圳市大疆创新科技有限公司 Video live broadcast method, system and computer storage medium
CN111417181B (en) * 2020-03-31 2023-11-03 维沃移动通信有限公司 Power adjustment method and terminal
CN111818495B (en) * 2020-06-23 2023-05-23 敖冬兵 Control method, system, device and medium of wireless communication terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016175471A1 (en) * 2015-04-30 2016-11-03 엘지전자(주) Method and device for transmitting/receiving data in mesh network using bluetooth
CN107770881A (en) * 2017-10-27 2018-03-06 三星(中国)半导体有限公司 Transmit the method and device of data

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103260257B (en) * 2013-04-10 2016-06-29 广东欧珀移动通信有限公司 Automatically set up Wi-Fi Display and connect the method and system realizing Screen sharing
US9571441B2 (en) * 2014-05-19 2017-02-14 Microsoft Technology Licensing, Llc Peer-based device set actions
US9980082B2 (en) * 2014-08-26 2018-05-22 Kooltechs Inc. System and method for tracking locations and activities
CN107148038A (en) * 2017-03-27 2017-09-08 聂江海 Method, apparatus and system for management and the communication of wireless mesh network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016175471A1 (en) * 2015-04-30 2016-11-03 엘지전자(주) Method and device for transmitting/receiving data in mesh network using bluetooth
CN107770881A (en) * 2017-10-27 2018-03-06 三星(中国)半导体有限公司 Transmit the method and device of data

Also Published As

Publication number Publication date
CN108513347A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN108513347B (en) Data transmission method and electronic equipment
CN110149132B (en) Transmitting antenna switching method and terminal equipment
CN111083684B (en) Method for controlling electronic equipment and electronic equipment
CN110891305B (en) Power control device and method and electronic equipment
CN110034876B (en) PUCCH resource indication and processing method, network side equipment and user terminal
CN110049476B (en) Equipment pushing method, device, mobile terminal and storage medium
CN111642002B (en) SRS power control method, SRS power control configuration method and related equipment
CN107948919B (en) Shared information processing method and mobile terminal
US20210092630A1 (en) Method for cell management, terminal, and network-side device
CN112929926A (en) Sending method and receiving method of adjacent cell CSI report and related equipment
CN110809267A (en) Device connection method, electronic device and computer readable storage medium
CN109803429B (en) RRM (radio resource management) measurement control method of adjacent cell, mobile communication terminal and network side equipment
CN108419283B (en) WIFI hotspot scanning method and mobile terminal
JP7325503B2 (en) Power headroom reporting method and terminal equipment
CN109450508B (en) Antenna determination method and device and mobile terminal
CN109286414B (en) Antenna determination method and terminal
CN109526035B (en) Communication method, mobile terminal and medium
CN107749763B (en) WI-FI transmission control method, mobile terminal and routing equipment
CN111818657A (en) Uplink transmission discarding method, uplink transmission discarding configuration method and related equipment
CN111278114A (en) Power control method, terminal equipment and network side equipment
WO2021088816A1 (en) Method and apparatus for measuring signal-to-interference-plus-noise ratio, device, and medium
CN109474299B (en) Antenna determination method and mobile terminal
KR20220039759A (en) Power determination method and terminal equipment
CN108811037B (en) Data transmission method and communication equipment
CN110366273B (en) Communication method and related 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