CN108536343A - Control exposure method, apparatus, terminal and storage medium - Google Patents
Control exposure method, apparatus, terminal and storage medium Download PDFInfo
- Publication number
- CN108536343A CN108536343A CN201711470404.7A CN201711470404A CN108536343A CN 108536343 A CN108536343 A CN 108536343A CN 201711470404 A CN201711470404 A CN 201711470404A CN 108536343 A CN108536343 A CN 108536343A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- application program
- terminal
- type
- multimedia file
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000012545 processing Methods 0.000 claims abstract description 84
- 230000006870 function Effects 0.000 claims description 106
- 238000012549 training Methods 0.000 claims description 37
- 230000001960 triggered effect Effects 0.000 claims description 9
- 238000010801 machine learning Methods 0.000 claims description 7
- 230000000694 effects Effects 0.000 abstract description 11
- 230000003993 interaction Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 8
- 210000002569 neuron Anatomy 0.000 description 6
- 238000013528 artificial neural network Methods 0.000 description 5
- 238000003066 decision tree Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 5
- 238000012706 support-vector machine Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 3
- 230000014509 gene expression Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- BQCADISMDOOEFD-UHFFFAOYSA-N Silver Chemical compound [Ag] BQCADISMDOOEFD-UHFFFAOYSA-N 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 229910052709 silver Inorganic materials 0.000 description 1
- 239000004332 silver Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
This application discloses a kind of control exposure method, apparatus, terminal and storage medium, human-computer interaction technique fields.This method includes:When mobile terminal acquires multimedia file, the first terminal description information of mobile terminal is obtained, first terminal description information includes application program operation information and location information;The corresponding first processing function control of multimedia file is determined according to the first terminal description information of mobile terminal;After the completion of mobile terminal acquires multimedia file, the first processing function control is shown.Since mobile terminal can obtain application program operation information and location information when acquiring multimedia file, and it can show corresponding first processing function control obtaining the when of completing multimedia file, therefore, the embodiment of the present invention can enable mobile terminal intelligently show the corresponding processing function control of acquired multimedia file, it realizes and saves user's operation step, improve the effect of the treatment effeciency of multimedia file.
Description
Technical field
The present embodiments relate to human-computer interaction technique field, more particularly to a kind of control exposure method, apparatus, terminal and
Storage medium.
Background technology
As the function of the devices such as the camera and microphone installed in mobile terminal is stronger and stronger, user can be at any time
Everywhere multimedia file is acquired using above-mentioned device.
In the related technology, it when user acquires multimedia file using at least one of camera and microphone device, moves
Dynamic terminal will preserve corresponding multimedia file after user completes acquisition.When user needs to check or using multimedia text
When part, need user according to the path successively opened file folder for storing the multimedia file, until finding the multimedia file.
Due to multimedia file it is generally necessary to be obtained by opening multi-layer folders, mobile terminal is needing to show
Or user's operation complex steps when handling the multimedia file, treatment effeciency are relatively low.
Invention content
Control exposure method, apparatus, terminal and storage medium provided in an embodiment of the present invention can solve mobile terminal and exist
User's operation complex steps when needing to show or handle the multimedia file, the relatively low problem for the treatment of effeciency.The technology
Scheme is as follows:
In a first aspect, a kind of control exposure method is provided, the method includes:
When mobile terminal acquires multimedia file, the first terminal description information of the mobile terminal is obtained, described the
One terminal description information includes application program operation information and location information, and the application program operation information is used to indicate in institute
The first application program run in mobile terminal is stated, the location information is used to indicate the geography that the mobile terminal is presently in
Position;
The corresponding first processing work(of the multimedia file is determined according to the first terminal description information of the mobile terminal
It can control;
After the completion of the mobile terminal acquires the multimedia file, the first processing function control is shown.
Second aspect, provides a kind of control exposure device, and described device includes:
Data obtaining module is configured as, when mobile terminal acquires multimedia file, obtaining the of the mobile terminal
One terminal description information, the first terminal description information include application program operation information and location information, described to apply journey
Sort run information is used to indicate the first application program that the mobile terminal is run within a preset period of time, and the location information is used
In the geographical location for indicating that the mobile terminal is presently in;
Control determining module is configured as determining the multimedia according to the first terminal description information of the mobile terminal
The corresponding processing function control of file;
Control exposure module is configured as after the completion of the mobile terminal acquires the multimedia file, described in displaying
Processing function control.
The third aspect, provides a kind of terminal, and the terminal includes processor, the memory that is connected with the processor,
And it is stored in the program instruction on the memory, the processor realizes that first aspect provides when executing described program instruction
Control exposure method.
Fourth aspect, a kind of computer-readable medium are stored thereon with program instruction, and described program instruction is held by processor
The control exposure method that first aspect provides is realized when row.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
When mobile terminal acquires multimedia file, the first terminal description information of mobile terminal is obtained, first terminal is retouched
It includes application program operation information and location information to state information, and application program operation information is used to indicate to be run in the terminal
The first application program, location information is used to indicate the geographical location that mobile terminal is presently in;According to the first of mobile terminal
Terminal description information determines the corresponding first processing function control of multimedia file;It is completed in mobile terminal acquisition multimedia file
Afterwards, the first processing function control is shown.The application can solve mobile terminal and need to show or handle the multimedia file
When the step of cumbersome, the relatively low problem for the treatment of effeciency;Journey is applied since mobile terminal can be obtained when acquiring multimedia file
Sort run information and location information, and can show corresponding first processing function control obtaining the when of completing multimedia file,
Therefore, the embodiment of the present invention can enable mobile terminal intelligently show the corresponding processing function control of acquired multimedia file,
It realizes and saves user's operation step, improve the effect of the treatment effeciency of multimedia file.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of flow chart of control exposure method shown in an exemplary embodiment of the embodiment of the present invention;
Fig. 2 is based on a kind of first terminal description information and the first processing function control shown in embodiment illustrated in fig. 1
Mapping table;
Fig. 3 is the flow chart of another control exposure method shown in an exemplary embodiment of the embodiment of the present invention;
Fig. 4 is a kind of terminal description information processing flow schematic diagram provided based on embodiment illustrated in fig. 3;
Fig. 5 is a kind of schematic diagram of the data transfer provided based on embodiment illustrated in fig. 3;
Fig. 6 is the block diagram for the control exposure device that the application one embodiment provides;
Fig. 7 is the block diagram for the terminal that one exemplary embodiment of the application provides.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
First, to this application involves several nouns be introduced.
First terminal description information:Refer to a group information set, including application program operation information and location information.
Application program operation information:It is used to indicate the first application program run in the terminal.Concrete implementation shape
Formula either the mark of application program set, can also be the mark of single application program.For example, application program is run
Information can also be that " B is applied mark either set { A application programs, B application programs, C application programs, D application programs }
Program ", the application are without limitation.Optionally, application program operation information may include Program Type, and Program Type is used for
Indicate the designed use of the first application program, which includes at least one of Types Below:Amusement game type is done
Public application type, chat social type, video playing type, finance and money management type, shopping application type, digital map navigation type,
Study education type and books reading type.
Location information:Refer to the information for being used to indicate the geographical location that mobile terminal is presently in.The geographical location can lead to
The embedded satellite navigation chip of mobile terminal is crossed to determine, wherein satellite navigation system used in navigation chip can be GPS
System (Global Positioning System, global positioning system), BDS systems (BeiDou Navigation
Satellite System, Beidou satellite navigation system), GLONASS systems (Global Navigation Satellite
System, Global Satellite Navigation System) or GALILEO systems (Galileo Navigation Satellite System, gal
Profit slightly satellite navigation system) in one kind.Optionally, location information can be a latitude and longitude coordinates information, can also be one
The information of a geographic area.When the location information includes area type, area type is used to indicate mobile terminal and is presently in
Geographic area.The area type includes at least one of Types Below:Residence area type, Administrative Area type, market
Area type, school zone type, sight spot area type, food and drink area type, bank's area type, hospital area type, shadow
Institute's area type, station areas type, hotel area type, travel area type and road area type.
Multimedia file:Including picture file, video file and audio file.The multimedia file passes through multimedia shape
Formula records information, can open or play by corresponding application program.Wherein, picture file may include static images file
Or motion picture files etc..Video file may include camera record video file, the video file of software process quality and
The record screen file etc. of record screen is carried out to mobile terminal.Audio file includes recording file or music file etc..It should be noted that
The embodiment of the present invention is merely illustrative some modes in the cards for showing multimedia file herein, not to multimedia file
Be particularly shown form formed limit.Optionally, in other possible realization methods, multimedia file can also be other
The sensing data file of sensor acquisition.For example, the thermographic data of the mobile terminal acquisition equipped with temperature sensor, matches
The humidity record data for having the acquisition of humidity sensor mobile terminal, acquire equipped with the mobile terminal of Detection of Air Quality component
Air quality record data etc..
First processing function control:Refer to the functionality controls for handling multimedia file, can be held for multimedia file
The specified operation of row.The first processing function control can be according to the difference of the type of corresponding multimedia file, and has not
Same way of realization.For example, when multimedia file is picture file, the first processing function control can be copy function control
It is beautiful that part, sharing function control, character identification function control, attachment increase functionality controls, establishment file folder functionality controls and image
Change at least one of functionality controls control.When multimedia file is video file, the first processing function control can be multiple
Functionality controls processed, sharing function control, audio extraction functionality controls, caption recognition functionality controls, attachment increase functionality controls and
Establishment file presss from both sides at least one of functionality controls control.When multimedia file is audio file, the first processing function control
Can be copy function control, sharing function control, speech identifying function control, attachment increases functionality controls and establishment file is pressed from both sides
At least one of functionality controls control.Wherein, the effect that attachment increases functionality controls is a newly-built envelope mail or one short
Message, and be added to multimedia file as attachment in the mail or short message.Establishment file presss from both sides the effect of functionality controls
It is to create a file, and the multimedia file is stored in this document folder.It should be noted that the embodiment of the present invention is not
The specific exhibition method of first processing function control is defined.
Prediction model:It is a kind of be used for according to corresponding first processing of the program operation information and location information of input prediction
The mathematical model of functionality controls.
Prediction model is the machine learning model obtained according to the first training sample.Wherein, the first training sample includes mark
It is marked with the terminal description information of corresponding processing function control.
Optionally, training sample is stored in sample database.Sample database includes at least one training sample, each training sample
It all include the terminal description information for being corresponding with processing function control.
Optionally, the format of perception data is the format of the data of input prediction model.Such as:Terminal description information can be with
For multi-C vector or the format of matrix.
Optionally, prediction model includes but not limited to:Support vector machines (Support Vector Machine, SVM), depth
Spend neural network (Deep Neural Network, DNN) model, Recognition with Recurrent Neural Network (Recurrent Neural
Networks, RNN) model, insertion (embedding) model, gradient promote decision tree (Gradient Boosting
Decision Tree, GBDT) model etc., the present embodiment will not enumerate herein.
Support vector machines is a kind of sorting technique based on Statistical Learning Theory.When giving one group of training sample, support
Vector machine learns to carry out two class classification by using supervised.Enable interval maximum on feature space, final realize will be given
Training sample is divided into two classes.
DNN models are a kind of deep learning frames.DNN models include input layer, at least one layer of hidden layer (or middle layer)
And output layer.Optionally, input layer, at least one layer of hidden layer (or middle layer) and output layer include at least one neuron,
Neuron is for handling the data received.Optionally, the quantity of the neuron between different layers can be identical;Or
Person can also be different.
RNN models are a kind of neural networks with feedback arrangement.In RNN models, the output of neuron can be under
One timestamp is applied directly to itself, that is, input of the i-th layer of neuron at the m moment, in addition to (i-1) layer neuron this when
Further include its own output at (m-1) moment outside the output at quarter.
Embedding models are shown based on entity and relationship distribution vector table, by the relationship in each triple example
Regard the translation from entity head to entity tail as.Wherein, triple example includes main body, relationship, object, and triple example can be with table
It is shown as (main body, relationship, object);Main body is entity head, and object is entity tail.Such as:The father of Xiao Ming is big bright, then passes through three
Tuple example is expressed as (Xiao Ming, father are big bright).
GBDT models are a kind of decision Tree algorithms of iteration, which is made of more decision trees, and the result of all trees is tired
It adds up as final result.Each node of decision tree can obtain a predicted value, and by taking the age as an example, predicted value is to belong to
The average value at owner's age of age corresponding node.
Mobile terminal in the embodiment of the present invention can be equipped with different multimedia file samplers according to application scenarios.
Multimedia file sampler includes but not limited to camera and microphone.Multimedia file sampler can both be integrated in end
In end and terminal becomes an entirety.Multimedia file acquisition component can be used as a module, such as a block space size to consolidate
Fixed module insertion is in the terminal.For example, being embedded into mobile phone, tablet computer or wearable device.
Optionally, terminal includes but not limited to:Mobile phone, tablet computer, wearable device, intelligent robot, intelligent family
Occupy at least one of equipment and pocket computer on knee.
Optionally, operating system can be carried in terminal, operating system includes but not limited to:IOS (iPhone OS) system
System, Android (Android) system, windowPhone systems.
Fig. 1 is referred to, is a kind of control exposure method shown in an exemplary embodiment of the embodiment of the present invention
Flow chart.The control exposure method includes following steps.
Step 110, when mobile terminal acquires multimedia file, the first terminal description information of mobile terminal is obtained, the
One terminal description information includes application program operation information and location information, and application program operation information is used to indicate mobile whole
The first application program run in end, location information are used to indicate the geographical location that mobile terminal is presently in.
In embodiments of the present invention, mobile terminal acquires multimedia file by camera or microphone.For example, mobile
Terminal can also acquire audio text by camera and microphone cooperation acquisition video file by individual microphone
Part can also shoot picture file by camera.Related device in mobile terminal detects itself, which is in, acquires more matchmakers
When the state of body file, mobile terminal will obtain first terminal description information.
Wherein, since first terminal description information includes application program operation information and location information simultaneously, so mobile
Terminal can respectively be obtained by relevant device.For application program operation information, mobile terminal can be related by reading
Data in data structure obtain.For example, when the operating system carried in mobile terminal is Android operation system, it is mobile whole
End can be determined by obtaining the mark of the activity (activity) in active stack (activity stack) in mobile terminal
First application program of middle operation.For example, it is " A application programs ", " B applications respectively that active stack is identified from the downward activity of stack top
Program " and " C application programs " three are then A application programs in the application program of front stage operation in mobile terminal, in running background
And be B application programs and C application programs respectively away from A application times are opened from being short to long.In embodiments of the present invention,
Application program operation information either running background application program, can also be preset time period foreground in the terminal
The application program run.
Optionally, in a kind of possible mode of the embodiment of the present invention, after application program operation information is used to indicate
When the application program of platform operation, mobile terminal can obtain first terminal description information by following steps.
1-1) when mobile terminal acquires multimedia file, location information is obtained.
1-2) whether detection mobile terminal is less than m in the number s of the application program of running background.
Whether mobile terminal will detect the number s in the application program of running background less than m.Wherein, s and m is just whole
Number, and s and m mobile terminals are according to developer or the pre-set data of user.
1-3) when s is not less than m, mobile terminal is determined as first in the preceding m application program of running background and applies journey
Sequence
1-4) when s is less than m, the s application program by mobile terminal in running background is determined as the first application program;
Application program operation information 1-5) is obtained according to the first determining application program.
Location information and application program operation information 1-6) are retrieved as first terminal description information.
In embodiments of the present invention, mobile terminal is by according to the magnitude relationship of numerical value s and numerical value m, in step 1-2) selection
Execute step 1-3) either execute step 1-4) step 1-3) or execute step 1-4) execute after the completion of, continue to execute step
1-5) and step 1-6).For example, it is 3 that m, which can be arranged, in developer or user, it is meant that multimedia file is collected completion
After need show 3 functionality controls.S is mobile terminal currently in the number of the application program of running background, if in mobile terminal
The operating system of carrying is Android system, and has 5 application programs in active stack and have application program in front stage operation, then says
Bright mobile terminal is currently 4 (i.e. the differences of 5-1) in the program of running background, and is respectively " A application programs ", " B application journeys
Sequence ", " C application programs " and " D application programs ".S is not less than m at this time, executes step 3), i.e., from activity stack top to the direction at stack bottom
Preceding 3 application programs are obtained, are " A application programs ", " B application programs " and " C application programs " respectively.For another example when backstage is transported
When capable number of applications is 2, since the number of applications s of running background is less than numerical value m, mobile terminal should
Two application programs are determined as the first application program.
Optionally, in the alternatively possible mode of the embodiment of the present invention, when application program operation information is used to indicate
When the n application program that front stage operation is crossed in the terminal within a preset period of time, mobile terminal can pass through following steps
Obtain first terminal description information.
2-1) when mobile terminal acquires multimedia file, location information is obtained;
The n application program that front stage operation is crossed in the terminal in preset time period 2-2) is determined as first and applies journey
Sequence, n are positive integers;
Application program operation information 2-3) is obtained according to the first determining application program;
Location information and application program operation information 2-4) are retrieved as first terminal description information.
In embodiments of the present invention, mobile terminal using the application program of running background as first in addition to that can apply journey
The application program crossed in the mobile terminal front stage operation in predetermined amount of time can also be applied journey by sequence, mobile terminal as first
Sequence.For example, predetermined amount of time is 10 minutes, then mobile terminal can be determined by reading application program log from current
System time recalls the application program crossed in front stage operation in 10 minutes.For example, it is 3 to preset numerical value n in mobile terminal.It moves
Dynamic terminal was separately operable " E application programs ", " F application programs " and " G application programs " in above-mentioned 10 minutes on foreground, then moved
Above-mentioned 3 application programs are determined as the first application program by dynamic terminal, if the default numerical value n limited is 2, mobile terminal will be opened
Begin to be determined as the first application program in 2 nearest application programs of the time gap present system time of front stage operation.For example, working as
Preceding system time is 18:00, " E application programs " starts in the time of front stage operation to be 17:52, " F application programs " starts preceding
The time of platform operation is 17:56, " G application programs " starts in the time of front stage operation to be 17:58, then mobile terminal will " F be applied
Program " and " G application programs " are determined as the first application program.Then, mobile terminal will be according to the letter of above-mentioned first application program
Breath generates the operation information of application program, such as program identification set { F application programs, G application programs }.Then, mobile terminal can
Location information and application information are retrieved as first terminal description information, if location information is Administrative Area type,
First terminal description information can be data acquisition system { (F application programs, G application programs), (Administrative Area) }.
Step 120, the corresponding first processing work(of multimedia file is determined according to the first terminal description information of mobile terminal
It can control.
In embodiments of the present invention, mobile terminal determines multimedia file according to the first terminal description information of mobile terminal
Corresponding first processing function control.It should be noted that the execution time of this step is in mobile terminal acquisition multimedia text
It is executed during part.That is, during mobile terminal acquires multimedia file, mobile terminal is according to the first of mobile terminal
Terminal description information determines the corresponding first processing function control of multimedia file.For example, when mobile terminal open camera and
When shutter is triggered, mobile terminal determines the corresponding first function treatment control of multimedia file according to first terminal description information
Part.In another example after mobile terminal opens camera and starts to shoot video file, mobile terminal describes to believe according to first terminal
Breath determines the corresponding first function treatment control of multimedia file.For another example when mobile terminal opens microphone location, it is mobile
Terminal will determine the corresponding first function treatment control of multimedia file according to first terminal description information.
Optionally, Fig. 2 is please referred to, is based on a kind of first terminal description information and shown in embodiment illustrated in fig. 1
The mapping table of one processing function control.In table shown in Fig. 2, X1 indicates " application program operation information ", and X2 indicates " position
Confidence ceases ", Y indicates " the first processing function control ", and wherein Y takes 3, indicates 3 the first processing function controls.Shown in Fig. 2
In table, 13 kinds of correspondences being likely to occur are there are.Under the correspondence, mobile terminal describes to believe according to first terminal
The specific content of X1 and X2 in breath tables look-up and determines corresponding first processing function control.
It is directed to the data of X1 row in the table, A1 indicates that the application program of amusement game type, A2 indicate office application class
The application program of type, A3 indicate that the application program of chat social type, A4 indicate that the application program of video playing type, A5 indicate
The application program of finance and money management type, A6 indicate that the application program of shopping application type, A7 indicate the application of digital map navigation type
Program, A8 indicate that the application program of study education type, A9 indicate the application program of books reading type.
It is directed to the data of X2 row in the table, L1 indicates that residence area type, L2 indicate that Administrative Area type, L3 indicate quotient
Place field type, L4 indicate that school zone type, L5 indicate that sight spot area type, L6 indicate that food and drink area type, L7 indicate silver
Row area type, L8 indicate that hospital area type, L9 indicate that movie theatre area type, L10 indicate that station areas type, L11 indicate
Hotel area type, L12 indicate travel area type and L13 expression road area types.
It is directed to the data of Y row in the table, C1 indicates that copy function control, C2 indicate that sharing function control, C3 indicate text
Word identification function control, C4 indicate that speech identifying function control, C5 indicate that attachment increases functionality controls, C6 indicates establishment file folder
Functionality controls and C7 indicate image beautifying functions control.
For example, with the first row data instance, " application program operation information " is the application program of amusement game type
With the application program of chat social type, " location information " is residence area type.It is corresponding under this first terminal description information
The first processing function control be sharing function control, image beautifying functions control and copy function control.User can locate
After having taken photo or recording completion video in own home's bedroom town domain, sharing function is directly seen in the user interface
Control, image beautifying functions control and copy function control, improve the place of multimedia file at the step of saving user's operation
Manage efficiency.
Step 130, after the completion of mobile terminal acquires multimedia file, the first processing function control is shown.
In the present invention is implemented, mobile terminal will show the first processing function control after multimedia file is completed in acquisition.
Since mobile terminal is after multimedia file is completed in acquisition, it will there is corresponding user circle according to the type of multimedia file
Face.Therefore, mobile terminal will show the first processing function control according to corresponding usage scenario in corresponding user interface.
In a kind of possible mode of the embodiment of the present invention, mobile terminal is shooting the when of completing picture file, is shooting
A first is specified number at when video file or when recording completion audio file, terminal can pop up in present user interface
Function treatment control.Display form can be pop-up, suspension button, the sidebar exhalation shapes such as state or notification bar unfolded state
State.
In conclusion the present embodiment is when mobile terminal acquires multimedia file, the first terminal for obtaining mobile terminal is retouched
Information is stated, first terminal description information includes application program operation information and location information, and application program operation information is for referring to
Show that the first application program run in the terminal, location information are used to indicate the geographical location that mobile terminal is presently in;
The corresponding first processing function control of multimedia file is determined according to the first terminal description information of mobile terminal;In mobile terminal
After the completion of acquiring multimedia file, the first processing function control is shown.The application can solve mobile terminal need show or
The step of when person handles the multimedia file cumbersome, the relatively low problem for the treatment of effeciency;Since mobile terminal can acquire more matchmakers
Application program operation information and location information are obtained when body file, and can be shown when obtaining completion multimedia file corresponding
First processing function control, therefore, the embodiment of the present invention can enable mobile terminal intelligently show acquired multimedia file pair
The processing function control answered realizes and saves user's operation step, improves the effect of the treatment effeciency of multimedia file.
The embodiment of the present invention also provides a kind of control exposure method, and prediction mould can be trained by the method for machine learning
Type enables mobile terminal more intelligently determine the first processing function control using the model after being trained to.
Fig. 3 is referred to, is another control exposure method shown in an exemplary embodiment of the embodiment of the present invention
Flow chart.The control exposure method includes following steps.
Step 301, when mobile terminal acquires multimedia file, the first terminal description information of mobile terminal is obtained, the
One terminal description information includes application program operation information and location information, and application program operation information is used to indicate mobile whole
The first application program run in end, location information are used to indicate the geographical location that mobile terminal is presently in.
In the present invention is implemented, the implementation procedure of step 301 and the implementation procedure of step 110 are identical, and details are not described herein again.
Step 302, by program operation information and location information input prediction model, multimedia file corresponding first is obtained
Processing function control, prediction model are the pre- machine learning model for first passing through the training of the first training sample and obtaining, the first training sample
This includes the terminal description information for being labeled with corresponding processing function control.
Schematically, with reference to terminal description information processing flow schematic diagram shown in Fig. 4.Terminal in input prediction model
Description information can have several groups, which is input in prediction model.It should be noted that in terminal
Terminal description information may be pretreated before description information is input in prediction model.In pretreatment, mobile terminal will
The format conversion of terminal description information is the format for the requirement for meeting prediction model.In embodiments of the present invention, mobile terminal can
Terminal description information to be input in prediction model.After prediction model handles terminal description information, first will be exported
Processing function control.
It should be noted that prediction model is the pre- machine learning model for first passing through the training of the first training sample and obtaining, instruction
It includes the terminal description information for being labeled with corresponding processing function control to practice sample.Prediction model can be that any one has point
The model that the algorithm of class ability is realized, the present embodiment are not limited this.
Step 303, after the completion of mobile terminal acquires multimedia file, the first processing function control is shown.
In the present invention is implemented, the implementation procedure of step 303 and the implementation procedure of step 130 are identical, and details are not described herein again.
Step 304, whether the first processing function control of detection is triggered.
Step 305, when the first processing function control is triggered, the second training sample is generated, the second training sample includes
It is labeled with the first terminal description information of the first processing function control.
Step 306, prediction model is trained by the second training sample, obtains updated prediction model.
In embodiments of the present invention, mobile terminal can pass through second when processor resource is occupied less than specified threshold
Training sample is trained prediction model, to obtain updated prediction model.Specified threshold can be 30% or 40% etc.
Default value.
In a kind of possible realization method in embodiments of the present invention, prediction model can be between other program assemblies
Carry out information exchange.Referring to FIG. 5, it is a kind of schematic diagram of the data transfer provided based on embodiment illustrated in fig. 3.In Fig. 5
In, using the four-stage of reference numeral S1 to S4 expressions data transfer in time, multimedia file acquires in mobile terminal
Application program transmits the notice that multimedia file has begun acquisition to prediction model first after starting to acquire multimedia file
Message.Alternatively, in the mode of alternatively possible realization, the processor in terminal can be started with active obtaining multimedia file by
The message of acquisition.Then, the processor in mobile terminal can obtain location information from satellite navigation chip, then from memory
Read application program operation information.Device is followed by subsequent processing by location information and application program operation information (i.e. first terminal description letter
Breath) it is input in prediction model.Prediction model will determine corresponding first processing function control according to first terminal description information,
After prediction model determines the first processing function control, prediction model is by the identification feedback of the first processing function control to processing
Device.Processor will show the first processing function after the mark for obtaining the first processing function control in corresponding user interface
Control.
In conclusion control exposure method provided in this embodiment is obtained and is moved when mobile terminal acquires multimedia file
The first terminal description information of dynamic terminal, first terminal description information includes application program operation information and location information, by journey
Sort run information and location information input prediction model obtain the corresponding first processing function control of multimedia file, predict mould
Type is the pre- machine learning model for first passing through the training of the first training sample and obtaining, and the first training sample includes to be labeled with corresponding place
The terminal description information for managing functionality controls shows the first processing function control after the completion of mobile terminal acquires multimedia file,
It detects whether the first processing function control is triggered, when the first processing function control is triggered, generates the second training sample, the
Two training samples include the first terminal description information for being labeled with the first processing function control, by the second training sample to prediction
Model is trained, and obtains updated prediction model, since the second training sample can be used to train prediction model again.Cause
This, the present embodiment can enable the use habit that prediction model intelligence degree is increasingly close to the users with the use of user,
On the basis of improving the treatment effeciency of multimedia file, the intelligence degree that the first processing function control is provided is improved.
Following is the application device embodiment, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Referring to FIG. 6, the block diagram of the control exposure device provided it illustrates the application one embodiment, the control
Part shows that device being implemented in combination with as some or all of of terminal by software, hardware or both.The device can be with
Including:Data obtaining module 610, control determining module 620 and control exposure module 630.
Data obtaining module 610 is configured as, when mobile terminal acquires multimedia file, obtaining the mobile terminal
First terminal description information, the first terminal description information include application program operation information and location information, the application
Program operation information is used to indicate the first application program run in the mobile terminal, and the location information is used to indicate institute
State the geographical position that mobile terminal is presently in;
Control determining module 620 is configured as being determined according to the first terminal description information of the mobile terminal described more
The corresponding first processing function control of media file;
Control exposure module 630 is configured as after the completion of the mobile terminal acquires the multimedia file, showing institute
State the first processing function control;
Optionally, the control determining module 620 is configured as described program operation information and the location information is defeated
Enter prediction model, obtain the corresponding first processing function control of the multimedia file, the prediction model is logical in advance
The machine learning model that the training of the first training sample obtains is crossed, first training sample includes to be labeled with corresponding processing function
The terminal description information of control.
Optionally, described device further includes detection module, generation module and training module;
The detection module is configured as detecting whether the first processing function control is triggered;
The generation module is configured as when the first processing function control is triggered, and generates the second training sample,
Second training sample includes the first terminal description information for being labeled with the first processing function control;
The training module is configured as being trained the prediction model by second training sample, obtains
Updated prediction model.
Optionally, described information acquisition module 610 is configured as, when mobile terminal acquires multimedia file, obtaining institute
State location information;Whether the number s for detecting the mobile terminal in the application program of running background is less than m, and s, m are positive integers;
When s is not less than m, the preceding m application program by the mobile terminal in running background is determined as first application program;When
When s is less than m, the mobile terminal is determined as first application program in s application program of running background;According to determination
First application program obtain the application program operation information;By the location information and application program operation letter
Breath is retrieved as the first terminal description information.
Optionally, described information acquisition module 610 is configured as, when mobile terminal acquires multimedia file, obtaining institute
State location information;The n application program that front stage operation is crossed in the mobile terminal in preset time period is determined as described
One application program, n are positive integers;The application program operation information is obtained according to determining first application program;By institute
It states location information and the application program operation information is retrieved as the first terminal description information.
Optionally, the multimedia file that described device is related to includes:In picture file, video file and audio file extremely
Few one kind.
Optionally, the application program operation information that described device is related to includes Program Type, and described program type is for referring to
Show the designed use of first application program.
Optionally, the Program Type that described device is related to includes at least one of Types Below:Amusement game type is done
Public application type, chat social type, video playing type, finance and money management type, shopping application type, digital map navigation type,
Study education type and books reading type.
Optionally, the location information that described device is related to includes area type, and the area type is used to indicate the shifting
The geographic area that dynamic terminal is presently in.
Optionally, the area type that described device is related to includes at least one of Types Below:Residence area type is done
Public area type, market area type, school zone type, sight spot area type, food and drink area type, bank's area type,
Hospital area type, movie theatre area type, station areas type, hotel area type, travel area type and road area class
Type.
Optionally, the processing function control that described device is related to includes at least one of following functions control:Replicate work(
Energy control, sharing function control, character identification function control, speech identifying function control, attachment increase functionality controls, create text
Part presss from both sides functionality controls and image beautifying functions control.
The application also provides a kind of computer-readable medium, is stored thereon with program instruction, and program instruction is held by processor
The control exposure method that above-mentioned each embodiment of the method provides is realized when row.
Present invention also provides a kind of computer program products including instruction, when run on a computer so that
Computer executes the control exposure method that above-mentioned each embodiment of the method provides.
With reference to figure 7, it illustrates the block diagrams for the terminal that one exemplary embodiment of the application provides.In the application
Terminal may include one or more such as lower component:Processor 710, memory 720 and satellite navigation chip 730.
Processor 710 may include one or more processing core.Processor 710 utilizes various interfaces and connection
Various pieces in entire terminal, by running or executing the instruction being stored in memory 720, program, code set or instruction
Collection, and the data being stored in memory 720 are called, execute the various functions and processing data of terminal.Optionally, processor
710 may be used Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array
(Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic
Array, PLA) at least one of example, in hardware realize.Processor 710 can integrating central processor (Central
Processing Unit, CPU) and one or more of modem etc. combination.Wherein, the main processing operation systems of CPU
System and application program etc.;Modem is wirelessly communicated for handling.It is understood that above-mentioned modem can not also
It is integrated into processor 710, is realized separately through chip piece.
Optionally, above-mentioned each embodiment of the method carries under being realized when processor 710 executes the program instruction in memory 720
The control exposure method of confession.
Memory 720 may include random access memory (Random Access Memory, RAM), can also include read-only
Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non-
transitory computer-readable storage medium).Memory 720 can be used for store instruction, program, generation
Code, code set or instruction set.Memory 720 may include storing program area and storage data field, wherein storing program area can store
Instruction for realizing operating system, the instruction at least one function, for realizing the finger of above-mentioned each embodiment of the method
Enable etc.;Storage data field can be stored uses created data etc. according to terminal.
Satellite navigation chip 730 can be that GPS system navigation chip, BDS systems navigation chip, GLONASS systems are led
Navigate at least one of chip and GALILEO system navigation chips.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on should be included within the protection domain of the application.
Claims (14)
1. a kind of control exposure method, which is characterized in that the method includes:
When mobile terminal acquires multimedia file, the first terminal description information of the mobile terminal is obtained, described first eventually
It includes application program operation information and location information to hold description information, and the application program operation information is used to indicate in the shifting
The first application program run in dynamic terminal, the location information are used to indicate the geographical position that the mobile terminal is presently in
It sets;
The corresponding first processing function control of the multimedia file is determined according to the first terminal description information of the mobile terminal
Part;
After the completion of the mobile terminal acquires the multimedia file, the first processing function control is shown.
2. according to the method described in claim 1, it is characterized in that, described describe to believe according to the first terminal of the mobile terminal
Breath determines the corresponding processing function control of the multimedia file, including:
By described program operation information and the location information input prediction model, it is corresponding described to obtain the multimedia file
First processing function control, the prediction model are the pre- machine learning model for first passing through the training of the first training sample and obtaining, institute
It includes the terminal description information for being labeled with corresponding processing function control to state the first training sample.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
Detect whether the first processing function control is triggered;
When the first processing function control is triggered, the second training sample is generated, second training sample includes mark
There is the first terminal description information of the first processing function control;
The prediction model is trained by second training sample, obtains updated prediction model.
4. according to the method described in claim 1, it is characterized in that, described when mobile terminal acquires multimedia file, acquisition
The first terminal description information of the mobile terminal, including:
When mobile terminal acquires multimedia file, the location information is obtained;
Whether the number s for detecting the mobile terminal in the application program of running background is less than m, and s, m are positive integers;
When s is not less than m, the mobile terminal is determined as described first in the preceding m application program of running background and applies journey
Sequence;
When s is less than m, the mobile terminal is determined as first application program in s application program of running background;
The application program operation information is obtained according to determining first application program;
The location information and the application program operation information are retrieved as the first terminal description information.
5. according to the method described in claim 1, it is characterized in that, described when mobile terminal acquires multimedia file, acquisition
The first terminal description information of the mobile terminal, including:
When mobile terminal acquires multimedia file, the location information is obtained;
The n application program that front stage operation is crossed in the mobile terminal in preset time period is determined as described first and applies journey
Sequence, n are positive integers;
The application program operation information is obtained according to determining first application program;
The location information and the application program operation information are retrieved as the first terminal description information.
6. method according to any one of claims 1 to 5, which is characterized in that the multimedia file includes:Picture file,
At least one of video file and audio file.
7. method according to any one of claims 1 to 5, which is characterized in that the application program operation information includes program
Type, described program type are used to indicate the designed use of first application program.
8. the method according to the description of claim 7 is characterized in that described program type includes at least one in Types Below
Kind:
Amusement game type, office application type, chat social type, video playing type, finance and money management type, shopping application
Type, digital map navigation type, study education type and books reading type.
9. method according to any one of claims 1 to 5, which is characterized in that the location information includes area type, described
Area type is used to indicate the geographic area that the mobile terminal is presently in.
10. according to the method described in claim 9, it is characterized in that, the area type includes at least one in Types Below
Kind:
Residence area type, Administrative Area type, market area type, school zone type, sight spot area type, food and drink region
Type, bank's area type, hospital area type, movie theatre area type, station areas type, hotel area type, recreation area
Field type and road area type.
11. method according to any one of claims 1 to 5, which is characterized in that the processing function control includes following functions
At least one of control:
Copy function control, sharing function control, character identification function control, speech identifying function control, attachment increase function
Control, establishment file folder functionality controls and image beautifying functions control.
12. a kind of control exposure device, which is characterized in that described device includes:
Data obtaining module is configured as when mobile terminal acquires multimedia file, and obtain the mobile terminal first is whole
It includes application program operation information and location information, the application program fortune to hold description information, the first terminal description information
Row information is used to indicate the first application program run in the mobile terminal, and the location information is used to indicate the movement
The geographical location that terminal is presently in;
Control determining module is configured as determining the multimedia file according to the first terminal description information of the mobile terminal
Corresponding first processing function control;
Control exposure module is configured as after the completion of the mobile terminal acquires the multimedia file, displaying described first
Processing function control.
13. a kind of terminal, which is characterized in that the terminal includes processor, the memory that is connected with the processor, Yi Jicun
The program instruction on the memory is stored up, the processor realizes such as claim 1 to 11 times when executing described program instruction
Control exposure method described in one.
14. a kind of computer readable storage medium, which is characterized in that be stored thereon with program instruction, described program instruction is located
Manage the control exposure method realized when device executes as described in claim 1 to 11 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711470404.7A CN108536343B (en) | 2017-12-29 | 2017-12-29 | Control display method and device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711470404.7A CN108536343B (en) | 2017-12-29 | 2017-12-29 | Control display method and device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108536343A true CN108536343A (en) | 2018-09-14 |
CN108536343B CN108536343B (en) | 2020-06-09 |
Family
ID=63489833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711470404.7A Expired - Fee Related CN108536343B (en) | 2017-12-29 | 2017-12-29 | Control display method and device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108536343B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111079053A (en) * | 2019-12-19 | 2020-04-28 | 北京安兔兔科技有限公司 | Product information display method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019542A (en) * | 2012-11-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method for quickly photographing under screen locking interface |
WO2015132622A1 (en) * | 2014-03-02 | 2015-09-11 | Onesnaps Technology Private Limited | Single mode & automatically visual media capture and excuting associate functions(s) |
CN106855771A (en) * | 2015-12-09 | 2017-06-16 | 阿里巴巴集团控股有限公司 | A kind of data processing method, device and intelligent terminal |
CN107045444A (en) * | 2017-04-18 | 2017-08-15 | 广东小天才科技有限公司 | A kind of application program recommends method and device |
US20170257575A1 (en) * | 2016-03-07 | 2017-09-07 | Seerslab, Inc. | Image generation method and apparatus having location information-based geo-sticker |
CN107295170A (en) * | 2017-06-20 | 2017-10-24 | 维沃移动通信有限公司 | The display methods and electronic equipment of a kind of touch-control bar |
-
2017
- 2017-12-29 CN CN201711470404.7A patent/CN108536343B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019542A (en) * | 2012-11-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method for quickly photographing under screen locking interface |
WO2015132622A1 (en) * | 2014-03-02 | 2015-09-11 | Onesnaps Technology Private Limited | Single mode & automatically visual media capture and excuting associate functions(s) |
CN106855771A (en) * | 2015-12-09 | 2017-06-16 | 阿里巴巴集团控股有限公司 | A kind of data processing method, device and intelligent terminal |
US20170257575A1 (en) * | 2016-03-07 | 2017-09-07 | Seerslab, Inc. | Image generation method and apparatus having location information-based geo-sticker |
CN107045444A (en) * | 2017-04-18 | 2017-08-15 | 广东小天才科技有限公司 | A kind of application program recommends method and device |
CN107295170A (en) * | 2017-06-20 | 2017-10-24 | 维沃移动通信有限公司 | The display methods and electronic equipment of a kind of touch-control bar |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111079053A (en) * | 2019-12-19 | 2020-04-28 | 北京安兔兔科技有限公司 | Product information display method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108536343B (en) | 2020-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Cruciani et al. | Feature learning for human activity recognition using convolutional neural networks: A case study for inertial measurement unit and audio data | |
US11544550B2 (en) | Analyzing spatially-sparse data based on submanifold sparse convolutional neural networks | |
CN105224075B (en) | Sensor-based mobile search, correlation technique and system | |
CN102884779B (en) | Intuition computational methods and system | |
US20190220471A1 (en) | Methods and Systems for Interacting with Mobile Device | |
CN109597993A (en) | Sentence analysis processing method, device, equipment and computer readable storage medium | |
CN106575195A (en) | Improved drag-and-drop operation on a mobile device | |
CN111339246A (en) | Query statement template generation method, device, equipment and medium | |
JP2013527947A (en) | Intuitive computing method and system | |
CN108416003A (en) | A kind of picture classification method and device, terminal, storage medium | |
CN107210033A (en) | The language understanding sorter model for personal digital assistant is updated based on mass-rent | |
WO2019214453A1 (en) | Content sharing system, method, labeling method, server and terminal device | |
CN113111026A (en) | Gallery of messages with shared interests | |
US10769428B2 (en) | On-device image recognition | |
US20220358727A1 (en) | Systems and Methods for Providing User Experiences in AR/VR Environments by Assistant Systems | |
CN110136198A (en) | Image processing method and its device, equipment and storage medium | |
CN110147467A (en) | A kind of generation method, device, mobile terminal and the storage medium of text description | |
WO2019137391A1 (en) | Method and apparatus for performing categorised matching of videos, and selection engine | |
CN112015896B (en) | Emotion classification method and device based on artificial intelligence | |
CN110209810A (en) | Similar Text recognition methods and device | |
CN111368525A (en) | Information searching method, device, equipment and storage medium | |
CN108369806A (en) | Configurable all-purpose language understands model | |
CN109165564B (en) | Electronic photo album, generation method, system, storage medium and computer equipment | |
CN112069326A (en) | Knowledge graph construction method and device, electronic equipment and storage medium | |
US11561964B2 (en) | Intelligent reading support |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200609 |