CN107071711A - Multimedia sharing method, device and Bluetooth equipment - Google Patents
Multimedia sharing method, device and Bluetooth equipment Download PDFInfo
- Publication number
- CN107071711A CN107071711A CN201710236797.9A CN201710236797A CN107071711A CN 107071711 A CN107071711 A CN 107071711A CN 201710236797 A CN201710236797 A CN 201710236797A CN 107071711 A CN107071711 A CN 107071711A
- Authority
- CN
- China
- Prior art keywords
- multimedia
- bluetooth equipment
- module
- attribute information
- broadcast channel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a kind of multimedia sharing method, device and bluetooth equipment, and methods described includes:When starting bluetooth scanning, at least one default broadcast channel is scanned;When broadcasting packet is arrived in any one broadcast channel scanning in by least one described broadcast channel, the multimedia attribute information currently playing for the first bluetooth equipment for sending the broadcasting packet is parsed from the broadcasting packet;The multimedia is obtained based on the attribute information.Using this method, it is possible to achieve the multimedia between user neighbouring in real time is shared, and lifts Consumer's Experience.
Description
Technical field
The application is related to technical field of bluetooth communication, more particularly to a kind of multimedia sharing method, device and bluetooth equipment.
Background technology
Current user can realize that multimedia is shared by internet social tool or live platform etc., for example, two with
Upper user can be by accessing same internet address, while listening to consolidated network program of radio station;In another example, user can be by certainly
Oneself is shared with other users by audio or video interested by internet social tool, is listened to realization with other users same
Audio watches same video.
But above-mentioned described multimedia sharing mode is more single, in some real-time scenes, user can not be known
With its multimedia that neighbouring user is currently played in real time, can not also realize user and its real-time neighbouring user synchronously receive
Listen same audio or watch same video, cause Consumer's Experience to be limited.
The content of the invention
In view of this, the application provides a kind of multimedia sharing method, device and bluetooth equipment, neighbouring in real time to realize
Multimedia between user is shared, and lifts Consumer's Experience.
Specifically, the application is achieved by the following technical solution:
According to the first aspect of the embodiment of the present application there is provided a kind of multimedia sharing method, this method includes:
When starting bluetooth scanning, at least one default broadcast channel is scanned;
When broadcasting packet is arrived in any one broadcast channel scanning in by least one described broadcast channel, from described
The multimedia attribute information currently playing for the first bluetooth equipment for sending the broadcasting packet is parsed in broadcasting packet;
The multimedia is obtained based on the attribute information.
According to the second aspect of the embodiment of the present application there is provided a kind of multimedia sharing method, this method includes:
When starting Bluetooth broadcast, currently playing multimedia attribute information is obtained;
Broadcasting packet is sent at least one default broadcast channel based on the attribute information.
According to the third aspect of the embodiment of the present application there is provided a kind of multimedia sharing means, the device includes:
Scan module, for when starting bluetooth scanning, scanning at least one default broadcast channel;
First parsing module, for when arriving broadcasting packet by scan module scanning, from the broadcasting packet
Parse the multimedia attribute information currently playing for the first bluetooth equipment for sending the broadcasting packet;
Acquisition module, the attribute information for being parsed based on first parsing module obtains the multimedia.
According to the fourth aspect of the embodiment of the present application there is provided a kind of multimedia sharing means, the device includes:
Data obtaining module, for when starting Bluetooth broadcast, obtaining currently playing multimedia attribute information;
Broadcast transmission module, for the attribute information that is got based on described information acquisition module to it is default at least one
Broadcast channel sends broadcasting packet.
According to the 5th of the embodiment of the present application the aspect there is provided a kind of bluetooth equipment, the bluetooth equipment includes:
Processor;Memory for storing the processor-executable instruction;
Wherein, the processor, is configured as performing any described methods of the claims 1-7, or, it is configured
To perform any described methods of the claims 8-10.
The present embodiment provide multimedia sharing method, by when start bluetooth scan when, scan it is default at least one
Broadcast channel, when broadcasting packet is arrived in scanning, parses from the broadcasting packet and is set for sending the first bluetooth of the broadcasting packet
Standby currently playing multimedia attribute information, the currently playing multimedia of the first bluetooth equipment is obtained based on the attribute information,
The shared currently playing multimedia of the other bluetooth equipments perceived in adjacent domain can be realized, Consumer's Experience is lifted.
Brief description of the drawings
One of application scenarios schematic diagram of multimedia sharing method that Fig. 1 provides for the application;
The schematic flow sheet for the multimedia sharing method that Fig. 2 provides for the exemplary embodiment of the application;
The schematic flow sheet for the multimedia sharing method that Fig. 3 provides for the another exemplary embodiment of the application;
The two of the application scenarios schematic diagram for the multimedia sharing method that Fig. 4 provides for the application;
The schematic flow sheet for the multimedia sharing method that Fig. 5 provides for the application further example embodiment;
Fig. 6 is the embodiment block diagram of multimedia sharing means of the application according to an exemplary embodiment;
Fig. 7 is the embodiment block diagram of multimedia sharing means of the application according to another exemplary embodiment;
Fig. 8 shows the structural representation of the bluetooth equipment according to one example embodiment of the present invention.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting the application.
" one kind ", " described " and "the" of singulative used in the application and appended claims are also intended to including majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from
In the case of the application scope, the first information can also be referred to as the second information, similarly, and the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
One of application scenarios schematic diagram of multimedia sharing method that Fig. 1 provides for the application, as shown in figure 1, runway 11
In can have two or more user (not showed that in Fig. 1) simultaneously, by taking two users therein as an example, in two users
One user carries the first bluetooth equipment 12, and another user carries the second bluetooth equipment 13.Assuming that a user works as
Preceding to play multimedia by the first bluetooth equipment 12, the first bluetooth equipment 12 can perform the shared side of multimedia of the application offer
Method, currently playing multimedia attribute information is broadcasted by least one broadcast channel, meanwhile, the second bluetooth equipment
13 can perform the multimedia sharing method of the application offer, by scanning at least one broadcast channel, blue to obtain first
The currently playing multimedia attribute information of tooth equipment 12, then obtains the first bluetooth equipment 12 based on the attribute information and currently broadcasts
The multimedia put, so as to realize that the multimedia between the first bluetooth equipment 12 and the second bluetooth equipment 13 is shared, so as to realize neighbour
Multimedia between near user is shared, and lifts Consumer's Experience.
In this application, the first bluetooth equipment 12 can be bluetooth earphone, be provided with the smart mobile phone of bluetooth, be provided with indigo plant
The portable set of tooth, etc..If it should be noted that first bluetooth equipment 12 is bluetooth earphone, first bluetooth is set
Standby 12 multimedias played can be audio, if first bluetooth equipment 11 is to be provided with the smart mobile phone of bluetooth or portable set
Standby, the multimedia that first bluetooth equipment 11 is played can be audio, video.Second bluetooth equipment 13 can be to be provided with bluetooth
Smart mobile phone, be provided with bluetooth portable set, etc..
For the application is further described, the application scenarios schematic diagram with reference to exemplified by Fig. 1 is first, blue from first
The multimedia sharing method that the side of tooth equipment 12 is provided the application is illustrated:
The schematic flow sheet for the multimedia sharing method that Fig. 2 provides for the exemplary embodiment of the application, the present embodiment
Can be using on the first exemplified in Fig. 1 bluetooth equipment 12, as shown in Fig. 2 comprising the following steps:
Step 201:When starting Bluetooth broadcast, currently playing multimedia attribute information is obtained.
In one embodiment, the mode for starting Bluetooth broadcast can be to be opened by triggering the bluetooth on the first bluetooth equipment 12
Button is opened, to open Bluetooth broadcast function, can also be triggered when being powered to the first bluetooth equipment 12 and open Bluetooth broadcast work(
Energy.
In one embodiment, so that the first bluetooth equipment 12 is to be provided with the smart mobile phone of bluetooth as an example, the first bluetooth equipment
12 currently playing multimedias can be the multimedia file being locally stored, for example audio file, video file.When the first bluetooth
When equipment 12 starts Bluetooth broadcast, the attribute information of currently playing multimedia file, the category of the multimedia file can be obtained
Property information can include multiple media types (being now " local multimedia "), file name, file format, etc., for example, first
The currently playing multimedia of bluetooth equipment 12 is song, then the attribute information of multimedia file can include multiple media types, song
Song name claims, song formats (for example, MP3), etc..
In one embodiment, so that the first bluetooth equipment 12 is bluetooth earphone as an example, the first bluetooth equipment 12 is currently playing
The multimedia the being locally stored text for the smart machine (such as smart mobile phone, portable set) that multimedia can be connected for it
Part.
In one embodiment, the currently playing multimedia of the first bluetooth equipment 12 can be online multimedia resource, for example
The audio of network radio station broadcast.When the first bluetooth equipment 12 starts Bluetooth broadcast, currently playing online many matchmakers can be obtained
The attribute information of body resource, it (is now " online many matchmakers that the attribute information of the online multimedia resource, which can include multiple media types,
Body "), the URL addresses of online multimedia resource, etc..
Step 202:Broadcasting packet is sent at least one default broadcast channel based on attribute information.
In one embodiment, the attribute information got in step 201 can be encapsulated in broadcast by the first bluetooth equipment 12
" in AD Data " fields of message.
In one embodiment, the first bluetooth equipment 12 can send above-mentioned carrying attribute letter using at least one broadcast channel
The broadcasting packet of breath, for example, the first bluetooth equipment 12 generally can send broadcasting packet using three broadcast channels, these three
Broadcast channel can be respectively channel 37, channel 38 and channel 39.
The multimedia sharing method that the present embodiment is provided, by when starting Bluetooth broadcast, obtaining currently playing many matchmakers
The attribute information of body, sends broadcasting packet, it is possible to achieve to neighbour based on the attribute information at least one default broadcast channel
Other bluetooth equipments near field share currently playing multimedia.
On the basis of above-mentioned embodiment illustrated in fig. 2, the multimedia sharing method that the application is provided can also include:
When receiving the scan request message that the second bluetooth equipment is sent by any one broadcast channel, it is determined that being used for
Represent the timestamp of currently playing multimedia currently playing progress;
Sent in scanning response message, scanning response message and taken to the second bluetooth equipment by any one broadcast channel
Band timestamp.
In one embodiment, the first bluetooth equipment 12 receives other bluetooth equipments, example by any one broadcast channel
, can be true according to currently playing multimedia currently playing progress during the scan request message sent such as the second bluetooth equipment 13
Fixed one timestamp for representing currently playing progress.Subsequently, the first bluetooth equipment 12 any one can be broadcasted by this
Channel is (it should be noted that any one broadcast channel is believed with above-mentioned any one broadcast for receiving scan request message
Road is identical) send the scanning response message for carrying the timestamp.
By said process, the second bluetooth equipment 13 and the synchronous same many matchmakers of broadcasting of the first bluetooth equipment 12 can be caused
Body, is specifically how to realize, refers to described below, is not described in detail first herein.
Secondly, the multimedia sharing method provided from the side of the second bluetooth equipment 12 the application is illustrated:
The schematic flow sheet for the multimedia sharing method that Fig. 3 provides for the another exemplary embodiment of the application, this implementation
Example can be using on the second exemplified in Fig. 1 bluetooth equipment 13, as shown in figure 3, comprising the following steps:
Step 301:When starting bluetooth scanning, at least one default broadcast channel is scanned.
In one embodiment, the mode for starting bluetooth scanning can be to be opened by triggering the bluetooth on the second bluetooth equipment 13
Button is opened, to open bluetooth scan function, can also be triggered when being powered to the second bluetooth equipment 13 and open bluetooth scanning work(
Energy.
In one embodiment, the second bluetooth equipment 13 can be scanned using at least one broadcast channel, for example, second
Bluetooth equipment can be generally scanned using three broadcast channels, and these three broadcast channels can be respectively channel 37, letter
Road 38 and channel 39.
Step 302:When broadcasting packet is arrived in any one broadcast channel scanning in by least one broadcast channel, from
The multimedia attribute information currently playing for the first bluetooth equipment for sending broadcasting packet is parsed in broadcasting packet.
In one embodiment, the second bluetooth equipment 13 can be broadcasted by any one at least one broadcast channel and believed
Broadcasting packet is arrived in road scanning, can be from the broadcasting packet scanned when broadcasting packet is arrived in the scanning of the second bluetooth equipment 13
Parsing draws the bluetooth equipment for sending the broadcasting packet, the currently playing multimedia attribute of such as the first bluetooth equipment 12
Information.
In one embodiment, the second bluetooth equipment 13 can be from " in the AD Data " fields " of the broadcasting packet scanned
Parse the currently playing multimedia attribute information of the first bluetooth equipment 12.
Step 303:Multimedia is obtained based on attribute information.
In one embodiment, multiple media types can be included in attribute information, multiple media types can include " local many matchmakers
Body ", " online multimedia ".
In one embodiment, if the multiple media types that attribute information includes are " local multimedia ", the second bluetooth equipment
13 can determine that the currently playing multimedia of the first bluetooth equipment 12 is multimedia file based on the multiple media types, then, the
Two bluetooth equipments 13 can determine the filename of the currently playing multimedia file of the first bluetooth equipment 12 from the attribute information
Claim.
In one embodiment, if the second bluetooth equipment 13 determines that the first bluetooth equipment 12 is currently playing based on attribute information
The file name of multimedia file, can detect the multimedia file being locally stored based on this document title.Subsequently, if detecting
Include the multimedia file with this document title in the multimedia file being locally stored, then the second bluetooth equipment 13 can be with
The multimedia file with this document title is obtained from the multimedia file being locally stored.
In one embodiment, it is somebody's turn to do if the second bluetooth equipment 13 detects not include to have in the multimedia file being locally stored
The multimedia file of file name, then the second bluetooth equipment 13 can according to this document title to default server send resource
Obtain request.
In one embodiment, the second bluetooth equipment 13 is detected not including to have in the multimedia file being locally stored and is somebody's turn to do
During the multimedia file of file name, the second bluetooth equipment 13 can be by calling local audio play-back application, to this
The background server of audio play-back application sends resource acquisition request.
In one embodiment, the second bluetooth equipment 13 to default server send resource acquisition request after, after can connect
Receive the multimedia file that the server asks to return according to the resource acquisition.
In one embodiment, if the multiple media types that attribute information includes are " online multimedia ", the second bluetooth equipment
13 can determine that the currently playing multimedia of the first bluetooth equipment 12 is online multimedia resource based on the multiple media types, after
And, the second bluetooth equipment 13 can determine the currently playing online multimedia resource of the first bluetooth equipment 12 from the attribute information
URL addresses.
In one embodiment, if the second bluetooth equipment 13 determines that the first bluetooth equipment 12 is currently playing based on attribute information
The URL addresses of online multimedia resource, can send online resource acquisition to the corresponding server in the URL addresses and ask.
In one embodiment, the second bluetooth equipment 13 is sent after line resource acquisition request to server, can be received
The server obtains the online multimedia resource for asking to return according to the online resource.
The present embodiment provide multimedia sharing method, by when start bluetooth scan when, scan it is default at least one
Broadcast channel, when broadcasting packet is arrived in scanning, parses from the broadcasting packet and is set for sending the first bluetooth of the broadcasting packet
Standby currently playing multimedia attribute information, the currently playing multimedia of the first bluetooth equipment is obtained based on the attribute information,
The shared currently playing multimedia of the other bluetooth equipments perceived in adjacent domain can be realized, Consumer's Experience is lifted.
On the basis of above-mentioned embodiment illustrated in fig. 3, multimedia sharing method can also include:
Scan request message is sent to the first bluetooth equipment by any one broadcast channel;
The scanning response message that first bluetooth equipment is sent, scanning response are received by any one broadcast channel
The timestamp for representing the currently playing progress of multimedia file is carried in message;
Play time is determined according to the timestamp;
The multimedia file is played at the play time.
In one embodiment, it is assumed that the second bluetooth equipment 13 is scanned to the wide of the first bluetooth equipment 12 transmission by channel 38
Text is reported, the second bluetooth equipment 13 can be by channel 38 to the first bluetooth equipment 12 transmission scan request message, by above-mentioned Fig. 2
Description in illustrated embodiment understands that the first bluetooth equipment 12 is received after scan request message, can be according to currently playing
The currently playing progress of multimedia file determines that one is used to represent the timestamp of currently playing progress, afterwards by channel 38 to
Second bluetooth equipment 13 sends a scanning response message for carrying the timestamp.
In one embodiment, the second bluetooth equipment 13 can determine to play based on the timestamp carried in scanning response message
Time point, and the multimedia file got in above-mentioned steps 303 is played at the play time.
By said process, the second bluetooth equipment 13 is not only allowd to perceive currently playing many of the first bluetooth equipment 12
Media file, it is also possible that the second bluetooth equipment 13 synchronous with the first bluetooth equipment 12 can play same multimedia file,
So as to lift Consumer's Experience.
It is after step 303, many if multimedia is online multimedia resource on the basis of above-mentioned embodiment illustrated in fig. 3
Media sharing method can also include:
Play online multimedia resource.
In the application scenarios exemplified by Fig. 1, if having display, such as the second bluetooth equipment on the second bluetooth equipment 13
13 be the smart mobile phone or portable set for being provided with bluetooth, then, the second bluetooth equipment 13 gets the first bluetooth equipment 12
After currently playing multimedia, the multimedia content can also be shown over the display, for example, the first bluetooth equipment of display
The lyrics of 12 currently playing songs, the captions of the currently playing cross-talk of the first bluetooth equipment 12 of display, the first bluetooth of display is set
Standby 12 currently playing videos, etc..
In the application scenarios exemplified by Fig. 1, if the currently playing multimedia of the first bluetooth equipment 12 provides for online Media
Source, then the second bluetooth equipment 13 can also use the offer online Media resource while online Media resource is played
The barrage function that is provided of background server, and then with other users, such as carry out between the first bluetooth equipment 12 interactive, carry
Rise Consumer's Experience.
In the application scenarios exemplified by Fig. 1, can also have intelligent lamp, the second bluetooth equipment on the second bluetooth equipment 13
13 can set the flicker of intelligent lamp according to the currently playing multimedia of the first bluetooth equipment 12 got, for example, according to the
The rhythm of the currently playing song of one bluetooth equipment 12 sets the flicker rhythm of intelligent lamp, is currently broadcast according to the first bluetooth equipment 12
The type for the song put sets flash color of intelligent lamp, etc..
Two, Fig. 5 of the application scenarios schematic diagram for the multimedia sharing method that Fig. 4 provides for the application, which is that the application is another, to be shown
The schematic flow sheet for the multimedia sharing method that example property embodiment is provided.As shown in figure 4, on square 41, while in the presence of 6 users
(not showed that in Fig. 4), 6 users carry respectively bluetooth equipment 42, bluetooth equipment 43, bluetooth equipment 44, bluetooth equipment 45,
Also there is bluetooth equipment 48 on bluetooth equipment 46, bluetooth equipment 47, square 41.
Wherein, bluetooth equipment 42-47 can perform the method exemplified by Fig. 2 respectively, by each currently playing multimedia
Attribute information broadcasted by broadcast channel, bluetooth equipment 48 can then perform the method exemplified by Fig. 5, can include such as
Lower step:
Step 501:When starting bluetooth scanning, at least one default broadcast channel is scanned.
In one embodiment, when starting bluetooth scanning, bluetooth equipment 48 can scan more than two broadcast channels, example
Such as, the scanning of bluetooth equipment 48 channel 37, channel 38, channel 39.
Step 502:When each broadcast channel scanning in by least one broadcast channel to more than two broadcasting packets
When, the first bluetooth for sending each broadcasting packet is parsed from each broadcasting packet in more than two broadcasting packets
The currently playing multimedia attribute information of equipment, obtains more than two attribute informations.
In one embodiment, bluetooth equipment 48 can be arrived by each broadcast channel scanning at least one broadcast channel
More than two broadcasting packets, for example, bluetooth equipment 48 scans the broadcasting packet each sent to bluetooth equipment 42-47, that is, are scanned
To 6 broadcasting packets.
In one embodiment, bluetooth equipment 48 can be parsed from each broadcasting packet scanned for sending each
The currently playing multimedia attribute information of first bluetooth equipment of bar broadcasting packet, for example, from 6 broadcasting packets scanned
Multimedia attribute information currently playing middle parsing bluetooth equipment 42-47, obtains 6 attribute informations.
Step 503:Currently playing multimedia is classified based on more than two attribute informations, classification results are obtained.
In one embodiment, multimedia can be divided into multimedia file and the class of online multimedia resource two.For example, it is assumed that
Bluetooth equipment 42 is currently playing for multimedia file, and the multimedia file is song " ABC ", and bluetooth equipment 43 is currently playing
For multimedia file, the multimedia file is song " ABC ", and bluetooth equipment 44 is currently playing for multimedia file, many matchmakers
Body file is song " DEF ", and bluetooth equipment 45 is currently playing for online multimedia resource, and the online multimedia resource is network
The audio of radio station Radio1 broadcast, bluetooth equipment 46 is currently playing for online multimedia resource, and the online multimedia resource is
The audio of network radio station Radio1 broadcast, bluetooth equipment 47 is currently playing for online multimedia resource, online multimedia money
Source is the audio that network radio station Radio2 is broadcasted.
In one embodiment, bluetooth equipment 48 can be carried out based on the attribute information scanned to currently playing multimedia
Classification, for example, bluetooth equipment is carried out based on 6 attribute informations scanned the multimedia currently playing to bluetooth equipment 42-47
Classification, such as table 1 below is a kind of example of classification results.
Table 1
Step 504:Based on classification results, statistics draws the respective broadcasting of at least one corresponding multimedia of each classification
Number of times.
In one embodiment, can be multimedia by identical multimedia video, for example, example as shown in Table 1 above
Classification results, in " multimedia file " this class, including two multimedias, respectively song " ABC " and song " DEF ".Can
So that based on the classification results exemplified by above-mentioned table 1, statistics draws the respective broadcasting time of each multimedia in each class, for example,
In " multimedia file " this class, the broadcasting time of song " ABC " is 2 times, and the broadcasting time of song " DEF " is 1 time;
In " online multimedia resource " this class, the broadcasting time of the audio of network radio station Radio1 broadcast is 2 times, network radio station
The broadcasting time of the audio of Radio2 broadcast is 1 time.
Step 505:According to the respective broadcasting time of at least one multimedia, at least one multimedia is ranked up.
In one embodiment, each multimedia in each class can be carried out according to the order of broadcasting time from high in the end
Sequence.For example, classification results of example as shown in Table 1 above, in " multimedia file " this class, obtained ranking results are:
Song " ABC ", song " DEF ";In " online multimedia resource " this class, obtained ranking results are " network radio station
Radio1 ", " network radio station Radio2 ".
It should be noted that in above-mentioned " online multimedia resource " this class, can be only in resulting ranking results
Display provides the platform names of the online multimedia resource, such as network radio station Radio1, so as to obtain a network electricity
Platform listens to ranking list.
Application scenarios with reference to exemplified by Fig. 4, bluetooth equipment 48 can be perceived adjacent by performing the method exemplified by Fig. 5
The currently playing multimedia of nearly user, is counted, it can be deduced that multimedia ranking list based on the multimedia perceived, for example,
Obtain music chart, network radio station and listen to ranking list, so as to lift Consumer's Experience.
Embodiment with foregoing multimedia sharing method is corresponding, and present invention also provides the implementation of multimedia sharing means
Example.
Fig. 6 is refer to, is the embodiment block diagram of multimedia sharing means of the application according to an exemplary embodiment,
As shown in fig. 6, the device can include:Scan module 61, the first parsing module 62 and acquisition module 63.
Wherein, the scan module 61, can be used for when starting bluetooth scanning, scan at least one default broadcast letter
Road;
First parsing module 62, can be used for when arriving broadcasting packet by scan module scanning, from described wide
Report and the multimedia attribute information currently playing for the first bluetooth equipment for sending the broadcasting packet is parsed in text;
The acquisition module 63, the attribute information that can be used for parsing based on first parsing module obtains many matchmakers
Body.
In one embodiment, first parsing module 62 can be specifically for:
When arriving broadcasting packet by scan module scanning, from " being solved in AD Data " fields for the broadcasting packet
Analyse the multimedia attribute information currently playing for the first bluetooth equipment for sending the broadcasting packet.
In one embodiment, the multimedia is multimedia file, and the acquisition module 63 can be included (in Fig. 6 not
Show):
First determining unit, the attribute information for being parsed based on first parsing module determines the multimedia file
File name;
Detection unit, the multimedia text that the file name detection for being determined according to first determining unit is locally stored
Part;
Acquiring unit, if detecting to include in the multimedia file being locally stored for the detection unit has
The multimedia file of the file name, then obtain the multimedia file with the file name.
In one embodiment, described device can also include (not showed that in Fig. 6):
Scan request module, please for sending scanning to first bluetooth equipment by any one described broadcast channel
Seek message;
Receiving module is responded, for receiving what first bluetooth equipment was sent by any one described broadcast channel
Scan and carried in response message, the scanning response message for representing the time to the currently playing progress of media file
Stamp;
Time point determining module, the timestamp for being received according to the response receiving module determines play time;
First playing module, for playing the multimedia at the play time that the time point determining module is determined
File.
In one embodiment, described device can also include (not showed that in Fig. 6):
Resource request module, is not included if being detected for the detection unit in the multimedia file being locally stored
There is the multimedia file with the file name, then sending resource acquisition to default server according to the file name please
Ask;
Resource receiving module, for receiving the multimedia text that the server asks to return according to the resource acquisition
Part.
In one embodiment, the multimedia is online multimedia resource, and the acquisition module 63 can include (in Fig. 6
Do not show that):
Second determining unit, the attribute information for being parsed based on first parsing module determines the online multimedia
The URL addresses of resource;
Online resource request unit, the corresponding server in URL addresses for being determined to second determining unit is sent
Online resource obtains request;
Online resource receiving unit, please according to the online resource for receiving the corresponding server in the URL addresses
The online resource for asking unit to send obtains the online multimedia resource that request is returned.
In one embodiment, described device can also include (not showed that in Fig. 6):
Second parsing module, is scanned to two for each broadcast channel in by least one described broadcast channel
During above broadcasting packet, parsed from each broadcasting packet in more than two broadcasting packets for sending described each
The currently playing multimedia attribute information of first bluetooth equipment of broadcasting packet, obtains more than two attribute informations;
Sort module, more than two attribute informations for being obtained based on second parsing module will be described currently playing
Multimedia classified, obtain classification results;
Statistical module, for the classification results obtained based on the sort module, statistics show that each classification is corresponding
The respective broadcasting time of at least one multimedia;
Order module, for the respective broadcasting time of at least one multimedia drawn according to the statistical module, by institute
At least one multimedia is stated to be ranked up.
Fig. 7 is refer to, is the embodiment frame of multimedia sharing means of the application according to another exemplary embodiment
Figure, the device can include:Data obtaining module 71, broadcast transmission module 72.
Wherein, the data obtaining module 71, can be used for, when starting Bluetooth broadcast, obtaining currently playing multimedia
Attribute information;
The broadcast transmission module 72, can be used for the attribute information that is got based on described information acquisition module to default
At least one broadcast channel sends broadcasting packet.
In one embodiment, the broadcast transmission module 72 can include (not showed that in Fig. 7):
Encapsulation unit, the attribute information for described information acquisition module to be got is encapsulated in the predetermined word of broadcasting packet
Duan Zhong;
Transmitting element, for sending the broadcasting packet that the encapsulation unit is obtained at least one default broadcast channel.
In one embodiment, described device can also include (not showed that in Fig. 7):
Playing progress rate determining module, sweeping for the second bluetooth equipment transmission is received for working as by any one broadcast channel
When retouching request message, it is determined that the timestamp for representing the currently playing multimedia currently playing progress;
Sending module is responded, is rung for sending scanning to second bluetooth equipment by any one described broadcast channel
Answer and the timestamp that the playing progress rate determining module is determined is carried in message, the scanning response message.
Fig. 8 shows the structural representation of the bluetooth equipment according to one example embodiment of the present invention;Corresponding to above-mentioned
Fig. 3 multimedia sharing method, as shown in figure 8, in hardware view, the bluetooth equipment includes processor, internal bus, network and connect
Mouth, internal memory and nonvolatile memory, are also possible that the hardware required for other business certainly.Processor is from non-volatile
Corresponding computer program is read in memory into internal memory and then is run, above-mentioned Fig. 2, Fig. 3, Fig. 5 are formed on logic level
The multimedia sharing means that any illustrated embodiment is provided.Certainly, in addition to software realization mode, the application is not precluded from it
His implementation, such as mode of logical device or software and hardware combining etc., that is to say, that the execution master of above handling process
Body is not limited to each logic unit or hardware or logical device.
The function of unit and the implementation process of effect specifically refer to correspondence step in the above method in said apparatus
Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Selection some or all of module therein is needed to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not to limit the application, all essences in the application
God is with principle, and any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.
Claims (21)
1. a kind of multimedia sharing method, it is characterised in that methods described includes:
When starting bluetooth scanning, at least one default broadcast channel is scanned;
When broadcasting packet is arrived in any one broadcast channel scanning in by least one described broadcast channel, from the broadcast
The multimedia attribute information currently playing for the first bluetooth equipment for sending the broadcasting packet is parsed in message;
The multimedia is obtained based on the attribute information.
2. according to the method described in claim 1, it is characterised in that described parsed from the broadcasting packet is used to send described
The currently playing multimedia attribute information of first bluetooth equipment of broadcasting packet, including:
From " being parsed in AD Data " fields current for the first bluetooth equipment for sending the broadcasting packet for the broadcasting packet
The multimedia attribute information played.
3. it is according to the method described in claim 1, it is characterised in that the multimedia is multimedia file, described based on described
Attribute information obtains the multimedia, including:
The file name of the multimedia file is determined based on the attribute information;
The multimedia file being locally stored is detected according to the file name;
If including the multimedia file with the file name in the multimedia file being locally stored, obtain described
Multimedia file with the file name.
4. method according to claim 3, it is characterised in that methods described also includes:
Scan request message is sent to first bluetooth equipment by any one described broadcast channel;
The scanning response message that first bluetooth equipment is sent, the scanning are received by any one described broadcast channel
The timestamp for representing the currently playing progress of the multimedia file is carried in response message;
Play time is determined according to the timestamp;
The multimedia file is played at the play time.
5. method according to claim 3, it is characterised in that methods described also includes:
If not including the multimedia file with the file name in the multimedia file being locally stored, according to described
File name sends resource acquisition request to default server;
Receive the multimedia file that the server asks to return according to the resource acquisition.
6. according to the method described in claim 1, it is characterised in that the multimedia is online multimedia resource, described to be based on
The attribute information obtains the multimedia, including:
The URL addresses of the online multimedia resource are determined based on the attribute information;
Online resource acquisition request is sent to the corresponding server in the URL addresses;
Receive the corresponding server in the URL addresses and the online multimedia money for asking to return is obtained according to the online resource
Source.
7. according to the method described in claim 1, it is characterised in that methods described also includes:
When each broadcast channel in by least one described broadcast channel is scanned to more than two broadcasting packets, from described
Each broadcasting packet in more than two broadcasting packets is parsed to be set for sending the first bluetooth of each broadcasting packet
Standby currently playing multimedia attribute information, obtains more than two attribute informations;
The currently playing multimedia is classified based on more than two attribute informations, classification results are obtained;
Based on the classification results, statistics draws the corresponding respective broadcasting time of at least one multimedia of each classification;
According to the respective broadcasting time of at least one multimedia, at least one described multimedia is ranked up.
8. a kind of multimedia sharing method, it is characterised in that methods described includes:
When starting Bluetooth broadcast, currently playing multimedia attribute information is obtained;
Broadcasting packet is sent at least one default broadcast channel based on the attribute information.
9. method according to claim 8, it is characterised in that it is described based on the attribute information to it is default at least one
Broadcast channel, which sends broadcasting packet, to be included:
The attribute information is encapsulated in " in AD Data " fields of broadcasting packet;
The broadcasting packet is sent at least one default broadcast channel.
10. method according to claim 8, it is characterised in that methods described also includes:
When receiving the scan request message that the second bluetooth equipment is sent by any one broadcast channel, it is determined that for representing
The timestamp of the currently playing multimedia currently playing progress;
Scanning response message, the scanning response report are sent to second bluetooth equipment by any one described broadcast channel
The timestamp is carried in text.
11. a kind of multimedia sharing means, it is characterised in that described device includes:
Scan module, for when starting bluetooth scanning, scanning at least one default broadcast channel;
First parsing module, for when arriving broadcasting packet by scan module scanning, being parsed from the broadcasting packet
The multimedia attribute information currently playing for the first bluetooth equipment for sending the broadcasting packet;
Acquisition module, the attribute information for being parsed based on first parsing module obtains the multimedia.
12. device according to claim 11, it is characterised in that first parsing module specifically for:
When arriving broadcasting packet by scan module scanning, " parsing and using in AD Data " fields from the broadcasting packet
In the currently playing multimedia attribute information of the first bluetooth equipment for sending the broadcasting packet.
13. device according to claim 11, it is characterised in that the multimedia is multimedia file, the acquisition mould
Block includes:
First determining unit, the attribute information for being parsed based on first parsing module determines the text of the multimedia file
Part title;
Detection unit, the multimedia file that the file name detection for being determined according to first determining unit is locally stored;
Acquiring unit, includes with described if being detected for the detection unit in the multimedia file being locally stored
The multimedia file of file name, then obtain the multimedia file with the file name.
14. device according to claim 13, it is characterised in that described device also includes:
Scan request module, for sending scan request report to first bluetooth equipment by any one described broadcast channel
Text;
Receiving module is responded, for receiving the scanning that first bluetooth equipment is sent by any one described broadcast channel
Carried in response message, the scanning response message for representing the timestamp to the currently playing progress of media file;
Time point determining module, the timestamp for being received according to the response receiving module determines play time;
First playing module, for playing the multimedia text at the play time that the time point determining module is determined
Part.
15. device according to claim 13, it is characterised in that described device also includes:
Resource request module, does not include tool if being detected for the detection unit in the multimedia file being locally stored
There is the multimedia file of the file name, then resource acquisition request is sent to default server according to the file name;
Resource receiving module, for receiving the multimedia file that the server asks to return according to the resource acquisition.
16. device according to claim 11, it is characterised in that the multimedia is online multimedia resource, described to obtain
Modulus block includes:
Second determining unit, the attribute information for being parsed based on first parsing module determines the online multimedia resource
URL addresses;
Online resource request unit, the corresponding server in URL addresses for being determined to second determining unit sends online
Resource acquisition is asked;
Online resource receiving unit, it is single according to online resource request for receiving the corresponding server in the URL addresses
The online resource that member is sent obtains the online multimedia resource that request is returned.
17. device according to claim 11, it is characterised in that described device also includes:
Second parsing module, is scanned to more than two for each broadcast channel in by least one described broadcast channel
During broadcasting packet, parsed from each broadcasting packet in more than two broadcasting packets for sending each broadcast
The currently playing multimedia attribute information of first bluetooth equipment of message, obtains more than two attribute informations;
Sort module, will be described currently playing more for more than two attribute informations being obtained based on second parsing module
Media are classified, and obtain classification results;
Statistical module, for the classification results obtained based on the sort module, statistics show that each classification is corresponding at least
One respective broadcasting time of multimedia;
Order module, for the respective broadcasting time of at least one multimedia drawn according to the statistical module, will described in extremely
A few multimedia is ranked up.
18. a kind of multimedia sharing means, it is characterised in that described device includes:
Data obtaining module, for when starting Bluetooth broadcast, obtaining currently playing multimedia attribute information;
Broadcast transmission module, for the attribute information that is got based on described information acquisition module at least one default broadcast
Channel sends broadcasting packet.
19. device according to claim 18, it is characterised in that the broadcast transmission module includes:
Encapsulation unit, the attribute information for described information acquisition module to be got is encapsulated in " the AD Data " of broadcasting packet
In field;
Transmitting element, for sending the broadcasting packet that the encapsulation unit is obtained at least one default broadcast channel.
20. device according to claim 18, it is characterised in that described device also includes:
Playing progress rate determining module, for being asked when the scanning that the transmission of the second bluetooth equipment is received by any one broadcast channel
When seeking message, it is determined that the timestamp for representing the currently playing multimedia currently playing progress;
Sending module is responded, for sending scanning response report to second bluetooth equipment by any one described broadcast channel
The timestamp that the playing progress rate determining module is determined is carried in text, the scanning response message.
21. a kind of bluetooth equipment, it is characterised in that the bluetooth equipment includes:
Processor;Memory for storing the processor-executable instruction;
Wherein, the processor, is configured as performing any described methods of the claims 1-7, or, it is configured as holding
Any described methods of row the claims 8-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710236797.9A CN107071711A (en) | 2017-04-12 | 2017-04-12 | Multimedia sharing method, device and Bluetooth equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710236797.9A CN107071711A (en) | 2017-04-12 | 2017-04-12 | Multimedia sharing method, device and Bluetooth equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107071711A true CN107071711A (en) | 2017-08-18 |
Family
ID=59603044
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710236797.9A Pending CN107071711A (en) | 2017-04-12 | 2017-04-12 | Multimedia sharing method, device and Bluetooth equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107071711A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109068303A (en) * | 2018-07-18 | 2018-12-21 | 阿里巴巴集团控股有限公司 | A kind of resource sharing method, device and electronic equipment |
CN110134628A (en) * | 2019-05-17 | 2019-08-16 | 北京百度网讯科技有限公司 | Method for message transmission, device, equipment and storage medium |
CN110855539A (en) * | 2019-11-18 | 2020-02-28 | 北京小米移动软件有限公司 | Device discovery method, device and storage medium |
CN111385774A (en) * | 2018-12-12 | 2020-07-07 | 北京骑胜科技有限公司 | Bluetooth device connection method, connection device, terminal and computer device |
CN114765743A (en) * | 2021-01-13 | 2022-07-19 | 阿里巴巴集团控股有限公司 | Bluetooth communication method, electronic device, and storage medium |
WO2023010237A1 (en) * | 2021-08-01 | 2023-02-09 | Oppo广东移动通信有限公司 | Sending method, receiving method and apparatuses for bluetooth broadcasting, devices and medium |
WO2023246786A1 (en) * | 2022-06-25 | 2023-12-28 | 华为技术有限公司 | Broadcast information processing method and terminal device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101141697A (en) * | 2007-10-15 | 2008-03-12 | 北京航空航天大学 | Video sharing method of mobile stream media |
CN101401081A (en) * | 2006-02-16 | 2009-04-01 | 戴尔产品有限公司 | Local transmission for content sharing |
CN101771484A (en) * | 2008-12-30 | 2010-07-07 | 华为终端有限公司 | Multimedia broadcasting service information transmission method and gateway equipment |
CN102377457A (en) * | 2010-08-11 | 2012-03-14 | 中兴通讯股份有限公司 | Method and device for sharing audio information by mobile communication terminals |
CN104135377A (en) * | 2014-07-29 | 2014-11-05 | 深圳市金立通信设备有限公司 | A network apparatus, transmission apparatus and information sharing system |
CN106301478A (en) * | 2015-06-26 | 2017-01-04 | 博通集成电路(上海)有限公司 | Data transmission method and broadcast transmitting apparatus thereof |
CN106507184A (en) * | 2016-10-21 | 2017-03-15 | 乐视控股(北京)有限公司 | Media file shares terminal, receiving terminal, transmission method and electronic equipment |
CN106550488A (en) * | 2016-10-21 | 2017-03-29 | 乐视控股(北京)有限公司 | The sharing method of multimedia file, the terminal for sharing file and electronic equipment |
-
2017
- 2017-04-12 CN CN201710236797.9A patent/CN107071711A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101401081A (en) * | 2006-02-16 | 2009-04-01 | 戴尔产品有限公司 | Local transmission for content sharing |
CN101141697A (en) * | 2007-10-15 | 2008-03-12 | 北京航空航天大学 | Video sharing method of mobile stream media |
CN101771484A (en) * | 2008-12-30 | 2010-07-07 | 华为终端有限公司 | Multimedia broadcasting service information transmission method and gateway equipment |
CN102377457A (en) * | 2010-08-11 | 2012-03-14 | 中兴通讯股份有限公司 | Method and device for sharing audio information by mobile communication terminals |
CN104135377A (en) * | 2014-07-29 | 2014-11-05 | 深圳市金立通信设备有限公司 | A network apparatus, transmission apparatus and information sharing system |
CN106301478A (en) * | 2015-06-26 | 2017-01-04 | 博通集成电路(上海)有限公司 | Data transmission method and broadcast transmitting apparatus thereof |
CN106507184A (en) * | 2016-10-21 | 2017-03-15 | 乐视控股(北京)有限公司 | Media file shares terminal, receiving terminal, transmission method and electronic equipment |
CN106550488A (en) * | 2016-10-21 | 2017-03-29 | 乐视控股(北京)有限公司 | The sharing method of multimedia file, the terminal for sharing file and electronic equipment |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109068303A (en) * | 2018-07-18 | 2018-12-21 | 阿里巴巴集团控股有限公司 | A kind of resource sharing method, device and electronic equipment |
CN109068303B (en) * | 2018-07-18 | 2022-07-05 | 创新先进技术有限公司 | Resource sharing method and device and electronic equipment |
CN111385774A (en) * | 2018-12-12 | 2020-07-07 | 北京骑胜科技有限公司 | Bluetooth device connection method, connection device, terminal and computer device |
CN110134628A (en) * | 2019-05-17 | 2019-08-16 | 北京百度网讯科技有限公司 | Method for message transmission, device, equipment and storage medium |
CN110134628B (en) * | 2019-05-17 | 2021-02-02 | 北京百度网讯科技有限公司 | Message transmission method, device, equipment and storage medium |
CN110855539A (en) * | 2019-11-18 | 2020-02-28 | 北京小米移动软件有限公司 | Device discovery method, device and storage medium |
CN110855539B (en) * | 2019-11-18 | 2021-11-23 | 北京小米移动软件有限公司 | Device discovery method, device and storage medium |
CN114765743A (en) * | 2021-01-13 | 2022-07-19 | 阿里巴巴集团控股有限公司 | Bluetooth communication method, electronic device, and storage medium |
WO2023010237A1 (en) * | 2021-08-01 | 2023-02-09 | Oppo广东移动通信有限公司 | Sending method, receiving method and apparatuses for bluetooth broadcasting, devices and medium |
EP4358547A4 (en) * | 2021-08-01 | 2024-07-10 | Guangdong Oppo Mobile Telecommunications Corp Ltd | Sending method, receiving method and apparatuses for bluetooth broadcasting, devices and medium |
WO2023246786A1 (en) * | 2022-06-25 | 2023-12-28 | 华为技术有限公司 | Broadcast information processing method and terminal device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107071711A (en) | Multimedia sharing method, device and Bluetooth equipment | |
CN103327045B (en) | User recommendation method and system in social network | |
CN103905474B (en) | A kind of information sharing method, terminal, server and system | |
US9549295B2 (en) | System and method for broadcasting audio tweets | |
CN101098334B (en) | Information processing apparatus, information processing method and program | |
US8391455B2 (en) | Method and system for live collaborative tagging of audio conferences | |
US20150110470A1 (en) | Video presentation method, device, system and storage medium | |
CN106570100A (en) | Information search method and device | |
CN103530114B (en) | Picture managing method and device | |
CN108881214A (en) | Multifunctional unit exchange method, device and electronic equipment | |
CN101739437A (en) | Implementation method for network sound-searching unit and specific device thereof | |
CN107659850A (en) | Media information processing method and device | |
CN109391540A (en) | A kind of processing method and processing device of RCS message | |
CN104599702B (en) | A kind of method for playing music | |
CN109800036A (en) | Information flow page display method, system, calculates equipment and storage medium at device | |
CN1988461A (en) | Chat scence music playing method and system for instant communication tool | |
JP6485935B1 (en) | Online communication review system, method, and computer program | |
CN109428908A (en) | Information display method, device and equipment | |
CN109995939A (en) | Information processing method and electronic equipment | |
CN105120392B (en) | A kind of creation method and mobile terminal of speaker grouping | |
CN106230979A (en) | Method of video distribution, system and video dispatching equipment | |
CN106055671A (en) | Multimedia data processing method and equipment thereof | |
CN107360331B (en) | Short message display method | |
CN102427434B (en) | The method that realizes of load information, terminal and system in instant messaging | |
CN103139049A (en) | Message interaction method, server and social network site (SNS) system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170818 |
|
RJ01 | Rejection of invention patent application after publication |