CN107463395A - Component call method and device - Google Patents

Component call method and device Download PDF

Info

Publication number
CN107463395A
CN107463395A CN201610395871.7A CN201610395871A CN107463395A CN 107463395 A CN107463395 A CN 107463395A CN 201610395871 A CN201610395871 A CN 201610395871A CN 107463395 A CN107463395 A CN 107463395A
Authority
CN
China
Prior art keywords
applications client
navigation mechanism
data
specified
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610395871.7A
Other languages
Chinese (zh)
Other versions
CN107463395B (en
Inventor
方敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yayue Technology Co ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610395871.7A priority Critical patent/CN107463395B/en
Publication of CN107463395A publication Critical patent/CN107463395A/en
Application granted granted Critical
Publication of CN107463395B publication Critical patent/CN107463395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Abstract

The invention discloses a kind of component call method and device, belong to network technique field.Methods described includes:When applications client receives web page browsing request, the installation path for the navigation mechanism for specifying applications client is read;The navigation mechanism is loaded onto in application process by applications client according to the installation path;The navigation mechanism loaded is called, carries out webpage loading.The installation path for the navigation mechanism that the third-party application client of terminal installation is shared by specified applications client, obtain navigation mechanism, and navigation mechanism is loaded onto in the application process of oneself, realize function of browse, so that terminal need to only store the navigation mechanism of specified applications client, without storing corresponding navigation mechanism for each applications client, reduce storage consumption.

Description

Component call method and device
Technical field
The present invention relates to network technique field, more particularly to a kind of component call method and device.
Background technology
With the development of network technology, the applications client of terminal installation generally has a function of browse, for example, load webpage, Pass through page download resource etc..The implementation of the function of browse is:Applications client downloads navigation mechanism from server, and will Navigation mechanism is attached under the installation path of itself so that in applications client running, by calling navigation mechanism come real Existing function of browse.
In the prior art, for each applications client of terminal installation, navigation mechanism can be downloaded from server, and will Navigation mechanism is installed under the installation path of applications client.It that is to say, by corresponding to the navigation mechanism of each applications client Packet is stored under the installation path of applications client.Wherein, the navigation mechanism of different application client is separate, For any applications client, the navigation mechanism of the non-readable applications client of third-party application client.Answered for each With client, the invoked procedure of navigation mechanism is:, directly should according to itself when applications client receives web page browsing request With the installation path of client, the navigation mechanism stored under installation path is called, to carry out webpage loading.
During the present invention is realized, inventor has found that prior art at least has problems with:
Because each applications client of terminal is required to store corresponding navigation mechanism under the installation path of itself, with Just the navigation mechanism under itself installation path is called, to realize function of browse, such terminal needs to store multiple navigation mechanisms Realize identical function of browse so that memory space redundancy takes, and causes the waste of storage resource.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of component call method and device.It is described Technical scheme is as follows:
On the one hand, there is provided a kind of component call method, terminal are provided with least one applications client and specify application Client, the applications client are not installed with navigation mechanism, and the specified applications client is provided with the navigation mechanism, institute The method of stating includes:
When the applications client receives web page browsing request, the peace for the navigation mechanism for specifying applications client is read Fill path;
The navigation mechanism is loaded onto answering for the applications client by the applications client according to the installation path With in process;
The applications client calls the navigation mechanism loaded, carries out webpage loading.
On the other hand, there is provided a kind of component call device, applied to applications client, described device includes:
Read module, when being asked for receiving web page browsing, read the installation for the navigation mechanism for specifying applications client Path;
Load-on module, for according to the installation path, the navigation mechanism to be loaded onto into answering for the applications client With in process;
Calling module, for calling the navigation mechanism loaded, carry out webpage loading.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
The installation road for the navigation mechanism that the third-party application client of terminal installation can be shared according to specified applications client Footpath, navigation mechanism is obtained, and navigation mechanism is loaded onto in the application process of oneself, realize function of browse so that terminal only needs The navigation mechanism of applications client is specified in storage, without storing corresponding navigation mechanism for each applications client, is reduced Storage consumption.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of flow chart of component call method provided in an embodiment of the present invention;
Fig. 2A is a kind of flow chart of component call method provided in an embodiment of the present invention;
Fig. 2 B are a kind of shared schematic diagrames of navigation mechanism provided in an embodiment of the present invention;
Fig. 3 is a kind of block diagram of component call device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is a kind of flow chart of component call method provided in an embodiment of the present invention, and terminal is provided with least one answer With client and specified applications client, applications client is not installed with navigation mechanism, and specified applications client, which is provided with, to be browsed Component, referring to Fig. 1, method flow provided in an embodiment of the present invention includes:
101st, when applications client receives web page browsing request, the peace for the navigation mechanism for specifying applications client is read Fill path.
102nd, navigation mechanism is loaded onto in the application process of applications client by applications client according to installation path.
103rd, applications client calls the navigation mechanism loaded, carries out webpage loading.
Method provided in an embodiment of the present invention, the third-party application client of terminal installation can be according to specified applications client The installation path for the navigation mechanism shared, navigation mechanism is obtained, and navigation mechanism is loaded onto in the application process of oneself, realized Function of browse so that terminal need to only store the navigation mechanism of specified applications client, without being deposited for each applications client Corresponding navigation mechanism is stored up, reduces storage consumption.
Alternatively, reading the installation path for the navigation mechanism for specifying applications client includes:
When specifying the number of applications client to be multiple, applications client specifies the preferential of applications client according to each Level, determine the specified applications client of highest priority;
Applications client reads the installation path of the navigation mechanism of the specified applications client of highest priority.
Alternatively, the reading authority for specifying the installation path of the navigation mechanism of applications client is towards all application clients End.
Alternatively, according to installation path, navigation mechanism is loaded onto into application process includes applications client:
Applications client reads the data in navigation mechanism with the first data lock during navigation mechanism is loaded, First data are locked for indicating the non-private data in navigation mechanism.
Alternatively, applications client calls the navigation mechanism loaded, and after carrying out webpage loading, this method also includes:
When applications client receives the modification request to navigation mechanism middle finger fixed number evidence, judge to specify whether data have There is the second data lock, the second data are locked has applications client to specifying data to modify for instruction;
When specified data are locked without the second data, data are specified in applications client modification;
When there are specified data the second data to lock, applications client is not to specifying data to modify.
Alternatively, this method also includes:
When applications client receives web page browsing request, it is not installed with specifying applications client if detected, Navigation mechanism is obtained from server;
Applications client installs navigation mechanism under specified path.
Above-mentioned all optional technical schemes, any combination can be used to form the alternative embodiment of the disclosure, herein no longer Repeat one by one.
Terminal is provided with least one applications client and specified applications client in embodiments of the present invention, at least one Applications client refers to the applications client in addition to specified applications client, and it can be instant messaging that this, which specifies applications client, The higher applications client of the popularity rate such as applications client, social networking application client.Will for the ease of the description embodiment of the present invention Above-mentioned at least one applications client is referred to as third-party application client.Wherein, specify to be provided with applications client and browse group Part, does not install navigation mechanism in third-party application client, but the navigation mechanism in shared specified applications client, and then Realize function of browse.Fig. 2A is a kind of flow chart of component call method provided in an embodiment of the present invention, referring to Fig. 2A, the present invention The method flow that embodiment provides includes:
201st, when third-party application client receives web page browsing request, that reads specified applications client browses group The installation path of part.
Wherein, specified applications client can carry out statistics according to the proportion of installation to applications client by server and determine. Specifically, the proportion of installation for the applications client that server can be installed to the terminal of preset number counts, and will install ratio The applications client that example is more than predetermined threshold value is defined as specifying applications client.Wherein, preset number and predetermined threshold value can be by Server is pre-set or adjusted.If the preset number is 2,000,000, predetermined threshold value 85%, then to 2,000,000 terminals Counted, wherein applications client of the proportion of installation more than 85% is to specify applications client.
It should be noted that for the specified applications client installed in terminal, when using function of browse for the first time, specify Applications client can obtain navigation mechanism from server, and the navigation mechanism is installed under default installation path afterwards.Wherein, in advance If installation path can be pre-set by server, the embodiment of the present invention is not especially limited to this.Wherein, application visitor is specified Family end can also download navigation mechanism during installation from server;Or specified applications client browses in first use During function, send navigation mechanism to server and obtain request, request is obtained to specified application visitor according to navigation mechanism from server Terminal where the end of family issues navigation mechanism so that specified applications client can get the navigation mechanism, the embodiment of the present invention It is not construed as limiting to specifying applications client to obtain the mode of navigation mechanism.
In embodiments of the present invention, the third party for sharing to terminal and being installed of the navigation mechanism of applications client is specified Applications client so that terminal only needs to store the navigation mechanism of specified applications client, avoids each application client of terminal-pair The navigation mechanism at end stored and caused by storage resource waste.Specify the shared procedure of the navigation mechanism of applications client can Think:During navigation mechanism is installed or after navigation mechanism installation, specify applications client that the navigation mechanism is installed The reading priority assignation in path is opening.It that is to say, specify the reading authority of the installation path of the navigation mechanism of applications client For towards all applications clients.
The third-party application client installed in terminal, can be according to navigation mechanism when receiving web page browsing request The reading authority of installation path, the installation path for the navigation mechanism for specifying applications client is read, so as to subsequently according to the installation Path obtains navigation mechanism to realize that webpage loads.Specifically, third-party application client can be read and specified by preset interface The installation path of the navigation mechanism of applications client.
It should be noted that third-party application client can be any application client in addition to specified applications client End, the exploitation side of different third-party application clients can be the same or different, and the embodiment of the present invention is not made specifically to this Limit.Third-party application client can browse service platform by access server during exploitation, by server to the 3rd After the identity of square applications client is audited, authorize third-party application client and read the navigation mechanism for specifying applications client Installation path ability, following manner can be included:
The first, the navigation mechanism installation path of specified applications client is issued to third-party application client by server End, is stored the installation path of the navigation mechanism of specified applications client to the installation kit of oneself by third-party application client In.After third-party application client is attached to terminal, the navigation mechanism of the specified applications client of storage can be directly read Installation path.
Second, the application message of server registration third-party application client.When terminal detects third-party application visitor During the read requests of the navigation mechanism at family end, judge whether the application message of the third-party application client has been noted in server Volume.If registered, third-party application client is allowed to read the installation path for the navigation mechanism for specifying applications client.Such as Fruit is not registered, then does not allow third-party application client to read the installation path for the navigation mechanism for specifying applications client.
The third, server is that third-party application client issues authority certificate so that third-party application client is installed During to terminal, the authority certificate is carried.When terminal detects the read requests of the navigation mechanism of third-party application client, if Detect that third-party application client carries authority certificate, then allow third-party application client to read and specify applications client The installation path of navigation mechanism.If detecting that third-party application client does not carry authority certificate, do not allow third party should The installation path for the navigation mechanism for specifying applications client is read with client.
It should be noted that the number for specifying applications client can be one or more, the embodiment of the present invention is not made to have to this Body limits.
When specifying the number of applications client to be multiple, the priority of specified applications client can be set, it is more to indicate The order of priority that the navigation mechanism of individual specified applications client is shared.Wherein, specify the priority of applications client can be by taking Business device is preset according to the proportion of installation of the specified applications client of statistics, or is set according to other modes, The embodiment of the present invention is not especially limited to this.Third-party application client can according to the priority of specified applications client, The installation path of navigation mechanism is read, to avoid when specifying the number of applications client to be multiple, third-party application client Conflict caused by reading the installation path of the navigation mechanism of multiple specified applications clients.
Wherein, third-party application client reads according to the priority for the navigation mechanism for specifying applications client and browses group Part process can be:
The third-party application client of terminal is after web page browsing request is received, if specifying the number of applications client To be multiple, then according to the priority of each specified applications client, the specified applications client of highest priority determined, is read excellent First level highest specifies the installation path of the navigation mechanism of applications client.
A is applied, is specified and is applied B, specifies and apply tri- applications clients of C for example, specified applications client includes specifying, then It can preset that to specify using A priority be 1, to specify using B priority be 2, to specify using C priority be 3.Terminal Third-party application client receive web page browsing request after, it may be determined that terminal be provided with specify using A and specify application B, wherein it is 1 to specify using A priority, it is 2 to specify using B priority.If the smaller expression priority of numerical priority value Higher, then third-party application reads the installation path of the specified navigation mechanism using A of highest priority.
202nd, navigation mechanism is loaded onto application process by third-party application client according to the installation path of navigation mechanism In.
In one embodiment, the total data of navigation mechanism can be shared to third-party application by specified applications client Client so that third-party application client reads whole numbers that navigation mechanism is included according to the installation path of navigation mechanism According to, and the total data of reading is loaded onto in the application process of oneself, browsed with realizing with specified applications client identical Function.
Wherein, the data that navigation mechanism is included include private data and non-private data.Private data refers to and user The related data of account.Such as the sequence information of user account, Transaction Information etc..Non-private data refer to clear in navigation mechanism That lookes at function realizes code, configuration file and other assemblies related data etc. and the unrelated data of application user account.Wherein, Other assemblies related data can include navigation mechanism version number, download browse plug-in unit etc. and the unrelated number of application user account According to the embodiment of the present invention is not especially limited to this.
In order to avoid privacy of user is revealed, while third-party application client is avoided arbitrarily to change the setting of navigation mechanism, Cause inconsistent with the result of browse of specified applications client, in another embodiment, can also only allow third-party application Client reads the non-private data included in navigation mechanism.For example, applications client is specified by the browse mode of navigation mechanism After being arranged to no figure browse mode, third-party application client is also to browse mould without figure calling the webpage that the navigation mechanism loads Formula, it ensure that the bandwagon effect of loading webpage is consistent.
Specifically, in the case where being only capable of reading non-private data, navigation mechanism is loaded onto by third-party application client The process of application process can be:For applications client during navigation mechanism is loaded, reading has first in navigation mechanism The data of data lock, first data are locked for indicating the non-private data in navigation mechanism.It that is to say, third-party application client End is only capable of reading the non-private data in navigation mechanism when loading navigation mechanism, and can not read privately owned in navigation mechanism Data, for example specify applications client to download user account related data by navigation mechanism, the webpage collected such as user account Link, user's head portrait resource, multimedia resource etc..It is total to as shown in Figure 2 B for specified applications client and third-party application client Enjoy the schematic diagram of navigation mechanism.The non-private data of navigation mechanism are locked with the first data in Fig. 2 B so that third-party application visitor Family end only has the authority for reading non-private data.
203rd, the navigation mechanism that third-party application client call has loaded, webpage loading is carried out.
Applications client is during application process is run, and by calling the navigation mechanism loaded, carries out webpage and adds Carry so that terminal can show corresponding webpage.Non-private number in navigation mechanism is read because third-party application client has According to reading authority, therefore, the webpage effect that each applications client is shown by navigation mechanism is the same, improves webpage The uniformity of displaying so that user will not feel any otherness, carry when carrying out web page browsing using different application client High user's viscosity.
In another embodiment, in order to reduce navigation mechanism relative to specified applications client and third-party application client Between otherness, specify applications client can also be by the modification function opening of navigation mechanism middle finger fixed number evidence to third-party application Client so that third-party application client can be to specifying data to modify.It should be noted that repaiied in specified data Need to lock for its interpolation data during changing, to avoid multiple third-party application clients while specify data to repair this It is inconsistent to be transformed into specified data.
Wherein, specified data refer to that third-party application client has the data of modification authority, and this specifies data can be by taking Business device is pre-set.When certain third-party application client has modification authority to specified data, inevitable 3rd application visitor Authority is read to specifying data to have in family end.When third-party application client only has reading to the non-private data of navigation mechanism During authority, it can be the partial data or total data in non-private data that this, which specifies data,.
Third-party application client can be to specifying the process modified of data:
When receiving the request of the modification to navigation mechanism middle finger fixed number evidence, applications client judges to specify whether data have There is the second data lock, the second data are locked has applications client to specifying data to modify for instruction;When specified data When being locked without the second data, data are specified in applications client modification;When there are specified data the second data to lock, application client End is not to specifying data to modify.
For example, if this specifies the browse mode data that data are navigation mechanism, it is assumed that the current of navigation mechanism browses mould Formula is has figure browse mode, then after third-party application client is carrying out webpage loading according to the navigation mechanism of loading, detection To during the operation that browse mode is changed to no figure browse mode, judging whether browse mode data have the second data lock, such as Fruit does not have, then current browse mode is changed into no figure browse mode so that follow-up applications client calls this to browse group During part, its current browse mode is without figure browse mode;If it has, current browse mode is not modified then.
It should be noted that after third-party application client is being loaded into navigation mechanism, by the core text of navigation mechanism Part is stored to specified path, for example navigation mechanism jar bags are stored to specified path, so as to subsequent third side's application client End directly invokes the jar bags of the navigation mechanism to realize function of browse.When specified applications client is carried out more to the navigation mechanism After new, navigation mechanism new information can be sent to third-party application client, navigation mechanism is carried out by third-party application client Synchronized update.Specifically, third-party application client is using function of browse after navigation mechanism new information is received When, again according to the navigation mechanism installation path for specifying applications client, obtain the navigation mechanism after renewal.As shown in Figure 2 B, When navigation mechanism updates, third-party application client can specify the shared navigation mechanism of applications client with synchronized update.
Wherein, core document is the file for referring to realize basic function of browse, and the core document can be above-mentioned non-private There are the partial data or total data in data.Specified path can be preset or be changed by terminal, or should by third party Being pre-set etc. with the developer of client, the specified path can be installation path of third-party application client etc., The set-up mode and particular content of specified path of the embodiment of the present invention are not construed as limiting.
204th, when third-party application client receives web page browsing request, it is not installed with specifying application if detected Client, then navigation mechanism is obtained from server, under specified path, navigation mechanism is installed.
In embodiments of the present invention, in order to ensure all terminals can normal use function of browse, do not installed in terminal In the case of specifying applications client, the third-party application client of terminal also directly can obtain navigation mechanism from server, and Navigation mechanism be attached under specified path.Specifically, when third-party application client receives web page browsing request, Whether detection terminal is provided with specified applications client, if detecting that terminal is not installed with specifying applications client, specifies The step of navigation mechanism being obtained from server;If detecting that terminal is provided with specified applications client, step 201 is performed.
Wherein, specified path can be preset or be changed by terminal, or the exploit person by third-party application client Member pre-sets etc., and the specified path can be installation path of third-party application client etc., and the embodiment of the present invention is specified The set-up mode and particular content in path are not construed as limiting.
It should be noted that the reading authority of the installation path of the navigation mechanism of third-party application client be alternatively towards All applications clients so that the third-party application client of subsequent installation can be according to the installation path of the navigation mechanism, will Navigation mechanism is loaded into application process, and then realizes function of browse.
After if third-party application client is mounted with navigation mechanism, terminal is mounted with to specify applications client again, then refers to Determine applications client and perform the step of downloading and installing navigation mechanism, and by the reading authority opening of the navigation mechanism to third party Applications client.Third-party application client for having installed navigation mechanism, when using function of browse, preferentially obtain oneself Mounted navigation mechanism.Third-party application client for not installing navigation mechanism, according to the clear of specified applications client Look at the installation path of component, navigation mechanism is loaded onto in itself application process as needed, to realize function of browse.
Method provided in an embodiment of the present invention, the third-party application client of terminal installation can be according to specified applications client The installation path for the navigation mechanism shared, navigation mechanism is obtained, and navigation mechanism is loaded onto in the application process of oneself, realized Function of browse so that terminal need to only store the navigation mechanism of specified applications client, without being deposited for each applications client Corresponding navigation mechanism is stored up, reduces storage consumption.Further, because third-party application client obtains without access server Navigation mechanism is taken, need to can only be got by reading the navigation mechanism installation path for specifying applications client to share and browse group Part so that the mode that third-party application client obtains navigation mechanism is more convenient.
Fig. 3 is a kind of block diagram of component call device provided in an embodiment of the present invention, and the device is applied to applications client, Referring to Fig. 3, the device includes:Read module 301, load-on module 302 and calling module 303.
Wherein, read module 301 is connected with load-on module 302, for when receiving web page browsing request, reading and specifying The installation path of the navigation mechanism of applications client;Load-on module 302 is connected with calling module 303, for according to installation path, Navigation mechanism is loaded onto in the application process of applications client;Calling module 303, for calling the navigation mechanism loaded, Carry out webpage loading.
Alternatively, read module 301 is used for when specifying the number of applications client to be multiple, according to each specified application The priority of client, determine the specified applications client of highest priority;Obtain browsing for the specified application of highest priority The installation path of component.
Alternatively, the reading authority for specifying the installation path of the navigation mechanism of applications client is towards all application clients End.
Alternatively, load-on module 302 is used for during navigation mechanism is loaded, and reading in navigation mechanism has the first number According to the data of lock, the first data are locked for indicating the non-private data in navigation mechanism.
Alternatively, the device also includes:
Judge module, for when receiving the request of the modification to navigation mechanism middle finger fixed number evidence, judging that specified data are No to have the second data lock, the second data are locked has applications client to specifying data to modify for instruction;
Modified module, for when specified data are locked without the second data, changing and specifying data;When specified data have When second data are locked, not to specifying data to modify.
Alternatively, the device also includes:
Acquisition module, for when receiving web page browsing request, being not installed with specifying applications client if detected, Then navigation mechanism is obtained from server;
Module is installed, under specified path, installing navigation mechanism.
Device provided in an embodiment of the present invention, the third-party application client of terminal installation can be according to specified applications client The installation path for the navigation mechanism shared, navigation mechanism is obtained, and navigation mechanism is loaded onto in the application process of oneself, realized Function of browse so that terminal need to only store the navigation mechanism of specified applications client, without being deposited for each applications client Corresponding navigation mechanism is stored up, reduces storage consumption.
It should be noted that:The component call device that above-described embodiment provides is in invocation component, only with above-mentioned each function The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application Block is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete all or part of work(described above Energy.In addition, the component call device that above-described embodiment provides belongs to same design with component call embodiment of the method, it is specific real Existing process refers to embodiment of the method, repeats no more here.
Fig. 4 is a kind of structural representation for terminal that the present embodiment provides, and the terminal can be used for performing above-mentioned each reality Apply component call method in example.Referring to Fig. 4, the terminal 400 includes:
Terminal 400 can include RF (Radio Frequency, radio frequency) circuit 110, include one or more meters The memory 120 of calculation machine readable storage medium storing program for executing, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (Wireless Fidelity, Wireless Fidelity) module 170, include one or the processing of more than one processing core The part such as device 180 and power supply 190.It will be understood by those skilled in the art that the terminal structure shown in Fig. 4 is not formed pair The restriction of terminal, it can include than illustrating more or less parts, either combine some parts or different part cloth Put.Wherein:
RF circuits 110 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information receives, transfer to one or more than one processor 180 is handled;In addition, it is sent to up data are related to Base station.Generally, RF circuits 110 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuits 110 can also be communicated by radio communication with network and other equipment.The radio communication can make With any communication standard or agreement, and including but not limited to GSM (Global System ofMobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memory 120 can be used for storage software program and module, and processor 180 is stored in memory 120 by operation Software program and module, so as to perform various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data field, wherein, storing program area can storage program area, the application program (ratio needed at least one function Such as sound-playing function, image player function) etc.;Storage data field can store uses created number according to terminal 400 According to (such as voice data, phone directory etc.) etc..In addition, memory 120 can include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input block 130 to memory 120 access.
Input block 130 can be used for the numeral or character information for receiving input, and generation is set with user and function Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 130 may include to touch Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, collect and use Family on or near it touch operation (such as user using any suitable object or annex such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection means, and is converted into contact coordinate, then gives processor 180, and can reception processing device 180 The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.Except touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for display by the information of user's input or be supplied to the information and terminal 400 of user Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on or near it After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing type of the device 180 according to touch event Corresponding visual output is provided on display panel 141.Although in Fig. 4, touch sensitive surface 131 and display panel 141 are conducts Two independent parts come realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 with display Panel 141 is integrated and realizes input and output function.
Terminal 400 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity transducer can close display when terminal 400 is moved in one's ear Panel 141 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axles) acceleration size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely The other sensors such as the gyroscope that can also configure in terminal 400, barometer, hygrometer, thermometer, infrared ray sensor, herein Repeat no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and terminal 400.Audio Electric signal after the voice data received conversion can be transferred to loudspeaker 161, sound is converted to by loudspeaker 161 by circuit 160 Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Voice data is converted to, then after voice data output processor 180 is handled, through RF circuits 110 to be sent to such as another end End, or voice data is exported to memory 120 further to handle.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone and terminal 400.
WiFi belongs to short range wireless transmission technology, and terminal 400 can help user's transceiver electronicses by WiFi module 170 Mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 4 is shown WiFi module 170, but it is understood that, it is simultaneously not belonging to must be configured into for terminal 400, can exist as needed completely Do not change in the essential scope of invention and omit.
Processor 180 is the control centre of terminal 400, utilizes various interfaces and each portion of connection whole mobile phone Point, by running or performing the software program and/or module that are stored in memory 120, and call and be stored in memory 120 Interior data, the various functions and processing data of terminal 400 are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor mainly handles nothing Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 400 also includes the power supply 190 (such as battery) to all parts power supply, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply event The random component such as barrier detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 400 can also include camera, bluetooth module etc., will not be repeated here.Specifically in this reality To apply in example, the display unit of terminal is touch-screen display, and terminal also includes memory, and one or more than one Program, one of them or more than one program storage are configured to by one or more than one processing in memory Device performs.One or more than one program bag contains execute instruction, so that the letter performed by the above-mentioned terminal of computing device Cease methods of exhibiting.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (12)

  1. A kind of 1. component call method, it is characterised in that terminal is provided with least one applications client and specified application client End, the applications client are not installed with navigation mechanism, and the specified applications client is provided with the navigation mechanism, the side Method includes:
    When the applications client receives web page browsing request, the installation road for the navigation mechanism for specifying applications client is read Footpath;
    The applications client according to the installation path, enter by the application that the navigation mechanism is loaded onto to the applications client Cheng Zhong;
    The applications client calls the navigation mechanism loaded, carries out webpage loading.
  2. 2. according to the method for claim 1, it is characterised in that the peace for reading the navigation mechanism for specifying applications client Dress path includes:
    When specifying the number of applications client to be multiple, the applications client specifies the preferential of applications client according to each Level, determine the specified applications client of highest priority;
    The applications client reads the installation path of the navigation mechanism of the specified applications client of the highest priority.
  3. 3. according to the method for claim 1, it is characterised in that the installation road of the navigation mechanism of the specified applications client The reading authority in footpath is towards all applications clients.
  4. 4. according to the method for claim 1, it is characterised in that the applications client is according to the installation path, by institute Stating navigation mechanism and being loaded onto the application process of the applications client includes:
    For the applications client during the navigation mechanism is loaded, reading in the navigation mechanism has the first data lock Data, first data are locked for indicating the non-private data in the navigation mechanism.
  5. 5. according to the method for claim 1, it is characterised in that the applications client calls the navigation mechanism loaded, After carrying out webpage loading, methods described also includes:
    When the applications client receives the modification request to the navigation mechanism middle finger fixed number evidence, the specified number is judged According to whether having the second data lock, second data are locked has applications client being carried out to the specified data for instruction Modification;
    When the specified data are locked without second data, the applications client changes the specified data;
    When there are the specified data second data to lock, the applications client is not repaiied to the specified data Change.
  6. 6. according to the method for claim 1, it is characterised in that methods described also includes:
    When the applications client receives web page browsing request, the specified application client is not installed with if detected End, then obtain the navigation mechanism from server;
    The applications client installs the navigation mechanism under specified path.
  7. 7. a kind of component call device, it is characterised in that applied to applications client, described device includes:
    Read module, for when receiving web page browsing request, reading the installation road for the navigation mechanism for specifying applications client Footpath;
    Load-on module, for according to the installation path, the application that the navigation mechanism is loaded onto to the applications client to be entered Cheng Zhong;
    Calling module, for calling the navigation mechanism loaded, carry out webpage loading.
  8. 8. device according to claim 7, it is characterised in that the read module is used for as specifying applications client Number for it is multiple when, according to the priority of each specified applications client, determine the specified applications client of highest priority;Obtain The installation path of the navigation mechanism of the specified applications client of the highest priority.
  9. 9. device according to claim 7, it is characterised in that the installation road of the navigation mechanism of the specified applications client The reading authority in footpath is towards all applications clients.
  10. 10. device according to claim 7, it is characterised in that the load-on module is used to load the navigation mechanism During, the data in the navigation mechanism with the first data lock are read, first data are locked described clear for indicating The non-private data look in component.
  11. 11. device according to claim 7, it is characterised in that described device also includes:
    Judge module, for when receiving the request of the modification to the navigation mechanism middle finger fixed number evidence, judging the specified number According to whether having the second data lock, second data are locked has applications client being carried out to the specified data for instruction Modification;
    Modified module, for when the specified data are locked without second data, changing the specified data;When described When specified data have the second data lock, the specified data are not modified.
  12. 12. device according to claim 7, it is characterised in that described device also includes:
    Acquisition module, for when receiving web page browsing request, the specified applications client to be not installed with if detected, Then the navigation mechanism is obtained from server;
    Module is installed, under specified path, installing the navigation mechanism.
CN201610395871.7A 2016-06-03 2016-06-03 Component calling method and device Active CN107463395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610395871.7A CN107463395B (en) 2016-06-03 2016-06-03 Component calling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610395871.7A CN107463395B (en) 2016-06-03 2016-06-03 Component calling method and device

Publications (2)

Publication Number Publication Date
CN107463395A true CN107463395A (en) 2017-12-12
CN107463395B CN107463395B (en) 2020-10-09

Family

ID=60545694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610395871.7A Active CN107463395B (en) 2016-06-03 2016-06-03 Component calling method and device

Country Status (1)

Country Link
CN (1) CN107463395B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117449A (en) * 2018-07-27 2019-01-01 武汉文网亿联科技有限公司 Method based on non-linear least square calculation using models Internet bar installation rate
CN110262790A (en) * 2019-07-04 2019-09-20 平安科技(深圳)有限公司 Component generation method, device, storage medium and terminal device
CN117251143A (en) * 2023-11-14 2023-12-19 武汉万云网络科技有限公司 Application system, construction method and implementation method of visual development tool of application system

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009087071A (en) * 2007-09-28 2009-04-23 Fujifilm Corp Information processor and information processing method
CN101539859A (en) * 2008-10-10 2009-09-23 华南理工大学 Development method of plug-in board for embedded Konqueor browser based on uCLinux
EP2116941A1 (en) * 2008-05-07 2009-11-11 Research in Motion Limited Interaction between web pages and local applications
CN102622211A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Method for application development and device
WO2012125696A2 (en) * 2011-03-14 2012-09-20 Browsium, Inc. Methods and systems for one browser version to use a rendering engine of another browser version for displaying information
CN102999482A (en) * 2011-12-12 2013-03-27 微软公司 Technique for managing collaborative documents
CN103106576A (en) * 2011-11-15 2013-05-15 腾讯科技(深圳)有限公司 Payment method and payment system based on client side and payment client side
CN104615623A (en) * 2014-07-17 2015-05-13 腾讯科技(深圳)有限公司 Network resource obtaining method and device
CN104765646A (en) * 2015-03-18 2015-07-08 小米科技有限责任公司 Assembly transferring method and device
CN104965722A (en) * 2014-07-29 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for displaying information
CN104978278A (en) * 2014-04-14 2015-10-14 阿里巴巴集团控股有限公司 Data processing method and device
US20160119344A1 (en) * 2013-07-04 2016-04-28 Jscrambler S.A. System and method for web application security
CN105608162A (en) * 2015-12-17 2016-05-25 网易(杭州)网络有限公司 File processing method and device
US20160147900A1 (en) * 2014-11-26 2016-05-26 Dropbox, Inc. Automatic device upload configuration

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009087071A (en) * 2007-09-28 2009-04-23 Fujifilm Corp Information processor and information processing method
EP2116941A1 (en) * 2008-05-07 2009-11-11 Research in Motion Limited Interaction between web pages and local applications
CN101539859A (en) * 2008-10-10 2009-09-23 华南理工大学 Development method of plug-in board for embedded Konqueor browser based on uCLinux
CN102622211A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Method for application development and device
WO2012125696A2 (en) * 2011-03-14 2012-09-20 Browsium, Inc. Methods and systems for one browser version to use a rendering engine of another browser version for displaying information
CN103106576A (en) * 2011-11-15 2013-05-15 腾讯科技(深圳)有限公司 Payment method and payment system based on client side and payment client side
CN102999482A (en) * 2011-12-12 2013-03-27 微软公司 Technique for managing collaborative documents
US20160119344A1 (en) * 2013-07-04 2016-04-28 Jscrambler S.A. System and method for web application security
CN104978278A (en) * 2014-04-14 2015-10-14 阿里巴巴集团控股有限公司 Data processing method and device
CN104615623A (en) * 2014-07-17 2015-05-13 腾讯科技(深圳)有限公司 Network resource obtaining method and device
CN104965722A (en) * 2014-07-29 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for displaying information
US20160147900A1 (en) * 2014-11-26 2016-05-26 Dropbox, Inc. Automatic device upload configuration
CN104765646A (en) * 2015-03-18 2015-07-08 小米科技有限责任公司 Assembly transferring method and device
CN105608162A (en) * 2015-12-17 2016-05-25 网易(杭州)网络有限公司 File processing method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117449A (en) * 2018-07-27 2019-01-01 武汉文网亿联科技有限公司 Method based on non-linear least square calculation using models Internet bar installation rate
CN109117449B (en) * 2018-07-27 2022-04-15 武汉文网亿联科技有限公司 Method for measuring and calculating Internet bar installation rate based on nonlinear least square model
CN110262790A (en) * 2019-07-04 2019-09-20 平安科技(深圳)有限公司 Component generation method, device, storage medium and terminal device
CN117251143A (en) * 2023-11-14 2023-12-19 武汉万云网络科技有限公司 Application system, construction method and implementation method of visual development tool of application system
CN117251143B (en) * 2023-11-14 2024-02-06 武汉万云网络科技有限公司 Application system, construction method and implementation method of visual development tool of application system

Also Published As

Publication number Publication date
CN107463395B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN104780164B (en) A kind of method and apparatus of running game client
CN104951212B (en) Desktop data processing method, the device and system of a kind of mobile terminal
CN104519485B (en) Communication means, device and system between a kind of terminal
CN103500063B (en) virtual keyboard display method, device and terminal
CN104618217B (en) Share method, terminal, server and the system of resource
CN103455603B (en) Web page contents caching, webpage loading method, device and terminal unit
CN104427074B (en) A kind of methods, devices and systems for showing incoming information
CN104683456B (en) Method for processing business, server and terminal
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
CN104123120B (en) A kind of browser page data filtering method, device and system
CN104978115A (en) Content display method and device
CN104837042B (en) The coding method of digital multimedia data and device
CN103279574A (en) Method, device and terminal device for loading explorer pictures
CN106933525A (en) A kind of method and apparatus of display image
CN104699501B (en) A kind of method and device for running application program
CN107786424A (en) Audio/video communication method, terminal and server
CN104166646B (en) A kind of method and apparatus for inputting uniform resource locator
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN107590397A (en) A kind of method and apparatus for showing embedded webpage
CN104253870B (en) The method and apparatus of control data access cycle
CN106294168A (en) A kind of method and system carrying out Application testing
CN106713608A (en) Application function state modifying method and apparatus, and terminal
CN104516624A (en) Method and device for inputting account information
CN103677944B (en) A kind of method for making locking screen interface, device and terminal device
CN103631592B (en) A kind of configuration, call method, device and equipment that shows resource

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20221130

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518133

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right