CN105867769B - picture switching method, device and user terminal - Google Patents

picture switching method, device and user terminal Download PDF

Info

Publication number
CN105867769B
CN105867769B CN201610188749.2A CN201610188749A CN105867769B CN 105867769 B CN105867769 B CN 105867769B CN 201610188749 A CN201610188749 A CN 201610188749A CN 105867769 B CN105867769 B CN 105867769B
Authority
CN
China
Prior art keywords
picture
target photo
conversion parameter
source
source picture
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.)
Expired - Fee Related
Application number
CN201610188749.2A
Other languages
Chinese (zh)
Other versions
CN105867769A (en
Inventor
尤洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Alibaba Literature Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Alibaba Literature Information Technology Co Ltd filed Critical Guangzhou Alibaba Literature Information Technology Co Ltd
Priority to CN201610188749.2A priority Critical patent/CN105867769B/en
Publication of CN105867769A publication Critical patent/CN105867769A/en
Application granted granted Critical
Publication of CN105867769B publication Critical patent/CN105867769B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)

Abstract

A kind of picture switching method, device and user terminal are the embodiment of the invention provides, belongs to computer mobile communication technology field.Methods described includes:In response to for currently displaying picture switching command, obtaining the conversion parameter between source picture and the Target Photo and the source picture of picture switching command sensing;According to the source picture and the conversion parameter, the Target Photo is obtained;Current display picture is switched into the Target Photo.This method causes in the handoff procedure of picture only load source picture in internal memory, and without the other pictures of loading, reduces the EMS memory occupation in interior picture handoff procedure.

Description

Picture switching method, device and user terminal
Technical field
The present invention relates to computer mobile communication technology field, in particular to a kind of picture switching method, device with And user terminal.
Background technology
Application software on the market is typically provided with background picture at present.User using during application software, The background picture in application software can be changed according to the hobby of oneself.When Background is changed in the operation of application software response user , it is necessary to first new background picture is loaded into internal memory during piece.It means that when user is frequently carrying out multiple Backgrounds During piece handover operation, application software needs to be loaded into multiple background pictures in internal memory, causes application software performing Background picture internal memory shared during switching is higher.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of picture switching method, device and user terminal, The internal memory shared in background handoff procedure to reduce application software, accelerates processing speed.
In a first aspect, the embodiment of the invention provides a kind of picture switching method, methods described includes:
In response to the picture switching command for current display picture, obtain source picture and the picture switching command refers to To Target Photo and the source picture between conversion parameter;According to the source picture and the conversion parameter, institute is obtained State Target Photo;The current display picture is switched into the Target Photo.
Second aspect, the embodiment of the invention provides a kind of picture switching device, and described device includes:
Data capture unit, in response to the picture switching command for current display picture, obtain source picture and Conversion parameter between the Target Photo and the source picture of the picture switching command sensing;Data processing unit, for root According to the source picture and the conversion parameter, the Target Photo is obtained;Picture display unit, for will be described currently displaying Picture switches to the Target Photo.
The third aspect, the embodiment of the invention provides a kind of user terminal, and the user terminal includes processor and deposits Reservoir, the memory is couple to the processor, the memory store instruction, when the instruction is by the computing device When the user terminal is performed following operation:
In response to the picture switching command for current display picture;Acquisition source picture and the picture switching command refer to To Target Photo and the source picture between conversion parameter;According to the source picture and the conversion parameter, institute is obtained State Target Photo;The current display picture is switched into the Target Photo.
Picture switching method provided in an embodiment of the present invention, device and user terminal, in the handoff procedure of picture, lead to The conversion parameter crossed between acquisition source picture and the Target Photo and the source picture of picture switching command sensing, then root According to the source picture and the conversion parameter, the mode of the Target Photo of display needed for obtaining so that in the switching of picture Source picture can only load in journey in internal memory, and without the other pictures of loading, reduce the internal memory in interior picture handoff procedure Take, accelerate processing speed.
Other features and advantages of the present invention will illustrate in subsequent specification, also, partly become from specification It is clear that or being understood by implementing the embodiment of the present invention.The purpose of the present invention and other advantages can be by saying for being write Specifically noted structure is realized and obtained in bright book, claims and accompanying drawing.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is user terminal provided in an embodiment of the present invention interacts schematic diagram with server;
Fig. 2 is the structured flowchart of user terminal provided in an embodiment of the present invention;
The structured flowchart of the picture switching device that Fig. 3 is provided for first embodiment of the invention;
The picture switching principle schematic diagram that Fig. 4 is provided for first embodiment of the invention;
The structured flowchart of the picture switching device that Fig. 5 is provided for second embodiment of the invention;
The flow chart of the picture switching method that Fig. 6 is provided for third embodiment of the invention;
The flow chart of the picture switching method that Fig. 7 is provided for fourth embodiment of the invention.
Specific embodiment
Picture switching method, device and the user terminal that the embodiment of the present invention is provided can be applied to as shown in Figure 1 In applied environment.As shown in figure 1, user terminal 100, server 200 are located in wireless network or cable network 300, by this Wireless network or cable network 300, user terminal 100 carry out data interaction with server 200.
In the embodiment of the present invention, user terminal 100 be preferably mobile terminal device, for example can include smart mobile phone, Panel computer, E-book reader, pocket computer on knee, vehicle-mounted computer, Wearable user terminal etc..
Fig. 2 shows a kind of structured flowchart of the user terminal 100 that can be applied in the embodiment of the present invention.As shown in Fig. 2 User terminal 100 includes memory 102, storage control 104, one or more (one is only shown in figure) processors 106, outer If interface 108, radio-frequency module 110, audio-frequency module 112, Touch Screen 114 etc..These components are total by one or more communication Line/holding wire 116 is mutually communicated.
Memory 102 can be used for store software program and module, such as the picture switching method in the embodiment of the present invention with And the corresponding programmed instruction/module of device, processor 106 is by running software program and mould of the storage in memory 102 Block, so that various function application and data processing are performed, such as picture switching method provided in an embodiment of the present invention.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.Processor 106 and other possible components are to storage The access of device 102 can be carried out under the control of storage control 104.
Various input/output devices are coupled to processor 106 and memory 102 by Peripheral Interface 108.In some implementations In example, Peripheral Interface 108, processor 106 and storage control 104 can be realized in one single chip.In some other reality In example, they can be realized by independent chip respectively.
Radio-frequency module 110 is used to receive and send electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with Communication network or other equipment are communicated.
Audio-frequency module 112 provides a user with COBBAIF, and it may include one or more microphones, one or more raises Sound device and voicefrequency circuit.
Touch Screen 114 provides an output and inputting interface simultaneously between user terminal 100 and user.Specifically, Touch Screen 114 shows video frequency output to user, and the content of these video frequency outputs may include word, figure, video and its any Combination.
It is appreciated that the structure shown in Fig. 2 be only illustrate, user terminal 100 may also include it is more more than shown in Fig. 2 or Less component, or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can using hardware, software or its Combination is realized.
In the embodiment of the present invention, client is installed in user terminal 100, the client can be that browser can also It is third-party application software, holds corresponding with server (Server), provides the user service, such as e-book reading service, For playing local document or e-book.
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of selected embodiment of the invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
First embodiment
As shown in figure 3, the structured flowchart of the picture switching device 300 provided for first embodiment of the invention, the picture Switching device 300 includes:Data capture unit 310, data processing unit 320, picture display unit 330.
Data capture unit 310 is used in response to the picture switching command for current display picture, obtain source picture with And the conversion parameter between the Target Photo and the source picture of the picture switching command sensing.
Picture switching command can be triggered by user during using user terminal.For example, user is using user When terminal carries out document browsing or carries out e-novel reading, the multiple picture pair to be selected that can be provided according to user terminal The thumbnail answered selects the picture required for oneself, allows user picture switching command is triggered by clicking on thumbnail, To switch the background picture at the currently displayed interface of user terminal, that is, current display picture.In the process, user Selected picture is Target Photo.
Additionally, picture switching command can also be triggered by user terminal according to switching condition set in advance.Can set User terminal triggers picture switching command with the default time cycle.The outside that user terminal is monitored according to it can also be set Condition carries out picture switching.Wherein, external condition can be including light condition, audio conditions etc..User terminal root can be set Picture switching is carried out according to its outside light conditions for monitoring, can be in preferably identifying user terminal shows in order to user Hold.For example, when user terminal monitors that extraneous light intensity exceedes default intensity threshold, picture switching command is triggered, with It is easy to switch to the background picture of current display interface the picture of thin shade, when user terminal monitors that extraneous light intensity is small When default intensity threshold, picture switching command is triggered again, in order to the background picture of current display interface is switched to Dark-toned picture.In the process, user terminal is Target Photo according to the selected picture of switching condition.
When picture switching command is triggered, the response picture switching command of data capture unit 310, picture switching command meeting Carry Target Photo information, that is, the Target Photo pointed by picture switching command information.
As a kind of implementation method, the identification information of Target Photo is carried in picture switching command, the identification information is used In unique identification's Target Photo.When the conversion parameter of source picture and other pictures is preset, can be each by other pictures From identification information it is corresponding with the conversion parameter each with source picture.
Then in picture handoff procedure, data capture unit 310 can first extract the target carried in picture switching command The identification information of picture, then obtain the conversion parameter corresponding with the identification information.
It should be noted that the conversion parameter between the Target Photo and the source picture, can be previously according to described The color value of the pixel of Target Photo sets with the color value of the pixel of the source picture and draws.In one of the invention tool In body implementation method, it is possible to use picture switching software is set previously according to the color value of source picture and the pixel of Target Photo Conversion parameter debugging is obtained.The conversion parameter, the tool of the embodiment of the present invention can also be obtained using other prior art means Body implementation is not limited thereto.Source picture and conversion parameter can be directly stored in user terminal, it is also possible in advance It is stored in service end.Or a part is stored in user terminal, another part is stored in service end.As a kind of implementation method, The data capture unit 310 can simultaneously include local data acquiring unit 311 and Remote data service unit 312, may be used also To only include in local data acquiring unit 311 and Remote data service unit 312.
Local data acquiring unit 311, local source picture and mark with the Target Photo are stored in for obtaining The corresponding conversion parameter of knowledge information, and will be loaded into internal memory from the local source picture for obtaining.Remote data service unit 312, For sending picture resource request instruction to service end, the picture resource request instruction carries the mark of the Target Photo Information;Receive the source picture that the service end returns in response to the picture resource request instruction and with the target figure Conversion parameter corresponding to the identification information of piece, then the source picture that will be received is loaded into internal memory.
Data processing unit 320, for according to the source picture and the conversion parameter, obtaining the Target Photo.
Used as a kind of implementation method, data processing unit 320 can include color value computing unit 321, for according to source Conversion parameter between the color value of the pixel of picture, and Target Photo and source picture obtains the pixel of Target Photo Color value.
In the present embodiment, as shown in figure 4, the conversion parameter can be the color conversion matrix between picture, accordingly , for the ease of calculating, the color value of pixel can also be showed in vector form.For example, Target Photo and source figure Color conversion matrix between piece can be:
Wherein, in the color conversion matrix, the first row represents red component, and the second row represents green component, the third line Blue component is represented, fourth line represents transparency component.Element value wherein in the color conversion matrix is between 0 to 255.
One color value of pixel of source picture can be:
Wherein, R represents red value, and G represents green value, and B represents blue valve, and A represents transparence value.
After above-mentioned color conversion matrix and vector are done into data matrix multiplying, new vector can be obtained:
It is appreciated that R1=a1*R+a2*G+a3*B+a4*A
G1=b1*R+b2*G+b3*B+b4*A
B1=c1*R+c2*G+c3*B+c4*A
A1=d1*R+d2*G+d3*B+d4*A
And the R1 in new vector is then the red value of the pixel in Target Photo, G1 is then the pixel in Target Photo The green value of point, B1 is then the blue valve of the pixel in Target Photo, and A1 is then the transparency of the pixel in Target Photo Value.By similar method, you can be calculated the color value of each pixel in Target Photo.
After the color value of pixel of Target Photo is obtained, then the picture included by data processing unit 320 is drawn Unit 322, the color value of the pixel based on the Target Photo is drawn on the source picture, obtains the target Picture.
Picture display unit 330, for currently displaying picture to be switched into the Target Photo.
It should be noted that in order to avoid unnecessary memory source is consumed, data capture unit 310 can extracted After the identification information of the Target Photo carried in picture switching command, the identification information and the identification information of source picture that will first obtain Compare, if the identification information for obtaining is identical with the identification information of source picture, it is possible to determine that pointed by picture switching command Target Photo be source picture in itself, then currently displaying picture is directly switched into the source picture, then the number The step of correspondence then need not be again performed according to processing unit 320.
It should be noted that each unit in the present embodiment can be by software code realization, now, above-mentioned each unit Can be stored in the memory 102 of user terminal 100.Above each unit equally can be by hardware such as IC chip reality It is existing.
The picture switching device that first embodiment of the invention is provided, in the handoff procedure of picture, by obtaining source picture And the conversion parameter between the Target Photo and the source picture of the picture switching command sensing, further according to the source picture And the conversion parameter, the mode of the Target Photo of display needed for obtaining so that can only add in the handoff procedure of picture Load source picture in internal memory, and without the other pictures of loading, reduce in EMS memory occupation in picture handoff procedure.
Additionally, because only needing to be capable of achieving picture by source picture and conversion parameter is switched, then will be including this reality Apply example offer picture switching device application program carry out packing encapsulation when, can only source picture is packaged in installation package file In, it is not necessary to other to be switched pictures are added, the size of installation package file is effectively reduced.
Second embodiment
As shown in figure 4, the structured flowchart of the picture switching device 400 provided for second embodiment of the invention, the picture Switching device 400 includes:The display of data capture unit 410, Data Comparison unit 420, data processing unit 430 and picture is single Unit 440;
Data capture unit 410, in response to the picture switching command for current display picture, obtain source picture with And the conversion parameter between the Target Photo and the source picture of the picture switching command sensing;
Comparing unit 420, for will enter with the last conversion parameter for obtaining when time conversion parameter of acquisition Row contrast,
Data processing unit 430, for when when the conversion parameter for time obtaining with the last conversion parameter for obtaining not When identical, according to the source picture and the conversion parameter, the Target Photo is obtained.
When the conversion parameter of secondary acquisition is identical with the last conversion parameter for obtaining, then picture switching flow knot Beam.
For example, when conversion parameter is for color conversion matrix, it is necessary to will be when time color conversion matrix of acquisition and last time The element value of the color conversion matrix correspondence position of acquisition is contrasted one by one, when the element value all same of correspondence position, is then judged When the color conversion matrix of secondary acquisition is identical with the last color conversion matrix for obtaining.
Picture display unit 440, for currently displaying picture to be switched into the Target Photo.
It should be noted that each unit in the present embodiment can be by software code realization, now, above-mentioned each unit Can be stored in the memory 102 of user terminal 100.Above each unit equally can be by hardware such as IC chip reality It is existing.
The picture switching device that second embodiment of the invention is provided, not only causes only add in the handoff procedure of picture Load source picture in internal memory, and without the other pictures of loading, reduce in EMS memory occupation in picture handoff procedure, it is also further The data that the carrying out in picture handoff procedure repeat that avoid calculate.
3rd embodiment
As shown in figure 5, a kind of picture switching method that third embodiment of the invention is provided, the method describes user's end The handling process at end, methods described, including:
Step S510:In response to the picture switching command for current display picture, source picture and the picture are obtained Conversion parameter between the Target Photo and the source picture of switching command sensing;It is appreciated that can be by first embodiment In data capture unit 310 perform step S510.
Used as a kind of implementation method, the picture switching command carries the identification information of the Target Photo, then may be used also To obtain source picture and the conversion parameter corresponding with the identification information of the Target Photo by data capture unit 310.
It should be noted that the conversion parameter between the Target Photo and the source picture, previously according to the target The color value of the pixel of picture is calculated with the color value of the pixel of the source picture.Source picture and conversion parameter can To be directly stored in user terminal, it is also possible to be pre-stored within service end, or a part is stored in user terminal, another portion Divide and be stored in service end.
Then during source picture and the conversion parameter corresponding with the identification information of the Target Photo is obtained, can be with Obtained by local data acquiring unit 311 and be pre-stored within local source picture and the identification information with the Target Photo Corresponding conversion parameter.
Picture resource request instruction, the picture money can also be sent to service end by Remote data service unit 312 Source request instruction carries the identification information of the Target Photo;The service is received by teledata receiving unit 313 again Hold the source picture and corresponding with the identification information of the Target Photo returned in response to the picture resource request instruction Conversion parameter.
Step S520:According to the source picture and the conversion parameter, the Target Photo is obtained.
It is appreciated that step S520 can be performed by the data processing unit 320 in the first implementation.
As a kind of implementation method, according to the source picture and the conversion parameter, the Target Photo is obtained During, can be joined according to the color value of the pixel of the source picture and the conversion by color value computing unit 321 Number, obtains the color value of the pixel of the Target Photo;
The color value of the pixel of the Target Photo is based on by picture drawing unit 322 again, on the source picture Drawn, obtained the Target Photo.
Step S530:Currently displaying picture is switched into the Target Photo.
It is appreciated that step S530 can be performed by the data processing unit 330 in the first implementation.
Fourth embodiment
As shown in fig. 6, a kind of picture switching method that fourth embodiment of the invention is provided, the method describes user's end The handling process at end, methods described, including:
Step S610:In response to the picture switching command for current display picture, source picture and the picture are obtained Conversion parameter between the Target Photo and the source picture of switching command sensing;
Step S620:To be contrasted with the last conversion parameter for obtaining when time conversion parameter of acquisition;
When the conversion parameter of secondary acquisition is differed with the last conversion parameter for obtaining, then step is performed S630:According to the source picture and the conversion parameter, the Target Photo is obtained;Otherwise, picture switching flow is terminated.
Step S640:Currently displaying picture is switched into the Target Photo.
It is appreciated that step S610 can be performed by the data capture unit 410 in second embodiment, step S620 can be with Performed by comparing unit 430, step S630 can be performed by data processing unit 420, and step S640 can be shown by picture Show that unit 440 is performed.
In sum, picture switching method provided in an embodiment of the present invention, device and user terminal, in the switching of picture During, by obtaining the conversion between source picture and the Target Photo and the source picture of picture switching command sensing Parameter, further according to the source picture and the conversion parameter, the mode of the Target Photo of display needed for obtaining so that in picture Handoff procedure in can only load source picture in internal memory, and without the other pictures of loading, reduce interior picture handoff procedure In EMS memory occupation, accelerate processing speed.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the method for foregoing description, The specific work process of user terminal embodiment, may be referred to the corresponding process in aforementioned means embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show the device of multiple embodiments of the invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent one the one of module, program segment or code Part a, part for the module, program segment or code is used to realize holding for the logic function for specifying comprising one or more Row instruction.It should also be noted that at some as in the implementation replaced, the function of being marked in square frame can also be being different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of the square frame in individual square frame and block diagram and/or flow chart, can use the function or the special base of action for performing regulation Realized in the system of hardware, or can be realized with the combination of computer instruction with specialized hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Divide, or modules individualism, it is also possible to which two or more modules are integrated to form an independent part.
If the function is to realize in the form of software function module and as independent production marketing or when using, can be with Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual People's computer, server 200, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), deposit at random Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes. It should be noted that herein, such as first and second or the like relational terms are used merely to an entity or behaviour Make with another entity or operation make a distinction, and not necessarily require or imply these entities or operate between exist it is any this Plant actual relation or order.And, term " including ", "comprising" or its any other variant be intended to nonexcludability Include so that process, method, article or equipment including a series of key elements not only include those key elements, but also Including other key elements being not expressly set out, or also include for this process, method, article or equipment it is intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, article or the equipment of element.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, then it is not required in subsequent accompanying drawing It is further defined and is explained.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.

Claims (15)

1. a kind of picture switching method, it is characterised in that methods described includes:
In response to the picture switching command for current display picture, obtain source picture and the picture switching command points to Conversion parameter between Target Photo and the source picture;
According to the source picture and the conversion parameter, the Target Photo is obtained;
The current display picture is switched into the Target Photo;Conversion ginseng between the Target Photo and the source picture Number, is to be set with the color value of the pixel of the source picture previously according to the color value of the pixel of the Target Photo Go out.
2. method according to claim 1, it is characterised in that described according to the source picture and the conversion parameter, Obtain also including before the Target Photo:
To be contrasted with the last conversion parameter for obtaining when time conversion parameter of acquisition;
When the conversion parameter of secondary acquisition is differed with the last conversion parameter for obtaining, then perform described in the basis Source picture and the conversion parameter, obtain the Target Photo.
3. method according to claim 1, it is characterised in that the picture switching command carries the Target Photo Turning between the Target Photo and the source picture of identification information, acquisition source picture and picture switching command sensing Changing parameter includes:
Acquisition source picture and the conversion parameter corresponding with the identification information of the Target Photo.
4. method according to claim 3, it is characterised in that acquisition source picture and the mark with the Target Photo The corresponding conversion parameter of knowledge information includes:
Acquisition is pre-stored within local source picture and the conversion parameter corresponding with the identification information of the Target Photo.
5. method according to claim 3, it is characterised in that acquisition source picture and the mark with the Target Photo The corresponding conversion parameter of knowledge information includes:
Picture resource request instruction is sent to service end, the picture resource request instruction carries the mark of the Target Photo Information;
Receive the source picture that the service end returns in response to the picture resource request instruction and with the target figure Conversion parameter corresponding to the identification information of piece.
6. the method according to claim any one of 1-5, it is characterised in that described according to the source picture and described turn Parameter is changed, obtaining the Target Photo includes:
The color value and the conversion parameter of the pixel according to the source picture, obtain the pixel of the Target Photo Color value;
The color value of the pixel based on the Target Photo, is drawn on the source picture, obtains the Target Photo.
7. the method according to claim any one of 1-5, it is characterised in that the conversion parameter is color conversion matrix.
8. a kind of picture switching device, it is characterised in that described device includes:
Data capture unit, in response to picture switching command, obtaining source picture and described for current display picture Conversion parameter between the Target Photo and the source picture of the sensing of picture switching command;
Data processing unit, for according to the source picture and the conversion parameter, obtaining the Target Photo;
Picture display unit, for the current display picture to be switched into the Target Photo;The Target Photo with it is described Conversion parameter between the picture of source, is the pixel of the color value previously according to the pixel of the Target Photo and the source picture The color value of point sets and draws.
9. device according to claim 8, it is characterised in that described device also includes:
Comparing unit, for will be contrasted with the last conversion parameter for obtaining when time conversion parameter of acquisition;
When the conversion parameter of secondary acquisition is differed with the last conversion parameter for obtaining, then the data processing unit Execution is described according to the source picture and the conversion parameter, obtains the Target Photo.
10. device according to claim 8, it is characterised in that the picture switching command carries the Target Photo Identification information, the data capture unit, specifically for obtaining source picture and identification information pair with the Target Photo The conversion parameter answered.
11. devices according to claim 10, it is characterised in that the data capture unit includes:
Local data acquiring unit, local source picture and identification information pair with the Target Photo are stored in for obtaining The conversion parameter answered.
12. devices according to claim 10, it is characterised in that the data capture unit includes:
Remote data service unit, for sending picture resource request instruction to service end, the picture resource request instruction is taken Identification information with the Target Photo;
Teledata receiving unit, for receiving the source that the service end is returned in response to the picture resource request instruction Picture and the conversion parameter corresponding with the identification information of the Target Photo.
13. device according to claim any one of 8-12, it is characterised in that the data processing unit includes:
Color value computing unit, for the color value and the conversion parameter of the pixel according to the source picture, obtains institute State the color value of the pixel of Target Photo;
Picture drawing unit, for the color value of the pixel based on the Target Photo, is drawn on the source picture, Obtain the Target Photo.
14. device according to claim any one of 8-12, it is characterised in that the conversion parameter is that color changes square Battle array.
15. a kind of user terminals, it is characterised in that the user terminal includes processor and memory, the memory coupling The processor is connected to, the memory store instruction makes the user terminal when executed by the processor Perform following operation:
In response to the picture switching command for current display picture;
Conversion parameter between acquisition source picture and the Target Photo and the source picture of picture switching command sensing;
According to the source picture and the conversion parameter, the Target Photo is obtained;
The current display picture is switched into the Target Photo;Conversion ginseng between the Target Photo and the source picture Number, is to be set with the color value of the pixel of the source picture previously according to the color value of the pixel of the Target Photo Go out.
CN201610188749.2A 2016-03-29 2016-03-29 picture switching method, device and user terminal Expired - Fee Related CN105867769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610188749.2A CN105867769B (en) 2016-03-29 2016-03-29 picture switching method, device and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610188749.2A CN105867769B (en) 2016-03-29 2016-03-29 picture switching method, device and user terminal

Publications (2)

Publication Number Publication Date
CN105867769A CN105867769A (en) 2016-08-17
CN105867769B true CN105867769B (en) 2017-06-16

Family

ID=56626462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610188749.2A Expired - Fee Related CN105867769B (en) 2016-03-29 2016-03-29 picture switching method, device and user terminal

Country Status (1)

Country Link
CN (1) CN105867769B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485657B (en) * 2016-09-19 2020-06-09 天脉聚源(北京)传媒科技有限公司 Picture processing method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146171A (en) * 2006-09-11 2008-03-19 富士施乐株式会社 Color processing apparatus and color processing method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136266A (en) * 2010-01-26 2011-07-27 鸿富锦精密工业(深圳)有限公司 Method for switching display pictures in electronic device
SE534551C2 (en) * 2010-02-15 2011-10-04 Scalado Ab Digital image manipulation including identification of a target area in a target image and seamless replacement of image information from a source image
CN102194441A (en) * 2010-03-10 2011-09-21 鸿富锦精密工业(深圳)有限公司 Method for switching displayed pictures in electronic device
CN102279690A (en) * 2010-06-08 2011-12-14 鸿富锦精密工业(深圳)有限公司 Method for switching displayed pictures in electronic device and electronic device
CN102622391A (en) * 2011-10-18 2012-08-01 北京小米科技有限责任公司 Method for processing small pictures
CN103870102B (en) * 2012-12-13 2017-12-12 腾讯科技(武汉)有限公司 Picture switching method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146171A (en) * 2006-09-11 2008-03-19 富士施乐株式会社 Color processing apparatus and color processing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Iphone之选择图片滤镜功能的实现;不祥;《http://www.2cto.com/kf/201308/233015.html》;20130802;第1页第1行到第7页最后1行 *

Also Published As

Publication number Publication date
CN105867769A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2018205475A1 (en) Spliced display screen configuration method and device, and display screen control card
CN108280119A (en) Page generation method, device and user terminal
CN106462325A (en) Method of controlling display and electronic device for providing the same
CN104820537B (en) A kind of method and device for adjusting display effect of terminal
CN109725948A (en) A kind of configuration method and device of animation resource
CN107424033A (en) A kind of component rendering method, page display method, client, server and storage medium
CN106600521A (en) Image processing method and terminal device
CN109101931A (en) A kind of scene recognition method, scene Recognition device and terminal device
EP3917131A1 (en) Image deformation control method and device and hardware device
CN103365621B (en) Image processing method and device
CN106056530A (en) Method and device for displaying picture content in application
CN110516628A (en) Shelf vacant locations merchandise news acquisition methods, system, equipment and storage medium
CN109635211A (en) Promote the implementation method and server of the page
CN108038894A (en) Animation creation method, device, electronic equipment and computer-readable recording medium
CN108427586A (en) Using push terminal, method and the computer readable storage medium of theme
CN109726481B (en) Auxiliary method and device for robot construction and terminal equipment
CN107613046A (en) Filter pipe-line system, image processing method, device and electronic equipment
CN105867769B (en) picture switching method, device and user terminal
CN205318371U (en) Hardware test equipment towards ampere tall and erect system
CN106293658B (en) Interface component generation method and equipment
CN106445501A (en) Display method of notification bar, and terminal
CN109065001A (en) A kind of down-sampled method, apparatus, terminal device and the medium of image
CN107239212A (en) Segmentation selection view rendering method, device and user terminal
CN112419456A (en) Special effect picture generation method and device
CN111292247A (en) Image processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200526

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 510000 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping radio square B tower 13 floor 03 unit self

Patentee before: GUANGZHOU ALIBABA LITERATURE INFORMATION TECHNOLOGY Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170616