CN112367652A - Bluetooth transmission method, device, storage medium and mobile terminal - Google Patents

Bluetooth transmission method, device, storage medium and mobile terminal Download PDF

Info

Publication number
CN112367652A
CN112367652A CN202011150335.3A CN202011150335A CN112367652A CN 112367652 A CN112367652 A CN 112367652A CN 202011150335 A CN202011150335 A CN 202011150335A CN 112367652 A CN112367652 A CN 112367652A
Authority
CN
China
Prior art keywords
bluetooth
mobile terminal
memory
data transmission
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.)
Pending
Application number
CN202011150335.3A
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.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN202011150335.3A priority Critical patent/CN112367652A/en
Publication of CN112367652A publication Critical patent/CN112367652A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a Bluetooth transmission method, a device, a storage medium and a mobile terminal, wherein the method comprises the following steps: acquiring a plurality of Bluetooth data transmission packets; storing the plurality of Bluetooth data transmission packets into a memory of the mobile terminal; and transmitting all the Bluetooth data transmission packets stored in the memory to an external device at one time based on the Bluetooth protocol. This application through with a plurality of bluetooth data transmission package storage extremely in mobile terminal's a memory, and will all bluetooth data transmission package that store in the memory once only send to an external equipment based on the bluetooth agreement to reduce at every turn and send a bluetooth data package and external equipment alone and need establish the time of bluetooth data connection many times, thereby effectively reduce mobile terminal's energy consumption.

Description

Bluetooth transmission method, device, storage medium and mobile terminal
Technical Field
The present application belongs to the field of computer technologies, and in particular, to a bluetooth transmission method, apparatus, storage medium, and mobile terminal.
Background
At present, a Bluetooth chip is generally adopted on a mobile terminal, so that the mobile terminal supports the Bluetooth function, and is wirelessly connected with other equipment with the Bluetooth function, 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 fixed devices, mobile devices and building personal area networks. Bluetooth was originally created by ericsson in 1994, when it was an alternative to RS232 data lines. Bluetooth can be connected with a plurality of devices, and the problem of data synchronization is solved. Currently bluetooth is managed by the bluetooth special association (SIG for short). The bluetooth alliance is responsible for supervising the development of bluetooth specifications, managing authentication projects, and maintaining trademark rights and interests. The manufacturer's devices must conform to the standards of the bluetooth alliance in order to enter the market under the name of "bluetooth devices".
At present, mobile terminals are interconnected through bluetooth in a common connection mode, but in practical use, when a plurality of files are transmitted for a long time by using bluetooth, the bluetooth transmission process may be intermittent, and when the files are not transmitted, the bluetooth function is still started, which also increases the power consumption of the mobile terminals. If the file transmission is not performed for a long time and the bluetooth function is turned on, the power consumption of the mobile terminal is increased and the cruising ability of the mobile terminal is weakened.
Disclosure of Invention
The embodiment of the application provides a Bluetooth transmission method, a Bluetooth transmission device, a storage medium and a mobile terminal, which are used for solving the problems that a plurality of files are often transmitted for a long time by using Bluetooth, the Bluetooth transmission process is possibly intermittent, and the power consumption of the mobile terminal is increased by starting the Bluetooth function when the files are not transmitted.
The application provides a Bluetooth transmission method, which comprises the following steps: acquiring a plurality of Bluetooth data transmission packets; storing the plurality of Bluetooth data transmission packets into a memory of the mobile terminal; and transmitting all the Bluetooth data transmission packets stored in the memory to an external device at one time based on the Bluetooth protocol.
Further, before the step of obtaining a plurality of bluetooth data transmission packets, the method further comprises the steps of: and detecting whether the mobile terminal is in a screen-off state.
Further, after the step of detecting whether the mobile terminal is in the screen-off state, the method further comprises the steps of: and when the mobile terminal is detected to be in the screen-off state, the Bluetooth transmission function is started.
Further, after the step of transmitting all bluetooth data transmission packets stored in the memory to an external device at once based on the bluetooth protocol, the method further comprises the steps of: detecting whether the plurality of Bluetooth data transmission packets are transmitted completely; and when the plurality of Bluetooth data transmission packets are detected to be transmitted completely, the Bluetooth transmission function is closed.
The application also provides a Bluetooth transmission device, which comprises a data acquisition unit, a data transmission unit and a Bluetooth module, wherein the data acquisition unit is used for acquiring a plurality of Bluetooth data transmission packets; the data storage unit is used for caching the plurality of Bluetooth data transmission packets into a memory in the mobile terminal at the same time; and a data sending unit, which is used for sending all the Bluetooth data transmission packets stored in the memory to an external device at one time based on the Bluetooth protocol.
Further, the bluetooth transmission apparatus further includes: and the screen-off judging unit is used for detecting whether the mobile terminal is in a screen-off state.
Further, the bluetooth transmission apparatus further includes: and the Bluetooth starting unit is used for starting the Bluetooth transmission function when detecting that the mobile terminal is in a screen-off state.
Further, the bluetooth transmission apparatus further includes: the data detection unit is used for detecting whether the transmission of the plurality of Bluetooth data transmission packets is finished; and a Bluetooth closing unit for closing the Bluetooth transmission function when detecting that the plurality of Bluetooth data transmission packets are transmitted completely.
The present application further provides a storage medium, wherein the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the bluetooth transmission method.
The application also provides a terminal device, which comprises a processor and a memory, wherein the processor is electrically connected with the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps of the Bluetooth transmission method.
The embodiment of the application provides a Bluetooth transmission method, a Bluetooth transmission device, a Bluetooth transmission medium and a mobile terminal, wherein a plurality of Bluetooth data transmission packets are stored in a memory of the mobile terminal, and all the Bluetooth data transmission packets stored in the memory are sent to an external device at one time based on a Bluetooth protocol, so that the time for independently sending one Bluetooth data packet and the external device to establish Bluetooth data connection for multiple times is reduced, and the energy consumption of the mobile terminal is effectively reduced.
Drawings
The technical solutions and advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
Fig. 1 is a flowchart illustrating steps of a bluetooth transmission method according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a bluetooth transmission apparatus according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and the like in the description and in the claims of the present application and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so described are interchangeable under appropriate circumstances. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
In particular embodiments, the drawings discussed below and the various embodiments used to describe the principles of the present disclosure are by way of illustration only and should not be construed to limit the scope of the present disclosure. Those skilled in the art will understand that the principles of the present application may be implemented in any suitably arranged system. Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. Further, a terminal according to an exemplary embodiment will be described in detail with reference to the accompanying drawings. Like reference symbols in the various drawings indicate like elements.
The terminology used in the detailed description is for the purpose of describing particular embodiments only and is not intended to be limiting of the concepts of the present application. Unless the context clearly dictates otherwise, expressions used in the singular form encompass expressions in the plural form. In the present specification, it will be understood that terms such as "including," "having," and "containing" are intended to specify the presence of the features, integers, steps, acts, or combinations thereof disclosed in the specification, and are not intended to preclude the presence or addition of one or more other features, integers, steps, acts, or combinations thereof. Like reference symbols in the various drawings indicate like elements.
As shown in fig. 1, the present application provides a flowchart of the steps of a bluetooth transmission method. The method comprises the following steps:
step S110: and detecting whether the mobile terminal is in a screen-off state.
In this step, when the mobile terminal needs to transmit a large file, which usually requires a long time, the mobile terminal enters a screen-off state for saving power.
Step S120: and when the mobile terminal is detected to be in the screen-off state, the Bluetooth transmission function is started.
In this step, only the bluetooth function is activated in the screen-off state to perform the operation of file transfer. In addition, other functions are not started in the screen-off state, so that on one hand, the low power consumption of the mobile terminal can be maintained, and on the other hand, the influence of the started other functions on the Bluetooth transmission can be avoided.
Step S130: a plurality of Bluetooth data transmission packets are acquired.
In this step, when the bluetooth function is started, all bluetooth data transmission packets that need to be transmitted by bluetooth are acquired first.
Step S140: and storing the plurality of Bluetooth data transmission packets into a memory of the mobile terminal.
In this step, since the bluetooth transmission is based on the data stored in the memory, the data to be transmitted are all stored in the memory, which saves time for the subsequent bluetooth transmission. Meanwhile, a plurality of Bluetooth data transmission packets can be stored in the memory at the same time, so that the time for storing data by Bluetooth is further reduced.
Step S150: and all the Bluetooth data transmission packets stored in the memory are sent to an external device at one time based on the Bluetooth protocol.
In this step, since during bluetooth transmission, routing and connection establishment are required to be performed with a relevant transmission source, if the amount of bluetooth data transmission packet data to be transmitted by bluetooth of an application program is small, after the transmission of the application program is completed, bluetooth transmission is performed on the remaining bluetooth data transmission packets with small data amounts of the application program, which may cause the situation that the transmission of the bluetooth data transmission packets is completed when the bluetooth transmission speed may not reach a higher transmission speed, and at the same time, much time is spent on routing and connection establishment for many times to increase the power consumption of the mobile terminal, thereby weakening the cruising ability of the mobile terminal. Therefore, when the data volume of the bluetooth data transmission packet to be bluetooth-transmitted is larger (i.e. a plurality of bluetooth data transmission packets are stored in a memory to form a bluetooth data transmission packet with larger data volume), the bluetooth transmission speed is easily maintained at a higher transmission speed, and more time can be used for bluetooth transmission.
Step S160: and detecting whether the transmission of the plurality of Bluetooth data transmission packets is finished.
Step S170: and when the plurality of Bluetooth data transmission packets are detected to be transmitted completely, the Bluetooth transmission function is closed.
In this step, when it is detected that the plurality of bluetooth data transmission packets are completely transmitted, the bluetooth transmission function is turned off, so that the mobile terminal can maintain a higher power saving state.
The embodiment of the application provides a Bluetooth transmission method, a Bluetooth transmission device, a Bluetooth transmission medium and a mobile terminal, wherein a plurality of Bluetooth data transmission packets are stored in a memory of the mobile terminal, and all the Bluetooth data transmission packets stored in the memory are sent to an external device at one time based on a Bluetooth protocol, so that the time for independently sending one Bluetooth data packet and the external device to establish Bluetooth data connection for multiple times is reduced, and the energy consumption of the mobile terminal is effectively reduced.
As shown in fig. 2, the present application provides a schematic structural diagram of a bluetooth transmission apparatus, where the bluetooth transmission apparatus includes: a screen-off judging unit 10, a bluetooth opening unit 20, a data acquiring unit 30, a data storing unit 40, a data transmitting unit 50, a data detecting unit 60 and a bluetooth closing unit 70.
The screen-off judging unit 10 is used for detecting whether the mobile terminal is in a screen-off state. In this embodiment, when the mobile terminal often needs to transmit a large file for a long time, the mobile terminal enters the off-screen state for power saving.
The bluetooth enabling unit 20 is configured to enable a bluetooth transmission function when detecting that the mobile terminal is in a screen-off state. In this embodiment, in order to enable the bluetooth to complete the file transmission, only the bluetooth function is activated in the off-screen state.
The data acquiring unit 30 is configured to acquire a plurality of bluetooth data transmission packets. In this embodiment, when the bluetooth function is started, all bluetooth data transmission packets that need to be transmitted via bluetooth are acquired first.
The data storage unit 40 is configured to buffer the bluetooth data transmission packets to a memory in the mobile terminal at the same time. In this embodiment, since the bluetooth transmission is based on the data stored in the memory, the data to be transmitted is stored in the memory, which saves time for the subsequent bluetooth transmission. Meanwhile, a plurality of Bluetooth data packets can be stored in the memory at the same time, so that the time for storing data by Bluetooth is further reduced.
The data sending unit 50 is configured to send the plurality of bluetooth data transmission packets to a target bluetooth. In this embodiment, when bluetooth transmission is performed, routing and connection establishment need to be performed with a related transmission source first, and when the size of the content of bluetooth transmission is small, an application program performs bluetooth transmission for a next application program after the transmission is completed, which may cause a situation that a bluetooth data transmission packet is completely transmitted when the bluetooth transmission speed may not reach a higher transmission speed yet, and may also take a long time for routing and connection establishment many times to increase power consumption of the mobile terminal, thereby weakening cruising ability of the mobile terminal. Therefore, when the data volume of the bluetooth data transmission packet to be bluetooth-transmitted is larger (i.e. a plurality of bluetooth data transmission packets are stored in a memory to form a bluetooth data transmission packet with larger data volume), the bluetooth transmission speed is easily maintained at a higher transmission speed, and more time can be used for bluetooth transmission.
The data detecting unit 60 is configured to detect whether the plurality of bluetooth data transmission packets are completely transmitted. The bluetooth shutdown unit 70 is configured to shut down the bluetooth transmission function when detecting that the plurality of bluetooth data transmission packets are completely transmitted. In this embodiment, when it is detected that the plurality of bluetooth data transmission packets are completely transmitted, the bluetooth transmission function is turned off, so that the mobile terminal can maintain a higher power saving state.
The embodiment of the application provides a Bluetooth transmission method, a Bluetooth transmission device, a Bluetooth transmission medium and a mobile terminal, wherein a plurality of Bluetooth data transmission packets are stored in a memory of the mobile terminal, and all the Bluetooth data transmission packets stored in the memory are sent to an external device at one time based on a Bluetooth protocol, so that the time for independently sending one Bluetooth data packet and the external device to establish Bluetooth data connection for multiple times is reduced, and the energy consumption of the mobile terminal is effectively reduced.
The embodiment of the application further provides a mobile terminal, and the mobile terminal can be a smart phone, a tablet computer and other devices. Specifically, as shown in fig. 3, the mobile terminal 200 includes a processor 201 and a memory 202. The processor 201 is electrically connected to the memory 202.
The processor 201 is a control center of the mobile terminal 200, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application program stored in the memory 202 and calling data stored in the memory 202, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the mobile terminal 200 is provided with a plurality of memory partitions, where the plurality of memory partitions includes a system partition and a target partition, and the processor 201 in the mobile terminal 200 loads instructions corresponding to processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 runs the application programs stored in the memory 202, so as to implement various functions:
acquiring a plurality of Bluetooth data transmission packets;
storing the plurality of Bluetooth data transmission packets into a memory of the mobile terminal; and
and all the Bluetooth data transmission packets stored in the memory are sent to an external device at one time based on the Bluetooth protocol.
Fig. 4 is a block diagram showing a specific structure of a mobile terminal provided in an embodiment of the present application, where the mobile terminal may be used to implement the bluetooth transmission method provided in the foregoing embodiment. The mobile terminal 300 may be a smart phone or a tablet computer. In addition, the mobile terminal may further include a RF circuit 310 for receiving and transmitting electromagnetic waves, so as to perform interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11b, IEEE802.11g, and/or IEEE802.11 n standards), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access), wimax, other suitable short message protocols, and may even include those protocols that have not yet been developed.
The memory 320 may be used to store software programs and modules, such as program instructions/modules corresponding to the bluetooth transmission method in the above-described embodiment, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, that is, functions of the bluetooth transmission method are implemented. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 320 may further include memory located remotely from the processor 380, which may be connected to the mobile terminal 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 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, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 300, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 4, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The mobile terminal 300 may also include at least one sensor 350, 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 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the mobile terminal 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured on the mobile terminal 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, and microphone 362 may provide an audio interface between a user and the mobile terminal 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal 300.
The mobile terminal 300, which may assist the user in e-mail, web browsing, streaming media access, etc., through the transmission module 370 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 4 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the mobile terminal 300 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 380 is a control center of the mobile terminal 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 300 and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby integrally monitoring the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
The mobile terminal 300 also includes a power supply 390 (e.g., a battery) that provides power to the various components and, in some embodiments, may be logically coupled to the processor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring a plurality of Bluetooth data transmission packets;
storing the plurality of Bluetooth data transmission packets into a memory of the mobile terminal; and
and all the Bluetooth data transmission packets stored in the memory are sent to an external device at one time based on the Bluetooth protocol.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any of the bluetooth transmission methods provided in the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any of the bluetooth transmission methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any of the bluetooth transmission methods provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A Bluetooth transmission method is suitable for a mobile terminal, and is characterized by comprising the following steps:
acquiring a plurality of Bluetooth data transmission packets;
storing the plurality of Bluetooth data transmission packets into a memory of the mobile terminal; and
and all the Bluetooth data transmission packets stored in the memory are sent to an external device at one time based on the Bluetooth protocol.
2. The bluetooth transmission method according to claim 1, wherein before the step of obtaining a plurality of bluetooth data transmission packets, the method further comprises the steps of:
and detecting whether the mobile terminal is in a screen-off state.
3. The bluetooth transmission method according to claim 2, wherein after the step of detecting whether the mobile terminal is in a screen-off state, the method further comprises the steps of:
and when the mobile terminal is detected to be in the screen-off state, the Bluetooth transmission function is started.
4. The bluetooth transmission method according to claim 1, wherein after the step of transmitting all the bluetooth data transmission packets stored in the memory to an external device at once based on the bluetooth protocol, the method further comprises the steps of:
detecting whether the plurality of Bluetooth data transmission packets are transmitted completely; and
and when the plurality of Bluetooth data transmission packets are detected to be transmitted completely, the Bluetooth transmission function is closed.
5. A Bluetooth transmission device suitable for a mobile terminal, the Bluetooth transmission device comprising:
the data acquisition unit is used for acquiring a plurality of Bluetooth data transmission packets;
a data storage unit, for storing the bluetooth data transmission packets into a memory of the mobile terminal; and
and the data sending unit is used for sending all the Bluetooth data transmission packets stored in the memory to an external device at one time based on the Bluetooth protocol.
6. The bluetooth transmission apparatus according to claim 5, wherein the bluetooth transmission apparatus further comprises:
and the screen-off judging unit is used for detecting whether the mobile terminal is in a screen-off state.
7. The bluetooth transmission apparatus according to claim 6, wherein the bluetooth transmission apparatus further comprises:
and the Bluetooth starting unit is used for starting the Bluetooth transmission function when detecting that the mobile terminal is in a screen-off state.
8. The bluetooth transmission apparatus according to claim 5, wherein the bluetooth transmission apparatus further comprises:
the data detection unit is used for detecting whether the transmission of the plurality of Bluetooth data transmission packets is finished; and
and the Bluetooth closing unit is used for closing the Bluetooth transmission function when detecting that the plurality of Bluetooth data transmission packets are transmitted completely.
9. A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the bluetooth transmission method of any of claims 1-4.
10. A terminal device comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the bluetooth transmission method according to any one of claims 1 to 4.
CN202011150335.3A 2020-10-23 2020-10-23 Bluetooth transmission method, device, storage medium and mobile terminal Pending CN112367652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011150335.3A CN112367652A (en) 2020-10-23 2020-10-23 Bluetooth transmission method, device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011150335.3A CN112367652A (en) 2020-10-23 2020-10-23 Bluetooth transmission method, device, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN112367652A true CN112367652A (en) 2021-02-12

Family

ID=74511964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011150335.3A Pending CN112367652A (en) 2020-10-23 2020-10-23 Bluetooth transmission method, device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN112367652A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431471A (en) * 2008-12-17 2009-05-13 华为技术有限公司 LSP packet transmission method, equipment and system
CN106453649A (en) * 2016-11-29 2017-02-22 珠海市魅族科技有限公司 File transmission method and device
US20170078965A1 (en) * 2015-09-14 2017-03-16 Squadle, Inc. Low power redundant transmission network
CN107465997A (en) * 2017-07-28 2017-12-12 广东欧珀移动通信有限公司 Bluetooth connecting method, device, terminal and computer-readable recording medium
WO2020118532A1 (en) * 2018-12-11 2020-06-18 华为技术有限公司 Bluetooth communication method and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431471A (en) * 2008-12-17 2009-05-13 华为技术有限公司 LSP packet transmission method, equipment and system
US20170078965A1 (en) * 2015-09-14 2017-03-16 Squadle, Inc. Low power redundant transmission network
CN106453649A (en) * 2016-11-29 2017-02-22 珠海市魅族科技有限公司 File transmission method and device
CN107465997A (en) * 2017-07-28 2017-12-12 广东欧珀移动通信有限公司 Bluetooth connecting method, device, terminal and computer-readable recording medium
WO2020118532A1 (en) * 2018-12-11 2020-06-18 华为技术有限公司 Bluetooth communication method and electronic device

Similar Documents

Publication Publication Date Title
EP2882234B1 (en) Method, apparatus, equipment and system for controlling turn-on and turn-off of wireless network
CN111443803B (en) Mode switching method and device, storage medium and mobile terminal
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN111104012B (en) Distance measuring method and device, storage medium and terminal equipment
CN111045737A (en) Equipment identifier acquisition method and device, terminal equipment and storage medium
CN112486350B (en) Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN110048824B (en) Communication module control method, control device, and computer-readable storage medium
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN110225106B (en) Data transmission method, device and storage medium
CN113613310A (en) WIFI connection method and device, storage medium and mobile terminal
CN109831771B (en) Bluetooth searching method and device, mobile terminal and storage medium
CN112261634A (en) Bluetooth transmission control method, device, terminal equipment and storage medium
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN111651299A (en) Wireless chip reset control method and device, storage medium and mobile terminal
CN112367652A (en) Bluetooth transmission method, device, storage medium and mobile terminal
CN111273774A (en) Terminal device display screen control method and system, storage medium and terminal device
CN109995441B (en) Communication information processing method, device and storage medium
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN110913022A (en) Method, device and system for downloading network file of mobile terminal and storage medium
CN110972220B (en) Wireless communication method, device, storage medium and terminal equipment
CN111182141B (en) Method, device and storage medium for acquiring state of terminal device
CN111262636B (en) Method and device for enhancing network data transmission speed, storage medium and mobile terminal
CN112243269B (en) Method and device for downloading data and mobile terminal
CN114095585B (en) Data transmission method, device, storage medium and electronic equipment

Legal Events

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

Application publication date: 20210212

RJ01 Rejection of invention patent application after publication