CN112261634B - Bluetooth transmission control method and device, terminal equipment and storage medium - Google Patents

Bluetooth transmission control method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112261634B
CN112261634B CN202011120623.4A CN202011120623A CN112261634B CN 112261634 B CN112261634 B CN 112261634B CN 202011120623 A CN202011120623 A CN 202011120623A CN 112261634 B CN112261634 B CN 112261634B
Authority
CN
China
Prior art keywords
bluetooth
cache space
current
transmission speed
bluetooth 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
CN202011120623.4A
Other languages
Chinese (zh)
Other versions
CN112261634A (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.)
Shenzhen Didu Technology Co ltd
Original Assignee
Shenzhen Didu Technology 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 Shenzhen Didu Technology Co ltd filed Critical Shenzhen Didu Technology Co ltd
Priority to CN202011120623.4A priority Critical patent/CN112261634B/en
Publication of CN112261634A publication Critical patent/CN112261634A/en
Application granted granted Critical
Publication of CN112261634B publication Critical patent/CN112261634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0252Traffic management, e.g. flow control or congestion control per individual bearer or channel
    • H04W28/0257Traffic management, e.g. flow control or congestion control per individual bearer or channel the individual bearer or channel having a maximum bit rate or a bit rate guarantee
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a Bluetooth transmission control method, a Bluetooth transmission control device, terminal equipment and a storage medium. The embodiment of the invention divides a plurality of Bluetooth cache space ranges in advance; each Bluetooth cache space range corresponds to a Bluetooth transmission speed; starting a Bluetooth transmission function, and determining a current Bluetooth cache space according to the current memory size; according to the Bluetooth cache space range matched with the current Bluetooth cache space, the corresponding Bluetooth transmission speed is set to be the current Bluetooth transmission speed, so that Bluetooth transmission efficiency is improved, and other functions of the terminal equipment are prevented from being influenced.

Description

Bluetooth transmission control method and device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a bluetooth transmission control method, device, terminal equipment, and storage medium.
Background
At present, a bluetooth chip is commonly adopted on a mobile terminal, so that the mobile terminal supports a bluetooth function, and is in wireless connection with other bluetooth equipment such as an automobile, a watch and the like. Bluetooth is a wireless technology standard that enables short-range data exchange (using UHV radio waves in the ISM band of 2.4 to 2.485 GHz) between stationary devices, mobile devices and the building personal area network. Bluetooth technology was originally created by ericsson in 1994, when it was the alternative to RS232 data lines. The Bluetooth can be connected with a plurality of devices, so that the difficulty of data synchronization is overcome. Bluetooth is now managed by the bluetooth Special Interest Group (SIG). The bluetooth alliance has more than two tens of thousands of member companies worldwide, which are distributed in multiple fields of telecommunications, computers, networks, and consumer electronics. IEEE has listed bluetooth technology as IEEE 802.15.1, but this standard is no longer maintained today. The bluetooth technical alliance is responsible for supervising the development of bluetooth specifications, managing certification projects, and maintaining trademark rights and interests. The manufacturer's equipment must meet the standards of the bluetooth association to enter the market in the name of "bluetooth devices". At present, mobile terminals are connected in a common way through Bluetooth interconnection, but in actual use, when Bluetooth is used for data transmission, particularly when the mobile terminals are used for transmitting large files, a long time is needed to be transmitted, in the research and practice process of the prior art, the inventor discovers that when the files are transmitted by utilizing Bluetooth, the terminal equipment allocates a cache space for the Bluetooth, the default Bluetooth transmission speed sometimes causes the occupation time of the Bluetooth cache space to be too long, the Bluetooth transmission efficiency is low, other functions of the mobile terminals are influenced, and the performance of related applications is reduced.
Disclosure of Invention
The embodiment of the invention provides a Bluetooth transmission control method, a Bluetooth transmission control device, a terminal device and a storage medium, wherein a plurality of Bluetooth cache space ranges are divided in advance, and corresponding Bluetooth transmission speeds are matched, so that when a mobile terminal utilizes Bluetooth transmission files each time to allocate cache space to Bluetooth, reasonable Bluetooth transmission speeds can be used, bluetooth transmission efficiency is improved, and other functions of the terminal device are prevented from being influenced.
The embodiment of the invention provides a Bluetooth transmission control method, which comprises the following steps:
dividing a plurality of Bluetooth cache space ranges in advance;
each Bluetooth cache space range corresponds to a Bluetooth transmission speed;
starting a Bluetooth transmission function, and determining a current Bluetooth cache space according to the current memory size;
and setting the corresponding Bluetooth transmission speed as the current Bluetooth transmission speed according to the Bluetooth cache space range matched with the current Bluetooth cache space.
Optionally, in some embodiments of the present invention, the size of the multiple bluetooth buffer space ranges is the same or partially the same or different from each other.
Optionally, in some embodiments of the present invention, the bluetooth transmission speeds corresponding to the plurality of bluetooth buffer space ranges are different.
Optionally, in some embodiments of the present invention, the larger the bluetooth buffer space included in the bluetooth buffer space range, the larger the corresponding bluetooth transmission speed.
Optionally, in some embodiments of the present invention, the starting the bluetooth transmission function, determining the current bluetooth buffer space according to the current memory size includes:
starting the Bluetooth transmission function and determining the current memory size;
the current Bluetooth cache space is set, and the size of the current Bluetooth cache space is within 1-5% of the size of the current memory.
Optionally, in some embodiments of the present invention, the setting the corresponding bluetooth transmission speed to be the current bluetooth transmission speed according to the bluetooth buffer space range matched with the current bluetooth buffer space includes:
and if the current Bluetooth cache space is larger than the maximum Bluetooth cache space included in the Bluetooth cache space range, setting the Bluetooth transmission speed corresponding to the Bluetooth cache space range matched with the maximum Bluetooth cache space as the current Bluetooth transmission speed.
Optionally, in some embodiments of the present invention, the setting the corresponding bluetooth transmission speed to be the current bluetooth transmission speed according to the bluetooth buffer space range matched with the current bluetooth buffer space includes:
and if the current Bluetooth cache space is smaller than the minimum Bluetooth cache space included in the Bluetooth cache space range, setting the Bluetooth transmission speed corresponding to the Bluetooth cache space range matched with the minimum Bluetooth cache space as the current Bluetooth transmission speed.
Correspondingly, the embodiment of the invention also provides a Bluetooth transmission control device, which comprises:
the dividing unit is used for dividing a plurality of Bluetooth cache space ranges in advance;
the corresponding unit is used for enabling each Bluetooth cache space range to correspond to a Bluetooth transmission speed;
the determining unit is used for starting the Bluetooth transmission function and determining the current Bluetooth cache space according to the current memory size;
the setting unit is used for setting the corresponding Bluetooth transmission speed as the current Bluetooth transmission speed according to the Bluetooth cache space range matched with the current Bluetooth cache space.
Also, an embodiment of the present invention further provides a terminal device, including:
a memory for storing a computer program;
a processor for implementing the steps of any one of the mobile bluetooth transmission control methods when executing the computer program.
In addition, the embodiment of the invention also provides a storage medium, and the storage medium stores a computer program, and the computer program realizes any step of the Bluetooth transmission control method when being executed by a processor.
The embodiment of the invention provides a Bluetooth transmission control method, a device, a terminal device and a storage medium, wherein a plurality of Bluetooth cache space ranges are divided in advance by a mobile terminal, the size of each Bluetooth cache space range can be the same, the parts of each Bluetooth cache space range can be the same, the Bluetooth cache space ranges can also be different, each Bluetooth cache space range corresponds to a specific Bluetooth transmission speed, if the Bluetooth cache space range comprises a larger Bluetooth cache space, the Bluetooth transmission speed corresponding to the Bluetooth cache space range is larger, when the terminal device utilizes a Bluetooth to transmit a file, the terminal device starts a Bluetooth transmission function, allocates a certain cache space for Bluetooth, namely the terminal device determines the size of a current memory, sets the current Bluetooth cache space, the size of the current Bluetooth cache space is between 1% and 5% of the size of the current memory, and sets the Bluetooth transmission speed corresponding to the Bluetooth cache space range as the current Bluetooth transmission speed, thereby improving the Bluetooth transmission efficiency and avoiding the influence of other functions of the terminal device.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a scenario of a bluetooth transmission control method according to an embodiment of the present invention;
fig. 2 is a flowchart of a bluetooth transmission control method according to an embodiment of the present invention;
fig. 3 is another flowchart of a bluetooth transmission control method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a bluetooth transmission control device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
The embodiment of the invention provides a Bluetooth transmission control method, a Bluetooth transmission control device, terminal equipment and a storage medium. The device can be integrated in a terminal, and the terminal can be a mobile phone, a tablet computer, a notebook computer, a smart watch and other devices.
For example, as shown in fig. 1, the mobile terminal divides a plurality of bluetooth buffer space ranges in advance, the size of each bluetooth buffer space range may be the same, or may be partially the same, for example, the bluetooth buffer space contained in the bluetooth buffer space range lk_1 is 0Mb to 3Mb, the bluetooth buffer space contained in the bluetooth buffer space range lk_2 is 3Mb to 10Mb, the bluetooth buffer space contained in the bluetooth buffer space range lk_3 is 10Mb to 50Mb, each bluetooth buffer space corresponds to a specific bluetooth transmission speed, if the bluetooth buffer space contained in the bluetooth buffer space range is larger, the bluetooth transmission speed corresponding to the bluetooth buffer space range is larger, for example, the bluetooth transmission speed sd_1 corresponding to the bluetooth buffer space range lk_1 is 5Mb/s, the bluetooth transmission speed sd_2 corresponding to the bluetooth buffer space range lk_2 is 8Mb/s, the bluetooth transmission speed sd_3 corresponding to the bluetooth buffer space is 16Mb/s, when the terminal device utilizes a bluetooth file, the current transmission speed of the terminal device is a bluetooth file is a current transmission speed of a bluetooth file, that is a current transmission speed of a current transmission range of a current transmission device is a bluetooth file, and the current transmission speed of the current transmission range is a current transmission speed of a current transmission device is a current transmission range of a bluetooth file, and the current transmission speed is set between the current transmission device and the current transmission speed of the current transmission device is a current transmission speed of a current transmission range of a bluetooth file.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The present embodiment will be described from the perspective of a bluetooth transmission control device, which may be specifically integrated in a terminal device, and the terminal device may include a notebook computer, a tablet computer, a smart phone, a smart watch, and the like.
A bluetooth transmission control method, comprising: dividing a plurality of Bluetooth cache space ranges in advance; each Bluetooth cache space range corresponds to a Bluetooth transmission speed; starting a Bluetooth transmission function, and determining a current Bluetooth cache space according to the current memory size; and setting the corresponding Bluetooth transmission speed as the current Bluetooth transmission speed according to the Bluetooth cache space range matched with the current Bluetooth cache space.
As shown in fig. 2, the specific flow of the bluetooth transmission control method is as follows:
step 201, dividing a plurality of bluetooth buffer space ranges in advance.
In some embodiments, please refer to fig. 3 together, step 301 is performed, where the terminal device divides a plurality of bluetooth buffer space ranges in advance, for example, lk_1, lk_2, lk_3, etc., each bluetooth buffer space range includes one or more bluetooth buffer spaces, i.e. the size of each bluetooth buffer space range is not limited, and may be flexibly set according to practical situations.
In one embodiment, each bluetooth buffer space range is equal in size, e.g., bluetooth buffer space range lk_1 contains a bluetooth buffer space of 0Mb to 10Mb, bluetooth buffer space range lk_2 contains a bluetooth buffer space of 10Mb to 20Mb, and bluetooth buffer space range lk_3 contains a bluetooth buffer space of 20Mb to 30Mb.
In one embodiment, each of the bluetooth buffer space ranges has a partially identical size and a partially different size, for example, the bluetooth buffer space range lk_1 includes a bluetooth buffer space of 0Mb to 3Mb, the bluetooth buffer space range lk_2 includes a bluetooth buffer space of 3Mb to 6Mb, and the bluetooth buffer space range lk_3 includes a bluetooth buffer space of 6Mb to 50Mb.
In one embodiment, each bluetooth buffer space range has a different size, for example, the bluetooth buffer space range lk_1 includes a bluetooth buffer space of 0Mb to 3Mb, the bluetooth buffer space range lk_2 includes a bluetooth buffer space of 3Mb to 20Mb, and the bluetooth buffer space range lk_3 includes a bluetooth buffer space of 20Mb to 50Mb.
In one embodiment, two adjacent bluetooth buffer space ranges are consecutive, i.e. the largest bluetooth buffer space comprised by the former bluetooth buffer space range is the same as the smallest bluetooth buffer space comprised by the latter bluetooth buffer space range.
Step 202, each bluetooth buffer space range corresponds to a bluetooth transmission speed.
In some embodiments, please refer to fig. 3 together, after a plurality of bluetooth buffer space ranges are divided, step 302 is performed, a plurality of bluetooth transmission speeds are set according to the plurality of bluetooth buffer space ranges, step 303 is performed, and a corresponding bluetooth transmission speed is matched for each bluetooth buffer space range, i.e. the terminal device makes all bluetooth buffer spaces included in each bluetooth buffer space range transmit a file at a bluetooth forward speed corresponding to the bluetooth buffer space range.
In one embodiment, each bluetooth buffer space range corresponds to a bluetooth transmission speed, and if the bluetooth buffer space range includes a larger bluetooth buffer space, the bluetooth transmission speed corresponding to the bluetooth buffer space range is larger, for example, if the bluetooth buffer space range lk_1 includes a bluetooth buffer space of 0Mb to 3Mb, the bluetooth transmission speed sd_1 corresponding to the bluetooth buffer space range is 5Mb/s, if the bluetooth buffer space range lk_2 includes a bluetooth buffer space of 3Mb to 20Mb, the bluetooth transmission speed sd_2 corresponding to the bluetooth buffer space range is 8Mb/s, the bluetooth buffer space included in the bluetooth buffer space range lk_3 is 20Mb to 50Mb, the bluetooth transmission speed sd_3 corresponding to the bluetooth buffer space range is 16Mb/s,
step 203, starting a bluetooth transmission function, and determining a current bluetooth cache space according to the current memory size.
In some embodiments, please refer to fig. 3 together, step 304 is executed, where when the terminal device uses bluetooth to transmit a file, the terminal device allocates a certain buffer space for bluetooth, that is, the terminal device determines the size of the current memory, sets the current bluetooth buffer space according to the size of the current memory, and the size of the current bluetooth buffer space is between 1% and 5% of the size of the current memory.
Step 204, setting the corresponding bluetooth transmission speed as the current bluetooth transmission speed according to the bluetooth cache space range matched with the current bluetooth cache space.
In some embodiments, please refer to fig. 3 together, after determining the current bluetooth buffer space by the terminal device when using the bluetooth transmission file, step 305 is executed to determine whether the current bluetooth buffer space is within the bluetooth buffer space range, if yes, step 306 is executed to determine the bluetooth buffer space range matched with the current bluetooth buffer space, step 311 is executed to set the bluetooth transmission speed corresponding to the bluetooth buffer space range as the current bluetooth transmission speed, and the terminal device uses the current bluetooth transmission speed to transmit the file.
In one embodiment, please refer to fig. 3 together, if not, step 307 is executed, if the current bluetooth buffer space is greater than the maximum bluetooth buffer space included in the bluetooth buffer space range, step 308 is executed, and the bluetooth transmission speed corresponding to the bluetooth buffer space range matched with the maximum bluetooth buffer space is set as the current bluetooth transmission speed.
In one embodiment, please refer to fig. 3 together, step 309 is executed, and if the current bluetooth buffer space is smaller than the minimum bluetooth buffer space included in the bluetooth buffer space range, step 310 is executed, and the bluetooth transmission speed corresponding to the bluetooth buffer space range matched with the minimum bluetooth buffer space is set as the current bluetooth transmission speed.
In order to better implement the above method, the embodiment of the present invention may further provide a bluetooth transmission control device, where the bluetooth transmission control device may be specifically integrated in a network device, and the network device may be a device such as a terminal.
For example, as shown in fig. 4, the bluetooth transmission control apparatus may include: a dividing unit 401, a corresponding unit 402, a determining unit 403, and a setting unit 404, as follows:
(1) Dividing unit 401
A dividing unit 401, configured to divide a plurality of bluetooth buffer space ranges in advance.
For example, the terminal device divides a plurality of bluetooth buffer space ranges, e.g., lk_1, lk_2, lk_3, etc., in advance using the dividing unit 401, each bluetooth buffer space range including one or more bluetooth buffer spaces, i.e., the size of each bluetooth buffer space range is not limited, and may be flexibly set according to practical situations.
(2) Corresponding unit 402
A corresponding unit 402, configured to make each bluetooth buffer space range correspond to a bluetooth transmission speed.
For example, the terminal device matches a corresponding bluetooth transmission speed for each bluetooth buffer space range using the corresponding unit 402, i.e. the terminal device causes all bluetooth buffer spaces included in each bluetooth buffer space range to transmit a file with a bluetooth forward speed corresponding to the bluetooth buffer space range.
(3) Determination unit 403
A determining unit 403, configured to start a bluetooth transmission function, and determine a current bluetooth buffer space according to a current memory size.
For example, when the terminal device transmits a file using bluetooth, the terminal device allocates a certain buffer space for bluetooth using the determining unit 403, that is, the terminal device determines the size of the current memory, sets the current bluetooth buffer space, and the size of the current bluetooth buffer space is between 1% and 5% of the size of the current memory.
(4) Setting unit 404
And a setting unit 404, configured to set the corresponding bluetooth transmission speed as the current bluetooth transmission speed according to the bluetooth buffer space range matched with the current bluetooth buffer space.
For example, when a file is transmitted by using bluetooth, after the terminal device determines the current bluetooth buffer space by using the determining unit 403, the terminal device first determines the bluetooth buffer space range matched with the current bluetooth buffer space by using the setting unit 404, and then sets the bluetooth transmission speed corresponding to the bluetooth buffer space range as the current bluetooth transmission speed by using the setting unit 404, and the terminal device transmits the file by using the current bluetooth transmission speed.
Accordingly, embodiments of the present invention also provide a terminal, as shown in fig. 5, which may include a Radio Frequency (RF) circuit 501, a memory 502 including one or more computer readable storage media, an input unit 503, a display unit 504, a sensor 505, an audio circuit 506, a wireless fidelity (WiFi, wireless Fidelity) module 507, a processor 508 including one or more processing cores, and a power supply 509. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 5 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the RF circuit 501 may be configured to receive and send information or signals during a call, and in particular, after receiving downlink information of a base station, the downlink information is processed by one or more processors 508; in addition, data relating to uplink is transmitted to the base station. Typically, RF circuitry 501 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, low Noise Amplifier), a duplexer, and the like. In addition, RF circuitry 501 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (GSM, global System of Mobile communication), general packet radio service (GPRS, general Packet Radio Service), code division multiple access (CDMA, code Division Multiple Access), wideband code division multiple access (WCDMA, wideband Code Division Multiple Access), long term evolution (LTE, long Term Evolution), email, short message service (SMS, short Messaging Service), and the like.
The memory 502 may be used to store software programs and modules that the processor 508 performs various functional applications and data processing by executing the software programs and modules stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the terminal, etc. In addition, memory 502 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. Accordingly, the memory 502 may also include a memory controller to provide access to the memory 502 by the processor 508 and the input unit 503.
The input unit 503 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface, as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device and converts it into touch point coordinates, which are then sent to the processor 508, and can receive commands from the processor 508 and execute them. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. The input unit 503 may comprise other input devices besides a touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 504 may be used to display information input by a user or information provided to the user and various graphical user interfaces of the terminal, which may be composed of graphics, text, icons, video and any combination thereof. The display unit 504 may include a display panel, which may be optionally configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a display panel, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is passed to the processor 508 to determine the type of touch event, and the processor 508 then provides a corresponding visual output on the display panel based on the type of touch event. Although in fig. 5 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement the input and output functions.
The terminal may also include at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or backlight when the terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile phone is stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the terminal are not described in detail herein.
Audio circuitry 506, speakers, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 506 may transmit the received electrical signal after audio data conversion to a speaker, where the electrical signal is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 506 and converted into audio data, which are processed by the audio data output processor 508, and then sent to, for example, another terminal via the RF circuit 501, or the audio data are output to the memory 502 for further processing. The audio circuit 506 may also include an ear bud jack to provide communication of the peripheral ear bud with the terminal.
The WiFi belongs to a short-distance wireless transmission technology, and the terminal can help the user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 507, so that wireless broadband internet access is provided for the user. Although fig. 5 shows a WiFi module 507, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as required within a range that does not change the essence of the invention.
The processor 508 is a control center of the terminal, and connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 502, and calling data stored in the memory 502, thereby performing overall monitoring of the mobile phone. Optionally, the processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The terminal also includes a power supply 509 (e.g., a battery) for powering the various components, which may be logically connected to the processor 508 via a power management system so as to provide for the management of charge, discharge, and power consumption by the power management system. The power supply 509 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, etc., which will not be described herein. In this embodiment, the processor 508 in the terminal loads executable files corresponding to the processes of one or more application programs into the memory 502 according to the following instructions, and the processor 508 executes the application programs stored in the memory 502, so as to implement various functions: dividing a plurality of Bluetooth cache space ranges in advance; each Bluetooth cache space range corresponds to a Bluetooth transmission speed; starting a Bluetooth transmission function, and determining a current Bluetooth cache space according to the current memory size; and setting the corresponding Bluetooth transmission speed as the current Bluetooth transmission speed according to the Bluetooth cache space range matched with the current Bluetooth cache space.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
The foregoing describes in detail a bluetooth transmission control method, apparatus, terminal device and storage medium provided in the embodiments of the present invention, and specific examples are applied to illustrate the principles and implementations of the present invention, where the foregoing description of the embodiments is only for helping to understand the technical solution and core idea of the present invention; those of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (8)

1. A bluetooth transmission control method, comprising:
dividing a plurality of Bluetooth cache space ranges in advance, wherein the largest Bluetooth cache space included in the former Bluetooth cache space range is the same as the smallest Bluetooth cache space included in the latter Bluetooth cache space range in two adjacent Bluetooth cache space ranges of the plurality of Bluetooth cache space ranges;
each Bluetooth cache space range corresponds to a Bluetooth transmission speed, and the Bluetooth transmission speeds corresponding to the Bluetooth cache space ranges are different;
starting a Bluetooth transmission function, determining the current memory size, and distributing a current Bluetooth cache space for Bluetooth based on the current memory size, wherein the current Bluetooth cache space is within 1-5% of the current memory size;
and setting the corresponding Bluetooth transmission speed as the current Bluetooth transmission speed according to the Bluetooth cache space range matched with the current Bluetooth cache space.
2. The method of claim 1, wherein the plurality of bluetooth buffer spatial ranges are the same or partially the same or different from each other in size.
3. The method of claim 1, wherein the larger the bluetooth buffer space is comprised in the bluetooth buffer space range, the larger the corresponding bluetooth transmission speed is.
4. The method according to claim 1, wherein the setting the corresponding bluetooth transmission speed as the current bluetooth transmission speed according to the bluetooth buffer space range matched with the current bluetooth buffer space includes:
and if the current Bluetooth cache space is larger than the maximum Bluetooth cache space included in the Bluetooth cache space range, setting the Bluetooth transmission speed corresponding to the Bluetooth cache space range matched with the maximum Bluetooth cache space as the current Bluetooth transmission speed.
5. The method according to claim 1, wherein the setting the corresponding bluetooth transmission speed as the current bluetooth transmission speed according to the bluetooth buffer space range matched with the current bluetooth buffer space includes:
and if the current Bluetooth cache space is smaller than the minimum Bluetooth cache space included in the Bluetooth cache space range, setting the Bluetooth transmission speed corresponding to the Bluetooth cache space range matched with the minimum Bluetooth cache space as the current Bluetooth transmission speed.
6. A bluetooth transmission control apparatus, comprising:
the division unit is used for dividing a plurality of Bluetooth cache space ranges in advance, wherein the maximum Bluetooth cache space included in the former Bluetooth cache space range is the same as the minimum Bluetooth cache space included in the latter Bluetooth cache space range in two adjacent Bluetooth cache space ranges of the plurality of Bluetooth cache space ranges;
the corresponding unit is used for enabling each Bluetooth cache space range to correspond to a Bluetooth transmission speed, and the Bluetooth transmission speeds corresponding to the Bluetooth cache space ranges are different;
the determining unit is used for starting a Bluetooth transmission function, determining the size of a current memory, and distributing a current Bluetooth cache space for Bluetooth based on the size of the current memory, wherein the size of the current Bluetooth cache space is within 1-5% of the size of the current memory;
the setting unit is used for setting the corresponding Bluetooth transmission speed as the current Bluetooth transmission speed according to the Bluetooth cache space range matched with the current Bluetooth cache space.
7. A terminal device, comprising:
a memory for storing a computer program;
a processor for implementing the steps in the bluetooth transmission control method according to any one of claims 1 to 5 when executing the computer program.
8. A storage medium having stored thereon a computer program which when executed by a processor performs the steps of the bluetooth transmission control method according to any one of claims 1 to 5.
CN202011120623.4A 2020-10-19 2020-10-19 Bluetooth transmission control method and device, terminal equipment and storage medium Active CN112261634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011120623.4A CN112261634B (en) 2020-10-19 2020-10-19 Bluetooth transmission control method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011120623.4A CN112261634B (en) 2020-10-19 2020-10-19 Bluetooth transmission control method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112261634A CN112261634A (en) 2021-01-22
CN112261634B true CN112261634B (en) 2023-08-08

Family

ID=74243909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011120623.4A Active CN112261634B (en) 2020-10-19 2020-10-19 Bluetooth transmission control method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112261634B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114696961B (en) * 2022-05-23 2022-11-15 荣耀终端有限公司 Multimedia data transmission method and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859318A (en) * 2005-12-30 2006-11-08 华为技术有限公司 News transmission system and its news buffering device and method
CN102264103A (en) * 2010-05-28 2011-11-30 大唐移动通信设备有限公司 Method and device for sending data
CN102572410A (en) * 2010-12-28 2012-07-11 索尼公司 Transmitting apparatus, transmitting method, and program
CN103501327A (en) * 2013-09-25 2014-01-08 北京奇虎科技有限公司 Downloading method and device based on mobile terminal application
CN104579599A (en) * 2013-10-11 2015-04-29 联发科技股份有限公司 Buffer allocating method and user equipment
CN106569913A (en) * 2016-10-27 2017-04-19 广东欧珀移动通信有限公司 Method and device for backing up data by terminal
CN109040231A (en) * 2018-07-31 2018-12-18 优视科技新加坡有限公司 Data transmission method, device, equipment/terminal/server and computer readable storage medium
CN110062425A (en) * 2019-04-08 2019-07-26 京信通信系统(中国)有限公司 Control method, device, computer equipment and the storage medium of network transmission speed

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5365558B2 (en) * 2010-03-17 2013-12-11 富士通株式会社 Wireless network control device, wireless network control method, and wireless network control system
GB2493504B (en) * 2011-07-25 2017-11-29 Qualcomm Technologies Int Ltd Data flow control

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859318A (en) * 2005-12-30 2006-11-08 华为技术有限公司 News transmission system and its news buffering device and method
CN102264103A (en) * 2010-05-28 2011-11-30 大唐移动通信设备有限公司 Method and device for sending data
CN102572410A (en) * 2010-12-28 2012-07-11 索尼公司 Transmitting apparatus, transmitting method, and program
CN103501327A (en) * 2013-09-25 2014-01-08 北京奇虎科技有限公司 Downloading method and device based on mobile terminal application
CN104579599A (en) * 2013-10-11 2015-04-29 联发科技股份有限公司 Buffer allocating method and user equipment
CN106569913A (en) * 2016-10-27 2017-04-19 广东欧珀移动通信有限公司 Method and device for backing up data by terminal
CN109040231A (en) * 2018-07-31 2018-12-18 优视科技新加坡有限公司 Data transmission method, device, equipment/terminal/server and computer readable storage medium
CN110062425A (en) * 2019-04-08 2019-07-26 京信通信系统(中国)有限公司 Control method, device, computer equipment and the storage medium of network transmission speed

Also Published As

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

Similar Documents

Publication Publication Date Title
CN107391259B (en) Resource processing method and device, computer readable storage medium and mobile terminal
CN106786962B (en) Charging control method and device and terminal
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
CN107172671B (en) Channel switching method, device, storage medium and terminal
WO2015081880A1 (en) Method, device and system for processing cluster service attribute
CN106936516B (en) Display screen display state control method, storage medium and terminal
CN112261634B (en) Bluetooth transmission control method and device, terminal equipment and storage medium
CN106899959B (en) Method, device, terminal and system for obtaining SIM card information
CN111045737B (en) Equipment identifier acquisition method, device, terminal equipment and storage medium
CN106374988B (en) Method, device and terminal for configuring inter-downlink-band carrier aggregation
CN110011035B (en) Antenna structure and electronic device
CN111327343A (en) Common receiving channel radio frequency device, method and mobile terminal
CN110677456A (en) Resource allocation method and equipment
CN106817370B (en) Method and device for transmitting network data
CN106815077B (en) Data processing method based on intelligent device architecture and intelligent device
CN106817751B (en) Data sending method and mobile terminal
CN106547400B (en) Method, device and terminal for reporting information
CN112492554A (en) Data transmission method, device, storage medium and terminal
CN110913022A (en) Method, device and system for downloading network file of mobile terminal and storage medium
CN111885591A (en) Network connection method, device, storage medium and terminal
CN110891304B (en) gPS power consumption control method for mobile terminal
CN111638897B (en) System updating method, device, terminal equipment and storage medium
CN111093173B (en) Method and device for limiting starting of STK application
CN111405649B (en) Information transmission method and device and mobile terminal
CN112199245B (en) Mobile terminal screen detection method, system, storage medium and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20230613

Address after: D402, Ganghong Comprehensive Building, Building 2, No. 7 Xiangye Road, Xialilang Community, Nanwan Street, Shenzhen City, Guangdong Province, 518000

Applicant after: Shenzhen Didu Technology Co.,Ltd.

Address before: 6 / F, No. B5, Lane 999, Yangfan Road, Meixu street, Yinzhou District, Ningbo City, Zhejiang Province

Applicant before: TCL COMMUNICATION (NINGBO) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant