CN109814966A - Start the method and apparatus of application program - Google Patents
Start the method and apparatus of application program Download PDFInfo
- Publication number
- CN109814966A CN109814966A CN201910032952.4A CN201910032952A CN109814966A CN 109814966 A CN109814966 A CN 109814966A CN 201910032952 A CN201910032952 A CN 201910032952A CN 109814966 A CN109814966 A CN 109814966A
- Authority
- CN
- China
- Prior art keywords
- starting
- window
- page
- pixel size
- control
- 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
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Present disclose provides a kind of method and apparatus for starting application program, belong to field of computer technology.The described method includes: the data that can be initialized from the background in the starting page of backstage initialized target application program, and create the window Window of presetted pixel size, then the control and UI drawn in the initialization starting page on foreground in the Window of presetted pixel size, when detecting destination application starting, data, control and the UI for obtaining initialization, are shown.Using the disclosure, the starting time of application program can be shortened.
Description
Technical field
This disclosure relates to field of computer technology, in particular to a kind of method and apparatus for starting application program.
Background technique
With the development of computer technology, various types of application programs are more and more, in application program launching, generally
Will show Splash welcome interface, loading wait interface, show starting animation etc. any one.
Since which kind of interface either shown, load control is required and carries out UI drafting, it is possible to cause to apply
Program starting is slower.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the present disclosure provides a kind of method and dress for starting application program
It sets.The technical solution is as follows:
In a first aspect, providing a kind of method for starting application program, which comprises
The data that can be initialized from the background in the starting page of backstage initialized target application program, and create presetted pixel
The window Window of size;
The control drawn in the starting page on foreground is initialized in the Window of the presetted pixel size
And UI;
When detecting destination application starting, data, control and the UI of initialization are obtained, is shown.
Optionally, the method also includes:
It initializes in the starting page after control and UI that foreground is drawn, deletes the presetted pixel
The Window of size.
Optionally, the data that can be initialized from the background in the starting page for initializing the destination application from the background
Before, further includes:
Determine that the destination application receives booting broadcast singal.
Optionally, the Window of the presetted pixel size is shown in the upper left corner area of the screen of this equipment, and with institute
Left side edge and the upper edge for stating screen are adjacent.
Optionally, described that the starting drawn on foreground is initialized in the Window of the presetted pixel size
Control and UI in the page, comprising:
According to the first face number, initializes in the Window of the presetted pixel size and opened described in being drawn on foreground
Control and UI in the dynamic page;
The method also includes:
After destination application starting, the starting page is shown with the second face digital display, wherein first face number
Less than the second face number.
Optionally, described that the starting drawn on foreground is initialized in the Window of the presetted pixel size
Control and UI in the page, comprising:
According to the first configuration information, the institute drawn on foreground is initialized in the Window of the presetted pixel size
State the control and UI in the starting page;
The method also includes:
After destination application starting, the starting page is shown with the second configuration information, wherein based on described
The quality for the starting page that each configuration item is shown in first configuration information is lower than based on each configuration item in second configuration information
The quality of the starting page of display.
Second aspect, provides a kind of device for starting application program, and described device includes:
Starting module is used for:
The data that can be initialized from the background in the starting page of backstage initialized target application program, and create presetted pixel
The window Window of size;
The control drawn in the starting page on foreground is initialized in the Window of the presetted pixel size
And UI;
Display module is used for:
When detecting destination application starting, data, control and the UI of initialization are obtained, is shown.
Optionally, the starting module, is also used to:
It initializes in the starting page after control and UI that foreground is drawn, deletes the presetted pixel
The Window of size.
Optionally, the starting module, is also used to:
Before the data that can be initialized from the background in the starting page for initializing the destination application from the background, institute is determined
It states destination application and receives booting broadcast singal.
Optionally, the starting module, is used for:
According to the first face number, initializes in the Window of the presetted pixel size and opened described in being drawn on foreground
Control and UI in the dynamic page;
The starting module, is also used to:
After destination application starting, the starting page is shown with the second face digital display, wherein first face number
Less than the second face number.
Optionally, the starting module, is used for:
According to the first configuration information, the institute drawn on foreground is initialized in the Window of the presetted pixel size
State the control and UI in the starting page;
The starting module, is also used to:
After destination application starting, the starting page is shown with the second configuration information, wherein based on described
The quality for the starting page that each configuration item is shown in first configuration information is lower than based on each configuration item in second configuration information
The quality of the starting page of display.
The technical solution bring beneficial effect that the embodiment of the present disclosure provides includes at least:
In the embodiment of the present disclosure, the number that can be initialized from the background in the starting page of backstage initialized target application program
According to, and the window Window of presetted pixel size is created, then initialization starts the page in the Window of presetted pixel size
In the control and UI drawn on foreground obtain data, the control of initialization when detecting destination application starting
And UI, it is shown.In this way, the content in the starting page of application program can be loaded in advance, without with
Family is just loaded when starting, and can shorten the starting time of application program.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the method for starting application program that the embodiment of the present disclosure provides;
Fig. 2 is a kind of schematic diagram for initialization list that the embodiment of the present disclosure provides;
Fig. 3 is a kind of structural schematic diagram of the device for starting application program that the embodiment of the present disclosure provides;
Fig. 4 is a kind of structural schematic diagram for terminal that the embodiment of the present disclosure provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party
Formula is described in further detail.
The embodiment of the present disclosure provides a kind of method for starting application program, and the executing subject of this method can be terminal,
Wherein, terminal can be with mobile phone, plate etc..
Processor, memory and transceiver etc. can be set in terminal, processor can be used for starting application program
The processing of process, memory can be used for storing the data of the data and generation that need during starting application program, transmitting-receiving
Device can be used for receiving and transmitting data.The input-output equipment such as screen are also provided in terminal, screen can be touching
Screen is touched, the starting page of application program is displayed for.
The detailed description of scheme is carried out in the embodiment of the present disclosure taking the terminal as an example, other situations are similar therewith, this
Embodiment is not repeated.
The embodiment of the present disclosure provides a kind of method for starting application program, as shown in Figure 1, the process flow of this method can
With as follows:
Step 101, the data that can be initialized from the background in the starting page of backstage initialized target application program, and create
The Window of presetted pixel size.
Wherein, presetted pixel size can be preset, and be stored in the terminal, in order to not influence the use of user, be preset
Pixel Dimensions are generally arranged smaller, such as 1*1 Pixel Dimensions.Destination application can be any in terminal to carry out just
The application program of beginningization.The starting page can be Splash and interface, loading welcome to wait interface and start any in animation
It is a kind of.
In an implementation, in backstage initialized target application program, it can control destination application and initialized on backstage
The data that can be initialized from the background of destination application, by the storage corresponding with destination application of the data after initialization, and
Presetted pixel size is obtained, the Window (window) of presetted pixel size is created.
It should be noted that due to creation being Window, so the Window of presetted pixel size is shown in screen
Front end.
Optionally, in order to timely initialize application program, the starting page of initialized target application program on backstage
Before the data that can be initialized from the background in face, it can also make the following judgment:
Determine that destination application receives booting broadcast singal.
In an implementation, after powering, system can send booting broadcast singal, target application journey to terminal to each application program
Sequence, which can also receive booting broadcast singal, can control mesh after terminal determines that destination application receives booting broadcast singal
The data that mark application program can initialize from the background in the starting page of backstage initialized target application program.
Optionally, in order to not influence the use of user, the Window of creation can be arranged in the upper left corner area of screen,
Corresponding processing can be such that
The Window of presetted pixel size is shown in the upper left corner area of the screen of this equipment, and the left side edge with screen
It is adjacent with upper edge.
In an implementation, the Window of presetted pixel size is shown in the upper left corner area of the screen of terminal, and with screen
Left side edge and the upper edge of screen are adjacent.For example, the Window of presetted pixel size is the Window of 1*1, can show
At first pixel position in the upper left corner.
In addition, equally also may be displayed on the upper right comer region of the screen of terminal, and right side edge and screen with screen
Upper edge it is adjacent.
Or it also may be displayed on the lower right field of the screen of terminal, and the downside with the right side edge of screen and screen
Edge is adjacent.
Or it also may be displayed on the lower left corner region of the screen of terminal, and the downside with the left side edge of screen and screen
Edge is adjacent.
In this way, since the fringe region of screen is generally not the touch area of user, so being shown in the upper left corner of screen
Region will not influence user's using terminal.
In addition, additionally providing the process how terminal determines destination application in the embodiment of the present disclosure:
The application program in the initialization list of this equipment is obtained, destination application is determined as.
In an implementation, initialization list setting is provided for user in the setting options in terminal, user can pass through touching
It sending out setting options and in initialization list, is provided with addition option into initialization list, user can click addition option,
Terminal can then detect the click commands of addition option, all application programs installed in display terminal, and corresponding display selection
Frame also shows confirmation key.User can select the application program to be initialized by choice box, then click confirmation
Key, terminal can then detect the click commands of confirmation key, the application program of selection be added in initialization list, example
Such as, as shown in Fig. 2, showing A application program, B application program, C application program etc. in initialization list.SS later can incite somebody to action
Application program in the initialization list of itself, is determined as destination application
In this way, the application program that user is selected, program should be had by being determined as target, can promote user experience.
In addition, terminal can be with oneself selection target application program, corresponding processing be can be such that
The application program for starting that number is more than preset threshold in preset duration before current point in time is obtained, is determined as
Destination application.
Wherein, preset duration can be preset, and be stored in the terminal, such as preset duration is 3 days.Preset threshold can be with
It is default, and store into terminal, such as 10 is inferior.
In an implementation, terminal can recorde starting and the starting time point of each application program of installation, and starting is primary to add one,
For example, user day 12 noon starts an A application program, an A application program is started at 3 points in afternoon, then this day A
The starting number of application program is 2.
Terminal is available to start the application journey that number is more than preset threshold before current point in time in preset duration
These application programs are determined as destination application by sequence.
In this way, only initialization process is carried out to the application program being commonly used, without to the application program being not frequently used
Initialization process is carried out, can not only meet user demand, but also the process resource of terminal can be saved.
It should be noted that in a step 101 backstage initialization data when, it is identical as the process of foreground initialization data,
Only one backstage, one on foreground.
Step 102, the control drawn in the initialization starting page on foreground in the Window of presetted pixel size
And UI.
In an implementation, after creating Window, it can control in destination application acquisition destination application and start page
The control and UI (User Interface, user interface) drawn in face on foreground, then control destination application
The control and UI got is initialized in the Window of presetted pixel size.By the control and UI and target application after initialization
The corresponding storage of program.
It should be noted that the process of initialization control and UI and processing when normal starting application program in the prior art
Identical, details are not described herein again.
Optionally, in order to not influence user's using terminal, the Window of creation can be deleted after initialization, it is corresponding to locate
Reason can be such that
In the initialization starting page after control and UI that foreground is drawn, presetted pixel size is deleted
Window。
In an implementation, after the control and UI drawn in the initialization starting page on foreground, terminal can be with
Control the Window that destination application deletes presetted pixel size.In this way, no longer showing presetted pixel due to after initialization
The Window of size, it is possible to not influence the use of user.
Optionally, in order to more shorten the starting duration of application program, the face number that can will start the page is reduced, and is being started
The starting page is shown with the face digital display of actual use again afterwards, corresponding processing can be such that
According to the first face number, initialization is in the starting page that foreground is drawn in the Window of presetted pixel size
Control and UI.After destination application starting, the starting page is shown with the second face digital display,
Wherein, the first face number and the second face number can be stored in advance in the terminal, and the first face number is less than the second face number.Example
Such as, the first face number is 100, and the second face number is 500 etc..
In an implementation, the available pre-stored first face number of terminal, control destination application use the first face number,
Control and UI in the Window of presetted pixel size in the initialization starting page.In this way, the starting page of target program exists
The starting page that bottom surface number is shown when just starting, can shorten starting duration.
After destination application starting, in order to not influence the normal use of user, the second face number can be used, draw again
Control and UI in the system starting page, in this way, user, which can see, normally starts the page, rather than the starting page of bottom surface number
Face, user experience are relatively good.
In addition, can also be carried out when initialization starts the control and UI in the page in the Window of presetted pixel size
Texture compression repaints the control and UI in the starting page using unpressed texture after destination application starting.
Optionally, configuration information can also be set, when starting destination application, can be started faster, accordingly
Processing can be such that
According to the first configuration information, the starting page drawn on foreground is initialized in the Window of presetted pixel size
Control and UI in face.After destination application starting, the starting page is shown with the second configuration information.
Wherein, each configuration item in the first configuration information and the second configuration information may include textures, sawtooth, illumination etc..
It is lower than based on the quality for starting the page that each configuration item in the first configuration information is shown based on each configuration item in the second configuration information
The quality of the starting page of display.For example, sawtooth is not antialiasing in the first configuration information, sawtooth is anti-in the second configuration information
Sawtooth etc..
In an implementation, available pre-stored first configuration information of terminal, control destination application use first
Configuration information, control and UI in the Window of presetted pixel size in the initialization starting page.
After destination application starting, in order to not influence the normal use of user, the second configuration information can be used, weight
The new control and UI drawn in the starting page, in this way, the first configuration information is used before destination application starts, it can be quick
Starting destination application, destination application starting after, using the second configuration information, family can be used and see clearly
Start the page.
Step 103, when detecting destination application starting, data, control and the UI of initialization is obtained, is shown
Show.
In an implementation, the subsequent desired starting destination application of user, can click the icon of destination application, terminal
It can then detect the enabled instruction of destination application, the data of the corresponding initialization of available destination application, control
It is shown with UI.
In the embodiment of the present disclosure, the number that can be initialized from the background in the starting page of backstage initialized target application program
According to, and the window Window of presetted pixel size is created, then initialization starts the page in the Window of presetted pixel size
In the control and UI drawn on foreground obtain data, the control of initialization when detecting destination application starting
And UI, it is shown.In this way, the content in the starting page of application program can be loaded in advance, without with
Family is just loaded when starting, and can shorten the starting time of application program.
Based on the same technical idea, the embodiment of the present disclosure additionally provides a kind of device for starting application program, such as Fig. 3 institute
Show, which includes:
Starting module 310, is used for:
The data that can be initialized from the background in the starting page of backstage initialized target application program, and create presetted pixel
The window Window of size;
The control drawn in the starting page on foreground is initialized in the Window of the presetted pixel size
And UI;
Display module 320, is used for:
When detecting destination application starting, data, control and the UI of initialization are obtained, is shown.
Optionally, the starting module 310, is also used to:
It initializes in the starting page after control and UI that foreground is drawn, deletes the presetted pixel
The Window of size.
Optionally, the starting module 310, is also used to:
Before the data that can be initialized from the background in the starting page for initializing the destination application from the background, institute is determined
It states destination application and receives booting broadcast singal.
Optionally, the starting module 310, is used for:
According to the first face number, initializes in the Window of the presetted pixel size and opened described in being drawn on foreground
Control and UI in the dynamic page;
The starting module 310, is also used to:
After destination application starting, the starting page is shown with the second face digital display, wherein first face number
Less than the second face number.
Optionally, the starting module 310, is used for:
According to the first configuration information, the institute drawn on foreground is initialized in the Window of the presetted pixel size
State the control and UI in the starting page;
The starting module 310, is also used to:
After destination application starting, the starting page is shown with the second configuration information, wherein based on described
The quality for the starting page that each configuration item is shown in first configuration information is lower than based on each configuration item in second configuration information
The quality of the starting page of display.
In the embodiment of the present disclosure, the number that can be initialized from the background in the starting page of backstage initialized target application program
According to, and the window Window of presetted pixel size is created, then initialization starts the page in the Window of presetted pixel size
In the control and UI drawn on foreground obtain data, the control of initialization when detecting destination application starting
And UI, it is shown.In this way, the content in the starting page of application program can be loaded in advance, without with
Family is just loaded when starting, and can shorten the starting time of application program.
It should be understood that it is provided by the above embodiment starting application program device when starting application program, only with
The division progress of above-mentioned each functional module can according to need and for example, in practical application by above-mentioned function distribution by not
Same functional module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above
Or partial function.In addition, the device of starting application program provided by the above embodiment and the method for starting application program are implemented
Example belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Fig. 4 shows the structural block diagram of the terminal 400 of an illustrative embodiment of the invention offer.The terminal 400 can be with
Be: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III,
Dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer
IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 400 be also possible to by
Referred to as other titles such as user equipment, portable terminal, laptop terminal, terminal console.
In general, terminal 400 includes: processor 401 and memory 402.
Processor 401 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 401 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 401 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 401 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 401 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 402 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 402 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 402 can
Storage medium is read for storing at least one instruction, at least one instruction performed by processor 401 for realizing this Shen
Please in embodiment of the method provide starting application program method.
In some embodiments, terminal 400 is also optional includes: peripheral device interface 403 and at least one peripheral equipment.
It can be connected by bus or signal wire between processor 401, memory 402 and peripheral device interface 403.Each peripheral equipment
It can be connected by bus, signal wire or circuit board with peripheral device interface 403.Specifically, peripheral equipment includes: radio circuit
404, at least one of touch display screen 405, camera 406, voicefrequency circuit 407, positioning component 408 and power supply 409.
Peripheral device interface 403 can be used for I/O (Input/Output, input/output) is relevant outside at least one
Peripheral equipment is connected to processor 401 and memory 402.In some embodiments, processor 401, memory 402 and peripheral equipment
Interface 403 is integrated on same chip or circuit board;In some other embodiments, processor 401, memory 402 and outer
Any one or two in peripheral equipment interface 403 can realize on individual chip or circuit board, the present embodiment to this not
It is limited.
Radio circuit 404 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates
Frequency circuit 404 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 404 turns electric signal
It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 404 wraps
It includes: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip
Group, user identity module card etc..Radio circuit 404 can be carried out by least one wireless communication protocol with other terminals
Communication.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 5G), wireless office
Domain net and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio circuit 404 may be used also
To include the related circuit of NFC (Near Field Communication, wireless near field communication), the application is not subject to this
It limits.
Display screen 405 is for showing UI (User Interface, user interface).The UI may include figure, text, figure
Mark, video and its their any combination.When display screen 405 is touch display screen, display screen 405 also there is acquisition to show
The ability of the touch signal on the surface or surface of screen 405.The touch signal can be used as control signal and be input to processor
401 are handled.At this point, display screen 405 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or
Soft keyboard.In some embodiments, display screen 405 can be one, and the front panel of terminal 400 is arranged;In other embodiments
In, display screen 405 can be at least two, be separately positioned on the different surfaces of terminal 400 or in foldover design;In still other reality
It applies in example, display screen 405 can be flexible display screen, be arranged on the curved surface of terminal 400 or on fold plane.Even, it shows
Display screen 405 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 405 can use LCD (Liquid
Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode)
Etc. materials preparation.
CCD camera assembly 406 is for acquiring image or video.Optionally, CCD camera assembly 406 include front camera and
Rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.One
In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively
Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle
Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are clapped
Camera shooting function.In some embodiments, CCD camera assembly 406 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp,
It is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for not
With the light compensation under colour temperature.
Voicefrequency circuit 407 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and will
Sound wave, which is converted to electric signal and is input to processor 401, to be handled, or is input to radio circuit 404 to realize voice communication.
For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 400 to be multiple.Mike
Wind can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 401 or radio circuit will to be come from
404 electric signal is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramic loudspeaker.When
When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, it can also be by telecommunications
Number the sound wave that the mankind do not hear is converted to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 407 can also include
Earphone jack.
Positioning component 408 is used for the current geographic position of positioning terminal 400, to realize navigation or LBS (Location
Based Service, location based service).Positioning component 408 can be the GPS (Global based on the U.S.
Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union
The positioning component of Galileo system.
Power supply 409 is used to be powered for the various components in terminal 400.Power supply 409 can be alternating current, direct current,
Disposable battery or rechargeable battery.When power supply 409 includes rechargeable battery, which can support wired charging
Or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 400 further includes having one or more sensors 410.The one or more sensors
410 include but is not limited to: acceleration transducer 411, gyro sensor 412, pressure sensor 413, fingerprint sensor 414,
Optical sensor 415 and proximity sensor 416.
The acceleration that acceleration transducer 411 can detecte in three reference axis of the coordinate system established with terminal 400 is big
It is small.For example, acceleration transducer 411 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 401 can
With the acceleration of gravity signal acquired according to acceleration transducer 411, touch display screen 405 is controlled with transverse views or longitudinal view
Figure carries out the display of user interface.Acceleration transducer 411 can be also used for the acquisition of game or the exercise data of user.
Gyro sensor 412 can detecte body direction and the rotational angle of terminal 400, and gyro sensor 412 can
To cooperate with acquisition user to act the 3D of terminal 400 with acceleration transducer 411.Processor 401 is according to gyro sensor 412
Following function may be implemented in the data of acquisition: when action induction (for example changing UI according to the tilt operation of user), shooting
Image stabilization, game control and inertial navigation.
The lower layer of side frame and/or touch display screen 405 in terminal 400 can be set in pressure sensor 413.Work as pressure
When the side frame of terminal 400 is arranged in sensor 413, user can detecte to the gripping signal of terminal 400, by processor 401
Right-hand man's identification or prompt operation are carried out according to the gripping signal that pressure sensor 413 acquires.When the setting of pressure sensor 413 exists
When the lower layer of touch display screen 405, the pressure operation of touch display screen 405 is realized to UI circle according to user by processor 401
Operability control on face is controlled.Operability control includes button control, scroll bar control, icon control, menu
At least one of control.
Fingerprint sensor 414 is used to acquire the fingerprint of user, collected according to fingerprint sensor 414 by processor 401
The identity of fingerprint recognition user, alternatively, by fingerprint sensor 414 according to the identity of collected fingerprint recognition user.It is identifying
When the identity of user is trusted identity out, the user is authorized to execute relevant sensitive operation, the sensitive operation packet by processor 401
Include solution lock screen, check encryption information, downloading software, payment and change setting etc..Terminal can be set in fingerprint sensor 414
400 front, the back side or side.When being provided with physical button or manufacturer Logo in terminal 400, fingerprint sensor 414 can be with
It is integrated with physical button or manufacturer Logo.
Optical sensor 415 is for acquiring ambient light intensity.In one embodiment, processor 401 can be according to optics
The ambient light intensity that sensor 415 acquires controls the display brightness of touch display screen 405.Specifically, when ambient light intensity is higher
When, the display brightness of touch display screen 405 is turned up;When ambient light intensity is lower, the display for turning down touch display screen 405 is bright
Degree.In another embodiment, the ambient light intensity that processor 401 can also be acquired according to optical sensor 415, dynamic adjust
The acquisition parameters of CCD camera assembly 406.
Proximity sensor 416, also referred to as range sensor are generally arranged at the front panel of terminal 400.Proximity sensor 416
For acquiring the distance between the front of user Yu terminal 400.In one embodiment, when proximity sensor 416 detects use
When family and the distance between the front of terminal 400 gradually become smaller, touch display screen 405 is controlled from bright screen state by processor 401
It is switched to breath screen state;When proximity sensor 416 detects user and the distance between the front of terminal 400 becomes larger,
Touch display screen 405 is controlled by processor 401 and is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal 400 of structure shown in Fig. 4, can wrap
It includes than illustrating more or fewer components, perhaps combine certain components or is arranged using different components.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all spirit in the disclosure and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the protection scope of the disclosure.
Claims (11)
1. a kind of method for starting application program, which is characterized in that the described method includes:
The data that can be initialized from the background in the starting page of backstage initialized target application program, and create presetted pixel size
Window Window;
Initialized in the Window of the presetted pixel size control drawn in the starting page on foreground and
User interface UI;
When detecting destination application starting, data, control and the UI of initialization are obtained, is shown.
2. the method according to claim 1, wherein the method also includes:
It initializes in the starting page after control and UI that foreground is drawn, deletes the presetted pixel size
Window.
3. method according to claim 1 or 2, which is characterized in that described to initialize the destination application from the background
The starting page in front of the data that can initialize from the background, further includes:
Determine that the destination application receives booting broadcast singal.
4. method according to claim 1 or 2, which is characterized in that the Window of the presetted pixel size is shown in this
The upper left corner area of the screen of equipment, and it is adjacent with the left side edge of the screen and upper edge.
5. method according to claim 1 or 2, which is characterized in that described in the Window of the presetted pixel size
Initialize control and UI in the starting page that foreground is drawn, comprising:
According to the first face number, the starting page drawn on foreground is initialized in the Window of the presetted pixel size
Control and UI in face;
The method also includes:
After destination application starting, the starting page is shown with the second face digital display, wherein first face number is less than
Second face number.
6. method according to claim 1 or 2, which is characterized in that described in the Window of the presetted pixel size
Initialize control and UI in the starting page that foreground is drawn, comprising:
According to the first configuration information, initializes in the Window of the presetted pixel size and opened described in being drawn on foreground
Control and UI in the dynamic page;
The method also includes:
After destination application starting, the starting page is shown with the second configuration information, wherein be based on described first
The quality for the starting page that each configuration item is shown in configuration information is lower than to be shown based on each configuration item in second configuration information
Starting the page quality.
7. a kind of device for starting application program, which is characterized in that described device includes:
Starting module is used for:
The data that can be initialized from the background in the starting page of backstage initialized target application program, and create presetted pixel size
Window Window;
Initialized in the Window of the presetted pixel size control drawn in the starting page on foreground and
User interface UI;
Display module is used for:
When detecting destination application starting, data, control and the UI of initialization are obtained, is shown.
8. device according to claim 7, which is characterized in that the starting module is also used to:
It initializes in the starting page after control and UI that foreground is drawn, deletes the presetted pixel size
Window.
9. device according to claim 7 or 8, which is characterized in that the starting module is also used to:
Before the data that can be initialized from the background in the starting page for initializing the destination application from the background, the mesh is determined
Mark application program receives booting broadcast singal.
10. device according to claim 7 or 8, which is characterized in that the starting module is used for:
According to the first face number, the starting page drawn on foreground is initialized in the Window of the presetted pixel size
Control and UI in face;
The starting module, is also used to:
After destination application starting, the starting page is shown with the second face digital display, wherein first face number is less than
Second face number.
11. device according to claim 7 or 8, which is characterized in that the starting module is used for:
According to the first configuration information, initializes in the Window of the presetted pixel size and opened described in being drawn on foreground
Control and UI in the dynamic page;
The starting module, is also used to:
After destination application starting, the starting page is shown with the second configuration information, wherein be based on described first
The quality for the starting page that each configuration item is shown in configuration information is lower than to be shown based on each configuration item in second configuration information
Starting the page quality.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910032952.4A CN109814966A (en) | 2019-01-14 | 2019-01-14 | Start the method and apparatus of application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910032952.4A CN109814966A (en) | 2019-01-14 | 2019-01-14 | Start the method and apparatus of application program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109814966A true CN109814966A (en) | 2019-05-28 |
Family
ID=66604301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910032952.4A Pending CN109814966A (en) | 2019-01-14 | 2019-01-14 | Start the method and apparatus of application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109814966A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929532A (en) * | 2012-09-29 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Application program starting method and communication terminal |
CN104166569A (en) * | 2014-08-15 | 2014-11-26 | 北京彩云动力教育科技有限公司 | Front-end page loading method and system |
CN108647050A (en) * | 2018-03-27 | 2018-10-12 | 广东欧珀移动通信有限公司 | Application program launching method, device and mobile terminal |
CN108804153A (en) * | 2018-05-21 | 2018-11-13 | Oppo广东移动通信有限公司 | Preloading method, apparatus, storage medium and the terminal of application program |
-
2019
- 2019-01-14 CN CN201910032952.4A patent/CN109814966A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929532A (en) * | 2012-09-29 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Application program starting method and communication terminal |
CN104166569A (en) * | 2014-08-15 | 2014-11-26 | 北京彩云动力教育科技有限公司 | Front-end page loading method and system |
CN108647050A (en) * | 2018-03-27 | 2018-10-12 | 广东欧珀移动通信有限公司 | Application program launching method, device and mobile terminal |
CN108804153A (en) * | 2018-05-21 | 2018-11-13 | Oppo广东移动通信有限公司 | Preloading method, apparatus, storage medium and the terminal of application program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108401124B (en) | Video recording method and device | |
CN109977333A (en) | Webpage display process, device, computer equipment and storage medium | |
CN108762881B (en) | Interface drawing method and device, terminal and storage medium | |
CN108391171A (en) | Control method and device, the terminal of video playing | |
CN107888968A (en) | Player method, device and the computer-readable storage medium of live video | |
CN110022489A (en) | Video broadcasting method, device and storage medium | |
CN108563377A (en) | The method and apparatus that switching shows the page | |
CN110333834A (en) | Frame frequency method of adjustment and device, display equipment, computer readable storage medium | |
CN110121094A (en) | Video is in step with display methods, device, equipment and the storage medium of template | |
CN108965922A (en) | Video cover generation method, device and storage medium | |
CN108900925A (en) | The method and apparatus of live streaming template are set | |
CN108845777B (en) | Method and device for playing frame animation | |
CN110288689A (en) | The method and apparatus that electronic map is rendered | |
CN109525900A (en) | Method, apparatus, terminal and the storage medium of watermark are added in video | |
CN110032384A (en) | Method, apparatus, equipment and the storage medium of resource updates | |
CN110677713B (en) | Video image processing method and device and storage medium | |
CN109102811A (en) | Generation method, device and the storage medium of audio-frequency fingerprint | |
CN108734662A (en) | The method and apparatus for showing icon | |
CN109614563A (en) | Show method, apparatus, equipment and the storage medium of webpage | |
CN109783176A (en) | Switch the method and apparatus of the page | |
CN110244999A (en) | Control method, apparatus, equipment and the storage medium of destination application operation | |
CN110045958A (en) | Data texturing generation method, device, storage medium and equipment | |
CN111884913B (en) | Message prompting method, device, terminal and storage medium | |
CN110297684A (en) | Theme display methods, device and storage medium based on virtual portrait | |
CN109033473A (en) | Picture sharing method, device 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: 20190528 |
|
RJ01 | Rejection of invention patent application after publication |