CN111246583A - Wireless connection control method, apparatus and medium - Google Patents

Wireless connection control method, apparatus and medium Download PDF

Info

Publication number
CN111246583A
CN111246583A CN202010231203.7A CN202010231203A CN111246583A CN 111246583 A CN111246583 A CN 111246583A CN 202010231203 A CN202010231203 A CN 202010231203A CN 111246583 A CN111246583 A CN 111246583A
Authority
CN
China
Prior art keywords
time
antenna
sharing ratio
wireless
ratio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010231203.7A
Other languages
Chinese (zh)
Inventor
吴哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010231203.7A priority Critical patent/CN111246583A/en
Publication of CN111246583A publication Critical patent/CN111246583A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • H04B1/0067Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with one or more circuit blocks in common for different bands
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections

Abstract

The present disclosure relates to a wireless connection control method, apparatus, and medium. The method comprises the following steps: receiving a first communication instruction instructing an antenna of the device to communicate in a first wireless manner; receiving a second communication instruction during communication of the antenna of the device in the first wireless manner, the second communication instruction instructing the antenna of the device to communicate in a second wireless manner, wherein the first wireless manner and the second wireless manner share one antenna of the device; when determining that the communication through the first wireless mode cannot be stopped, converting the antenna time sharing ratio from a first time sharing ratio to a second time sharing ratio, wherein the first time sharing ratio is larger than the second time sharing ratio, and the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment for communication respectively in a set time period. The method can ensure that under the condition of not disconnecting the first connection, the bandwidth as much as possible is allocated to the second connection, thereby avoiding the condition that the two wireless connections compete with each other to influence the use of the user.

Description

Wireless connection control method, apparatus and medium
Technical Field
The present disclosure relates to the field of wireless connection technologies, and in particular, to a wireless connection control method, apparatus, and medium.
Background
Many of the devices that now support wireless connectivity support multiple wireless connections, such as WIFI and bluetooth. However, as products compete more and more strongly, in order to reduce hardware cost, the devices supporting wireless connection, such as smart speakers, use a single 2.4G antenna scheme, that is, WIFI and bluetooth share one antenna scheme. The scheme inevitably leads to a scene that WIFI and Bluetooth compete with each other when communicating simultaneously.
For example, when playing music over a bluetooth connection, a large bandwidth is required. Therefore, voice recognition through WIFI can result in low recognition speed.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a wireless connection control method, apparatus, and medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a wireless connection control method, the method being applied to a device, the method including:
receiving a first communication instruction instructing an antenna of the device to communicate in a first wireless manner;
receiving a second communication instruction during communication of the antenna of the device in the first wireless manner, the second communication instruction instructing the antenna of the device to communicate in a second wireless manner, wherein the first wireless manner and the second wireless manner share one antenna of the device;
when it is determined that the communication by the first radio system cannot be stopped, the antenna time division ratio is converted from a first time division ratio to a second time division ratio, the first time division ratio being larger than the second time division ratio,
the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment to perform communication respectively in a set time period.
Wherein the method further comprises:
when it is determined that the communication by the second radio system is completed, the antenna time-sharing ratio is converted from the second time-sharing ratio to the first time-sharing ratio.
Wherein the method further comprises:
when it is determined that the communication by the first radio mode is ended, the antenna time-sharing ratio is converted from the second time-sharing ratio to a third time-sharing ratio, the second time-sharing ratio being larger than the third time-sharing ratio.
Wherein when the antenna communicates by the first wireless means to play audio, the method further comprises:
and when the antenna time sharing ratio is converted from the first time sharing ratio to the second time sharing ratio, sending an audio playing volume reducing request.
Wherein when the antenna communicates by the first wireless means to play audio, the method further comprises:
and when the antenna time sharing ratio is converted from the second time sharing ratio to the first time sharing ratio, sending an audio playing volume increasing request.
The first wireless mode is a Bluetooth mode, and the second wireless mode is a WIFI mode.
Wherein, the value range of the first time sharing ratio is 2: 1 to 4:1, and the value range of the second time sharing ratio is 1:3 to 1: 5.
Wherein, the value range of the third time sharing ratio is 1:4 to 1: 6.
According to a second aspect of the embodiments of the present disclosure, there is provided a wireless connection control apparatus, the apparatus being applied to a device, the apparatus including:
a receiving module configured to receive a first communication instruction instructing an antenna of the apparatus to communicate in a first wireless manner, and receive a second communication instruction instructing the antenna of the apparatus to communicate in a second wireless manner during communication in the first wireless manner by the antenna of the apparatus, wherein the first wireless manner and the second wireless manner share one antenna of the apparatus;
a determination module configured to determine that communication by the first wireless manner cannot be stopped;
a conversion module configured to convert the antenna time division ratio from a first time division ratio to a second time division ratio when the determination module determines that the communication by the first wireless scheme cannot be stopped, the first time division ratio being larger than the second time division ratio,
the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment to perform communication respectively in a set time period.
Wherein the conversion module is further configured to:
when it is determined that the communication by the second radio system is completed, the antenna time-sharing ratio is converted from the second time-sharing ratio to the first time-sharing ratio.
Wherein the conversion module is further configured to:
when it is determined that the communication by the first radio mode is ended, the antenna time-sharing ratio is converted from the second time-sharing ratio to a third time-sharing ratio, the second time-sharing ratio being larger than the third time-sharing ratio.
Wherein the apparatus further comprises:
and the sending module is used for sending an audio playing volume reduction request when the antenna carries out communication in the first wireless mode to play audio and the antenna time sharing ratio is converted from the first time sharing ratio to the second time sharing ratio.
Wherein the apparatus further comprises:
and the sending module is used for sending an audio playing volume increasing request when the antenna carries out communication in the first wireless mode to play audio and the antenna time sharing ratio is converted from the second time sharing ratio to the first time sharing ratio.
The first wireless mode is a Bluetooth mode, and the second wireless mode is a WIFI mode.
Wherein, the value range of the first time sharing ratio is 2: 1 to 4:1, and the value range of the second time sharing ratio is 1:3 to 1: 5.
Wherein, the value range of the third time sharing ratio is 1:4 to 1: 6.
According to a third aspect of the embodiments of the present disclosure, there is provided a wireless connection control apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the following steps when executing the executable instructions:
receiving a first communication instruction instructing an antenna of the device to communicate in a first wireless manner;
receiving a second communication instruction during communication of the antenna of the device in the first wireless manner, the second communication instruction instructing the antenna of the device to communicate in a second wireless manner, wherein the first wireless manner and the second wireless manner share one antenna of the device;
when it is determined that the communication by the first radio system cannot be stopped, the antenna time division ratio is converted from a first time division ratio to a second time division ratio, the first time division ratio being larger than the second time division ratio,
the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment to perform communication respectively in a set time period.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of an apparatus, enable the apparatus to perform a wireless connection control method, the method comprising:
receiving a first communication instruction instructing an antenna of the device to communicate in a first wireless manner;
receiving a second communication instruction during communication of the antenna of the device in the first wireless manner, the second communication instruction instructing the antenna of the device to communicate in a second wireless manner, wherein the first wireless manner and the second wireless manner share one antenna of the device;
when it is determined that the communication by the first radio system cannot be stopped, the antenna time division ratio is converted from a first time division ratio to a second time division ratio, the first time division ratio being larger than the second time division ratio,
the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment to perform communication respectively in a set time period.
The present disclosure provides a wireless connection control method applied to a device that can perform various wireless connections. When the device determines that the communication is carried out through the second wireless connection and the communication through the first wireless connection cannot be stopped during the communication through the first wireless connection, the time sharing ratio is converted from the first time sharing ratio to the second time sharing ratio, so that the second connection is allocated with bandwidth as much as possible under the condition that the first connection is not disconnected, and the condition that the two wireless connections compete with each other and the use of a user is influenced is avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a wireless connection control method according to an example embodiment.
Fig. 2 is a flow chart illustrating a wireless connection control method according to an example embodiment.
Fig. 3 is a block diagram illustrating a wireless connection control apparatus according to an example embodiment.
FIG. 4 is a block diagram illustrating an apparatus in accordance with an example embodiment.
FIG. 5 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In order to reduce hardware cost, the devices supporting wireless connection, such as smart speakers, use a single 2.4G antenna scheme, that is, WIFI and bluetooth share one antenna scheme. The scheme inevitably leads to a scene that WIFI and Bluetooth compete with each other when communicating simultaneously.
For example, the computer and the intelligent sound box can be in wireless connection through Bluetooth and WIFI. Other devices which are wirelessly connected with the intelligent sound box and can run the application program can also be used to replace the computer, such as a mobile phone, a PAD, a wearable device and the like. The computer passes through the bluetooth mode and connects intelligent audio amplifier broadcast music, and the computer also can connect the audio amplifier through the WIFI mode, carries out speech recognition. When the computer is connected with the loudspeaker box through the Bluetooth to play music, if voice recognition is carried out through the loudspeaker box at the same time, the loudspeaker box can pause the playing request to the computer to request the computer to pause the Bluetooth music playing. However, due to the problem of bluetooth compatibility, especially when the computer plays video, the video playing software at the computer end will not respond to the pause playing request sent by the sound box, so that the computer continues to play music through the sound box. Therefore, the Bluetooth connection cannot release bandwidth for the WIFI connection, the voice recognition response speed of the loudspeaker box end is very slow or overtime, and user experience is affected.
The present disclosure provides a wireless connection control method applied to a device that can perform various wireless connections. When the device determines that the communication is carried out through the second wireless connection and the communication through the first wireless connection cannot be stopped during the communication through the first wireless connection, the time sharing ratio is converted from the first time sharing ratio to the second time sharing ratio, so that the second connection is allocated with bandwidth as much as possible under the condition that the first connection is not disconnected, and the condition that the two wireless connections compete with each other and the use of a user is influenced is avoided.
The device of the present disclosure is a device that supports multiple wireless connections, and the multiple wireless connections need to share one antenna.
Fig. 1 is a flowchart illustrating a wireless connection control method applied to a device according to an exemplary embodiment, and the method includes the following steps, as shown in fig. 1:
step 101, receiving a first communication instruction, wherein the first communication instruction instructs an antenna of the equipment to perform communication in a first wireless mode;
a step 102 of receiving a second communication instruction during communication of the antenna of the device in the first wireless mode, wherein the second communication instruction instructs the antenna of the device to communicate in a second wireless mode, and the first wireless mode and the second wireless mode share one antenna of the device;
step 103, when determining that the communication by the first wireless method cannot be stopped, converting the antenna time division ratio from a first time division ratio to a second time division ratio, the first time division ratio being greater than the second time division ratio,
the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment to perform communication respectively in a set time period.
In many devices there is usually only one antenna. The antenna time division ratio may be, for example, a time ratio of data transmission, in which the first wireless system and the second wireless system occupy the device antenna for communication within one second. For example, if the time division ratio between the first radio system and the second radio system is 1:4, it means that the time for the first radio system to occupy the device antenna for data transmission is 200ms and the time for the second radio system to occupy the device antenna for data transmission is 800ms within one second. It should be noted that, as known by those skilled in the art, the first wireless mode and the second wireless mode switch the occupation of the device antenna at a certain frequency within the set time period, and the switched frequency is based on the internal logic setting of the wireless connection module chip, and therefore, details are not described herein again.
When the device needs to communicate in the second wireless mode during the communication in the first wireless mode, the device requests to suspend the communication in the first wireless mode. However, in some cases, the communication by the first wireless system cannot be stopped, and it is necessary to ensure the performance of the communication by the second wireless system without disconnecting the communication by the first wireless system.
For example, the first wireless mode is a bluetooth mode, the second wireless mode is a WIFI mode, and the device is a smart speaker. The computer is connected with the intelligent sound box through a Bluetooth mode to play music, and at the moment, the sound box antenna only transmits data through the Bluetooth mode, so that the time-sharing ratio of the Bluetooth mode to the WIFI mode is set to be 3:1, for example. When the user carries out speech recognition through intelligent audio amplifier, intelligent audio amplifier confirms that need carry out wireless connection through the WIFI mode with the computer, then sends bluetooth mode connection pause request to the computer. If the computer cannot stop sending data to the smart sound box in the bluetooth mode, the time that the bluetooth mode occupies the sound box antenna needs to be reduced, that is, the time-sharing ratio of the bluetooth mode to the WIFI mode is reduced, for example, the time-sharing ratio of the antenna is changed to 1: 4.
The proposal is based on the fact that under certain conditions, two wireless modes need to be connected simultaneously through one antenna on the equipment. Therefore, the performance of communication in two wireless modes is ensured simultaneously by setting different antenna time sharing ratios based on different scenes. The method and the device ensure that under the condition of not disconnecting the first wireless mode connection, as much bandwidth as possible is allocated to the second wireless mode connection, thereby avoiding the condition that the two wireless mode connections compete with each other to influence the use of a user.
In an alternative embodiment, the method further comprises:
when it is determined that the communication by the second radio system is completed, the antenna time-sharing ratio is converted from the second time-sharing ratio to the first time-sharing ratio.
When the device stops communication through the second wireless mode, the time-sharing ratio of the first wireless mode and the second wireless mode is improved, namely more bandwidth is released to the first wireless mode, and the communication performance of the first wireless mode is guaranteed. For example, when speech recognition by the WIFI method is completed, the time division ratio of the bluetooth method to the WIFI method is changed to 3: 1.
In an alternative embodiment, the method further comprises:
when it is determined that the communication by the first radio mode is ended, the antenna time-sharing ratio is converted from the second time-sharing ratio to a third time-sharing ratio, the second time-sharing ratio being larger than the third time-sharing ratio.
When the device stops the communication through the first wireless mode, the time sharing ratio of the antennas of the first wireless mode and the second wireless mode can be further reduced, namely, more bandwidth is released to the second wireless mode, and the communication performance of the second wireless mode is ensured. For example, when music playback by the bluetooth system is completed, the antenna time division ratio of the bluetooth system to the WIFI system is changed to 1: 5.
In an alternative embodiment, when the antenna communicates by the first wireless means to play audio, the method further comprises:
and when the antenna time sharing ratio is converted from the first time sharing ratio to the second time sharing ratio, sending an audio playing volume reducing request.
When the device communicates in the first wireless mode to play audio, in order to prevent the audio from interfering with the communication in the second wireless mode, the device sends a request for reducing the audio playing volume to a device connected with the device and running a playing program, such as a computer, while reducing the antenna time-sharing ratio.
For example, when the smart speaker plays music in a bluetooth manner, the speaker receives an instruction to perform voice recognition, and when the speaker requests that music is not paused, the speaker sends a request to decrease the audio playing volume to avoid the played music from interfering with the voice recognition.
In an alternative embodiment, when the antenna communicates by the first wireless means to play audio, the method further comprises:
and when the antenna time sharing ratio is converted from the second time sharing ratio to the first time sharing ratio, sending an audio playing volume increasing request.
When the device plays the audio in the first wireless mode, after the communication in the second wireless mode is finished, the bandwidth occupied by the second wireless mode is released, and the second time sharing ratio is converted into the first time sharing ratio. At this time, the device also sends a request to increase the audio playback volume to resume communication via the first wireless manner.
For example, in the above example, after the voice recognition by the smart speaker is finished, the speaker sends a request to increase the audio playback volume to resume normal audio playback.
In an optional embodiment, the first wireless mode is a bluetooth mode, and the second wireless mode is a WIFI mode.
In an optional embodiment, a value range of the first time sharing ratio is 2: 1 to 4:1, and the value range of the second time sharing ratio is 1:3 to 1: 5.
In an optional embodiment, the third time sharing ratio ranges from 1:4 to 1: 6.
Under the condition that the first wireless mode is a bluetooth mode and the second wireless mode is a WIFI mode, the time sharing ratio between the bluetooth mode and the WIFI mode, that is, the value range of the first time sharing ratio, can be set to 2 when the device only uses the bluetooth mode: 1 to 4:1, to better guarantee the performance of the bluetooth mode connection. Under the condition that the device is simultaneously accessed to the WIFI mode, in order to guarantee the communication performance of the WIFI mode, the time-sharing ratio of the Bluetooth mode and the WIFI mode, namely the value range of the second time-sharing ratio, is set to be 1:3 to 1:5, the communication performance of the WIFI mode is guaranteed as far as possible in the range, and the communication of the Bluetooth mode is guaranteed not to be disconnected. If the communication in the bluetooth mode is finished, longer antenna occupation time can be allocated to the WIFI mode at this time, that is, the time-sharing ratio of the antennas in the bluetooth mode and the WIFI mode is reduced to a third time-sharing ratio, the value range of the third time-sharing ratio is set to be 1:4 to 1:6, and the third time-sharing ratio is lower than the second time-sharing ratio. It should be noted that the specific value range is obtained by a large number of experiments on the basis of ensuring the connection performance in each application scenario.
Specific embodiments according to the present disclosure are described below in conjunction with specific application scenarios. In this embodiment, the first wireless mode is a bluetooth mode, and the second wireless mode is a WIFI mode. The device is a smart speaker, and the device for running the audio playing program is a mobile phone (in other embodiments, the device may be a computer, a notebook, a PAD, a wearable device, or the like). Wherein, only one antenna is arranged on the intelligent sound box. This embodiment comprises the steps of:
step 201, the smart sound box is connected with a mobile phone in a Bluetooth mode, plays music, and sets the time-sharing ratio of the antennas in the Bluetooth mode and the WIFI mode to be 3: 1.
Step 202, the smart sound box monitors that the user performs voice recognition, namely, the smart sound box needs to be connected with a mobile phone in a WIFI mode.
Step 203, the smart speaker sends a request for pausing music playing to the mobile phone.
And step 204, the smart sound box does not receive a response of stopping playing music, converts the time-sharing ratio of the antennas in the Bluetooth mode and the WIFI mode into 1:4, and sends a request of reducing the audio playing volume to the mobile phone.
Step 205, the smart sound box finishes voice recognition through the WIFI mode, converts the antenna time-sharing ratio of the bluetooth mode to the antenna time-sharing ratio of the WIFI mode to 3:1, and sends a request for increasing audio playing volume to the mobile phone.
In this embodiment, when the audio amplifier plays music through the bluetooth mode, the success rate that will carry out speech recognition through the WIFI mode of audio amplifier has improved about 20%, has promoted user's use and has experienced.
In the above embodiment, the first wireless mode is a bluetooth mode, and the second wireless mode is a WIFI mode. Of course, there may be an application scenario in which the first wireless mode is a WIFI mode and the second wireless mode is a bluetooth mode.
The present disclosure also provides a wireless connection control apparatus applied to a device. As shown in fig. 3, the apparatus includes:
a receiving module 301 configured to receive a first communication instruction instructing an antenna of the apparatus to communicate in a first wireless manner, and receive a second communication instruction instructing the antenna of the apparatus to communicate in a second wireless manner during the communication of the antenna of the apparatus in the first wireless manner, wherein the first wireless manner and the second wireless manner share one antenna of the apparatus;
a determination module 302 configured to determine that communication by the first wireless manner cannot be stopped;
a conversion module 303 configured to convert the antenna time division ratio from a first time division ratio to a second time division ratio when the determination module determines that the communication by the first wireless scheme cannot be stopped, the first time division ratio being larger than the second time division ratio,
the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment to perform communication respectively in a set time period.
In an alternative embodiment, the conversion module 303 is further configured to:
when it is determined that the communication by the second radio system is completed, the antenna time-sharing ratio is converted from the second time-sharing ratio to the first time-sharing ratio.
In an alternative embodiment, the conversion module 303 is further configured to:
when it is determined that the communication by the first radio mode is ended, the antenna time-sharing ratio is converted from the second time-sharing ratio to a third time-sharing ratio, the second time-sharing ratio being larger than the third time-sharing ratio.
In an alternative embodiment, the apparatus further comprises:
and the sending module is used for sending an audio playing volume reduction request when the antenna carries out communication in the first wireless mode to play audio and the antenna time sharing ratio is converted from the first time sharing ratio to the second time sharing ratio.
In an alternative embodiment, the apparatus further comprises:
and the sending module is used for sending an audio playing volume increasing request when the antenna carries out communication in the first wireless mode to play audio and the antenna time sharing ratio is converted from the second time sharing ratio to the first time sharing ratio.
In an optional embodiment, the first wireless mode is a bluetooth mode, and the second wireless mode is a WIFI mode.
In an optional embodiment, a value range of the first time sharing ratio is 2: 1 to 4:1, and the value range of the second time sharing ratio is 1:3 to 1: 5.
In an optional embodiment, the third time sharing ratio ranges from 1:4 to 1: 6.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure provides a wireless connection control method applied to a device that can perform various wireless connections. When the device determines that the communication is carried out through the second wireless connection and the communication through the first wireless connection cannot be stopped during the communication through the first wireless connection, the time sharing ratio is converted from the first time sharing ratio to the second time sharing ratio, so that the second connection is allocated with bandwidth as much as possible under the condition that the first connection is not disconnected, and the condition that the two wireless connections compete with each other and the use of a user is influenced is avoided.
Fig. 4 is a block diagram illustrating a wireless connection control apparatus 400 according to an example embodiment.
Referring to fig. 4, the apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an interface for input/output (I/O) 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 406 provide power to the various components of device 400. Power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 400 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor component 414 can detect the open/closed state of the device 400, the relative positioning of components, such as a display and keypad of the apparatus 400, the sensor component 414 can also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a wireless connection control method, the method comprising: receiving a first communication instruction instructing an antenna of the device to communicate in a first wireless manner; receiving a second communication instruction during communication of the antenna of the device in the first wireless manner, the second communication instruction instructing the antenna of the device to communicate in a second wireless manner, wherein the first wireless manner and the second wireless manner share one antenna of the device; when determining that the communication through the first wireless mode cannot be stopped, converting the antenna time sharing ratio from a first time sharing ratio to a second time sharing ratio, wherein the first time sharing ratio is larger than the second time sharing ratio, and the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment for communication respectively in a set time period.
Fig. 5 is a block diagram illustrating a wireless connection control device 500 according to an example embodiment. For example, the apparatus 500 may be provided as a server. Referring to fig. 5, the apparatus 500 includes a processing component 522 that further includes one or more processors and memory resources, represented by memory 532, for storing instructions, such as applications, that are executable by the processing component 522. The application programs stored in memory 532 may include one or more modules that each correspond to a set of instructions. Further, the processing component 522 is configured to execute instructions to perform the above-described method: receiving a first communication instruction instructing an antenna of the device to communicate in a first wireless manner; receiving a second communication instruction during communication of the antenna of the device in the first wireless manner, the second communication instruction instructing the antenna of the device to communicate in a second wireless manner, wherein the first wireless manner and the second wireless manner share one antenna of the device; when determining that the communication through the first wireless mode cannot be stopped, converting the antenna time sharing ratio from a first time sharing ratio to a second time sharing ratio, wherein the first time sharing ratio is larger than the second time sharing ratio, and the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment for communication respectively in a set time period.
The apparatus 500 may also include a power component 526 configured to perform power management of the apparatus 500, a wired or wireless network interface 550 configured to connect the apparatus 500 to a network, and an input/output (I/O) interface 558. The apparatus 500 may operate based on an operating system stored in the memory 532, such as Windows Server, Mac OSXTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (18)

1. A wireless connection control method, the method being applied to a device, the method comprising:
receiving a first communication instruction instructing an antenna of the device to communicate in a first wireless manner;
receiving a second communication instruction during communication of the antenna of the device in the first wireless manner, the second communication instruction instructing the antenna of the device to communicate in a second wireless manner, wherein the first wireless manner and the second wireless manner share one antenna of the device;
when it is determined that the communication by the first radio system cannot be stopped, the antenna time division ratio is converted from a first time division ratio to a second time division ratio, the first time division ratio being larger than the second time division ratio,
the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment to perform communication respectively in a set time period.
2. The method of claim 1, wherein the method further comprises:
when it is determined that the communication by the second radio system is completed, the antenna time-sharing ratio is converted from the second time-sharing ratio to the first time-sharing ratio.
3. The method of claim 1, wherein the method further comprises:
when it is determined that the communication by the first radio mode is ended, the antenna time-sharing ratio is converted from the second time-sharing ratio to a third time-sharing ratio, the second time-sharing ratio being larger than the third time-sharing ratio.
4. The method of claim 1, wherein when the antenna communicates over the first wireless manner to play audio, the method further comprises:
and when the antenna time sharing ratio is converted from the first time sharing ratio to the second time sharing ratio, sending an audio playing volume reducing request.
5. The method of claim 2, wherein when the antenna communicates over the first wireless manner to play audio, the method further comprises:
and when the antenna time sharing ratio is converted from the second time sharing ratio to the first time sharing ratio, sending an audio playing volume increasing request.
6. The method of claim 1, wherein the first wireless mode is a bluetooth mode, and the second wireless mode is a WIFI mode.
7. The method of claim 1, wherein the first time sharing ratio has a value range of 2: 1 to 4:1, and the value range of the second time sharing ratio is 1:3 to 1: 5.
8. The method of claim 3, wherein the third time sharing ratio ranges from 1:4 to 1: 6.
9. A wireless connection control apparatus applied to a device, the apparatus comprising:
a receiving module configured to receive a first communication instruction instructing an antenna of the apparatus to communicate in a first wireless manner, and receive a second communication instruction instructing the antenna of the apparatus to communicate in a second wireless manner during communication in the first wireless manner by the antenna of the apparatus, wherein the first wireless manner and the second wireless manner share one antenna of the apparatus;
a determination module configured to determine that communication by the first wireless manner cannot be stopped;
a conversion module configured to convert the antenna time division ratio from a first time division ratio to a second time division ratio when the determination module determines that the communication by the first wireless scheme cannot be stopped, the first time division ratio being larger than the second time division ratio,
the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment to perform communication respectively in a set time period.
10. The apparatus of claim 9, wherein the conversion module is further configured to:
when it is determined that the communication by the second radio system is completed, the antenna time-sharing ratio is converted from the second time-sharing ratio to the first time-sharing ratio.
11. The apparatus of claim 9, wherein the conversion module is further configured to:
when it is determined that the communication by the first radio mode is ended, the antenna time-sharing ratio is converted from the second time-sharing ratio to a third time-sharing ratio, the second time-sharing ratio being larger than the third time-sharing ratio.
12. The apparatus of claim 9, wherein the apparatus further comprises:
and the sending module is used for sending an audio playing volume reduction request when the antenna carries out communication in the first wireless mode to play audio and the antenna time sharing ratio is converted from the first time sharing ratio to the second time sharing ratio.
13. The apparatus of claim 10, wherein the apparatus further comprises:
and the sending module is used for sending an audio playing volume increasing request when the antenna carries out communication in the first wireless mode to play audio and the antenna time sharing ratio is converted from the second time sharing ratio to the first time sharing ratio.
14. The apparatus of claim 9, wherein the first wireless mode is a bluetooth mode, and the second wireless mode is a WIFI mode.
15. The apparatus of claim 9, wherein the first time sharing ratio has a range of values of 2: 1 to 4:1, and the value range of the second time sharing ratio is 1:3 to 1: 5.
16. The apparatus of claim 11, wherein the third time sharing ratio ranges from 1:4 to 1: 6.
17. A wireless connection control device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the following steps when executing the executable instructions:
receiving a first communication instruction instructing an antenna of the device to communicate in a first wireless manner;
receiving a second communication instruction during communication of the antenna of the device in the first wireless manner, the second communication instruction instructing the antenna of the device to communicate in a second wireless manner, wherein the first wireless manner and the second wireless manner share one antenna of the device;
when it is determined that the communication by the first radio system cannot be stopped, the antenna time division ratio is converted from a first time division ratio to a second time division ratio, the first time division ratio being larger than the second time division ratio,
the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment to perform communication respectively in a set time period.
18. A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus, enable the apparatus to perform a wireless connection control method, the method comprising:
receiving a first communication instruction instructing an antenna of the device to communicate in a first wireless manner;
receiving a second communication instruction during communication of the antenna of the device in the first wireless manner, the second communication instruction instructing the antenna of the device to communicate in a second wireless manner, wherein the first wireless manner and the second wireless manner share one antenna of the device;
when it is determined that the communication by the first radio system cannot be stopped, the antenna time division ratio is converted from a first time division ratio to a second time division ratio, the first time division ratio being larger than the second time division ratio,
the antenna time sharing ratio is a time ratio of the first wireless mode and the second wireless mode occupying the antenna of the equipment to perform communication respectively in a set time period.
CN202010231203.7A 2020-03-27 2020-03-27 Wireless connection control method, apparatus and medium Pending CN111246583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010231203.7A CN111246583A (en) 2020-03-27 2020-03-27 Wireless connection control method, apparatus and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010231203.7A CN111246583A (en) 2020-03-27 2020-03-27 Wireless connection control method, apparatus and medium

Publications (1)

Publication Number Publication Date
CN111246583A true CN111246583A (en) 2020-06-05

Family

ID=70871949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010231203.7A Pending CN111246583A (en) 2020-03-27 2020-03-27 Wireless connection control method, apparatus and medium

Country Status (1)

Country Link
CN (1) CN111246583A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358143A (en) * 2016-09-14 2017-01-25 深圳市金立通信设备有限公司 Antenna time-sharing multiplexing method and terminal
CN108370512A (en) * 2015-12-16 2018-08-03 高通股份有限公司 For the WLAN in coexistence scenario(WLAN)The technology of scanning
CN108520742A (en) * 2018-01-24 2018-09-11 联发科技(新加坡)私人有限公司 Improve method, speech recognition equipment and the playing device of phonetic recognization rate
CN109152057A (en) * 2018-08-14 2019-01-04 Oppo广东移动通信有限公司 Timeslice distribution method, device and electronic equipment
US10531316B1 (en) * 2018-04-06 2020-01-07 Amazon Technologies, Inc. Methods and systems for using shared antennas for multi-protocol communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108370512A (en) * 2015-12-16 2018-08-03 高通股份有限公司 For the WLAN in coexistence scenario(WLAN)The technology of scanning
CN106358143A (en) * 2016-09-14 2017-01-25 深圳市金立通信设备有限公司 Antenna time-sharing multiplexing method and terminal
CN108520742A (en) * 2018-01-24 2018-09-11 联发科技(新加坡)私人有限公司 Improve method, speech recognition equipment and the playing device of phonetic recognization rate
US10531316B1 (en) * 2018-04-06 2020-01-07 Amazon Technologies, Inc. Methods and systems for using shared antennas for multi-protocol communication
CN109152057A (en) * 2018-08-14 2019-01-04 Oppo广东移动通信有限公司 Timeslice distribution method, device and electronic equipment

Similar Documents

Publication Publication Date Title
EP4030276A1 (en) Content continuation method and electronic device
US9961393B2 (en) Method and device for playing multimedia file
CN107493500B (en) Multimedia resource playing method and device
EP3163887A1 (en) Method and apparatus for performing media synchronization
KR20170061102A (en) Method, device and terminal for adjusting volume
CN106454644B (en) Audio playing method and device
CN107040591B (en) Method and device for controlling client
US20230119300A1 (en) Method for Resuming Playing Multimedia Content Between Devices
WO2020078330A1 (en) Voice call-based translation method and electronic device
CN113078921B (en) Data processing method, device and storage medium
CN107329727B (en) Volume control method and device and computer storage readable storage medium
CN111049984A (en) Audio playback control method and apparatus, and storage medium
CN106792024B (en) Multimedia information sharing method and device
CN114513571A (en) Device connection method and device, electronic device and readable storage medium
CN107371222B (en) Virtual card disabling method and device
CN112243142B (en) Method, device and storage medium for processing audio data
CN113329389A (en) Service providing method, device, equipment and storage medium based on Bluetooth connection
CN108206884B (en) Terminal, adjusting method for communication signal transmitted by terminal and electronic equipment
CN111885255A (en) Audio playback control method, audio playback control device, and storage medium
CN111130183A (en) Wireless charging method and device, wireless charging equipment and electronic equipment
WO2017031900A1 (en) Time delay control method and apparatus
CN114501089B (en) Screen-throwing communication method and device, electronic equipment and storage medium
CN107766280B (en) Terminal communication method and device
CN114416015A (en) Audio adjusting method and device, electronic equipment and readable storage medium
CN111246583A (en) Wireless connection control method, apparatus and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200605