WO2019165983A1 - 一种蓝牙传输控制方法、控制系统及存储介质 - Google Patents

一种蓝牙传输控制方法、控制系统及存储介质 Download PDF

Info

Publication number
WO2019165983A1
WO2019165983A1 PCT/CN2019/076365 CN2019076365W WO2019165983A1 WO 2019165983 A1 WO2019165983 A1 WO 2019165983A1 CN 2019076365 W CN2019076365 W CN 2019076365W WO 2019165983 A1 WO2019165983 A1 WO 2019165983A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
mobile terminal
receiving device
bluetooth
timeout period
Prior art date
Application number
PCT/CN2019/076365
Other languages
English (en)
French (fr)
Inventor
王大鹏
Original Assignee
惠州Tcl移动通信有限公司
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移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Priority to US16/976,109 priority Critical patent/US11258844B2/en
Priority to EP19760414.3A priority patent/EP3761684A4/en
Publication of WO2019165983A1 publication Critical patent/WO2019165983A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/28Timers or timing mechanisms used in protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4425Monitoring of client processing errors or hardware failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • H04N21/8113Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format
    • 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
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present invention relates to the field of Bluetooth transmission technologies, and in particular, to a Bluetooth transmission control method, a control system, and a storage medium.
  • the two parties When the mobile terminal uses Bluetooth to transmit files, the two parties will negotiate the data packet transmission timeout period. If the data packet transmission timeout will stop the file transmission; when the mobile terminal has both Bluetooth playback music and Bluetooth transmission files, the music is played through Bluetooth than through Bluetooth.
  • the transmission file has a higher priority, that is, if the data packet transmission fails, the data is retransmitted by playing music through Bluetooth at the first time, so that when the mobile terminal plays music through Bluetooth and transmits the file through Bluetooth, the data loss occurs when playing music.
  • There are several retransmissions which is very easy to cause the Bluetooth transmission file to time out. After the music packet retransmission is finished, it is expected that when the transmission file packet is delivered, the file transmission has been terminated due to the timeout, and the user needs to manually retransmit the file.
  • the embodiment of the invention provides a Bluetooth transmission control method, a control system and a storage medium, which can increase the timeout period of the Bluetooth file transmission when the mobile terminal simultaneously transmits files and play music through Bluetooth, and improve the probability of successful transmission of the Bluetooth file of the mobile terminal. User-friendly.
  • an embodiment of the present invention provides a Bluetooth transmission control method, where the Bluetooth transmission control method includes the following steps:
  • the mobile terminal establishes a Bluetooth connection with the file receiving device, and the mobile terminal initiates a Bluetooth transmission file operation to the file receiving device;
  • the mobile terminal negotiates a file transmission timeout time with the file receiving device
  • the mobile terminal transmits a file to a file receiving device.
  • the Bluetooth transmission control method wherein the step of establishing a Bluetooth connection between the mobile terminal and the file receiving device, and the step of the mobile terminal initiating a Bluetooth transmission file operation to the file receiving device includes:
  • the mobile terminal establishes a Bluetooth connection with the file receiving device, and after the connection is successful, the two parties start Bluetooth;
  • the mobile terminal initiates a Bluetooth transfer file operation to the file receiving device.
  • the method for controlling the Bluetooth transmission wherein the step of detecting whether the mobile terminal synchronizes the operation of the Bluetooth playing music, specifically includes:
  • the Bluetooth transmission control method wherein the step of the mobile terminal and the file receiving device to negotiate a file transmission timeout according to the detection result includes:
  • the mobile terminal synchronously turns on the Bluetooth play music operation, the mobile terminal negotiates with the file receiving device to determine a first timeout period of file transmission;
  • the mobile terminal negotiates with the file receiving device to determine a second timeout period of file transmission
  • the first timeout period is greater than the second timeout period, and the second timeout period is a preset timeout period of normal file transmission.
  • the Bluetooth transmission control method wherein the step of the mobile terminal transmitting a file to the file receiving device includes:
  • the mobile terminal After the mobile terminal negotiates with the file receiving device to determine a file transmission timeout period, the mobile terminal starts to transmit a file to the file receiving device, and synchronously monitors whether the mobile terminal turns on the Bluetooth playing music operation;
  • the mobile terminal renegotiates the file transmission timeout period to the file receiving device if the Bluetooth music playback operation is changed from on to off or from off to on.
  • the Bluetooth transmission control method wherein the step of the mobile terminal re-negotiating the file transmission timeout time to the file receiving device includes:
  • the mobile terminal monitors feedback information sent by the file receiving device
  • the mobile terminal resets the file transmission timeout period.
  • the Bluetooth transmission control method wherein the step of resetting a file transmission timeout time by the mobile terminal according to the feedback information includes:
  • the reset file transmission timeout period is the second timeout period, and then the file is continuously transmitted to the file receiving device;
  • the reset file transmission timeout period is the first timeout period, and then the file is continuously transmitted to the file receiving device.
  • the Bluetooth transmission control method after the step of the mobile terminal transmitting a file to the file receiving device, further includes:
  • the mobile terminal After the file transmission of the mobile terminal and the file receiving device ends, the mobile terminal stops listening to the Bluetooth playing music operation.
  • an embodiment of the present invention provides a Bluetooth transmission control system, where the Bluetooth transmission control system includes: a mobile terminal and a file receiving device;
  • the mobile terminal establishes a Bluetooth connection with the file receiving device, and the mobile terminal initiates a Bluetooth transmission file operation to the file receiving device, and detects whether the mobile terminal synchronizes the Bluetooth playback music operation; according to the detection result, the mobile terminal and the file
  • the receiving device negotiates a file transmission timeout period; the mobile terminal transmits a file to the file receiving device.
  • the step of negotiating a file transmission timeout period between the mobile terminal and the file receiving device according to the detection result includes:
  • the mobile terminal synchronously turns on the Bluetooth play music operation, the mobile terminal negotiates with the file receiving device to determine a first timeout period of file transmission;
  • the mobile terminal negotiates with the file receiving device to determine a second timeout period of file transmission
  • the first timeout period is greater than the second timeout period, and the second timeout period is a preset timeout period of normal file transmission.
  • the step of the mobile terminal transmitting a file to the file receiving device includes:
  • the mobile terminal After the mobile terminal negotiates with the file receiving device to determine a file transmission timeout period, the mobile terminal starts to transmit a file to the file receiving device, and synchronously monitors whether the mobile terminal turns on the Bluetooth playing music operation;
  • the mobile terminal renegotiates the file transmission timeout period to the file receiving device if the Bluetooth music playback operation is changed from on to off or from off to on.
  • the step of the unicasting the file transmission timeout time by the mobile terminal to the file receiving device includes:
  • the mobile terminal monitors feedback information sent by the file receiving device
  • the mobile terminal resets the file transmission timeout period.
  • the step of resetting the file transmission timeout time by the mobile terminal according to the feedback information includes:
  • the reset file transmission timeout period is the second timeout period, and then the file is continuously transmitted to the file receiving device;
  • the reset file transmission timeout period is the first timeout period, and then the file is continuously transmitted to the file receiving device.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores one or more programs, and the one or more programs may be executed by one or more processors. To achieve the following steps:
  • the mobile terminal establishes a Bluetooth connection with the file receiving device, and the mobile terminal initiates a Bluetooth transmission file operation to the file receiving device;
  • the mobile terminal negotiates a file transmission timeout time with the file receiving device
  • the mobile terminal transmits a file to a file receiving device.
  • the step of negotiating a file transmission timeout period between the mobile terminal and the file receiving device according to the detection result includes:
  • the mobile terminal synchronously turns on the Bluetooth play music operation, the mobile terminal negotiates with the file receiving device to determine a first timeout period of file transmission;
  • the mobile terminal negotiates with the file receiving device to determine a second timeout period of file transmission
  • the first timeout period is greater than the second timeout period, and the second timeout period is a preset timeout period of normal file transmission.
  • the step of the mobile terminal transmitting a file to the file receiving device includes:
  • the mobile terminal After the mobile terminal negotiates with the file receiving device to determine a file transmission timeout period, the mobile terminal starts to transmit a file to the file receiving device, and synchronously monitors whether the mobile terminal turns on the Bluetooth playing music operation;
  • the mobile terminal renegotiates the file transmission timeout period to the file receiving device if the Bluetooth music playback operation is changed from on to off or from off to on.
  • the step of the unicasting the file transmission timeout time by the mobile terminal to the file receiving device includes:
  • the mobile terminal monitors feedback information sent by the file receiving device
  • the mobile terminal resets the file transmission timeout period.
  • the step of resetting the file transmission timeout time by the mobile terminal according to the feedback information includes:
  • the reset file transmission timeout period is the second timeout period, and then the file is continuously transmitted to the file receiving device;
  • the reset file transmission timeout period is the first timeout period, and then the file is continuously transmitted to the file receiving device.
  • the step of resetting the file transmission timeout time by the mobile terminal according to the feedback information includes:
  • the mobile terminal When the mobile terminal receives the file receiving device sending a rejection instruction or does not receive feedback on the negotiation data packet, it considers that the file receiving device rejects the reset file transmission timeout period, maintains the first timeout period, and then continues to transfer the file to the file receiving device.
  • the method further includes:
  • the mobile terminal After the file transmission of the mobile terminal and the file receiving device ends, the mobile terminal stops listening to the Bluetooth playing music operation.
  • the present invention provides a Bluetooth transmission control method, a control system, and a storage medium.
  • the Bluetooth transmission control method includes a mobile terminal establishing a Bluetooth connection with a file receiving device, and the mobile terminal starts a Bluetooth transmission file operation to the file receiving device. Detecting whether the mobile terminal synchronously turns on the Bluetooth playing music operation; according to the detection result, the mobile terminal negotiates a file transmission timeout time with the file receiving device; and the mobile terminal transmits the file to the file receiving device.
  • the invention increases the timeout time of the Bluetooth file transmission when the mobile terminal concurrently transmits the Bluetooth file transmission and the Bluetooth playing music, and improves the probability of successful transmission of the Bluetooth sharing file of the mobile terminal, and is convenient for the user.
  • FIG. 1 is a flowchart of a Bluetooth transmission control method provided by the present invention.
  • FIG. 2 is a flowchart of a specific embodiment of a Bluetooth transmission control method provided by the present invention.
  • FIG. 3 is a structural block diagram of a Bluetooth transmission control system provided by the present invention.
  • FIG. 4 is a schematic structural block diagram of a mobile terminal provided by the present invention.
  • FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a Bluetooth transmission control method provided by the present invention.
  • the Bluetooth transmission control method can be applied to Bluetooth transmission between multiple electronic devices, and can be renegotiated during Bluetooth music playback. File transfer timeout, avoiding frequent interruption of file transfer when playing music. For example, while transferring files between two mobile phones, one of the mobile phones is connected to the Bluetooth speaker for music playback.
  • the Bluetooth transmission control method of the embodiment of the present invention is not limited to the steps and the sequence in the flowchart shown in FIG. 1, and the steps in the flowchart may add, remove, or change the order according to different requirements.
  • Bluetooth transmission control method is described below as being performed between two mobile phones and a Bluetooth speaker, this is merely for the convenience of describing the present invention and is not intended to limit the present invention.
  • the Bluetooth transmission control method of the embodiment of the present invention can be applied to all Bluetooth-enabled electronic devices, and the electronic devices can be any devices such as mobile terminals, vehicle-mounted terminals, and fixed terminals.
  • the Bluetooth transmission control method provided by the present invention includes the following steps:
  • the mobile terminal establishes a Bluetooth connection with the file receiving device, and the mobile terminal initiates a Bluetooth transmission file operation to the file receiving device.
  • the file operation can be realized through Bluetooth.
  • the two mobile phones turn on the Bluetooth and connect, one of the mobile phones transmits the file to another mobile phone.
  • the transfer file operation can be realized through Bluetooth.
  • the mobile terminal initiates a Bluetooth transmission file operation to the file receiving device. After detecting the Bluetooth transmission file operation, the operation is intercepted to avoid frequent interruption of file transmission caused by playing music, and thus multiple manual retransmissions are required.
  • the intercepting operation may be automatic interception.
  • the operation is automatically intercepted, and after the interception, the file transfer device (for example, another mobile phone) is prevented from starting to transfer the file.
  • the intercepting operation is a manual operation. For example, when detecting a file transmitted through Bluetooth, an interactive window pops up, prompting the user to select to continue transmission or intelligent transmission. If the user chooses to continue transmission, the normal operation is performed. The protocol transmits the Bluetooth file in the normal file transmission timeout period. If the user selects the intelligent transmission, the Bluetooth file is transmitted after the relevant negotiation.
  • the Bluetooth playback music and the Bluetooth transmission are in the next file transmission process. Whether the files are performed at the same time facilitates the negotiation of the file transfer timeout period.
  • the detecting whether the Bluetooth play music operation is enabled is automatically performed by the device, and determining whether to pop up the interactive window according to the detection result. If it is detected that the Bluetooth playing music operation is enabled, an interactive window pops up, prompting the user to select to continue transmission or intelligent transmission, and selecting intelligent transmission, re-negotiating with the file receiving device to determine the file transmission timeout period, and after determining the file transmission timeout period, Start file transfer.
  • the detecting whether the Bluetooth playing music operation is enabled may also be manually performed by the user. For example, after intercepting the Bluetooth transmission file operation, the pop-up window prompts whether to perform the Bluetooth playing music operation detection, and the user determines whether to perform the detection. operating.
  • the mobile terminal negotiates a file transmission timeout period with the file receiving device according to the detection result.
  • the detection result it can be determined whether the Bluetooth playback music and the Bluetooth transmission file are simultaneously performed during the next file transmission process, and the file transmission timeout time is set according to whether the Bluetooth playback music and the Bluetooth transmission file are simultaneously set.
  • the determining, by the mobile terminal, the file transmission timeout period with the file receiving device according to the detection result specifically includes:
  • the first timeout period is greater than the second timeout period, and the second timeout period is a preset normal file transmission timeout period.
  • the Bluetooth playback music operation When the Bluetooth playback music operation is turned on, it means that the Bluetooth playback music and the Bluetooth transmission file are simultaneously performed during the file transmission process. Since the Bluetooth playback music has a higher priority, the file transmission may be affected, thereby causing the file transmission timeout to be interrupted. At this time, it is necessary to renegotiate with the file receiving device to determine a large file transmission timeout period (ie, the first timeout period), and the first timeout period is larger than the normal file transmission timeout period, so as not to be used when playing music. Timeout interrupts the transfer of files.
  • a large file transmission timeout period ie, the first timeout period
  • the negotiation automatically determines the file transmission timeout period, and automatically starts transmitting the file after negotiating to determine the file transmission timeout period.
  • the Bluetooth playback music operation is turned off, that is, the mobile terminal does not synchronize the Bluetooth playback music operation, which means that there is no interference of Bluetooth playback music during the file transmission process, therefore, the file transmission timeout time is set to the normal file transmission timeout time. can.
  • the mobile terminal transmits a file to a file receiving device.
  • the transmitting, by the mobile terminal, the file to the file receiving device specifically includes:
  • the file transfer timeout time set at the beginning is the second timeout period, that is, the normal file transfer timeout period. If the Bluetooth playback music operation is turned on during the file transfer process, it will still be Affects the file transfer, and since the priority of playing music by Bluetooth is higher than the priority of the transferred file, it may still cause frequent interruption of file transfer. Therefore, it is necessary to monitor the Bluetooth playback music operation during the transmission process, and listen to the Bluetooth playback music operation. After being enabled, the file receiving device is renegotiated in time to determine the file transmission timeout period, and the file transmission timeout period is reset to the first timeout period. It can be understood by those skilled in the art that the first timeout period is not a fixed time, but can be set, and is usually set to a large timeout period to avoid interruption of file transmission.
  • the file transmission timeout period set at the beginning is the first timeout period. If the Bluetooth playback music operation is changed from on to off, then the file transmission timeout period can be negotiated. Reset from the first timeout period to the second timeout period. Of course, the first timeout period can also be maintained.
  • the remapping the file transmission timeout time by the mobile terminal to the file receiving device specifically includes:
  • S403 The mobile terminal sends a negotiation data packet to the file receiving device, requesting to reset the file transmission timeout period;
  • S404 The mobile terminal monitors feedback information sent by the file receiving device.
  • the file transmission timeout period may be triggered to be reset.
  • the mobile terminal sends a negotiation data packet to the file receiving device to negotiate a reset file transmission.
  • the file transmission timeout period can be reset to the first timeout period by the second timeout period.
  • the file transmission timeout period can be If the timeout period is reset to the second timeout period, the first timeout period may be maintained. If the first timeout period needs to be maintained, the file receiving device needs to send a rejection command or does not feedback the negotiation data packet. At this time, the file receiving device is considered as Refuse to reset file transfer timeout.
  • the above-mentioned Bluetooth transmission control method determines whether to reset the file transmission timeout period according to the detection of the Bluetooth playback music operation, thereby avoiding the frequent interruption caused by the transmission of files during Bluetooth music playback.
  • the mobile terminal stops listening to the Bluetooth playing music operation.
  • the mobile terminal establishes a Bluetooth connection with the file receiving device, starts Bluetooth for file transfer operation, and then executes S012;
  • the mobile terminal begins to transfer files to the file receiving device, and then executes S016;
  • the mobile terminal synchronously monitors the Bluetooth playing music operation, and then executes S017;
  • the mobile terminal continues to transmit files to the file receiving device through Bluetooth, while continuously executing S016 until the end of the file transfer, and then executing S021;
  • the Bluetooth transmission control method of the foregoing embodiment of the present invention performs the Bluetooth transmission file operation detection at the beginning, and in some embodiments, the Bluetooth transmission file operation detection may not be performed at the beginning, but a Bluetooth connection is established, and After the file transfer is started, the Bluetooth playback music operation is monitored, and if the Bluetooth playback music operation is enabled, the file transmission timeout period is renegotiated to the file receiving device.
  • the related transmission principle and corresponding operation are basically the same as the foregoing Bluetooth transmission control method, and are not described herein.
  • the present invention further provides a Bluetooth transmission control system.
  • the Bluetooth transmission control system includes a mobile terminal 200 and a file receiving device 300, and the mobile terminal 200 and file receiving The device is transmitted through the Bluetooth 100, wherein the mobile terminal 200 can be a computing device such as a mobile phone, a desktop computer, a notebook, a palmtop computer, and a server; the file receiving device 300 can be a mobile terminal, a vehicle terminal, a fixed terminal, or the like. Any device with Bluetooth capability.
  • the working process of the Bluetooth transmission control system is: the mobile terminal 200 establishes a Bluetooth 100 connection with the file receiving device 300, and the mobile terminal 200 initiates a Bluetooth 100 transmission file operation to the file receiving device 300, and detects whether the mobile terminal 200 is The Bluetooth 100 plays a music operation in synchronization; according to the detection result, the mobile terminal 200 negotiates a file transmission timeout period with the file receiving device 300; the mobile terminal 200 transmits a file to the file receiving device 300 to implement the Bluetooth transmission control method.
  • the mobile terminal 200 includes a processor 1 and a memory 2, as shown in FIG. Figure 4 shows only some of the components of the mobile terminal, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
  • the memory 2 may be an internal storage unit of the mobile terminal, such as a memory of the mobile terminal, in some embodiments.
  • the memory 2 may also be an external storage device of the mobile terminal in other embodiments, such as a plug-in USB flash drive, a smart memory card (SMC), and a secure digital number ( Secure Digital, SD) cards, flash cards, etc. Further, the memory 2 may also include both an internal storage unit of the mobile terminal and an external storage device.
  • the memory 2 is configured to store application software and various types of data installed on the mobile terminal, such as the Bluetooth transmission control program code and the like.
  • the memory 2 can also be used to temporarily store data that has been output or is about to be output.
  • the memory 2 stores a Bluetooth transmission control program that can be executed by the processor 1 to implement the Bluetooth transmission control method of the present application.
  • the processor 1 may be a central processor (Central) in some embodiments A processing unit (CPU), a microprocessor, a mobile phone baseband processor or other data processing chip for running program code or processing data stored in the memory 2, for example, executing the Bluetooth transmission control method and the like.
  • CPU central processor
  • microprocessor a microprocessor
  • mobile phone baseband processor or other data processing chip for running program code or processing data stored in the memory 2, for example, executing the Bluetooth transmission control method and the like.
  • the present invention also provides a computer readable storage medium storing one or more programs, the one or more programs being configurable by one or more processors (this embodiment is the processing The device 1) is executed to implement the steps in the Bluetooth transmission control method of the present invention.
  • FIG. 5 is a block diagram showing a specific structure of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal may be used to implement the Bluetooth transmission control method provided in the foregoing embodiment.
  • the mobile terminal 1200 can be a smartphone or a tablet.
  • the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one shown) computer-readable storage medium, an input unit 130, and a display unit. 140, sensor 150, audio circuit 160, transmission module 170, including processor 180 having one or more processing cores (only one shown) and power supply 190 and the like.
  • RF Radio Frequency
  • the structure of the mobile terminal 1200 shown in FIG. 5 does not constitute a limitation of the mobile terminal 1200, and may include more or less components than those illustrated, or combine some components, or different components. Arrangement. among them:
  • the RF circuit 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices.
  • the RF circuit 110 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, a memory, and the like.
  • SIM Subscriber Identity Module
  • the RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network.
  • the wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the above wireless networks may use various communication standards, protocols and technologies, including but not limited to global mobile communication systems (Global System for Mobile Communication, GSM), Enhanced Mobile Communication Technology (Enhanced Data GSM Environment, EDGE), Wideband Code Division Multiple Access (Wideband Code) Division Multiple Access, WCDMA), Code Division Multiple Access (Code Division) Access, CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wireless Fidelity, Wi-Fi) (such as the Institute of Electrical and Electronics Engineers Standard IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and / or IEEE 802.11n), VoIP (Voice) Over Internet Protocol, VoIP), Worldwide Interoperability for Microwave Access (Worldwide Interoperability for Microwave Access, Wi-Max, other protocols for mail, instant messaging, and short messages, as well as any other suitable communication protocol, may even include protocols that are not currently being developed.
  • GSM Global System for Mobile Communication
  • EDGE Enhanced Mobile Communication Technology
  • WCDMA Wideband Code Division Multiple Access
  • CDMA Code Division Multiple
  • the memory 120 can be used to store software programs and modules, such as program instructions/modules corresponding to the Bluetooth transmission control method in the above embodiment, and the processor 180 executes various functional applications and data by running software programs and modules stored in the memory 120. Processing, that is, the function of implementing Bluetooth transmission control.
  • Memory 120 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.
  • memory 120 can further include memory remotely located relative to processor 180, which can be connected to mobile terminal 1200 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 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the mobile terminal 1200, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141, and optionally, an LCD (Liquid may be used)
  • the display panel 141 is configured in the form of a Crystal Display (LCD) or an OLED (Organic Light-Emitting Diode).
  • touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Mobile terminal 1200 may also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the mobile terminal 1200 moves to the ear. And / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile terminal 1200 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile terminal 1200.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the mobile terminal 110 via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the mobile terminal 1200.
  • the mobile terminal 1200 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the transmission module 170 (eg, Wi-Fi module), which provides wireless broadband Internet access to the user.
  • the transmission module 170 eg, Wi-Fi module
  • FIG. 5 shows the transmission module 170, it can be understood that it does not belong to the essential configuration of the mobile terminal 1200, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is a control center of the mobile terminal 1200 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • the various functions and processing data of the mobile terminal 1200 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the mobile terminal 1200 also includes a power source 190 (such as a battery) that powers the various components.
  • the power source can be logically coupled to the processor 180 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • Power supply 190 may also include any 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.
  • the mobile terminal 1200 may further include a camera (such as a front camera, a rear camera), a Bluetooth module, and the like, and details are not described herein.
  • the display unit of the mobile terminal is a touch screen display
  • the mobile terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be one or one
  • the above processor executes one or more programs that include instructions for performing the following operations:
  • the mobile terminal establishes a Bluetooth connection with the file receiving device, and the mobile terminal initiates a Bluetooth transmission file operation to the file receiving device;
  • the mobile terminal negotiates a file transmission timeout time with the file receiving device
  • the mobile terminal transmits a file to a file receiving device.
  • the step of negotiating a file transmission timeout period between the mobile terminal and the file receiving device according to the detection result includes:
  • the mobile terminal synchronously turns on the Bluetooth play music operation, the mobile terminal negotiates with the file receiving device to determine a first timeout period of file transmission;
  • the mobile terminal negotiates with the file receiving device to determine a second timeout period of file transmission
  • the first timeout period is greater than the second timeout period, and the second timeout period is a preset timeout period of normal file transmission.
  • the step of the mobile terminal transmitting a file to the file receiving device includes:
  • the mobile terminal After the mobile terminal negotiates with the file receiving device to determine a file transmission timeout period, the mobile terminal starts to transmit a file to the file receiving device, and synchronously monitors whether the mobile terminal turns on the Bluetooth playing music operation;
  • the mobile terminal renegotiates the file transmission timeout period to the file receiving device if the Bluetooth music playback operation is changed from on to off or from off to on.
  • the step of the unicasting the file transmission timeout time by the mobile terminal to the file receiving device includes:
  • the mobile terminal monitors feedback information sent by the file receiving device
  • the mobile terminal resets the file transmission timeout period.
  • the step of resetting the file transmission timeout time by the mobile terminal according to the feedback information includes:
  • the reset file transmission timeout period is the second timeout period, and then the file is continuously transmitted to the file receiving device;
  • the reset file transmission timeout period is the first timeout period, and then the file is continuously transmitted to the file receiving device.
  • the step of resetting the file transmission timeout time by the mobile terminal according to the feedback information includes:
  • the mobile terminal When the mobile terminal receives the file receiving device sending a rejection instruction or does not receive feedback on the negotiation data packet, it considers that the file receiving device rejects the reset file transmission timeout period, maintains the first timeout period, and then continues to transfer the file to the file receiving device.
  • the method further includes:
  • the mobile terminal After the file transmission of the mobile terminal and the file receiving device ends, the mobile terminal stops listening to the Bluetooth playing music operation.
  • the present invention provides a Bluetooth transmission control method, a control system, and a storage medium.
  • the Bluetooth transmission control method includes a mobile terminal establishing a Bluetooth connection with a file receiving device, and the mobile terminal starts Bluetooth to the file receiving device. Transmitting a file operation; detecting whether the mobile terminal synchronously enables a Bluetooth playback music operation; and according to the detection result, the mobile terminal negotiates a file transmission timeout period with the file receiving device; and the mobile terminal transmits the file to the file receiving device.
  • the invention increases the timeout period of the Bluetooth file transmission and enhances the fault tolerance of the file timeout when the mobile terminal simultaneously performs file transmission and playing music through the Bluetooth, so as to improve the probability of successful transmission of the Bluetooth sharing file of the mobile terminal, and is convenient for the user.
  • a computer program to instruct related hardware (such as a processor, a controller, etc.), and the program can be stored in one.
  • the program when executed, may include the processes of the various method embodiments as described above.
  • the storage medium described therein may be a memory, a magnetic disk, an optical disk, or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了蓝牙传输控制方法、控制系统及存储介质,所述方法包括移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作;检测所述移动终端是否同步开启蓝牙播放音乐操作;根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间;所述移动终端向文件接收设备传输文件。

Description

一种蓝牙传输控制方法、控制系统及存储介质
本申请要求于2018年2月28日提交中国专利局、申请号为201810166001.1、发明名称为“一种蓝牙传输控制方法、控制系统及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及蓝牙传输技术领域,具体涉及一种蓝牙传输控制方法、控制系统及存储介质。
背景技术
移动终端在使用蓝牙传输文件时,传输双方会协商数据包传输超时时间,如果数据包传输超时则会停止文件传输;移动终端同时存在蓝牙播放音乐和蓝牙传输文件时,通过蓝牙播放音乐比通过蓝牙传输文件有更高的优先级,即如果数据包传输失败会第一时间通过蓝牙播放音乐尝试数据重传,这样当移动终端通过蓝牙播放音乐和通过蓝牙传输文件并发,播放音乐出现数据丢包,出现几次重传,非常容易造成蓝牙传输文件超时,而等音乐数据包重发结束后,期望在传递传输文件数据包时,文件传输已经因为超时而被终止,用户则需要手动重新传输文件。
因此,现有技术有待于改进和发展。
技术问题
本发明实施例提供一种蓝牙传输控制方法、控制系统及存储介质,能够在移动终端同时通过蓝牙传输文件和播放音乐时,增大蓝牙文件传输超时时间,提高移动终端蓝牙文件传输成功的概率,方便用户。
技术解决方案
为了达到上述目的,本发明采取了以下技术方案:
第一方面,本发明实施例提供一种蓝牙传输控制方法,其中,所述蓝牙传输控制方法包括如下步骤:
移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作;
检测所述移动终端是否同步开启蓝牙播放音乐操作;
根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间;
所述移动终端向文件接收设备传输文件。
所述的蓝牙传输控制方法,其中,所述移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作的步骤,具体包括:
移动终端与文件接收设备建立蓝牙连接,连接成功后,双方启动蓝牙;
所述移动终端向所述文件接收设备启动蓝牙传输文件操作。
所述的蓝牙传输控制方法,其中,所述检测所述移动终端是否同步开启蓝牙播放音乐操作的步骤,具体包括:
当检测到移动终端向所述文件接收设备启动蓝牙传输文件操作时,检测移动终端是否同步开启蓝牙播放音乐操作。
所述的蓝牙传输控制方法,其中,所述根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间的步骤,具体包括:
若所述移动终端同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第一超时时间;
若所述移动终端未同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第二超时时间;
其中,所述第一超时时间大于所述第二超时时间,所述第二超时时间为预设的正常文件传输的超时时间。
所述的蓝牙传输控制方法,其中,所述移动终端向文件接收设备传输文件的步骤,具体包括:
当移动终端与文件接收设备协商确定文件传输超时时间后,所述移动终端开始向文件接收设备传输文件,并同步监听移动终端是否开启蓝牙播放音乐操作;
若监听到蓝牙播放音乐操作由开启变为关闭或由关闭变为开启,则所述移动终端向文件接收设备重新协商文件传输超时时间。
所述的蓝牙传输控制方法,其中,所述移动终端向文件接收设备重新协商文件传输超时时间的步骤,具体包括:
所述移动终端向文件接收设备发送协商数据包,请求重置文件传输超时时间;
所述移动终端监听文件接收设备发来的反馈信息;
根据所述反馈信息,移动终端重置文件传输超时时间。
所述的蓝牙传输控制方法,其中,所述根据所述反馈信息,移动终端重置文件传输超时时间的步骤,具体包括:
当所述反馈信息为蓝牙播放音乐操作由开启变为关闭时,重置文件传输超时时间为第二超时时间,然后继续向文件接收设备传输文件;
当所述反馈信息为蓝牙播放音乐操作由关闭变为开启,则重置文件传输超时时间为第一超时时间,然后继续向文件接收设备传输文件。
所述的蓝牙传输控制方法,其中,所述移动终端向文件接收设备传输文件的步骤之后,还包括:
当移动终端与文件接收设备的文件传输结束后,所述移动终端停止监听蓝牙播放音乐操作。
第二方面,本发明实施例提供一种蓝牙传输控制系统,其中,所述蓝牙传输控制系统包括:移动终端和文件接收设备;
移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作,并检测所述移动终端是否同步开启蓝牙播放音乐操作;根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间;所述移动终端向文件接收设备传输文件。
其中,所述根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间的步骤,具体包括:
若所述移动终端同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第一超时时间;
若所述移动终端未同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第二超时时间;
其中,所述第一超时时间大于所述第二超时时间,所述第二超时时间为预设的正常文件传输的超时时间。
其中,所述移动终端向文件接收设备传输文件的步骤,具体包括:
当移动终端与文件接收设备协商确定文件传输超时时间后,所述移动终端开始向文件接收设备传输文件,并同步监听移动终端是否开启蓝牙播放音乐操作;
若监听到蓝牙播放音乐操作由开启变为关闭或由关闭变为开启,则所述移动终端向文件接收设备重新协商文件传输超时时间。
其中,所述移动终端向文件接收设备重新协商文件传输超时时间的步骤,具体包括:
所述移动终端向文件接收设备发送协商数据包,请求重置文件传输超时时间;
所述移动终端监听文件接收设备发来的反馈信息;
根据所述反馈信息,移动终端重置文件传输超时时间。
其中,所述根据所述反馈信息,移动终端重置文件传输超时时间的步骤,具体包括:
当所述反馈信息为蓝牙播放音乐操作由开启变为关闭时,重置文件传输超时时间为第二超时时间,然后继续向文件接收设备传输文件;
当所述反馈信息为蓝牙播放音乐操作由关闭变为开启,则重置文件传输超时时间为第一超时时间,然后继续向文件接收设备传输文件。
第三方面,本发明实施例提供一种计算机可读存储介质,其中,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如下步骤:
移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作;
检测所述移动终端是否同步开启蓝牙播放音乐操作;
根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间;
所述移动终端向文件接收设备传输文件。
其中,所述根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间的步骤,具体包括:
若所述移动终端同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第一超时时间;
若所述移动终端未同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第二超时时间;
其中,所述第一超时时间大于所述第二超时时间,所述第二超时时间为预设的正常文件传输的超时时间。
其中,所述移动终端向文件接收设备传输文件的步骤,具体包括:
当移动终端与文件接收设备协商确定文件传输超时时间后,所述移动终端开始向文件接收设备传输文件,并同步监听移动终端是否开启蓝牙播放音乐操作;
若监听到蓝牙播放音乐操作由开启变为关闭或由关闭变为开启,则所述移动终端向文件接收设备重新协商文件传输超时时间。
其中,所述移动终端向文件接收设备重新协商文件传输超时时间的步骤,具体包括:
所述移动终端向文件接收设备发送协商数据包,请求重置文件传输超时时间;
所述移动终端监听文件接收设备发来的反馈信息;
根据所述反馈信息,移动终端重置文件传输超时时间。
其中,所述根据所述反馈信息,移动终端重置文件传输超时时间的步骤,具体包括:
当所述反馈信息为蓝牙播放音乐操作由开启变为关闭时,重置文件传输超时时间为第二超时时间,然后继续向文件接收设备传输文件;
当所述反馈信息为蓝牙播放音乐操作由关闭变为开启,则重置文件传输超时时间为第一超时时间,然后继续向文件接收设备传输文件。
其中,所述根据所述反馈信息,移动终端重置文件传输超时时间的步骤,具体包括:
当移动终端接收到文件接收设备发送拒绝指令或者没有接收到对协商数据包进行反馈,则认为文件接收设备拒绝重置文件传输超时时间,维持第一超时时间,然后继续向文件接收设备传输文件。
其中,所述移动终端向文件接收设备传输文件的步骤之后,还包括:
当移动终端与文件接收设备的文件传输结束后,所述移动终端停止监听蓝牙播放音乐操作。
有益效果
本发明提供的一种蓝牙传输控制方法、控制系统及存储介质,所述蓝牙传输控制方法包括移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作;检测所述移动终端是否同步开启蓝牙播放音乐操作;根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间;所述移动终端向文件接收设备传输文件。本发明在移动终端同时并发蓝牙文件传输和蓝牙播放音乐时,增大蓝牙文件传输超时时间,提高移动终端蓝牙分享文件传输成功的概率,方便用户。
附图说明
图1为本发明提供的一种蓝牙传输控制方法的流程图。
图2为本发明提供的蓝牙传输控制方法的具体实施例流程图。
图3为本发明提供的蓝牙传输控制系统结构框图。
图4为本发明提供的移动终端功能原理框图。
图5是本发明实施例提供的移动终端的具体结构示意图。
本发明的实施方式
为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。
请参阅图1,图1是本发明提供的一种蓝牙传输控制方法的流程图,所述蓝牙传输控制方法可应用于多个电子设备之间的蓝牙传输,可以实现在蓝牙音乐播放时重新协商文件传输超时时间,避免播放音乐时文件的传输频繁中断,示例性的,两台手机之间传输文件的同时,其中一台手机与蓝牙音箱连接进行音乐播放操作。应该说明的是,本发明实施方式的蓝牙传输控制方法并不限于图1所示的流程图中的步骤及顺序,根据不同的需求,流程图中的步骤可以增加、移除或者改变顺序。
尽管在下文中,蓝牙传输控制方法被描述为在两台手机及一蓝牙音箱之间进行,但是,这只是为了便于描述本发明,而不是为了限制本发明。本发明实施例的蓝牙传输控制方法可以应用于所有的具备蓝牙功能的电子设备,所述电子设备可以是移动终端、车载终端、固定终端等任意的设备。
如图1所示,本发明提供的蓝牙传输控制方法包括以下步骤:
S10、移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作。
本发明实施例中,多个电子设备开启蓝牙,并实现相互连接成功后,可以通过蓝牙实现传输文件操作,例如,两台手机开启蓝牙并连接后,其中一台手机向另一台手机传输文件,以实现传输文件操作。
所述移动终端向所述文件接收设备启动蓝牙传输文件操作,当检测到蓝牙传输文件操作后,拦截该操作,以避免正在通过播放音乐造成文件传输频繁中断,进而需要进行多次手动重传。
在一些实施例中,所述拦截操作可以是自动拦截,当检测到通过蓝牙传输文件时,则自动拦截该操作,拦截后,阻止向文件接收设备(例如另一台手机)开始传输文件。
在另一些实施例中,所述拦截操作为手动操作,例如,当检测到通过蓝牙传输文件时,弹出一交互窗口,提示用户选择继续传输或者智能传输,若用户选择继续传输,则按照正常的协议以正常的文件传输超时时间进行蓝牙文件的传输,若用户选择智能传输,则在进行相关协商后,再进行蓝牙文件的传输。
S20、检测所述移动终端是否同步开启蓝牙播放音乐操作。
在本发明实施例中,在拦截蓝牙传输文件操作后,需要检测进行传输文件的设备(如移动终端)是否同步进行播放音乐操作,以判断在下一步的文件传输过程中,蓝牙播放音乐与蓝牙传输文件是否同时进行,便于进行文件传输超时时间的协商。
在一些实施例中,所述检测蓝牙播放音乐操作是否开启由设备自动进行,并根据检测结果决定是否弹出交互窗口。若检测到蓝牙播放音乐操作开启,则弹出交互窗口,提示用户选择继续传输或者智能传输,选择智能传输,则与文件接收设备重新协商确定文件传输超时时间,并在确定文件传输超时时间后,再开始文件传输。
在另一些实施例中,所述检测蓝牙播放音乐操作是否开启也可以由用户手动进行,例如,当拦截蓝牙传输文件操作后,弹出窗口提示是否进行蓝牙播放音乐操作检测,由用户决定是否进行检测操作。
S30、根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间。
根据检测结果,可以确定在下一步的文件传输过程中,蓝牙播放音乐与蓝牙传输文件是否同时进行,根据蓝牙播放音乐与蓝牙传输文件是否同时进行设定不同的文件传输超时时间。
在一些实施例中,所述根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间具体包括:
S301:若所述移动终端同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第一超时时间;
S302:若所述移动终端未同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第二超时时间;
其中,所述第一超时时间大于所述第二超时时间,所述第二超时时间为预设的正常文件传输超时时间。
蓝牙播放音乐操作开启,则表示文件传输过程中,蓝牙播放音乐与蓝牙传输文件同时进行,由于蓝牙播放音乐的优先级较高,因而可能会影响到文件传输,从而造成文件传输超时中断,因此,此时,需要和文件接收设备重新协商确定一个较大的文件传输超时时间(即第一超时时间),第一超时时间比正常的文件传输超时时间要大,以满足在播放音乐时不会因为超时中断文件的传输。
当用户选择智能传输,则自动进行协商确定文件传输超时时间,并在协商确定文件传输超时时间后,自动开始传输文件。
蓝牙播放音乐操作关闭,即所述移动终端未同步开启蓝牙播放音乐操作,则表示文件传输过程中,没有蓝牙播放音乐的干扰,因此,只要将文件传输超时时间设置为正常的文件传输超时时间即可。
S40、所述移动终端向文件接收设备传输文件。
确定蓝牙播放音乐与蓝牙传输文件的干扰关系后,即可开始文件传输。
在一些实施例中,所述移动终端向文件接收设备传输文件具体包括:
S401:当移动终端与文件接收设备协商确定文件传输超时时间后,所述移动终端开始向文件接收设备传输文件,并同步监听移动终端是否开启蓝牙播放音乐操作;
S402:若监听到蓝牙播放音乐操作由开启变为关闭或由关闭变为开启,则所述移动终端向文件接收设备重新协商文件传输超时时间。
若开始时,蓝牙播放音乐操作关闭,则在开始时设置的文件传输超时时间为第二超时时间,即正常的文件传输超时时间,若在文件传输过程中,蓝牙播放音乐操作开启,则仍然会影响文件传输,且由于蓝牙播放音乐的优先级高于传输文件的优先级,因此,仍然可能造成文件传输频繁中断,因此,需要在传输过程中监听蓝牙播放音乐操作,在监听到蓝牙播放音乐操作开启后,及时与文件接收设备重新协商确定文件传输超时时间,将文件传输超时时间重置为第一超时时间。本领域技术人员可以理解的是,所述第一超时时间并非一个固定的时间,而是可以设置的,通常设置为较大的超时时间,避免文件传输的中断。
反之,若开始时,蓝牙播放音乐操作开启,则在开始时设置的文件传输超时时间为第一超时时间,若蓝牙播放音乐操作由开启变为关闭,则此时,可以协商将文件传输超时时间由第一超时时间重置为第二超时时间。当然,也可以维持第一超时时间。
在一些实施例中,所述移动终端向文件接收设备重新协商文件传输超时时间具体包括:
S403:所述移动终端向文件接收设备发送协商数据包,请求重置文件传输超时时间;
S404:所述移动终端监听文件接收设备发来的反馈信息;
S405:根据所述反馈信息,移动终端重置文件传输超时时间。
蓝牙播放音乐操作状态发生变化后,如由开启变为关闭或由关闭变为开启后,可以触发文件传输超时时间重置,此时移动终端向文件接收设备发送协商数据包,协商重置文件传输超时时间。在蓝牙播放音乐操作由关闭变为开启后,文件传输超时时间可以由第二超时时间重置为第一超时时间,在蓝牙播放音乐操作由开启变为关闭启后,文件传输超时时间可以由第一超时时间重置为第二超时时间,也可以维持第一超时时间,若需要维持第一超时时间,需要文件接收设备发送拒绝指令或者不对协商数据包进行反馈,此时,将认为文件接收设备拒绝重置文件传输超时时间。
上述蓝牙传输控制方法,通过根据蓝牙播放音乐操作的检测来判断是否重置文件传输超时时间,从而避免了在蓝牙播放音乐时传输文件造成的频繁中断问题。
进一步的,当移动终端与文件接收设备的文件传输结束后,所述移动终端停止监听蓝牙播放音乐操作。
为了更好理解本发明蓝牙传输控制方法,用一具体实施例加以说明,如图2所示。
S011,移动终端与文件接收设备建立蓝牙连接,启动蓝牙进行文件传输操作,然后执行S012;
S012,检测移动终端是否开启蓝牙播放音乐操作,若是,执行S014,若否,执行S013;
S013,与文件接收设备协商确定文件传输超时时间为第二超时时间,然后执行S015;
S014,与文件接收设备协商确定文件传输超时时间为第一超时时间,然后执行S015;
S015,移动终端开始向文件接收设备传输文件,然后执行S016;
S016,移动终端同步监听蓝牙播放音乐操作,然后执行S017;
S017,判断移动终端蓝牙播放音乐操作状态,然后执行S018或S019;
S018,若蓝牙播放音乐操作状态由开启变为关闭,则与文件接收设备协商重置文件超时时间为第二超时时间,然后执行S020;
S019,若蓝牙播放音乐操作状态由关闭变为开启,则与文件接收设备协商重置文件超时时间为第一超时时间,然后执行S020;
S020,移动终端继续通过蓝牙向文件接收设备传输文件,同时不断执行S016,直至文件传输结束,然后执行S021;
S021,文件传输结束,停止监听蓝牙播放音乐操作。
另外,本发明前述实施例的蓝牙传输控制方法是在开始时进行蓝牙传输文件操作检测,在一些实施例中,也可以在开始时不进行蓝牙传输文件操作检测,而是在建立蓝牙连接,并开始文件传输后,再监听蓝牙播放音乐操作,若监听到蓝牙播放音乐操作开启,向文件接收设备重新协商文件传输超时时间。其相关的传输原理及对应操作与前述的蓝牙传输控制方法基本相同,此处不予赘述。
基于上述蓝牙传输控制方法,本发明还相应提供了一种蓝牙传输控制系统,如图3所示,所述蓝牙传输控制系统包括移动终端200和文件接收设备300,所述移动终端200和文件接收设备通过蓝牙100进行传输,其中,所述移动终端200可以是手机、桌上型计算机、笔记本、掌上电脑及服务器等计算设备;所述文件接收设备300可以是移动终端、车载终端、固定终端等具有蓝牙功能的任意的设备。
所述蓝牙传输控制系统工作过程是:移动终端200与文件接收设备300建立蓝牙100连接,所述移动终端200向所述文件接收设备300启动蓝牙100传输文件操作,并检测所述移动终端200是否同步开启蓝牙100播放音乐操作;根据检测结果,所述移动终端200与文件接收设备300协商文件传输超时时间;所述移动终端200向文件接收设备300传输文件,用以实现上述蓝牙传输控制方法。
进一步地,所述移动终端200包括处理器1和存储器2,如图4所示。图4仅示出了移动终端的部分组件,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。
所述存储器2在一些实施例中可以是所述移动终端的内部存储单元,例如移动终端的内存。所述存储器2在另一些实施例中也可以是所述移动终端的外部存储设备,例如所述移动终端上配备的插接式U盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器2还可以既包括所移动终端的内部存储单元也包括外部存储设备。所述存储器2用于存储安装于所述移动终端的应用软件及各类数据,例如所述蓝牙传输控制程序代码等。所述存储器2还可以用于暂时地存储已经输出或者将要输出的数据。在一实施例中,存储器2上存储有蓝牙传输控制程序,该蓝牙传输控制程序可被处理器1所执行,从而实现本申请中蓝牙传输控制方法。
所述处理器1在一些实施例中可以是一中央处理器(Central Processing Unit, CPU),微处理器,手机基带处理器或其他数据处理芯片,用于运行所述存储器2中存储的程序代码或处理数据,例如执行所述蓝牙传输控制方法等。
本发明还提供一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器(本实施例为所述处理器1)执行,以实现本发明蓝牙传输控制方法中的步骤。
图5示出了本发明实施例提供的移动终端的具体结构框图,该移动终端可以用于实施上述实施例中提供的蓝牙传输控制方法。该移动终端1200可以为智能手机或平板电脑。
如图5所示,移动终端1200可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上(图中仅示出一个)计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、传输模块170、包括有一个或者一个以上(图中仅示出一个)处理核心的处理器180以及电源190等部件。本领域技术人员可以理解,图5中示出的移动终端1200结构并不构成对移动终端1200的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF电路110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication, GSM)、增强型移动通信技术(Enhanced Data GSM Environment, EDGE),宽带码分多址技术(Wideband Code Division Multiple Access, WCDMA),码分多址技术(Code Division Access, CDMA)、时分多址技术(Time Division Multiple Access, TDMA),无线保真技术(Wireless Fidelity, Wi-Fi)(如美国电气和电子工程师协会标准 IEEE 802.11a, IEEE 802.11b, IEEE802.11g 和/或 IEEE 802.11n)、网络电话(Voice over Internet Protocol, VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access, Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。
存储器120可用于存储软件程序以及模块,如上述实施例中蓝牙传输控制方法对应的程序指令/模块,处理器180通过运行存储在存储器120内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现蓝牙传输控制的功能。存储器120可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器120可进一步包括相对于处理器180远程设置的存储器,这些远程存储器可以通过网络连接至移动终端1200。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及移动终端1200的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图5中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输出功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。
移动终端1200还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在移动终端1200移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等; 至于移动终端1200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与移动终端1200之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一移动终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与移动终端1200的通信。
移动终端1200通过传输模块170(例如Wi-Fi模块)可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了传输模块170,但是可以理解的是,其并不属于移动终端1200的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器180是移动终端1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行移动终端1200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;在一些实施例中,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
移动终端1200还包括给各个部件供电的电源190(比如电池),在一些实施例中,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,移动终端1200还可以包括摄像头(如前置摄像头、后置摄像头)、蓝牙模块等,在此不再赘述。具体在本实施例中,移动终端的显示单元是触摸屏显示器,移动终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操作的指令:
移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作;
检测所述移动终端是否同步开启蓝牙播放音乐操作;
根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间;
所述移动终端向文件接收设备传输文件。
其中,所述根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间的步骤,具体包括:
若所述移动终端同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第一超时时间;
若所述移动终端未同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第二超时时间;
其中,所述第一超时时间大于所述第二超时时间,所述第二超时时间为预设的正常文件传输的超时时间。
其中,所述移动终端向文件接收设备传输文件的步骤,具体包括:
当移动终端与文件接收设备协商确定文件传输超时时间后,所述移动终端开始向文件接收设备传输文件,并同步监听移动终端是否开启蓝牙播放音乐操作;
若监听到蓝牙播放音乐操作由开启变为关闭或由关闭变为开启,则所述移动终端向文件接收设备重新协商文件传输超时时间。
其中,所述移动终端向文件接收设备重新协商文件传输超时时间的步骤,具体包括:
所述移动终端向文件接收设备发送协商数据包,请求重置文件传输超时时间;
所述移动终端监听文件接收设备发来的反馈信息;
根据所述反馈信息,移动终端重置文件传输超时时间。
其中,所述根据所述反馈信息,移动终端重置文件传输超时时间的步骤,具体包括:
当所述反馈信息为蓝牙播放音乐操作由开启变为关闭时,重置文件传输超时时间为第二超时时间,然后继续向文件接收设备传输文件;
当所述反馈信息为蓝牙播放音乐操作由关闭变为开启,则重置文件传输超时时间为第一超时时间,然后继续向文件接收设备传输文件。
其中,所述根据所述反馈信息,移动终端重置文件传输超时时间的步骤,具体包括:
当移动终端接收到文件接收设备发送拒绝指令或者没有接收到对协商数据包进行反馈,则认为文件接收设备拒绝重置文件传输超时时间,维持第一超时时间,然后继续向文件接收设备传输文件。
其中,所述移动终端向文件接收设备传输文件的步骤之后,还包括:
当移动终端与文件接收设备的文件传输结束后,所述移动终端停止监听蓝牙播放音乐操作。
综上所述,本发明提供一种蓝牙传输控制方法、控制系统及存储介质,所述蓝牙传输控制方法包括移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作;检测所述移动终端是否同步开启蓝牙播放音乐操作;根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间;所述移动终端向文件接收设备传输文件。本发明在移动终端同时通过蓝牙进行文件传输和播放音乐时,增大蓝牙文件传输超时时间,增强文件超时的容错能力,以提高移动终端蓝牙分享文件传输成功的概率,方便用户。
当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关硬件(如处理器,控制器等)来完成,所述的程序可存储于一计算机可读取的存储介质中,该程序在执行时可包括如上述各方法实施例的流程。其中所述的存储介质可为存储器、磁碟、光盘等。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。

Claims (20)

  1. 一种蓝牙传输控制方法,其中,所述蓝牙传输控制方法包括:
    移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作;
    检测所述移动终端是否同步开启蓝牙播放音乐操作;
    根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间;
    所述移动终端向文件接收设备传输文件。
  2. 根据权利要求1所述的蓝牙传输控制方法,其中,所述移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作的步骤,具体包括:
    移动终端与文件接收设备建立蓝牙连接,连接成功后,双方启动蓝牙;
    所述移动终端向所述文件接收设备启动蓝牙传输文件操作。
  3. 根据权利要求1所述的蓝牙传输控制方法,其中,所述检测所述移动终端是否同步开启蓝牙播放音乐操作的步骤,具体包括:
    当检测到移动终端向所述文件接收设备启动蓝牙传输文件操作时,检测移动终端是否同步开启蓝牙播放音乐操作。
  4. 根据权利要求3所述的蓝牙传输控制方法,其中,所述根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间的步骤,具体包括:
    若所述移动终端同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第一超时时间;
    若所述移动终端未同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第二超时时间;
    其中,所述第一超时时间大于所述第二超时时间,所述第二超时时间为预设的正常文件传输的超时时间。
  5. 根据权利要求4所述的蓝牙传输控制方法,其中,所述移动终端向文件接收设备传输文件的步骤,具体包括:
    当移动终端与文件接收设备协商确定文件传输超时时间后,所述移动终端开始向文件接收设备传输文件,并同步监听移动终端是否开启蓝牙播放音乐操作;
    若监听到蓝牙播放音乐操作由开启变为关闭或由关闭变为开启,则所述移动终端向文件接收设备重新协商文件传输超时时间。
  6. 根据权利要求5所述的蓝牙传输控制方法,其中,所述移动终端向文件接收设备重新协商文件传输超时时间的步骤,具体包括:
    所述移动终端向文件接收设备发送协商数据包,请求重置文件传输超时时间;
    所述移动终端监听文件接收设备发来的反馈信息;
    根据所述反馈信息,移动终端重置文件传输超时时间。
  7. 根据权利要求6所述的蓝牙传输控制方法,其中,所述根据所述反馈信息,移动终端重置文件传输超时时间的步骤,具体包括:
    当所述反馈信息为蓝牙播放音乐操作由开启变为关闭时,重置文件传输超时时间为第二超时时间,然后继续向文件接收设备传输文件;
    当所述反馈信息为蓝牙播放音乐操作由关闭变为开启,则重置文件传输超时时间为第一超时时间,然后继续向文件接收设备传输文件。
  8. 根据权利要求1所述的蓝牙传输控制方法,其中,所述移动终端向文件接收设备传输文件的步骤之后,还包括:
    当移动终端与文件接收设备的文件传输结束后,所述移动终端停止监听蓝牙播放音乐操作。
  9. 一种蓝牙传输控制系统,其中,所述蓝牙传输控制系统包括:移动终端和文件接收设备;
    移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作,并检测所述移动终端是否同步开启蓝牙播放音乐操作;根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间;所述移动终端向文件接收设备传输文件。
  10. 根据权利要求9所述的蓝牙传输控制系统,其中,所述根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间的步骤,具体包括:
    若所述移动终端同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第一超时时间;
    若所述移动终端未同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第二超时时间;
    其中,所述第一超时时间大于所述第二超时时间,所述第二超时时间为预设的正常文件传输的超时时间。
  11. 根据权利要求10所述的蓝牙传输控制系统,其中,所述移动终端向文件接收设备传输文件的步骤,具体包括:
    当移动终端与文件接收设备协商确定文件传输超时时间后,所述移动终端开始向文件接收设备传输文件,并同步监听移动终端是否开启蓝牙播放音乐操作;
    若监听到蓝牙播放音乐操作由开启变为关闭或由关闭变为开启,则所述移动终端向文件接收设备重新协商文件传输超时时间。
  12. 根据权利要求11所述的蓝牙传输控制系统,其中,所述移动终端向文件接收设备重新协商文件传输超时时间的步骤,具体包括:
    所述移动终端向文件接收设备发送协商数据包,请求重置文件传输超时时间;
    所述移动终端监听文件接收设备发来的反馈信息;
    根据所述反馈信息,移动终端重置文件传输超时时间。
  13. 根据权利要求12所述的蓝牙传输控制系统,其中,所述根据所述反馈信息,移动终端重置文件传输超时时间的步骤,具体包括:
    当所述反馈信息为蓝牙播放音乐操作由开启变为关闭时,重置文件传输超时时间为第二超时时间,然后继续向文件接收设备传输文件;
    当所述反馈信息为蓝牙播放音乐操作由关闭变为开启,则重置文件传输超时时间为第一超时时间,然后继续向文件接收设备传输文件。
  14. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如下步骤:
    移动终端与文件接收设备建立蓝牙连接,所述移动终端向所述文件接收设备启动蓝牙传输文件操作;
    检测所述移动终端是否同步开启蓝牙播放音乐操作;
    根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间;
    所述移动终端向文件接收设备传输文件。
  15. 根据权利要求14所述的计算机可读存储介质,其中,所述根据检测结果,所述移动终端与文件接收设备协商文件传输超时时间的步骤,具体包括:
    若所述移动终端同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第一超时时间;
    若所述移动终端未同步开启蓝牙播放音乐操作,则所述移动终端与文件接收设备协商确定文件传输的第二超时时间;
    其中,所述第一超时时间大于所述第二超时时间,所述第二超时时间为预设的正常文件传输的超时时间。
  16. 根据权利要求15所述的计算机可读存储介质,其中,所述移动终端向文件接收设备传输文件的步骤,具体包括:
    当移动终端与文件接收设备协商确定文件传输超时时间后,所述移动终端开始向文件接收设备传输文件,并同步监听移动终端是否开启蓝牙播放音乐操作;
    若监听到蓝牙播放音乐操作由开启变为关闭或由关闭变为开启,则所述移动终端向文件接收设备重新协商文件传输超时时间。
  17. 根据权利要求16所述的计算机可读存储介质,其中,所述移动终端向文件接收设备重新协商文件传输超时时间的步骤,具体包括:
    所述移动终端向文件接收设备发送协商数据包,请求重置文件传输超时时间;
    所述移动终端监听文件接收设备发来的反馈信息;
    根据所述反馈信息,移动终端重置文件传输超时时间。
  18. 根据权利要求17所述的计算机可读存储介质,其中,所述根据所述反馈信息,移动终端重置文件传输超时时间的步骤,具体包括:
    当所述反馈信息为蓝牙播放音乐操作由开启变为关闭时,重置文件传输超时时间为第二超时时间,然后继续向文件接收设备传输文件;
    当所述反馈信息为蓝牙播放音乐操作由关闭变为开启,则重置文件传输超时时间为第一超时时间,然后继续向文件接收设备传输文件。
  19. 根据权利要求17所述的计算机可读存储介质,其中,所述根据所述反馈信息,移动终端重置文件传输超时时间的步骤,具体包括:
    当移动终端接收到文件接收设备发送拒绝指令或者没有接收到对协商数据包进行反馈,则认为文件接收设备拒绝重置文件传输超时时间,维持第一超时时间,然后继续向文件接收设备传输文件。
  20. 根据权利要求14所述的计算机可读存储介质,其中,所述移动终端向文件接收设备传输文件的步骤之后,还包括:
    当移动终端与文件接收设备的文件传输结束后,所述移动终端停止监听蓝牙播放音乐操作。
PCT/CN2019/076365 2018-02-28 2019-02-27 一种蓝牙传输控制方法、控制系统及存储介质 WO2019165983A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/976,109 US11258844B2 (en) 2018-02-28 2019-02-27 Bluetooth transmission control method, control system, and storage medium
EP19760414.3A EP3761684A4 (en) 2018-02-28 2019-02-27 BLUETOOTH TRANSMISSION CONTROL PROCESS, CONTROL SYSTEM AND RECORDING MEDIA

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810166001.1A CN108260117A (zh) 2018-02-28 2018-02-28 一种蓝牙传输控制方法、控制系统及存储介质
CN201810166001.1 2018-02-28

Publications (1)

Publication Number Publication Date
WO2019165983A1 true WO2019165983A1 (zh) 2019-09-06

Family

ID=62745642

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/076365 WO2019165983A1 (zh) 2018-02-28 2019-02-27 一种蓝牙传输控制方法、控制系统及存储介质

Country Status (4)

Country Link
US (1) US11258844B2 (zh)
EP (1) EP3761684A4 (zh)
CN (1) CN108260117A (zh)
WO (1) WO2019165983A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108260117A (zh) * 2018-02-28 2018-07-06 惠州Tcl移动通信有限公司 一种蓝牙传输控制方法、控制系统及存储介质
CN109683821A (zh) * 2018-12-19 2019-04-26 惠州Tcl移动通信有限公司 数据处理方法、装置、移动终端及存储介质
CN114710753A (zh) * 2022-03-23 2022-07-05 陈双平 终端蓝牙开关控制方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070226034A1 (en) * 2006-03-23 2007-09-27 Kyocera Wireless Corp. Wireless communication device meeting scheduler
CN101621745A (zh) * 2008-07-03 2010-01-06 乐金电子(中国)研究开发中心有限公司 基于无线传输的手机同步播放方法
CN106681827A (zh) * 2016-05-11 2017-05-17 腾讯科技(深圳)有限公司 一种检测软件运行卡慢的方法及装置、电子设备
CN107135413A (zh) * 2017-03-20 2017-09-05 福建天泉教育科技有限公司 一种音视频同步方法及系统
CN108260117A (zh) * 2018-02-28 2018-07-06 惠州Tcl移动通信有限公司 一种蓝牙传输控制方法、控制系统及存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1506642A1 (en) * 2002-05-07 2005-02-16 Koninklijke Philips Electronics N.V. Wireless communication arrangements with packet transmissions
KR100718084B1 (ko) 2006-01-03 2007-05-16 삼성전자주식회사 사용자 단말장치 및 그의 음악파일 관리 방법
JP2007306286A (ja) * 2006-05-11 2007-11-22 Sony Corp 通信システム、通信装置、動作制御方法
US8855562B2 (en) * 2011-06-29 2014-10-07 Infosys Limited Method and system for enabling discovery of services and automated exchange of data between bluetooth devices
CN105407225A (zh) * 2015-11-27 2016-03-16 青岛海信信芯科技有限公司 一种数据传输方法及蓝牙设备
US11139048B2 (en) 2017-07-18 2021-10-05 Analytics For Life Inc. Discovering novel features to use in machine learning techniques, such as machine learning techniques for diagnosing medical conditions
CN107528793B (zh) * 2017-08-01 2021-09-14 惠州Tcl移动通信有限公司 一种蓝牙传输处理方法、存储设备及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070226034A1 (en) * 2006-03-23 2007-09-27 Kyocera Wireless Corp. Wireless communication device meeting scheduler
CN101621745A (zh) * 2008-07-03 2010-01-06 乐金电子(中国)研究开发中心有限公司 基于无线传输的手机同步播放方法
CN106681827A (zh) * 2016-05-11 2017-05-17 腾讯科技(深圳)有限公司 一种检测软件运行卡慢的方法及装置、电子设备
CN107135413A (zh) * 2017-03-20 2017-09-05 福建天泉教育科技有限公司 一种音视频同步方法及系统
CN108260117A (zh) * 2018-02-28 2018-07-06 惠州Tcl移动通信有限公司 一种蓝牙传输控制方法、控制系统及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3761684A4 *

Also Published As

Publication number Publication date
CN108260117A (zh) 2018-07-06
US20200412792A1 (en) 2020-12-31
US11258844B2 (en) 2022-02-22
EP3761684A4 (en) 2021-11-17
EP3761684A1 (en) 2021-01-06

Similar Documents

Publication Publication Date Title
JP5100854B2 (ja) 通信装置、及び通信方法
WO2017080378A1 (zh) 一种授权频谱辅助接入方法,网络设备及终端设备
WO2019184787A1 (zh) 副链路的传输资源选择方法、配置方法、终端和网络设备
WO2017129053A1 (zh) 数据传输方法及装置
WO2018045878A1 (zh) 触摸屏参数的调整方法及相关产品
WO2019029618A1 (zh) Ims语音通话网络的切换方法、存储设备及移动终端
WO2019052554A1 (zh) 减少ue能力信令结构体内容的方法、存储介质及手机
WO2018049886A1 (zh) 建立热点的方法及终端设备
WO2015081664A1 (zh) 控制无线网络开关方法、装置、设备及系统
WO2017096909A1 (zh) 建立数据连接的方法及装置
WO2018036026A1 (zh) 一种数据传输的方法、基站、目标终端、系统及存储介质
WO2018040813A1 (zh) 音视频通信方法、终端、服务器及存储介质
WO2018049971A1 (zh) 热点网络切换方法及终端
WO2019165983A1 (zh) 一种蓝牙传输控制方法、控制系统及存储介质
WO2019051715A1 (zh) 带宽部分bwp的激活方法及相关产品
WO2019011335A1 (zh) 一种移动终端及其控制方法和可读存储介质
WO2019141132A1 (zh) 业务处理方法及移动通信终端
WO2019029564A1 (zh) 一种控制移动终端显示亮度的方法、移动终端及存储装置
WO2019057119A1 (zh) 基于移动终端的wifi热点连接方法及移动终端、存储介质
WO2015081880A1 (zh) 集群业务属性处理的方法、装置和系统
WO2018049969A1 (zh) 热点建立方法及相关设备
WO2019015562A1 (zh) 全视觉导航定位方法、智能终端及存储装置
WO2019034104A1 (zh) 终端自动释放后台进程占用资源的方法、存储介质及终端
WO2015014178A1 (en) Session processing method and device,server and storage medium
WO2020063852A1 (zh) 终端设备能力信息处理方法、终端设备及网络侧设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19760414

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019760414

Country of ref document: EP

Effective date: 20200928