CN107895041A - Screening-mode method to set up, device and storage medium - Google Patents

Screening-mode method to set up, device and storage medium Download PDF

Info

Publication number
CN107895041A
CN107895041A CN201711236380.9A CN201711236380A CN107895041A CN 107895041 A CN107895041 A CN 107895041A CN 201711236380 A CN201711236380 A CN 201711236380A CN 107895041 A CN107895041 A CN 107895041A
Authority
CN
China
Prior art keywords
history
media data
terminal
screening
mode
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
Application number
CN201711236380.9A
Other languages
Chinese (zh)
Other versions
CN107895041B (en
Inventor
汤进
杨万坤
王玉梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711236380.9A priority Critical patent/CN107895041B/en
Publication of CN107895041A publication Critical patent/CN107895041A/en
Application granted granted Critical
Publication of CN107895041B publication Critical patent/CN107895041B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure is directed to a kind of screening-mode method to set up, device and storage medium, belong to field of terminal technology.Method includes:From the media database of terminal, at least one history media data that terminal has been shot is obtained;Each history media data is classified, it is determined that the target classification belonging to each history media data, a kind of target classification correspond to a kind of screening-mode;Target classification belonging at least one history media data is counted, will appear from the most target classification of number corresponding to screening-mode be arranged to give tacit consent to screening-mode.The disclosure can be accustomed to setting acquiescence screening-mode according to the shooting of user, it has been avoided as much as the situation due to causing user to need manual switching screening-mode there is provided the unused acquiescence screening-mode of user, simplify the operation of user, improve shooting efficiency, and will not be that all terminals set same acquiescence screening-mode, the personal settings of acquiescence screening-mode are realized, improve flexibility.

Description

Screening-mode method to set up, device and storage medium
Technical field
The disclosure is directed to field of terminal technology, specifically on a kind of screening-mode method to set up, device and deposit Storage media.
Background technology
With terminal technology fast development and multiple terminal it is widely available, increasing people is understood in using terminal Camera shooting media data, such as photo or video, the dribs and drabs in being lived with record.And as user shoots demand Increasingly lifted, current camera can provide a variety of screening-modes, such as shoot adoptable common exposal model, self-timer during photo Pattern, U.S. face pattern and landscape configuration etc., shoot adoptable common screening-mode, slow motion screening-mode and delay during video Photograph mode etc., the media data of different-effect can be shot under different screening-modes.
In the case where camera is provided with a variety of screening-modes, it will usually choose a kind of screening-mode of fixation and be arranged to silent Recognize screening-mode, the common exposal model and self-timer mode that such as most of user commonly uses.When terminal starts camera, open Give tacit consent to screening-mode, now can use acquiescence screening-mode be shot, or can also be triggered manually by user once or Multiple mode switching operation, shot again after camera switches to the screening-mode that user gets used to.
The content of the invention
Present disclose provides a kind of screening-mode method to set up, device and storage medium, can solve to deposit in correlation technique The problem of.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of screening-mode method to set up, methods described include:
From the media database of terminal, at least one history media data that the terminal has been shot is obtained;
Each history media data is classified, it is determined that the target classification belonging to each history media data, a kind of mesh Mark classification corresponds to a kind of screening-mode;
Target classification belonging at least one history media data is counted, will appear from the most target of number Screening-mode corresponding to classification is arranged to give tacit consent to screening-mode, and the acquiescence screening-mode is that the terminal is opened when starting camera Screening-mode.
In a kind of possible implementation, in the media database from terminal, obtain what the terminal had been shot At least one history media data, including:
Count the historical photograph quantity that terminal described in the media database has been shot;
Count the history number of videos that terminal described in the media database has been shot;
When the historical photograph quantity is more than the history number of videos, the end is obtained from the media database Hold the historical photograph shot;
When the historical photograph quantity is less than the history number of videos, the end is obtained from the media database Hold the history video shot;
When the historical photograph quantity is equal to the history number of videos, the end is obtained from the media database Hold the historical photograph and history video shot.
In alternatively possible implementation, in the media database from terminal, obtain the terminal and shot At least one history media data, it is including at least one of following:
From the media database of the terminal local, at least one history media number that the terminal has been shot is obtained According to;
From the cloud media database of the terminal association, at least one history media number that the terminal has been shot is obtained According to the history media data that the terminal has been shot is by being uploaded to the cloud media database after the terminal taking.
It is described that each history media data is classified in alternatively possible implementation, it is determined that each history Target classification belonging to media data, including:
For each history media data, the attributive character of the history media data is extracted;
The attributive character is separately input into multiple default disaggregated models, it is right respectively by the multiple default disaggregated model The attributive character is classified, and output category result, and each default disaggregated model belongs to the other matchmaker of target class for differentiation Volume data and the media data for belonging to the classification opposite with the target classification, and target class corresponding to different default disaggregated models It is not different;
It is determined that at least one target classification included in multiple classification results of output, as the history media data institute The target classification of category.
In alternatively possible implementation, methods described also includes:
According to the target classification belonging to each history media data, class label is added for each history media data;
The target classification to belonging at least one history media data counts, and it is most to will appear from number Screening-mode corresponding to target classification is arranged to give tacit consent to screening-mode, including:
The quantity of each class label of addition is counted, by screening-mode corresponding to the maximum class label of quantity It is arranged to give tacit consent to screening-mode.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of screening-mode sets device, and described device includes:
Data acquisition module, at least one gone through for from the media database of terminal, obtain that the terminal shot History media data;
Sort module, for classifying to each history media data, it is determined that the mesh belonging to each history media data Classification is marked, a kind of target classification corresponds to a kind of screening-mode;
Setup module, for being counted to the target classification belonging at least one history media data, it will appear from Screening-mode corresponding to the most target classification of number is arranged to give tacit consent to screening-mode, and the acquiescence screening-mode is the terminal Start the screening-mode opened during camera.
In a kind of possible implementation, the data acquisition module, including:
Statistic unit, the historical photograph quantity shot for counting terminal described in the media database;
The statistic unit, it is additionally operable to count the history number of videos that terminal described in the media database has been shot;
First acquisition unit, for when the historical photograph quantity is more than the history number of videos, from the media The historical photograph that the terminal has been shot is obtained in database;
Second acquisition unit, for when the historical photograph quantity is less than the history number of videos, from the media The history video that the terminal has been shot is obtained in database;
3rd acquiring unit, for when the historical photograph quantity is equal to the history number of videos, from the media Historical photograph and history video that the terminal has been shot are obtained in database.
In alternatively possible implementation, the data acquisition module, it is additionally operable to perform at least one of following operation:
From the media database of the terminal local, at least one history media number that the terminal has been shot is obtained According to;
From the cloud media database of the terminal association, at least one history media number that the terminal has been shot is obtained According to the history media data that the terminal has been shot is by being uploaded to the cloud media database after the terminal taking.
In alternatively possible implementation, the sort module, including:
Feature extraction unit, for for each history media data, extracting the attributive character of the history media data;
Taxon, for the attributive character to be separately input into multiple default disaggregated models, by the multiple default Disaggregated model is classified to the attributive character respectively, and output category result, and each default disaggregated model is used to distinguish and belonged to In the other media data of target class and belong to the media data of the classification opposite with the target classification, and different default classification moulds Target classification corresponding to type is different;
Determining unit, at least one target classification for including in multiple classification results for determining output, as described Target classification belonging to history media data.
In alternatively possible implementation, described device also includes:
Label add module, it is each history media number for the target classification according to belonging to each history media data According to addition class label;
The setup module, it is additionally operable to count the quantity of each class label of addition, by the class that quantity is maximum Screening-mode corresponding to distinguishing label is arranged to give tacit consent to screening-mode.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of screening-mode sets device, and described device includes:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
From the media database of terminal, at least one history media data that the terminal has been shot is obtained;
Each history media data is classified, it is determined that the target classification belonging to each history media data, a kind of mesh Mark classification corresponds to a kind of screening-mode;
Target classification belonging at least one history media data is counted, will appear from the most target of number Screening-mode corresponding to classification is arranged to give tacit consent to screening-mode, and the acquiescence screening-mode is that the terminal is opened when starting camera Screening-mode.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, the computer can Read to be stored with least one instruction in storage medium, the instruction is loaded by processor and performed to realize as described in relation to the first aspect Screening-mode method to set up in performed operation.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The method, apparatus and storage medium that the present embodiment provides, carried out by the history media data shot to terminal Classification, determine the target classification belonging to history media data, will appear from the most target classification of number corresponding to screening-mode set It is set to acquiescence screening-mode.The disclosure determines what the history media data was applicable by the target classification belonging to history media data Screening-mode, so as to according to the shooting of user be accustomed to set acquiescence screening-mode, be avoided as much as due to there is provided The unused acquiescence screening-mode of user and cause user to need the situation of manual switching screening-mode, simplify the behaviour of user Make, improve shooting efficiency, and will not be that all terminals set same acquiescence screening-mode, realize acquiescence shooting mould The personal settings of formula, improve flexibility.
It should be appreciated that the general description and following detailed description of the above are only exemplary, this can not be limited It is open.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of screening-mode method to set up according to an exemplary embodiment;
Fig. 2A is a kind of flow chart of screening-mode method to set up according to an exemplary embodiment;
Fig. 2 B are a kind of schematic diagrames of operating process according to an exemplary embodiment;
Fig. 3 is a kind of block diagram of screening-mode setting device according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of screening-mode setting device according to an exemplary embodiment.
Embodiment
It is right with reference to embodiment and accompanying drawing for the purpose, technical scheme and advantage of the disclosure are more clearly understood The disclosure is described in further details.Here, the exemplary embodiment of the disclosure and its illustrate to be used to explain the disclosure, but simultaneously Not as the restriction to the disclosure.
The embodiment of the present disclosure provides a kind of screening-mode method to set up, device and storage medium, below in conjunction with accompanying drawing to this It is open to be described in detail.
Fig. 1 is a kind of flow chart of screening-mode method to set up according to an exemplary embodiment, applied to terminal In, as shown in figure 1, comprising the following steps:
In a step 101, from the media database of terminal, at least one history media number that terminal has been shot is obtained According to.
In a step 102, each history media data is classified, it is determined that the target belonging to each history media data Classification, a kind of target classification correspond to a kind of screening-mode.
In step 103, the target classification belonging at least one history media data is counted, will appear from number most Screening-mode corresponding to more target classifications is arranged to give tacit consent to screening-mode, and acquiescence screening-mode is that terminal is opened when starting camera Screening-mode.
The method that the present embodiment provides, is classified by the history media data shot to terminal, determines history matchmaker Target classification belonging to volume data, will appear from the most target classification of number corresponding to screening-mode be arranged to acquiescence shooting mould Formula.The disclosure determines the applicable screening-mode of the history media data by the target classification belonging to history media data, so as to It can be accustomed to setting acquiescence screening-mode according to the shooting of user, be avoided as much as due to unused silent there is provided user Recognize screening-mode and cause user to need the situation of manual switching screening-mode, simplify the operation of user, improve shooting effect Rate, and will not be that all terminals set same acquiescence screening-mode, the personal settings of acquiescence screening-mode are realized, Improve flexibility.
In a kind of possible implementation, from the media database of terminal, acquisition terminal has shot at least one History media data, including:
The historical photograph quantity that terminal has been shot in statistics media database;
The history number of videos that terminal has been shot in statistics media database;
When historical photograph quantity is more than history number of videos, the history that terminal has been shot is obtained from media database and is shone Piece;
When historical photograph quantity is less than history number of videos, the history that acquisition terminal has been shot from media database regards Frequently;
When historical photograph quantity is equal to history number of videos, the history that terminal has been shot is obtained from media database and is shone Piece and history video.
In alternatively possible implementation, from the media database of terminal, terminal has been shot at least one is obtained Individual history media data, including it is at least one of following:
From the media database of terminal local, at least one history media data that terminal has been shot is obtained;
From the cloud media database of terminal association, at least one history media data that terminal has been shot, terminal are obtained The history media data shot is by being uploaded to cloud media database after terminal taking.
In alternatively possible implementation, each history media data is classified, it is determined that each history media Target classification belonging to data, including:
For each history media data, the attributive character of extraction history media data;
Attributive character is separately input into multiple default disaggregated models, by multiple default disaggregated models respectively to attributive character Classified, and output category result, each preset disaggregated model and belong to the other media data of target class for differentiation and belong to The media data of the classification opposite with target classification, and target classification corresponding to different default disaggregated models is different;
It is determined that at least one target classification included in multiple classification results of output, as belonging to history media data Target classification.
In alternatively possible implementation, method also includes:
According to the target classification belonging to each history media data, class label is added for each history media data;
Target classification belonging at least one history media data is counted, will appear from the most target classification of number Corresponding screening-mode is arranged to give tacit consent to screening-mode, including:
The quantity of each class label of addition is counted, by screening-mode corresponding to the maximum class label of quantity It is arranged to give tacit consent to screening-mode.
In correlation technique, generally the screening-mode of certain fixation is arranged to give tacit consent to screening-mode, causes each terminal equal Identical is set to give tacit consent to screening-mode, user may need manual switching screening-mode when starting camera, could use and oneself practise Used screening-mode is shot.And statistical analysis is carried out by the history media data shot to terminal in the present embodiment, The screening-mode that terminal user gets used to is determined, the screening-mode that user gets used to is arranged to give tacit consent to screening-mode, to the greatest extent Possibly avoid the situation of user's manual switching screening-mode, detailed process embodiment as described below.
Fig. 2A is a kind of flow chart of screening-mode method to set up according to an exemplary embodiment, such as Fig. 2A institutes Show, this method is used in terminal, comprises the following steps:
In step 201, terminal obtains at least one history media data that terminal has been shot from media database.
Wherein, the terminal is configured with camera, and media data can be shot by camera, and the terminal can be mobile phone, flat board The equipment of the types such as computer.
The terminal has media database, and the history media number that the terminal has been shot can be stored in the media database According to the history media data that these terminals have been shot that is to say the media data of user's using terminal shooting.In order to determine terminal The screening-mode that gets used to of user, at least one history media number that terminal has been shot can be obtained from media database According to the progress statistical analysis of these history media datas.
In addition, the media data of the terminal downloads can also be stored in the media database or other-end is sent to this The media data in a variety of sources such as the media data of terminal.It can be media data addition mark in practical application, show media The source of data, so as to which the media data of separate sources be distinguished, the media data for example, shot adds shot mark, is Mark is downloaded in the media data addition of download.
In a kind of possible implementation, the media database can be the media database of terminal local, each terminal When photographing media data, it is stored in local media database, correspondingly, when to set acquiescence screening-mode, terminal At least one history media data shot is obtained from the media database of local.
In alternatively possible implementation, the media database can also be the cloud media database of terminal association, often When secondary terminal taking is to media data, the media data shot can be uploaded to cloud media database and be stored.Accordingly Ground, terminal can obtain at least one history media data shot from the cloud media database of association.
Wherein, the cloud media database can be the media database with being set on the server of terminal association, can also For media database for being set on the server that is associated with the file management application that terminal is installed etc., terminal can be based on user and mark Know and log in cloud media database, user mark can be phone number or the user account of registration etc..
In practical application, terminal can choose one of media from the media database and cloud media database of local Database, if such as during terminal taking media data, in order to save local memory space, media data can be uploaded to cloud matchmaker Volume data storehouse, and the media data in local media database is deleted, then in step 201 can be from cloud media database History media data is obtained, and no longer uses local media database.If the local media database and cloud media data of terminal Storehouse keeps synchronous, then history media data can be obtained directly from local media database in step 201, so as to save The data traffic consumed when obtaining history media data from cloud media database.
In addition, media data can include photo and video two types, for photo, can be adopted when shooting photo Screening-mode includes common exposal model, self-timer mode, U.S. face pattern, landscape configuration, cuisines pattern etc., and shoots video When the screening-mode that can use include common screening-mode, slow motion screening-mode and delay photograph mode etc., for photo Both different types of media datas with video, the screening-mode that can be used are different.Therefore, acquiescence screening-mode is being set When, the screening-mode suitable for photo can be set, the screening-mode suitable for video can also be set.
In a kind of possible implementation, terminal can obtain history shooting photo and history shooting in media database Video, to shoot photo and the history shooting video determination acquiescence screening-mode to be set according to history, then the acquiescence is shot Pattern is probably the screening-mode suitable for photo, it is also possible to applies to the screening-mode of video.
In alternatively possible implementation, terminal can first count the historical photograph that terminal in media database has been shot Quantity and the history number of videos shot, determine where user is accustomed to shooting according to the quantity of two kinds of history media data A type of media data, corresponding acquiescence screening-mode is set further according to the history media data of respective type.
It that is to say, when historical photograph quantity is more than history number of videos, represent that user is accustomed to shooting photo, from media number The historical photograph shot according to terminal is obtained in storehouse, it is to set acquiescence screening-mode according to the historical photograph of acquisition, then set The acquiescence screening-mode put is applied to shooting photo.When historical photograph quantity is less than history number of videos, user's custom is represented Video is shot, the history video that terminal has been shot is obtained from media database, it is silent to be set according to the history video of acquisition Recognize screening-mode, then set acquiescence screening-mode is applied to shooting video.When historical photograph quantity is equal to history video counts During amount, the historical photograph and history video that terminal has been shot are obtained from media database, so as to the historical photograph according to acquisition Acquiescence screening-mode is set with history video.
In step 202, each history media data of terminal-pair is classified, it is determined that belonging to each history media data Target classification.
In the present embodiment, terminal can provide a variety of screening-modes, and set target class corresponding with every kind of screening-mode Not, represent to shoot using any screening-mode and belong to the other media data of corresponding target class.For example, using cuisines Pattern can shoot cuisines photo, can be shot using self-timer mode and taken a picture certainly.
Correspondingly, for the history media data for completion has been taken, if the history media data belongs to a certain Kind target classification, then it represents that the history media data is probably to be shot using screening-mode corresponding to the target classification, or, Even if the history media data is not to use screening-mode corresponding to the target classification to shoot, it can also represent that user have taken category It is interested in belonging to the other media data of target class in the other media data of the target class.For example, cuisines photo is likely to use Family is using the shooting of cuisines pattern, or even if user is not shot using cuisines pattern, it is also seen that user have taken cuisines Photo.
Therefore, when terminal gets at least one history media data, each history media data is classified, it is determined that Each history media data belongs to any target classification, you can it is determined that screening-mode corresponding to each history media data.
In a kind of possible implementation, terminal can be established and the corresponding multiple default classification respectively of plurality of target classification Model, each preset disaggregated model and belong to the other media data of target class for differentiation and belong to the classification opposite with target classification Media data, i.e., media data is divided into two classes, and target classification corresponding to different default disaggregated models is different.Using every The default disaggregated model of kind can determine whether history media data belongs to corresponding target classification, so that it is determined that history media data Whether screening-mode corresponding with target classification is applied to.
In the training process, for every kind of target classification of setting, it can obtain and belong to the other multiple sample matchmakers of target class Volume data and the other multiple sample media data of target class are not belonging to, the attribute for extracting each sample media data respectively is special Sign, is trained according to the attributive character of these sample media data, so as to train default disaggregated model, then for a variety of mesh Multiple default disaggregated models can be respectively trained out in mark classification.
For example, target classification is cuisines class, then it is special according to the attribute of the photo comprising cuisines and the photo not comprising cuisines Sign is trained, and obtains cuisines disaggregated model, can determine whether include cuisines in a certain photo using the cuisines disaggregated model. Another target classification is self-timer class, then is trained according to from the attributive character taken a picture with him of taking a picture, and obtains self-timer classification Model, it can determine whether a certain photo is that self-timer obtains using the self-timer disaggregated model.
Wherein, the algorithm used when training default disaggregated model can be calculated for algorithm of support vector machine, deep neural network Method, decision Tree algorithms etc..
In assorting process, terminal can extract the attributive character of history media data, and attributive character is inputted to default Disaggregated model, attributive character is classified by default disaggregated model, and output category result, the classification results are probably history Media data belongs to target classification corresponding to the default disaggregated model, it is also possible to which history media data belongs to and target classification phase Anti- classification.By the way that the attributive character of history media data is separately input into multiple default disaggregated models, can obtain multiple Classification results, it is determined that at least one target classification included in multiple classification results of output, as history media data institute The target classification of category.
For example, target classification includes cuisines class and self-timer class, the cuisines disaggregated model obtained using training is to history media Data are classified, and it is the photo comprising cuisines to determine the history media data, and the self-timer disaggregated model obtained using training It is not to take a picture certainly to determine history media data, but he takes a picture, then can determine the target belonging to the history media data Classification is cuisines class.
In step 203, target classification of the terminal according to belonging to each history media data, it is each history media data Add class label.
In step 204, the quantity of each class label of terminal-pair addition is counted, by the classification mark that quantity is maximum Screening-mode corresponding to label is arranged to give tacit consent to screening-mode.
For the ease of statistics, when it is determined that during target classification belonging to a certain history media data, for the history media data Addition represents the other class label of the target class, and the step of adding class label is repeated for each history media data, And then the class label of each history media data can be determined, the class label of these history media datas identical also may may be used Can be different.
Then the quantity of each class label for adding counts, it is determined that the quantity of each class label, the number How much representatives of amount belong to the history media data of respective objects classification number, therefore representated by the maximum class label of quantity Target classification corresponding to screening-mode may be considered the screening-mode that user gets used to, therefore the screening-mode is set To give tacit consent to screening-mode.After setting, when terminal starts camera, you can open the acquiescence screening-mode, user can be straight Connect and shot using screening-mode accustomed to using.
Fig. 2 B are a kind of schematic diagrames of operating process according to an exemplary embodiment, are entered for history media data Row classification, it is determined that screening-mode corresponding to each history media data, then counts the screening-mode that user gets used to, make To give tacit consent to screening-mode.
It should be noted that the method for the setting acquiescence screening-mode that the present embodiment provides can be during terminal use Any instant perform, either by terminal periodic perform or terminal open camera when perform.Also, with user It is continuing with terminal to be shot, collected history media data can also increase, for newly-increased history media data Above-mentioned steps 201-203 addition class labels can be used, then in step 204 can be according to the history media number obtained before According to class label and the class label of newly-increased history media data counted, the maximum class label of quantity is corresponding Screening-mode be arranged to give tacit consent to screening-mode.
The method that the present embodiment provides, is classified by the history media data shot to terminal, determines history matchmaker Target classification belonging to volume data, will appear from the most target classification of number corresponding to screening-mode be arranged to acquiescence shooting mould Formula.The disclosure determines the applicable screening-mode of the history media data by the target classification belonging to history media data, so as to It can be accustomed to setting acquiescence screening-mode according to the shooting of user, that is to say that the screening-mode for commonly using user is arranged to acquiescence and clapped Pattern is taken the photograph, or in the case where user does not know and uses which kind of screening-mode, according to the history media data of user's shooting Classification is that user sets suitable acquiescence screening-mode, has been avoided as much as because there is provided the unused acquiescence shooting of user Pattern and cause user to need the situation of manual switching screening-mode, simplify the operation of user, improve shooting efficiency, lifted Consumer's Experience, and will not be that all terminals set same acquiescence screening-modes, realize of acquiescence screening-mode Propertyization is set, and has been accomplished the camera of more people's multiaspects, has been improved flexibility.
Fig. 3 is a kind of block diagram of screening-mode setting device according to an exemplary embodiment.Referring to Fig. 3, the dress Put including data acquisition module 301, sort module 302 and setup module 303.
Data acquisition module 301, for from the media database of terminal, obtaining at least one history that terminal has been shot Media data;
Sort module 302, for classifying to each history media data, it is determined that belonging to each history media data Target classification, a kind of target classification correspond to a kind of screening-mode;
Setup module 303, for being counted to the target classification belonging at least one history media data, it will appear from secondary Screening-mode corresponding to the most target classification of number is arranged to give tacit consent to screening-mode, when acquiescence screening-mode is that terminal starts camera The screening-mode of unlatching.
In a kind of possible implementation, data acquisition module 301, including:
Statistic unit, the historical photograph quantity shot for counting terminal in media database;
Statistic unit, it is additionally operable to count the history number of videos that terminal has been shot in media database;
First acquisition unit, for when historical photograph quantity is more than history number of videos, being obtained from media database The historical photograph that terminal has been shot;
Second acquisition unit, for when historical photograph quantity is less than history number of videos, being obtained from media database The history video that terminal has been shot;
3rd acquiring unit, for when historical photograph quantity is equal to history number of videos, being obtained from media database The historical photograph and history video that terminal has been shot.
In alternatively possible implementation, data acquisition module 301, it is additionally operable to perform at least one of following operation:
From the media database of terminal local, at least one history media data that terminal has been shot is obtained;
From the cloud media database of terminal association, at least one history media data that terminal has been shot, terminal are obtained The history media data shot is by being uploaded to cloud media database after terminal taking.
In alternatively possible implementation, sort module 302, including:
Feature extraction unit, for for each history media data, the attributive character of extraction history media data;
Taxon, for attributive character to be separately input into multiple default disaggregated models, by multiple default disaggregated models Attributive character is classified respectively, and output category result, each it is other for differentiation to belong to target class for default disaggregated model Media data and the media data for belonging to the classification opposite with target classification, and target classification corresponding to different default disaggregated models It is different;
Determining unit, at least one target classification for including in multiple classification results for determining output, as history Target classification belonging to media data.
In alternatively possible implementation, device also includes:
Label add module, it is each history media number for the target classification according to belonging to each history media data According to addition class label;
Setup module 303, it is additionally operable to count the quantity of each class label of addition, by the classification that quantity is maximum Screening-mode corresponding to label is arranged to give tacit consent to screening-mode.
Above-mentioned all optional technical schemes, any combination can be used to form the alternative embodiment of the disclosure, herein no longer Repeat one by one.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
It should be noted that:The screening-mode that above-described embodiment provides sets device when setting acquiescence screening-mode, only With the division progress of above-mentioned each functional module for example, in practical application, can as needed and by above-mentioned function distribution by Different functional modules is completed, i.e., the internal structure of terminal is divided into different functional modules, described above complete to complete Portion or partial function.In addition, the screening-mode that above-described embodiment provides sets device and screening-mode method to set up embodiment Belong to same design, its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 4 is a kind of block diagram of screening-mode setting device 400 according to an exemplary embodiment.For example, device 400 can be mobile phone, computer, digital broadcast apparatus, messaging devices, game console, tablet device, and medical treatment is set It is standby, body-building equipment, personal digital assistant etc..
Reference picture 4, device 400 can include following one or more assemblies:Processing component 402, memory 404, power supply Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 402 can include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 can include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These data are shown Example includes the instruction of any application program or method for being operated on device 400, contact data, telephone book data, disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 400.
Multimedia groupware 408 is included in the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When device 400 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 404 or via communication set Part 416 is sent.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor cluster 414 can detect opening/closed mode of device 400, and the relative positioning of component, for example, it is described Component is the display and keypad of device 400, and sensor cluster 414 can be with 400 1 components of detection means 400 or device Position change, the existence or non-existence that user contacts with device 400, the orientation of device 400 or acceleration/deceleration and device 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or combinations thereof.In an exemplary reality Apply in example, communication component 416 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel Breath.In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote short distance to lead to Letter.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) can be based in NFC module Technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of device 400.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of computer-readable recording medium, when the instruction in the computer-readable recording medium is by the processor of terminal During execution so that terminal is able to carry out the method in above-described embodiment, and methods described includes:
From the media database of terminal, at least one history media data that terminal has been shot is obtained;
Each history media data is classified, it is determined that the target classification belonging to each history media data, a kind of mesh Mark classification corresponds to a kind of screening-mode;
Target classification belonging at least one history media data is counted, will appear from the most target classification of number Corresponding screening-mode is arranged to give tacit consent to screening-mode, and acquiescence screening-mode is that terminal starts the screening-mode opened during camera.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (12)

1. a kind of screening-mode method to set up, it is characterised in that methods described includes:
From the media database of terminal, at least one history media data that the terminal has been shot is obtained;
Each history media data is classified, it is determined that the target classification belonging to each history media data, a kind of target class Dui Yingyu not a kind of screening-mode;
Target classification belonging at least one history media data is counted, will appear from the most target classification of number Corresponding screening-mode is arranged to give tacit consent to screening-mode, and the acquiescence screening-mode is that the terminal starts the bat opened during camera Take the photograph pattern.
2. according to the method for claim 1, it is characterised in that in the media database from terminal, obtain the end At least one history media data shot is held, including:
Count the historical photograph quantity that terminal described in the media database has been shot;
Count the history number of videos that terminal described in the media database has been shot;
When the historical photograph quantity is more than the history number of videos, the terminal has been obtained from the media database The historical photograph of shooting;
When the historical photograph quantity is less than the history number of videos, the terminal has been obtained from the media database The history video of shooting;
When the historical photograph quantity is equal to the history number of videos, the terminal has been obtained from the media database The historical photograph and history video of shooting.
3. method according to claim 1 or 2, it is characterised in that in the media database from terminal, described in acquisition At least one history media data that terminal has been shot, including it is at least one of following:
From the media database of the terminal local, at least one history media data that the terminal has been shot is obtained;
From the cloud media database of the terminal association, at least one history media data that the terminal has been shot is obtained, The history media data that the terminal has been shot is by being uploaded to the cloud media database after the terminal taking.
4. according to the method for claim 1, it is characterised in that it is described that each history media data is classified, it is determined that Target classification belonging to each history media data, including:
For each history media data, the attributive character of the history media data is extracted;
The attributive character is separately input into multiple default disaggregated models, by the multiple default disaggregated model respectively to described Attributive character is classified, and output category result, and each default disaggregated model belongs to the other media number of target class for differentiation According to the media data of the classification opposite with the target classification with belonging to, and target classification corresponding to different default disaggregated models is not Together;
It is determined that at least one target classification included in multiple classification results of output, as belonging to the history media data Target classification.
5. according to the method for claim 1, it is characterised in that methods described also includes:
According to the target classification belonging to each history media data, class label is added for each history media data;
The target classification to belonging at least one history media data counts, and will appear from the most target of number Screening-mode corresponding to classification is arranged to give tacit consent to screening-mode, including:
The quantity of each class label of addition is counted, screening-mode corresponding to the maximum class label of quantity is set To give tacit consent to screening-mode.
6. a kind of screening-mode sets device, it is characterised in that described device includes:
Data acquisition module, at least one history matchmaker shot for from the media database of terminal, obtaining the terminal Volume data;
Sort module, for classifying to each history media data, it is determined that the target class belonging to each history media data Not, a kind of target classification corresponds to a kind of screening-mode;
Setup module, for being counted to the target classification belonging at least one history media data, it will appear from number Screening-mode corresponding to most target classifications is arranged to give tacit consent to screening-mode, and the acquiescence screening-mode starts for the terminal The screening-mode opened during camera.
7. device according to claim 6, it is characterised in that the data acquisition module, including:
Statistic unit, the historical photograph quantity shot for counting terminal described in the media database;
The statistic unit, it is additionally operable to count the history number of videos that terminal described in the media database has been shot;
First acquisition unit, for when the historical photograph quantity is more than the history number of videos, from the media data The historical photograph that the terminal has been shot is obtained in storehouse;
Second acquisition unit, for when the historical photograph quantity is less than the history number of videos, from the media data The history video that the terminal has been shot is obtained in storehouse;
3rd acquiring unit, for when the historical photograph quantity is equal to the history number of videos, from the media data Historical photograph and history video that the terminal has been shot are obtained in storehouse.
8. the device according to claim 6 or 7, it is characterised in that the data acquisition module, it is following extremely to be additionally operable to execution One item missing operates:
From the media database of the terminal local, at least one history media data that the terminal has been shot is obtained;
From the cloud media database of the terminal association, at least one history media data that the terminal has been shot is obtained, The history media data that the terminal has been shot is by being uploaded to the cloud media database after the terminal taking.
9. device according to claim 6, it is characterised in that the sort module, including:
Feature extraction unit, for for each history media data, extracting the attributive character of the history media data;
Taxon, for the attributive character to be separately input into multiple default disaggregated models, by the multiple default classification Model is classified to the attributive character respectively, and output category result, and each default disaggregated model belongs to mesh for differentiation Mark the media data of classification and belong to the media data of the classification opposite with the target classification, and different default disaggregated models pair The target classification answered is different;
Determining unit, at least one target classification for including in multiple classification results for determining output, as the history Target classification belonging to media data.
10. device according to claim 6, it is characterised in that described device also includes:
Label add module, for the target classification according to belonging to each history media data, add for each history media data Add class label;
The setup module, it is additionally operable to count the quantity of each class label of addition, by the classification mark that quantity is maximum Screening-mode corresponding to label is arranged to give tacit consent to screening-mode.
11. a kind of screening-mode sets device, it is characterised in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
From the media database of terminal, at least one history media data that the terminal has been shot is obtained;
Each history media data is classified, it is determined that the target classification belonging to each history media data, a kind of target class Dui Yingyu not a kind of screening-mode;
Target classification belonging at least one history media data is counted, will appear from the most target classification of number Corresponding screening-mode is arranged to give tacit consent to screening-mode, and the acquiescence screening-mode is that the terminal starts the bat opened during camera Take the photograph pattern.
12. a kind of computer-readable recording medium, it is characterised in that at least one is stored with the computer-readable recording medium Bar is instructed, and the instruction is loaded as processor and performed to realize the shooting mould as described in claim 1 to 5 any claim Performed operation in formula method to set up.
CN201711236380.9A 2017-11-30 2017-11-30 Shooting mode setting method and device and storage medium Active CN107895041B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711236380.9A CN107895041B (en) 2017-11-30 2017-11-30 Shooting mode setting method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711236380.9A CN107895041B (en) 2017-11-30 2017-11-30 Shooting mode setting method and device and storage medium

Publications (2)

Publication Number Publication Date
CN107895041A true CN107895041A (en) 2018-04-10
CN107895041B CN107895041B (en) 2020-12-29

Family

ID=61807035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711236380.9A Active CN107895041B (en) 2017-11-30 2017-11-30 Shooting mode setting method and device and storage medium

Country Status (1)

Country Link
CN (1) CN107895041B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108764371A (en) * 2018-06-08 2018-11-06 Oppo广东移动通信有限公司 Image processing method, device, computer readable storage medium and electronic equipment
CN109348120A (en) * 2018-09-30 2019-02-15 烽火通信科技股份有限公司 A kind of image pickup method, the display methods of image, system and equipment
CN111225153A (en) * 2020-01-21 2020-06-02 Oppo广东移动通信有限公司 Image data processing method, image data processing device and mobile terminal
CN113315910A (en) * 2021-05-19 2021-08-27 闻泰通讯股份有限公司 Shooting method, shooting device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070160365A1 (en) * 2005-10-05 2007-07-12 Fujifilm Corporation Image capture system, handheld terminal device, and image server
CN102932592A (en) * 2012-09-25 2013-02-13 中兴通讯股份有限公司南京分公司 Shooting method, device and terminal
CN104216525A (en) * 2014-08-14 2014-12-17 小米科技有限责任公司 Method and device for mode control of camera application
CN104243814A (en) * 2014-07-28 2014-12-24 小米科技有限责任公司 Analysis method for object layout in image and image shoot reminding method and device
CN105323456A (en) * 2014-12-16 2016-02-10 维沃移动通信有限公司 Image previewing method for photographing device and image photographing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070160365A1 (en) * 2005-10-05 2007-07-12 Fujifilm Corporation Image capture system, handheld terminal device, and image server
CN102932592A (en) * 2012-09-25 2013-02-13 中兴通讯股份有限公司南京分公司 Shooting method, device and terminal
CN104243814A (en) * 2014-07-28 2014-12-24 小米科技有限责任公司 Analysis method for object layout in image and image shoot reminding method and device
CN104216525A (en) * 2014-08-14 2014-12-17 小米科技有限责任公司 Method and device for mode control of camera application
CN105323456A (en) * 2014-12-16 2016-02-10 维沃移动通信有限公司 Image previewing method for photographing device and image photographing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108764371A (en) * 2018-06-08 2018-11-06 Oppo广东移动通信有限公司 Image processing method, device, computer readable storage medium and electronic equipment
CN109348120A (en) * 2018-09-30 2019-02-15 烽火通信科技股份有限公司 A kind of image pickup method, the display methods of image, system and equipment
CN111225153A (en) * 2020-01-21 2020-06-02 Oppo广东移动通信有限公司 Image data processing method, image data processing device and mobile terminal
CN111225153B (en) * 2020-01-21 2021-08-06 Oppo广东移动通信有限公司 Image data processing method, image data processing device and mobile terminal
CN113315910A (en) * 2021-05-19 2021-08-27 闻泰通讯股份有限公司 Shooting method, shooting device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN107895041B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN104461725B (en) The method and device for controlling application process to start
CN104717366B (en) The recommendation method and device of contact head image
CN104267877B (en) The display methods and device of expression picture, electronic equipment
CN104284240B (en) Video browsing approach and device
CN104166689B (en) The rendering method and device of e-book
CN105426515B (en) video classifying method and device
CN107193983A (en) Image search method and device
CN110266879A (en) Broadcast interface display methods, device, terminal and storage medium
CN105069083B (en) The determination method and device of association user
CN104301528B (en) The method and device of display information
CN107895041A (en) Screening-mode method to set up, device and storage medium
CN106528709A (en) Social information recommendation method and apparatus
CN110188236A (en) A kind of recommended method of music, apparatus and system
CN104809158B (en) Web content filter method and device
CN105933539A (en) Audio playing control method and device, and terminal
CN105975301A (en) Memory cleaning method and device, and electronic equipment
CN107766820A (en) Image classification method and device
CN106250921A (en) Image processing method and device
CN105512220A (en) Image page output method and device
CN108898591A (en) Methods of marking and device, electronic equipment, the readable storage medium storing program for executing of picture quality
CN107544802A (en) device identification method and device
CN109819288A (en) Determination method, apparatus, electronic equipment and the storage medium of advertisement dispensing video
CN107454204A (en) User profile mask method and device
CN107995676A (en) terminal control method and device
CN106503131A (en) Obtain the method and device of interest information

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
GR01 Patent grant
GR01 Patent grant