CN112615959B - Request transmission system and method based on big data - Google Patents

Request transmission system and method based on big data Download PDF

Info

Publication number
CN112615959B
CN112615959B CN202011453968.1A CN202011453968A CN112615959B CN 112615959 B CN112615959 B CN 112615959B CN 202011453968 A CN202011453968 A CN 202011453968A CN 112615959 B CN112615959 B CN 112615959B
Authority
CN
China
Prior art keywords
program
bluetooth
music playing
foreground
switching parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011453968.1A
Other languages
Chinese (zh)
Other versions
CN112615959A (en
Inventor
蒙际任
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hopcom Technology Co ltd
Original Assignee
北京昊普康科技股份有限公司
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 北京昊普康科技股份有限公司 filed Critical 北京昊普康科技股份有限公司
Priority to CN202011453968.1A priority Critical patent/CN112615959B/en
Priority to CN202210154096.1A priority patent/CN114401505A/en
Publication of CN112615959A publication Critical patent/CN112615959A/en
Application granted granted Critical
Publication of CN112615959B publication Critical patent/CN112615959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a request transmission system and a method based on big data, wherein the request transmission system comprises a Bluetooth pairing setting module, a voice call control module and a music playing control module, the Bluetooth pairing setting module comprises a priority setting module and a pairing connection module, the priority setting module presets the priority of each earphone in a certain pair of Bluetooth earphones, each Bluetooth earphone comprises a first Bluetooth earphone and a second Bluetooth earphone, the priority of the first Bluetooth earphone is higher than that of the second Bluetooth earphone, the pairing connection module matches the music playing program of a mobile terminal after the first Bluetooth earphone and the second Bluetooth earphone are successfully paired and connected with the mobile terminal, and the Bluetooth earphones transmit music playing the music playing program at a first volume.

Description

Request transmission system and method based on big data
Technical Field
The invention relates to the technical field of big data, in particular to a request transmission system and a request transmission method based on big data.
Background
Bluetooth is an open global specification for wireless data and voice communications, and is a special short-range wireless technology connection that establishes a communication environment for fixed and mobile devices based on a low-cost short-range wireless connection. The bluetooth headset applies the bluetooth technology to the hands-free headset, so that the user can avoid annoying wiring and freely receive the audio transmitted by the mobile terminal in various ways. In the prior art, when a user listens to music through a bluetooth headset, if a mobile terminal receives a voice call, the music can be paused, and after the voice call is ended, the music can be automatically played continuously, so that the user needs to manually pause when the user does not listen to the music after the voice call is ended.
Disclosure of Invention
The present invention is directed to a request transmission system and method based on big data, so as to solve the problems mentioned in the background art.
In order to solve the technical problems, the invention provides the following technical scheme: a request transmission system based on big data comprises a Bluetooth pairing setting module, a voice call control module and a music playing control module, wherein the Bluetooth pairing setting module comprises a priority setting module and a pairing connection module, the priority setting module presets the priority of each earphone in a certain pair of Bluetooth earphones, the Bluetooth earphones comprise a first Bluetooth earphone and a second Bluetooth earphone, the priority of the first Bluetooth earphone is higher than that of the second Bluetooth earphone, the pairing connection module matches a music playing program of a mobile terminal after the first Bluetooth earphone and the second Bluetooth earphone are successfully paired and connected with the mobile terminal, and the Bluetooth earphones transmit music playing the music playing program at a first volume; when the mobile terminal receives a voice call, the voice call control module and the second Bluetooth earphone pause playing music at the same time, the first Bluetooth earphone plays audio data of the voice call, and the music playing control module is used for collecting historical running conditions of application programs before and after the voice call and judging whether the Bluetooth earphone transmits music playing the music playing program or not according to the historical running conditions.
Further, the music playing control module comprises a first program acquisition module, a second program acquisition module and a program comparison module, wherein the first program acquisition module is used for acquiring a foreground running program of the mobile terminal before receiving the voice call as a first program, the second program acquisition module is used for acquiring the foreground running program of the mobile terminal as a second program at preset buffer time intervals after the voice call is finished, and the program comparison and judgment module is used for comparing the first program with the second program and judging whether the bluetooth headset transmits music playing the music playing program according to the first program and the second program; the program comparison and judgment module comprises a program comparison module, a first playing control module and a second playing control module, wherein the program comparison module is used for comparing whether the first program and the second program are the same application program, when the first program and the second program are the same application program, the second playing control module controls the first Bluetooth earphone and the second Bluetooth earphone to continue to transmit and play music of the music playing program at the first volume, when the first program and the second program are not the same application program, the first playing control module obtains the running time of the second program in the foreground, and when the running time of the second program in the foreground is more than or equal to a reference time threshold, the historical running conditions of the first program and the second program are collected, and whether the music of the music playing program is transmitted or not is determined.
Further, the first playing control module comprises an operation duration acquisition module and a historical operation condition acquisition module, the operation duration acquisition module acquires the operation duration of the second program on the foreground, the second playing control module is enabled to work when the operation duration of the second program on the foreground is smaller than a reference duration threshold, the historical operation condition acquisition module is enabled to work when the operation duration of the second program on the foreground is larger than or equal to the reference duration threshold, the historical operation condition acquisition module works and comprises a first switching parameter acquisition module, a second switching parameter acquisition module, a third switching parameter acquisition module, a comprehensive switching parameter calculation module, a comprehensive switching parameter comparison module, a first stop control module and a second stop control module, the first switching parameter acquisition module is used for acquiring the operation duration of the first program on the foreground before the voice call is received and acquiring the connection of the first program on the foreground each time within a preset period of time recently The continuous operation time length is calculated after the longest continuous operation time length and the shortest continuous operation time length are removed, the average continuous operation time length of each time in the foreground in the latest preset period of time is calculated, the second switching parameter acquisition module is used for acquiring the running times of a second program in the foreground in the latest preset period of time and the total running times of all application programs in the foreground, and calculating a second switching parameter according to the running times, the third switching parameter acquisition module is used for acquiring the running times m0 of other application programs in the foreground in the running of a music playing program in the latest preset period of time and the running times of the second program in the foreground in the running of the music playing program, and calculating a third switching parameter according to the running times, the comprehensive switching parameter calculation module calculates a comprehensive switching parameter according to the first switching parameter, the second switching parameter and the third switching parameter, and the comprehensive switching parameter comparison module compares the comprehensive switching parameter with a comprehensive switching parameter threshold value, when the comprehensive switching parameter is larger than or equal to the comprehensive switching parameter threshold value, the first stop control module controls the second Bluetooth earphone to stop playing music of the music playing program, controls the first Bluetooth earphone to transmit and play the music of the music playing program at a second volume, wherein the second volume is smaller than the first volume, and when the comprehensive switching parameter is smaller than the comprehensive switching parameter threshold value, the second stop control module controls the first Bluetooth earphone and the second Bluetooth earphone to stop playing the music of the music playing program.
Furthermore, the request transmission system further comprises a first monitoring adjustment module and a second monitoring adjustment module, wherein when the first bluetooth headset plays the voice call, if the time length of the voice call played by the first bluetooth headset is greater than or equal to a first time length threshold value or a first preset operation gesture on the second bluetooth headset is acquired, the second bluetooth headset also plays audio data of the voice call; when the second monitoring and adjusting module transmits music playing programs with the second volume to the first Bluetooth headset, if the first Bluetooth headset is in a use state or a second preset operation gesture on the second Bluetooth headset is collected, the first Bluetooth headset and the second Bluetooth headset transmit music playing programs with the first volume.
A request transmission method based on big data comprises the following steps:
step S1: after a pair of Bluetooth earphones is successfully connected with the Bluetooth of the mobile terminal in a matching way, the Bluetooth earphones are matched with the music playing program of the mobile terminal, the Bluetooth earphones transmit music playing the music playing program at a first volume, and the pair of Bluetooth earphones comprises a first Bluetooth earphone and a second Bluetooth earphone;
step S2: when the mobile terminal receives a voice call, the first Bluetooth earphone and the second Bluetooth earphone pause playing music at the same time, and the first Bluetooth earphone plays audio data of the voice call;
step S3: after the voice call is collected, the preset buffer duration is separated, the foreground running program of the mobile terminal is obtained as a second program, the foreground running program of the mobile terminal before the voice call is received is collected as a first program, and the first program and the second program are compared to judge whether the Bluetooth headset transmits music playing programs or not.
Further, in step S3, the comparison between the first program and the second program determines whether the bluetooth headset transmits music playing the music playing program according to the first program and the second program:
if the first program and the second program are different programs, acquiring the running time of the second program in a foreground, and when the running time of the second program in the foreground is greater than or equal to a reference time threshold, acquiring the historical running conditions of the first program and the second program and determining whether to transmit music of a music playing program or not according to the historical running conditions;
and if the first program and the second program are the same program or the running time of the second program in the foreground is less than the reference time threshold, the first Bluetooth headset and the second Bluetooth headset continue to transmit the music playing program at the first volume.
Further, the acquiring the historical operating conditions of the first program and the second program and accordingly determining whether to transmit the music playing program comprises the following steps:
acquiring the running time t1 of the first program in the foreground before the voice call is received, acquiring the continuous running time of the first program in the foreground each time in the latest preset period of time, and calculating the average continuous running time t0 of the first program in the foreground each time in the latest preset period of time after removing the longest continuous running time and the shortest continuous running time from the running time, wherein the first switching parameter P1 is t1/t 0;
acquiring the number n1 of times that the second program runs in the foreground in the latest preset period of time and the total number n0 of times that all the application programs run in the foreground, wherein the second switching parameter P2 is n1/n 0;
acquiring the number m0 of times that other application programs run in the foreground when the music playing program runs in the latest preset period of time and the number m1 of times that the second program runs in the foreground when the music playing program runs, wherein the third switching parameter P3 is m1/m 0;
then the integrated switching parameter Pz is 0.12P 1+ 0.36P 2+ 0.52P 3;
if the comprehensive switching parameter is smaller than the comprehensive switching parameter threshold value, controlling the first Bluetooth earphone and the second Bluetooth earphone to request to stop playing the music of the music playing program;
and if the comprehensive switching parameter is more than or equal to the comprehensive switching parameter threshold value, controlling the second Bluetooth earphone to stop playing the music of the music playing program, and controlling the first Bluetooth earphone to transmit and play the music of the music playing program at a second volume, wherein the second volume is less than the first volume. The method and the device calculate the comprehensive switching parameters in consideration of multiple aspects, so that the technical effect of enabling the result of controlling music playing to be more accurate is achieved; when the comprehensive switching parameter is judged to be more than or equal to the comprehensive switching parameter threshold value, tentative playing is performed at low volume, and whether to request to stop playing music is judged by collecting the interactive operation condition with a user, so that the effect of playing music by using a Bluetooth headset is more intelligent;
further, the step S2 further includes: when the first Bluetooth headset plays the voice call, if the duration of the voice call played by the first Bluetooth headset is greater than or equal to the first duration threshold or a first preset operation gesture on the second Bluetooth headset is acquired, the second Bluetooth headset also plays audio data of the voice call.
Further, the step S3 further includes: when the first Bluetooth headset transmits music playing the music playing program at the second volume, if the first Bluetooth headset is in a use state or a second preset operation gesture on the second Bluetooth headset is collected, the first Bluetooth headset and the second Bluetooth headset transmit music playing the music playing program at the first volume.
Further, the request transmission method further includes: the priority of the first Bluetooth earphone and the priority of the second Bluetooth earphone are preset, and the priority of the first Bluetooth earphone is greater than that of the second Bluetooth earphone.
Compared with the prior art, the invention has the following beneficial effects: according to the invention, by collecting the application programs used before and after the voice call, analyzing the historical running conditions of the programs used before and after the call, and judging whether the music playing needs to be stopped or not according to the historical running conditions, the effect of more intelligentizing music playing by using the Bluetooth earphone is achieved, the experience of a user is improved, and the use is more convenient.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a block diagram of a big data based request transmission system according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
Referring to fig. 1, the present invention provides a technical solution: a request transmission system based on big data comprises a Bluetooth pairing setting module, a voice call control module and a music playing control module, wherein the Bluetooth pairing setting module comprises a priority setting module and a pairing connection module, the priority setting module presets the priority of each earphone in a certain pair of Bluetooth earphones, the Bluetooth earphones comprise a first Bluetooth earphone and a second Bluetooth earphone, the priority of the first Bluetooth earphone is higher than that of the second Bluetooth earphone, the pairing connection module matches a music playing program of a mobile terminal after the first Bluetooth earphone and the second Bluetooth earphone are successfully paired and connected with the mobile terminal, and the Bluetooth earphones transmit music playing the music playing program at a first volume; when the mobile terminal receives a voice call, the voice call control module and the second Bluetooth earphone pause playing music at the same time, the first Bluetooth earphone plays audio data of the voice call, and the music playing control module is used for collecting historical running conditions of application programs before and after the voice call and judging whether the Bluetooth earphone transmits music playing the music playing program or not according to the historical running conditions.
The music playing control module comprises a first program acquisition module, a second program acquisition module and a program comparison module, wherein the first program acquisition module is used for acquiring a foreground running program of the mobile terminal before receiving a voice call as a first program, the second program acquisition module is used for acquiring the foreground running program of the mobile terminal as a second program at preset buffer duration after the voice call is finished, and the program comparison and judgment module is used for comparing the first program with the second program and judging whether the Bluetooth headset transmits music playing the music playing program or not according to the first program and the second program; the program comparison and judgment module comprises a program comparison module, a first playing control module and a second playing control module, wherein the program comparison module is used for comparing whether the first program and the second program are the same application program, when the first program and the second program are the same application program, the second playing control module controls the first Bluetooth earphone and the second Bluetooth earphone to continue to transmit and play music of the music playing program at the first volume, when the first program and the second program are not the same application program, the first playing control module obtains the running time of the second program in the foreground, and when the running time of the second program in the foreground is more than or equal to a reference time threshold, the historical running conditions of the first program and the second program are collected, and whether the music of the music playing program is transmitted or not is determined.
The first playing control module comprises an operation duration acquisition module and a historical operation condition acquisition module, the operation duration acquisition module acquires the operation duration of a second program on a foreground, the second playing control module is enabled to work when the operation duration of the second program on the foreground is smaller than a reference duration threshold, the historical operation condition acquisition module is enabled to work when the operation duration of the second program on the foreground is larger than or equal to the reference duration threshold, the historical operation condition acquisition module works and comprises a first switching parameter acquisition module, a second switching parameter acquisition module, a third switching parameter acquisition module, a comprehensive switching parameter calculation module, a comprehensive switching parameter comparison module, a first stop control module and a second stop control module, the first switching parameter acquisition module is used for acquiring the operation duration of the first program on the foreground before the voice call is received and acquiring the continuous operation duration of the first program on the foreground each time within a preset period of time Calculating the average continuous operation time length of each foreground in the latest preset period of time after removing the longest continuous operation time length and the shortest continuous operation time length from the average continuous operation time length, wherein the second switching parameter acquisition module is used for acquiring the number of times that a second program operates in the foreground in the latest preset period of time and the total number of times that all application programs operate in the foreground, and calculating a second switching parameter according to the second switching parameter, the third switching parameter acquisition module is used for acquiring the number of times that other application programs operate in the foreground during the operation of a music playing program in the latest preset period of time and the number of times that the second program operates in the foreground during the operation of the music playing program, and calculating a third switching parameter according to the third switching parameter, the comprehensive switching parameter calculation module calculates a comprehensive switching parameter according to the first switching parameter, the second switching parameter and the third switching parameter, and the comprehensive switching parameter comparison module compares the comprehensive switching parameter with a comprehensive switching parameter threshold value, when the comprehensive switching parameter is larger than or equal to the comprehensive switching parameter threshold value, the first stop control module controls the second Bluetooth earphone to stop playing music of the music playing program, controls the first Bluetooth earphone to transmit and play the music of the music playing program at a second volume, wherein the second volume is smaller than the first volume, and when the comprehensive switching parameter is smaller than the comprehensive switching parameter threshold value, the second stop control module controls the first Bluetooth earphone and the second Bluetooth earphone to stop playing the music of the music playing program.
The request transmission system further comprises a first monitoring adjustment module and a second monitoring adjustment module, wherein when the first Bluetooth headset plays a voice call, if the time length of the voice call played by the first Bluetooth headset is greater than or equal to a first time length threshold value or a first preset operation gesture on the second Bluetooth headset is acquired, the second Bluetooth headset also plays audio data of the voice call; when the second monitoring and adjusting module transmits music playing programs with the second volume to the first Bluetooth headset, if the first Bluetooth headset is in a use state or a second preset operation gesture on the second Bluetooth headset is collected, the first Bluetooth headset and the second Bluetooth headset transmit music playing programs with the first volume.
A request transmission method based on big data comprises the following steps:
step S1: after a pair of Bluetooth earphones is successfully connected with the Bluetooth of the mobile terminal in a matching way, the Bluetooth earphones are matched with the music playing program of the mobile terminal, the Bluetooth earphones transmit music playing the music playing program at a first volume, and the pair of Bluetooth earphones comprises a first Bluetooth earphone and a second Bluetooth earphone;
the priority of a first Bluetooth headset and the priority of a second Bluetooth headset can be preset, wherein the priority of the first Bluetooth headset is higher than that of the second Bluetooth headset; in the actual use process, the situation that a user uses a single-side Bluetooth headset often occurs, and the priority of the Bluetooth headset which is used more frequently by the user is set to be higher, so that the user can use the Bluetooth headset more conveniently;
step S2: when the mobile terminal receives a voice call, the first Bluetooth earphone and the second Bluetooth earphone pause playing music at the same time, and the first Bluetooth earphone plays audio data of the voice call; when the first Bluetooth headset plays the voice call, if the duration of the voice call played by the first Bluetooth headset is greater than or equal to the first duration threshold or a first preset operation gesture on the second Bluetooth headset is acquired, the second Bluetooth headset also plays audio data of the voice call.
Step S3: after the voice call is collected, acquiring a foreground running program of the mobile terminal as a second program at intervals of a preset buffer duration, acquiring the foreground running program of the mobile terminal before the voice call is received as a first program, and comparing the first program with the second program to judge whether the Bluetooth headset transmits music playing a music playing program or not, wherein the preset buffer duration in the application is very short, and the preset buffer duration can be set to be 5 seconds in a few seconds;
in step S3, the first program and the second program are compared to determine whether the bluetooth headset transmits music playing the music playing program:
if the first program and the second program are different programs, acquiring the running time of the second program in a foreground, and when the running time of the second program in the foreground is greater than or equal to a reference time threshold, acquiring the historical running conditions of the first program and the second program and determining whether to transmit music of a music playing program or not according to the historical running conditions;
and if the first program and the second program are the same program or the running time of the second program in the foreground is less than the reference time threshold, the first Bluetooth headset and the second Bluetooth headset continue to transmit the music playing program at the first volume. If the user still uses the first program or only uses the second program for a short time after hanging up the phone, the influence of the content of the voice call is small, and therefore the first Bluetooth headset and the second Bluetooth headset continue to play music;
the step of collecting the historical operating conditions of the first program and the second program and accordingly determining whether to transmit the music playing program comprises the following steps:
acquiring the running time t1 of the first program in the foreground before the voice call is received, acquiring the continuous running time of the first program in the foreground each time in the latest preset period of time, and calculating the average continuous running time t0 of the first program in the foreground each time in the latest preset period of time after removing the longest continuous running time and the shortest continuous running time from the running time, wherein the first switching parameter P1 is t1/t 0; if the average continuous running time of the history of the first program in the foreground each time is longer, and the running time of the first program in the foreground is shorter because the voice call is connected, the voice call is important, and the music playing can influence the user in the case;
acquiring the number n1 of times that the second program runs in the foreground in the latest preset period of time and the total number n0 of times that all the application programs run in the foreground, wherein the second switching parameter P2 is n1/n 0; if the second program is used less frequently, but the voice call is switched on, the second program is switched to, which shows that the voice call is important, and in this case, playing music can affect the user;
acquiring the number m0 of times that other application programs run in the foreground when the music playing program runs in the latest preset period of time and the number m1 of times that the second program runs in the foreground when the music playing program runs, wherein the third switching parameter P3 is m1/m 0; judging whether to stop playing music according to the habit of whether to play music when the user uses the second program historically;
then the integrated switching parameter Pz is 0.12P 1+ 0.36P 2+ 0.52P 3;
if the comprehensive switching parameter is smaller than the comprehensive switching parameter threshold value, controlling the first Bluetooth earphone and the second Bluetooth earphone to stop playing the music of the music playing program; when the comprehensive switching parameter is smaller than the comprehensive switching parameter threshold value, the probability that the content of the voice call is more important is very high, so that the music is stopped to be played, and the user does not need to manually pause the music;
if the comprehensive switching parameter is more than or equal to the comprehensive switching parameter threshold value, controlling the second Bluetooth earphone to stop playing the music of the music playing program, and controlling the first Bluetooth earphone to transmit and play the music of the music playing program at a second volume, wherein the second volume is less than the first volume;
when the first Bluetooth headset transmits music playing the music playing program at the second volume, if the first Bluetooth headset is in a use state or a second preset operation gesture on the second Bluetooth headset is collected, the first Bluetooth headset and the second Bluetooth headset transmit music playing the music playing program at the first volume. When the comprehensive switching parameter is smaller than the comprehensive switching parameter threshold value, the content of the voice call is relatively not so important, therefore, the first Bluetooth earphone is controlled to transmit and play at the second volume for tentative playing, and when the situation that the first Bluetooth earphone is continuously carried on the ear of the user or a second preset operation gesture for the second Bluetooth earphone is collected is monitored, the Bluetooth earphone is adjusted to transmit and play at the first volume, so that the playing of the Bluetooth earphone is more intelligent.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (2)

1. A request transmission system based on big data is characterized by comprising a Bluetooth pairing setting module, a voice call control module and a music playing control module, wherein the Bluetooth pairing setting module comprises a priority setting module and a pairing connection module, the priority setting module presets the priority of each earphone in a certain pair of Bluetooth earphones, each Bluetooth earphone comprises a first Bluetooth earphone and a second Bluetooth earphone, the priority of the first Bluetooth earphone is higher than that of the second Bluetooth earphone, the pairing connection module matches a music playing program of a mobile terminal after the first Bluetooth earphone and the second Bluetooth earphone are successfully paired and connected with the mobile terminal, and the Bluetooth earphones transmit music playing the music playing program at a first volume; the mobile terminal comprises a voice call control module, a first Bluetooth earphone, a second Bluetooth earphone, a music playing control module and a music playing module, wherein the voice call control module is used for pausing playing music simultaneously when the mobile terminal receives a voice call, the first Bluetooth earphone plays audio data of the voice call, and the music playing control module is used for collecting historical running conditions of application programs before and after the voice call and judging whether the Bluetooth earphone transmits music playing the music playing program or not according to the historical running conditions;
the music playing control module comprises a first program acquisition module, a second program acquisition module and a program comparison module, wherein the first program acquisition module is used for acquiring a foreground running program of the mobile terminal before receiving a voice call as a first program, the second program acquisition module is used for acquiring the foreground running program of the mobile terminal as a second program at preset buffer duration after the voice call is finished, and the program comparison and judgment module is used for comparing the first program with the second program and judging whether the Bluetooth headset transmits music playing the music playing program or not according to the first program and the second program; the program comparison and judgment module comprises a program comparison module, a first playing control module and a second playing control module, wherein the program comparison module is used for comparing whether the first program and the second program are the same application program or not, when the first program and the second program are the same application program, the second playing control module controls the first Bluetooth earphone and the second Bluetooth earphone to continuously transmit and play music of the music playing program at the first volume, when the first program and the second program are not the same application program, the first playing control module obtains the running time of the second program in a foreground, and when the running time of the second program in the foreground is more than or equal to a reference time threshold, the historical running conditions of the first program and the second program are collected, and whether the music of the music playing program is transmitted or not is determined according to the historical running conditions;
the first playing control module comprises an operation duration acquisition module and a historical operation condition acquisition module, the operation duration acquisition module acquires the operation duration of a second program on a foreground, the second playing control module is enabled to work when the operation duration of the second program on the foreground is smaller than a reference duration threshold, the historical operation condition acquisition module is enabled to work when the operation duration of the second program on the foreground is larger than or equal to the reference duration threshold, the historical operation condition acquisition module works and comprises a first switching parameter acquisition module, a second switching parameter acquisition module, a third switching parameter acquisition module, a comprehensive switching parameter calculation module, a comprehensive switching parameter comparison module, a first stop control module and a second stop control module, the first switching parameter acquisition module is used for acquiring the operation duration of the first program on the foreground before the voice call is received and acquiring the continuous operation duration of the first program on the foreground each time within a preset period of time Calculating the average continuous operation time length of each foreground in the latest preset period of time after removing the longest continuous operation time length and the shortest continuous operation time length from the average continuous operation time length, wherein the second switching parameter acquisition module is used for acquiring the number of times that a second program operates in the foreground in the latest preset period of time and the total number of times that all application programs operate in the foreground, and calculating a second switching parameter according to the second switching parameter, the third switching parameter acquisition module is used for acquiring the number of times that other application programs operate in the foreground during the operation of a music playing program in the latest preset period of time and the number of times that the second program operates in the foreground during the operation of the music playing program, and calculating a third switching parameter according to the third switching parameter, the comprehensive switching parameter calculation module calculates a comprehensive switching parameter according to the first switching parameter, the second switching parameter and the third switching parameter, and the comprehensive switching parameter comparison module compares the comprehensive switching parameter with a comprehensive switching parameter threshold value, when the comprehensive switching parameter is greater than or equal to the comprehensive switching parameter threshold value, the first stop control module controls the second Bluetooth earphone to stop playing the music of the music playing program, controls the first Bluetooth earphone to transmit and play the music of the music playing program at a second volume, wherein the second volume is smaller than the first volume, and when the comprehensive switching parameter is smaller than the comprehensive switching parameter threshold value, the second stop control module controls the first Bluetooth earphone and the second Bluetooth earphone to stop playing the music of the music playing program;
the request transmission system further comprises a first monitoring adjustment module and a second monitoring adjustment module, wherein when the first Bluetooth headset plays a voice call, if the time length of the voice call played by the first Bluetooth headset is greater than or equal to a first time length threshold value or a first preset operation gesture on the second Bluetooth headset is acquired, the second Bluetooth headset also plays audio data of the voice call; when the second monitoring and adjusting module transmits music playing programs with the second volume to the first Bluetooth headset, if the first Bluetooth headset is in a use state or a second preset operation gesture on the second Bluetooth headset is collected, the first Bluetooth headset and the second Bluetooth headset transmit music playing programs with the first volume.
2. A request transmission method based on big data is characterized in that: the request transmission method comprises the following steps:
step S1: after a pair of Bluetooth earphones is successfully connected with the Bluetooth of the mobile terminal in a matching way, the Bluetooth earphones are matched with the music playing program of the mobile terminal, the Bluetooth earphones transmit music playing the music playing program at a first volume, and the pair of Bluetooth earphones comprises a first Bluetooth earphone and a second Bluetooth earphone;
step S2: when the mobile terminal receives a voice call, the first Bluetooth earphone and the second Bluetooth earphone pause playing music at the same time, and the first Bluetooth earphone plays audio data of the voice call;
step S3: after the voice call is collected, a preset buffer duration is separated, a foreground running program of the mobile terminal is obtained as a second program, the foreground running program of the mobile terminal before the voice call is received is collected as a first program, and the first program and the second program are compared to judge whether the Bluetooth headset transmits music playing a music playing program or not;
in step S3, the first program and the second program are compared to determine whether the bluetooth headset transmits music playing the music playing program:
if the first program and the second program are different programs, acquiring the running time of the second program in a foreground, and when the running time of the second program in the foreground is greater than or equal to a reference time threshold, acquiring the historical running conditions of the first program and the second program and determining whether to transmit music of a music playing program or not according to the historical running conditions;
if the first program and the second program are the same program or the running time of the second program in the foreground is less than the reference time threshold, the first Bluetooth headset and the second Bluetooth headset continue to transmit music playing the music playing program at the first volume;
the step of collecting the historical operating conditions of the first program and the second program and accordingly determining whether to transmit the music playing program comprises the following steps:
acquiring the running time t1 of the first program in the foreground before the voice call is received, acquiring the continuous running time of the first program in the foreground each time in the latest preset period of time, and calculating the average continuous running time t0 of the first program in the foreground each time in the latest preset period of time after removing the longest continuous running time and the shortest continuous running time from the running time, wherein the first switching parameter P1 is t1/t 0;
acquiring the number n1 of times that the second program runs in the foreground in the latest preset period of time and the total number n0 of times that all the application programs run in the foreground, wherein the second switching parameter P2 is n1/n 0;
acquiring the number m0 of times that other application programs run in the foreground when the music playing program runs in the latest preset period of time and the number m1 of times that the second program runs in the foreground when the music playing program runs, wherein the third switching parameter P3 is m1/m 0;
then the integrated switching parameter Pz is 0.12P 1+ 0.36P 2+ 0.52P 3;
if the comprehensive switching parameter is smaller than the comprehensive switching parameter threshold value, controlling the first Bluetooth earphone and the second Bluetooth earphone to stop playing the music of the music playing program;
if the comprehensive switching parameter is more than or equal to the comprehensive switching parameter threshold value, controlling the second Bluetooth earphone to stop playing the music of the music playing program, and controlling the first Bluetooth earphone to transmit and play the music of the music playing program at a second volume, wherein the second volume is less than the first volume;
the step S2 further includes:
when the first Bluetooth headset plays the voice call, if the time length of the first Bluetooth headset playing the voice call is greater than or equal to a first time length threshold value or a first preset operation gesture on a second Bluetooth headset is acquired, the second Bluetooth headset also plays audio data of the voice call;
the step S3 further includes:
when the first Bluetooth headset transmits music playing the music playing program at a second volume, if the first Bluetooth headset is in a use state or a second preset operation gesture on the second Bluetooth headset is acquired, the first Bluetooth headset and the second Bluetooth headset transmit music playing the music playing program at the first volume;
the request transmission method further comprises the following steps:
the priority of the first Bluetooth earphone and the priority of the second Bluetooth earphone are preset, and the priority of the first Bluetooth earphone is greater than that of the second Bluetooth earphone.
CN202011453968.1A 2020-12-10 2020-12-10 Request transmission system and method based on big data Active CN112615959B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011453968.1A CN112615959B (en) 2020-12-10 2020-12-10 Request transmission system and method based on big data
CN202210154096.1A CN114401505A (en) 2020-12-10 2020-12-10 Request transmission system based on big data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011453968.1A CN112615959B (en) 2020-12-10 2020-12-10 Request transmission system and method based on big data

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202210154096.1A Division CN114401505A (en) 2020-12-10 2020-12-10 Request transmission system based on big data

Publications (2)

Publication Number Publication Date
CN112615959A CN112615959A (en) 2021-04-06
CN112615959B true CN112615959B (en) 2022-04-22

Family

ID=75233133

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202011453968.1A Active CN112615959B (en) 2020-12-10 2020-12-10 Request transmission system and method based on big data
CN202210154096.1A Pending CN114401505A (en) 2020-12-10 2020-12-10 Request transmission system based on big data

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202210154096.1A Pending CN114401505A (en) 2020-12-10 2020-12-10 Request transmission system based on big data

Country Status (1)

Country Link
CN (2) CN112615959B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938819A (en) * 2012-11-29 2013-02-20 上海斐讯数据通信技术有限公司 Mobile terminal music control system and method
CN105827825A (en) * 2016-02-29 2016-08-03 维沃移动通信有限公司 Audio data processing method and mobile terminal
CN107087072A (en) * 2017-04-25 2017-08-22 维沃移动通信有限公司 A kind of audio frequency playing method and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1661938A (en) * 2004-02-24 2005-08-31 拍档科技股份有限公司 PDA device of handset in use for operating muic playing back
CN109257500B (en) * 2018-09-30 2021-06-15 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and storage medium
CN111081283A (en) * 2019-12-25 2020-04-28 惠州Tcl移动通信有限公司 Music playing method and device, storage medium and terminal equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938819A (en) * 2012-11-29 2013-02-20 上海斐讯数据通信技术有限公司 Mobile terminal music control system and method
CN105827825A (en) * 2016-02-29 2016-08-03 维沃移动通信有限公司 Audio data processing method and mobile terminal
CN107087072A (en) * 2017-04-25 2017-08-22 维沃移动通信有限公司 A kind of audio frequency playing method and mobile terminal

Also Published As

Publication number Publication date
CN114401505A (en) 2022-04-26
CN112615959A (en) 2021-04-06

Similar Documents

Publication Publication Date Title
US9344793B2 (en) Audio apparatus and methods
US10705791B2 (en) Volume adjustment method and terminal
CN104243662B (en) Terminal prompt mode adjusting method and terminal
WO2017035967A1 (en) Smart speaker volume control method, device, smart speaker and mobile terminal
US20140170979A1 (en) Contextual power saving in bluetooth audio
CN102984365A (en) Judging and processing method and device of terminal call state and terminal
WO2020019820A1 (en) Microphone hole blockage detection method and related product
CN105163216A (en) Automatic music playing method and earphone
CN104023144A (en) Mobile terminal ring tone control method and device
CN103401985A (en) Voice control method and terminal
CN106101408A (en) A kind of mobile terminal and method for regulation of sound volume thereof
CN108900951A (en) Volume adjusting method, earphone and computer readable storage medium
CN103200498A (en) Music playing method and music playing system of mobile terminal
WO2015026859A1 (en) Audio apparatus and methods
CN111988770A (en) Control method and system of wireless equipment
CN103811033A (en) Method and device for controlling voice playing modes
CN112615959B (en) Request transmission system and method based on big data
CN106126179B (en) Information processing method and electronic equipment
CN103796145B (en) Auditory sense threshold value determining method and device and hearing aid
CN104867296A (en) Sound volume adjustment method and device
CN103716446A (en) Method and device for improving conversation tone quality on mobile terminal
CN109168098B (en) System for automatically controlling to suspend and open Bluetooth headset when mobile phone is away from ear and control method thereof
CN107592428A (en) A kind of volume adjusting method and communicator
CN111182589B (en) Wireless bandwidth allocation method and wireless terminal equipment
CN105812972B (en) System and method for controlling handheld device by utilizing earphone

Legal Events

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

Effective date of registration: 20220401

Address after: 100000 first floor, building 23, No. 18, anningzhuang East Road, Qinghe, Haidian District, Beijing

Applicant after: BEIJING HOPCOM TECHNOLOGY CO.,LTD.

Address before: 210000 No.221 Xianyin North Road, Qixia District, Nanjing City, Jiangsu Province

Applicant before: Meng Jiren

GR01 Patent grant
GR01 Patent grant