CN109491741A - A kind of method and terminal switching background skin - Google Patents

A kind of method and terminal switching background skin Download PDF

Info

Publication number
CN109491741A
CN109491741A CN201811291695.8A CN201811291695A CN109491741A CN 109491741 A CN109491741 A CN 109491741A CN 201811291695 A CN201811291695 A CN 201811291695A CN 109491741 A CN109491741 A CN 109491741A
Authority
CN
China
Prior art keywords
screen
source control
control
image
terminal
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.)
Granted
Application number
CN201811291695.8A
Other languages
Chinese (zh)
Other versions
CN109491741B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811291695.8A priority Critical patent/CN109491741B/en
Publication of CN109491741A publication Critical patent/CN109491741A/en
Application granted granted Critical
Publication of CN109491741B publication Critical patent/CN109491741B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of methods and terminal for switching background skin, wherein the method is applied to the terminal comprising the first screen and the second screen, the described method includes: receive on the first screen select source control first input, and on the second screen selection target control second input;Obtain the corresponding image of the source control;It is and the matched first size of target widget size by the size adjusting of described image;The background skin of the target widget is switched to the described image adjusted with the first size.The method of the switching background skin provided through the embodiment of the present invention can be completed replacement to target widget background skin without carrying out changing interface, operate the convenient usage experience for being able to ascend user.

Description

A kind of method and terminal switching background skin
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of methods and terminal for switching background skin.
Background technique
Requirement of the user to application personalized function at present is higher and higher, and theme and wallpaper are then using personalized one Important realization can get rid of the unalterable color of application interface by theme and wallpaper user.User can be autonomous selection The wallpaper and look & feel oneself liked switch the background skin of application.
The method of switching application background skin at present are as follows: user's selection target skin in theme or wallpaper shop, then It is applied in target application and is shown.It need to currently be shown from target application if user is dissatisfied to the background skin replaced Changing interface reselects purported skin into theme or wallpaper shop, then switches in target application and is shown again.It should Kind mode needs multiple changing interface user just alternatively to arrive satisfied background skin, cumbersome and inconvenient in user's operation.
Summary of the invention
The embodiment of the present invention provides a kind of method for switching background skin, to solve the back of application existing in the prior art Scape skin handover operation is cumbersome and inconvenient in the user's operation the problem of.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to include the first screen the embodiment of the invention provides a kind of method for switching background skin With the terminal of the second screen, wherein the described method includes: the first input for selecting source control on the first screen is received, and The second input of selection target control on the second screen;Obtain the corresponding image of the source control;By the size of described image It is adjusted to and the matched first size of target widget size;The background skin of the target widget is switched to adjusted Described image with the first size.
Second aspect, it to include the first screen and the second screen, wherein described that the embodiment of the invention provides a kind of terminals Terminal further include: receiving module selects the first of source control to input on the first screen for receiving, and on the second screen Second input of selection target control;Module is obtained, for obtaining the corresponding image of the source control;Module is adjusted, being used for will The size adjusting of described image be and the matched first size of target widget size;Switching module is used for the target The background skin of control is switched to the described image adjusted with the first size.
The third aspect the embodiment of the invention provides a kind of terminal, including processor, memory and is stored in the storage On device and the computer program that can run on the processor, this is realized when the computer program is executed by the processor Described in inventive embodiments the step of the method for any switching background skin.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, and any described in the embodiment of the present invention is realized when the computer program is executed by processor The step of method of kind switching background skin.
In embodiments of the present invention, the first input of source control is selected on the first screen by receiving, and second Second input of selection target control on screen;The corresponding image of acquisition source control;It is and target control by the size adjusting of image The matched first size of part size;The background skin of target widget is switched to the image adjusted with first size, nothing Need to carry out changing interface can be completed switching to target widget background skin, operate it is convenient be able to ascend user use body It tests.
Detailed description of the invention
Fig. 1 is one of the flow chart of method of the switching background skin provided according to embodiments of the present invention;
Fig. 2 is the two of the flow chart of the method for the switching background skin provided according to embodiments of the present invention;
Fig. 3 is one of the first screen and schematic diagram of interface display of the second screen of terminal;
Fig. 4 is the two of the first screen of terminal and the schematic diagram of interface display of the second screen;
Fig. 5 is the structural block diagram of the terminal of the embodiment of the present invention;
Fig. 6 is the hardware structural diagram of the terminal provided according to embodiments 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 some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, one of the flow chart of method of switching background skin provided in an embodiment of the present invention is shown.
The switching background skin method of the embodiment of the present invention the following steps are included:
Step 101: receiving the first input for selecting source control on the first screen, and the selection target on the second screen Second input of control.
The method of switching background skin provided in an embodiment of the present invention can be applied to include the first screen and the second screen Terminal.Source control and target widget can one application program of subordinate can also be belonging respectively to two application programs.
When source control and target widget adhere to two application programs separately, the first application interface is shown in the first screen, second Show that the second application interface, the first screen and the second screen collectively constitute the folding screen of terminal in screen.First application, second Separately including multiple controls in, the input of user Ke Tong first selects a control as source control in the first application program, Select a control as target widget in the second application program by the second input.Wherein, first input, second input can To be configured according to actual needs by those skilled in the art, for example, be set as successively twice single-click operation, successively it is double twice Operation or slide etc. are hit, this is not particularly limited in the embodiment of the present invention.
Step 102: obtaining the corresponding image of source control.
First application can be the application comprising multiple images control, such as: photograph album or theme application etc., wherein each Image is as a control.
After determining source control, the original image interface provided by the first application obtains the corresponding original image of source control as source The corresponding image of control can also intercept the image screenshot of source control from the first screen, image screenshot is determined as source control Corresponding image.Step 103: being and the matched first size of target widget size by the size adjusting of image.
In the specific adjustment, it may be determined that the length and width dimensions of target widget, the length and width dimensions adjustment source control according to target widget The size of the corresponding image of part keeps image adjusted identical as target widget size.
Step 104: the background skin of target widget is switched to the image adjusted with first size.
Such as: the background skin of target widget is A image, and the image of first size adjusted is B image, then by target The background skin of control replaces with B image.For background skin to be switched to the specific handover operation of certain image, referring to related skill Art is not particularly limited this in the embodiment of the present invention.
The method of switching background skin provided in an embodiment of the present invention, selects source control by receiving on the first screen First input, and on the second screen selection target control second input;The corresponding image of acquisition source control;By image Size adjusting be and the matched first size of target widget size;The background skin of target widget, which is switched to, adjusted to be had Switching to target widget background skin can be completed without carrying out changing interface in the image of first size, operate it is convenient can Promote the usage experience of user.
Referring to Fig. 2, the two of the flow chart of the method for switching background skin provided in an embodiment of the present invention are shown.
The embodiment of the present invention switching background skin method the following steps are included:
Step 201: receiving the instruction that background skin switch mode is opened in triggering.
The method of switching background skin provided in an embodiment of the present invention can be applied to include the first screen and the second screen Terminal.The first application interface is shown in first screen, and the second application interface, the first application interface and second are shown in the second screen Application interface can belong to same application, may belong to different application.Difference is belonged to the two in the embodiment of the present invention It is illustrated for application program.
Terminal can receive user by input certain gestures, and the instruction of background skin switch mode is opened in triggering;Alternatively, Terminal receives user by touch-control programmable button, and the instruction of background skin switch mode is opened in triggering.Both are specifically triggered Terminal opens the mode of background skin switch mode instruction, convenient for the user to operate.
Terminal, which receives user, can trigger the instruction for opening background skin switch mode by the single programmable button of touch-control, It can also be combined by touch-control programmable button, the instruction of background skin switch mode is opened in triggering.Certain gestures can be set are as follows: The finger of two fingers sliding terminal screen rocks the gesture of terminal or folds the gesture etc. of terminal screen, in the embodiment of the present invention Specific gesture indicated by certain gestures is not particularly limited.
Above-mentioned is only the mode for listing two kinds of triggerings and opening the instruction of background skin switch mode, in specific implementation process In, selection menu can also be provided for the customized triggering mode of user.
Step 202: according to the instruction, opening background skin switch mode.
Terminal responds instruction unlatching background skin and cuts after the instruction for receiving triggering unlatching background skin switch mode Mold changing formula.In this mode, the background skin of target widget in the second application can be switched to by user by a series of operation The original image of source control in first application, so that completes target widget changes skin.
Step 201 is to the concrete operations that step 202 is that user opens background skin switch mode, in specific implementation process In, it no longer needs to execute the process if the background skin switch mode of terminal has turned on.
Step 203: receiving operating body and slide into the second position on the second screen from the first position on the first screen Slide.
Operating body can be user's finger or screen touch pen etc..The corresponding sliding trace of slide of operating body, And a sliding trace includes that a starting point, that is, first position and a terminating point and the second position, operating body are executing After slide, terminal determines the starting point and ending point of sliding trace.
Step 204: the control where first position being determined as source control, the control where the second position is determined as mesh Mark control.
After determining source control and target widget in the embodiment of the present invention, application identities and the source of the first application can be recorded respectively The control of control identifies and the control mark of the application identities of the second application and target widget.
Target widget includes: the background of standby interface, the dial key in dialing interface and application program homepage background At least one of.
Referring to one of the first screen and the schematic diagram of interface display of the second screen that Fig. 3 is terminal.With in the schematic diagram Photograph album interface is shown in one screen, standby interface is shown in the second screen, and terminal determines that source is controlled according to the slide of operating body It is illustrated for part and target widget.As shown in figure 3, including multiple images, Mei Getu in left screen i.e. the first screen It include multiple application icons in right screen i.e. the second screen as being a control, each icon is a control, and The background of standby interface is also a control.The image slide of operating body second row secondary series from the first screen is to the second screen In background parts, the image of the second row secondary series is source control in the first screen, and the background of standby interface is target widget.
Referring to the two of the schematic diagram of interface display of the first screen and the second screen that Fig. 4 is terminal.With in the schematic diagram Show topics application interface in one screen, and dialing application interface, slide of the terminal according to slide mass are shown in the second screen It determines and is illustrated for source control and target widget.As shown in figure 4, including multiple masters in left screen i.e. the first screen Topic, each theme are a control, include multiple dial keys in right screen i.e. the second screen, and each dial key is one Control.Operating body slides into key 1 in the second screen, the second row in the first screen from the theme of the second row third in the first screen Tertial theme is source control, and the key 1 in dialing application interface is target widget.
Step 203, step 204 are that the mode of source control and target widget is determined according to operating body slide, specific It is not limited to this during realizing, terminal can also determine source control and target widget by the clicking operation of operating body, specifically Mode is as follows: terminal detects operating body to the first clicking operation of source control in the first screen;Operating body is detected to the second screen Second clicking operation of middle target widget.
A kind of preferably mode are as follows: interval that the first clicking operation and the second clicking operation are performed can be set less than the One preset duration, interval less than the first preset duration when determine that the first clicking operation and the second clicking operation are effective, it is on the contrary then Determine that the two clicking operations are invalid.This kind determines whether the side effectively operated by the interval duration of clicking operation twice Formula can be avoided terminal and miss determining source control or target widget because of the mistake clicking operation of operating body.
Step 205: obtaining the corresponding original image of source control.
Acquired original image is then used as the corresponding image of source control.It is corresponding why source control is obtained in the embodiment of the present invention Original image, it is therefore an objective to the clearly image being adapted to target widget size can be obtained by being adjusted to original image.
A kind of mode of the corresponding original image of acquisition source control are as follows: determine source control control mark and source control belonging to first The application identities of application obtain control and identify corresponding initial pictures from the corresponding image collection of application identities.
During specific implementation, source control can be obtained according to the affiliated application type difference of source control in different ways Corresponding original image, the skin resource as replacement target widget background skin.The first application may be terminal belonging to the control of source Built-in application, or third-party application.When the first application is terminal built-in in application, calling making by oneself for the first application Adopted interface goes the corresponding original image of acquisition source control;If the first application is third-party application, the corresponding original of source control is directly acquired Figure.
Such as: when the photograph album that the first application is terminal built-in in application, in the corresponding original image of acquisition source control, photograph album It can provide the interface for obtaining original image in, make user that can also get original image when clicking thumbnail or preview image.When One application be the theme shop when, corresponding interface can be provided in theme shop and obtain subject resource packet, wherein subject resource packet It is the set packet of the corresponding original image of all theme controls, source can be obtained from subject resource packet by the control mark of source control The corresponding original image of control.When the first application is the third-party application comprising multiple images, it is logical that method directly is carried using frame Cross the corresponding original image of control mark acquisition source control of source control.
Step 206: being and the matched first size of target widget size by the corresponding Image Adjusting of source control.
In the specific adjustment, it may be determined that the length and width dimensions of target widget, the length and width dimensions according to target widget adjust original image Size keeps original image adjusted identical as target widget size.
Step 207: the background skin of target widget is switched to image adjusted with first size.
Such as: the background skin of target widget is A image, and the image adjusted with first size is B image, then will The background skin of target widget replaces with B image.For background skin to be switched to the specific handover operation of certain image, referring to phase Pass technology is not particularly limited this in the embodiment of the present invention.
After completing the switching of this background skin, continue to be monitored user's operation, if monitoring in the second preset duration When first position on to operating body from the first screen slides into the slide of the second position on the second screen, then repeat to walk Rapid 203, which carry out background skin next time to step 207, switches.If above-mentioned slide is not monitored in the second preset duration, Close background skin switch mode.Second preset duration can be configured according to actual needs by those skilled in the art, example It is such as set as 3 seconds, 5 seconds or 10 seconds, this is not particularly limited in the embodiment of the present invention.
The method of switching background skin provided in an embodiment of the present invention, selects source control by receiving on the first screen First input, and on the second screen selection target control second input;The corresponding image of acquisition source control;By image Size adjusting be and the matched first size of target widget size;The background skin of target widget, which is switched to, adjusted to be had Switching to target widget background skin can be completed without carrying out changing interface in the image of first size, operate it is convenient can Promote the usage experience of user.In addition, the method for switching background skin provided in an embodiment of the present invention, provides a variety of triggerings and opens The mode of background skin switch mode instruction is opened, background skin switch mode is opened in the certain gestures triggering such as inputted by user Instruction, or by user's touch-control programmable button trigger open background skin switch mode instruction, it is convenient for the user to operate.
Referring to Fig. 5, the structural block diagram of the terminal of the embodiment of the present invention is shown.Terminal is able to achieve cutting in previous embodiment The details of the method for background skin is changed, and reaches identical effect.
The terminal of the embodiment of the present invention includes the first screen and the second screen, wherein the terminal further include: receiving module 501, for receiving the first input for selecting source control on the first screen, and on the second screen selection target control the Two inputs;Module 502 is obtained, for obtaining the corresponding image of the source control;Module 503 is adjusted, for by described image Size adjusting be and matched first ruler of the target widget size;Switching module 504 is used for the background of the target widget Skin is switched to the described image adjusted with the first size.Wherein, receiving module 501, acquisition module 502, tune Mould preparation block 503 and switching module 504 are sequentially connected with.
Preferably, the receiving module 501 may include: slide detection sub-module 5011, receive operating body from institute State the slide for the second position that the first position on the first screen slides on second screen;Determine submodule 5012, for the control where the first position to be determined as source control, the control where the second position is determined as Target widget.
Preferably, the acquisition module 502 may include: the first acquisition submodule 5021, for obtaining the source control Corresponding initial pictures;Alternatively, the second acquisition submodule 5022, the image for intercepting the source control from the first screen is cut Figure, is determined as the corresponding image of the source control for described image screenshot.
Preferably, when first acquisition submodule 5021 obtains the source control corresponding initial pictures, it is specifically used for: Determine the control mark and the application identities of the first application belonging to the source control of the source control;It is corresponding from the application identities Image collection in, obtain the control and identify corresponding initial pictures.
Preferably, the target widget includes: the background of standby interface, the dial key in dialing interface and using journey At least one of sequence homepage background.
Terminal provided in an embodiment of the present invention can be realized each mistake that terminal is realized in the embodiment of the method for Fig. 1 to Fig. 4 Journey, to avoid repeating, which is not described herein again.
Terminal provided in an embodiment of the present invention selects the first input of source control by receiving on the first screen, and The second input of selection target control on the second screen;The corresponding image of acquisition source control;By the size adjusting of image be with The matched first size of target widget size;The background skin of target widget is switched to the figure adjusted with first size Switching to target widget background skin can be completed without carrying out changing interface in picture, operates and convenient is able to ascend making for user With experience.
Referring to Fig. 6, a kind of hardware structural diagram of terminal of the embodiment of the present invention is shown.
A kind of hardware structural diagram of Fig. 6 terminal of each embodiment to realize the present invention, the terminal 900 include but not It is limited to: radio frequency unit 901, network module 902, audio output unit 903, input unit 904, sensor 905, display unit 906, the components such as user input unit 907, interface unit 908, memory 909, processor 910 and power supply 911.This field Technical staff is appreciated that the restriction of terminal structure shown in Fig. 6 not structure paired terminal, and terminal may include than illustrating more More or less component perhaps combines certain components or different component layouts.In embodiments of the present invention, terminal includes But be not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..It is aobvious Show that unit 906 includes the first screen and the second screen.
Processor 910 receives for controlling user input unit 907 and selects the first defeated of source control on the first screen Enter, and on the second screen selection target control second input;Obtain the corresponding image of the source control;By described image Size adjusting be and the matched first size of target widget size;Display unit 906 is controlled by the target widget Background skin is switched to the described image adjusted with the first size.
Terminal provided in an embodiment of the present invention selects the first input of source control by receiving on the first screen, and The second input of selection target control on the second screen;The corresponding image of acquisition source control;By the size adjusting of image be with The matched first size of target widget size;The background skin of target widget is switched to the figure adjusted with first size Switching to target widget background skin can be completed without carrying out changing interface in picture, operates and convenient is able to ascend making for user With experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 901 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 910 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 901 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 901 can also by wireless communication system and network and other set Standby communication.
Terminal provides wireless broadband internet by network module 902 for user and accesses, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 903 can be received by radio frequency unit 901 or network module 902 or in memory 909 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 903 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 900 executes.Sound Frequency output unit 903 includes loudspeaker, buzzer and receiver etc..
Input unit 904 is for receiving audio or video signal.Input unit 904 may include graphics processor (Graphics Processing Unit, GPU) 9041 and microphone 9042, graphics processor 9041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 906.Through graphics processor 9041, treated that picture frame can be deposited Storage is sent in memory 909 (or other storage mediums) or via radio frequency unit 901 or network module 902.Mike Wind 9042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 901 is converted in the case where telephone calling model.
Terminal 900 further includes at least one sensor 905, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 9061, and proximity sensor can close display panel when terminal 900 is moved in one's ear 9061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 905 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensor etc., details are not described herein.
Display unit 906 is for showing information input by user or being supplied to the information of user.Display unit 906 can wrap Display panel 9061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 9061.
User input unit 907 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 907 include touch panel 9071 and other Input equipment 9072.Touch panel 9071, also referred to as touch screen, collect user on it or nearby touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 9071 or near touch panel 9071 Operation).Touch panel 9071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 910, receives processor 910 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 9071.In addition to touch panel 9071, user input unit 907 can also include other input equipments 9072. Specifically, other input equipments 9072 can include but is not limited to physical keyboard, function key (such as volume control button, switch Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 9071 can be covered on display panel 9061, when touch panel 9071 is detected at it On or near touch operation after, send processor 910 to determine the type of touch event, be followed by subsequent processing device 910 according to touching The type for touching event provides corresponding visual output on display panel 9061.Although in Fig. 6, touch panel 9071 and display Panel 9061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of terminal is realized so that touch panel 9071 and display panel 9061 is integrated, is not limited herein specifically It is fixed.
Interface unit 908 is the interface that external device (ED) is connect with terminal 900.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module Etc..Interface unit 908 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 900 or can be used for terminal 900 and external device (ED) it Between transmit data.
Memory 909 can be used for storing software program and various data.Memory 909 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 909 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 910 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 909, and call and be stored in memory 909 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 910 may include one Or multiple processing units;Preferably, processor 910 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 910.
Terminal 900 can also include the power supply 911 (such as battery) powered to all parts, it is preferred that power supply 911 can be with It is logically contiguous by power-supply management system and processor 910, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 900 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 910, and memory 909 is stored in storage It is real when which is executed by processor 910 on device 909 and the computer program that can be run on the processor 910 Each process of the embodiment of the method for existing above-mentioned switching background skin, and identical technical effect can be reached, to avoid repeating, this In repeat no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each mistake of the embodiment of the method for above-mentioned switching background skin when being executed by processor Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (12)

1. a kind of method for switching background skin, applied to the terminal comprising the first screen and the second screen, which is characterized in that institute The method of stating includes:
Receive the first input for selecting source control on the first screen, and on the second screen selection target control it is second defeated Enter;
Obtain the corresponding image of the source control;
It is and the matched first size of target widget size by the size adjusting of described image;
The background skin of the target widget is switched to the described image adjusted with the first size.
2. the method according to claim 1, wherein the reception selects the first of source control on the first screen Input, and the step of second of selection target control on the second screen inputs, comprising:
Receive the sliding that operating body slides into the second position on second screen from the first position on first screen Operation;
Control where the first position is determined as source control, the control where the second position is determined as target control Part.
3. the method according to claim 1, wherein described obtain the corresponding image of the source control, comprising:
Obtain the corresponding initial pictures of the source control;Alternatively,
Described image screenshot is determined as the source control pair by the image screenshot that the source control is intercepted from first screen The image answered.
4. according to the method described in claim 4, it is characterized in that, described obtain the corresponding initial pictures of the source control, packet It includes:
Determine the control mark and the application identities of the first application belonging to the source control of the source control;
From the corresponding image collection of the application identities, obtains the control and identify corresponding initial pictures.
5. the method according to claim 1, wherein the target widget includes: the background of standby interface, dialing At least one of dial key and application program homepage background in interface.
6. a kind of terminal includes the first screen and the second screen, which is characterized in that the terminal further include:
Receiving module selects mesh for receiving the first input for selecting source control on the first screen, and on the second screen Mark the second input of control;
Module is obtained, for obtaining the corresponding image of the source control;
Module is adjusted, for being and the matched first size of target widget size by the size adjusting of described image;
Switching module, it is adjusted with described in the first size for the background skin of the target widget to be switched to Image.
7. terminal according to claim 6, which is characterized in that the receiving module includes:
Slide detection sub-module slides into described second from the first position on first screen for receiving operating body The slide of the second position on screen;
Determine submodule, it, will be where the second position for the control where the first position to be determined as source control Control is determined as target widget.
8. terminal according to claim 5, which is characterized in that the acquisition module includes:
First acquisition submodule, for obtaining the corresponding initial pictures of the source control;Alternatively,
Second acquisition submodule, it is for intercepting the image screenshot of the source control from the first screen, described image screenshot is true It is set to the corresponding image of the source control.
9. terminal according to claim 8, which is characterized in that it is corresponding that first acquisition submodule obtains the source control Initial pictures when, be specifically used for:
Determine the control mark and the application identities of the first application belonging to the source control of the source control;
From the corresponding image collection of the application identities, obtains the control and identify corresponding initial pictures.
10. terminal according to claim 6, which is characterized in that the target widget includes: the background of standby interface, dials At least one of dial key and application program homepage background in number interface.
11. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place The computer program run on reason device is realized any in claim 1-5 when the computer program is executed by the processor The step of method of switching background skin described in.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the computer program realize the side of switching background skin of any of claims 1-5 when being executed by processor The step of method.
CN201811291695.8A 2018-10-31 2018-10-31 Method and terminal for switching background skin Active CN109491741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811291695.8A CN109491741B (en) 2018-10-31 2018-10-31 Method and terminal for switching background skin

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811291695.8A CN109491741B (en) 2018-10-31 2018-10-31 Method and terminal for switching background skin

Publications (2)

Publication Number Publication Date
CN109491741A true CN109491741A (en) 2019-03-19
CN109491741B CN109491741B (en) 2022-01-28

Family

ID=65693497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811291695.8A Active CN109491741B (en) 2018-10-31 2018-10-31 Method and terminal for switching background skin

Country Status (1)

Country Link
CN (1) CN109491741B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045769A (en) * 2019-11-29 2020-04-21 维沃移动通信有限公司 Background picture switching method and electronic equipment
CN113949911A (en) * 2021-10-25 2022-01-18 海信视像科技股份有限公司 Method for displaying secondary screen homepage background of display device, display device and terminal
CN114690998A (en) * 2020-12-31 2022-07-01 华为技术有限公司 Picture processing method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0760122B1 (en) * 1994-05-16 2002-01-30 Apple Computer, Inc. Switching between appearance/behavior themes in graphical user interfaces
CN102622223A (en) * 2011-02-10 2012-08-01 微软公司 Directly assigning desktop backgrounds
CN104007893A (en) * 2013-02-22 2014-08-27 三星电子株式会社 Method and apparatus for providing user interface in portable terminal
CN105260081A (en) * 2015-10-16 2016-01-20 上海卓易科技股份有限公司 Icon processing method and apparatus
CN107423034A (en) * 2016-05-23 2017-12-01 刘�文 The showing of virtual key theme, self-defined and switching mode
CN107436712A (en) * 2017-07-28 2017-12-05 腾讯科技(深圳)有限公司 To breathe out the method, apparatus and terminal of menu setting skin
CN108874495A (en) * 2018-06-25 2018-11-23 北京金山安全软件有限公司 Theme resource conversion method and device and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0760122B1 (en) * 1994-05-16 2002-01-30 Apple Computer, Inc. Switching between appearance/behavior themes in graphical user interfaces
CN102622223A (en) * 2011-02-10 2012-08-01 微软公司 Directly assigning desktop backgrounds
CN104007893A (en) * 2013-02-22 2014-08-27 三星电子株式会社 Method and apparatus for providing user interface in portable terminal
CN105260081A (en) * 2015-10-16 2016-01-20 上海卓易科技股份有限公司 Icon processing method and apparatus
CN107423034A (en) * 2016-05-23 2017-12-01 刘�文 The showing of virtual key theme, self-defined and switching mode
CN107436712A (en) * 2017-07-28 2017-12-05 腾讯科技(深圳)有限公司 To breathe out the method, apparatus and terminal of menu setting skin
CN108874495A (en) * 2018-06-25 2018-11-23 北京金山安全软件有限公司 Theme resource conversion method and device and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045769A (en) * 2019-11-29 2020-04-21 维沃移动通信有限公司 Background picture switching method and electronic equipment
CN111045769B (en) * 2019-11-29 2024-02-06 维沃移动通信有限公司 Background picture switching method and electronic equipment
CN114690998A (en) * 2020-12-31 2022-07-01 华为技术有限公司 Picture processing method and electronic equipment
CN113949911A (en) * 2021-10-25 2022-01-18 海信视像科技股份有限公司 Method for displaying secondary screen homepage background of display device, display device and terminal

Also Published As

Publication number Publication date
CN109491741B (en) 2022-01-28

Similar Documents

Publication Publication Date Title
CN109032734A (en) A kind of background application display methods and mobile terminal
CN108965608A (en) A kind of alarm clock setting method folds terminal and computer readable storage medium
CN108984067A (en) A kind of display control method and terminal
CN109388304A (en) A kind of screenshotss method and terminal device
CN109032444A (en) A kind of notification message display methods and terminal device
CN108762708A (en) A kind of display control method and terminal
CN108037871A (en) Screenshotss method and mobile terminal
CN108363524B (en) A kind of application icon display methods and mobile terminal
CN110413364A (en) A kind of information processing method and terminal
CN108287650A (en) One-handed performance method based on mobile terminal and mobile terminal
CN108491130A (en) A kind of application programe switch-over method and mobile terminal
CN110109593A (en) A kind of screenshotss method and terminal device
CN109683802A (en) A kind of icon moving method and terminal
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN107832601A (en) A kind of application control method and mobile terminal
CN108900695A (en) A kind of display processing method and terminal device
CN108898555A (en) A kind of image processing method and terminal device
CN109739407A (en) Information processing method and terminal device
CN109032468A (en) A kind of method and terminal of adjustment equipment parameter
CN108536366A (en) A kind of application window method of adjustment and terminal
CN108196757A (en) The setting method and mobile terminal of a kind of icon
CN109491741A (en) A kind of method and terminal switching background skin
CN109240575A (en) A kind of screen control method and electronic equipment
CN109254719A (en) A kind of processing method and mobile terminal of display interface
CN109388324A (en) A kind of display control method and terminal

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