CN109885302A - A kind of methods of exhibiting and terminal device applied fastly - Google Patents
A kind of methods of exhibiting and terminal device applied fastly Download PDFInfo
- Publication number
- CN109885302A CN109885302A CN201910087292.XA CN201910087292A CN109885302A CN 109885302 A CN109885302 A CN 109885302A CN 201910087292 A CN201910087292 A CN 201910087292A CN 109885302 A CN109885302 A CN 109885302A
- Authority
- CN
- China
- Prior art keywords
- target
- application
- fastly
- fast
- user interface
- 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
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses the methods of exhibiting that one kind is applied fastly, applied to terminal device, this method comprises: the request applied fastly in response to showing target in target application, the user interface components library of fast application engine is obtained, fast application engine is the logical code for loading and operational objective is applied fastly;User interface components library is loaded into target application;Based on the implementing result that fast application engine applies target fastly, user interface components library is controlled in target application, and to target, application is rendered fastly;Target after showing rendering is applied fastly.The embodiment of the present invention solves the problems, such as that user uses the other application that can not read simultaneously when a certain application in the prior art.
Description
Technical field
The present embodiments relate to fields of communication technology, more particularly to a kind of methods of exhibiting and terminal device applied fastly.
Background technique
In general, can will divide in terminal device such as mobile phone using APP for user interface UI displaying and logical operation
Two parts, wherein UI is the content that user can see, and processing routine logic operation is then responsible in logical operation.
But, it is generally the case that it is shown using the UI of APP and two parts of logical operation is present in the same APP,
Therefore, when user is when using a certain application APP, other APP can not be browsed simultaneously.
Summary of the invention
The embodiment of the present invention provides a kind of methods of exhibiting and device applied fastly, uses certain to solve user in the prior art
The problem of other application can not be browsed simultaneously when one application.
In order to solve the above technical problems, the present invention is implemented as follows:
In a first aspect, providing a kind of methods of exhibiting applied fastly, it is applied to terminal device, which comprises
The request applied fastly in response to showing target in target application, obtains the user interface components of fast application engine
Library, the fast application engine are the logical code applied fastly for loading and running the target;
The user interface components library is loaded into the target application;
Based on the implementing result that the fast application engine applies the target fastly, in the target application described in control
To the target, application is rendered fastly in user interface components library;
The target after showing rendering is applied fastly.
Second aspect provides a kind of terminal device comprising:
Acquiring unit, the request for applying fastly in response to showing target in target application, obtains fast application engine
User interface components library, the fast application engine are the logical code applied fastly for loading and running the target;
Loading unit, for the user interface components library to be loaded into the target application;
Control unit, the implementing result for being applied fastly based on the fast application engine to the target, in the target
Using the interior control user interface components library, to the target, application is rendered fastly;
Display unit, for showing that the target after rendering is applied fastly.
The third aspect additionally provides a kind of terminal device comprising: memory, processor and it is stored in the memory
Computer program that is upper and can running on the processor, realization such as the when the computer program is executed by the processor
The step of method described in one side.
Fourth aspect also provides a kind of computer-readable medium, stores computer program on the computer-readable medium,
The step of method as described in relation to the first aspect is realized when the computer program is executed by processor.
In embodiments of the present invention, the methods of exhibiting applied fastly is first passed through in response to showing that target is answered fastly in target application
Request obtains the user interface components library of fast application engine (logical code for loading and operational objective is applied fastly),
Then user interface components library is loaded into target application, the execution knot that finally target is applied fastly according to fast application engine
Fruit, user interface components library is controlled in target application, and to target, application is rendered fastly, to show that the target after rendering is fast
Using.In this way, when user uses a certain fast application (target application), it can be by first by the user interface components of fast application engine
Library is loaded into the target application, and the execution then applied fastly by fast application engine to target passes through in the target application
The rendering that target is applied in user interface components library fastly, so that the target that user may browse through after rendering is applied fastly, to solve
The problem of user using that can not browse other application simultaneously in the prior art when a certain application.
Detailed description of the invention
Fig. 1 is the schematic flow chart of the methods of exhibiting according to an embodiment of the invention applied fastly;
Fig. 2 is the schematic flow chart of the methods of exhibiting in accordance with another embodiment of the present invention applied fastly;
Fig. 3 is the schematic flow chart of the methods of exhibiting of further embodiment applied fastly according to the present invention;
Fig. 4 is the schematic diagram at the displaying interface according to an embodiment of the invention applied fastly;
Fig. 5 is the schematic block diagram of terminal device according to an embodiment of the invention;
Fig. 6 is the schematic block diagram of terminal device in accordance with another embodiment of the present invention;
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
The technical solution provided below in conjunction with attached drawing, each embodiment that the present invention will be described in detail.
In general, it is shown using the UI of APP and two parts of logical operation is present in the same APP.Therefore, when
User is when using a certain APP, the application for other APP that can not read simultaneously.
And fast application engine can be equivalent to an APP, UI exposition and logical operation part are generally present in same
In a APP (fast application engine), however, it is possible to the UI exposition of fast application engine and logical operation part are separated,
The logical operation part of i.e. fast application engine is handled by fast application engine, and the UI exposition of fast application engine then can be at other
It is shown in APP.
The embodiment of the present invention propose a kind of fast application engine across using operating scheme, that is, propose a kind of displaying applied fastly
Method, as shown in Figure 1, to solve the problems, such as that user uses the other application that can not read simultaneously when a certain application in the prior art.
The method of the embodiment of the present invention is applied to terminal device, can include:
The request that step 102. terminal device is applied fastly in response to showing target in target application, obtains fast application engine
User interface components library.
Wherein, fast application engine is the logical code for loading and operational objective is applied fastly.Fast application engine is integrated in
In each manufacturer terminal equipment such as the system of mobile phone, it can be realized in operating system level seamless between user demand and application service
Connection, promotes the usage experience of user and the transformation efficiency of application service, while supporting to generate the retentions abilities such as desktop icons.
Fast application engine is that the fast application service that nine big cell phone manufacturer's joints provide is not necessarily to as long as installing fast application engine
APP is installed, can be held from application shop, browser, desktop search direct second and through such as ooze capable, only product meeting, iqiyi.com
All applications.Other application APP is shown by using fast application engine, usage experience is not defeated in use primary APP itself, and
And flow can also be saved, it is the Reduction of Students' Study Load of the terminal devices such as mobile phone.
Wherein, fast application is that user can be helped to realize the application program for easily obtaining respective service.Do not applying fastly
In the case where, user needs to know that such as which using APP can find cuisines (be such as hungry, Meituan take-away application App),
Then these App of downloading installation (be hungry, the take-aways application App such as Meituan) into application market, then open these App and search for
" Pizza ", to show search interface.And if being equipped with fast application in terminal device, user when using the terminal device,
Corresponding content (or realizing corresponding function) can be shown without understanding corresponding application APP, it is corresponding without downloading
Using APP, it is only necessary to pull down desktop and open search box, input such as " Pizza ", can easily obtain corresponding service.
In addition, can also first wake up fast application engine before the user interface components library for obtaining fast application engine.That is,
After showing the request applied fastly of target in target application, fast application engine can be first waken up, then obtains fast application again
User interface components library.Certainly, the user interface components library applied fastly can also be directly acquired, with fast application in the next steps
Engine carries out waking up fast application engine again when logical operation.
User interface components library is loaded into target application by step 104. terminal device.
After getting the user interface components library of fast application engine, the user interface group for the fast application engine that can be will acquire
Part library is loaded into target application, with realize will be at the UI exposition (being loaded into target application) of fast application engine and logic
The separation of reason part (fast application engine directly executes processing to what target was applied fastly in subsequent step).
The implementing result that step 106. applies target based on fast application engine fastly, terminal device control in target application
To target, application is rendered fastly in user interface components library.
Step 108. terminal device shows that the target after rendering is applied fastly.Wherein, pass through Android interface in target application
To target, application is rendered fastly in the communication mode control user interface components library of definitional language.
Since the methods of exhibiting applied fastly first passes through the request applied fastly in response to showing target in target application, obtain
The user interface components library of fast application engine (logical code for loading and operational objective is applied fastly), then by user interface
Component Gallery is loaded into target application, the implementing result finally applied fastly according to fast application engine to target, in target application
To target, application is rendered fastly in control user interface components library, to show that the target after rendering is applied fastly.In this way, working as user
When using a certain fast application (target application), it can be answered by the way that the user interface components library of fast application engine is first loaded into the target
In, the execution then applied fastly by fast application engine to target passes through user interface components library pair in the target application
The rendering that target is applied fastly, so that user can read, the target to after rendering is applied fastly, is made with solving user in the prior art
With can not read simultaneously when a certain application other application the problem of.
For example, user, can be through the embodiment of the present invention when browsing wechat circle of friends in a specific application scenarios
Method, first in response in wechat circle of friends show target apply fastly request (such as user's finger sliding screen triggering
Request etc.), the user interface components library of fast application engine is obtained, user interface components library is then loaded into wechat circle of friends
In, the implementing result of (for example be hungry, Taobao's homepage page etc.) is applied fastly to target further according to fast application engine, in wechat friend
Friend circle in control user interface components library to target fastly application render, thus in wechat circle of friends show rendering after as
Be hungry, the fast application such as Taobao's homepage page.The other application APP in this way, user can also read simultaneously when browsing circle of friends
Browsing pages, to provide convenience for user, the correlation of other application APP can be browsed simultaneously in a certain APP
Content solves the problems, such as to read in a certain APP or using the monistic of the APP, improves the usage experience of user.
Wherein, it can read in target application to a target and apply fastly, and be answered fastly with prefixed time interval replacement target
With, such as, the fast in application, can be after 1 minute or so by Taobao's homepage of Taobao's homepage page is shown in wechat circle of friends
The fast application of the page, which automatically switches to, knows fast application etc..Certainly, it can also read simultaneously in target application fast to multiple targets
Using, and one or more targets are replaced with prefixed time interval and are applied fastly, such as, show that Taobao is first in wechat circle of friends
The page page and it is hungry equal fast in application, by Taobao's homepage page and can be hungry equal fast using certainly after 2 minutes or so
It is dynamic be switched to know, browsing pages applied fastly such as U.S. shaddock, etc., different one illustrate herein.
In the above-described embodiments, as shown in Fig. 2, in the implementing result applied fastly based on fast application engine to target, in mesh
The mark interior control user interface components library of application fastly using before rendering, may also include that target
Step 202. terminal device arouses fast application engine in target application.
It should be understood that working as fast application engine performance objective fastly in application, should first arouse fast application engine, certainly, can respond
Arouse fast application engine when showing the request that target is applied fastly in target application, can also be loaded by user interface components library
Arouse (as shown in Figure 2) after into target application again, is applied fastly in this way, target just can be performed in fast application engine, thus in target
Using interior control user interface components library, to target, application is rendered fastly, to show that the target after rendering is applied fastly.
In the above-described embodiments, as shown in figure 3, based on the implementing result that fast application engine applies target fastly, in target
Using interior control user interface components library to the target operation that application is rendered fastly can include:
Step 302. terminal device controls fast application engine and creates fast application execution environment.
To target, application is handled step 304. terminal device fastly in fast application execution environment, is obtained target and is applied fastly
Showing interface data.
Step 306. is based on showing interface data, and terminal device controls user interface components library to target in target application
Fast application is rendered.
It should be understood that after the library UI (user interface components library) of fast application engine is loaded into target application, fast application engine
Executable target is applied fastly, fast in performance objective in application, need to create fast application execution environment, and in fast application execution environment
In to target fastly application handle, obtained processing result is then the showing interface data that target is applied fastly, according to interface
Display data controls user interface components library in target application, and to target, application is rendered fastly, so as in target application
Show that target is applied fastly.Therefore, it solves user in the prior art and uses the other application that can not read simultaneously when a certain application
Problem.
Wherein, fast application execution environment is the performing environment of data interchange format JS, then right in fast application execution environment
Application is handled target fastly, obtains the showing interface data that target is applied fastly, it may include: the data lattice that switch target is applied fastly
Formula obtains the showing interface data that target is applied fastly.That is, having been executed after target applies fastly in fast application engine, will hold
Capable result is back to target application in the form of JS.Certainly, fast application execution environment may be the performing environment of extended formatting,
And the result of execution is corresponded into format with other and returns to target application, to control user interface components library pair in target application
Application is rendered target fastly.
In a specific embodiment, it is illustrated in combination with Fig. 4, the methods of exhibiting of the embodiment of the present invention applied fastly
Realization process can be with are as follows:
Firstly, being answered fastly when needing to show in certain third-party application (target application 1, if the target application 1 in Fig. 4 is microblogging)
When, terminal device obtains the library UI (user interface components library) of fast application engine 2, and the library UI is loaded into current application institute
In process (i.e. target application 1).
Secondly, third-party application arouses or start (launch) fast application engine process, and control fast application engine creation
One fast application execution environment, to start to execute corresponding fast application in fast application execution environment.
Finally, after the completion of execute corresponding target in fast application execution environment and apply 3 fastly, terminal device is by execution
As a result it is sent to third-party application (send dom sends user interface presentation data) in the form of json (JS), due to third
Fang Yingyong has been loaded with the library UI of fast application engine, therefore, the available implementing result to json form, and according to execution
As a result target is applied 3 to render to come in current goal is using 1, fastly to show that target is answered fastly to user in target application 1
With 3.
It can be seen that being designed to provide of the embodiment of the present invention a kind of " fast application engine " across using operating scheme,
I.e. fast application engine provides the js performing environment that target is applied fastly, needs to show that the process of UI is only responsible for rendering, is responsible for rendering
Spatial distributions load where the library UI required for process from fast application engine host process, pass through Android system between two processes
AIDL mode communicated.In this way, when user uses a certain fast application (target application), it can be by first by fast application engine
User interface components library be loaded into the target application, the execution that then target is applied fastly by fast application engine, at this
The rendering that target is applied fastly by user interface components library in target application, the target to after rendering so that user can read
Fast application, to solve the problems, such as that user uses the other application that can not read simultaneously when a certain application in the prior art.
It should be noted that some executing subjects of each step of above-described embodiment institute providing method can be same set
It is standby, alternatively, this method can also be by distinct device as executing subject.For example, step 102,104 executing subject can be same
A executing subject, and the executing subject of step 106 then can be another executing subject (such as control unit);For another example, step
102,104,106 executing subject all can be the same executing subject etc..
The embodiment of the present invention also provides a kind of terminal device, as shown in figure 5, its can include: acquiring unit 502, for ringing
Ying Yu shows the request that target is applied fastly in target application, obtains the user interface components library of fast application engine, and fast application is drawn
It holds up as the logical code for loading and operational objective is applied fastly;Loading unit 504, for user interface components library to be loaded into
In target application;Control unit 506, the implementing result for being applied fastly based on fast application engine to target, in target application
To target, application is rendered fastly in control user interface components library;Display unit 508, for showing that the target after rendering is answered fastly
With.Wherein, control unit can also be used to control user circle by the communication mode of Android Interface Definition Language in target application
To target, application renders face Component Gallery fastly.
Since the terminal device of the embodiment of the present invention first passes through acquiring unit 502 in response to showing target in target application
The request applied fastly obtains the user interface components of fast application engine (logical code for loading and operational objective is applied fastly)
Then user interface components library is loaded into target application by library by loading unit 504, finally by control unit 506
According to the implementing result that fast application engine applies target fastly, user interface components library is controlled in target application, target is applied fastly
It is rendered, to show that the target after rendering is applied fastly.In this way, when user uses a certain fast application (target application), it can
By the way that first the user interface components library of fast application engine is loaded into the target application, then by fast application engine to target
The execution applied fastly, rendering target applied fastly in the target application by user interface components library, so that user can be with
The target to after rendering of reading is applied fastly, and to solve, using that can not read simultaneously when a certain application, other are answered user in the prior art
The problem of using.
In the above-described embodiments, terminal device further includes arousing unit 510, described is answered fastly for arousing in target application
Use engine.Wherein, arousing unit 510 can be set to before acquiring unit 502, can also be set to loading unit 504 and control unit 506
Between, as shown in figure 5, in this way, application engine just apply fastly by executable target fastly, so that control unit 506 can be in target application
To target, application is rendered fastly in interior control user interface components library, to show that the target after rendering is applied fastly.
In above-mentioned further embodiment, control unit 506 is also used to control fast application engine and creates fast application execution
Environment, to target, application is handled fastly in fast application execution environment, obtains the showing interface data that target is applied fastly, and base
In showing interface data, user interface components library is controlled in target application, and to target, application is rendered fastly.Wherein, fast application
Performing environment can be the performing environment of data interchange format JS, then control unit 506 is also used to the number that switch target is applied fastly
According to format, the showing interface data that target is applied fastly are obtained.
It should be understood that the library UI (user interface components library) of fast application engine is loaded into target application in loading unit 504
In after, fast application engine can be performed target and apply fastly, fast in performance objective in application, need to create fast application execution environment, and
To target, application is handled fastly in fast application execution environment, and obtained processing result is then the showing interface that target is applied fastly
Data, to control user interface components library in target application according to showing interface data, to target, application is rendered fastly, from
And it can be to show that target is applied fastly in target application.Therefore, solving can not be same when user is using a certain application in the prior art
When reading other application the problem of.
In addition, having executed after target applies fastly in fast application engine, the result of execution can be back to target in the form of JS
Using.Certainly, fast application execution environment may be the performing environment of extended formatting, and the result of execution is corresponded to lattice with other
Formula returns to target application, and to control user interface components library in target application, to target, application is rendered fastly.
The hardware structural diagram of Fig. 6 terminal device of embodiment to realize the present invention.As shown in fig. 6, the terminal device
600 include but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor
605, display unit 606, user input unit 607, interface unit 608, memory 609, processor 610 and power supply 611 etc.
Component.It will be understood by those skilled in the art that terminal device structure shown in Fig. 6 does not constitute the restriction to terminal device,
Terminal device may include perhaps combining certain components or different component layouts than illustrating more or fewer components.?
In the embodiment of the present invention, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, vehicle-mounted end
End, wearable device and pedometer etc..
Wherein, processor 610, for executing following methods:
The request applied fastly in response to showing target in target application, obtains the user interface components of fast application engine
Library, the fast application engine are the logical code applied fastly for loading and running the target;
The user interface components library is loaded into the target application;
Based on the implementing result that the fast application engine applies the target fastly, in the target application described in control
To the target, application is rendered fastly in user interface components library;
Target after showing rendering is applied fastly.
Since the method for the present embodiment first passes through the request applied fastly in response to showing target in target application, obtain fast
The user interface components library of application engine (logical code for loading and operational objective is applied fastly), then by user interface group
Part library is loaded into target application, the implementing result finally applied fastly according to fast application engine to target, in target application internal control
To target, application is rendered fastly in user interface components library processed, to show that the target after rendering is applied fastly.In this way, when user makes
It, can be by the way that the user interface components library of fast application engine be first loaded into the target application when with a certain fast application (target application)
In, the execution that then target is applied fastly by fast application engine, by user interface components library to mesh in the target application
The rendering applied fastly is marked, the target to after rendering is applied fastly so that user can read, and is used to solve user in the prior art
The problem of other application that can not read simultaneously when a certain application.
It should be understood that the embodiment of the present invention in, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 610 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 602 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 603 can be received by radio frequency unit 601 or network module 602 or in memory 609
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 603 can also provide and end
The relevant audio output of specific function that end equipment 600 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 603 includes loudspeaker, buzzer and receiver etc..
Input unit 604 is for receiving audio or video signal.Input unit 604 may include graphics processor
(Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 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 606.Through graphics processor 6041, treated that picture frame can be deposited
Storage is sent in memory 609 (or other storage mediums) or via radio frequency unit 601 or network module 602.Mike
Wind 6042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 601 is converted in the case where telephone calling model.
Terminal device 600 further includes at least one sensor 605, 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 6061, and proximity sensor can close when terminal device 600 is moved in one's ear
Display panel 6061 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 terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Spend meter, thermometer, infrared sensor etc., wherein infrared sensor can by emit and receive infrared light measurement object and
The distance between terminal device, details are not described herein.
Display unit 606 is for showing information input by user or being supplied to the information of user.Display unit 606 can wrap
Display panel 6061 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 6061.
User input unit 607 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 607 include touch panel 6071 and
Other input equipments 6072.Touch panel 6071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 6071 or in touch panel 6071
Neighbouring operation).Touch panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receiving area
It manages the order that device 610 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 6071.In addition to touch panel 6071, user input unit 607 can also include other input equipments
6072.Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 6071 can be covered on display panel 6061, when touch panel 6071 is detected at it
On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touching
The type for touching event provides corresponding visual output on display panel 6061.Although in Fig. 6, touch panel 6071 and display
Panel 6061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 6071 and display panel 6061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 608 is the interface that external device (ED) is connect with terminal device 600.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 608 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 600 or can be used in 600 He of terminal device
Data are transmitted between external device (ED).
Memory 609 can be used for storing software program and various data.Memory 609 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 609 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 610 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 609, and calls and is stored in storage
Data in device 609 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 610 may include one or more processing units;Preferably, processor 610 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 610.
Terminal device 600 can also include the power supply 611 (such as battery) powered to all parts, it is preferred that power supply 611
Can be logically contiguous by power-supply management system and processor 610, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 600 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, may include processor 610, and memory 609 is deposited
The computer program that can be run on memory 609 and on the processor 610 is stored up, the computer program is by processor 610
Each process of above-mentioned Fig. 1 to embodiment of the method shown in Fig. 3 is realized when execution, and can reach identical technical effect, to keep away
Exempt to repeat, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned method shown in FIG. 1 when being executed by processor, and can reach phase
Same technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as read-only storage
Device (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or light
Disk etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention
Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above description is only an embodiment of the present invention, is not intended to restrict the invention.For those skilled in the art
For, the invention may be variously modified and varied.All any modifications made within the spirit and principles of the present invention are equal
Replacement, improvement etc., should be included within scope of the presently claimed invention.
Claims (11)
1. the methods of exhibiting that one kind is applied fastly is applied to terminal device, which is characterized in that the described method includes:
The request applied fastly in response to showing target in target application, obtains the user interface components library of fast application engine, institute
Stating fast application engine is the logical code applied fastly for loading and running the target;
The user interface components library is loaded into the target application;
Based on the implementing result that the fast application engine applies the target fastly, the user is controlled in the target application
To the target, application is rendered fastly in interface assembly library;
The target after showing rendering is applied fastly.
2. the method as described in claim 1, which is characterized in that answered fastly based on the fast application engine the target described
Implementing result, the user interface components library is controlled in the target application, and to the target, application carries out rendering it fastly
Before, comprising:
Arouse the fast application engine in the target application.
3. the method as described in claim 1, which is characterized in that described to be applied fastly based on the fast application engine to the target
Implementing result, controlled in the target application user interface components library to the target fastly application render, wrap
It includes:
It controls the fast application engine and creates fast application execution environment;
To the target, application is handled fastly in the fast application execution environment, obtains the interface exhibition that the target is applied fastly
Registration evidence;
Based on the showing interface data, the user interface components library is controlled in the target application, the target is answered fastly
With being rendered.
4. method as claimed in claim 3, which is characterized in that the fast application execution environment is holding for data interchange format JS
Row environment, to the target, application is handled fastly in the fast application execution environment, obtains the boundary that the target is applied fastly
Face display data, comprising:
The data format that the target is applied fastly is converted, the showing interface data that the target is applied fastly are obtained.
5. the method as described in claim 1, which is characterized in that control the user interface components library in the target application
To the target, application is rendered fastly, comprising:
The user interface components library is controlled to institute by the communication mode of Android Interface Definition Language in the target application
Stating target, application is rendered fastly.
6. a kind of terminal device comprising:
Acquiring unit, the request for applying fastly in response to showing target in target application, obtains the user of fast application engine
Interface assembly library, the fast application engine are the logical code applied fastly for loading and running the target;
Loading unit, for the user interface components library to be loaded into the target application;
Control unit, the implementing result for being applied fastly based on the fast application engine to the target, in the target application
To the target, application is rendered fastly in the interior control user interface components library;
Display unit, for showing that the target after rendering is applied fastly.
7. terminal device as claimed in claim 6, which is characterized in that further include:
Arouse unit, for arousing the fast application engine in the target application.
8. terminal device as claimed in claim 6, it is characterised in that:
Described control unit is also used to control the fast application engine and creates fast application execution environment, in the fast application execution ring
To the target, application is handled fastly in border, obtains the showing interface data that the target is applied fastly, and be based on the interface
Display data, the user interface components library is controlled in the target application, and to the target, application is rendered fastly.
9. terminal device as claimed in claim 8, which is characterized in that the fast application execution environment is data interchange format JS
Performing environment, described control unit is also used to:
The data format that the target is applied fastly is converted, the showing interface data that the target is applied fastly are obtained.
10. terminal device as claimed in claim 6, which is characterized in that described control unit is also used to:
The user interface components library is controlled to institute by the communication mode of Android Interface Definition Language in the target application
Stating target, application is rendered fastly.
11. a kind of terminal device, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910087292.XA CN109885302A (en) | 2019-01-29 | 2019-01-29 | A kind of methods of exhibiting and terminal device applied fastly |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910087292.XA CN109885302A (en) | 2019-01-29 | 2019-01-29 | A kind of methods of exhibiting and terminal device applied fastly |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109885302A true CN109885302A (en) | 2019-06-14 |
Family
ID=66927320
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910087292.XA Pending CN109885302A (en) | 2019-01-29 | 2019-01-29 | A kind of methods of exhibiting and terminal device applied fastly |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109885302A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110909319A (en) * | 2019-11-29 | 2020-03-24 | Oppo(重庆)智能科技有限公司 | Application processing method and related product |
CN111273961A (en) * | 2020-01-20 | 2020-06-12 | 维沃移动通信有限公司 | Advertisement display method and device and electronic equipment |
CN112416613A (en) * | 2020-10-23 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Application data processing method, device, equipment and medium |
CN112559200A (en) * | 2019-09-25 | 2021-03-26 | 杭州海康威视数字技术股份有限公司 | User interface module processing method, door phone and storage medium |
CN112650540A (en) * | 2019-09-26 | 2021-04-13 | 华为技术有限公司 | Method for starting fast application and related device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713891A (en) * | 2012-10-09 | 2014-04-09 | 阿里巴巴集团控股有限公司 | Method and device for graphic rendering on mobile device |
CN107291465A (en) * | 2017-06-14 | 2017-10-24 | 北京小米移动软件有限公司 | page display method, device and storage medium |
CN108345478A (en) * | 2018-02-28 | 2018-07-31 | 广东欧珀移动通信有限公司 | application processing method, device, storage medium and electronic equipment |
CN108509175A (en) * | 2018-03-30 | 2018-09-07 | 联想(北京)有限公司 | A kind of voice interactive method and electronic equipment |
CN108920204A (en) * | 2018-05-30 | 2018-11-30 | 维沃移动通信有限公司 | A kind of interface display method and terminal device |
CN108958074A (en) * | 2018-06-20 | 2018-12-07 | 维沃移动通信有限公司 | A kind of smart machine control method and mobile terminal |
CN109040182A (en) * | 2018-06-26 | 2018-12-18 | 腾讯科技(深圳)有限公司 | A kind of service access method and device, electronic equipment, storage medium |
-
2019
- 2019-01-29 CN CN201910087292.XA patent/CN109885302A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713891A (en) * | 2012-10-09 | 2014-04-09 | 阿里巴巴集团控股有限公司 | Method and device for graphic rendering on mobile device |
CN107291465A (en) * | 2017-06-14 | 2017-10-24 | 北京小米移动软件有限公司 | page display method, device and storage medium |
CN108345478A (en) * | 2018-02-28 | 2018-07-31 | 广东欧珀移动通信有限公司 | application processing method, device, storage medium and electronic equipment |
CN108509175A (en) * | 2018-03-30 | 2018-09-07 | 联想(北京)有限公司 | A kind of voice interactive method and electronic equipment |
CN108920204A (en) * | 2018-05-30 | 2018-11-30 | 维沃移动通信有限公司 | A kind of interface display method and terminal device |
CN108958074A (en) * | 2018-06-20 | 2018-12-07 | 维沃移动通信有限公司 | A kind of smart machine control method and mobile terminal |
CN109040182A (en) * | 2018-06-26 | 2018-12-18 | 腾讯科技(深圳)有限公司 | A kind of service access method and device, electronic equipment, storage medium |
Non-Patent Citations (7)
Title |
---|
JUNCHOW520: "JS执行环境", 《HTTPS://WWW.JIANSHU.COM/P/247A78A7151C》 * |
TANKING: "JS把数据库的JSON数据输出渲染到html页面", 《HTTPS://BLOG.CSDN.NET/WEIXIN_39927850/ARTICLE/DETAILS/79105297》 * |
华为: "华为快应用引擎技术架构详解", 《HTTPS://WWW.INFOQ.CN/ARTICLE/HUAWEI-QUICKAPP-ENGINE-ARCHITECTURE》 * |
崔凯等: "基于Android系统应用程序的轻量化研究", 《电脑知识与技术》 * |
玩火轩辕: "AIDL实现进程间通信", 《HTTPS://BLOG.CSDN.NET/DING3106/ARTICLE/DETAILS/83506819》 * |
苏煜辉等: "浅析快应用与微信小程序技术的异同", 《电脑知识与技术》 * |
董永清: "【必看干货】快应用开发体验与技术架构深度解析", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/39157287》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559200A (en) * | 2019-09-25 | 2021-03-26 | 杭州海康威视数字技术股份有限公司 | User interface module processing method, door phone and storage medium |
CN112650540A (en) * | 2019-09-26 | 2021-04-13 | 华为技术有限公司 | Method for starting fast application and related device |
CN110909319A (en) * | 2019-11-29 | 2020-03-24 | Oppo(重庆)智能科技有限公司 | Application processing method and related product |
CN110909319B (en) * | 2019-11-29 | 2022-03-29 | Oppo(重庆)智能科技有限公司 | Application processing method and related product |
CN111273961A (en) * | 2020-01-20 | 2020-06-12 | 维沃移动通信有限公司 | Advertisement display method and device and electronic equipment |
CN112416613A (en) * | 2020-10-23 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Application data processing method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10768881B2 (en) | Multi-screen interaction method and system in augmented reality scene | |
CN109885302A (en) | A kind of methods of exhibiting and terminal device applied fastly | |
EP2849153A1 (en) | Method, device and terminal for displaying a desktop | |
CN109408150A (en) | It is a kind of to apply loading method and mobile terminal fastly | |
CN106502608B (en) | Display methods, device and terminal device | |
CN110109593A (en) | A kind of screenshotss method and terminal device | |
CN107885512B (en) | A kind of application program installation method, mobile terminal | |
CN110035181A (en) | It is a kind of to apply card theme setting method and terminal fastly | |
CN108897473A (en) | A kind of interface display method and terminal | |
CN109857297A (en) | Information processing method and terminal device | |
CN109085963A (en) | A kind of interface display method and terminal device | |
CN109327672A (en) | A kind of video call method and terminal | |
CN110580163B (en) | Method and device for manufacturing pendant through template and storage equipment | |
CN109358931A (en) | A kind of interface display method and terminal | |
CN109814777A (en) | The setting method to show topics and a kind of mobile terminal | |
CN110096203A (en) | A kind of screenshot method and mobile terminal | |
CN110162254A (en) | A kind of display methods and terminal device | |
CN110231899A (en) | Display methods and terminal device | |
CN110147186A (en) | A kind of control method and terminal device of application | |
CN108920040A (en) | A kind of application icon method for sorting and mobile terminal | |
CN110531908A (en) | A kind of shortcut operation method and mobile terminal | |
CN109831582A (en) | Non- response events processing method and terminal | |
CN110012152A (en) | A kind of interface display method and terminal device | |
CN109976844A (en) | A kind of message display method and mobile terminal | |
CN109979286A (en) | A kind of information demonstrating method and terminal device |
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 |