CN106708508B - A kind of interface data processing method and device - Google Patents

A kind of interface data processing method and device Download PDF

Info

Publication number
CN106708508B
CN106708508B CN201611050807.1A CN201611050807A CN106708508B CN 106708508 B CN106708508 B CN 106708508B CN 201611050807 A CN201611050807 A CN 201611050807A CN 106708508 B CN106708508 B CN 106708508B
Authority
CN
China
Prior art keywords
image data
interface
background
contact surface
target area
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.)
Active
Application number
CN201611050807.1A
Other languages
Chinese (zh)
Other versions
CN106708508A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201611050807.1A priority Critical patent/CN106708508B/en
Publication of CN106708508A publication Critical patent/CN106708508A/en
Application granted granted Critical
Publication of CN106708508B publication Critical patent/CN106708508B/en
Active 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the invention discloses a kind of interface data processing method and devices, wherein method includes: to obtain background setting request and pre-set image data, first object region is selected in the display interface of pre-set image data according to background setting request, and the image data in first object region is shown in the background layer at the first interface of client, and set the image data in first object region to the background image at the first interface;It is the second contact surface of client by the first changing interface, the second target area is selected in the display interface of pre-set image data further according to background setting request, and the image data in the second target area is shown in the background layer of second contact surface, and set the image data in the second target area to the background image of second contact surface.Using the present invention, the operating efficiency for the customized replacement of wallpaper that the redundant operation in the presence of the customized replacement process of wallpaper of multiple solutions can be removed, and improve multiple solutions.

Description

A kind of interface data processing method and device
Technical field
The present invention relates to field of computer technology more particularly to a kind of interface data processing method and devices.
Background technique
With the appearance of miscellaneous application program, more and more users can take notice of the showing interface of these application programs Effect, therefore, current application program can provide user's function of customized wallpaper, it can determine application by user oneself The bandwagon effect of the background image of program.For example, user clicks the wallpaper defined interface for opening application program, and at local end The picture that user is liked is obtained in end, and the back of application program is set as with the picture that will acquire in wallpaper defined interface Scape image, to realize the customized replacement of wallpaper.But (such as Ge great circle when application program can switch there are two types of display interface Face and a small interface), in the case where a kind of wherein interface, wallpaper can only be carried out to the interface by wallpaper defined interface Customized replacement;To carry out the customized replacement of wallpaper to another interface, then need to reopen and answer after switching interface With the wallpaper defined interface of program, and picture is reacquired, the customized replacement of wallpaper could be carried out to the interface after switching, by This as it can be seen that the customized replacement process of the wallpaper of current multiple solutions there are many redundant operations, reduce the wallpapers of multiple solutions from Define the operating efficiency of replacement.
Summary of the invention
The embodiment of the present invention provides a kind of interface data processing method and device, the wallpaper that can remove multiple solutions are made by oneself Redundant operation in the presence of adopted replacement process, and the operating efficiency for the customized replacement of wallpaper for improving multiple solutions.
The embodiment of the invention provides a kind of interface data processing methods, comprising:
Background setting request and pre-set image data are obtained, according to background setting request in the pre-set image number According to display interface in select first object region, and show the first object in the background layer at the first interface of client Image data in region, and set the image data in the first object region to the Background at first interface Picture;
When detecting clicking operation instruction in switching click on area associated with first interface, according to described First changing interface is the second contact surface of the client by clicking operation instruction;
The second target area is selected in the display interface of the pre-set image data according to background setting request, and Show the image data in second target area in the background layer of the second contact surface, and by second target area In image data be set as the background image of the second contact surface.
Correspondingly, the embodiment of the invention also provides a kind of interface data processing devices, comprising:
First setup module is asked for obtaining background setting request and pre-set image data according to background setting Ask the selection first object region in the display interface of the pre-set image data, and the background layer at the first interface of client Image data in the middle display first object region, and set described for the image data in the first object region The background image at the first interface;
Switching module detects that clicking operation refers in switching click on area associated with first interface for working as When enabling, the second contact surface by first changing interface for the client is instructed according to the clicking operation;
Second setup module, for being selected in the display interface of the pre-set image data according to background setting request The second target area is selected, and shows the image data in second target area in the background layer of the second contact surface, and Set the image data in second target area to the background image of the second contact surface.
The embodiment of the present invention can be arranged according to background and request by obtaining background setting request and pre-set image data First object region is selected in the display interface of pre-set image data, and is shown in the background layer at the first interface of client Image data in first object region, and set the image data in first object region to the Background at the first interface Picture;When detecting clicking operation instruction in switching click on area associated with the first interface, instructed according to clicking operation It is the second contact surface of client by the first changing interface, thus further according to background setting request in the aobvious of pre-set image data Show and select the second target area in interface, and shows the image data in the second target area in the background layer of second contact surface, And set the image data in the second target area to the background image of second contact surface.It can be seen that customized more in wallpaper During changing, can arbitrarily switch the different interfaces of client, and be respectively the different background image of corresponding interface setting, i.e., without It need to repeat and open the wallpaper defined interface of application program, obtain these redundant operations of picture, so as to improve more boundaries The operating efficiency of the customized replacement of the wallpaper in face.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of interface data processing method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another interface data processing method provided in an embodiment of the present invention;
Fig. 2 a is the customized interface schematic diagram of a kind of wallpaper provided in an embodiment of the present invention;
Fig. 2 b is the customized interface schematic diagram of another wallpaper provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of interface data processing device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of first setup module provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of first transparent setting unit provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of second setup module provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another interface data processing device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It referring to Figure 1, is a kind of flow diagram of interface data processing method provided in an embodiment of the present invention, the side Method may include:
S101 obtains background setting request and pre-set image data, according to background setting request described default First object region is selected in the display interface of image data, and shows in the background layer at the first interface of client described the Image data in one target area, and set the image data in the first object region to the back at first interface Scape image;
Specifically, user can click when user's replacement customized with respect to the client of certain application program progress wallpaper The customized setting button of wallpaper in the client, and then the client can be set according to user is customized to the wallpaper The clicking operation for setting key obtains background setting request, and the client can also further obtain pre-set image data, described Pre-set image data can be the image data in database entrained by the client, alternatively, the pre-set image data Can be the client local image data in the user terminal.Further, the client can be according to described Background setting request shows the display interfaces of the pre-set image data in the main desktop of locating user terminal, and by the visitor First interface at family end is set to the upper layer of the display interface of the pre-set image data, and to the background layer at first interface Carry out transparent setting.The client is analyzed further according to saliency detection algorithm and is obtained in the pre-set image data First saliency region.Due to the size phase at the first interface of the size and client in the first object region Together, therefore, the size in the first object region is fixed, when the first image salient region is greater than first mesh When marking region, the client can select and the size at first interface in the display interface of the pre-set image data The region in the first saliency region that is identical and including part, using as first object region, the first object region First saliency region of middle part can for based on complete first saliency region further analyze come Saliency region.When the first image salient region is less than the first object region, the client can be with It is selected in the display interface of the pre-set image data identical as the size at first interface and includes complete first figure As the region of salient region, using as first object region.
It, can be by the first Interface Moving of the client to first mesh after determining the first object region Region is marked, since the background layer at the first interface of the client is transparence display, it is possible to the back at first interface The image data in the first object region is shown in background layer.When the client detect it is corresponding with first interface When setting confirmation instruction, the client can confirm instruction by first mesh according to setting corresponding with first interface Image data in mark region is set as the background image at the first interface of the client.
S102, when detecting clicking operation instruction in switching click on area associated with first interface, root The second contact surface by first changing interface for the client is instructed according to the clicking operation;
Specifically, if the size at the first interface of the client is greater than the size of the second contact surface of the client, i.e., The second contact surface of the client can be the scaled down version at the first interface of the client, at this point, the of the client Switching click on area identical with the size of the second contact surface can be shown in one interface, the switching click on area Transparency (or gray scale) can be different from transparency (or the gray scale) of non-switching click on area in first interface, with from view It is distinguished in feel.When user carries out clicking operation in the switching click on area, the client can be cut described It changes in click on area and detects that clicking operation instructs, at this point, can be instructed according to the clicking operation will be described for the client First changing interface is the second contact surface of the client, and simultaneously by the non-switching click on area in first interface It is set as new switching click on area, in order to which first boundary can be switched back into again by clicking new switching click on area Face.
If the size at the first interface of the client is less than the size of the second contact surface of the client, i.e., the described client First interface at end can be the scaled down version of the second contact surface of the client, and the left and right sides at first interface can be shown The switching click on area, the switching click on area is plus the size of the obtained overall area in the first interface and described the The size of second interface is identical.The transparency (or gray scale) of the switching click on area can be with the first interface of the client Transparency (or gray scale) is different, visually to distinguish.When user carries out clicking operation in the switching click on area When, the client can detect that clicking operation instructs in the switching click on area, at this point, the client can root The second contact surface by first changing interface for the client is instructed according to the clicking operation, and simultaneously by the client The first interface where region be set as new switching click on area, in order to can be with by clicking new switching click on area Again first interface is switched back into.
S103 selects the second target area in the display interface of the pre-set image data according to background setting request Domain, and show in the background layer of the second contact surface image data in second target area, and by second mesh Image data in mark region is set as the background image of the second contact surface;
Specifically, the client can be requested further according to background setting by the second contact surface of the client It is set to the upper layer of the display interface of the pre-set image data, and the background layer of the second contact surface of the client is carried out saturating Bright setting.
If the size at first interface is greater than the size of the second contact surface, the client can be obtained further The second saliency region in image data in the first object region, and selected in the first object region The second target area comprising the second complete or partial saliency region.Selection includes complete or the second partial image Selection includes complete or the first partial saliency in the method and S101 step of second target area of salient region The method in the first object region in region is identical, is not discussed here.
If the size at first interface is less than the size of the second contact surface, the client can be described default Selection comprising complete or the first partial saliency region and includes the first object in the display interface of image data Second target area in region;I.e. described second target area includes two parts, and one of part is the first object Region, another part are complete or the first partial saliency region.The first complete or partial image of selection is significant Property region as selection in the method and S101 step of a portion of second target area comprising complete or partial The method in the first object region in the first saliency region is identical, is not discussed here.Optionally, if user thinks pair The image data in second target area is further adjusted, then user can be to the display interface of the pre-set image data Drag operation is carried out, so that the touch screen of user terminal generates the first operational order, therefore, the visitor according to the drag operation Family end can receive the first operational order of the display interface to the pre-set image data, and according to first operational order The display interface of the pre-set image data is moved and/or scaled, to obtain updated pre-set image data;And institute The position that the second target area is stated relative to the main desktop is constant always, therefore, can be based on updated pre-set image number According to the image data updated in second target area.After determining the image data in second target area, institute The second contact surface of the client can be moved to second target area by stating client, due to the back of the second contact surface Background layer is transparence display, it is possible to the image in second target area is shown in the background layer of the second contact surface Data;When the client detects setting confirmation instruction corresponding with the second contact surface, the client can basis The image data in second target area is set the client by setting confirmation instruction corresponding with the second contact surface The background image of the second contact surface at end.
The embodiment of the present invention can be arranged according to background and request by obtaining background setting request and pre-set image data First object region is selected in the display interface of pre-set image data, and is shown in the background layer at the first interface of client Image data in first object region, and set the image data in first object region to the Background at the first interface Picture;When detecting clicking operation instruction in switching click on area associated with the first interface, instructed according to clicking operation It is the second contact surface of client by the first changing interface, thus further according to background setting request in the aobvious of pre-set image data Show and select the second target area in interface, and shows the image data in the second target area in the background layer of second contact surface, And set the image data in the second target area to the background image of second contact surface.It can be seen that customized more in wallpaper During changing, can arbitrarily switch the different interfaces of client, and be respectively the different background image of corresponding interface setting, i.e., without It need to repeat and open the wallpaper defined interface of application program, obtain these redundant operations of picture, so as to improve more boundaries The operating efficiency of the customized replacement of the wallpaper in face.
Fig. 2 is referred to, is the flow diagram of another interface data processing method provided in an embodiment of the present invention, it is described Method may include:
S201 obtains background setting request and pre-set image data, and is requested according to background setting by client The first interface be set to the pre-set image data display interface upper layer, and to the background layer at first interface carry out Transparent setting;
Specifically, user can click when user's replacement customized with respect to the client of certain application program progress wallpaper The customized setting button of wallpaper in the client, and then the client can be set according to user is customized to the wallpaper The clicking operation for setting key obtains background setting request, and the client can also further obtain pre-set image data, described Pre-set image data can be the image data in database entrained by the client, alternatively, the pre-set image data Can be the client local image data in the user terminal.Further, the client can detecte described Whether the size of pre-set image data is greater than or equal to the size at the first interface of the client, if be detected as it is no, again Obtain new pre-set image data;It is that request can be arranged according to the background and be used where the client if being detected as The display interface of the pre-set image data is shown in the main desktop of family terminal, and the first interface of the client is set to The upper layer of the display interface of the pre-set image data, and transparent set is carried out to the background layer at the first interface of the client It sets.By comparing the size at the first interface of the size and client of the pre-set image data, it is ensured that in wallpaper The size of pre-set image data described in customized replacement process is consistently greater than the size at first interface, so as to avoid Because needing to amplify the problems such as pre-set image data are covered with granular sensation, sawtooth, bad resolution brought by first interface.
S202 obtains the first saliency in the pre-set image data according to saliency Region detection algorithms Region, and selection includes the first complete or partial saliency region in the display interface of the pre-set image data First object region;
Specifically, the client can be analyzed according to saliency detection algorithm and obtain the pre-set image data In the first saliency region.Due to the size at the first interface of the size and client in the first object region It is identical, therefore, the size in the first object region be it is fixed, when the first image salient region be greater than described first When target area, the client can select and the ruler at first interface in the display interface of the pre-set image data The region in the first saliency region that is very little identical and including part, using as first object region, the first object area In domain the first saliency region of part can for based on complete first saliency region further analyze come Saliency region.When the first image salient region is less than the first object region, the client can To be selected in the display interface of the pre-set image data identical as the size at first interface and include complete first The region in saliency region, using as first object region.
Optionally, after selecting the first object region according to described image salient region detection algorithm, if with Want that then user can show the pre-set image data to the image data further adjusted in the first object region in family Show that interface carries out drag operation (drag operation herein may include position drag operation and scaling drag operation), so that user The touch screen of terminal generates the first operational order according to the drag operation, and therefore, the client can receive to described pre- If the first operational order of the display interface of image data, and according to first operational order to the pre-set image data Display interface is moved and/or is scaled, to obtain updated pre-set image data;And the first object region relative to The position of the main desktop of user terminal is constant always where the client, therefore, can be based on updated pre-set image number According to the image data updated in the first object region.
S203, by first Interface Moving into the first object region, and the background layer at first interface Image data in the middle display first object region;
Specifically, after determining the first object region, it can be by the first Interface Moving of the client to institute First object region is stated, since the background layer at the first interface of the client is transparence display, it is possible to described first The image data in the first object region is shown in the background layer at interface.
S204, it is corresponding according to first interface when detecting that the corresponding setting confirmation in first interface instructs The background image that confirmation instruction sets the image data in the first object region at first interface is set;
Specifically, can also show that tool bar, the background setting is arranged in a column background around first interface It include " preservation " key, " replacement picture " key etc. in tool bar, when the user clicks when described " preservation " key, the client End can detecte the corresponding setting confirmation instruction in first interface, and then can be according to the corresponding setting in first interface Confirmation instruction sets the image data in the first object region to the background image at first interface.
S205, when detecting clicking operation instruction in switching click on area associated with first interface, root The second contact surface by first changing interface for the client is instructed according to the clicking operation;
Wherein, the specific implementation of S205 step may refer to the S102 in above-mentioned Fig. 1 corresponding embodiment, here no longer It is repeated.
The second contact surface is set to display circle of the pre-set image data according to background setting request by S206 The upper layer in face, and transparent setting is carried out to the background layer of the second contact surface;
Specifically, by first changing interface be the second contact surface after, the client also can detecte described Whether the size of pre-set image data is greater than or equal to the size of the second contact surface of the client, if be detected as it is no, again Obtain new pre-set image data;It is if being detected as, further according to background setting request by the of the client Second interface is set to the upper layer of the display interface of the pre-set image data, and the background layer of the second contact surface to the client Carry out transparent setting.Likewise, the ruler of the second contact surface by comparing the size and client of the pre-set image data It is very little, it is ensured that the size of the pre-set image data described in the customized replacement process of wallpaper is consistently greater than the second contact surface Size, so as to avoid being covered with granular sensation brought by the second contact surface, sawtooth, solution because needing to amplify pre-set image data The problems such as analysis degree is bad.
S207, if the size at first interface is greater than the size of the second contact surface, according to described image conspicuousness Region detection algorithms obtain the second saliency region in the first object region, and in the first object region Second target area of the selection comprising the second complete or partial saliency region;
Specifically, if the size at first interface is greater than the size of the second contact surface, after S206 step, institute The second saliency region in image data in the first object region can further be obtained by stating client, and Second target area of the selection comprising the second complete or partial saliency region in the first object region.Selection packet Selection is comprising complete in the method and S101 step of the second target area containing the second complete or partial saliency region Or the method in the first object region in the first partial saliency region is identical, is not discussed here.
Optionally, after selecting second target area according to described image salient region detection algorithm, if with Want that then user can show the pre-set image data to the image data further adjusted in second target area in family Show that interface carries out drag operation (drag operation herein may include position drag operation and scaling drag operation), so that user The touch screen of terminal generates the first operational order according to the drag operation, and therefore, the client can receive to described pre- If the first operational order of the display interface of image data, and according to first operational order to the pre-set image data Display interface is moved and/or is scaled, to obtain updated pre-set image data;And second target area relative to The position of the main desktop of user terminal locating for the client is constant always, therefore, can be based on updated pre-set image number According to the image data updated in second target area.Alternatively, user can also drag second target area Operation, so that the touch screen generates the second operational order according to the drag operation, therefore, the client be can receive pair Second operational order of second target area, and second target area is controlled in institute according to second operational order It states and is moved in first object region, to update the image data in second target area.
S208, if the size at first interface is less than the size of the second contact surface, in the pre-set image data Display interface in selection comprising complete or the first partial saliency region and include the of the first object region Two target areas;
Specifically, if the size at first interface is less than the size of the second contact surface, after S206 step, institute Stating client can select in the display interface of the pre-set image data comprising complete or the first partial saliency Region and include the first object region the second target area;I.e. described second target area includes two parts, wherein One part is the first object region, another part is complete or the first partial saliency region.It has selected The method and S101 step of a portion of the first whole or partial saliency region as second target area The method in middle first object region of the selection comprising the first complete or partial saliency region is identical, no longer carries out here It repeats.
Optionally, if user wants that, to the image data further adjusted in second target area, user can be right The display interface of the pre-set image data carries out drag operation, so that the touch screen of user terminal is raw according to the drag operation At the first operational order, therefore, the client can receive the first operation to the display interface of the pre-set image data Instruction, and moved and/or scaled according to display interface of first operational order to the pre-set image data, with To updated pre-set image data;And second target area is constant always relative to the position of the main desktop, therefore, The image data in second target area can be updated based on updated pre-set image data.
The second contact surface is moved to second target area by S209, and in the background layer of the second contact surface Show the image data in second target area;
Specifically, after determining the image data in second target area in S207 or S208 step, the visitor The second contact surface of the client can be moved to second target area by family end, due to the background layer of the second contact surface It is transparence display, and the size of the second contact surface is identical as the size of second target area, it is possible to described The image data in second target area is shown in the background layer of second contact surface.
S210, it is corresponding according to the second contact surface when detecting that the corresponding setting confirmation of the second contact surface instructs The background image that confirmation instruction sets the image data in second target area to the second contact surface is set;
Specifically, can also show that (background herein is set column background setting tool bar around the second contact surface The background setting tool bar set in tool bar and above-mentioned S204 step can be the same tool bar), tool is arranged in the background It include " preservation " key, " replacement picture " key etc. in item, when the user clicks when described " preservation " key, the client can To detect the second contact surface corresponding setting confirmation instruction, so the client can according to the second contact surface pair The setting confirmation instruction answered sets the image data in second target area to the back of the second contact surface of the client Scape image.
It is a kind of customized interface signal of wallpaper provided in an embodiment of the present invention please also refer to Fig. 2 a and Fig. 2 b Figure.As shown in Figure 2 a and 2 b, the client is a kind of computer house keeper, clicks the wallpaper in the client in user and makes by oneself After adopted key, the first interface 200 such as the client in Fig. 2 a and background can be shown in the main desktop of user terminal Tool bar 400 is set, after user clicks and obtains pre-set image data 100, can show pre-set image in the main desktop Data 100, as shown in Figure 2 a, first interface 200 may be displayed on the upper layer of the pre-set image data 100;Root simultaneously It can be selected in first interface 200 and first interface 200 according to described image salient region detection algorithm Size is identical and includes the first object region in saliency region, and first interface 200 can be automatically moved to described (as shown in Figure 2 a, first interface 200 is moved to the center-right of the pre-set image data 100 in first object region Position), since the background layer at first interface 200 is transparent setting, so the background layer at first interface 200 can be with Image data in the locating first object region of display.In fig. 2 a, mouse pointer is moved to as user described pre- If can show the small frame A of square in Fig. 2 a when the upper right corner of image data 100, rectangular small frame A and drag when the user clicks When mouse is mobile, the client can control the pre-set image data 100 and zoom in and out, so as to adjust described first Shown image data in the background layer at interface 200;Alternatively, in fig. 2 a, when user mouse pointer is moved to it is described pre- If can show "+" type icon B shown in Fig. 2 a when region in image data 100 other than first interface 200, When the user clicks "+" type icon B and drag mouse it is mobile when, the client can control the pre-set image data 100 into Row moves, shown image data in the background layer so as to adjust first interface 200.Background is set when the user clicks When setting " preservation " key in tool bar 400, first object that first interface 200 can be presently in by the client Image data in region is set as the background image at first interface 200.
Wherein, the dotted line frame in Fig. 2 a is the switching click on area 300 in first interface, described when the user clicks to cut When changing any position in click on area 300, first interface 200 can be switched to as shown in Figure 2 b by the client Second contact surface 500, likewise, after being switched to the second contact surface 500, it can be further according to described image salient region Detection algorithm selected in the first object region locating for first interface 200 it is identical as 500 size of second contact surface and The second target area comprising saliency region, and the second contact surface 500 is automatically moved into second target area Domain (middle position that the second target area at second contact surface 500 as shown in Figure 2 b is the first object region), Since the background layer of the second contact surface 500 is also transparent setting, so can be shown in the background layer of the second contact surface 500 Show the image data in second target area, and the non-switching click on area in first interface 200 in Fig. 2 a is then Switching click on area 600 new shown in Fig. 2 b (two sides for being respectively at the second contact surface 500) are converted to, when user's point When hitting any position in new switching click on area 600, the client can switch back into the second contact surface 500 again First interface 200.The detailed directions and function of the small frame A and "+" type icon B of square in Fig. 2 b may refer in Fig. 2 a just Rectangular small frame A and "+" type icon B, is not discussed here.When mouse pointer is moved to the second contact surface 500 by user Region in when, the "+" type icon C in Fig. 2 b can be shown at mouse pointer, "+" type icon C and is dragged when the user clicks When mouse is mobile, the client can control the second contact surface 500 first object area locating for first interface 200 (the i.e. described second contact surface 500 can be moved to the arbitrary region in new switching click on area 600) is moved left and right in domain, Shown image data in background layer so as to adjust the second contact surface 200.Tool is arranged in background when the user clicks When " preservation " key in item 400, in the second target area that the second contact surface 500 can be presently in by the client Image data be set as the background image of the second contact surface 500.
The embodiment of the present invention can be arranged according to background and request by obtaining background setting request and pre-set image data First object region is selected in the display interface of pre-set image data, and is shown in the background layer at the first interface of client Image data in first object region, and set the image data in first object region to the Background at the first interface Picture;When detecting clicking operation instruction in switching click on area associated with the first interface, instructed according to clicking operation It is the second contact surface of client by the first changing interface, thus further according to background setting request in the aobvious of pre-set image data Show and select the second target area in interface, and shows the image data in the second target area in the background layer of second contact surface, And set the image data in the second target area to the background image of second contact surface.It can be seen that customized more in wallpaper During changing, can arbitrarily switch the different interfaces of client, and be respectively the different background image of corresponding interface setting, i.e., without It need to repeat and open the wallpaper defined interface of application program, obtain these redundant operations of picture, so as to improve more boundaries The operating efficiency of the customized replacement of the wallpaper in face.
The embodiment of the present invention can be user in the pre-set image data by saliency Region detection algorithms The image-region that Automatic-searching user may like respectively as the first interface and second contact surface background image, thus further Improve the operating efficiency of user.Moreover, tentatively showing the first interface and second according to saliency Region detection algorithms It, can be further by mobile and/or scaling pre-set image data, at the first interface and the second boundary after the background image at interface The updated background image of display in the indication range in face, so as to distinguish in the indication range of the pre-set image data The wallpaper for carrying out selectivity to the first interface and second contact surface is customized, so as to improve perception of the user to customized wallpaper Degree.
Fig. 3 is referred to, is a kind of structural schematic diagram of interface data processing device provided in an embodiment of the present invention.Such as Fig. 3 Shown, the interface data processing device 1 may include: the first setup module 10, switching module 20, the second setup module 30;
First setup module 10, for obtaining background setting request and pre-set image data, according to the background Request is set and selects first object region in the display interface of the pre-set image data, and at the first interface of client The image data in the first object region is shown in background layer, and the image data in the first object region is arranged For the background image at first interface;
The switching module 20 detects click in switching click on area associated with first interface for working as When operational order, the second contact surface by first changing interface for the client is instructed according to the clicking operation;
Second setup module 30, for requesting display circle in the pre-set image data according to background setting The second target area is selected in face, and the picture number in second target area is shown in the background layer of the second contact surface According to, and set the image data in second target area to the background image of the second contact surface.
Wherein, the specific function of first setup module 10, the switching module 20 and second setup module 30 The mode of being able to achieve may refer to the S101-S103 step in above-mentioned Fig. 1 corresponding embodiment, be not discussed here.
It further, is that a kind of structure of first setup module 10 provided in an embodiment of the present invention is shown please also refer to Fig. 4 It is intended to, first setup module 10 may include: the first transparent setting unit 101, first area selecting unit 102, first Mobile display unit 103, the first image update unit 105, the first background setting unit 104;
The first transparent setting unit 101, for obtaining background setting request and pre-set image data, and according to institute The upper layer that the first interface of client is set to the display interface of the pre-set image data by background setting request is stated, and to institute The background layer for stating the first interface carries out transparent setting;
The first area selecting unit 102, for obtaining the default figure according to saliency Region detection algorithms As the first saliency region in data, and in the display interface of the pre-set image data, selection includes complete or portion The first object region in the first saliency region divided;
The first movement display unit 103 is used for by first Interface Moving into the first object region, and The image data in the first object region is shown in the background layer at first interface;
The first image updating unit 105, for receiving the first behaviour to the display interface of the pre-set image data It instructs, and is moved and/or scaled according to display interface of first operational order to the pre-set image data, with Obtain updated pre-set image data;The first object region is constant always relative to the position of main desktop;
The first image updating unit 105 is also used to update first mesh based on updated pre-set image data Mark the image data in region;
The first background setting unit 104, for when detecting first interface corresponding setting confirmation instruction, Described the is set by the image data in the first object region according to the corresponding setting in first interface confirmation instruction The background image at one interface;The size in the first object region is identical as the size at first interface.
Wherein, it is moved in the described first transparent setting unit 101, the first area selecting unit 102 and described first After dynamic display unit 103 has executed corresponding operating, corresponding operating directly can be executed by the first background setting unit 104. Alternatively, being shown in the described first transparent setting unit 101, the first area selecting unit 102 and the first movement single After member 103 has executed corresponding operating, the first object region further can be updated by the first image updating unit 105 In image data, later again by the first background setting unit 104 execute corresponding operating.
Wherein, the described first transparent setting unit 101, the first area selecting unit 102, the first movement are shown The concrete function implementation of unit 103, the first image updating unit 105 and the first background setting unit 104 It may refer to the S201-S204 step in above-mentioned Fig. 2 corresponding embodiment, be not discussed here.
It further, is a kind of first transparent setting unit 101 provided in an embodiment of the present invention then please also refer to Fig. 5 Structural schematic diagram, the first transparent setting unit 101 may include: obtain detection sub-unit 1011, transparent setting son singly Member 1012, notice subelement 1013;
The acquisition detection sub-unit 1011 for obtaining background setting request and pre-set image data, and detects institute State pre-set image data size whether be greater than or equal to the client the first interface size;
The transparent setting subelement 1012 is, according to institute if being detected as the acquisition detection sub-unit 1011 The upper layer that first interface is set to the display interface of the pre-set image data by background setting request is stated, and to described the The background layer at one interface carries out transparent setting;
The notice subelement 1013, if be detected as the acquisition detection sub-unit 1011 it is no, notice described in obtain Detection sub-unit 1011 is taken to reacquire pre-set image data.
It further, is a kind of structure of second setup module 30 provided in an embodiment of the present invention then please also refer to Fig. 6 Schematic diagram, second setup module 30 may include: the second transparent setting unit 301, second area selecting unit 302, Three area selecting units 303, second move display unit 304, the second image update unit 306, third image update unit 307, the second background setting unit 305;
The second transparent setting unit 301, for being set to the second contact surface according to background setting request The upper layer of the display interface of the pre-set image data, and transparent setting is carried out to the background layer of the second contact surface;
The second area selecting unit 302, if being greater than the ruler of the second contact surface for the size at first interface It is very little, then the second saliency area in the first object region is obtained according to described image salient region detection algorithm Domain, and second target area of the selection comprising the second complete or partial saliency region in the first object region Domain;
The third area selecting unit 303, if being less than the ruler of the second contact surface for the size at first interface Very little, then selection includes complete or the first partial saliency region and packet in the display interface of the pre-set image data The second target area containing the first object region;
The second mobile display unit 304, for the second contact surface to be moved to second target area, and The image data in second target area is shown in the background layer of the second contact surface;
The second image update unit 306, for receiving the first behaviour to the display interface of the pre-set image data It instructs, and is moved and/or scaled according to display interface of first operational order to the pre-set image data, with Obtain updated pre-set image data;Second target area is constant always relative to the position of main desktop;
The second image update unit 306 is also used to update second mesh based on updated pre-set image data Mark the image data in region;
The third image update unit 307, if being greater than the ruler of the second contact surface for the size at first interface It is very little, then the second operational order to second target area is received, and according to second operational order control described second Target area is moved in the first object region, to update the image data in second target area;
The second background setting unit 305, for when detecting the second contact surface corresponding setting confirmation instruction, Described the is set by the image data in second target area according to the second contact surface corresponding setting confirmation instruction The background image of second interface;The size of second target area is identical as the size of the second contact surface;
Wherein, the either described second area selecting unit 302 or the third area selecting unit 303 execute accordingly Operation, the second image update unit 306 can be in subsequent execution corresponding operating;For the third image update unit 307, only after the second area selecting unit 302 performs corresponding operating, the third image update unit 307 just may be used In subsequent execution corresponding operating.
Wherein, the described second transparent setting unit 301, the second area selecting unit 302, the third regional choice Unit 303, the second mobile display unit 304, the second image update unit 306, the third image update unit 307 and the concrete function implementation of the second background setting unit 305 may refer in above-mentioned Fig. 2 corresponding embodiment S206-S210 step, is not discussed here.
The embodiment of the present invention can be arranged according to background and request by obtaining background setting request and pre-set image data First object region is selected in the display interface of pre-set image data, and is shown in the background layer at the first interface of client Image data in first object region, and set the image data in first object region to the Background at the first interface Picture;When detecting clicking operation instruction in switching click on area associated with the first interface, instructed according to clicking operation It is the second contact surface of client by the first changing interface, thus further according to background setting request in the aobvious of pre-set image data Show and select the second target area in interface, and shows the image data in the second target area in the background layer of second contact surface, And set the image data in the second target area to the background image of second contact surface.It can be seen that customized more in wallpaper During changing, can arbitrarily switch the different interfaces of client, and be respectively the different background image of corresponding interface setting, i.e., without It need to repeat and open the wallpaper defined interface of application program, obtain these redundant operations of picture, so as to improve more boundaries The operating efficiency of the customized replacement of the wallpaper in face.
The embodiment of the present invention can be user in the pre-set image data by saliency Region detection algorithms The image-region that Automatic-searching user may like respectively as the first interface and second contact surface background image, thus further Improve the operating efficiency of user.Moreover, tentatively showing the first interface and second according to saliency Region detection algorithms It, can be further by mobile and/or scaling pre-set image data, at the first interface and the second boundary after the background image at interface The updated background image of display in the indication range in face, so as to distinguish in the indication range of the pre-set image data The wallpaper for carrying out selectivity to the first interface and second contact surface is customized, so as to improve perception of the user to customized wallpaper Degree.
Fig. 7 is referred to, is the structural schematic diagram of another interface data processing device provided in an embodiment of the present invention.Such as figure Shown in 7, the interface data processing device 1000 may include: at least one processor 1001, such as CPU, at least one net Network interface 1004, user interface 1003, memory 1005, at least one communication bus 1002.Wherein, communication bus 1002 is used for Realize the connection communication between these components.Wherein, user interface 1003 may include display screen (Display), keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 is optional May include standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, It is also possible to non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 1005 optionally can also be that at least one is located remotely from the storage device of aforementioned processor 1001.As shown in fig. 7, as one kind It may include operating system, network communication module, Subscriber Interface Module SIM in the memory 1005 of computer storage medium and set Standby control application program.
In interface data processing device 1000 shown in Fig. 7, user interface 1003 is mainly used for providing input for user Interface, obtain user output data;And processor 1001 can be used for that the equipment stored in memory 1005 is called to control Application program, to realize
Background setting request and pre-set image data are obtained, according to background setting request in the pre-set image number According to display interface in select first object region, and show the first object in the background layer at the first interface of client Image data in region, and set the image data in the first object region to the Background at first interface Picture;
When detecting clicking operation instruction in switching click on area associated with first interface, according to described First changing interface is the second contact surface of the client by clicking operation instruction;
The second target area is selected in the display interface of the pre-set image data according to background setting request, and Show the image data in second target area in the background layer of the second contact surface, and by second target area In image data be set as the background image of the second contact surface.
In one embodiment, the processor 1001 is executing acquisition background setting request and pre-set image data, First object region is selected in the display interface of the pre-set image data according to background setting request, and in client The first interface background layer in show image data in the first object region, and will be in the first object region When image data is set as the background image at first interface, following steps are specifically executed:
Background setting request and pre-set image data are obtained, and are requested according to background setting by the first of client Interface is set to the upper layer of the display interface of the pre-set image data, and carries out transparent set to the background layer at first interface It sets;
The first saliency region in the pre-set image data is obtained according to saliency Region detection algorithms, And selection includes the first of the first complete or partial saliency region in the display interface of the pre-set image data Target area;
By first Interface Moving into the first object region, and shown in the background layer at first interface Image data in the first object region;
It is true according to the corresponding setting in first interface when detecting that the corresponding setting confirmation in first interface instructs Recognize the background image that instruction sets the image data in the first object region at first interface;
The size in the first object region is identical as the size at first interface.
In one embodiment, the processor 1001 is executing acquisition background setting request and pre-set image data, And the upper of the display interface that the first interface of client is set to the pre-set image data is requested according to background setting Layer, and to the background layer at first interface carry out transparent setting when, specifically execute following steps:
Background setting request and pre-set image data are obtained, and whether the size for detecting the pre-set image data is greater than Or the size at the first interface equal to the client;
It is that first interface is set to by the pre-set image data according to background setting request if being detected as Display interface upper layer, and transparent setting is carried out to the background layer at first interface;
If being detected as no, pre-set image data are reacquired.
In one embodiment, the processor 1001 is worked as in execution detects the corresponding setting confirmation in first interface When instruction, set the image data in the first object region to according to the corresponding setting confirmation instruction in first interface Before the background image at first interface, following steps are also executed:
The first operational order to the display interface of the pre-set image data is received, and according to first operational order The display interface of the pre-set image data is moved and/or scaled, to obtain updated pre-set image data;It is described First object region is constant always relative to the position of main desktop;
The image data in the first object region is updated based on updated pre-set image data.
In one embodiment, the processor 1001 is being executed according to background setting request in the pre-set image The second target area is selected in the display interface of data, and second target area is shown in the background layer of the second contact surface Image data in domain, and set the image data in second target area to the background image of the second contact surface When, specifically execute following steps:
The display interface that the second contact surface is set to the pre-set image data is requested according to background setting Upper layer, and transparent setting is carried out to the background layer of the second contact surface;
If the size at first interface is greater than the size of the second contact surface, examined according to described image salient region Method of determining and calculating obtains the second saliency region in the first object region, and packet is selected in the first object region The second target area containing the second complete or partial saliency region;Alternatively, if the size at first interface is less than The size of the second contact surface, then selection includes complete or the first partial figure in the display interface of the pre-set image data The second target area as salient region and comprising the first object region;
The second contact surface is moved to second target area, and shows institute in the background layer of the second contact surface State the image data in the second target area;
It is true according to the corresponding setting of the second contact surface when detecting that the corresponding setting confirmation of the second contact surface instructs Recognize the background image that instruction sets the image data in second target area to the second contact surface;
The size of second target area is identical as the size of the second contact surface.
In one embodiment, the processor 1001 is worked as in execution detects the corresponding setting confirmation of the second contact surface When instruction, set the image data in second target area to according to the corresponding setting confirmation instruction of the second contact surface Before the background image of the second contact surface, following steps are also executed:
The first operational order to the display interface of the pre-set image data is received, and according to first operational order The display interface of the pre-set image data is moved and/or scaled, to obtain updated pre-set image data;It is described Second target area is constant always relative to the position of main desktop;
The image data in second target area is updated based on updated pre-set image data.
In one embodiment, the processor 1001 is worked as in execution detects the corresponding setting confirmation of the second contact surface When instruction, set the image data in second target area to according to the corresponding setting confirmation instruction of the second contact surface Before the background image of the second contact surface, following steps are also executed:
If the size at first interface is greater than the size of the second contact surface, receive to second target area Second operational order, and according to second operational order control second target area in the first object region into Row movement, to update the image data in second target area.
The embodiment of the present invention can be arranged according to background and request by obtaining background setting request and pre-set image data First object region is selected in the display interface of pre-set image data, and is shown in the background layer at the first interface of client Image data in first object region, and set the image data in first object region to the Background at the first interface Picture;When detecting clicking operation instruction in switching click on area associated with the first interface, instructed according to clicking operation It is the second contact surface of client by the first changing interface, thus further according to background setting request in the aobvious of pre-set image data Show and select the second target area in interface, and shows the image data in the second target area in the background layer of second contact surface, And set the image data in the second target area to the background image of second contact surface.It can be seen that customized more in wallpaper During changing, can arbitrarily switch the different interfaces of client, and be respectively the different background image of corresponding interface setting, i.e., without It need to repeat and open the wallpaper defined interface of application program, obtain these redundant operations of picture, so as to improve more boundaries The operating efficiency of the customized replacement of the wallpaper in face.
The embodiment of the present invention can be user in the pre-set image data by saliency Region detection algorithms The image-region that Automatic-searching user may like respectively as the first interface and second contact surface background image, thus further Improve the operating efficiency of user.Moreover, tentatively showing the first interface and second according to saliency Region detection algorithms It, can be further by mobile and/or scaling pre-set image data, at the first interface and the second boundary after the background image at interface The updated background image of display in the indication range in face, so as to distinguish in the indication range of the pre-set image data The wallpaper for carrying out selectivity to the first interface and second contact surface is customized, so as to improve perception of the user to customized wallpaper Degree.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (14)

1. a kind of interface data processing method characterized by comprising
Background setting request and pre-set image data are obtained, according to background setting request in the pre-set image data First object region is selected in display interface, and the first object region is shown in the background layer at the first interface of client In image data, and set the image data in the first object region to the background image at first interface;Institute The first interface display is stated on the upper layer of the display interface of the pre-set image data;The first object region is aobvious according to image The region that work property Region detection algorithms go out selected in the display interface of the pre-set image data;The back at first interface Scape image is generated when by first Interface Moving to the first object region by the client;
When detecting clicking operation instruction in switching click on area associated with first interface, according to the click First changing interface is the second contact surface of the client by operational order;
The second target area is selected in the display interface of the pre-set image data according to background setting request, and in institute The image data shown in second target area in the background layer of second contact surface is stated, and will be in second target area Image data is set as the background image of the second contact surface.
2. the method as described in claim 1, which is characterized in that the acquisition background setting request and pre-set image data, First object region is selected in the display interface of the pre-set image data according to background setting request, and in client The first interface background layer in show image data in the first object region, and will be in the first object region Image data is set as the background image at first interface, comprising:
Background setting request and pre-set image data are obtained, and are requested according to background setting by the first interface of client It is set to the upper layer of the display interface of the pre-set image data, and transparent setting is carried out to the background layer at first interface;
The first saliency region in the pre-set image data is obtained according to saliency Region detection algorithms, and First object of the selection comprising the first complete or partial saliency region in the display interface of the pre-set image data Region;
By first Interface Moving into the first object region, and in the background layer at first interface described in display Image data in first object region;
When detecting that the corresponding setting confirmation in first interface instructs, referred to according to the corresponding setting confirmation in first interface Enable the background image for setting the image data in the first object region at first interface;
The size in the first object region is identical as the size at first interface.
3. method according to claim 2, which is characterized in that the acquisition background setting request and pre-set image data, And the upper of the display interface that the first interface of client is set to the pre-set image data is requested according to background setting Layer, and transparent setting is carried out to the background layer at first interface, comprising:
Background setting request and pre-set image data are obtained, and whether the size for detecting the pre-set image data is greater than or waits Size in the first interface of the client;
It is that first interface is set to by the aobvious of the pre-set image data according to background setting request if being detected as Show the upper layer at interface, and transparent setting is carried out to the background layer at first interface;
If being detected as no, pre-set image data are reacquired.
4. method according to claim 2, which is characterized in that ought detect that the corresponding setting in first interface is true described When recognizing instruction, the image data in the first object region is arranged according to the corresponding setting confirmation instruction in first interface For first interface background image the step of before, further includes:
The first operational order to the display interface of the pre-set image data is received, and according to first operational order to institute The display interface for stating pre-set image data is moved and/or is scaled, to obtain updated pre-set image data;Described first Target area is constant always relative to the position of main desktop;
The image data in the first object region is updated based on updated pre-set image data.
5. method according to claim 2, which is characterized in that described to be requested according to background setting in the pre-set image The second target area is selected in the display interface of data, and second target area is shown in the background layer of the second contact surface Image data in domain, and set the image data in second target area to the background image of the second contact surface, Include:
The second contact surface is set to the upper layer of the display interface of the pre-set image data according to background setting request, And transparent setting is carried out to the background layer of the second contact surface;
If the size at first interface is greater than the size of the second contact surface, is detected and calculated according to described image salient region Method obtains the second saliency region in the first object region, and selection has included in the first object region Second target area in the second whole or partial saliency region;Alternatively, if the size at first interface is less than described The size of second contact surface, then selection is aobvious comprising the first complete or partial image in the display interface of the pre-set image data Write property region and include the first object region the second target area;
The second contact surface is moved to second target area, and shows described in the background layer of the second contact surface Image data in two target areas;
When detecting that the corresponding setting confirmation of the second contact surface instructs, referred to according to the corresponding setting confirmation of the second contact surface Enable the background image for setting the image data in second target area to the second contact surface;
The size of second target area is identical as the size of the second contact surface.
6. method as claimed in claim 5, which is characterized in that ought detect that the corresponding setting of the second contact surface is true described When recognizing instruction, the image data in second target area is arranged according to the corresponding setting confirmation instruction of the second contact surface For the second contact surface background image the step of before, further includes:
The first operational order to the display interface of the pre-set image data is received, and according to first operational order to institute The display interface for stating pre-set image data is moved and/or is scaled, to obtain updated pre-set image data;Described second Target area is constant always relative to the position of main desktop;
The image data in second target area is updated based on updated pre-set image data.
7. method as claimed in claim 5, which is characterized in that ought detect that the corresponding setting of the second contact surface is true described When recognizing instruction, the image data in second target area is arranged according to the corresponding setting confirmation instruction of the second contact surface For the second contact surface background image the step of before, further includes:
If the size at first interface is greater than the size of the second contact surface, receive to the second of second target area Operational order, and second target area is controlled according to second operational order and is moved in the first object region It is dynamic, to update the image data in second target area.
8. a kind of interface data processing device characterized by comprising
First setup module exists for obtaining background setting request and pre-set image data according to background setting request First object region is selected in the display interface of the pre-set image data, and is shown in the background layer at the first interface of client Show the image data in the first object region, and sets described first for the image data in the first object region The background image at interface;First interface display is on the upper layer of the display interface of the pre-set image data;First mesh Mark region be according to saliency Region detection algorithms in the display interface of the pre-set image data selected in go out area Domain;The background image at first interface is by the client by first Interface Moving to the first object region Shi Shengcheng's;
Switching module detects that clicking operation instructs for working as in switching click on area associated with first interface When, the second contact surface by first changing interface for the client is instructed according to the clicking operation;
Second setup module, for selecting in the display interface of the pre-set image data the according to background setting request Two target areas, and show in the background layer of the second contact surface image data in second target area, and by institute State the background image that the image data in the second target area is set as the second contact surface.
9. device as claimed in claim 8, which is characterized in that first setup module includes:
First transparent setting unit is arranged for obtaining background setting request and pre-set image data, and according to the background First interface of client is set to the upper layer of the display interface of the pre-set image data by request, and to first interface Background layer carry out transparent setting;
First area selecting unit, for obtaining in the pre-set image data according to saliency Region detection algorithms One saliency region, and selection includes complete or the first partial image in the display interface of the pre-set image data The first object region of salient region;
First movement display unit is used for by first Interface Moving into the first object region, and described first The image data in the first object region is shown in the background layer at interface;
First background setting unit, for when detecting first interface corresponding setting confirmation instruction, according to described the The corresponding setting confirmation instruction in one interface sets the image data in the first object region to the back at first interface Scape image;
The size in the first object region is identical as the size at first interface.
10. device as claimed in claim 9, which is characterized in that the first transparent setting unit includes:
Detection sub-unit is obtained, for obtaining background setting request and pre-set image data, and detects the pre-set image number According to size whether be greater than or equal to the client the first interface size;
Transparent setting subelement is that request is arranged according to the background will if being detected as the acquisition detection sub-unit First interface is set to the upper layer of the display interface of the pre-set image data, and to the background layer at first interface into The transparent setting of row;
It notifies subelement, if being detected as the acquisition detection sub-unit no, notifies the acquisition detection sub-unit again Obtain pre-set image data.
11. device as claimed in claim 9, which is characterized in that first setup module further include:
First image update unit, for receiving the first operational order of the display interface to the pre-set image data, and root It is moved and/or is scaled according to display interface of first operational order to the pre-set image data, after obtaining update Pre-set image data;The first object region is constant always relative to the position of main desktop;
The first image updating unit is also used to update in the first object region based on updated pre-set image data Image data.
12. device as claimed in claim 9, which is characterized in that second setup module includes:
Second transparent setting unit, for the second contact surface to be set to the pre-set image according to background setting request The upper layer of the display interface of data, and transparent setting is carried out to the background layer of the second contact surface;
Second area selecting unit, if being greater than the size of the second contact surface for the size at first interface, according to institute It states saliency Region detection algorithms and obtains the second saliency region in the first object region, and described Second target area of the selection comprising the second complete or partial saliency region in one target area;
Third area selecting unit, if being less than the size of the second contact surface for the size at first interface, described Selection comprising complete or the first partial saliency region and includes described first in the display interface of pre-set image data Second target area of target area;
Second mobile display unit, for the second contact surface to be moved to second target area, and on second boundary The image data in second target area is shown in the background layer in face;
Second background setting unit, for when detecting the second contact surface corresponding setting confirmation instruction, according to described the The corresponding setting confirmation instruction of second interface sets the image data in second target area to the back of the second contact surface Scape image;
The size of second target area is identical as the size of the second contact surface.
13. device as claimed in claim 12, which is characterized in that second setup module further include:
Second image update unit, for receiving the first operational order of the display interface to the pre-set image data, and root It is moved and/or is scaled according to display interface of first operational order to the pre-set image data, after obtaining update Pre-set image data;Second target area is constant always relative to the position of main desktop;
The second image update unit is also used to update in second target area based on updated pre-set image data Image data.
14. device as claimed in claim 12, which is characterized in that second setup module further include:
Third image update unit, if being greater than the size of the second contact surface for the size at first interface, reception pair Second operational order of second target area, and second target area is controlled in institute according to second operational order It states and is moved in first object region, to update the image data in second target area.
CN201611050807.1A 2016-11-24 2016-11-24 A kind of interface data processing method and device Active CN106708508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611050807.1A CN106708508B (en) 2016-11-24 2016-11-24 A kind of interface data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611050807.1A CN106708508B (en) 2016-11-24 2016-11-24 A kind of interface data processing method and device

Publications (2)

Publication Number Publication Date
CN106708508A CN106708508A (en) 2017-05-24
CN106708508B true CN106708508B (en) 2019-04-26

Family

ID=58933944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611050807.1A Active CN106708508B (en) 2016-11-24 2016-11-24 A kind of interface data processing method and device

Country Status (1)

Country Link
CN (1) CN106708508B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291349B (en) * 2017-06-02 2020-01-21 百富计算机技术(深圳)有限公司 Display interface rotation method and device, storage medium and computer equipment
CN109032721A (en) * 2018-06-27 2018-12-18 阿里巴巴集团控股有限公司 A kind of background image switching method and device
CN110764862A (en) * 2019-10-23 2020-02-07 珠海格力电器股份有限公司 Desktop wallpaper display method and device, terminal equipment and storage medium
CN117692552A (en) * 2022-09-09 2024-03-12 荣耀终端有限公司 Wallpaper display method, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645830A (en) * 2013-12-19 2014-03-19 广州市久邦数码科技有限公司 Method and system for wallpaper preview
CN103970500A (en) * 2014-03-31 2014-08-06 小米科技有限责任公司 Method and device for displaying picture

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182127B (en) * 2014-08-28 2017-06-16 小米科技有限责任公司 icon moving method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645830A (en) * 2013-12-19 2014-03-19 广州市久邦数码科技有限公司 Method and system for wallpaper preview
CN103970500A (en) * 2014-03-31 2014-08-06 小米科技有限责任公司 Method and device for displaying picture

Also Published As

Publication number Publication date
CN106708508A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN106708508B (en) A kind of interface data processing method and device
CN107861784B (en) Desktop icon sorting method and device and mobile terminal
CN105068721B (en) A kind of actions menu display methods and terminal
CN105426080B (en) A kind of picture switching method and terminal
RU2614567C2 (en) Method and mobile terminal device for performing operations with images
CN108829314B (en) Screenshot selecting interface selection method, device, equipment and storage medium
CN105511789B (en) A kind of icon processing method and terminal
WO2010078086A2 (en) Computing device and method for selecting display regions responsive to non-discrete directional input actions and intelligent content analysis
CN103558979B (en) The display packing at operation interface and terminal
CN109753215B (en) Window split-screen display method, device and equipment
CN104423789A (en) Information processing method and electronic equipment
WO2017140242A1 (en) Information processing method and client
CN107908604B (en) Report form graph generation method and device, computer equipment and storage medium
CN105159582A (en) Video region adjusting method and terminal
CN110889056B (en) Page marking method and device
CN104063128A (en) Information processing method and electronic equipment
CN105892896A (en) Desktop switching method and terminal
TWI610220B (en) Apparatus and method for automatically controlling display screen density
CN104598133B (en) The specification generation method and device of object
CN103984478B (en) Dynamic icon displaying method and system
CN104216624B (en) A kind of display methods and electronic equipment
CN112181251A (en) Screen operation method and device, oscilloscope and storage medium
CN103678059A (en) Random key testing method and device
TWI607369B (en) System and method for adjusting image display
CN105549837A (en) Method and device for displaying contact items of contact list based on touch-screen apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant