CN107256347A - Image cache method, terminal, image cache system and readable storage medium storing program for executing - Google Patents
Image cache method, terminal, image cache system and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN107256347A CN107256347A CN201710644310.0A CN201710644310A CN107256347A CN 107256347 A CN107256347 A CN 107256347A CN 201710644310 A CN201710644310 A CN 201710644310A CN 107256347 A CN107256347 A CN 107256347A
- Authority
- CN
- China
- Prior art keywords
- collection
- color values
- original image
- new picture
- image
- 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
- 238000000034 method Methods 0.000 title claims abstract description 61
- 238000012545 processing Methods 0.000 claims abstract description 41
- 239000000872 buffer Substances 0.000 claims abstract description 31
- 230000004048 modification Effects 0.000 claims abstract description 20
- 238000012986 modification Methods 0.000 claims abstract description 20
- 230000006854 communication Effects 0.000 claims description 22
- 238000004891 communication Methods 0.000 claims description 21
- 239000003086 colorant Substances 0.000 claims description 13
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 238000004321 preservation Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005484 gravity Effects 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000005314 correlation function Methods 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001010 compromised effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000001404 mediated effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a kind of image cache method, terminal, image cache system and readable storage medium storing program for executing, methods described includes:The original image of terminal buffers is obtained, and obtains the first collection of color values of pixel in the original image;According to first collection of color values and presetting rule generation adjustment collection of color values;According to adjustment collection of color values, processing of being modified to the first collection of color values, the first collection of color values after modification is handled is used as the second collection of color values;New picture is generated according to the second collection of color values, and the new picture is replaced into the original image and the new picture is preserved in correspondence CACHE DIRECTORY.The picture file or video that the present invention solves user in the prior art are easily obtained by other people, and then are influenceed the copyright protection of picture or video and easily caused the technical problem of safety risks.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of image cache method, terminal, image cache system and can
Read storage medium.
Background technology
At present, with the development of Internet technology and social network, have daily a large number of users share online or
The information such as picture, video are issued, because the legal consciousness of people constantly strengthens, user is to issuing or sharing to online picture
Copyright protection propose higher requirement, i.e., usual user only wants to other users and browses, appreciates the works of oneself, it is undesirable that
The works of oneself are obtained or changed by others easily.But other people are watching or are sharing what user showed on the net in the prior art
, need to be first by image cache to local, this picture file for easily causing user or video quilt when picture or video work
Other people obtain, and then influence the copyright protection of picture or video and easily cause the technical problem of safety risks.
The content of the invention
It is a primary object of the present invention to provide a kind of image cache method, terminal, system and readable storage medium storing program for executing, it is intended to
The picture file or video for solving user in the prior art are easily obtained by other people, and then influence the copyright of picture or video to protect
Protect and easily cause the technical problem of safety risks.
To achieve the above object, a kind of image cache method that the present invention is provided, the image cache method includes:
The original image of terminal buffers is obtained, and obtains the first collection of color values of pixel in the original image, according to
First collection of color values and presetting rule generation adjustment collection of color values;
According to adjustment collection of color values, processing of being modified to the first collection of color values, the first colour collection after modification is handled
Cooperate as the second collection of color values;
New picture is generated according to the second collection of color values, and the new picture is replaced into the original image and mesh is cached in correspondence
The new picture is preserved in record.
Alternatively, it is described that new picture is generated according to the second collection of color values, and the new picture is replaced into the original image simultaneously
Include after the new picture step is preserved in corresponding to CACHE DIRECTORY:
When detecting displaying original image instruction, the second collection of color values of the new picture is obtained;
Colour lift-off processing is carried out to the second collection of color values according to adjustment collection of color values, to generate the original image and open up
Show.
Alternatively, it is described when detecting the instruction of terminal buffers original image, obtain the of the original image pixel
Include before one collection of color values step:
When detect share original image instruction when, detect whether have in the CACHE DIRECTORY original image or
The corresponding new picture of original image;
When not having in the CACHE DIRECTORY, the original image for obtaining terminal buffers is performed, and obtain the original graph
First collection of color values step of pixel in piece.
Alternatively, it is described that new picture is generated according to the second collection of color values, and the new picture is replaced into the original image simultaneously
Preserving the new picture step in correspondence CACHE DIRECTORY includes:
Second collection of color values is sent to sharing original image and instructs corresponding server, so that the server is according to the
Two collection of color values generate new picture, and the new picture is replaced into the original image and the new figure is preserved in correspondence CACHE DIRECTORY
Piece.
Alternatively, it is described to be included according to first collection of color values and presetting rule generation adjustment collection of color values step:
A colour to be modified is chosen at interval of predetermined number colour successively from the first collection of color values, until traversal first
All colours of collection of color values;
According to colour to be modified generation adjustment collection of color values.
Alternatively, the image cache method also includes:
, will be described if detecting the instruction for showing the original image when detecting terminal buffers and having original image
The original image of caching is shown.
Alternatively, it is described that new picture is generated according to the second collection of color values, by the new picture replace described original image and
Preserving the new picture step in correspondence CACHE DIRECTORY includes:
New picture is generated according to the second collection of color values, the new picture is preserved in correspondence CACHE DIRECTORY, and deletes described
Original image;
The corresponding adjustment collection of color values of the new picture is preserved in the CACHE DIRECTORY for preserving new picture.
In addition, to achieve the above object, the present invention also proposes a kind of terminal, and the terminal includes:Memory, processor,
Communication bus and the image cache program being stored on the memory:
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform the image cache program, to realize following steps:
The original image of terminal buffers is obtained, and obtains the first collection of color values of pixel in the original image, according to
First collection of color values and presetting rule generation adjustment collection of color values;
According to adjustment collection of color values, processing of being modified to the first collection of color values, the first colour collection after modification is handled
Cooperate as the second collection of color values;
New picture is generated according to the second collection of color values, and the new picture is replaced into the original image and mesh is cached in correspondence
The new picture is preserved in record.
In addition, to achieve the above object, the present invention also proposes a kind of image cache system, and the image cache system includes
The corresponding terminal of the image cache method is gone up in server and realization, and the server is obtaining the original image that terminal is sent
When, obtain the first collection of color values of pixel in the original image;Generated according to first collection of color values and presetting rule
Adjust collection of color values;According to adjustment collection of color values, processing of being modified to the first collection of color values, the first color after modification is handled
Value set is used as the second collection of color values;New picture is generated according to the second collection of color values, and the new picture is replaced into the original graph
Piece is preserved.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing storage
There are one or more than one program, one or more than one program can be held by one or more than one processor
Row for:
The original image of terminal buffers is obtained, and obtains the first collection of color values of pixel in the original image, according to
First collection of color values and presetting rule generation adjustment collection of color values;
According to adjustment collection of color values, processing of being modified to the first collection of color values, the first colour collection after modification is handled
Cooperate as the second collection of color values;
New picture is generated according to the second collection of color values, and the new picture is replaced into the original image and mesh is cached in correspondence
The new picture is preserved in record.
Technical solution of the present invention image cache method, by obtaining the original image of terminal buffers, and obtains described original
First collection of color values of pixel in picture, according to first collection of color values and presetting rule generation adjustment collection of color values;Root
According to adjustment collection of color values, processing of being modified to the first collection of color values, the first collection of color values after modification is handled is used as second
Collection of color values;New picture is generated according to the second collection of color values, and the new picture is replaced into the original image and in correspondence caching
The new picture is preserved in catalogue.Due in this programme, when caching original image, being carried out to original image according to presetting rule
Carry out preservation processing, i.e. terminal buffers again after colour change is the new picture rather than original image after change, thus other people
Original image can not be obtained easily, and then efficiently solves the picture file or video of user is easily obtained by other people, and then
The copyright protection of influence picture or video and easily cause the technical problems of safety risks.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention;
Fig. 2 is the wireless telecommunication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of image cache method first embodiment of the present invention;
Fig. 4 is the schematic flow sheet of image cache method image cache of the present invention;
Fig. 5 is the schematic flow sheet of image cache method picture presentation of the present invention;
Fig. 6 is the first schematic diagram of a scenario of image cache method of the present invention;
Fig. 7 is the second schematic diagram of a scenario of image cache method of the present invention;
Fig. 8 is the device structure schematic diagram for the hardware running environment that present invention method is related to.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed
Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved
Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
Modem 104 is used for the network access parameters that receiving terminal processor 110 is sent.
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can
By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with
For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy
The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated terminal upper strata processor and modulatedemodulate
Processor is adjusted, wherein, terminal upper strata processor mainly handles operating system, user interface and application program etc., and modulatedemodulate is mediated
Reason device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110
In.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers
Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration, communication apparatus structure, each embodiment of image cache method of the present invention is proposed.
Reference picture 3, the present invention provides a kind of image cache method, in image cache method first embodiment, the picture
Caching method includes:
Step S10, obtains the original image of terminal buffers, and obtains the first colour collection of pixel in the original image
Close, according to first collection of color values and presetting rule generation adjustment collection of color values;
At present, when user browsing pictures, viewing video, or in QQ on the internet, wechat sends picture to good friend, regarded
Frequency and when circle of friends shares picture, video, terminal all can in advance by corresponding picture or video cache in local side, with
Illustrated exemplified by picture, when user browses by touch operation instruction or shares picture, terminal first checks that local side is
No preservation needs to be browsed or original image to be shared, and is not influence user if local side does not preserve the original image
Browse or share experience, terminal can automatically generate caching original image instruction, terminal according to the caching original image instruct from
Server is downloaded correspondence original image to local side, or terminal and sent caching original image instruction is automatically generated to service
Device, the original image is checked to realize in time.
When terminal detects caching original image instruction, if terminal is instructed from server download pair according to the caching picture
Answer original image to local side, then terminal realizes the colour for obtaining each pixel in original image in local side, and correspondence is protected
In the presence of in the first collection of color values, wherein, correspondence preservation is each pixel pair in the original image in the first collection of color values
The colour of the pixel is preserved at the position answered, according to first collection of color values and presetting rule generation adjustment collection of color values.
Wherein, presetting rule is not limited, i.e., the presetting rule can be customized.
Illustrated to specific embodiment, the adjustment collection of color values of generation can be identical with the first collection of color values,
It is that presetting rule is to replicate first collection of color values, as shown in fig. 7, in addition, being given birth to according to presetting rule and the first collection of color values
Also include into adjustment collection of color values:The corresponding colour of some fixed pixel points of original image in the first collection of color values is chosen to be combined into
To adjust collection of color values, as can be 10 pixels of starting of collection original image and 10 pixels of most end of original image
Colour, carries out colour and is combined into adjustment collection of color values B, as shown in fig. 6, wherein, adjustment collection of color values B colours number and colour
Respective coordinates position is set can be identical with the first collection of color values, simply except 10 colours of starting are with addition to 10 colours of most end, adjusting
The whole other colour colours of collection of color values B are 0 or empty, when being modified using B adjustment collection of color values to picture, and modification is
Picture originates 10 pixels of most end corresponding colour in the first collection of color values of 10 pixels and picture, in addition, according to pre-
Putting rule and the first collection of color values generation adjustment collection of color values also includes:Obtain original image middle preset in the first collection of color values
In the range of colour and the preset range in coordinate position of the colour in the first collection of color values, by the colour in the preset range
Adjustment collection of color values C is combined into, when changing the first collection of color values using C adjustment collection of color values, modification is the first colour
The corresponding colour of colour in set in the range of original image middle preset is, it is necessary to which explanation, collection of color values is adjusted in generation
Afterwards, the modification set D with the first collection of color values formed objects can be generated according to adjustment collection of color values, wherein, color in modification set D
Being worth that number and colour respective coordinates position set can be identical with the first collection of color values, be in addition to the colour in preset range,
It is 0 or vacancy reason to adjust the other colour colours of collection of color values D.In addition, also obtaining the original image the superiors in the first collection of color values
And undermost colour, to form adjustment colour to combine.
In this application, when terminal handle, which automatically generates caching original image instruction, is sent to server, server is obtained
First collection of color values of the original image pixel, and according to first collection of color values and presetting rule generation adjustment colour
Set, wherein, presetting rule is stored in server, wherein, server generates with the first collection of color values according to presetting rule and waits to adjust
Whole colour generates collection of color values mode to be adjusted with above-mentioned terminal can be identical, after collection of color values to be adjusted is generated, this is waited to adjust
Whole collection of color values is stored in server.
Step S20, according to adjustment collection of color values, processing of being modified to the first collection of color values, the after modification is handled
One collection of color values is used as the second collection of color values;
According to adjustment collection of color values, the collection of color values of terminal-pair first is modified processing, especially, and terminal is according to adjusting color
Value set merges processing to the first collection of color values, wherein, merge the available following specific implementation of detailed process of processing
Example illustrate, when the first collection of color values and the second color knit point set it is identical when, then to original graph in the first collection of color values
The colour of each pixel of piece carries out doubling processing, will double the first collection of color values after processing as the second collection of color values,
In addition, when adjustment collection of color values originates 10 pixels and 10 pixels of most end in original image in the first collection of color values
When colour is constituted, when being modified according to the adjustment collection of color values to first collection of color values, modification is that original image rises
Begin 10 pixels of 10 pixels and most end corresponding colour in the first collection of color values, and when modifying, obtains adjustment
Non-zero or non-NULL colour coordinate in collection of color values, and searched and the non-zero or non-NULL colour relative coordinate in the first collection of color values
Position identical colour, merges correspondence adjustment colour in the first collection of color values to the relative coordinate position identical colour
Colour processing, as shown in the figure.
In addition, according to adjustment collection of color values, processing of being modified to the first collection of color values, the first color after modification is handled
Value set may also be as the second collection of color values to be carried out in server, wherein, the first collection of color values is modified in server
The mode of processing with it is above-mentioned the collection of color values of terminal-pair first modify processing mode it is identical.
Step S30, generates new picture, and the new picture is replaced into the original image and right according to the second collection of color values
Answer and the new picture is preserved in CACHE DIRECTORY.
Wherein, new picture is generated according to the second collection of color values, the new picture is replaced into the original image and slow in correspondence
Deposit and the new picture step is preserved in catalogue include:
New picture is generated according to the second collection of color values, the new picture is preserved in correspondence CACHE DIRECTORY, and deletes described
Original image;
The corresponding adjustment collection of color values of the new picture is preserved in the CACHE DIRECTORY for preserving new picture.
New picture is generated according to the second collection of color values, wherein, generate new picture and can be in terminal or enter in the server
OK, illustrated to specific embodiment, when sharing picture in wechat circle of friends, if the generation of new picture is in server
It is middle to carry out, new picture is replaced into original image in the server, and new picture is sent to terminal, so that terminal is cached in correspondence
The new picture is preserved in catalogue, if the generation of new picture is to carry out in the terminal, server the second collection of color values can be sent to
Terminal, so that terminal generates new picture according to second collection of color values and is stored under terminal predetermined directory, in addition, terminal generation is new
Picture simultaneously can be also sent the new picture to server after being stored under terminal predetermined directory.
In addition to picture, terminal or server can also carry out video cache processing to video, because video is by different
Picture is constituted, thus video cache process step is regarded as by adding to different image cache process steps in video
Close, thus caching process mode is carried out to video and can be when detecting the instruction of terminal buffers original video, obtain described original
First collection of color values of video image vegetarian refreshments, according to first collection of color values and presetting rule generation adjustment collection of color values;According to
Collection of color values is adjusted, processing of being modified to the first collection of color values, the first collection of color values after modification is handled is used as the second color
Value set;New video is generated according to the second collection of color values, and the new video is replaced into the original video and mesh is cached in correspondence
The new video is preserved in record, total caching schematic flow sheet is as shown in Figure 4.
Technical solution of the present invention image cache method, by obtaining the original image of terminal buffers, and obtains described original
First collection of color values of pixel in picture, according to first collection of color values and presetting rule generation adjustment collection of color values;Root
According to adjustment collection of color values, processing of being modified to the first collection of color values, the first collection of color values after modification is handled is used as second
Collection of color values;New picture is generated according to the second collection of color values, and the new picture is replaced into the original image and in correspondence caching
The new picture is preserved in catalogue.Due in this programme, when caching original image, being carried out to original image according to presetting rule
Carry out preservation processing, i.e. terminal buffers again after colour change is the new picture rather than original image after change, thus other people
Original image can not be obtained easily, and then efficiently solves the picture file or video of user is easily obtained by other people, and then
The copyright protection of influence picture or video and easily cause the technical problems of safety risks.
Further, there is provided the of image cache method on the basis of image cache method first embodiment of the present invention
In two embodiments, in a second embodiment, as shown in figure 5, described generate new picture according to the second collection of color values, and by the new figure
Piece is replaced the original image and included after the new picture step is preserved in corresponding to CACHE DIRECTORY:
When detecting displaying original image instruction, the second collection of color values of the new picture is obtained;
Colour lift-off processing is carried out to the second collection of color values according to adjustment collection of color values, to generate the original image and open up
Show.
When user shows that original image is instructed by touching the mode such as picture triggering terminal, it is original that terminal is based on the displaying
Picture instruction obtains the new picture in correspondence CACHE DIRECTORY, obtains the second collection of color values of the new picture, according to adjustment colour
Set carries out colour lift-off processing using inverse process to the second collection of color values, wherein, adjustment collection of color values, which can be, to be pre-stored in
In terminal buffers catalogue or terminal is generated according to presetting rule, the second collection of color values entered according to adjustment collection of color values
Row colour lift-off processing process can be the non-zero or non-NULL colour coordinate obtained in adjustment collection of color values, and in the first collection of color values
Middle lookup and the non-zero or non-NULL colour relative coordinate position identical colour, to relative coordinate position in the first collection of color values
Put identical colour to carry out peeling off colour processing, to generate the original image and show.Meanwhile, show the original when detecting
When beginning picture is instructed, but server obtains the second collection of color values of the new picture, and server is according to adjustment collection of color values pair
Second collection of color values carries out colour lift-off processing, to generate the original image and show.
In the present embodiment, by when detecting the displaying original image and instructing, obtaining the second of the new picture
Collection of color values;Colour lift-off processing is carried out to the second collection of color values according to adjustment collection of color values, to generate the original image simultaneously
Displaying.Due to that when detecting displaying original image instruction, original image can be generated according to the new picture of caching and be opened up
Show to user, thus user can realize and browse, appreciate original image.
Further, there is provided the of image cache method on the basis of image cache method first embodiment of the present invention
In three embodiments, in the third embodiment, image cache method also includes:
, will be described if detecting the instruction for showing the original image when detecting terminal buffers and having original image
The original image of caching is shown.
Wherein, it is described when detecting the instruction of terminal buffers original image, obtain the first of the original image pixel
Include before collection of color values step:
When detect share original image instruction when, detect whether have in the CACHE DIRECTORY original image or
The corresponding new picture of original image;
When not having in the CACHE DIRECTORY, the original image for obtaining terminal buffers is performed, and obtain the original graph
First collection of color values step of pixel in piece.
When terminal or server buffer have original image, if detecting the instruction for showing the original image, directly adjust
It is shown with original image, if when terminal detects and shares original image instruction, if terminal or server are uncached
There is original image and uncached when having new picture, then it is former with the caching according to generation in terminal generation caching original image instruction
Beginning picture is instructed, and carries out image cache.
In the present embodiment, by when detecting terminal buffers and having original image, if detecting the displaying original graph
The original image of the caching, then be shown by the instruction of piece.When detect share original image instruction when, detect described slow
Deposit in catalogue and whether have the original image or the corresponding new picture of original image;When not having in the CACHE DIRECTORY
When, generate the caching original image instruction.It thus efficiently avoid repetition caching picture or do not cache picture in time
Phenomenon, and then improve Consumer's Experience.
Further, there is provided the of image cache method on the basis of image cache method 3rd embodiment of the present invention
It is in the fourth embodiment, described that new picture is generated according to the second collection of color values in four embodiments, and the new picture is replaced described
Original image simultaneously preserves the new picture step and included in correspondence CACHE DIRECTORY:
Second collection of color values is sent to sharing original image and instructs corresponding server, so that the server is according to the
Two collection of color values generate new picture, and the new picture is replaced into the original image and the new figure is preserved in correspondence CACHE DIRECTORY
Piece.
In the present embodiment, if terminal is when circle of friends shares original image, but by the second collection of color values send to point
Enjoy original image and instruct corresponding server, new picture is generated according to the second collection of color values in server, and the new picture is delayed
Deposit, meanwhile, the server can send the new picture to terminal, so that terminal carries out preservation processing.
In the present embodiment, corresponding server is instructed by the way that the second collection of color values is sent to sharing original image, for
The server generates new picture according to the second collection of color values, and the new picture is replaced into the original image and in correspondence caching
The new picture is preserved in catalogue.Thus in terminal overload, can be prevented effectively from user browse share picture speed it is slow
Phenomenon, improve Consumer's Experience.
Further, there is provided the of image cache method on the basis of image cache method first embodiment of the present invention
It is described that collection of color values is adjusted according to first collection of color values and presetting rule generation in the 5th embodiment in five embodiments
Step includes:
A colour to be modified is chosen at interval of predetermined number colour successively from the first collection of color values, until traversal first
All colours of collection of color values;
According to colour to be modified generation adjustment collection of color values.
In the present embodiment, colour to be modified is chosen at interval of predetermined number colour from the first collection of color values, and obtained
Position and colour of the colour to be modified in the first collection of color values, and position according to the colour to be modified and colour and pre-
Rule generation adjustment collection of color values is put, is illustrated to specific embodiment, if at interval of 8 colours in the first collection of color values
Colour to be modified is chosen, then it is 1/9 of colour number number in the first collection of color values to adjust the colour number in collection of color values;According to
Colour in the secondary collection of color values using adjustment changes corresponding colour to be modified in the first collection of color values set, i.e., every 8 colours,
Take the colour in an adjustment collection of color values to modify the colour in the first collection of color values, generate new collection of color values and turn
It is melted into corresponding picture.
In the present embodiment, by be modified at interval of predetermined number colour selection one successively from the first collection of color values
Colour, until traversal all colours of the first collection of color values;According to colour to be modified generation adjustment collection of color values.Thus can be effective
Change original image in ground, it is to avoid original image is acquired to cause user's copyright to be compromised, lift Consumer's Experience.
As shown in figure 8, Fig. 8 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
Terminal of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, E-book reader, MP3
(Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3)
Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound
Frequency aspect 3) player, pocket computer etc. have the packaged type terminal device of display function.
As shown in figure 8, the terminal can include:Processor 110, such as CPU, memory 109, communication bus 1002.Its
In, communication bus 1002 is used to realize the connection communication between processor 110 and memory 109.Memory 109 can be at a high speed
RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory 109
The optional storage device that can also be independently of aforementioned processor 110.
Alternatively, the terminal can also include camera, RF (Radio Frequency, radio frequency) unit 101, sensor
105th, voicefrequency circuit, WiFi module 102 etc..Wherein, sensor 105 such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ring
The light and shade of environmental light adjusts the brightness of display screen, and proximity transducer can close display screen when mobile terminal is moved in one's ear
And/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles) and add
The size of speed, can detect that size and the direction of gravity when static, the application available for identification mobile terminal posture is (such as horizontal
Portrait layout switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, move
Dynamic terminal can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, no longer go to live in the household of one's in-laws on getting married herein
State.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 8 not structure paired terminal, can be wrapped
Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 8, leading to as operating system, network can be included in a kind of memory 109 of computer-readable storage medium
Believe module and image cache program.Operating system is the program of management and control terminal hardware and software resource, supports picture
The operation of caching program and other softwares and/or program.Network communication module be used to realizing each component in the inside of memory 109 it
Between communication, and with being communicated in terminal between other hardware and softwares.
In the terminal shown in Fig. 8, image cache program can be applied to server, and processor 110 is used to perform memory
The image cache program stored in 109, realizes following steps:
The original image of terminal buffers is obtained, and obtains the first collection of color values of pixel in the original image, according to
First collection of color values and presetting rule generation adjustment collection of color values;
According to adjustment collection of color values, processing of being modified to the first collection of color values, the first colour collection after modification is handled
Cooperate as the second collection of color values;
New picture is generated according to the second collection of color values, and the new picture is replaced into the original image and mesh is cached in correspondence
The new picture is preserved in record.
Further, it is described that new picture is generated according to the second collection of color values, and the new picture is replaced into the original image
And include after the new picture step is preserved in corresponding to CACHE DIRECTORY:
When detecting displaying original image instruction, the second collection of color values of the new picture is obtained;
Colour lift-off processing is carried out to the second collection of color values according to adjustment collection of color values, to generate the original image and open up
Show.
Further, it is described when detecting the instruction of terminal buffers original image, obtain the original image pixel
Include before first collection of color values step:
When detect share original image instruction when, detect whether have in the CACHE DIRECTORY original image or
The corresponding new picture of original image;
When not having in the CACHE DIRECTORY, the original image for obtaining terminal buffers is performed, and obtain the original graph
First collection of color values step of pixel in piece.
Further, it is described that new picture is generated according to the second collection of color values, and the new picture is replaced into the original image
And preserve the new picture step in correspondence CACHE DIRECTORY and include:
Second collection of color values is sent to sharing original image and instructs corresponding server, so that the server is according to the
Two collection of color values generate new picture, and the new picture is replaced into the original image and the new figure is preserved in correspondence CACHE DIRECTORY
Piece.
Further, it is described to be included according to first collection of color values and presetting rule generation adjustment collection of color values step:
A colour to be modified is chosen at interval of predetermined number colour successively from the first collection of color values, until traversal first
All colours of collection of color values;
According to colour to be modified generation adjustment collection of color values.
Further, the image cache method also includes:
, will be described if detecting the instruction for showing the original image when detecting terminal buffers and having original image
The original image of caching is shown.
Further, it is described that new picture is generated according to the second collection of color values, the new picture is replaced into the original image simultaneously
Preserving the new picture step in correspondence CACHE DIRECTORY includes:
New picture is generated according to the second collection of color values, the new picture is preserved in correspondence CACHE DIRECTORY, and deletes described
Original image;
The corresponding adjustment collection of color values of the new picture is preserved in the CACHE DIRECTORY for preserving new picture.
Terminal embodiment of the present invention and above-mentioned each embodiment of image cache method are essentially identical, no longer go to live in the household of one's in-laws on getting married herein
State.
The present invention also proposes a kind of image cache system, and the image cache system includes server and realizes above-mentioned institute
The corresponding terminal of image cache method is stated, the server obtains the original graph when obtaining the original image that terminal is sent
First collection of color values of pixel in piece;According to first collection of color values and presetting rule generation adjustment collection of color values;According to
Collection of color values is adjusted, processing of being modified to the first collection of color values, the first collection of color values after modification is handled is used as the second color
Value set;New picture is generated according to the second collection of color values, and the new picture is replaced into the original image and is preserved.
The invention provides a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing is stored with one or more than one journey
Sequence, one or more than one program can also by one or more than one computing device for:
The original image of terminal buffers is obtained, and obtains the first collection of color values of pixel in the original image, according to
First collection of color values and presetting rule generation adjustment collection of color values;
According to adjustment collection of color values, processing of being modified to the first collection of color values, the first colour collection after modification is handled
Cooperate as the second collection of color values;
New picture is generated according to the second collection of color values, and the new picture is replaced into the original image and mesh is cached in correspondence
The new picture is preserved in record.
Further, it is described that new picture is generated according to the second collection of color values, and the new picture is replaced into the original image
And include after the new picture step is preserved in corresponding to CACHE DIRECTORY:
When detecting displaying original image instruction, the second collection of color values of the new picture is obtained;
Colour lift-off processing is carried out to the second collection of color values according to adjustment collection of color values, to generate the original image and open up
Show.
Further, it is described when detecting the instruction of terminal buffers original image, obtain the original image pixel
Include before first collection of color values step:
When detect share original image instruction when, detect whether have in the CACHE DIRECTORY original image or
The corresponding new picture of original image;
When not having in the CACHE DIRECTORY, the original image for obtaining terminal buffers is performed, and obtain the original graph
First collection of color values step of pixel in piece.
Further, it is described that new picture is generated according to the second collection of color values, and the new picture is replaced into the original image
And preserve the new picture step in correspondence CACHE DIRECTORY and include:
Second collection of color values is sent to sharing original image and instructs corresponding server, so that the server is according to the
Two collection of color values generate new picture, and the new picture is replaced into the original image and the new figure is preserved in correspondence CACHE DIRECTORY
Piece.
Further, it is described to be included according to first collection of color values and presetting rule generation adjustment collection of color values step:
A colour to be modified is chosen at interval of predetermined number colour successively from the first collection of color values, until traversal first
All colours of collection of color values;
According to colour to be modified generation adjustment collection of color values.
Further, the image cache method also includes:
, will be described if detecting the instruction for showing the original image when detecting terminal buffers and having original image
The original image of caching is shown.
Further, it is described that new picture is generated according to the second collection of color values, the new picture is replaced into the original image simultaneously
Preserving the new picture step in correspondence CACHE DIRECTORY includes:
New picture is generated according to the second collection of color values, the new picture is preserved in correspondence CACHE DIRECTORY, and deletes described
Original image;
The corresponding adjustment collection of color values of the new picture is preserved in the CACHE DIRECTORY for preserving new picture.
Readable storage medium storing program for executing embodiment of the present invention and above-mentioned each embodiment of image cache method are essentially identical, herein
Repeat no more.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of image cache method, it is characterised in that the image cache method includes:
Obtain the original image of terminal buffers, and obtain the first collection of color values of pixel in the original image, according to this
One collection of color values and presetting rule generation adjustment collection of color values;
According to adjustment collection of color values, processing of being modified to the first collection of color values, the first collection of color values after modification is handled is made
For the second collection of color values;
New picture is generated according to the second collection of color values, and the new picture is replaced into the original image and in correspondence CACHE DIRECTORY
Preserve the new picture.
2. image cache method as claimed in claim 1, it is characterised in that described according to the new figure of the second collection of color values generation
Piece, and the new picture is replaced into described original image and included after the new picture step is preserved in corresponding to CACHE DIRECTORY:
When detecting displaying original image instruction, the second collection of color values of the new picture is obtained;
Colour lift-off processing is carried out to the second collection of color values according to adjustment collection of color values, to generate the original image and show.
3. image cache method as claimed in claim 1, it is characterised in that described to refer to when detecting terminal buffers original image
When making, include before the first collection of color values step for obtaining the original image pixel:
When detect share original image instruction when, detect in the CACHE DIRECTORY whether have the original image or original
The corresponding new picture of picture;
When not having in the CACHE DIRECTORY, the original image for obtaining terminal buffers is performed, and obtain in the original image
First collection of color values step of pixel.
4. image cache method as claimed in claim 3, it is characterised in that described according to the new figure of the second collection of color values generation
Piece, and the new picture is replaced described original image and preserves the new picture step in correspondence CACHE DIRECTORY include:
Second collection of color values is sent to the corresponding server of original image instruction is shared, so that the server is according to the second color
Value set generates new picture, and the new picture is replaced into the original image and the new picture is preserved in correspondence CACHE DIRECTORY.
5. image cache method as claimed in claim 1, it is characterised in that described according to first collection of color values and preset
Rule generation adjustment collection of color values step includes:
A colour to be modified is chosen at interval of predetermined number colour successively from the first collection of color values, until the first colour of traversal
Gather all colours;
According to colour to be modified generation adjustment collection of color values.
6. image cache method as claimed in claim 1, it is characterised in that the image cache method also includes:
When detecting terminal buffers and having original image, if detecting the instruction for showing the original image, by the caching
Original image be shown.
7. image cache method as claimed in claim 1, it is characterised in that described according to the new figure of the second collection of color values generation
Piece, replacing the original image and preserve the new picture step in correspondence CACHE DIRECTORY the new picture includes:
New picture is generated according to the second collection of color values, the new picture preserved in correspondence CACHE DIRECTORY, and delete described original
Picture;
The corresponding adjustment collection of color values of the new picture is preserved in the CACHE DIRECTORY for preserving new picture.
8. a kind of terminal, it is characterised in that the terminal includes:Memory, processor, communication bus and it is stored in described deposit
Image cache program on reservoir:
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform the image cache program, to realize the picture as any one of claim 1-7
The step of caching method.
9. a kind of image cache system, it is characterised in that the image cache system includes server and realizes that right such as will
Terminal described in 8 is sought, the server obtains pixel in the original image when obtaining the original image that terminal is sent
First collection of color values;According to first collection of color values and presetting rule generation adjustment collection of color values;According to adjustment collection of color values,
First collection of color values is modified processing, the first collection of color values after modification is handled is used as the second collection of color values;According to
Two collection of color values generate new picture, and new picture replacement original image is preserved.
10. a kind of readable storage medium storing program for executing, it is characterised in that be stored with image cache program on the readable storage medium storing program for executing, described
The step of image cache method as any one of claim 1-7 is realized when image cache program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710644310.0A CN107256347A (en) | 2017-07-31 | 2017-07-31 | Image cache method, terminal, image cache system and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710644310.0A CN107256347A (en) | 2017-07-31 | 2017-07-31 | Image cache method, terminal, image cache system and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107256347A true CN107256347A (en) | 2017-10-17 |
Family
ID=60025350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710644310.0A Pending CN107256347A (en) | 2017-07-31 | 2017-07-31 | Image cache method, terminal, image cache system and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107256347A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271596A (en) * | 2018-08-15 | 2019-01-25 | 深圳点猫科技有限公司 | A kind of data cached method and electronic equipment based on education cloud platform |
CN111355997A (en) * | 2018-12-21 | 2020-06-30 | 北京字节跳动网络技术有限公司 | Video file generation method and device, mobile terminal and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105046166A (en) * | 2015-08-19 | 2015-11-11 | Tcl移动通信科技(宁波)有限公司 | Image safe sharing implementing method and system |
CN106453056A (en) * | 2016-10-28 | 2017-02-22 | 努比亚技术有限公司 | Mobile terminal and method for safely sharing picture |
CN106993198A (en) * | 2017-04-20 | 2017-07-28 | 努比亚技术有限公司 | Image ciphering method, terminal and computer-readable recording medium |
-
2017
- 2017-07-31 CN CN201710644310.0A patent/CN107256347A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105046166A (en) * | 2015-08-19 | 2015-11-11 | Tcl移动通信科技(宁波)有限公司 | Image safe sharing implementing method and system |
CN106453056A (en) * | 2016-10-28 | 2017-02-22 | 努比亚技术有限公司 | Mobile terminal and method for safely sharing picture |
CN106993198A (en) * | 2017-04-20 | 2017-07-28 | 努比亚技术有限公司 | Image ciphering method, terminal and computer-readable recording medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271596A (en) * | 2018-08-15 | 2019-01-25 | 深圳点猫科技有限公司 | A kind of data cached method and electronic equipment based on education cloud platform |
CN111355997A (en) * | 2018-12-21 | 2020-06-30 | 北京字节跳动网络技术有限公司 | Video file generation method and device, mobile terminal and storage medium |
CN111355997B (en) * | 2018-12-21 | 2021-01-29 | 北京字节跳动网络技术有限公司 | Video file generation method and device, mobile terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107508892A (en) | A kind of page access method, server and computer-readable recording medium | |
CN107193889A (en) | Ad blocking method, terminal and computer-readable recording medium | |
CN107770369A (en) | Control method, device and the computer-readable recording medium of mobile terminal | |
CN107517321A (en) | Terminal pattern switching method, mobile terminal and computer-readable recording medium | |
CN107832163A (en) | A kind of buffering updating method, server and computer-readable recording medium | |
CN106953989A (en) | Incoming call reminding method and device, terminal, computer-readable recording medium | |
CN107463324A (en) | A kind of image display method, mobile terminal and computer-readable recording medium | |
CN107786749A (en) | A kind of information processing method, terminal and computer-readable recording medium | |
CN107678625A (en) | Information Sharing menu display method, mobile terminal and computer-readable recording medium | |
CN107181865A (en) | Processing method, terminal and the computer-readable recording medium of unread short messages | |
CN107589887A (en) | One kind applies startup method and terminal | |
CN107506163A (en) | Adjust method, terminal and the computer-readable recording medium of screen display | |
CN107705247A (en) | A kind of method of adjustment of image saturation, terminal and storage medium | |
CN108008806A (en) | A kind of data processing method, terminal and computer-readable recording medium | |
CN107390856A (en) | A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption | |
CN107124466A (en) | One kind prevents caching penetrating method and device, computer-readable recording medium | |
CN107229410A (en) | Interactive operation method, mobile terminal and computer-readable recording medium | |
CN107133151A (en) | A kind of daily record data processing method, equipment and computer-readable recording medium | |
CN107423065A (en) | Method, mobile terminal and the computer-readable recording medium that a kind of application is attended to anything else | |
CN107368241A (en) | A kind of information processing method, equipment and computer-readable recording medium | |
CN107450796A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium | |
CN107239218A (en) | Control method, mobile terminal and the computer-readable recording medium of mobile terminal | |
CN107220049A (en) | Notifier processes method, mobile terminal and computer-readable recording medium in a kind of informing | |
CN109445945A (en) | Memory allocation method, mobile terminal, server and the storage medium of application program | |
CN107256347A (en) | Image cache method, terminal, image cache system and readable storage medium storing program for executing |
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: 20171017 |