[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110018772A - A kind of wallpaper setting method, terminal and computer readable storage medium - Google Patents

A kind of wallpaper setting method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110018772A
CN110018772A CN201910138741.9A CN201910138741A CN110018772A CN 110018772 A CN110018772 A CN 110018772A CN 201910138741 A CN201910138741 A CN 201910138741A CN 110018772 A CN110018772 A CN 110018772A
Authority
CN
China
Prior art keywords
wallpaper
target
state
preset
target component
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
CN201910138741.9A
Other languages
Chinese (zh)
Other versions
CN110018772B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910138741.9A priority Critical patent/CN110018772B/en
Publication of CN110018772A publication Critical patent/CN110018772A/en
Application granted granted Critical
Publication of CN110018772B publication Critical patent/CN110018772B/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
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of wallpaper setting method, terminal and computer readable storage mediums, this method by being arranged an at least preset wallpaper in the terminal, and each wallpaper in preset wallpaper is divided at least two preset states, corresponding wallpaper under at least two preset states is stored respectively, and preset state is related to the display state of mobile terminal;The page is set into wallpaper, the dbjective state and target component of setting wallpaper needed for determining;According to the corresponding relationship of dbjective state and preset state, the corresponding target wallpaper of dbjective state is determined;Target wallpaper is adjusted according to target component, and is loaded on display screen and is shown;Existing mobile terminal is solved when switching different display states, shows the problem of wallpaper can not be adapted to display state.The invention also discloses a kind of equipment and computer readable storage mediums to solve current mobile terminal when switching display state, show the problem of wallpaper is not adapted to by implementing above scheme.

Description

A kind of wallpaper setting method, terminal and computer readable storage medium
Technical field
The present invention relates to terminal applies fields, can more specifically to a kind of wallpaper setting method, terminal and computer Read storage medium.
Background technique
With the development of electronic technology, smart phone and mobile device are more more and more universal, while with present screen skill The development of art makes the screen accounting of present smart phone higher and higher using the display screen of COF technique and COP technique, and It in order to guarantee good gripping feel and better perception, and realizes maximally utilizing for mobile phone screen, leads to current intelligence The length-width ratio of the display screen carried on the energy mobile terminals such as mobile phone and Intelligent flat becomes increasing, the length direction of display screen More and more greatly different with the difference of width direction, which results in current many mobile terminals in order to guarantee that desktop shows wallpaper Integrality and display effect, when terminal is for desktop, support screen does not show the switching of state, such as common transverse screen and perpendicular The switching of screen.In the terminal of some display state switchings being supported under desktop state, when display state switches over, Since the length-width ratio of display screen is excessive, the relatively good wallpaper of display effect is switched to transverse screen shape when being easy to cause in vertical screen state It will appear the problem of blackening of wallpaper two sides leaves redundant space when state, or wallpaper stretched by force, lead to the display matter of wallpaper Amount decline.
Summary of the invention
The technical problem to be solved in the present invention is that the Aspect Ratio of the display screen of current mobile terminal is excessively greatly different, lead Cause shows that wallpaper cannot well adapt to the variation of display scale during switching display state, display wallpaper occurs and shows Show the problem of state is not adapted to, for the technical problem, provides a kind of wallpaper setting method, terminal and computer-readable storage medium Matter.
In order to solve the above technical problems, the present invention provides a kind of wallpaper setting method, the wallpaper setting method includes:
An at least preset wallpaper is set in the terminal, and by each wallpaper in the preset wallpaper be divided into Few two kinds of preset states store corresponding wallpaper under at least two preset state respectively, and the preset state and movement are eventually The display state at end is related;
The page is set into wallpaper, the dbjective state and target wallpaper information and target ginseng of setting wallpaper needed for determining Number;
According to the corresponding relationship and the target wallpaper information of the dbjective state and the preset state, institute is determined State dbjective state and the corresponding target wallpaper of target wallpaper information;
The target wallpaper is adjusted according to the target component, and is loaded on display screen and is shown.
Optionally, each wallpaper by the preset wallpaper is divided at least two preset states, stores respectively Corresponding wallpaper includes: under at least two preset state
Each wallpaper in the default wallpaper is named respectively;
Obtain according at least two preset states the wallpaper under each preset state respectively to the wallpaper after name;
Corresponding wallpaper title and wallpaper, and the wallpaper got under each preset state respectively are stored as one Group.
Optionally, the dbjective state and target wallpaper information and target component of setting wallpaper needed for the determination include:
Dbjective state is determined according to the display state that the display state of mobile terminal or/basis are manually entered;
The wallpaper for being inputted or being selected according to hand determines the wallpaper information;
After determining the dbjective state, system matches suitable target component according to the dbjective state;
When user is dissatisfied to matched target component, selection manually adjusts target component, and to target adjusted Parameter is updated.
Optionally, when adjustment number of the user to target component is greater than preset value, user institute adjusted is obtained There is target component, all target components are analyzed according to presupposition analysis method, obtain adjustment target component, by the tune Whole target component is updated into the matching database of dbjective state and target component.
Optionally, described that all target components are analyzed according to presupposition analysis method, obtain adjustment target component Include:
By in all target components adjusted, the target component of identical preset state is divided into one group, respectively to each group Target component analyzed, when the target component in each group is identical or the number of identical target component is greater than present count When adjustment amount between mesh or each target component is in preset range, frequency of occurrence is done into more target components as tune Whole target component finds out being averaged for all target components of the group when the target component overwhelming majority in each group is all different Value, using the average value as adjusting parameter.
Optionally, the determination dbjective state and the corresponding target wallpaper of target wallpaper information further include: judge institute State whether the wallpaper that target wallpaper information is currently shown with the mobile terminal is same wallpaper;
When the wallpaper that the target wallpaper information and the mobile terminal are currently shown is same wallpaper, obtain current The title and store path for showing wallpaper search corresponding states according to the title of wallpaper and store path and the dbjective state Wallpaper, and the wallpaper of the corresponding states is adjusted according to the target component, and be loaded on display screen and shown Show;
When the target wallpaper information is different wallpapers from wallpaper that the mobile terminal is currently shown, from it is described The corresponding wallpaper of target wallpaper information searching inputted in the catalogue of dbjective state same state according to user, and by the correspondence Wallpaper be adjusted according to the target component, and be loaded on display screen and shown.
Optionally, described to be adjusted the target wallpaper according to the target component, and it is enterprising to be loaded into display screen After row display further include:
The title of the wallpaper shown and store path are saved.
Optionally, at least two preset state includes at least: transverse screen preset state and vertical screen preset state.
Further, the present invention also provides a kind of mobile terminal, the mobile terminal includes processor, memory and leads to Believe bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize described in any of the above-described Wallpaper setting method the step of.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize The step of wallpaper setting method described in any of the above embodiments.
Beneficial effect
The embodiment of the present invention provides a kind of wallpaper setting method, terminal and computer readable storage medium, for existing Mobile terminal shows the problem of wallpaper can not be adapted to display state, by mobile terminal when switching different display states A middle setting at least preset wallpaper, and each wallpaper in preset wallpaper is divided at least two preset states, it deposits respectively Corresponding wallpaper under at least two preset states is stored up, preset state is related to the display state of mobile terminal;It is arranged into wallpaper The page, the dbjective state and target component of setting wallpaper needed for determining;According to the corresponding relationship of dbjective state and preset state, really The corresponding target wallpaper of the state that sets the goal;Target wallpaper is adjusted according to target component, and is loaded on display screen and carries out Display.By obtaining a variety of display states of same wallpaper, and corresponding wallpaper is respectively set according to a variety of display states, solves Current mobile terminal determined when switching display state, has shown the problem of wallpaper can not be adapted to.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Fig. 2 is a kind of wallpaper setting method basic flow chart that first embodiment of the invention provides;
Fig. 3 is a kind of wallpaper setting method refined flow chart that second embodiment of the invention provides;
Fig. 4 is the structural schematic diagram for the terminal that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 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 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 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 109 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 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the method for the present invention is proposed.
First embodiment
Fig. 2 is a kind of wallpaper setting method basic flow chart provided in this embodiment, which includes:
S201, preset wallpaper is set in the terminal, preset wallpaper is handled according to preset state.
An at least preset wallpaper is set in the terminal, and each wallpaper in preset wallpaper is divided at least two Kind preset state, stores corresponding wallpaper under at least two preset states, the display state of preset state and mobile terminal respectively It is related;Under normal conditions, in mobile terminal can built-in some wallpapers, while some pictures for also user being allowed download oneself with The photo of shooting is as the wallpaper in oneself terminal, and when user determines that those pictures can be used as wallpaper, terminal can be to each It opens wallpaper to be handled, wallpaper is obtained into the wallpaper picture under the preset state according to preset state, and after the completion of acquisition, it is right The wallpaper and corresponding preset state are stored.It should be noted that in the present embodiment, terminal carries out each wallpaper The process of processing can be terminal and be automatically performed, and is also possible to user and is configured manually to wallpaper;Preset state includes at least Two preset states, the demand that the actual number of preset state can have more user are increased and decreased, and the number of preset state is more, Achievable display state is also more, and the switching and transition between each display state can also become more natural and smooth.
S202, the page is set into wallpaper, the dbjective state, target wallpaper information and target ginseng of setting wallpaper needed for determining Number.
Wallpaper is completed after the wallpaper setting under various preset states by step S201, and step S202 enters setting for wallpaper Step is set, into when wallpaper setting, it is necessary first to determine that the preset state for needing to be arranged is dbjective state, which is The state in which in the display state switching of terminal, goes back after determining dbjective state it needs to be determined that target wallpaper information, passes through mesh Mark state and target wallpaper information can just find corresponding target wallpaper;After determining dbjective state and target wallpaper information, user The parameter that wallpaper is shown can be adjusted, when user is without adjustment, the wallpaper that a default can be also arranged in system is aobvious Show parameter, which is target component.
S202, target wallpaper is determined according to dbjective state and target wallpaper information.
According to the corresponding relationship and target wallpaper information of dbjective state and preset state, dbjective state and target are determined The corresponding target wallpaper of wallpaper information;After determining dbjective state and target wallpaper information, need to find out from preset wallpaper Corresponding wallpaper, the corresponding wallpaper are target wallpaper.
S204, target wallpaper is adjusted according to target component, and is shown.
After finding target wallpaper, target wallpaper is taken out, and target wallpaper is adjusted according to target component, will be adjusted Wallpaper after the completion of whole is shown on the display screen of mobile terminal, and user is facilitated to check the setting effect of wallpaper.
In the present embodiment, each wallpaper in preset wallpaper is divided at least two preset states, store respectively to Corresponding wallpaper includes: to be named each wallpaper in default wallpaper respectively under few two kinds of preset states;After name Wallpaper obtains the wallpaper under each preset state according at least two preset states respectively;By corresponding wallpaper title and wall Paper, and the wallpaper got under each preset state respectively are stored as one group.
For the ease of the management and lookup of wallpaper, the wallpaper is named after determining that wallpaper is preset wallpaper, it is each Wallpaper corresponds to only one title, and it is corresponding that preset state and mobile terminal are in different display states, in current shifting Common display state is transverse screen display state and vertical screen display state in dynamic terminal, therefore can be with when preset state is arranged Using transverse screen preset state and vertical screen the preset state preset state most basic as two, the two basic preset states it Upper permission user customizes preset state, such as the four kinds of situations that vertical screen can be switched to during transverse screen screen are (positive to left cut Change, positive switching to the right, reversed switching to the left and reversed switch to the right) in 45 degree angles be set as preset state, determining in advance If after state, preset wallpaper is individually positioned in each preset state, usually using the peak use rate of wallpaper as placement Principle, certain user can also freely customize display picture of each wallpaper under different preset states, wallpaper is placed After obtaining corresponding display wallpaper under preset state, which is arrived in the storage of corresponding wallpaper together, in order to increase The selectable quantity of wallpaper is set, does not have a wallpaper usually all can store respectively a corresponding figure for all preset states Piece, certainly, this is also not inevitable requirement, and user can freely be configured the preset state of each picture according to demand.
In the present embodiment, the dbjective state and target wallpaper information and target component packet of setting wallpaper needed for determining It includes: determining dbjective state according to the display state of mobile terminal or according to the display state being manually entered;It is inputted or is selected according to hand The wallpaper selected determines wallpaper information;After determining dbjective state, system matches suitable target component according to dbjective state;Work as user When dissatisfied to matched target component, selection manually adjusts target component, and is updated to target component adjusted.
The dbjective state of setting wallpaper, may include that mobile terminal is detected automatically to determine, can also pass through needed for determining User is manually entered to determine.When detecting automatically using mobile terminal, the acceleration by carrying on mobile terminal is needed to pass The state that sensor detection mobile terminal is presently in, which is dbjective state, for example, when terminal is in vertical grip state When, detect that terminal is in vertical preset state, dbjective state at this time is vertical preset state;When user be manually entered it is pre- If when state, can directly input or provide using keyboard and selected for user by the way of option.
It needs to be determined that the information for the wallpaper that user currently needs to be arranged, the wallpaper information are main after determining dbjective state Title including wallpaper is also possible to the wallpaper etc. of pre-selection, such as user can be by the pre-selection wallpaper of display, required for selection The pre-selection wallpaper of setting.It should be noted that pre-selection wallpaper is not necessarily exactly target wallpaper, the purpose for preselecting wallpaper is intended merely to Understand the content of wallpaper, and convenient for user convenient for the adjustment and preview of target component, it is mobile whole after user confirms pre-selection wallpaper End is gone to search the result that corresponding wallpaper obtains according to pre-selection wallpaper and dbjective state is only target wallpaper.
After determining dbjective state and target wallpaper information, it is thus necessary to determine that target component, the target component are final Display parameters, usually after determining dbjective state and target wallpaper information system can automatically using default parameters as target component, When user is dissatisfied to matched target component, it can choose and manually adjust target component, and to target component adjusted It is updated.
In the present embodiment, when adjustment number of the user to target component is greater than preset value, it is adjusted to obtain user All target components analyze all target components according to presupposition analysis method, obtain adjustment target component, will adjust Target component is updated into the matching database of dbjective state and target component.
Multiple wallpapers can be arranged simultaneously for identical preset state in user, preset state that can also be different with hour hands Multiple wallpapers are set, or the different wallpapers of a variety of preset states are set simultaneously, when system detection to user adjusts target component It is that the matched default parameters that currently provides of determining system is not consistent with the expection of user, therefore when number is greater than preset value It needs to be adjusted matched default parameters, user's all target components adjusted is obtained at this time, according to presupposition analysis side Method analyzes these target components, and what the result obtained after analysis can compare meets the expected adjustment target of adjustment of user Parameter updates the adjustment target component into the matching database of dbjective state and target component.
For above-mentioned analysis presupposition analysis method, the present embodiment provides a kind of example of analysis method;According to presupposition analysis Method analyzes all target components, show that adjustment target component includes: the phase by all target components adjusted Target component with preset state is divided into one group, analyzes respectively each group of target component, the target in each group Parameter is identical or the number of identical target component is greater than the adjustment amount between preset number or each target component and is in pre- If when in range, frequency of occurrence is done more target components as adjustment target component, when the target component in each group is big absolutely When majority is all different, the average value of all target components of the group is found out, using the average value as adjusting parameter.It needs to illustrate It is that the example of the above-mentioned analysis method provided is not originally all analysis methods of the embodiment of the present invention, identical mesh can be being reached In the case where, other analysis methods are also applied for the embodiment of the present invention.
In the present embodiment, dbjective state and the corresponding target wallpaper of target wallpaper information are determined further include: judge target Whether the wallpaper that wallpaper information and mobile terminal are currently shown is same wallpaper;When target wallpaper information and mobile terminal are current When the wallpaper of display is same wallpaper, the title of the wallpaper is obtained, is searched and is corresponded to according to the title of wallpaper and dbjective state The wallpaper of state, and the wallpaper of corresponding states is adjusted according to target component, and be loaded on display screen and shown;When When target wallpaper information from wallpaper that mobile terminal is currently shown is different wallpapers, from the catalogue with dbjective state same state The middle corresponding wallpaper of target wallpaper information searching inputted according to user, and corresponding wallpaper is adjusted according to target component It is whole, and be loaded on display screen and shown.
If passing through dbjective state and target wall in practical applications in order to which wallpaper preset on mobile terminal relatively more The trouble that can compare when the corresponding wallpaper of paper information searching, and when searching corresponding wallpaper can in different ways into Row is searched, and gives two various modes for searching wallpaper herein.Mode one will be in wallpaper information after determining wallpaper information Wallpaper title confirmed with the wallpaper title currently shown, when title and the wallpaper that currently shows of confirmation target wallpaper When title is not identical, the target wallpaper information searching inputted from the catalogue of dbjective state same state according to user is corresponding Wallpaper, and corresponding wallpaper is adjusted according to target component, and be loaded on display screen and shown;In this approach, Due to not set mistake wallpaper before, it is therefore desirable to all wallpapers to be searched one by one to be matched, this increases the time searched, Therefore the time of wallpaper lookup can significantly be shortened by inquiring corresponding wallpaper from the catalogue of dbjective state same state at this time.Side Formula two confirms the wallpaper title in wallpaper information with the wallpaper title currently shown, after determining wallpaper information when true Recognize target wallpaper title it is identical as the title of the wallpaper currently shown when, the title of the wallpaper is obtained, according to the title of wallpaper And dbjective state searches the wallpaper of corresponding states, and the wallpaper of corresponding states is adjusted according to target component, and loads It is shown on to display screen;In this approach, since the wallpaper being arranged before, the storage road of the wallpaper can be inquired Diameter is found out the wallpaper for storing corresponding one group of preset state of the wallpaper by store path, searches mesh from this group of wallpaper The wallpaper of mark state can significantly shorten the time of wallpaper lookup.
In the present embodiment, target wallpaper is adjusted according to target component, and is loaded on display screen and is shown Afterwards further include: save the title of the wallpaper shown and store path.By the title of the wallpaper of display and storage road Diameter carry out storage can be used for it is above-mentioned be compared with target wallpaper information, convenient for searching corresponding target wallpaper, at the same by In all instances in the title and store path for being stored with wallpaper, such as need to reload wallpaper, or currently load When wallpaper damages, the replacement damage of corresponding target wallpaper can be quickly found out by the title and store path of wallpaper, need from The wallpaper newly loaded increases the reliability of mobile terminal.
The present embodiment (beneficial effect).
The embodiment of the present invention provides a kind of wallpaper setting method, by the way that an at least preset wall is arranged in the terminal Paper, and each wallpaper in preset wallpaper is divided at least two preset states, it is stored under at least two preset states respectively Corresponding wallpaper, preset state are related to the display state of mobile terminal;The page is set into wallpaper, wallpaper is set needed for determining Dbjective state and target component;According to the corresponding relationship of dbjective state and preset state, the corresponding target of dbjective state is determined Wallpaper;Target wallpaper is adjusted according to target component, and is loaded on display screen and is shown.By obtaining same wall A variety of display states of paper, and corresponding wallpaper is respectively set according to a variety of display states, it solves current mobile terminal and exists When switching display state, the problem of wallpaper can not be adapted to is shown.
Second embodiment
The implementation example that the present embodiment provides a kind of embodiment of the present invention in practical application, as shown in figure 3,
Fig. 3 is a kind of refined flow chart for wallpaper setting method that second embodiment of the invention provides, the wallpaper setting side Method includes:
S301, preset wallpaper is set in the terminal, preset wallpaper is handled according to preset state.
The vertical screen of preset various each pattern and picture in the apk of the desktop application Launcher desktop of mobile terminal Wallpaper and transverse screen wallpaper, vertical screen wallpaper must be one-to-one with transverse screen wallpaper.
S302, the page is set into wallpaper, the dbjective state and target component of setting wallpaper needed for determining.
When user setting wallpaper, first has to selection and cut the parameter (wide and height is respectively how many) of wallpaper, it is specified that going out The window parameter that wallpaper is shown, at this time we first pass through the parameter that system obtains current system window, to determine current system It in transverse screen or vertical screen, goes to cut with the parameter of transverse screen under transverse screen, goes to cut with the wallpaper of vertical screen under vertical screen.
S303, judge whether target wallpaper information is the current title for showing wallpaper;When being no, into such as step S3031;For When being, S3033 is entered step.
Determine target wallpaper and after cutting parameter, the load and lookup of wallpaper give wallpaper management service to complete, wallpaper It is currently one new wallpaper of setting that management service, which judges, still only carries out horizontal/vertical screen switching.
S3031, when target wallpaper information and current display wallpaper title difference, according to dbjective state directory search target The corresponding target wallpaper of wallpaper information.
Currently be a new wallpaper, according to transverse screen when dbjective state also in vertical screen to the corresponding catalogue of dbjective state Under, target wallpaper is searched by the wallpaper title in target wallpaper information.
S3032, the target wallpaper found is signed in into wallpaper figure layer according to target component adjustment later.
Target wallpaper is adjusted according to target component, target wallpaper is signed in into wallpaper figure layer, is shown to user, and will be current The name of the wallpaper of setting, which saves and (can be saved by file or be saved by database), gets off.
S3033, when target wallpaper information is identical as current display wallpaper title, according to the title of current display wallpaper and Store path searches the corresponding target wallpaper of dbjective state.
Corresponding target wallpaper is searched according to the title of current display wallpaper and store path and dbjective state.
S3034, the target wallpaper found is signed in into wallpaper figure layer according to target component adjustment later.
Target wallpaper is adjusted according to target component, target wallpaper is signed in into wallpaper figure layer, is shown to user, and will be current The name of the wallpaper of setting, which saves and (can be saved by file or be saved by database), gets off.
3rd embodiment
The present embodiment additionally provides a kind of mobile terminal, shown in Figure 4 comprising processor 41, memory 42 and logical Believe bus 43, in which:
Communication bus 43 is for realizing the connection communication between processor 41 and memory 42;
Processor 41 is for executing the one or more programs stored in memory 42, to realize following steps:
In the present embodiment, processor 41 is also used to execute the one or more programs stored in memory 42 and executes the present invention The step of first embodiment is to one of second embodiment wallpaper setting method in embodiment.
The embodiment of the invention also provides a kind of computer readable storage mediums, in the computer-readable recording medium storage There is one or more program, which can be executed by one or more processor, to execute the present invention The step of first embodiment is to one of second embodiment wallpaper setting method in embodiment.
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.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
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, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of wallpaper setting method, it is applied on mobile terminal, which is characterized in that the wallpaper setting method includes:
An at least preset wallpaper is set in the terminal, and each wallpaper in the preset wallpaper is divided at least two Kind of preset state, stores corresponding wallpaper under at least two preset state respectively, the preset state and mobile terminal Display state is related;
The page is set into wallpaper, the dbjective state and target wallpaper information and target component of setting wallpaper needed for determining;
According to the corresponding relationship and the target wallpaper information of the dbjective state and the preset state, the mesh is determined Mark state and the corresponding target wallpaper of target wallpaper information;
The target wallpaper is adjusted according to the target component, and is loaded on display screen and is shown.
2. wallpaper setting method as described in claim 1, which is characterized in that each wall by the preset wallpaper Paper is divided at least two preset states, stores corresponding wallpaper under at least two preset state respectively and includes:
Each wallpaper in the default wallpaper is named respectively;
Obtain according at least two preset states the wallpaper under each preset state respectively to the wallpaper after name;
By corresponding wallpaper title and wallpaper, and the wallpaper got under each preset state respectively is stored as one group.
3. wallpaper setting method as described in claim 1, which is characterized in that the dbjective state of setting wallpaper needed for the determination Include: with target wallpaper information and target component
Dbjective state is determined according to the display state of mobile terminal or according to the display state being manually entered;
The wallpaper for being inputted or being selected according to hand determines the wallpaper information;
After determining the dbjective state, system matches suitable target component according to the dbjective state;
When user is dissatisfied to matched target component, selection manually adjusts target component, and to target component adjusted It is updated.
4. wallpaper setting method as claimed in claim 3, which is characterized in that when the user is to the adjustment number of target component When greater than preset value, obtain user's all target components adjusted, according to presupposition analysis method to all target components into Row analysis, obtains adjustment target component, and the adjustment target component is updated the matched data to dbjective state and target component In library.
5. wallpaper setting method as claimed in claim 4, which is characterized in that it is described according to presupposition analysis method to all mesh Mark parameter is analyzed, and show that adjustment target component includes:
By in all target components adjusted, the target component of identical preset state is divided into one group, respectively the mesh to each group Mark parameter is analyzed, when the target component in each group is identical or the number of identical target component is greater than preset number, or When adjustment amount between each target component is in preset range, frequency of occurrence is done into more target components as adjustment target Parameter finds out the average value of all target components of the group, by this when the target component overwhelming majority in each group is all different Average value is as adjusting parameter.
6. wallpaper setting method as described in any one in claim 1-5, which is characterized in that the determination dbjective state and The corresponding target wallpaper of target wallpaper information further include: judge what the target wallpaper information and the mobile terminal were currently shown Whether wallpaper is same wallpaper;
When the wallpaper that the target wallpaper information and the mobile terminal are currently shown is same wallpaper, current display wall is obtained The title and store path of paper search the wall of corresponding states according to the title of wallpaper and store path and the dbjective state Paper, and the wallpaper of the corresponding states is adjusted according to the target component, and be loaded on display screen and shown;
When the target wallpaper information is different wallpapers from wallpaper that the mobile terminal is currently shown, from the target The corresponding wallpaper of target wallpaper information searching inputted in the catalogue of state same state according to user, and by the corresponding wall Paper is adjusted according to the target component, and is loaded on display screen and is shown.
7. wallpaper setting method as claimed in claim 6, which is characterized in that it is described by the target wallpaper according to the target Parameter is adjusted, and after being loaded into and being shown on display screen further include:
The title of the wallpaper shown and store path are saved.
8. wallpaper setting method as claimed in claim 7, which is characterized in that at least two preset state includes at least: Transverse screen preset state and vertical screen preset state.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize as appointed in claim 1 to 8 The step of wallpaper setting method described in one.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8 Any one of described in wallpaper setting method the step of.
CN201910138741.9A 2019-02-25 2019-02-25 Wallpaper setting method, terminal and computer-readable storage medium Active CN110018772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910138741.9A CN110018772B (en) 2019-02-25 2019-02-25 Wallpaper setting method, terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910138741.9A CN110018772B (en) 2019-02-25 2019-02-25 Wallpaper setting method, terminal and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN110018772A true CN110018772A (en) 2019-07-16
CN110018772B CN110018772B (en) 2022-01-25

Family

ID=67189091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910138741.9A Active CN110018772B (en) 2019-02-25 2019-02-25 Wallpaper setting method, terminal and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110018772B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111956387A (en) * 2020-07-16 2020-11-20 未来穿戴技术有限公司 Control method of massage apparatus, and computer-readable storage medium
CN112181564A (en) * 2020-09-25 2021-01-05 重庆传音通讯技术有限公司 Wallpaper generation method, mobile terminal and storage medium
CN113590069A (en) * 2021-08-10 2021-11-02 深圳传音控股股份有限公司 Switching method, mobile terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009881A (en) * 2005-12-13 2007-08-01 三星电子株式会社 Method for displaying background image in mobile communication terminal
CN101420484A (en) * 2008-11-28 2009-04-29 中兴通讯股份有限公司 Wallpaper displaying method used for mobile terminal and mobile terminal
EP2557562A1 (en) * 2011-08-08 2013-02-13 Research In Motion Limited Method and apparatus for displaying an image
CN103793151A (en) * 2012-11-05 2014-05-14 腾讯科技(深圳)有限公司 Method and device for tailoring wallpaper
CN104866273A (en) * 2015-06-15 2015-08-26 珠海全志科技股份有限公司 Wallpaper display method and device for electronic equipment
CN106681608A (en) * 2016-12-07 2017-05-17 上海传英信息技术有限公司 Method and device for setting wallpaper and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009881A (en) * 2005-12-13 2007-08-01 三星电子株式会社 Method for displaying background image in mobile communication terminal
CN101420484A (en) * 2008-11-28 2009-04-29 中兴通讯股份有限公司 Wallpaper displaying method used for mobile terminal and mobile terminal
EP2557562A1 (en) * 2011-08-08 2013-02-13 Research In Motion Limited Method and apparatus for displaying an image
CN103793151A (en) * 2012-11-05 2014-05-14 腾讯科技(深圳)有限公司 Method and device for tailoring wallpaper
CN104866273A (en) * 2015-06-15 2015-08-26 珠海全志科技股份有限公司 Wallpaper display method and device for electronic equipment
CN106681608A (en) * 2016-12-07 2017-05-17 上海传英信息技术有限公司 Method and device for setting wallpaper and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111956387A (en) * 2020-07-16 2020-11-20 未来穿戴技术有限公司 Control method of massage apparatus, and computer-readable storage medium
CN112181564A (en) * 2020-09-25 2021-01-05 重庆传音通讯技术有限公司 Wallpaper generation method, mobile terminal and storage medium
CN113590069A (en) * 2021-08-10 2021-11-02 深圳传音控股股份有限公司 Switching method, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN110018772B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
CN106227350B (en) The method and smart machine of operation control are carried out based on gesture
CN108268195A (en) One-handed performance display methods, mobile terminal and computer readable storage medium
CN109067418A (en) A kind of method of controlling antenna and mobile terminal
CN109857297B (en) Information processing method and terminal equipment
CN107943374A (en) The startup method and collapsible terminal of application program in collapsible terminal
CN109270986A (en) Flexible screen terminal and its display methods and computer readable storage medium
CN109388304A (en) A kind of screenshotss method and terminal device
EP3699743B1 (en) Image viewing method and mobile terminal
CN109639965A (en) Starting method, terminal and the computer readable storage medium of camera
CN110308837A (en) File management method and terminal
CN108898552A (en) Picture joining method, double screen terminal and computer readable storage medium
CN109558046A (en) A kind of information display method and terminal device
CN106126675A (en) A kind of method of recommendation of audio, Apparatus and system
CN109739300A (en) A kind of method of controlling antenna and terminal
CN109521937B (en) Screen display control method and mobile terminal
CN110018772A (en) A kind of wallpaper setting method, terminal and computer readable storage medium
CN109388223A (en) One kind putting out screen display method, apparatus and terminal
CN109088973B (en) Antenna control method and device and mobile terminal
CN110213412A (en) A kind of display methods and terminal
CN110442281A (en) A kind of application icon display methods and terminal
CN108200327A (en) A kind of filming control method, flexible screen terminal and computer readable storage medium
CN110515507A (en) A kind of icon display method and terminal
CN109933196A (en) A kind of screen control method, device and terminal device
CN109873901A (en) A kind of screenshot method for managing resource and terminal, computer readable storage medium
CN108228357A (en) A kind of memory method for cleaning and mobile 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