Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of the sorting technique of image provided in an embodiment of the present invention, is applied to
Mobile terminal, as shown in figure 1, comprising the following steps:
Step 101, when the camera of the mobile terminal is started, detect the network of the mobile terminal.
In the embodiment of the present invention, when the camera that user starts mobile terminal is that mobile terminal can be detected when opening camera
The network being currently accessed.Wherein, user starts camera function and can include directly being opened after clicking on camera applications icon, unlocked by fingerprint
Open camera and shake startup camera etc. using mobile terminal, be not defined herein.
In addition, above-mentioned network can be mobile data network or WiFi network etc., above-mentioned mobile data network can be
2G (2-Generation wireless telephone technology, second generation mobile communication technology), 3G (3-
Generation wireless telephone technology, third generation mobile communication technology), 4G (4-Generation
Wireless telephone technology, forth generation mobile communication technology) and 5G (5-Generation wireless
Telephone technology, the 5th generation mobile communication technology) etc. in any one, mobile terminal is by accessing above-mentioned net
Network, it is possible to achieve data transmit-receive.
Step 102, the network information for the target image addition network are simultaneously stored, wherein, the target image
For the image that the mobile terminal shoots under the network.
In the embodiment of the present invention, when shooting image under network of the user in above-mentioned steps 101, mobile terminal can be by network
The network information added to shoot image in, and by add the network information image stored.Wherein, above-mentioned image can be with
It is any one in picture, video and dynamic image etc..It is above-mentioned that the network information is added in image, can be by figure
Add to characterize the mark of the network information or set up the modes such as network information mapping table corresponding with image as in and realize,
This is not construed as limiting.
In addition, the above-mentioned network information can be the information, or mobile terminal for pre-setting map network obtaining in real time
In the information for taking, geographical position and network name where network type, mobile terminal can be included but is not limited to etc. extremely
Few one kind, wherein, network type can be above-mentioned 2G, 3G, 4G, 5G and WIFI etc.;Geographical position where mobile terminal can
With the mobile terminal position that the positioning component for being mobile terminal under the network is detected;Network name can characterize the network
Title, for example:Default each SIM (know by Subscriber Identification Module, user identity in mobile terminal
Do not block the title that corresponding title, such as SIM1 and SIM2, or user are WIFI definition).
Step 103, the image classification with identical network information that will be stored in the mobile terminal to same image sets.
In the embodiment of the present invention, when user needs to check the image stored in mobile terminal, mobile terminal will can have
There is the image classification of identical network information to same image sets, user can quickly check needs by sorted image
Image.
Wherein, it is above-mentioned by the image classification with identical network information to same image sets, can be mobile terminal according to
The network information in image is classified automatically, for example:Geographical position where the network information only includes network type, mobile terminal
And during a kind of in network name, can classify according to network type, geographical position or network name;Or when network letter
Breath include network type, mobile terminal where geographical position and network name in it is multiple when, many of image can be set up
Level classified catalogue, such as first classifies, according still further to geographic Location Classification etc. according to network type.
It is above-mentioned by the image classification with identical network information to same image sets, or according to entering the need for user
Row classification, for example:When user's selection is classified by network name, image can be divided into photo group corresponding with network name,
As WIFI name class is pressed in user's selection, image can be divided into WIFI title A, WIFI title B and WIFI titles C by mobile terminal
Deng in photo group.Certainly, user only needs to select the network type in the network information, the geographical position where mobile terminal and net
At least one in network title etc., is capable of achieving to classify the image of mobile terminal storage, is no longer repeated herein.
In the embodiment of the present invention, above-mentioned mobile terminal can be it is any can be by the mobile terminal of image classification, such as:Hand
Machine, panel computer (Tablet Personal Computer), kneetop computer (Laptop Computer), individual digital are helped
Reason (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device,
) or Wearable device (Wearable Device) etc. MID.
So, in the embodiment of the present invention, when the image shot by camera of mobile terminal is started, can be by the network of mobile terminal
The network information added to shoot image in, when user needs to check image, can according to mobile terminal store each photo
The network information classified, so as to avoid user from checking the image of storage one by one, reduce the operation of user, grasp mobile terminal
Make convenient, time saving.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of the sorting technique of another image provided in an embodiment of the present invention, application
In mobile terminal, as shown in Fig. 2 comprising the following steps:
Step 201, when the camera of the mobile terminal is started, detect the network of the mobile terminal.
In the embodiment of the present invention, when user starts the camera of mobile terminal, mobile terminal can detect the net being currently accessed
Network.Wherein, above-mentioned network can be the mobile data networks or WIFI network etc. such as 2G, 3G, 4G or 5G, and mobile terminal passes through
Access above-mentioned network, it is possible to achieve data transmit-receive.
Step 202, the target component for obtaining the network, wherein, the target component includes network type, mobile terminal
At least one in the geographical position at place and network name.
In the embodiment of the present invention, when mobile terminal detects network in above-mentioned steps 201, the mesh of the network can be obtained
Mark parameter, the target component can be in geographical position and network name etc. where network type, mobile terminal at least
It is a kind of.Wherein, network type can be above-mentioned 2G, 3G, 4G, 5G and WIFI etc.;Geographical position where mobile terminal can be with
It is the position when mobile terminal of the positioning component detection of mobile terminal under the network shoots photo;Network name can be
The title of the network is characterized, for example:Optionally, network name can include the corresponding name of default each SIM in mobile terminal
Claim, such as SIM1 and SIM2;Network name can also include the title that user is WIFI definition.By the mesh for obtaining network in real time
Mark parameter, the accuracy that further lifting is classified.
Step 203, the target image is added to using the target component as the network information of the network, and stored
The target image.
In the embodiment of the present invention, above-mentioned steps 202 obtain network target component after, as user under network shooting image
When, mobile terminal will under the network shoot image as target image, and using the target component as network the network information
Added to target image, and store the target image of the addition network information.Wherein, above-mentioned image can be picture, video and
Any one in dynamic image etc..It is above-mentioned that the network information is added in image, can be by adding sign net in the picture
The mark of network information is set up the modes such as network information mapping table corresponding with image and is realized, is not limited thereto.
Step 204, the image classification with identical network information that will be stored in the mobile terminal to same image sets.
In the embodiment of the present invention, when user needs to check the image stored in mobile terminal, mobile terminal will can have
There is the image classification of identical network information to same image sets, user can quickly check needs by sorted image
Image.Wherein, mobile terminal can automatically be classified with the network information in image, it is also possible to which the requirement according to user is divided
Class.For example:Classify according to network type, the image of storage is classified in the image sets of 2G, 3G, 4G and 5G respectively.
Optionally, when the geographical position where the target component includes network type and mobile terminal, above-mentioned steps
204 can include:The image classification with same geographic location that will be stored in the mobile terminal is to same image sets;Will be same
The image classification with identical network type is to same image sets in the image sets in one geographical position.
For example:When the photo of mobile terminal storage is respectively the photo shot under 3G network and WIFI network, wherein, 3G
The photo shot under the photo and WIFI network that are shot under network may be to be shot in same position, it is also possible to be in diverse location
Shoot, so, mobile terminal preferential can be classified photo according to the geographical position for shooting photo, then same position is off line
Network type is the photo classification of 3G to same photo group, and network type is the photo classification of WIFI to same photo group, from
And set up the photo group of the multistage catalogue of photo.
It should be noted that geographical position and network name where target component includes network type, mobile terminal
In claiming etc. at least two when, priority during classification can be pre-set, image classification can be formed with multistage catalogue
Image sets, its assorting process no longer repeated, and the user that can so be more convenient for checks the image of storage.
Optionally, when the target component includes network name, above-mentioned steps 204 can also include:Will be described mobile whole
The image classification with identical network title stored in end is to same image sets.
For example:The photo stored in mobile terminal includes that WIFI titles are respectively the WIFI network in family, company and market
The photo of lower shooting, and when user's selection is classified photo by WIFI titles, the entitled families of WIFI can will be added with
Photo classification to same photo group, the photo classification of the entitled companies of WIFI will be added with to same photo group, and will
The photo classification in the entitled markets of WIFI is to same photo group;Or enter to being added with the photo that network name is SIM1 and SIM2
Row classification, will add the photo classification of SIM1 to same photo group, will add the photo classification of SIM2 to same photo group.
It should be noted that the need for mobile terminal can also be according to user, only by being added with of needing to check it is a certain or
The image of specific several network informations is classified, and forms one or specific several photo groups.
Optionally, after the step 204, can also include:
Step 205, the icon of target image group is carried out vision enhancement show, wherein, the target image group is storage
It is added with the image sets of the image of the network information of the network.
In the embodiment of the present invention, the vision enhancement shows can include following one or more:Icon becomes big, icon
Discoloration, icon brightens, icon flash, specific markers are shown on icon and icon deviation original position so that can intuitively to
User is illustrated in all photos shot under network.
So, in the embodiment of the present invention, it is added to as the network information by using the target component of the network of mobile terminal
In the photo of shooting, when user needs to check image, the image that can be stored mobile terminal is according to network type, mobile terminal
At least one in the geographical position at place and network name is classified, and further reduces the operation of user, is made mobile whole
The operation at end is more convenient, time saving.
Referring to Fig. 3, Fig. 3 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention, as shown in figure 3, should
Mobile terminal 300 includes network detection module 301, network information add module 302 and sort module 303:
Network detection module 301, for when the camera of mobile terminal is started, detecting the network of the mobile terminal;
Network information add module 302, for target image to be added the network information of the network and stored, its
In, the target image is the image that the mobile terminal shoots under the network;
Sort module 303, for being the image classification with identical network information stored in the mobile terminal to same
One image sets.
Optionally, as shown in figure 4, the network information add module 302 can include:
Target component acquiring unit 3021, the target component for obtaining the network, wherein, the target component includes
At least one in geographical position and network name where network type, mobile terminal;
Network information adding device 3022, for being added to institute using the target component as the network information of the network
Target image is stated, and stores the target image.
Optionally, as shown in figure 5, when the target component includes the geographical position where network type and mobile terminal
When, the sort module 303 includes:
First taxon 3031, for the image classification with same geographic location that will be stored in the mobile terminal
To same image sets;
Second taxon 3032, for the image with identical network type in the image sets in same geographical position to be divided
Class is to same image sets.
Optionally, the target component includes network name, and the sort module 303 can be also used for will be described mobile whole
The image classification with identical network title stored in end is to same image sets.
Optionally, the network name can include the corresponding name of default each subscriber identification card in mobile terminal
Claim.
Optionally, as shown in fig. 6, the mobile terminal 300 can also include:
Vision enhancement display module 304, shows for the icon of target image group to be carried out into vision enhancement, wherein, it is described
Target image group is the image sets of the image of the network information that storage is added with the network.
Mobile terminal 300 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2, to keep away
Exempt to repeat, repeat no more here.
The mobile terminal 300 of the embodiment of the present invention, when the image shot by camera of mobile terminal is started, can be by mobile terminal
Network the network information added to shoot image in, when user needs to check image, can according to mobile terminal store
The network information of each photo is classified, and so as to avoid user from checking the image of storage one by one, reduces the operation of user, makes movement
Terminal operation is convenient, time saving.
Referring to Fig. 7, Fig. 7 is the structural representation of another mobile terminal provided in an embodiment of the present invention, as shown in fig. 7,
Mobile terminal 700 includes:At least one processor 701, memory 702, at least one network interface 704 and user interface 703.
Each component in mobile terminal 700 is coupled by bus system 705.It is understood that bus system 705 is used to realize this
Connection communication between a little components.Bus system 705 in addition to including data/address bus, also including power bus, controlling bus and
Status signal bus in addition.But for the sake of for clear explanation, various buses are all designated as bus system 705 in the figure 7.Mobile terminal
700 also include camera 706.In addition, camera 706 is connected by bus system 705 with each component of mobile terminal.
Wherein, user interface 703 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside height
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synch Link DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 702 of system and method described herein be intended to including but not limited to these and it is any its
It is adapted to the memory of type.
In some embodiments, memory 702 stores following element, can perform module or data structure, or
Person their subset, or their superset:Operating system 7021 and application program 7022.
Wherein, operating system 7021, comprising various system programs, such as ccf layer, core library layer, driving layer etc. are used for
Realize various basic businesses and process hardware based task.Application program 7022, comprising various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 7022.
In embodiments of the present invention, by the program for calling memory 702 to store or instruction, specifically, can be application
The program stored in program 7022 or instruction, processor 701 are used for:When the camera of the mobile terminal is started, detection is described
The network of mobile terminal;For target image adds the network information of the network and is stored, wherein, the target image is
The image that the mobile terminal shoots under the network;The figure with identical network information that will be stored in the mobile terminal
As being classified to same image sets.
The method that the embodiments of the present invention are disclosed can apply in processor 701, or be realized by processor 701.
Processor 701 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 701 or software form.Above-mentioned treatment
Device 701 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module may be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 702, processor 701 reads the parameter in memory 702, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realized for software, can be realized by performing the module (such as process, function etc.) of function described herein herein
Described technology.Software code is storable in memory and by computing device.Memory can within a processor or
Realize processor outside.
Optionally, processor 701 performs described for target image adds the corresponding network information of the network and is deposited
Storage, including:
The target component of the network is obtained, wherein, the target component includes the ground where network type, mobile terminal
At least one in reason position and network name;
The target image is added to using the target component as the network information of the network, and stores the target
Image.
Optionally, processor 701 performs the geographical position where the target component includes network type and mobile terminal
When putting, it is described by the mobile terminal store the image classification with identical network information to same image sets, including:
The image classification with same geographic location that will be stored in the mobile terminal is to same image sets;
By the image classification with identical network type in the image sets in same geographical position to same image sets.
Optionally, processor 701 performs the target component includes network name, described to be stored in the mobile terminal
The image classification with identical network information to same image sets, including:
The image classification with identical network title that will be stored in the mobile terminal is to same image sets.
Optionally, processor 701 performs the image with identical network information that will be stored in the mobile terminal
It is classified to after same image sets, also includes:
The icon of target image group is carried out into vision enhancement to show, wherein, the target image group is added for storage
State the image sets of the image of the network information of network.
The mobile terminal 700 of the embodiment of the present invention, when the image shot by camera of mobile terminal is started, can be by mobile terminal
Network the network information added to camera shoot image in, when user needs to check image, can be deposited according to mobile terminal
The network information of each photo of storage is classified, and so as to avoid user from checking the image of storage one by one, reduces the operation of user, is made
It is mobile terminal simple operation, time saving.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Unit and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be by other
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize embodiment of the present invention scheme
Purpose.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with
Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.