CN109857882A - Image processing method, device and storage medium - Google Patents
Image processing method, device and storage medium Download PDFInfo
- Publication number
- CN109857882A CN109857882A CN201811564844.3A CN201811564844A CN109857882A CN 109857882 A CN109857882 A CN 109857882A CN 201811564844 A CN201811564844 A CN 201811564844A CN 109857882 A CN109857882 A CN 109857882A
- Authority
- CN
- China
- Prior art keywords
- image
- main equipment
- equipment
- cache
- target storage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
This application discloses a kind of image processing method, device and storage mediums, are applied to external equipment, which is connected on main equipment, which includes: to receive main equipment for the picture browsing request that target storage image is sent in local library;The display size supported according to the picture browsing request main equipment;The corresponding cache image of target storage image is generated according to the display size;The cache image is transmitted to the main equipment, for user's browsing, so as to make OTG require adjustment itself to store the attribute information of image automatically according to the display of main equipment from equipment, method is simple, and flexibility is high.
Description
Technical field
This application involves field of communication technology more particularly to a kind of image processing methods, device and storage medium.
Background technique
Currently, the communication between the electronic equipments such as camera, USB flash disk, mobile phone relies primarily on USB technology to realize, such as
First single or multiple electronic equipments are connected on computer based on USB interface, user to computer again by being operable to realize
Data transmission between electronic equipment and computer or between electronic equipment and electronic equipment, this data transfer mode rely on
In computer, once having left computer, each equipment room can not carry out data communication.
For this phenomenon, be born a kind of OTG (On-The-Go) technology in recent years, can be in the feelings of not computer
Under condition, the data communication of equipment room is realized, for example printer and mobile terminal are connect by OTG technical battery, and will be in mobile terminal
Photo print, or by OTG technology connect two mobile terminals, filled by one of mobile terminal to another
Electricity, this data transfer mode need to only determine which is main equipment in two equipment, which is to pass through main equipment from equipment
Data from the device are obtained, are participated in without computer.But the existing data communication realized based on OTG technology, it can only be simply
By data transmission from the device into main equipment, it can not modify to data attribute from the device, for example user is not
The size of picture in USB flash disk can be changed by operation mobile terminal, limitation is bigger.
Summary of the invention
The embodiment of the present application provides a kind of image processing method, device and storage medium, can store from the device figure to OTG
The attribute of picture is modified, and method is simple.
The embodiment of the present application provides a kind of image processing method, is applied to external equipment, and the external equipment is connected
Onto main equipment, described image processing method includes:
Main equipment is received for the picture browsing request that target storage image is sent in local library;
The display size that the main equipment is supported is obtained according to described image browse request;
The corresponding cache image of the target storage image is generated according to the display size;
The cache image is transmitted to the main equipment, for user's browsing.
The embodiment of the present application also provides a kind of image processing apparatus, are applied to external equipment, and the external equipment is connected
It is connected on main equipment, described image processing unit includes:
Receiving module, for receiving main equipment for the picture browsing request that target storage image is sent in local library;
Module is obtained, for obtaining the display size that the main equipment is supported according to described image browse request;
Generation module, for generating the corresponding cache image of the target storage image according to the display size;
Transmission module, for the cache image to be transmitted to the main equipment, for user's browsing.
The embodiment of the present application also provides a kind of computer readable storage medium, a plurality of finger is stored in the storage medium
It enables, described instruction is suitable for being loaded by processor to execute any of the above-described image processing method.
Image processing method, device and storage medium provided by the present application, are applied to external equipment, which is connected
It is connected on main equipment, is requested by receiving the picture browsing that main equipment stores image transmission for target in local library, and according to
The display size that the picture browsing request main equipment is supported generates target storage image according to the display size later
Corresponding cache image, and the cache image is transmitted to the main equipment, for user's browsing, so as to make OTG from equipment from
The dynamic display according to main equipment requires the attribute information of adjustment itself storage image, and method is simple, and flexibility is high.
Detailed description of the invention
With reference to the accompanying drawing, it is described in detail by the specific embodiment to the application, the technical solution of the application will be made
And other beneficial effects are apparent.
Fig. 1 is the flow diagram of image processing method provided by the embodiments of the present application.
Fig. 2 is another flow diagram of image processing method provided by the embodiments of the present application.
Fig. 3 is the structural schematic diagram of image processing apparatus provided by the embodiments of the present application.
Fig. 4 is the structural schematic diagram of authentication module provided by the embodiments of the present application.
Fig. 5 is another structural schematic diagram of image processing apparatus provided by the embodiments of the present application.
Fig. 6 is the structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Fig. 7 is another structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall in the protection scope of this application.
A kind of image processing method is applied to external equipment, which is connected on main equipment, the image procossing
Method includes: to receive main equipment for the picture browsing request that target storage image is sent in local library;According to the picture browsing
The display size that the request main equipment is supported;The corresponding caching figure of target storage image is generated according to the display size
Picture;The cache image is transmitted to the main equipment, for user's browsing.
As shown in Figure 1, Fig. 1 is the flow diagram of image processing method provided by the embodiments of the present application, the image procossing
Method is applied to external equipment, which is connected on main equipment, and detailed process can be such that
S101. main equipment is received for the picture browsing request that target storage image is sent in local library.
In the present embodiment, the main equipment and external equipment are realized by OTG (On-The-Go) technology and are communicated, in general, OTG
Connecting line has main equipment connectivity port and from equipment connectivity port, and the electronic equipment of main equipment connectivity port connection is that master sets
Standby, the electronic equipment connected from equipment connectivity port is the external equipment for main equipment, and user can only be set by master
The standby storing data obtained in external equipment, and the storing data in main equipment cannot be obtained by external equipment, it is connected
Two electronic equipment its principal and subordinate roles can be interchanged, and need to only change corresponding connectivity port.
It, can be to the storage in local library when user enters the local library of external equipment by the operation interface of main equipment
Image is browsed, at this point, user can select the image for needing to browse in operation interface, stores image as target, and
Picture browsing request is sent to external equipment by double-click or other modes.
It should be noted that not having the external equipment of fingerprint capturer or camera for itself, accessed in main equipment
Before external equipment local library, the fingerprint capturer or camera that can be borrowed in main equipment verify user identity, only
Being verified could access, or can set different verification results with different access authority, relative to can only
Password authentification mode, reliability is stronger, at this point, before above-mentioned steps S101, which can also include;
Establish the communication connection between the main equipment;
When communication connection is successfully established, fingerprint authentication request is sent to the main equipment, so that the main equipment opens fingerprint
Collector obtains the finger print information of user, and the finger print information is fed back to the external equipment;
The finger print information that the main equipment is fed back is matched with preset fingerprint;
The main equipment is controlled according to matching result to access to the storage image in local library.
In the present embodiment, which is usually stored in external device in advance, when the preset fingerprint and feedback
Finger print information it is consistent or when error range is smaller, it is believed that successful match, otherwise for it fails to match.When main equipment and external
When being connected between equipment by OTG connecting line, based on the OTG connecting line can communicate to each other, for example set from external
For standby middle copy data to main equipment, or by main equipment to external device charging etc., which can be not limited to computer,
It can also be mobile phone, camera etc..
Further, above-mentioned steps " control the main equipment according to matching result to visit the storage image in local library
Ask " it can specifically include:
When the matching result indicates successful match, allow all storage images in main equipment access local library, it should
It stores image and includes hidden image and non-concealed image;
When it fails to match for matching result instruction, allow the non-concealed image in main equipment access local library.
In the present embodiment, when fingerprint matching is unsuccessful, user can only see external equipment from the operation interface of main equipment
In parts of images (namely non-concealed image), hidden image can't be shown, thus reach forbid user access hide
The purpose of image.When fingerprint matching success, user can see all figures in external equipment from the operation interface of main equipment
Picture.
S102. the display size supported according to the picture browsing request main equipment.
In the present embodiment, it is unsolicited which can be main equipment, is also possible to external equipment and voluntarily detects
's.
S103. the corresponding cache image of target storage image is generated according to the display size.
For example, above-mentioned steps S103 can specifically include:
The original size of target storage image is obtained, and calculates the ratio of the display size and original size;
When the original size is greater than display size, size reduction behaviour is carried out to target storage image according to the ratio
Make, obtains cache image;
When the original size is less than display size, size amplification behaviour is carried out to target storage image according to the ratio
Make, obtains cache image.
In the present embodiment, when needing to carry out downsizing operation, can using the ratio as diminution ratio, when need into
It, can be using the ratio as magnification ratio when row size is enlarged.It should be noted that in the process for generating cache image
In, external equipment directly can carry out the target in size adjusting namely local library to the target storage image in local library and deposit
Storage image can directly replace with the cache image, naturally it is also possible to not have to replacement, for example can generate identical mesh in buffer area
Mark storage image, stores image according to the target of buffer area and generates cache image, thus after generating cache image, it is local
Library can continue to retain original target storage image.
S104. the cache image is transmitted to the main equipment, for user's browsing.
In the present embodiment, cache image can be transmitted to by main equipment by OTG data line, and main equipment is being shown
It no longer needs to carry out size adjusting in the process.
In addition, user in the host can be synchronized to the modification of cache image external after above-mentioned steps S104
In equipment, if original target storage image has been replaced with cache image at this time, it can be synchronized to the cache image, if original target
Storage image is not replaced, then can be synchronized to target storage image namely the image processing method can also include:
Detect whether the main equipment is modified the attribute information of the cache image, which includes rotation angle
Degree;
If so, updating target storage image according to the modified attribute information.
In the present embodiment, when user adjusts cache image in navigation process, for example is rotated by 90 °, the tune
Whole situation can be synchronized on the storage image of the target in external equipment, so that user be avoided to browse the target storage image next time
When, it also needs to be adjusted again.
It can be seen from the above, image processing method provided in this embodiment, is applied to external equipment, which is connected
Onto main equipment, the picture browsing request that image is sent is stored for target in local library by receiving main equipment, and according to this
The display size that the picture browsing request main equipment is supported generates target storage image pair according to the display size later
The cache image answered, and the cache image is transmitted to the main equipment, for user's browsing, so as to keep OTG automatic from equipment
The attribute information of adjustment itself storage image is required according to the display of main equipment, method is simple, and flexibility is high.
In the present embodiment, it will be integrated in external equipment with the image processing apparatus, which is mobile terminal, should
Main equipment and external device are based on being described in detail for OTG technology is communicated.
Fig. 2 is referred to, Fig. 2 is the idiographic flow schematic diagram of image processing method provided by the embodiments of the present application, the image
Processing method the following steps are included:
S201. external equipment establishes the communication connection between the main equipment, and when communication connection is successfully established, to this
Main equipment sends fingerprint authentication request.
S202. main equipment requests to open the finger print information of fingerprint capturer acquisition user according to the fingerprint authentication, and should
Finger print information feeds back to the external equipment.
For example, equipment A and equipment B are attached by OTG data line, and equipment A is connected to main equipment connectivity port, if
Standby B is connected to from equipment connectivity port, then when the communication connection of the two is successfully established, user can pass through the operation of equipment A
Interface enters the memory space of equipment B, at this point, equipment B can send fingerprint authentication request to equipment A, and equipment A receives this and refers to
User fingerprints can be acquired automatically after line checking request, and the finger print information of acquisition is sent to equipment B.
S203. external equipment judges whether the finger print information of main equipment feedback matches with preset fingerprint, if so, allowing
The main equipment accesses all storage images in local library, which includes hidden image and non-concealed image;If it is not,
Then allow the non-concealed image in main equipment access local library.
S204. main equipment stores image for the target in local library and sends picture browsing request to external equipment.
For example, equipment B can judge whether user identity is correct according to the finger print information of return, can be hidden if incorrect
Parts of images is hidden, the thumbnail of residual image can only be shown to equipment A, if correctly, all images can be shown to equipment A
Thumbnail.At this point, user amplifies that browsed needed for can selecting by the thumbnail of display store image as target,
And picture browsing request is sent to equipment B by forms such as double-clicks.
S205. the display size that external equipment is supported according to the picture browsing request main equipment, and obtain the mesh
The original size of mark storage image, calculates the ratio of the display size and original size later.
S206. when the original size be greater than display size when, external equipment according to the ratio to the target store image into
Row downsizing operation, obtains cache image;When the original size is less than display size, external equipment is according to the ratio to this
Target stores image and carries out size amplifying operation, obtains cache image.
For example, equipment B can be with the display size of picture browsing software support in automatic checkout equipment A, and calculates display ruler
Very little and original size ratio as magnification ratio or reduces ratio, to carry out at corresponding zoom to target storage image
Reason.
S207. the cache image is transmitted to the main equipment by external equipment, for user's browsing, and is detected the main equipment and is
The no attribute information to the cache image is modified, which includes rotation angle, if so, executing following step
S208, if it is not, not executing any operation then.
S208. external equipment updates target storage image according to the modified attribute information.
For example, when equipment A receives the cache image of equipment B transmission and displays it to user, user can basis
Itself hobby is adjusted the cache image, and before user closes the cache image, final adjustment result can be transmitted to
Equipment B, so that equipment B synchronizes processing to target storage image.
The method according to described in above-described embodiment, the present embodiment will be retouched from the angle further progress of image processing apparatus
It states, which can be used as independent entity specifically to realize.
Referring to Fig. 3, image processing apparatus provided by the embodiments of the present application has been described in detail in Fig. 3, it is applied to external equipment,
The external equipment is connected on main equipment, and the external equipment and main equipment may include mobile phone, tablet computer, USB flash disk etc..
The image processing apparatus may include: receiving module 10, obtain module 20, generation module 30 and transmission module 40,
Wherein:
(1) receiving module 10
Receiving module 10, for receiving main equipment for the picture browsing request that target storage image is sent in local library.
In the present embodiment, the main equipment and external equipment are realized by OTG (On-The-Go) technology and are communicated, in general, OTG
Connecting line has main equipment connectivity port and from equipment connectivity port, and the electronic equipment of main equipment connectivity port connection is that master sets
Standby, the electronic equipment connected from equipment connectivity port is the external equipment for main equipment, and user can only be set by master
The standby storing data obtained in external equipment, and the storing data in main equipment cannot be obtained by external equipment, it is connected
Two electronic equipment its principal and subordinate roles can be interchanged, and need to only change corresponding connectivity port.
It, can be to the storage in local library when user enters the local library of external equipment by the operation interface of main equipment
Image is browsed, at this point, user can select the image for needing to browse in operation interface, stores image as target, and
Picture browsing request is sent to external equipment by double-click or other modes.
It should be noted that not having the external equipment of fingerprint capturer or camera for itself, accessed in main equipment
Before external equipment local library, the fingerprint capturer or camera that can be borrowed in main equipment verify user identity, only
Being verified could access, or can set different verification results with different access authority, relative to can only
Password authentification mode, reliability is stronger, at this point, referring to Fig. 4 and Fig. 5, which can also include authentication module
50, which specifically includes:
Unit 51 is established, for receiving main equipment for the figure that target storage image is sent in local library in the receiving module
As establishing the communication connection between the main equipment before browse request;
Transmission unit 52, for fingerprint authentication request being sent to the main equipment, so that should when communication connection is successfully established
Main equipment opens fingerprint capturer and obtains the finger print information of user, and the finger print information is fed back to the external equipment;
Matching unit 53, the finger print information for feeding back the main equipment are matched with preset fingerprint;
Control unit 54 accesses to the storage image in local library for controlling the main equipment according to matching result.
In the present embodiment, which is usually stored in external device in advance, when the preset fingerprint and feedback
Finger print information it is consistent or when error range is smaller, it is believed that successful match, otherwise for it fails to match.When main equipment and external
When being connected between equipment by OTG connecting line, based on the OTG connecting line can communicate to each other, for example set from external
For standby middle copy data to main equipment, or by main equipment to external device charging etc., which can be not limited to computer,
It can also be mobile phone, camera etc..
Further, which is specifically used for:
When the matching result indicates successful match, allow all storage images in main equipment access local library, it should
It stores image and includes hidden image and non-concealed image;
When it fails to match for matching result instruction, allow the non-concealed image in main equipment access local library.
In the present embodiment, when fingerprint matching is unsuccessful, user can only see external equipment from the operation interface of main equipment
In parts of images (namely non-concealed image), hidden image can't be shown, thus reach forbid user access hide
The purpose of image.When fingerprint matching success, user can see all figures in external equipment from the operation interface of main equipment
Picture.
(2) module 20 is obtained
Obtain module 20, the display size for supporting according to the picture browsing request main equipment.
In the present embodiment, it is unsolicited which can be main equipment, is also possible to external equipment and voluntarily detects
's.
(3) generation module 30
Generation module 30, for generating the corresponding cache image of target storage image according to the display size.
Further, above-mentioned generation module 30 specifically can be used for:
The original size of target storage image is obtained, and calculates the ratio of the display size and original size;
When the original size is greater than display size, size reduction behaviour is carried out to target storage image according to the ratio
Make, obtains cache image;
When the original size is less than display size, size amplification behaviour is carried out to target storage image according to the ratio
Make, obtains cache image.
In the present embodiment, when needing to carry out downsizing operation, can using the ratio as diminution ratio, when need into
It, can be using the ratio as magnification ratio when row size is enlarged.It should be noted that in the process for generating cache image
In, external equipment directly can carry out the target in size adjusting namely local library to the target storage image in local library and deposit
Storage image can directly replace with the cache image, naturally it is also possible to not have to replacement, for example can generate identical mesh in buffer area
Mark storage image, stores image according to the target of buffer area and generates cache image, thus after generating cache image, it is local
Library can continue to retain original target storage image.
(4) transmission module 40
Transmission module 40, for the cache image to be transmitted to the main equipment, for user's browsing.
In the present embodiment, cache image can be transmitted to by main equipment by OTG data line, and main equipment is being shown
It no longer needs to carry out size adjusting in the process.
In addition, user in the host can to the modification of cache image after cache image to be transmitted to main equipment and is shown
To be synchronized in external equipment, if original target storage image has been replaced with cache image at this time, the caching figure can be synchronized to
Picture can be synchronized to target storage image namely the image processing apparatus also if original target storage image is not replaced
It may include update module 60, be used for:
After the cache image is transmitted to the main equipment by the transmission module 40, whether the main equipment is detected to the caching
The attribute information of image is modified, which includes rotation angle;
If so, updating target storage image according to the modified attribute information.
In the present embodiment, when user adjusts cache image in navigation process, for example is rotated by 90 °, the tune
Whole situation can be synchronized on the storage image of the target in external equipment, so that user be avoided to browse the target storage image next time
When, it also needs to be adjusted again.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
It can be seen from the above, image processing method provided in this embodiment, is applied to external equipment, which is connected
Onto main equipment, the picture browsing that main equipment stores image transmission for target in local library is received by receiving module 10 and is asked
It asks, obtains the display size that module 20 is supported according to the picture browsing request main equipment, later 30 basis of generation module
The display size generates the corresponding cache image of target storage image, which is transmitted to the master and set by transmission module 40
It is standby, for user's browsing, so as to the category for making OTG require adjustment itself to store image automatically according to the display of main equipment from equipment
Property information, method is simple, and flexibility is high.
In addition, the embodiment of the present application also provides a kind of mobile terminal, which can be smart phone, tablet computer
Etc. equipment.As shown in fig. 6, mobile terminal 200 includes processor 201, memory 202.Wherein, processor 201 and memory 202
It is electrically connected.
Processor 201 is the control centre of mobile terminal 200, utilizes various interfaces and the entire mobile terminal of connection
Various pieces by the application program of operation or load store in memory 202, and are called and are stored in memory 202
Data, execute mobile terminal various functions and processing data, thus to mobile terminal carry out integral monitoring.
In the present embodiment, processor 201 in mobile terminal 200 can according to following step, by one or one with
On the corresponding instruction of process of application program be loaded into memory 202, and be stored in memory by processor 201 to run
Application program in 202, to realize various functions:
Main equipment is received for the picture browsing request that target storage image is sent in local library;
The display size supported according to the picture browsing request main equipment;
The corresponding cache image of target storage image is generated according to the display size;
The cache image is transmitted to the main equipment, for user's browsing.
Fig. 7 shows the specific block diagram of mobile terminal provided in an embodiment of the present invention, which can be used for
The image processing method provided in above-described embodiment is provided.The mobile terminal 300 can be smart phone or tablet computer.
RF circuit 310 realizes the mutual conversion of electromagnetic wave and electric signal, thus with logical for receiving and transmitting electromagnetic wave
News network or other equipment are communicated.RF circuit 310 may include various existing for executing the circuit elements of these functions
Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage
Device etc..RF circuit 310 can carry out communicating or by wireless with various networks such as internet, intranet, wireless network
Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).
Various communication standards, agreement and technology, including but not limited to global system for mobile communications can be used in above-mentioned wireless network
(Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data
GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple
Access, WCDMA), Code Division Multiple Access (Code Division Access, CDMA), time division multiple access technology (Time
Division Multiple Access, TDMA), adopting wireless fidelity technology (Wireless Fidelity, Wi-Fi) (such as U.S.'s electricity
Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE
802.11n), the networking telephone (Voice over Internet Protocol, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger
The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet
Agreement.
Memory 320 can be used for storing software program and module, as front camera is taken pictures automatically in above-described embodiment
Corresponding program instruction/the module of light-supplementing system, method, the software program that processor 380 is stored in memory 320 by operation
And module, thereby executing various function application and data processing, i.e. the realization front camera function of taking pictures automatic light-supplementing.
Memory 320 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage fills
It sets, flash memory or other non-volatile solid state memories.In some instances, memory 320 can further comprise relative to place
The remotely located memory of device 380 is managed, these remote memories can pass through network connection to mobile terminal 300.Above-mentioned network
Example include but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 330 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 330 may include touching
Sensitive surfaces 331 and other input equipments 332.Touch sensitive surface 331, also referred to as touch display screen or Trackpad are collected and are used
Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table
Operation on face 331 or near touch sensitive surface 331), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 331 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 380, and can receive processor 380
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 331.In addition to touch sensitive surface 331, input unit 330 can also include other input equipments 332.Specifically,
Other input equipments 332 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 340 can be used for showing information input by user or the information and mobile terminal that are supplied to user
300 various graphical user interface, these graphical user interface can by figure, text, icon, video and any combination thereof Lai
It constitutes.Display unit 340 may include display panel 341, optionally, can using LCD (Liquid Crystal Display,
Liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display
Panel 341.Further, touch sensitive surface 331 can cover display panel 341, when touch sensitive surface 331 detect on it or near
Touch operation after, send processor 380 to determine the type of touch event, be followed by subsequent processing device 380 according to touch event
Type provides corresponding visual output on display panel 341.Although in Fig. 7, touch sensitive surface 331 is with display panel 341
Output and input function as two independent components to realize, but in some embodiments it is possible to by touch sensitive surface 331 with
Display panel 341 is integrated and realizes and outputs and inputs function.
Mobile terminal 300 may also include at least one sensor 350, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis
The light and shade of ambient light adjusts the brightness of display panel 341, proximity sensor can when mobile terminal 300 is moved in one's ear,
Close display panel 341 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions
The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static
Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strikes
Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as mobile terminal 300 etc. other
Sensor, details are not described herein.
Voicefrequency circuit 360, loudspeaker 361, microphone 362 can provide the audio interface between user and mobile terminal 300.
Electric signal after the audio data received conversion can be transferred to loudspeaker 361, be converted by loudspeaker 361 by voicefrequency circuit 360
For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 362, is connect by voicefrequency circuit 360
Audio data is converted to after receipts, then by after the processing of audio data output processor 380, is sent to through RF circuit 310 such as another
One terminal, or audio data is exported to memory 320 to be further processed.Voicefrequency circuit 360 is also possible that earplug
Jack, to provide the communication of peripheral hardware earphone Yu mobile terminal 300.
Mobile terminal 300 can help user send and receive e-mail, is clear by transmission module 370 (such as Wi-Fi module)
Look at webpage and access streaming video etc., it provides wireless broadband internet for user and accesses.Although Fig. 7 shows transmission mould
Block 370, but it is understood that, and it is not belonging to must be configured into for mobile terminal 300, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 380 is the control centre of mobile terminal 300, utilizes each of various interfaces and connection whole mobile phone
Part by running or execute the software program and/or module that are stored in memory 320, and calls and is stored in memory
Data in 320 execute the various functions and processing data of mobile terminal 300, to carry out integral monitoring to mobile phone.It is optional
, processor 380 may include one or more processing cores;In some embodiments, processor 380 can integrate application processor
And modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate
Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor
In 380.
Mobile terminal 300 further includes the power supply 390 (such as battery) powered to all parts, in some embodiments, electricity
Source can be logically contiguous by power-supply management system and processor 380, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.Power supply 190 can also include one or more direct current or AC power source, recharge
The random components such as system, power failure detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, mobile terminal 300 can also include camera (such as front camera, rear camera), bluetooth
Module etc., details are not described herein.Specifically in the present embodiment, the display unit of mobile terminal is touch-screen display, mobile whole
End further includes having memory and one perhaps more than one program one of them or more than one program being stored in and deposits
In reservoir, and it is configured to execute one or more than one program by one or more than one processor to include for carrying out
The instruction operated below:
Main equipment is received for the picture browsing request that target storage image is sent in local library;
The display size supported according to the picture browsing request main equipment;
The corresponding cache image of target storage image is generated according to the display size;
The cache image is transmitted to the main equipment, for user's browsing.
When it is implemented, the above modules can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of the above modules can be found in the embodiment of the method for front, herein not
It repeats again.
It will appreciated by the skilled person that all or part of the steps in the various methods of above-described embodiment can be with
It is completed by instructing, or relevant hardware is controlled by instruction to complete, which can store computer-readable deposits in one
In storage media, and is loaded and executed by processor.For this purpose, the embodiment of the present invention provides a kind of storage medium, wherein storing
There is a plurality of instruction, which can be loaded by processor, to execute at any image provided by the embodiment of the present invention
Step in reason method.
Wherein, which may include: read-only memory (ROM, Read Only Memory), random access memory
Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, can execute at any image provided by the embodiment of the present invention
Step in reason method, it is thereby achieved that achieved by any image processing method provided by the embodiment of the present invention
Beneficial effect is detailed in the embodiment of front, and details are not described herein.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
Although above preferred embodiment is not to limit in conclusion the application is disclosed above with preferred embodiment
The application processed, those skilled in the art are not departing from spirit and scope, can make various changes and profit
Decorations, therefore the protection scope of the application subjects to the scope of the claims.
Claims (10)
1. a kind of image processing method is applied to external equipment, which is characterized in that the external equipment is connected to main equipment
On, described image processing method includes:
Main equipment is received for the picture browsing request that target storage image is sent in local library;
The display size that the main equipment is supported is obtained according to described image browse request;
The corresponding cache image of the target storage image is generated according to the display size;
The cache image is transmitted to the main equipment, for user's browsing.
2. image processing method according to claim 1, which is characterized in that described according to display size generation
Target stores the corresponding cache image of image, comprising:
The original size of the target storage image is obtained, and calculates the ratio of the display size and original size;
When the original size is greater than display size, size reduction behaviour is carried out to target storage image according to the ratio
Make, obtains cache image;
When the original size is less than display size, size amplification behaviour is carried out to target storage image according to the ratio
Make, obtains cache image.
3. image processing method according to claim 1, which is characterized in that receiving main equipment for target in local library
Before the picture browsing request for storing image transmission, further includes:
Establish the communication connection between the main equipment;
When communication connection is successfully established, Xiang Suoshu main equipment sends fingerprint authentication request, so that the main equipment opens fingerprint
Collector obtains the finger print information of user, and the finger print information is fed back to the external equipment;
The finger print information that the main equipment is fed back is matched with preset fingerprint;
The main equipment is controlled according to matching result to access to the storage image in local library.
4. image processing method according to claim 3, which is characterized in that described to be set according to the matching result control master
It is standby to access to the storage image in local library, comprising:
When the matching result indicates successful match, allow all storage images in the main equipment access local library, institute
It states storage image and includes hidden image and non-concealed image;
When it fails to match for matching result instruction, allow the non-concealed image in the main equipment access local library.
5. image processing method according to claim 1, which is characterized in that the cache image is being transmitted to the master
After equipment, further includes:
Detect whether the main equipment is modified the attribute information of the cache image, the attribute information includes rotation
Angle;
If so, updating the target according to the modified attribute information stores image.
6. a kind of image processing apparatus is applied to external equipment, which is characterized in that the external equipment is connected to main equipment
On, described image processing unit includes:
Receiving module, for receiving main equipment for the picture browsing request that target storage image is sent in local library;
Module is obtained, for obtaining the display size that the main equipment is supported according to described image browse request;
Generation module, for generating the corresponding cache image of the target storage image according to the display size;
Transmission module, for the cache image to be transmitted to the main equipment, for user's browsing.
7. image processing apparatus according to claim 6, which is characterized in that the generation module is specifically used for:
The original size of the target storage image is obtained, and calculates the ratio of the display size and original size;
When the original size is greater than display size, size reduction behaviour is carried out to target storage image according to the ratio
Make, obtains cache image;
When the original size is less than display size, size amplification behaviour is carried out to target storage image according to the ratio
Make, obtains cache image.
8. image processing apparatus according to claim 6, which is characterized in that it further include authentication module, the authentication module
It specifically includes:
Unit is established, it is clear for the image that target storage image is sent in local library for receiving main equipment in the receiving module
It lookes at before request, establishes the communication connection between the main equipment;
Transmission unit, for when communication connection is successfully established, Xiang Suoshu main equipment to send fingerprint authentication request, so that the master
Opening of device fingerprint capturer obtains the finger print information of user, and the finger print information is fed back to the external equipment;
Matching unit, the finger print information for feeding back the main equipment are matched with preset fingerprint;
Control unit accesses to the storage image in local library for controlling the main equipment according to matching result.
9. image processing apparatus according to claim 6, which is characterized in that further include update module, be used for:
After the cache image is transmitted to the main equipment by the transmission module, whether the main equipment is detected to described
The attribute information of cache image is modified, and the attribute information includes rotation angle;
If so, updating the target according to the modified attribute information stores image.
10. a kind of computer readable storage medium, which is characterized in that be stored with a plurality of instruction, the finger in the storage medium
It enables being suitable for being loaded by processor and 1 to 5 described in any item image processing methods is required with perform claim.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811564844.3A CN109857882A (en) | 2018-12-20 | 2018-12-20 | Image processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811564844.3A CN109857882A (en) | 2018-12-20 | 2018-12-20 | Image processing method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109857882A true CN109857882A (en) | 2019-06-07 |
Family
ID=66891710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811564844.3A Pending CN109857882A (en) | 2018-12-20 | 2018-12-20 | Image processing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109857882A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990613A (en) * | 2019-12-17 | 2020-04-10 | 神州数码医疗科技股份有限公司 | Image transmission processing method, device, terminal and storage medium |
CN114168242A (en) * | 2021-11-11 | 2022-03-11 | 青岛海信传媒网络技术有限公司 | Display device and display method of content of external device |
WO2023236115A1 (en) * | 2022-06-08 | 2023-12-14 | 北京小米移动软件有限公司 | Image processing method and apparatus, and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724375A (en) * | 2012-06-20 | 2012-10-10 | 唐亮 | Transmission device and method capable of connecting digital camera and intelligent mobile phone and transmitting image file |
CN103699538A (en) * | 2012-09-27 | 2014-04-02 | 汉王科技股份有限公司 | Method and device for file sharing |
CN104036160A (en) * | 2013-03-07 | 2014-09-10 | 腾讯科技(深圳)有限公司 | Web browsing method, device and browser |
CN105988793A (en) * | 2015-02-11 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Image display method and apparatus used for screen display device |
CN108197448A (en) * | 2017-12-26 | 2018-06-22 | 奇酷互联网络科技(深圳)有限公司 | Document display method, device, readable storage medium storing program for executing and terminal |
US10135274B2 (en) * | 2014-02-03 | 2018-11-20 | Samsung Electronics Co., Ltd. | Charging circuit and electronic device having the same |
-
2018
- 2018-12-20 CN CN201811564844.3A patent/CN109857882A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724375A (en) * | 2012-06-20 | 2012-10-10 | 唐亮 | Transmission device and method capable of connecting digital camera and intelligent mobile phone and transmitting image file |
CN103699538A (en) * | 2012-09-27 | 2014-04-02 | 汉王科技股份有限公司 | Method and device for file sharing |
CN104036160A (en) * | 2013-03-07 | 2014-09-10 | 腾讯科技(深圳)有限公司 | Web browsing method, device and browser |
US10135274B2 (en) * | 2014-02-03 | 2018-11-20 | Samsung Electronics Co., Ltd. | Charging circuit and electronic device having the same |
CN105988793A (en) * | 2015-02-11 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Image display method and apparatus used for screen display device |
CN108197448A (en) * | 2017-12-26 | 2018-06-22 | 奇酷互联网络科技(深圳)有限公司 | Document display method, device, readable storage medium storing program for executing and terminal |
Non-Patent Citations (1)
Title |
---|
王战伟: "《计算机组成与维护》", 31 May 2015 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990613A (en) * | 2019-12-17 | 2020-04-10 | 神州数码医疗科技股份有限公司 | Image transmission processing method, device, terminal and storage medium |
CN110990613B (en) * | 2019-12-17 | 2024-02-23 | 神州数码医疗科技股份有限公司 | Image transmission processing method, device, terminal and storage medium |
CN114168242A (en) * | 2021-11-11 | 2022-03-11 | 青岛海信传媒网络技术有限公司 | Display device and display method of content of external device |
CN114168242B (en) * | 2021-11-11 | 2023-04-14 | 青岛海信传媒网络技术有限公司 | Display device and display method of content of external device |
WO2023236115A1 (en) * | 2022-06-08 | 2023-12-14 | 北京小米移动软件有限公司 | Image processing method and apparatus, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11057376B2 (en) | Method, apparatus, and system for controlling intelligent device, and storage medium | |
CN108833607B (en) | Physical address acquisition method, device and readable medium | |
US11227042B2 (en) | Screen unlocking method and apparatus, and storage medium | |
JP6818894B2 (en) | Methods and related products for capturing fingerprints | |
CN106453589B (en) | A kind of synchronous method and device of Backup Data | |
CN106912048A (en) | Access-in point information sharing method and device | |
US20170353525A1 (en) | Method for sharing file and electronic device for the same | |
CN105279186A (en) | Image processing method and system | |
CN104954159A (en) | Network information statistics method and device | |
CN108834132A (en) | A kind of data transmission method and equipment and related media production | |
KR20150122476A (en) | Method and apparatus for controlling gesture sensor | |
CN109857882A (en) | Image processing method, device and storage medium | |
CN109413256B (en) | Contact person information processing method and device, storage medium and electronic equipment | |
CN104573437A (en) | Information authentication method, device and terminal | |
CN104104656A (en) | Account retrieving method and device | |
CN105635553A (en) | Image shooting method and device | |
CN109493821A (en) | Screen brightness regulation method, device and storage medium | |
CN110825465B (en) | Log data processing method and device, electronic equipment and storage medium | |
WO2023072038A1 (en) | Image data processing method and electronic device | |
CN110225106A (en) | A kind of data transmission method, device and storage medium | |
CN114126083B (en) | Cross-network-segment wireless screen projection method and device, electronic equipment and storage medium | |
CN110430573A (en) | A kind of information authentication method, electronic equipment and network side equipment | |
WO2019052287A1 (en) | Facial information preview method and related product | |
CN111147745B (en) | Shooting method, shooting device, electronic equipment and storage medium | |
CN110971692B (en) | Method and device for opening service and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190607 |