CN105808291B - Terminal applies connection method and device - Google Patents

Terminal applies connection method and device Download PDF

Info

Publication number
CN105808291B
CN105808291B CN201610126378.5A CN201610126378A CN105808291B CN 105808291 B CN105808291 B CN 105808291B CN 201610126378 A CN201610126378 A CN 201610126378A CN 105808291 B CN105808291 B CN 105808291B
Authority
CN
China
Prior art keywords
task
application
preset
data
terminal
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.)
Active
Application number
CN201610126378.5A
Other languages
Chinese (zh)
Other versions
CN105808291A (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.)
Tencent Technology Shenzhen 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 CN201610126378.5A priority Critical patent/CN105808291B/en
Publication of CN105808291A publication Critical patent/CN105808291A/en
Application granted granted Critical
Publication of CN105808291B publication Critical patent/CN105808291B/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/65Updates
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

Connection method and device are applied the invention discloses a kind of terminal.The terminal includes: the preset task for obtaining the first application and calling the second application execution using connection method, wherein the first application is mounted on terminal, and the second application is not installed at terminal;Store preset task data to terminal preset memory locations, and terminal installation second application, wherein second application for from preset memory locations read preset task data;In the second application after the data for reading preset task in preset memory locations, the connection of the first application and the second application is established, wherein the second application executes preset task according to the data of preset task.The technical issues of application scenarios that the present invention solves terminal in the related technology cannot seamlessly transit.

Description

Terminal applies connection method and device
Technical field
The present invention relates to terminal applies fields, apply connection method and device in particular to a kind of terminal.
Background technique
Currently, the connection (link) between two in terminal applications mainly passes through communication mechanism URL scheme pull-up Mode.Fig. 1 is a kind of flow chart using connection method of the terminal of basis in the related technology.As shown in Figure 1, active pull-up One side is using A, and the side being pulled up is to need to call the specific function for completing to apply A using B using A using B, exist using A When pull-up application B, need to construct uniform resource locator (the Union Resource that can be identified and execute using B Locator, referred to as URL), then the URL is passed to by system (Operating System, referred to as OS) and is able to carry out The URL's applies B.Wherein, dotted line indicates the sightless behavior of user terminal.
Fig. 2 is another flow chart using connection method according to terminal in the related technology.As shown in Fig. 2, using A The cooperation that specific function needs to apply B is executed, but there are no installations at the terminal using B, pass through connection, Huo Zheying using A Downloading is triggered with market using B to terminal;After application B downloading is completed, B is applied in installation at the terminal;It is popped up in terminal It is installed using the installation interface of B, and then to using B;After being installed using B, user, which opens, applies B, straight using B The homepage jumped to using B is connect, or jumps to other pages using B.From the aspect of the application scenarios transition in terminal, In After B installation at the terminal, when opening using B, the homepage using B is only opened, there is no directly execute to apply A Task, be interrupted using the usage scenario of A, need to return the task execution page using A, cause answering using A and application B Smooth transition is not obtained with scene.
Aiming at the problem that application scenarios of terminal in the related technology cannot seamlessly transit, effective solution is not yet proposed at present Scheme.
Summary of the invention
Connection method and device are applied the embodiment of the invention provides a kind of terminal, at least to solve in the related technology eventually The technical issues of application scenarios at end cannot seamlessly transit.
According to an aspect of an embodiment of the present invention, a kind of application connection method of terminal is provided.The application of the terminal Connection method includes: the preset task for obtaining the first application and calling the second application execution, wherein and the first application is mounted on terminal, Second application is not installed at terminal;Store preset task data to terminal preset memory locations, and terminal install second Using, wherein the second application from preset memory locations for reading the data of preset task;It applies second from default storage After the data for reading preset task in position, the connection of the first application and the second application is established, wherein the second application is according to pre- If the data of task execute preset task.
According to another aspect of an embodiment of the present invention, a kind of application attachment device of terminal is additionally provided.The terminal is answered Include: acquiring unit with attachment device, the preset task of the second application execution is called for obtaining the first application, wherein first Using terminal is mounted on, the second application is not installed at terminal;Storage unit, it is pre- to terminal for storing the data of preset task If storage location, and in the second application of terminal installation, wherein the second application from preset memory locations for reading preset task Data;Unit is established, for after the data for reading preset task in preset memory locations, establishing first in the second application Using the connection with the second application, wherein the second application executes preset task according to the data of preset task.
In embodiments of the present invention, the preset task of the second application execution, the first application are called using the application of acquisition first It is mounted on terminal, the second application is not installed at terminal;The data of preset task are stored to the preset memory locations of terminal, and at end The second application of end installation, the second application from preset memory locations for reading the data of preset task;It applies second from pre- If after the data for reading preset task in storage location, establishing the connection of the first application and the second application, having reached second and answered With the purpose of preset task is executed according to the data of preset task, to realize the technology effect of the application scenarios smooth transition of terminal Fruit, and then the technical issues of the application scenarios for solving terminal in the related technology cannot seamlessly transit.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart using connection method of the terminal of basis in the related technology;
Fig. 2 is another flow chart using connection method according to terminal in the related technology;
Fig. 3 is a kind of hardware configuration frame of the terminal using connection method of terminal according to an embodiment of the present invention Figure;
Fig. 4 is the flow chart using connection method of terminal according to a first embodiment of the present invention;
Fig. 5 is the flow chart using connection method of terminal according to a second embodiment of the present invention;
Fig. 6 is the flow chart using connection method of terminal according to a third embodiment of the present invention;
Fig. 7 is the flow chart using connection method of terminal according to a fourth embodiment of the present invention;
Fig. 8 is the flow chart using connection method of terminal according to a fifth embodiment of the present invention;
Fig. 9 is the flow chart using connection method of terminal according to a sixth embodiment of the present invention;
Figure 10 is the flow chart using connection method of terminal according to a seventh embodiment of the present invention;
Figure 11 is the flow chart using connection method of terminal according to a eighth embodiment of the present invention;
Figure 12 is the screenshotss schematic diagram of game application and the application connection of terminal according to a first embodiment of the present invention;
Figure 13 is the screenshotss schematic diagram of game application and the application connection of terminal according to a second embodiment of the present invention;
Figure 14 is the screenshotss schematic diagram of game application and the application connection of terminal according to a third embodiment of the present invention;
Figure 15 is the screenshotss schematic diagram of game application and the application connection of terminal according to a fourth embodiment of the present invention;
Figure 16 is the screenshotss schematic diagram of game application and the application connection of terminal according to a fifth embodiment of the present invention;
Figure 17 is the screenshotss schematic diagram of game application and the application connection of terminal according to a sixth embodiment of the present invention;
Figure 18 is the schematic diagram according to a first embodiment of the present invention using attachment device;
Figure 19 is the schematic diagram using attachment device according to a second embodiment of the present invention;
Figure 20 is the schematic diagram using attachment device according to a third embodiment of the present invention;
Figure 21 is the schematic diagram using attachment device according to a fourth embodiment of the present invention;And
Figure 22 is a kind of structural block diagram of terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment using connection method of terminal is provided, it should be noted that In The step of process of attached drawing illustrates can execute in a computer system such as a set of computer executable instructions, also, It, in some cases, can be to be different from shown in sequence execution herein although logical order is shown in flow charts The step of out or describing.
Embodiment of the method provided by the embodiment of the present application one can be in mobile terminal, terminal or similar fortune It calculates and is executed in device.For running on computer terminals, Fig. 3 is that a kind of application of terminal according to an embodiment of the present invention connects Connect the hardware block diagram of the terminal of method.As shown in figure 3, terminal 1 may include one or more (in figure Only showing one) (processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA to processor 102 Deng executive device), memory 104 for storing data and for the transmitting device 106 of communication function.This field is general Logical technical staff is appreciated that structure shown in Fig. 3 is only to illustrate, and does not cause to limit to the structure of above-mentioned electronic device. For example, terminal 1 may also include than shown in Fig. 3 more perhaps less component or with different from shown in Fig. 3 Configuration.
Memory 104 can be used for storing the software program and module of application software, such as the terminal in the embodiment of the present invention The corresponding program instruction/module of application connection method, the software journey that processor 102 is stored in memory 104 by operation Sequence and module execute thereby executing various function application and data, that is, that realizes above-mentioned terminal applies connection method.It deposits Reservoir 104 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage fills It sets, flash memory or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to place The remotely located memory of device 102 is managed, these remote memories can pass through network connection to terminal 1.Above-mentioned network Example include but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of terminal 1 provide.In an example, transmitting device 106 includes that a network is suitable Orchestration (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments from And it can be communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, abbreviation For RF) module, it is used to wirelessly be communicated with internet.
Under above-mentioned running environment, connection method is applied this application provides terminal as shown in Figure 4.The terminal is answered It can be applied in intelligent terminal, executed by the processor in intelligent terminal, intelligent terminal with connection method It can be smart phone, tablet computer etc..At least one application program is installed, the embodiment of the present invention is simultaneously in intelligent terminal The not type of defining application can be system class application program, or software class application program.
Fig. 4 is the flow chart using connection method of terminal according to a first embodiment of the present invention.As shown in figure 4, the end End includes the following steps: using a kind of optional scheme of connection method
Step S402 obtains the preset task that the second application execution is called in the first application.
In the scheme that the application above-mentioned steps S402 is provided, the first application can be the application program being mounted in terminal (Application, referred to as APP) is a side of active pull-up task, can be game application, safety management application, financing Using etc..Second application is needs to download preset task of the installation to complete the first application by system, to be drawn by the first application Act the side for calling and executing preset task, preset task is first to apply task to be delivered, that is, second applies and drawn It is the task of the first application execution after rising.
Optionally, which is the mobile devices such as smart phone, tablet computer.When the first application needs to complete preset task But when cannot directly execute preset task, it cannot directly only be upgraded by data itself, be needed by the way that default appoint can be executed Business second application to complete, for example, preset task be application province's flow update, when game application save flow update when, It cannot only lean on data itself to carry out game version upgrading, the application Bora by the way that preset task can be executed is needed to complete.It obtains The preset task of the second application execution is called in first application.First application is mounted on terminal, and the second application is not installed at terminal.
First application of the embodiment cannot directly execute preset task, default by calling the second application indirectly to execute Task.It determines that the preset task of the second application execution is called in the first application, obtains the first application and call the pre- of the second application execution If task.
Step S404 stores the data of preset task to the preset memory locations of terminal, and in the second application of terminal installation.
In the scheme that the application above-mentioned steps S404 is provided, when the second application is fitted without at the terminal, obtaining After the preset task of the second application execution is called in first application, preset task is packed, the data of preset task are obtained, For example, preset task is packaged into a URL.The data of preset task are stored to the preset memory locations of terminal, that is, by pre- If the data of task are pre-buried to preset memory locations.The data of preset task include the data of the first application, have preset format, For example, the data of preset task are URL Scheme format, the second application can handle the data of the URL Scheme format.Its In, preset memory locations are the position for the data that the second application can obtain preset task, for example, the data of preset task are deposited It stores up to database D B (Data Base, referred to as DB).
In the second application of terminal installation, optionally, which can download to obtain by connection or application market, The application market can be application shop.After downloading to obtain the second application by connection or application market, pass through terminal The system installed installs second application at the terminal.Second application can read preset task from preset memory locations Data.
The embodiment stores the number of preset task after the preset task of the second application execution is called in the application of acquisition first According to the preset memory locations to terminal, and in the second application of terminal installation, the second application from preset memory locations for reading The data of preset task.
Step S406 establishes first and answers in the second application after the data for reading preset task in preset memory locations With the connection with the second application.
In the scheme that the application above-mentioned steps S406 is provided, default appoint is read from preset memory locations in the second application After the data of business, the connection of the first application and the second application is established, wherein the second application is executed according to the data of preset task Preset task.The embodiment can directly execute preset task when the second application starting, that is, the second application is more than The homepage of itself is opened, but receives and handled the preset task of the first application, needs not return to the task of the first application The page is handled, does not need to reselect preset task, the preset task for completing the first application by the second application is realized, reaches The application scenarios of first application are smoothly transitted into the technical effect of the application scenarios of second application.
Optionally, the first application is game application, and the second application is precious for application, and preset memory locations are database, are being answered With treasured after the edition upgrading data for reading game application in database, the connection of game application and application treasured, application are established Treasured is that game application executes edition upgrading according to the data of the edition upgrading of game application, more than opens the homepage of itself, and It is the data for receiving and having handled the edition upgrading of game application, needs not return to the task processing page of game application again Edition upgrading task is selected, has achieved the effect that the application scenarios of game application are smoothly transitted into using precious application scenarios, it is real Show through the precious edition upgrading task for completing game application of application.
S402 may be implemented to adjust by obtaining the first application to step S406 scheme provided by the invention through the above steps With the preset task of the second application execution, the first application is mounted on terminal, and the second application is not installed at terminal;Store preset task Data to terminal preset memory locations, and terminal installation second application, second application for from preset memory locations Read the data of preset task;In the second application after the data for reading preset task in preset memory locations, first is established Using the connection with the second application, the second application executes preset task according to the data of preset task, has reached the application of terminal The effect of scene smooth transition, improves the technical effect of user experience, and then solves answering for terminal in the related technology The technical issues of cannot being seamlessly transitted with scene.
As an alternative embodiment, the application step S404 starts second after the second application of terminal installation Using, when detecting that preset task needs to be implemented, pass through second application the execution page execute preset task.Fig. 5 is basis The flow chart using connection method of the terminal of second embodiment of the invention.As shown in figure 5, the terminal applies connection method packet Include following steps:
Step S501, the second application of starting.
In the scheme that the application above-mentioned steps S501 is provided, after the second application of terminal installation, terminal can pass through Second application execution task.Before the second application processing task, the second application of starting, the task into the second application handles page Face.
Step S502 is applied by second after the application of starting second and is detected preset task in preset memory locations Whether need to be implemented.
In the scheme that the application above-mentioned steps S502 is provided, after the application of starting second, apply by second pre- If detecting whether preset task needs to be implemented in storage location.Optionally, it applies by second and is detected in preset memory locations Whether the first application has current manageable by the data of the second currently processed preset task of application and the second application The data of the preset task of preset format.If applying in preset memory locations the first application of detection to have by the by second The preset task of the data or current manageable preset format of the second application of the two currently processed preset tasks of application Data, it is determined that second applies the preset task for detecting and needing to be implemented in preset memory locations.
Step S503 detects that preset task needs to be implemented if applied by second in preset memory locations, jumps To the execution page of the second application.
In the scheme that the application above-mentioned steps S503 is provided, the execution page of the second application is that the second application is answered first The page that preset task is executed realizes the execution of the preset task to the first application by the execution page.In It applies and is detected in preset memory locations after whether preset task need to be implemented by second, if applied by second pre- If detecting that preset task needs to be implemented in storage location, the execution page of the second application is jumped directly to.Optionally, it second answers It executes the page and completes the preset task that the second application execution is called in the first application according to the data of preset task.
Step S504 executes preset task by executing the page, and deletes the number of the preset task in preset memory locations According to.
In the scheme that the application above-mentioned steps S504 is provided, the first application is executed by the page that executes of the second application Preset task, and delete the data of the preset task in preset memory locations, it is ensured that the second application execution is called in the first application Preset task is executed only once.
The embodiment of the present invention is by the way that after the second application of terminal installation, the second application of starting is applied by second pre- If detecting whether preset task needs to be implemented in storage location;If by second apply detected in preset memory locations it is pre- If task needs to be implemented, the execution page of the second application is jumped to;Preset task is executed by executing the page, and deletes default deposit Storage space set in preset task data, avoid second using repeating to execute preset task, Jin Ershi from preset memory locations The technical effect of the application scenarios smooth transition of existing terminal.
As an alternative embodiment, the data of the multi-task are stored in preset memory locations, the multi-task It include the data that the preset task of the second application execution is called in the first application in data.The application step S502 is answered by second Before whether detection preset task needs to be implemented in preset memory locations, pass through the data that the second application determines the multi-task In have by the data of the task of the second application execution, and then determine have by the timeliness of the data of the task of the second application execution whether In preset threshold, preset task is finally determined.
Fig. 6 is the flow chart using connection method of terminal according to a third embodiment of the present invention.As shown in fig. 6, the end End application connection method the following steps are included:
Step S601 passes through the data of the second application traversal the multi-task.
In the scheme that the application above-mentioned steps 601 provide, the data of the multi-task are stored in preset memory locations, it can Selection of land stores the data of the task data of different application or the different task of same application in preset memory locations.Passing through Second applies and is detected before whether preset task need to be implemented in preset memory locations, passes through the second application traversal the multi-task Data.Optionally, pass through the format of the data of the second application traversal the multi-task.
Step S602 judges whether have in the data of the multi-task by the data of the task of the second application execution.
In the scheme that the application above-mentioned steps S602 is provided, in the mistake of the data by the second application traversal the multi-task Cheng Zhong judges whether have in the data of the multi-task by the data of the task of the second application execution.It can optionally it is determined that whether having By the preset task of the preset format of the second application processing.
Whether step S603 judges the timeliness of the data of task in preset threshold.
In the scheme that the application above-mentioned steps S603 is provided, the task of the second application execution has timeliness.If sentenced There is the timeliness for the data for being judged task by the data of the task of the second application execution whether pre- in the disconnected data of the multi-task out If in threshold value, if the timeliness of the data of task, not in preset threshold, the task is invalid, if the timeliness of the data of task In preset threshold, then task is effective.
Step S604, the task that determines are preset task.
In the scheme that the application above-mentioned steps S604 is provided, if it is determined that the timeliness for the data gone out on missions is in preset threshold It is interior, determine that the task is preset task, that is, promising first application can execute in the multi-task in preset memory locations Task, and the timeliness of the task is in preset threshold, then the task is that the default of the second application execution is called in the first application Task.
The data that the embodiment of the present invention passes through the second application traversal the multi-task;Judge whether have in the data of the multi-task By the data of the task of the second application execution;If it is judged that having in the data of the multi-task by the task of the second application execution Whether data judge the timeliness of the data of task in preset threshold;If it is determined that the timeliness for the data gone out on missions is in default threshold It in value, determines that task is preset task, to realize the determination to preset task, and then realizes that the application scenarios of terminal are smooth The technical effect of transition.
As another optional embodiment, have in the multi-task data in preset memory locations and held by the second application The data of capable task also have not by the data of the task of the second application execution.Multinomial is judged in the application step S602 Whether have in the data of business by after the data of the task of the second application execution, if it is judged that not having in the data of the multi-task By the data of the task of the second application execution, the homepage of the second application is jumped to, if it is judged that having in the data of the multi-task By the data of the task of the second application execution, the data for judging task timeliness whether in preset threshold after, if sentenced The timeliness of the disconnected data gone out on missions jumps to the homepage of the second application not in preset threshold.
Fig. 7 is the flow chart using connection method of terminal according to a fourth embodiment of the present invention.As shown in fig. 7, the end End application connection method the following steps are included:
Step S701, if it is judged that not jumped by the data of the task of the second application execution in the data of the multi-task Go to the homepage of the second application.
In the application above-mentioned steps S701, whether there is appointing by the second application execution in the data for judging the multi-task After the data of business, if it is judged that not jumped to by the data of the task of the second application execution in the data of the multi-task The homepage of second application, that is, the homepage of oneself is only opened in the second application, there is no receive and handle task.
Step S702 is sentencing if it is judged that having in the data of the multi-task by the data of the task of the second application execution After whether the timeliness of the data of disconnected task is in preset threshold, if it is determined that the timeliness for the data gone out on missions is not in default threshold In value, the homepage of the second application is jumped to.
In the application above-mentioned steps S702, if it is judged that there is appointing by the second application execution in the data of the multi-task The data of business, that is, having the data of the preset task of first application the second application execution of calling, judgement in the data of the multi-task After the timeliness of the data of the task is whether in preset threshold, the data of the task by the second application execution are further determined that Whether effectively, if it is determined that the timeliness for the data gone out on missions is in preset threshold, then the task by the second application execution Data invalid, jump to the homepage of the second application.
The embodiment of the present invention whether have in the data for judging the multi-task by the data of the task of the second application execution it Afterwards, if it is judged that not jumping to the second application by the data of the task of the second application execution in the data of the multi-task Homepage;If it is judged that having in the data of the multi-task by the data of the task of the second application execution, in the data for judging task Timeliness whether in preset threshold after, if it is determined that the timeliness for the data gone out on missions jumps to not in preset threshold The homepage of second application realizes that the second application efficiently performs the preset task of the first application, and then realizes the applied field of terminal The technical effect of scape smooth transition.
As another optional embodiment, second is called in the application of installation second and then the first application of secondary acquisition The preset task of application execution, there are the data of preset task in judging preset memory locations, delete preset memory locations In preset task data, and trigger second application according to the data of preset task execute preset task, judging to preset The data of preset task are not present in storage location, directly triggers the second application according to the data of preset task and executes default appoint Business.
Fig. 8 is the flow chart using connection method of terminal according to a fifth embodiment of the present invention.As shown in figure 8, the end End application connection method the following steps are included:
Step S801 obtains the preset task that the second application execution is called in the first application again.
In the application above-mentioned steps S801, successfully the first application of the second application of installation and then secondary acquisition at the terminal Call the preset task of the second application execution.Optionally, after successfully installation second is applied at the terminal, user terminal is not straight The second application is taken out, but returns to the preset task selection interface of the first application, calls second to answer at this point, obtaining the first application With the preset task of execution.
Step S802 judges the data that whether there is preset task in preset memory locations.
If executing first in the scheme that the application above-mentioned steps S504 is provided by the execution page of the second application and answering Preset task, and delete the data of the preset task in preset memory locations, then Non-precondition is appointed in preset memory locations The data of business, if terminal successfully install the second application and store preset task data to terminal preset memory locations, The first application is directly returned to, then preset memory locations are still stored with the data of preset task.In the application above-mentioned steps S802 In, the preset task of the second application execution is called in the application of acquisition first and then secondary judges whether deposit in preset memory locations In the data of preset task.
Step S803 deletes the data of the preset task in preset memory locations, and triggers the second application and appointed according to default The data of business execute preset task.
In the application above-mentioned steps S803, if it is judged that being deleted in preset memory locations there are the data of preset task Except the data of the preset task in preset memory locations, it is ensured that the first application calls the preset task of the second application execution only to be held Row is primary, and the second application is avoided to repeat the preset task of the first application, and triggers the second application, so that second applies basis The data of preset task are to the first application execution preset task.
Step S804 directly triggers the second application according to the data of preset task and executes preset task.
In the application above-mentioned steps S804, if it is judged that the data of preset task are not present in preset memory locations, Directly the second application of triggering executes preset task according to the data of preset task.
The embodiment of the present invention is applied in installation second and then the default of the second application execution is called in the first application of secondary acquisition Task;Judge the data that whether there is preset task in preset memory locations;If it is judged that existing in preset memory locations pre- If the data of task, the data of the preset task in preset memory locations are deleted, and trigger the second application according to preset task Data execute preset task;If it is judged that the data of preset task are not present in preset memory locations, directly triggering second is answered Preset task is executed with according to the data of preset task, it is ensured that the first application calls the preset task of the second application execution only to be held Row is primary, and then realizes the technical effect of the application scenarios smooth transition of terminal.
As another optional embodiment, data to the preset memory locations for storing preset task include: that storage is pre- If the data of task are to presetting database, for example, the data of preset task are pre-buried to assignment database DB, the second application is from pre- If reading the data of preset task in database, judge whether the preset task in preset data is that the second application is manageable Task, and the task that determines be this second application manageable task when, judge the timeliness of the task in preset threshold, If it is judged that the timeliness of the task in preset threshold, determines that the storing in the preset data of the task is that the first application calls the The preset task of two application executions, the second application execute preset task according to the data of preset task, realize the pre- of the first application If task is completed.
As another optional embodiment, data to the preset memory locations for storing preset task include: that storage is pre- If the data of task are to background server.The data of preset task are read in second application from background server, judge that backstage takes Whether the preset task in business device is second using manageable task, and is that second application can be located in the task that determines When the task of reason, the timeliness of the task is judged in preset threshold, if it is judged that the timeliness of the task is in preset threshold, really Storing in the fixed background server for task is the preset task that the second application execution is called in the first application, and the second application is according to pre- If the data of task execute preset task, realize that the preset task of the first application is completed.
The embodiment of the present invention can be using the data of various ways storage preset task, the data of above-mentioned storage preset task It is merely a preferred embodiment of the present invention, the method for not representing the data of the storage preset task of the embodiment of the present invention only includes upper State storage mode.In order to improve the technical effect that the application scenarios of terminal seamlessly transit, the mode of the data of preset task is stored It no longer illustrates one by one herein.
Technical solution of the present invention is illustrated below with reference to preferred embodiment.
Fig. 9 is the flow chart using connection method of terminal according to a sixth embodiment of the present invention.As shown in figure 9, the end End application connection method the following steps are included:
Step S901 initiates preset task using A.
In this embodiment, it can be the APP being mounted in terminal using A, be a side of active pull-up task, Ke Yiwei Game application, safety management application, financing application etc..Preset task is first using task to be delivered, that is, the second application It is the task of the first application execution after being pulled up.Preset task is initiated using A.
Step S902, pre-buried preset task to presetting database.
Application A initiate preset task after, pre-buried preset task to presetting database, by preset task be stored in advance to In presetting database.
Step S903 applies B by connection or application market downloading.
It is the second application corresponding with the first application using B, to need to download installation by system to complete the first application Preset task application.Second application is called by the first application to execute preset task, wherein the preset task is answered for first With task to be delivered, that is, second apply be after being pulled up the first application execution task.Pre-buried preset task extremely While presetting database, B is applied by connection or application market downloading.
Step S904 has adjusted system installation using B after application B downloading is completed.
Adjust system installation using B after applying B by connection or application market downloading, which is to be mounted on end System in end equipment can be OS system.
Step S905 reads preset task data using B from presetting database.
After successfully installing at the terminal using B, system, which is opened, applies B, checks whether from presetting database using B Its pending preset task in need is read default if the preset task pending using B in need in presetting database Task data realizes the smooth transition of user's scene.
The embodiment of the present invention by using A initiate preset task, pre-buried task to presetting database, and by connection or B is applied in the downloading of person's application market, has adjusted system installation using B after application B downloading is completed, using B from presetting database Preset task data are read, the technical effect of the application scenarios smooth transition of terminal is realized.
Figure 10 is the flow chart using connection method of terminal according to a seventh embodiment of the present invention.As shown in Figure 10, should Terminal application connection method the following steps are included:
Step S1001 initiates preset task using A.
The cooperation that preset task needs to apply B is executed using A.
Step S1002, judges whether terminal is installed using B.
After application A initiates preset task, judge whether terminal is installed using B.If it is judged that terminal installation application B executes step S1003, if it is judged that terminal is fitted without using B, executes step S1006.
Step S1003, judges whether presetting database stores the data of preset task.
If it is judged that terminal is equipped with using B, then judge whether store preset task in presetting database, that is, sentencing The whether pre-buried preset task of disconnected presetting database.If it is judged that storing preset task in presetting database, step is executed S1004, if it is judged that executing step S1005 without storage preset task in presetting database.
Step S1004 deletes the data of the preset task in presetting database.
If it is judged that storing preset task in preset data, apply B execution preset task may if bosom friend has adjusted The repetition of task is caused, at this point, deleting the preset task in presetting database, avoids repeating for preset task.
Step S1005 has been adjusted using B.
After deleting the preset task in presetting database, alternatively, after terminal is successfully installed using B, judgement It when not having to store the data of preset task out in presetting database, has adjusted using B, optionally, has been risen and answered by URL Scheme tune Use B.
Step S1006 stores the data of preset task to presetting database.
If it is judged that preset task is packed when terminal is fitted without using B, obtain the data of preset task, For example, preset task is packaged into a URL.After preset task packaging is completed, the data of preset task are stored to default Database, that is, the data of preset task are pre-buried to presetting database.
B is applied in step S1007, downloading.
After the data to presetting database of storage preset task, connection or application market downloading application can be passed through B.System is adjusted after application B downloading is completed, the installation interface of B is applied in pop-up, will be installed using B to terminal by system. System, which is opened, applies B.It first goes to check presetting database when starting using B, if there is preset task to need to locate in presetting database Reason then jumps directly to the execution page of the second application, and the task in presetting database is deleted;If in presetting database The processing of Non-precondition task, then jump to the homepage of the second application.
The embodiment of the present invention judges whether terminal is installed using B, if it is judged that eventually by initiating preset task using A When end installation is using B, judge whether presetting database stores the data of preset task, if it is judged that presetting database storage is pre- If when the data of task, deleting the data of the preset task in presetting database, adjust using B, if it is judged that terminal does not have B is applied in installation, and B is applied in downloading, realizes the technical effect of the application scenarios smooth transition of terminal.
Figure 11 is the flow chart using connection method of terminal according to a eighth embodiment of the present invention.As shown in figure 11, should Terminal application connection method the following steps are included:
B is applied in step S1101, starting.
After being installed using B, if at this moment user terminal is directly opened using B, starts using B, then first go Check preset memory locations.
Step S1102, judges whether preset memory locations have using the manageable preset task of B.
Preset memory locations may include the multi-task, oneself being capable of handling for task is only handled using B.It is applied in starting After B, judge whether preset memory locations have using the manageable preset task of B.If manageable not pre- using B If task, step S1104 is executed, if there is applying the manageable preset task of B, executes step S1103.
Step S1103 judges whether preset task is effective.
Preset task has the limitation of timeliness, can only handle effective task using B.If it is judged that preset memory locations Have using the manageable preset task of B, judges whether the preset task is effective.If it is judged that the preset task is effective, hold Row step S1105 executes step S1104 if it is judged that the preset task is invalid.
Step S1104 jumps to the homepage using B using B.
If it is judged that it is not invalid using the manageable preset task of B or predeterminated position, then it is jumped to using B Using the homepage of B, does not receive and handle and call the preset task executed using B using A.
Step S1105 jumps to the execution page using B, deletes the preset task of preset memory locations.
If it is judged that the preset task of preset memory locations is invalid, the execution page using B is jumped to, and is deleted pre- If the preset task of storage location.
The application A of the embodiment of the present invention calls the second application execution preset task, but B is applied to install not yet, then wraps This preset task is filled, the data of preset task are obtained, stores the data of preset task first using A to presetting database, then Pass through connection or application market triggering downloading B.After downloading using B, adjust system installation using B, at this point, system pop-up B is applied in installation interface, installation.After being installed using B, if at this moment user terminal is directly opened using B, B is applied It first goes to check in preset memory locations whether there is oneself manageable preset task when starting.If preset memory locations have certainly Oneself manageable preset task, then jump directly to the execution page using B, and by the preset task in preset memory locations It deletes.If Non-precondition task is handled in preset memory locations, the homepage using B is jumped to.Due to preset memory locations In may store to the task of multiple applications, using B from only extracted when extracting task in preset memory locations oneself can from The preset task of reason, and the limitation that preset task is effective need to judge whether preset task is an effective task.Such as Fruit user is not turned on using B, then returns using A, execute the method flow installed using B, that is, executing step S1003 to step S1005.The embodiment starts the side for reading DB processing task using B by the way that task is nuzzled DB in advance using A Formula makes to install the task using A is just capable of handling after B opening for the first time, realize in the case where application B needs the scene of downloading installation The technical effect of the application scenarios smooth transition of terminal.
Figure 12 is the screenshotss schematic diagram of game application and the application connection of terminal according to a first embodiment of the present invention.Such as figure Shown in 12, which is smart phone, and game application is that love eliminates game application everyday.Game application, which is eliminated, in love everyday does version When this update, version of display updates the page, passes through " version updating ", " junior partners~lose no time to update and play together!", " everyday Love eliminates version updating, experiences fastly " love eliminates game application and has newly executing for task everyday for prompt, it needs to carry out version more Newly." immediately update " task can be executed about the version updating that love eliminates game application everyday, " saving flow more new task " and " wouldn't update " task selects one of task to eliminate the preset task of game application as love everyday.
Figure 13 is the screenshotss schematic diagram of game application and the application connection of terminal according to a second embodiment of the present invention.Such as figure Shown in 13, when determining that love eliminates " saving flow to update " task of game application everyday is preset task, love eliminates game everyday It is updated using province's flow cannot be executed, needs to call using precious execution preset task.For example, in this embodiment, liking everyday After the selection of the update page " the saving flow update " task for eliminating game application, pop-up " saves flow to update, needs to download and install Using treasured, if downloading application now is precious " signal language, and the signal language of " next time is said again " and " update immediately ".If with Family terminal selection " next to say again ", then do not install using treasured, if user terminal selecting " updating immediately ", is downloaded using treasured, The system of terminal installing using treasured to downloading is adjusted.
Figure 14 is the screenshotss schematic diagram of game application and the application connection of terminal according to a third embodiment of the present invention.Such as figure Shown in 14, after the update page selection " updating immediately " for the game application for liking to eliminate everyday, downloading application is precious at the terminal, The update page that love eliminates game application everyday shows download progress item, and shows the signal language " in the precious downloading of application ... " to mention During showing that user terminal is being downloaded using treasured.
Figure 15 is the screenshotss schematic diagram of game application and the application connection of terminal according to a fourth embodiment of the present invention.Such as figure Shown in 15, game application is eliminated when doing the update of province's flow in love everyday, and calling system precious in downloading application is successfully installed and answered After treasured, the precious operation interface of display application, for example, operation interface shows " completing to operate using the following contents " to have prompted Include " program bag installation procedure " and " empowerment management " program using precious operation at the precious operation of application, " always ", " only this Once ", wherein selection " always " indicates that selection this time operates always, and " this once " indicates that this selects the operation.
Figure 16 is the screenshotss schematic diagram of game application and the application connection of terminal according to a fifth embodiment of the present invention.Such as figure Shown in 16, when love everyday eliminates game application and executes province's flow update, after downloading installation application treasured completion, shown in terminal It has been installed using precious application program.If user terminal selecting open button, jump directly to everyday love eliminate into The execution page that province flow updates eliminates love everyday and carries out province's flow update.
Figure 17 is the screenshotss schematic diagram of game application and the application connection of terminal according to a sixth embodiment of the present invention.Such as figure Shown in 17, terminal calls directly after downloading completion application is precious and saves flow more new task using precious execution, eliminates to love everyday New version be downloaded, rather than return like everyday eliminate homepage reselect preset task, realize the application of terminal The technical effect of scene smooth transition.Wherein, the download progress eliminated is liked everyday using precious display, for example, having downloaded 17%.This Outside, the downloading portal of other application is also shown using treasured, so that user terminal selecting is downloaded, other application is mounted on terminal On.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage Medium, such as read-only memory (Read-Only Memory, referred to as ROM)/random access memory (Random Access Memory, referred to as RAM), magnetic disk, in CD, including some instructions are used so that a terminal device (can be mobile phone, count Calculation machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, it additionally provides a kind of for implementing the device using connection method of above-mentioned terminal.Figure 18 be the schematic diagram according to a first embodiment of the present invention using attachment device.As shown in figure 18, this includes: using attachment device Acquiring unit 10, storage unit 20 and establishes unit 30.
Acquiring unit 10 calls the preset task of the second application execution for obtaining the first application, wherein the first application peace Mounted in terminal, the second application is not installed at terminal.
First application can be the APP being mounted in terminal, be active pull-up task a side, can for game application, Safety management application, financing application etc..Second application is installed to need to download by system to complete the default of the first application and appoint Business to be called by the first application pull-up, and then executes a side of preset task, and preset task, which is that the first application is to be delivered, appoints Business, that is, second applies the task after being pulled up for the first application execution.
Optionally, which is the mobile devices such as smart phone, tablet computer, when the first application needs to complete preset task But when cannot directly execute preset task, it cannot directly only be upgraded by data itself, be needed by the way that default appoint can be executed Second application of business is to complete, for example, preset task is to upgrade using new version, when game application is in upgrading game new version When, game version upgrading only directly cannot be carried out by data itself, need the application Bora by the way that preset task can be executed complete At.
First application of the embodiment cannot directly execute preset task, indirectly execute default appoint by the second application Business.It determines that the preset task of the second application execution is called in the first application, the first application is obtained by acquiring unit 10 and calls second The preset task of application execution.
Storage unit 20, for storing the data of preset task to the preset memory locations of terminal, and in terminal installation the Two applications, wherein the second application from preset memory locations for reading the data of preset task.
When the second application is fitted without at the terminal, the first application is obtained in acquiring unit 10 and calls the second application execution Preset task after, preset task is packed, the data of preset task are obtained, for example, preset task is packaged into one A URL.Storage unit 20 stores the data of preset task to the preset memory locations of terminal, that is, storage unit 20 will be preset The data of task are pre-buried to preset memory locations.The data of preset task include the data of the first application, have preset format, than Such as, the data of preset task are URL Scheme format, and the second application can handle the data of the URL Scheme format.It is default Storage location is the position for the data that the second application can obtain preset task, for example, storage unit 20 is by the number of preset task According to storing to database D B.
In the second application of terminal installation, optionally, which can download to obtain by connection or application market, The application market can be application shop.After downloading to obtain the second application by connection or application market, pass through terminal The system installed installs second application at the terminal.Second application can read preset task from preset memory locations Data.
The embodiment is after the preset task that acquiring unit 10 obtains first application the second application execution of calling, by depositing Storage unit 20 store preset task data to terminal preset memory locations, and terminal installation second application, second application For reading the data of preset task from preset memory locations.
Unit 30 is established, for after the data for reading preset task in preset memory locations, establishing in the second application The connection of first application and the second application, wherein the second application executes preset task according to the data of preset task.
In the second application after the data for reading preset task in preset memory locations, the is established by establishing unit 30 The connection of one application and the second application, wherein the second application executes preset task according to the data of preset task.The embodiment exists Preset task can be directly executed when second application starting, that is, the second application is more than the homepage for opening itself, but The preset task for receiving and having handled the first application needs not return to the task processing page of the first application, reselects pre- If task, the preset task that the first application is completed by the second application is realized, the application scenarios for having reached the first application are smooth It is transitioned into the application scenarios of the second application.
Optionally, the first application is game application, and the second application is precious for application, and preset memory locations are database, are being answered With treasured after the edition upgrading data for reading game application in database, by establishing, unit establishes game application and application is precious Connection, using treasured according to the data of the edition upgrading of game application be game application execute edition upgrading, more than open this The homepage of body, but the data of the edition upgrading of game application are received and have handled, need not return to the task of game application The processing page reselects edition upgrading task, and the application scenarios for having reached game application are smoothly transitted into using precious applied field The effect of scape is realized through the precious edition upgrading task for completing game application of application.
In the application attachment device of the terminal of the embodiment, acquiring unit 10 can be used for executing in the embodiment of the present invention Step S402, storage unit 20 can be used for executing the step S404 in the embodiment of the present invention, and establishing unit 30 can be used for holding Step S406 in the row embodiment of the present invention.
As a kind of optional embodiment, Figure 19 is the signal using attachment device according to a second embodiment of the present invention Figure.As shown in figure 19, the application attachment device of the terminal includes: acquiring unit 10, storage unit 20 and establishes unit 30, the end The application attachment device at end further include: start unit 40, detection unit 50, the first jump-transfer unit 60 and processing unit 70.
Acquiring unit 10 in the embodiment of the present invention, storage unit 20 and establishes unit 30 and first embodiment of the invention Identical using the effect in attachment device, details are not described herein.
Start unit 40, for after the second application of terminal installation, starting second to be applied.
Detection unit 50, for applying by second and being detected in advance in preset memory locations after the application of starting second If whether task needs to be implemented.
First jump-transfer unit 60, for by second apply detected in preset memory locations preset task needs hold Row, jumps to the execution page of the second application.
Processing unit 70 for executing preset task by executing the page, and is deleted presetting in preset memory locations and is appointed The data of business.
As an alternative embodiment, the data of the multi-task are stored in preset memory locations.Figure 20 is basis The schematic diagram using attachment device of third embodiment of the invention.As shown in figure 20, the application attachment device of the terminal includes: to obtain It takes unit 10, storage unit 20 and establishes unit 30, start unit 40, detection unit 50, the first jump-transfer unit 60 and processing are single Member 70.The application attachment device of the terminal further include: Traversal Unit 80, the first judging unit 90, second judgment unit 100 and really Order member 110.
Acquiring unit 10 in the embodiment of the present invention, storage unit 20 and establishes unit 30, start unit 40, detection unit 50, identical, the In using the effect in attachment device of the first jump-transfer unit 60 and processing unit 70 and second embodiment of the invention This is repeated no more.
Traversal Unit 80, for applying whether the detection preset task in preset memory locations needs to be implemented by second Before, pass through the data of the second application traversal the multi-task.
Whether the first judging unit 90 has by the number of the task of the second application execution in the data for judging the multi-task According to.
Second judgment unit 100, for having in the data for judging the multi-task by the task of the second application execution Whether data judge the timeliness of the data of task in preset threshold.
Determination unit 110, for the timeliness of the data for going out on missions in judgement in preset threshold, the task that determines is default appoints Business.
As an alternative embodiment, Figure 21 is the signal using attachment device according to a fourth embodiment of the present invention Figure.As shown in figure 21, the application attachment device of the terminal includes: acquiring unit 10, storage unit 20 and establishes unit 30, is started Unit 40, detection unit 50, the first jump-transfer unit 60 and processing unit 70, Traversal Unit 80, the first judging unit 90, second sentences Disconnected unit 100 and determination unit 110.The application attachment device of the terminal further include: the second jump-transfer unit 120 and third jump list Member 130.
Acquiring unit 10 in the embodiment, storage unit 20 and establishes unit 30, start unit 40, detection unit 50, First jump-transfer unit 60 and processing unit 70, Traversal Unit 80, the first judging unit 90, second judgment unit 100 and determining list Member 110 is identical as the effect in third embodiment of the invention, and details are not described herein.
Second jump-transfer unit 120, for whether having in the data for judging the multi-task by the task of the second application execution Data after, if it is judged that not jumping to by the data of the task of the second application execution in the data of the multi-task The homepage of two applications.
Third jump-transfer unit 130, for having in the data for judging the multi-task by the task of the second application execution Data, the data for judging task timeliness whether in preset threshold after, if it is determined that the timeliness for the data gone out on missions does not have Have in preset threshold, jumps to the homepage of the second application.
Optionally, storage unit is used to store the data of preset task to presetting database, wherein the second application is from default The data of preset task are read in storage location.
Optionally, storage unit is used to store the data of preset task to background server, wherein the second application is from backstage The data of preset task are read in server.
The embodiment of the present invention obtains the preset task that the second application execution is called in the first application by acquiring unit 10, In, the first application is mounted on terminal, and the second application is not installed at terminal;The data of preset task are stored extremely by storage unit 20 The preset memory locations of terminal, and in the second application of terminal installation, wherein the second application from preset memory locations for reading The data of preset task;By establishing unit in the second application after the data for reading preset task in preset memory locations, Establish the connection of the first application and the second application, wherein the second application executes preset task according to the data of preset task, reaches The effect of the application scenarios smooth transition of terminal, the technical effect that improves the user experience.
Embodiment 3
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can With for save a kind of terminal of above-described embodiment using program code performed by connection method.
Optionally, in the present embodiment, above-mentioned storage medium can be located in multiple network equipments of computer network At least one network equipment.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
The first step obtains the preset task that the second application execution is called in the first application, wherein the first application is mounted on end End, the second application are not installed at terminal.
Second step stores the data of preset task to the preset memory locations of terminal, and in the second application of terminal installation, In, the second application from preset memory locations for reading the data of preset task.
Third step establishes the first application in the second application after the data for reading preset task in preset memory locations With the connection of the second application, wherein the second application executes preset task according to the data of preset task.
Optionally, storage medium is also configured to store the program code for executing following steps: in terminal installation the After two applications, the second application of starting;After the application of starting second, applies by second and detected in advance in preset memory locations If whether task needs to be implemented;If being applied by second and detecting that preset task needs to be implemented in preset memory locations, jump Go to the execution page of the second application;Preset task is executed by executing the page, and deletes default in preset memory locations The data of business.
Optionally, storage medium is also configured to store the program code for executing following steps: preset memory locations In be stored with the data of the multi-task, detect whether preset task needs to be implemented in preset memory locations applying by second Before, pass through the data of the second application traversal the multi-task;Judge whether have in the data of the multi-task by the second application execution Task data;If it is judged that having in the data of the multi-task by the data of the task of the second application execution, task is judged Data timeliness whether in preset threshold;If it is determined that the timeliness for the data gone out on missions determines task in preset threshold For preset task.
Optionally, storage medium is also configured to store the program code for executing following steps: judging multinomial Whether have in the data of business by after the data of the task of the second application execution, if it is judged that not having in the data of the multi-task By the data of the task of the second application execution, the homepage of the second application is jumped to;If it is judged that having in the data of the multi-task By the data of the task of the second application execution, the data for judging task timeliness whether in preset threshold after, if sentenced The timeliness of the disconnected data gone out on missions jumps to the homepage of the second application not in preset threshold.
Optionally, storage medium is also configured to store the program code for executing following steps: answering in installation second With and then it is secondary obtain first application call the second application execution preset task;Judge to whether there is in preset memory locations The data of preset task;If it is judged that there are the data of preset task in preset memory locations, delete in preset memory locations Preset task data, and trigger second application according to the data of preset task execute preset task;If it is judged that default The data of preset task are not present in storage location, directly triggers the second application according to the data of preset task and executes default appoint Business.
Optionally, storage medium is also configured to store the program code for executing following steps: storage preset task Data to presetting database, wherein the data of preset task are read in the second application from preset memory locations.
Optionally, storage medium is also configured to store the program code for executing following steps: storage preset task Data to preset memory locations include: to store the data of preset task to background server, wherein the second application takes from backstage It is engaged in reading the data of preset task in device.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, ROM, RAM, movement are hard The various media that can store program code such as disk, magnetic or disk.
Embodiment 4
The embodiment of the present invention also provides a kind of terminal, which can be in terminal group Any one computer terminal.Optionally, in the present embodiment, above-mentioned terminal also could alternatively be mobile terminal Equal terminal devices.
Optionally, in the present embodiment, above-mentioned terminal can be located in multiple network equipments of computer network At least one network equipment.
Optionally, Figure 22 is a kind of structural block diagram of terminal according to an embodiment of the present invention.As shown in figure 22, should Terminal A may include: one or more (one is only shown in figure) processors 221, memory 223 and transmission dress Set 225.
Wherein, memory 223 can be used for storing software program and module, such as the application of the terminal in the embodiment of the present invention Connection method and the corresponding program instruction/module of device, the software journey that processor 221 is stored in memory 223 by operation Sequence and module execute thereby executing various function application and data, that is, that realizes above-mentioned terminal applies connection method.It deposits Reservoir 223 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage fills It sets, flash memory or other non-volatile solid state memories.In some instances, memory 223 can further comprise relative to place The remotely located memory of device 221 is managed, these remote memories can pass through network connection to terminal A.Above-mentioned network Example include but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 225 is used to that data to be received or sent via a network.Above-mentioned network specific example It may include cable network and wireless network.In an example, transmitting device 225 includes a network adapter NIC, can be led to Cable is crossed to be connected with other network equipments with router so as to be communicated with internet or local area network.In an example, Transmitting device 225 is radio frequency module, is used to wirelessly be communicated with internet.
Specifically, memory 223 is used to store the information of deliberate action condition and default access user and using journey Sequence.
The information and application program that processor 221 can call memory 223 to store by transmitting device, it is following to execute Step:
Optionally, the program code of following steps can also be performed in above-mentioned processor 221:
The first step obtains the preset task that the second application execution is called in the first application, wherein the first application is mounted on end End, the second application are not installed at terminal.
Second step stores the data of preset task to the preset memory locations of terminal, and in the second application of terminal installation, In, the second application from preset memory locations for reading the data of preset task.
Third step establishes the first application in the second application after the data for reading preset task in preset memory locations With the connection of the second application, wherein the second application executes preset task according to the data of preset task.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in an execution unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (13)

1. a kind of terminal applies connection method characterized by comprising
Obtaining the preset task that the second application execution is called in the first application, wherein first application is mounted on terminal, and described the Two applications are not installed at the terminal;
The data of the preset task are stored to the preset memory locations of the terminal, and are answered in terminal installation described second With, wherein data of second application for reading the preset task from the preset memory locations;And
In second application after the data for reading the preset task in the preset memory locations, described first is established Using the connection with second application, wherein second application executes described default according to the data of the preset task Task.
2. the method according to claim 1, wherein the terminal installation it is described second application after, it is described Method further include:
Start second application;
After starting second application, is applied by described second and detect described default in the preset memory locations Whether business needs to be implemented;
If being applied by described second and detecting that the preset task needs to be implemented in the preset memory locations, jump to The execution page of second application;And
The preset task is executed by the execution page, and deletes the preset task in the preset memory locations Data.
3. according to the method described in claim 2, it is characterized in that, being stored with the number of the multi-task in the preset memory locations According to being detected in the preset memory locations before whether the preset task need to be implemented being applied by described second, institute State method further include:
The data of the multi-task are traversed by second application;
Judge whether have in the data of the multi-task by the data of the task of second application execution;
If it is judged that having in the data of the multi-task by the data of the task of second application execution, judgement is described to appoint Whether the timeliness of the data of business is in preset threshold;And
If it is judged that the timeliness of the data of the task in the preset threshold, determines that the task is described default Business.
4. according to the method described in claim 3, it is characterized in that, whether having in the data for judging the multi-task by institute After the data for stating the task of the second application execution, the method also includes:
If it is judged that not jumping to institute by the data of the task of second application execution in the data of the multinomial task State the homepage of the second application;And
If it is judged that having by the data of the task of second application execution, described in judgement in the data of the multinomial task After whether the timeliness of the data of task is in the preset threshold, if it is judged that the timeliness of the data of the task does not exist In the preset threshold, the homepage of second application is jumped to.
5. according to the method described in claim 4, it is characterized in that, the method is also wrapped after installing second application It includes:
The preset task that second application execution is called in first application is obtained again;
Judge the data that whether there is the preset task in the preset memory locations;
If it is judged that there are the data of the preset task in the preset memory locations, delete in the preset memory locations The preset task data, and trigger second application and execute described default appoint according to the data of the preset task Business;And
If it is judged that the data of the preset task are not present in the preset memory locations, second application is directly triggered The preset task is executed according to the data of the preset task.
6. the method according to claim 1, wherein storing the data of the preset task to the default storage Position includes: to store the data of the preset task to the presetting database, wherein second application is from the present count According to the data for reading the preset task in library.
7. the method according to claim 1, wherein storing the data of the preset task to the default storage Position includes: to store the data of the preset task to background server, wherein second application is from the background server The middle data for reading the preset task.
8. a kind of application attachment device of terminal characterized by comprising
Acquiring unit calls the preset task of the second application execution for obtaining the first application, wherein the first application installation In terminal, second application is not installed at the terminal;
Storage unit, for storing the data of the preset task to the preset memory locations of the terminal, and in the terminal Second application is installed, wherein second application from the preset memory locations for reading the preset task Data;And
Establish unit, for read from the preset memory locations in second application preset task data it Afterwards, the connection of first application and second application is established, wherein described second using the number according to the preset task According to the execution preset task.
9. device according to claim 8, which is characterized in that described device further include:
Start unit, for starting second application after terminal installation second application;
Detection unit, for being applied in the preset memory locations by described second after starting second application Detect whether the preset task needs to be implemented;And
First jump-transfer unit, for detecting the preset task in the preset memory locations applying by described second It needs to be implemented, jumps to the execution page of second application;And
Processing unit for executing the preset task by the execution page, and is deleted in the preset memory locations The data of the preset task.
10. device according to claim 9, which is characterized in that be stored with the multi-task in the preset memory locations Data, described device further include:
Traversal Unit, for detecting whether the preset task needs in the preset memory locations applying by described second Before executing, the data of the multi-task are traversed by second application;
Whether the first judging unit has by the task of second application execution in the data for judging the multi-task Data;
Second judgment unit, for having in the data for judging the multi-task by the task of second application execution Whether data judge the timeliness of the data of the task in preset threshold;And
Determination unit, in the preset threshold, determining that the task is in the timeliness for judging the data of the task The preset task.
11. device according to claim 10, which is characterized in that described device further include:
Second jump-transfer unit, for whether having in the data for judging the multinomial task by the task of second application execution Data after, if it is judged that not by the data of the task of second application execution in the data of the multinomial task, The homepage of second application is jumped to,
Third jump-transfer unit, for having in the data for judging the multinomial task by the task of second application execution Data, after judging the timeliness of data of the task whether in the preset threshold, if it is judged that the task The timeliness of data jumps to the homepage of second application not in the preset threshold.
12. device according to claim 8, which is characterized in that the storage unit is for storing the preset task Data are to the presetting database, wherein the preset task is read in second application from the preset memory locations Data.
13. device according to claim 8, which is characterized in that the storage unit is for storing the preset task Data are to background server, wherein the data of the preset task are read in second application from the background server.
CN201610126378.5A 2016-03-03 2016-03-03 Terminal applies connection method and device Active CN105808291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610126378.5A CN105808291B (en) 2016-03-03 2016-03-03 Terminal applies connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610126378.5A CN105808291B (en) 2016-03-03 2016-03-03 Terminal applies connection method and device

Publications (2)

Publication Number Publication Date
CN105808291A CN105808291A (en) 2016-07-27
CN105808291B true CN105808291B (en) 2019-11-05

Family

ID=56467782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610126378.5A Active CN105808291B (en) 2016-03-03 2016-03-03 Terminal applies connection method and device

Country Status (1)

Country Link
CN (1) CN105808291B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092475B (en) * 2016-12-21 2020-12-08 阿里巴巴集团控股有限公司 Calling method and device of interactive control
CN108566440B (en) * 2018-06-26 2021-06-15 上海尚往网络科技有限公司 Network connection method, equipment and storage medium
CN109529353A (en) * 2018-11-21 2019-03-29 北京像素软件科技股份有限公司 The more plots of the task of based role game for play execute method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100616157B1 (en) * 2005-01-11 2006-08-28 와이더댄 주식회사 Method and syetem for interworking plurality of applications
JP5699500B2 (en) * 2010-09-16 2015-04-08 株式会社リコー Installation program, installation method, image forming apparatus, and recording medium
CN103136034B (en) * 2011-11-25 2016-04-06 腾讯科技(深圳)有限公司 A kind of method of process information and browser
CN107589888B (en) * 2013-02-04 2021-05-18 联想(北京)有限公司 Information processing method and information processing apparatus
CN104333807A (en) * 2014-10-22 2015-02-04 乐视网信息技术(北京)股份有限公司 Application processing method and device and smart television
CN104750523A (en) * 2015-03-16 2015-07-01 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105808291A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN111091200B (en) Updating method and system of training model, intelligent device, server and storage medium
CN105677335B (en) Improve the method and device that mobile terminal first powers on speed
CN105389222B (en) A kind of methods, devices and systems of dynamic call native interface
CN105808291B (en) Terminal applies connection method and device
CN103150513B (en) The method of the implantation information in interception application program and device
CN104077162B (en) Renewal, dissemination method and the device of mobile terminal application template
CN108132814A (en) Page loading method, device, computer equipment and the storage medium of application program
CN110389815A (en) Task processing method, apparatus and system
CN105630587A (en) Method, device and system for migrating application program data between terminals
US20200227029A1 (en) Utilizing rule specificity in conversational ai
CN107483521A (en) A kind of information displaying method, apparatus and system
CN108023808A (en) message distributing method and device in application program
CN107315606A (en) Using update method and device
CN110502268A (en) Application program update method, apparatus, server and storage medium
CN103686821B (en) The control method carrying out application rs traffic statistics is uniquely identified according to mobile terminal
CN112135325A (en) Network switching method, device, storage medium and terminal
CN108540509A (en) A kind of processing method of terminal browser, device and server, intelligent terminal
CN111367506B (en) Data generation method, data generation device, storage medium and electronic device
CN111984248B (en) Page editing method and device, storage medium and electronic device
CN106506281B (en) Vehicle toll communication test method, the network equipment and system
CN107526584B (en) Data access method and device
CN107231398A (en) Information interacting method and device
CN109299011A (en) A kind of test method and system of application program
CN106527979B (en) Data migration method and device
CN105119944B (en) Application starting method and related device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant