Specific embodiment
In being described below, for illustration and not for limitation, propose such as specific system structure, interface, technology it
The detail of class, so as to provide a thorough understanding of the present application.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiment of details.In other situations, omit to well-known device, circuit with
And the detailed description of method, so as not to obscure the description of the present application with unnecessary details.
Refering to fig. 1, Fig. 1 is the flow diagram of one embodiment of method for broadcasting multimedia file of the application mobile terminal.
Mobile terminal is provided with camera.The executing subject of the present embodiment is mobile terminal, the multimedia file broadcasting side of mobile terminal
Method the following steps are included:
S101: mobile terminal acquires the mobile terminal user in the default triggering command for receiving multimedia file
Auricle information.
Mobile terminal is acquired by camera and is moved when receiving the default triggering command of multimedia file of user's transmission
The auricle information of dynamic terminal user.
Wherein, user includes that mobile terminal holder, the user of mobile terminal holder authorization and mobile terminal are held
The user (stranger) of person's unauthorized.Camera can be front camera, or rear camera.
The default triggering command of multimedia file can be the starting of the file comprising multimedia file or application program
It instructs, the play instruction of multimedia file, but it is not limited to this.
S102: when collecting the auricle information, the ear with the auricle information matches is searched from local data base
Wide information.
Mobile terminal is searched and collected auricle information institute from local data base when collecting the auricle information
Matched auricle information.
Wherein, mobile terminal holder, at least one that mobile terminal holder authorizes have been stored in advance in local data base
The auricle information of a user.Auricle information in local data base only has mobile terminal holder that can edit to it, more
It is new to wait operation.
Auricle information in local data base is also preset with corresponding play right, the auricle letter in local data base
Breath is corresponded with play right, and is associated with preservation.
The play right highest of mobile terminal holder can play all multimedia files in this mobile terminal.It moves
The user of dynamic holder terminal authorization can play multimedia file corresponding with its play right.Mobile terminal holder does not award
The user (stranger) of power cannot play any multimedia file.
S103: when finding matched auricle information, obtaining the corresponding play right of the matched auricle information, and
Execute operation corresponding with the play right.
Mobile terminal obtains the matched auricle letter when finding the auricle information to match with the auricle information of acquisition
Corresponding play right is ceased, the multimedia file in the play right is played according to the play right according to preset rules.
Preset rules can for is continuously played by storage order, in chronological sequence played in order, according to user input broadcasting
It puts instruction to play out, but it is not limited to this, and preset rules can also be configured according to the actual situation.
For example, mobile terminal is used when finding the auricle information that matched auricle information is mobile terminal holder
Family is identified as mobile terminal holder.The corresponding play right of acquisition for mobile terminal mobile terminal holder, is broadcast by preset rules
Put the multimedia file stored in mobile terminal.
When finding the auricle information for the first user that matched auricle information is mobile terminal holder authorization, obtain
Corresponding first play right of first user, and the multimedia file in the first play right is played by preset rules.
When finding the auricle information for the second user that matched auricle information is mobile terminal holder authorization, obtain
Corresponding second play right of second user, and the multimedia file in the second play right is played by preset rules.
The rest may be inferred, when the auricle letter for finding the n-th user that matched auricle information is mobile terminal holder authorization
When breath, corresponding n-th play right of the n-th user is obtained, and play the multimedia file in the n-th play right by preset rules.
It is understood that when the user of mobile terminal holder authorization clicks more matchmakers outside corresponding play right
Body file, when attempting to play the multimedia file, mobile terminal can be not responding to the playing request of the user, can also play
Pre-set alternate file, to prevent user from playing the file of the multimedia file.
It is understood that the multimedia file in the present embodiment includes audio file, video file.In other embodiments
In, multimedia file can also include picture file, when multimedia file is picture file, the corresponding power of checking of auricle information
Limit.Mobile terminal get check permission after according to above-mentioned similar method, execute and check the corresponding operation of permission with this,
It does not repeat herein.
Above scheme, mobile terminal acquire mobile terminal user in the default triggering command for receiving multimedia file
Auricle information;The auricle information with the auricle information matches of acquisition is searched from local data base;Finding matched ear
When wide information, the corresponding play right of the matched auricle information is obtained, and execute operation corresponding with the play right;Energy
It is enough that multimedia file is managed according to the corresponding play right of auricle information, played automatically when passing through by auricle information authentication and
The corresponding multimedia file of its play right, prevents multimedia document information from revealing.
Referring to Fig.2, Fig. 2 is the process signal of another embodiment of method for broadcasting multimedia file of the application mobile terminal
Figure.Mobile terminal is provided with camera.The executing subject of the present embodiment is mobile terminal, and the multimedia file of mobile terminal plays
Method the following steps are included:
S201: mobile terminal acquires the auricle information of the user of mobile terminal holder and holder authorization.
After starting passes through auricle to the function of subscription authentication, mobile terminal passes through camera and acquires mobile terminal holder
And the auricle information of the user of mobile terminal holder authorization.The quantity of the user of authorization is at least one.Camera can be with
For front camera, or rear camera.
Wherein, mobile terminal device can by preset password, iris, fingerprint, sound, face information, auricle or its
Allogene, abiotic mode verify whether active user is mobile terminal device holder.
It, can also be with it is understood that mobile terminal user can open the function by auricle to subscription authentication immediately
To by function of the auricle to subscription authentication, time opening time and timing shut-in time are set.Timing is reached in current time
Start the function when opening time, the function is automatically closed when current time reaches the timing shut-in time.
When mobile terminal opens the function of passing through auricle to subscription authentication for the first time, mobile terminal offer, which interacts, to be connect
Mouth (interactive interface includes hardware interactive interface, software interactive interface), to confirm the identity of mobile terminal holder.Verification method
It can include but is not limited to the biology such as password, iris, sound and abiotic verifying.
S202: the auricle information for obtaining the user of the mobile terminal holder and holder authorization respectively corresponds to
Play right, and the auricle information is associated with its corresponding play right and is stored in local data base.
Mobile terminal acquisition mobile terminal holder and mobile terminal holder authorization user auricle information it
Afterwards, the play right information for the user setting that mobile terminal holder is authorization and the broadcasting of mobile terminal holder are obtained
Authority information, and the corresponding play right information association of the auricle information of mobile terminal holder is stored in local data
Library, and the corresponding play right information of the auricle information for the user that mobile terminal holder authorizes is associated with preservation one by one
In local data base.
Wherein, the play right of mobile terminal holder is defaulted as can play multimedia file all in mobile terminal,
It can be distributed by mobile terminal.Auricle information and play right in local data base correspond.
When the user of mobile terminal holder authorization is multiple, the auricle information of the user of authorization is broadcast with corresponding
Association saves limit of delegating power one by one.
The operation such as only have mobile terminal holder that can edit, update to it of auricle information in local data base.
It is understood that when auricle information of the mobile terminal holder to local data base carries out the operation such as editing,
Mobile terminal can also carry out authentication to it, when authentication passes through, allow to carry out local data base the behaviour such as to edit
Make, it is otherwise, without any processing.
S203: mobile terminal is in file of the starting comprising multimedia file, application program, or receives multimedia file
Play instruction when, the auricle information of the mobile terminal user is acquired by camera or display screen.
Mobile terminal is monitoring file of the starting comprising multimedia file, application program, or receives user's transmission
Multimedia file play instruction when, pass through the auricle information that camera or display screen acquire mobile terminal user.
Wherein, user includes that mobile terminal holder, the user of mobile terminal holder authorization and mobile terminal are held
The user (stranger) of person's unauthorized.
S204: when collecting the auricle information, the ear with the auricle information matches is searched from local data base
Wide information.
Mobile terminal is searched and collected auricle information institute from local data base when collecting the auricle information
Matched auricle information.
Wherein, the play right highest of mobile terminal holder can play all multimedias text in this mobile terminal
Part.The user of mobile terminal holder authorization can play multimedia file corresponding with its play right.Mobile terminal is held
The user (stranger) of person's unauthorized cannot play any multimedia file.
Mobile terminal executes step S205~S207 when finding matched auricle information;It is matched not finding
When auricle information, step S208 or S209 are executed.
S205: when finding matched auricle information, the corresponding play right of the matched auricle information is obtained.
Mobile terminal obtains the matched auricle letter when finding the auricle information to match with the auricle information of acquisition
Cease corresponding default play right.
For example, when the matched auricle information found is the auricle information of mobile terminal holder, by mobile terminal
User is identified as mobile terminal holder, obtains the corresponding play right of mobile terminal holder.
When the auricle information for the first user that the matched auricle information found is mobile terminal holder authorization, obtain
Take corresponding first play right of the first user.
When the auricle information for the second user that the matched auricle information found is mobile terminal holder authorization, obtain
Take corresponding second play right of second user.
The rest may be inferred, when the auricle for the n-th user that the matched auricle information found is mobile terminal holder authorization
When information, corresponding n-th play right of the n-th user is obtained.
S206: the distance between the auricle of mobile terminal and the user is obtained, and it is pre- to judge whether the distance belongs to
If range.
For example, mobile terminal is finding the auricle information to match with the auricle information of acquisition, and get the matching
The corresponding play right of auricle information after, obtain the distance between mobile terminal and the auricle of active user, and judge to obtain
To distance whether belong to preset range.
Wherein, preset range can be less than 3 centimetres, and but it is not limited to this, can be configured according to the actual situation.
S207: when the distance belongs to preset range, operation corresponding with the play right is executed.
Mobile terminal confirm belong to preset range at a distance between auricle of the mobile terminal with user when, according to default rule
Then and the corresponding play right of the user plays the multimedia file in the play right automatically.
Preset rules can for is continuously played by storage order, in chronological sequence played in order, according to user input broadcasting
It puts instruction to play out, but it is not limited to this, and preset rules can also be configured according to the actual situation.
For example, mobile terminal is true when the auricle information that the matched auricle information found is mobile terminal holder
When recognizing the distance between mobile terminal and the auricle of user and belonging to preset range, plays by preset rules and to be stored in mobile terminal
Multimedia file.
It is mobile when the auricle information for the first user that the matched auricle information found is mobile terminal holder authorization
Terminal confirm belong to preset range at a distance between auricle of the mobile terminal with user when, by preset rules and the first user
Corresponding first play right plays the multimedia file in the first play right.
It is mobile when the auricle information for the second user that the matched auricle information found is mobile terminal holder authorization
Terminal confirm belong to preset range at a distance between auricle of the mobile terminal with user when, by preset rules and second user
Corresponding second play right plays the multimedia file in the second play right.
The rest may be inferred, when the auricle for the n-th user that the matched auricle information found is mobile terminal holder authorization
Information, mobile terminal confirm belong to preset range at a distance between auricle of the mobile terminal with user when, by preset rules with
And the multimedia file in the n-th user the n-th play right of corresponding n-th play right broadcasting.
It is understood that when the user of mobile terminal holder authorization clicks more matchmakers outside corresponding play right
Body file, when attempting to play the multimedia file, mobile terminal can be not responding to the playing request of the user, can also play
Pre-set alternate file, to prevent user from playing the file of the multimedia file.
It is understood that the multimedia file in the present embodiment includes audio file, video file.In other embodiments
In, multimedia file can also include picture file, when multimedia file is picture file, the corresponding power of checking of auricle information
Limit.Mobile terminal get check permission after according to above-mentioned similar method, execute and check the corresponding operation of permission with this,
It does not repeat herein.
S208: matched auricle information is not being found, and is not receiving the authorized order of the mobile terminal holder
When, it controls the mobile terminal and enters lock state.
Mobile terminal knows mobile terminal user when not finding the auricle information to match with the auricle information of acquisition
Not Wei mobile terminal holder's unauthorized user (stranger).Mobile terminal provides request mobile terminal holder to the user
The interactive interface authorized.
When mobile terminal does not receive the authorized order of mobile terminal holder within a preset time, mobile terminal is controlled
Into lock state.Mobile terminal is not responding to any instruction of the user, which can not operate shifting after entering lock state
Dynamic terminal.
S209: when not finding matched auricle information, and receiving the authorized order of the mobile terminal holder,
Multimedia file is played according to the corresponding play right of the authorized order.
Mobile terminal knows mobile terminal user when not finding the auricle information to match with the auricle information of acquisition
Not Wei mobile terminal holder's unauthorized user (stranger).Mobile terminal provides request mobile terminal holder to the user
The interactive interface authorized.
When mobile terminal holder responds the authorization requests, for the user setting play right.
When mobile terminal receives the authorized order of mobile terminal holder within a preset time, mobile terminal is by the use
The auricle information at family and mobile terminal holder are associated with for the play right of its setting is stored in local data base, by default rule
Then and the corresponding play right of the user plays the multimedia file in its play right.
Above scheme, mobile terminal acquire mobile terminal user in the default triggering command for receiving multimedia file
Auricle information;The auricle information with the auricle information matches of acquisition is searched from local data base;Finding matched ear
When wide information, the corresponding play right of the matched auricle information is obtained, and execute operation corresponding with the play right;Energy
Enough multimedia file can be managed according to the corresponding play right of auricle information, be broadcast automatically when being passed through by auricle information authentication
Multimedia file corresponding with its play right is put, prevents multimedia document information from revealing.
When getting the corresponding play right of matched auricle information, the auricle of mobile terminal and user is further obtained
The distance between, and when the distance belongs to preset range, it is automatic to play multimedia file corresponding with play right, it can
Avoid mobile terminal idle or in the case where user's inconvenience play corresponding multimedia file automatically.
It is the structural schematic diagram of one embodiment of the application mobile terminal refering to Fig. 3, Fig. 3.The mobile terminal of this implementation includes
Each module for executing each step for including in the corresponding embodiment of Fig. 1 and Fig. 1, it is corresponding referring specifically to Fig. 1 and Fig. 1
Embodiment description, do not repeat herein.The mobile terminal of this example includes acquisition module 310, searching module 320 and control
Module 330.
Acquisition module 310 is used in the default triggering command for receiving multimedia file, is acquired the mobile terminal and is used
The auricle information at family.For example, acquisition module 310 in the default triggering command for receiving multimedia file, acquires mobile terminal
The auricle information of user.Collected auricle information is sent to searching module 320 by acquisition module 310.
Searching module 320 collects institute in acquisition module 310 for receiving the collected auricle information of acquisition module 310
When stating auricle information, the auricle information with the auricle information matches is searched from local data base.
For example, searching module 320 receive the collected auricle information of acquisition module 310, from local data base search with
The auricle information of the auricle information matches.The auricle information phase acquired with acquisition module 310 that searching module 320 will be found
Matched auricle information is sent to control module 330.
Control module 330 is looked into for receiving the matched auricle information that searching module 320 is found in searching module 320
When finding matched auricle information, the corresponding play right of the matched auricle information is obtained, and execute and the right of broadcasting
Limit corresponding operation.
For example, control module 330 receives the matched auricle information that searching module 320 is found, obtain described matched
The corresponding play right of auricle information, and execute operation corresponding with the play right.
Above scheme, mobile terminal acquire mobile terminal user in the default triggering command for receiving multimedia file
Auricle information;The auricle information with the auricle information matches of acquisition is searched from local data base;Finding matched ear
When wide information, the corresponding play right of the matched auricle information is obtained, and execute operation corresponding with the play right;Energy
Enough multimedia file can be managed according to the corresponding play right of auricle information, be broadcast automatically when being passed through by auricle information authentication
Multimedia file corresponding with its play right is put, prevents multimedia document information from revealing.
It is the structural schematic diagram of another embodiment of the application mobile terminal refering to Fig. 4, Fig. 4.The mobile terminal packet of this implementation
Each module included is for executing each step for including in the corresponding embodiment of Fig. 2 and Fig. 2, referring specifically to Fig. 2 and Fig. 2 pairs
The description for the embodiment answered, does not repeat herein.The mobile terminal of this example includes acquisition module 410, setup module 420, searches
Module 430 and control module 440.
Acquisition module 410 is used to acquire the auricle letter of the user of the mobile terminal holder and holder authorization
Breath.For example, acquisition module 410 acquires the auricle information of the user of the mobile terminal holder and holder authorization.
Acquisition module 410 sends the auricle information for the user that the collected mobile terminal holder and the holder authorize
To setup module 420.
Acquisition module 410 is also used to monitoring file of the mobile terminal starting comprising multimedia file, application
Program, or when receiving the play instruction of multimedia file, acquire the mobile terminal user's by camera or display screen
Auricle information.For example, acquisition module 410 is monitoring file of the mobile terminal starting comprising multimedia file, is answering
With program, or when receiving the play instruction of multimedia file, passes through camera or display screen acquires the mobile terminal user
Auricle information.
The auricle for the user that acquisition module 410 authorizes the collected mobile terminal holder and the holder
Information is sent to setup module 420, and collected mobile terminal user's auricle information is sent to searching module
430。
Setup module 420 is used to receive the mobile terminal holder and the holder of the transmission of acquisition module 410
The auricle information of the user of authorization obtains the auricle information of the user of the mobile terminal holder and holder authorization
Corresponding play right, and the auricle information is associated with its corresponding play right and is stored in local data
Library.
For example, setup module 420 receives the mobile terminal holder and the holder that acquisition module 410 is sent
The auricle information of the user of authorization obtains the auricle information of the user of the mobile terminal holder and holder authorization
Corresponding play right, and the auricle information is associated with its corresponding play right and is stored in local data
Library.
Searching module 430 is used to receive the auricle information of the collected mobile terminal user of acquisition module 430, is adopting
When collection module 410 collects the auricle information, the auricle information with the auricle information matches is searched from local data base.
For example, searching module 430 receives the auricle information of the collected mobile terminal user of acquisition module 410, from
The auricle information with the auricle information matches is searched in local data base.Searching module 430 is by find and acquisition module
The auricle information that the auricle information of 410 acquisitions matches is sent to control module 440.
Control module 440 is looked into for receiving the matched auricle information that searching module 430 is found in searching module 430
When finding matched auricle information, the corresponding play right of the matched auricle information is obtained, it is described matched getting
When the corresponding play right of auricle information, obtain the distance between the auricle of mobile terminal and the user, and described in judging away from
From whether belonging to preset range;When the distance belongs to preset range, operation corresponding with the play right is executed.
For example, control module 440 receives the matched auricle information that searching module 430 is found, looked into searching module 430
When finding matched auricle information, the corresponding play right of the matched auricle information is obtained, it is described matched getting
When the corresponding play right of auricle information, obtain the distance between the auricle of mobile terminal and the user, and described in judging away from
From whether belonging to preset range;When the distance belongs to preset range, operation corresponding with the play right is executed.
Control module 440 is also used to not find matched auricle information in searching module 430, and acquisition module 410 is not
When receiving the authorized order of the mobile terminal holder, controls the mobile terminal and enter lock state;And it is used for
Searching module 430 does not find matched auricle information, and acquisition module 410 receives the authorization of the mobile terminal holder
When instruction, multimedia file is played according to the corresponding play right of the authorized order.
For example, control module 440 does not find matched auricle information in searching module 430, and acquisition module 410 does not connect
When receiving the authorized order of the mobile terminal holder, controls the mobile terminal and enter lock state;And searching mould
Block 430 does not find matched auricle information, and acquisition module 410 receives the authorized order of the mobile terminal holder
When, multimedia file is played according to the corresponding play right of the authorized order.
Above scheme, mobile terminal acquire mobile terminal user in the default triggering command for receiving multimedia file
Auricle information;The auricle information with the auricle information matches of acquisition is searched from local data base;Finding matched ear
When wide information, the corresponding play right of the matched auricle information is obtained, and execute operation corresponding with the play right;Energy
Enough multimedia file can be managed according to the corresponding play right of auricle information, be broadcast automatically when being passed through by auricle information authentication
Multimedia file corresponding with its play right is put, prevents multimedia document information from revealing.
When getting the corresponding play right of matched auricle information, the auricle of mobile terminal and user is further obtained
The distance between, and when the distance belongs to preset range, it is automatic to play multimedia file corresponding with play right, it can
Avoid mobile terminal idle or in the case where user's inconvenience play corresponding multimedia file automatically.
It is the structural schematic diagram of the application mobile terminal another embodiment refering to Fig. 5, Fig. 5.Mobile terminal 500 includes: to deposit
Reservoir 510, processor 520, transceiver 530 and bus 540.Processor 520 is connected by bus 540 with memory 510.Place
Reason device 520 is connected by bus 540 with transceiver 530.
Transceiver 530 sends data for receiving.
Memory 510 stores program instruction.
Processor 520 is central processing unit (English: central processing unit, abbreviation: CPU) either CPU
With the combination of hardware chip.Processor 520 executes following operation according to the program instruction that memory 510 stores:
Processor 520 is used for when transceiver 530 receives the default triggering command of multimedia file, acquires the movement
The auricle information of terminal user;And for being searched and the ear from local data base when collecting the auricle information
The auricle information of wide information matches;When finding matched auricle information, the acquisition matched auricle information is corresponding to be broadcast
It delegates power limit, and executes operation corresponding with the play right.
Further, processor 520 is for finding matched auricle information, and obtains the matched auricle information
When corresponding play right, the distance between the auricle of mobile terminal and the user is obtained, and judges whether the distance belongs to
In preset range;When the distance belongs to preset range, operation corresponding with the play right is executed.
Further, processor 520 is also used to acquire the use of the mobile terminal holder and holder authorization
The auricle information at family;The auricle information for obtaining the user of the mobile terminal holder and holder authorization respectively corresponds to
Play right, and the auricle information is associated with its corresponding play right and is stored in local data base.
Further, processor 520 is also used to do not finding matched auricle information, and does not receive described mobile whole
When holding the authorized order of holder, controls the mobile terminal and enter lock state;And for not finding matched ear
Wide information, and when receiving the authorized order of the mobile terminal holder, according to the corresponding play right of the authorized order
Play multimedia file.
Further, processor 520 is specifically used for monitoring that the mobile terminal starting includes the text of multimedia file
Part folder, application program, or when receiving the play instruction of multimedia file, pass through camera or display screen acquire it is described it is mobile eventually
The auricle information of end subscriber.
Above scheme, mobile terminal acquire mobile terminal user in the default triggering command for receiving multimedia file
Auricle information;The auricle information with the auricle information matches of acquisition is searched from local data base;Finding matched ear
When wide information, the corresponding play right of the matched auricle information is obtained, and execute operation corresponding with the play right;Energy
Enough multimedia file can be managed according to the corresponding play right of auricle information, be broadcast automatically when being passed through by auricle information authentication
Multimedia file corresponding with its play right is put, prevents multimedia document information from revealing.
In above description, for illustration and not for limitation, propose such as specific system structure, interface, technology it
The detail of class, so as to provide a thorough understanding of the present application.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiment of details.In other situations, omit to well-known device, circuit with
And the detailed description of method, so as not to obscure the description of the present application with unnecessary details.