CN110225205A - Initial subject setting method, mobile terminal and computer readable storage medium - Google Patents
Initial subject setting method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN110225205A CN110225205A CN201910563493.2A CN201910563493A CN110225205A CN 110225205 A CN110225205 A CN 110225205A CN 201910563493 A CN201910563493 A CN 201910563493A CN 110225205 A CN110225205 A CN 110225205A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- initial subject
- code name
- theme code
- version
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Abstract
The invention discloses a kind of initial subject setting method, mobile terminal and computer readable storage medium, the initial subject setting method includes: to obtain the theme code name of mobile terminal when detecting booting design wizard starting;According to preset fitting relation, the corresponding target initial subject of the theme code name is determined;The target initial subject is set by the current theme of mobile terminal.Through the invention, for user when first time is by mobile terminal-opening, corresponding initial subject can be arranged according to the theme code name of itself in mobile terminal, more arrange in pairs or groups so that mobile terminal is presented to user's theme for the first time with its appearance.
Description
Technical field
The present invention relates to technical field of mobile terminals more particularly to initial subject setting methods, mobile terminal and computer
Readable storage medium storing program for executing.
Background technique
Currently, major cell phone manufacturer is in order to meet user to the aesthetic requirement of cell phone appearance, the mobile phone of same model is had
Different appearance settings, for selection by the user.Such as the mobile phone of same model has white, black, red three kinds of appearances setting.
Although the same colorful multiplicity of cell phone appearance, its theme that is switched on is the same, and user is caused to take new cell-phone
When booting, some appearance colors are adapted to booting theme, some appearance colors and booting theme are uncoordinated.
Summary of the invention
The main purpose of the present invention is to provide a kind of initial subject setting method, mobile terminal and computer-readable storages
Medium, it is intended to solve mobile phone power-on theme in the prior art and the uncoordinated technical problem of its appearance color.
To achieve the above object, the present invention provides a kind of initial subject setting method, the initial subject setting method packet
It includes:
When detecting booting design wizard starting, the theme code name of mobile terminal is obtained;
According to preset fitting relation, the corresponding target initial subject of the theme code name is determined;
The target initial subject is set by the current theme of mobile terminal.
Optionally, described when detecting booting design wizard starting, the step of determining the appearance type of mobile terminal
Before, further includes:
Obtain and store the fitting relation of the corresponding initial subject of each theme code name.
Optionally, described when detecting booting design wizard starting, the step of obtaining the theme code name of mobile terminal packet
It includes:
When detecting booting design wizard starting, preset theme generation is read from the persist subregion of mobile terminal
Number.
Optionally, the step of reading preset theme code name in the persist subregion from mobile terminal include:
Whether the system version for detecting mobile terminal is default version or the version before default version;
If the system version of mobile terminal is default version or the version before default version, from mobile terminal
Preset theme code name is read in persist subregion.
Optionally, the system version of the detection mobile terminal whether be default version or before version the step of it
Afterwards, further includes:
If the system version of mobile terminal is the version after default version, start factory mode;
Call the Service of the factory mode;
After calling successfully, the pre-setting method in the Service is called to read from the persist subregion of mobile terminal in advance
The theme code name set.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal include: memory,
The initial subject setting program that processor and being stored in can be run on the memory and on the processor, the initial master
The step of topic setting program realizes initial subject setting method as described above when being executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Initial subject setting program is stored on storage medium, the initial subject setting program realizes institute as above when being executed by processor
The step of initial subject setting method stated.
In the present invention, when detecting booting design wizard starting, the theme code name of mobile terminal is obtained;According to preset
Fitting relation determines the corresponding target initial subject of the theme code name;The mesh is set by the current theme of mobile terminal
Mark initial subject.Through the invention, user is when first time is by mobile terminal-opening, and mobile terminal can be according to itself theme
Corresponding initial subject is arranged in code name, more arranges in pairs or groups so that mobile terminal is presented to user's theme for the first time with its appearance.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of initial subject setting method first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
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.
In the embodiment of the present invention, initial subject setting method is applied to mobile terminal, which can be with various shapes
Formula is implemented.For example, mobile terminal involved in the present invention may include such as mobile phone, tablet computer, laptop, palm
The mobile terminals such as computer, personal digital assistant (Personal Digital Assistant, PDA).
It will be illustrated by taking tablet computer 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 other types of mobile whole
End.
Referring to Fig. 1, the hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention, the 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, storage
The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that terminal structure shown in Fig. 1
The restriction to mobile terminal is not constituted, mobile terminal may include components more more or fewer than diagram, or combine certain
Component or different component layouts.
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 terminal 100 executes can also be provided (for example, call signal receives sound, message connects
Quiet down 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 terminal 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 terminal, 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 generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 107 may include touch panel 1071 and its
His input equipment 1072.Touch panel 1071, also referred to as touch screen collect the touch operation (ratio of user on it or nearby
Such as user is using finger, stylus any suitable object or attachment on touch panel 1071 or near touch panel 1071
Operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detecting apparatus
With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring
Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted
At contact coordinate, then processor 110 is given, and order that processor 110 is sent can be received and executed.Furthermore, it is possible to adopt
Touch panel 1071 is realized with 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 to main screen page display terminal whole
Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation
Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing
Device mainly handles 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.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 109 of computer storage medium
Believe that program is arranged in module, Subscriber Interface Module SIM and initial subject, processor 110 can be used for calling to be stored in memory 109
Initial subject program is set, and execute following steps:
When detecting booting design wizard starting, the theme code name of mobile terminal is obtained;
According to preset fitting relation, the corresponding target initial subject of the theme code name is determined;
The target initial subject is set by the current theme of mobile terminal.
Further, processor 110 can be used for calling the initial subject stored in memory 109 that program is arranged, and also hold
Row following steps:
Obtain and store the fitting relation of the corresponding initial subject of each theme code name.
Further, processor 110 can be used for calling the initial subject stored in memory 109 that program is arranged, and also hold
Row following steps:
When detecting booting design wizard starting, preset theme generation is read from the persist subregion of mobile terminal
Number.
Further, processor 110 can be used for calling the initial subject stored in memory 109 that program is arranged, and also hold
Row following steps:
Whether the system version for detecting mobile terminal is default version or the version before default version;
If the system version of mobile terminal is default version or the version before default version, from mobile terminal
Preset theme code name is read in persist subregion.
Further, processor 110 can be used for calling the initial subject stored in memory 109 that program is arranged, and also hold
Row following steps:
If the system version of mobile terminal is the version after default version, start factory mode;
Call the Service of the factory mode;
After calling successfully, the pre-setting method in the Service is called to read from the persist subregion of mobile terminal in advance
The theme code name set.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
It is the flow diagram of initial subject setting method first embodiment of the present invention referring to Fig. 3, Fig. 3.
In one embodiment, initial subject setting method includes:
Step S10 obtains the theme code name of mobile terminal when detecting booting design wizard starting;
In the present embodiment, initial subject setting method is applied to mobile terminal, and mobile terminal can be mobile phone, plate etc. and set
It is standby.
In the present embodiment, scene can be user for the first time by mobile terminal-opening when, the booting of mobile terminal is to water conservancy diversion
After Cheng Qidong or mobile terminal are resumed default setting, when being switched on for the first time, the booting design wizard of mobile terminal is opened
It is dynamic.When detecting booting design wizard starting, the theme code name of mobile terminal is obtained.
In the present embodiment, the theme code name of the mobile terminal of different appearance types is different.Wherein it is possible to from screen shape,
Border color distinguishes the appearance type of mobile terminal.For example, " Liu Haiping " (Liu Haiping refer to right above mobile phone screen due to
A kind of handset solution pursuing ultimate attainment frame and using is gained the name because being similar to bang) the theme code name of mobile terminal is
" 001 ", " water droplet screen " (water droplet screen is also known as water droplet and shields comprehensively, is a kind of mobile phone display screen solution.Water droplet screen is not a kind of
Screen glass material;But named from shape, technique, it is to be used right above mobile phone screen due to pursuing ultimate attainment frame
A kind of mobile phone display screen solution is obtained because of the general size of non-display area and water droplet that screen top is camera reservation
Name) the theme code name of mobile terminal is " 002 ", the theme code name of the mobile terminal of red frame is " 003 ", the shifting of dark border
The theme code name of dynamic terminal is " 004 ", and the theme code name of the mobile terminal of white frame is " 005 ".It should be noted that mobile
The appearance type of terminal and the corresponding relationship of its theme code name be not limited to it is above-mentioned enumerate several, can be set according to actual needs
The appearance type of mobile terminal and the corresponding relationship of its theme code name.
According to the corresponding relationship of the appearance type of the mobile terminal set and its theme code name, can go out in mobile terminal
Before factory, the theme code name of each mobile terminal is stored into its storage region.Specifically, can be by the master of each mobile terminal
Topic code name is stored into the persist subregion of its storage region.Wherein, persist subregion is for saving FRP (factory
Reset protcect) function uses the shielded information such as account number, password, it avoids being emptied after factory reset.Its
In, theme code name is written in persist subregion, the wiring method of high pass and MTK platform is different, can be with by taking high pass as an example
Using QPST tool, port is then chosen, executes send diag Command, input DM instruction, order parameter is exactly corresponding
Code name, so that it may which the respective file in persist subregion is written into corresponding theme code name.
In one alternative embodiment, when user's first time is by Liu Haiping mobile terminal-opening, when the theme service of mobile terminal
When using detecting booting design wizard starting, mobile terminal is obtained from the persist subregion of the storage region of mobile terminal
Theme code name " 001 ".
In another alternative embodiment, user for the first time by the mobile terminal-opening of dark border when, as the master of mobile terminal
Topic, which is served by, detects that acquisition moves from the persist subregion of the storage region of mobile terminal when being switched on design wizard starting
The theme code name " 004 " of dynamic terminal.
Step S20 determines the corresponding target initial subject of the theme code name according to preset fitting relation;
In the present embodiment, fitting relation refers to the mapping relations of each theme code name and initial subject file, for example, main
Topic code name " 001 " is corresponding with initial subject 1, and theme code name " 002 " is corresponding with initial subject 2, theme code name " 003 " and initial master
Topic 3 is corresponding, and theme code name " 004 " is corresponding with initial subject 4, and theme code name " 005 " is corresponding with initial subject 5.Fitting relation is pre-
It is first stored in the storage region of mobile terminal, and in order to avoid being stored in the adaptation in storage region after factory reset
Relationship is emptied, which can be stored in the persist subregion of storage region.Initial subject setting i.e. of the present invention
In one embodiment of method, before step S10, further includes: obtain and store the corresponding initial subject of each theme code name
Fitting relation.
Above-mentioned fitting relation can also be stored in addition to can store in the persist subregion of mobile terminal storage region
On the server, for when needed, the fitting relation being read from server.
After determining the theme code name of mobile terminal, based on preset fitting relation, that is, it can determine that theme code name is corresponding
Target initial subject.For example, if theme code name be " 001 ", it is determined that target initial subject be initial subject 1;If theme
Code name be " 002 ", it is determined that target initial subject be initial subject 2;If theme code name be " 003 ", it is determined that target at the beginning of
Beginning theme is initial subject 3 ...
The current theme of mobile terminal is set the target initial subject by step S30.
In the present embodiment, the corresponding initial subject file of each initial subject is stored in advance.Determining target initial subject
Afterwards, the corresponding initial subject file of the target initial subject is loaded, further for setting the current theme of mobile terminal to
The target initial subject.For example, the target initial subject determined is initial subject 1, then the corresponding initial master of initial subject 1 is loaded
File 1 is inscribed, for setting initial subject 1 for the current theme of mobile terminal.In the present embodiment, each initial subject file can
To be stored in the persist subregion of mobile terminal storage region, can also store on the server.
In the present embodiment, when detecting booting design wizard starting, the theme code name of mobile terminal is obtained;According to preset
Fitting relation, determine the corresponding target initial subject of the theme code name;Set described for the current theme of mobile terminal
Target initial subject.Through this embodiment, user is when first time is by mobile terminal-opening, mobile terminal can according to itself
Corresponding initial subject is arranged in theme code name, more arranges in pairs or groups so that mobile terminal is presented to user's theme for the first time with its appearance.
Further, in one embodiment of initial subject setting method of the present invention, step S10 includes:
When detecting booting design wizard starting, preset theme generation is read from the persist subregion of mobile terminal
Number.
In the present embodiment, can be set according to actual needs the appearance type (color, screen shape etc.) of mobile terminal with
The corresponding relationship of its theme code name.According to the corresponding relationship of the appearance type of the mobile terminal set and its theme code name, i.e.,
The theme code name of each mobile terminal can be stored into its storage region before mobile terminal factory.Specifically, can will be each
The theme code name of a mobile terminal is stored into the persist subregion of its storage region.Wherein, persist subregion is for protecting
It deposits FRP (factory reset protcect) function and uses the shielded information such as account number, password, avoid setting in recovery factory
It postpones and is emptied.To be read from the persist subregion of mobile terminal preset when detecting booting design wizard starting
Theme code name.
Further, in one embodiment of initial subject setting method of the present invention, the persist subregion from mobile terminal
Middle the step of reading preset theme code name includes:
Whether the system version for detecting mobile terminal is default version or the version before default version;
If the system version of mobile terminal is default version or the version before default version, from mobile terminal
Preset theme code name is read in persist subregion.
In the present embodiment, the work that preset theme code name is read from the persist subregion of mobile terminal is taken by theme
Business application is completed.But theme is served by an only common APP, Android O or before version in, Ke Yizhi
Connect the file read under persist subregion;But since Android P, system limits common APP and reads persist subregion
Permission.Whether the system version for therefore first determining whether mobile terminal is to preset version or the version before default version,
In preset version refer to Android O (i.e. the formal version of Android 8.0, formal name are as follows: Android Oreo);If
The system version of mobile terminal is default version or the version before default version, then be served by can be directly from shifting for theme
Preset theme code name is read in the persist subregion of dynamic terminal.
Further, in one embodiment of initial subject setting method of the present invention, in the system version of the detection mobile terminal
After the step of whether this is default version or version before, further includes:
If the system version of mobile terminal is the version after default version, start factory mode;
Call the Service of the factory mode;
After calling successfully, the pre-setting method in the Service is called to read from the persist subregion of mobile terminal in advance
The theme code name set.
In the present embodiment, since since Android P, system limits the power that common APP reads persist subregion
Limit, it is therefore desirable to be read in persist subregion by other methods and read preset theme code name.In the present embodiment, work as movement
The system version of terminal is the version after default version, i.e., the system version of mobile terminal be Android O version it
Version afterwards can then be called by enabling factory mode, when theme is served by and needs to read persist subregion
The Service of factory mode, after successful connection, so that it may call the method in Service from the persist of mobile terminal points
Preset theme code name is read in area.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with initial subject setting program, initial subject setting program realizes that initial subject as above is set when being executed by processor
The step of setting method each embodiment.
Each implementation of the specific embodiment of computer readable storage medium of the present invention and above-mentioned initial subject setting method
Example is essentially identical, and this will not be repeated here.
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 system 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 system 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 system.
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 one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of initial subject setting method, which is characterized in that the initial subject setting method includes:
When detecting booting design wizard starting, the theme code name of mobile terminal is obtained;
According to preset fitting relation, the corresponding target initial subject of the theme code name is determined;
The target initial subject is set by the current theme of mobile terminal.
2. initial subject setting method as described in claim 1, which is characterized in that ought detect booting design wizard described
When starting, before the step of determining the appearance type of mobile terminal, further includes:
Obtain and store the fitting relation of the corresponding initial subject of each theme code name.
3. initial subject setting method as described in claim 1, which is characterized in that described to detect that booting design wizard opens
When dynamic, the step of obtaining the theme code name of mobile terminal, includes:
When detecting booting design wizard starting, preset theme code name is read from the persist subregion of mobile terminal.
4. initial subject setting method as claimed in claim 3, which is characterized in that described from the persist of mobile terminal points
The step of preset theme code name is read in area include:
Whether the system version for detecting mobile terminal is default version or the version before default version;
If the system version of mobile terminal is default version or the version before default version, from mobile terminal
Preset theme code name is read in persist subregion.
5. initial subject setting method as claimed in claim 4, which is characterized in that in the system version of the detection mobile terminal
After the step of whether this is default version or version before, further includes:
If the system version of mobile terminal is the version after default version, start factory mode;
Call the Service of the factory mode;
After calling successfully, the pre-setting method in the Service is called to read from the persist subregion of mobile terminal preset
Theme code name.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes: memory, processor and is stored in the storage
On device and the initial subject setting program that can run on the processor, initial subject setting program is by the processor
Following steps are realized when execution:
When detecting booting design wizard starting, the theme code name of mobile terminal is obtained;
According to preset fitting relation, the corresponding target initial subject of the theme code name is determined;
The target initial subject is set by the current theme of mobile terminal.
7. mobile terminal as claimed in claim 6, which is characterized in that the initial subject setting program is held by the processor
Following steps are also realized when row:
Obtain and store the fitting relation of the corresponding initial subject of each theme code name.
8. mobile terminal as claimed in claim 6, which is characterized in that the initial subject setting program is held by the processor
Following steps are also realized when row:
When detecting booting design wizard starting, preset theme code name is read from the persist subregion of mobile terminal.
9. mobile terminal as claimed in claim 6, which is characterized in that the initial subject setting program is held by the processor
The step of initial subject setting method as described in claim 4 or 5 is also realized when row.
10. a kind of computer readable storage medium, which is characterized in that be stored with initial master on the computer readable storage medium
Topic setting program, the initial subject setting program are realized as described in any one of claims 1 to 5 when being executed by processor
The step of initial subject setting method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910563493.2A CN110225205A (en) | 2019-06-26 | 2019-06-26 | Initial subject setting method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910563493.2A CN110225205A (en) | 2019-06-26 | 2019-06-26 | Initial subject setting method, mobile terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110225205A true CN110225205A (en) | 2019-09-10 |
Family
ID=67814872
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910563493.2A Pending CN110225205A (en) | 2019-06-26 | 2019-06-26 | Initial subject setting method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110225205A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100432902B1 (en) * | 2001-11-23 | 2004-05-22 | 에스케이 텔레콤주식회사 | A method for setting up theme picture of wireless telecommunication terminal |
CN109101293A (en) * | 2018-08-01 | 2018-12-28 | Oppo(重庆)智能科技有限公司 | Theme configuration method and device, electronic equipment, computer readable storage medium |
CN109525729A (en) * | 2018-11-27 | 2019-03-26 | Oppo(重庆)智能科技有限公司 | Theme colors match control method, device, system and computer-readable storage medium |
CN109587324A (en) * | 2018-09-21 | 2019-04-05 | 招商证券股份有限公司 | A kind of method and device being adapted to mobile terminal topic according to mobile terminal case |
-
2019
- 2019-06-26 CN CN201910563493.2A patent/CN110225205A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100432902B1 (en) * | 2001-11-23 | 2004-05-22 | 에스케이 텔레콤주식회사 | A method for setting up theme picture of wireless telecommunication terminal |
CN109101293A (en) * | 2018-08-01 | 2018-12-28 | Oppo(重庆)智能科技有限公司 | Theme configuration method and device, electronic equipment, computer readable storage medium |
CN109587324A (en) * | 2018-09-21 | 2019-04-05 | 招商证券股份有限公司 | A kind of method and device being adapted to mobile terminal topic according to mobile terminal case |
CN109525729A (en) * | 2018-11-27 | 2019-03-26 | Oppo(重庆)智能科技有限公司 | Theme colors match control method, device, system and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109710135A (en) | Split screen display available control method, terminal and computer readable storage medium | |
CN108391025A (en) | A kind of network access management method, mobile terminal and computer readable storage medium | |
CN110381201A (en) | Screen management method, mobile terminal and computer readable storage medium | |
CN109684023A (en) | Multi-screen display method, terminal and the storage medium of application program | |
CN110187943A (en) | A kind of record screen method, terminal and computer readable storage medium | |
CN108965602A (en) | Application program display methods, mobile terminal and computer readable storage medium | |
CN109739571A (en) | Application program launching method, mobile terminal and computer readable storage medium | |
CN109769067A (en) | Terminal screen method for handover control, terminal and computer readable storage medium | |
CN108833690A (en) | authority control method, terminal and computer readable storage medium | |
CN110187808A (en) | Dynamic wallpaper setting method, device and computer readable storage medium | |
CN107247606A (en) | Application management method, device and computer-readable recording medium | |
CN110069167A (en) | Touch point sweep-out method, mobile terminal and computer readable storage medium | |
CN109618049A (en) | Terminal screen method for handover control, terminal and computer readable storage medium | |
CN108776600A (en) | Application program pretrigger method, mobile terminal and computer readable storage medium | |
CN109462700A (en) | A kind of call method, mobile terminal and computer readable storage medium | |
CN109542325A (en) | Double-sided screen touch control method, double-sided screen terminal, readable storage medium storing program for executing | |
CN107493396A (en) | Button screen method, terminal and computer-readable recording medium | |
CN109977040A (en) | File read-write authority control method, device, terminal and storage medium | |
CN109739346A (en) | A kind of key simulating method, double screen terminal and computer readable storage medium | |
CN109445660A (en) | A kind of wearable device control method, mobile terminal and wearable device | |
CN108881542A (en) | Mobile terminal call method, mobile terminal and computer readable storage medium | |
CN107682523A (en) | The dialing process method and mobile terminal of a kind of mobile terminal | |
CN110174934A (en) | A kind of power button device and mobile terminal | |
CN110099173A (en) | Method, terminal and the storage medium of touch experience pattern switching | |
CN109684020A (en) | A kind of method for switching theme, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190910 |
|
RJ01 | Rejection of invention patent application after publication |