CN104077116B - The method and apparatus for creating the mashed up application based on Android system - Google Patents

The method and apparatus for creating the mashed up application based on Android system Download PDF

Info

Publication number
CN104077116B
CN104077116B CN201310100319.7A CN201310100319A CN104077116B CN 104077116 B CN104077116 B CN 104077116B CN 201310100319 A CN201310100319 A CN 201310100319A CN 104077116 B CN104077116 B CN 104077116B
Authority
CN
China
Prior art keywords
action component
contextual information
information
relation
action
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.)
Expired - Fee Related
Application number
CN201310100319.7A
Other languages
Chinese (zh)
Other versions
CN104077116A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to CN201310100319.7A priority Critical patent/CN104077116B/en
Publication of CN104077116A publication Critical patent/CN104077116A/en
Application granted granted Critical
Publication of CN104077116B publication Critical patent/CN104077116B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and apparatus for creating the mashed up application based on Android system.Methods described includes:The action component obtained in Android system performs historical information and contextual information;Historical information and contextual information are performed according to the action component obtained, the relation between the contextual information and action component is determined;And according to the relation between the identified contextual information and the action component, the mashed up application based on the action component is created, the mashed up application is operated according to the contextual information.

Description

The method and apparatus for creating the mashed up application based on Android system
Technical field
This invention relates generally to data processing field.Specifically, created the present invention relates to one kind and be based on Android system It is mashed up(mashup)The method and apparatus of application.
Background technology
In recent years, based on Android system equipment and application has obtained swift and violent development and popularization.From tablet personal computer to intelligence Energy mobile phone, the various equipment based on Android system are appeared in the life of people, and the work and life for people are provided It is convenient.Colourful application can provide various services in Android system.
However, increasing with application, it is how easily to obtain oneself desired application that people, which suffer from a problem that, And how easily to use a series of associated applications.Such as, the use of a smart mobile phone of the use based on Android system Family reaches Beijing Capital International Airport, and he may face longer queuing in places such as Security Inspection Office, Luggage Check-ins.This When, he is likely to use the trip application in mobile phone, inquires about him and takes the entering and leaving port information of flight, such as whether on schedule etc..This Outside, he, using the weather application in mobile phone, may inquire about the weather condition in flight destination New York after flight situation is known. In addition, he may utilize the tourism in mobile phone to recommend application, the sightseeing spot that inquiry New York is worth visiting etc..If can with When family arrives at the airport, automatic prompting even performs the application of above-mentioned example automatically, then user will feel very to facilitate and intelligence.
In the prior art, in order to create mashed up application, it is necessary to by the personnel of grasp programming technique, by designing and programming, The new application based on existing application is write out, i.e., mashed up application.However, such mashed up application is consolidated with the end of design It is fixed, it is impossible to meet the personal needs of user, it is impossible to adapt to the personal use custom of user.Also, such mashed up application is not Mashed up mode can adaptively be changed with the difference of the environment of user, scene, behavior etc..
Therefore, it is desirable to it is a kind of create the mashed up application based on Android system method and apparatus, its created it is mashed up should With can with the context of the environment of user, scene, behavior etc. difference and change, and can by user use habit Operated, the process that mashed up application is created using this method and equipment should be full automatic, it is not necessary to the excessive participation of user, The burden of user is not increased.
The content of the invention
The brief overview on the present invention is given below, to provide on the basic of certain aspects of the invention Understand.It should be appreciated that this general introduction is not the exhaustive general introduction on the present invention.It is not intended to determine the pass of the present invention Key or pith, nor is it intended to limit the scope of the present invention.Its purpose only provides some concepts in simplified form, In this, as the preamble in greater detail discussed later.
The purpose of the present invention is the above mentioned problem for prior art, it is proposed that one kind can be automatically created can with The method and apparatus for the mashed up application that the context at family is different and changes and can be operated by the use habit of user.
To achieve these goals, according to an aspect of the invention, there is provided a kind of establishment is mixed based on Android system The method for taking application, including:The action component obtained in Android system performs historical information and contextual information;According to being obtained Action component perform historical information and contextual information, determine the relation between the contextual information and action component;With And according to the relation between the identified contextual information and the action component, create mixed based on the action component Application is taken, the mashed up application is operated according to the contextual information.
There is provided a kind of equipment for creating the mashed up application based on Android system, bag according to another aspect of the present invention Include:Device is obtained, is configured as obtaining the action component in Android system and performs historical information and contextual information;Relation is determined Device, is configured as performing historical information and contextual information according to the action component obtained, determines the contextual information Relation between action component;And creating device is applied, it is configured as according to the identified contextual information and institute State the relation between action component, create the mashed up application based on the action component, the mashed up application is according to above and below described Literary information is operated.
In addition, according to another aspect of the present invention, additionally providing a kind of storage medium.The storage medium can including machine The program code of reading, when performing described program code on message processing device, described program code causes at described information Equipment is managed to perform according to the above method of the invention.
In addition, in accordance with a further aspect of the present invention, additionally providing a kind of program product.Described program product can including machine The instruction of execution, when performing the instruction on message processing device, the instruction causes described information processing equipment to perform According to the above method of the present invention.
Brief description of the drawings
Below with reference to the accompanying drawings illustrate embodiments of the invention, can be more readily understood that the present invention more than and its Its objects, features and advantages.Part in accompanying drawing is intended merely to show the principle of the present invention.In the accompanying drawings, identical or similar Technical characteristic or part will be represented using same or similar reference.In accompanying drawing:
Fig. 1 shows the stream of the method according to mashed up application of the establishment of the first embodiment of the present invention based on Android system Cheng Tu;
Fig. 2 shows the stream of the method for mashed up application of the establishment based on Android system according to the second embodiment of the present invention Cheng Tu;
Fig. 3 shows the stream of the method for mashed up application of the establishment based on Android system according to the third embodiment of the invention Cheng Tu;
Fig. 4 shows the stream of the method for mashed up application of the establishment based on Android system according to the fourth embodiment of the invention Cheng Tu;
Fig. 5 shows the structure square frame of the establishment equipment of the mashed up application according to embodiments of the present invention based on Android system Figure;And
Fig. 6 shows the schematic block diagram available for the computer for implementing method and apparatus according to embodiments of the present invention.
Embodiment
The one exemplary embodiment of the present invention is described in detail hereinafter in connection with accompanying drawing.Rise for clarity and conciseness See, all features of actual embodiment are not described in the description.It should be understood, however, that developing any this reality Many decisions specific to embodiment must be made during embodiment, to realize the objectives of developer, For example, meet those restrictive conditions related to system and business, and these restrictive conditions may be with embodiment It is different and change.In addition, it also should be appreciated that, although development is likely to be extremely complex and time-consuming, but to benefiting For those skilled in the art of present disclosure, this development is only routine task.
Herein, in addition it is also necessary to which explanation is a bit, in order to avoid having obscured the present invention because of unnecessary details, in the accompanying drawings It illustrate only and according to the closely related apparatus structure of the solution of the present invention and/or process step, and eliminate and the present invention The little other details of relation.In addition, it may also be noted that described in a kind of accompanying drawing or embodiment of the present invention Element and the element that can be shown in one or more other accompanying drawings or embodiment of feature and feature be combined.
First, Android system is briefly described.
Android system includes an important basic module, i.e. action component(activity), action component can be recognized To represent a single screen, it has user interface, and event can be responded.For example, transmitting-receiving email application There may be multiple action components, an action component shows new email list, and an action component is used to edit new Email, another action component is used to read email.Although these three action components cooperate, a transmitting-receiving is constituted Email application, but Android system provides a multiplexing mechanism well, i.e., each action component is independently of one another and can Recycling.Action component is divided into two kinds, i.e. explicit actions component and implicit action component.Explicit actions component is generally same It is triggered in one application, implicit action component is generally used for the reuse between different application.That is, can be answered at one With the middle implicit action component triggered in another application, perform it.For example, it is assumed that being used to edit in above-mentioned email applications New email action component is implicit action component.Photograph application can be designed as in shooting image and show captured Image after, triggering this is used to edit new email action component so that user can directly lead to captured image Cross email and be sent to friend's viewing.
It can be seen that, new mashed up application can be formed by being multiplexed multiple implicit action components, the new mashed up application can Existing action component including different application.
Action component has input and output parameter.That transmits these parameters is intended to message(Intent).At certain When a little, the output parameter of an action component can be delivered to another action component by being intended to message, join as input Number.It is intended to message to can be used for activating action component, and is sent and returned data between action component.
Being intended to message has multiple domains, data field therein(data)With additional data domain(extra)It can be used for transmission Data.
Main idea is that from the execution historical information and contextual information of action component, analyze above and below Between relation, the action component performed before and the action component performed afterwards between literary information and the execution of action component Relation between relation, contextual information and the action component performed before and the action component performed afterwards, these relation bags Include but be not limited to by the former trigger the latter causality and correlation data input/output relation.Drawn by analysis Relation is stated, so as to create corresponding mashed up application, mashed up application can be according to current contextual information and moving of performing before Make at least one prediction user in component to may want to the action component performed and be presented to user.Mashed up application can be with root The probability of multiple candidate actions components is calculated according to probabilistic model, and selects the candidate actions component of wherein maximum probability, as most Excellent candidate actions component is presented to user.In addition, in the case where knowing corresponding input/output relation, can be dynamic for best candidate Make component and input parameter is provided, directly to perform best candidate action component, so as to reduce the input burden of user, improve user Experience.
The method for describing to create the mashed up application based on Android system according to an embodiment of the invention below with reference to Fig. 1 Flow.
Fig. 1 shows the stream of the method according to mashed up application of the establishment of the first embodiment of the present invention based on Android system Cheng Tu.As shown in figure 1, according to the creation method of the mashed up application based on Android system of the first embodiment of the present invention, including Following steps:The action component obtained in Android system performs historical information and contextual information(Step S1);According to being obtained Action component perform historical information and contextual information, determine the relation between the contextual information and action component(Step Rapid S2);And according to the relation between the identified contextual information and the action component, create and be based on the action The mashed up application of component, the mashed up application is operated according to the contextual information(Step S3).
In step sl, the action component obtained in Android system performs historical information and contextual information.
First, simply introduce action component and perform historical information and contextual information.
The contextual information used in the present invention refer to may influence action component perform all associated scenario information, Environmental information, information related to the user of Android system etc..As long as that is, a certain information can be obtained or be inferred to Come, the information may influence the execution of action component, and the information is not that action component performs historical information, then the information can To be included into contextual information.
For example, contextual information can include:Customer position information, the geographical position as residing for user, Ru Gaohai Rise sheer from level ground area, and for example the functional position residing for user, such as airport, coffee shop, court.Customer position information can for example from The sensor in equipment where GPS navigation, Android system(Barometer)Obtained in data, WIFI information of collection etc..
As an example, contextual information can include:The social action of user behavior information, such as user, such as friend are met, And for example the crawler behavior of user, such as walks, drives.The behavioural information of user can such as from bluetooth equipment enable and picture The sensor in equipment where the shared of information, Android system(Such as gyroscope, accelerometer)Obtained in data of collection etc..
Contextual information may also include temporal information, such as contextual information corresponding time, festivals or holidays.
Action component, which performs historical information, for example may include:The title of action component, the execution time of action component, action The input and output parameter of component, user's input.
Title, the execution time of action component of action component can be obtained from action component execution journal.Can be from The input of action component is intended to message(intent)Data field(data)With additional data domain(extra), obtain action component Input parameter.Message can be intended to from the output of action component(intent)Additional data domain(extra), obtain action group The output parameter of part.Window interface during being active from action component(widget), obtain user's input.
It is to analyze contextual information and action component to obtain action component and perform historical information and contextual information Execution between relation, between current contextual information and the action component performed before and the action component performed afterwards Relation.It will be understood by those skilled in the art that only considering the action component performed before discounting for contextual information With the relation between the action component that performs afterwards, then the action component that can only obtain in Android system in step sl is performed Historical information.
In addition, if it is desired to excavate relation from the operation history of many users, can be in step sl from multiple users Android system in obtain relation information.Such advantage be can excavate general character or some specific user without custom, rise To the effect of recommendation.For example, some user waits on airport during queuing, stroke, weather are seen just with application, and do not know How road dismisses the boring stand-by period, but the as shown by data observed from other users, and user is in static shape on airport During state, often watch e-book or listen mp3.Therefore, the mashed up application that the present invention is created on the basis of such relation is obtained, just Can be when this user remain static on airport, prompt the user with e-book application shows the dynamic of books list Make component, the action component of the display track listings of media player.
Certainly, if it is desired to relation is excavated from the operation history of some specific user, can be in step sl from one Relation information is obtained in one or more Android systems of user.Such advantage is can be customized for the user so that The mashed up application that the present invention is created can more conform to the use habit of the user.Such as some user is individual mechanical, serious Lawyer, he may like quiet, it is undesirable to which any unnecessary bothers in airport waiting time, and his thing for uniquely doing It is exactly often to look at current time, how long estimation in the heart could boarding if being also needed to.Therefore, the mashed up application that the present invention is created is just It will not be bothered by being produced in the way of recommending the action component of numerous applications, but the action component for showing current time is only provided. If Flight Information inquiry application, countdown application, the mashed up application that the present invention is created were used before the user on airport The action component for showing Flight Information, the action component for showing countdown, and the automatic mesh by countdown can also only be pointed out Timestamp carves the E.T.D(estimated time of departure) for being set as showing in Flight Information.The realization of above-mentioned functions depends on what is be described more fully below Other steps.
In step s 2, historical information and contextual information are performed according to the action component obtained, it is determined that above and below described Relation between literary information and action component.
After the information obtained in having grasped step S1, it is important that according to the information of acquisition determine action component with Trigger the relation between the factor of the action component.As described above, the factor of trigger action component is probably contextual information, It is probably the action component performed before, it is also possible to both.
Therefore, according to the first embodiment of the present invention, contextual information and action component can only be determined in step s 2 Between relation.According to the second embodiment of the present invention, it can be performed in step S2 ' always according to the action component obtained Historical information and contextual information, determine the relation between action component.That is, in a second embodiment, it is also contemplated that The influence of action component of the action component before to after.
Fig. 2 shows the stream of the method for mashed up application of the establishment based on Android system according to the second embodiment of the present invention Cheng Tu.As shown in Fig. 2 the creation method of the mashed up application based on Android system according to the second embodiment of the present invention, including Following steps:The action component obtained in Android system performs historical information and contextual information(Step S1);According to being obtained Action component perform historical information and contextual information, determine relation between the contextual information and action component and Relation between the action component(Step S2 ');And according to the identified contextual information and the action component Between relation and the action component between relation, create the mashed up application based on the action component, it is described mashed up Operated using according to the contextual information and the action component performed before(Step S3 ').The step of second embodiment S1 is identical with the step S1 of first embodiment.
In order to avoid repeating and saving length, hereinafter by same or similar step, while it is real to introduce first Apply the details of example and second embodiment.
In step S2 and S2 ', it is possible to use a variety of concrete modes determine the relation for wishing to know.
First determination mode is preferred mode.Inventor have recognized that current contextual information, holding before There is inner link between capable action component, the action component performed afterwards, the essence of this inner link depends on user.
For example, user is in Beijing Capital International Airport(Functional position information residing for user), in queuing etc. Treat state(The crawler behavior information of user), such as " Beijing Capital International Airport " and " New York Kenny are inputted in trip application Enlightening airport "(User inputs), it is seen that by the action component of display Flight Information(First action component)What is presented is first from Beijing All International airport take off, all Flight Informations for the New York JFK Airport that flies to.Then, user inputs " knob in weather application About "(User inputs), it is seen that by the action component of display Weather information(Second action component)The weather feelings in the New York of presentation Condition(Heavy rain)And auxiliary information(The public transports such as seating taxi, subway are recommended to go out).Then, user is pre- in taxi " New York " and " taxi " is inputted in fixed application(User inputs), it is seen that by the action component of display taxi Query Result (3rd action component)The telephone number for the company that the New York of presentation can order a taxi.Finally, user is in phone application Dial action component(4th action component)In have input the telephone number seen(User inputs).
It can be seen that, there is the logic of inherence and embody the custom of user in calling for first to fourth action component.Also, this There is also inner link for the inputoutput data of a little action components.The input parameter of above-mentioned action component is still for example led to by user Cross window interface (widget) input.These users input embodies the custom of the logical sum user of inherence.
Therefore, in the first preferred determination mode, start with from user, excavate contextual information and action component it Between relation, and the relation between action component.
If user's input during an action component is active is equal to a contextual information, it is determined that There is causality with the action component in the contextual information.
If another action performed before user's input during an action component is active is equal to The output parameter of component, it is determined that another action component has causality with the action component.
Under above-mentioned airport scenario, the example of the first situation is contextual information(Beijing Capital International Airport)It is defeated with user Enter " Beijing Capital International Airport ".The example of second of situation is the output parameter of the 3rd action component(New York can make in advance The telephone number of the company hired a car)With the input parameter of the 4th action component(The telephone number).
Sometimes, user does not have user's input when calling new action component, such as is listened during waiting in line on airport Music.Accordingly it is also possible to excavate causality without the help of user's input by other means.
Second determination mode:Carry out independence test, with determine the causality between contextual information and action component, And the causality between action component.
Independence test is the angle from probability, using statistics, judges whether deposited between each tested factor In relation and the degree of relation(Conditional probability).What this was well known to those skilled in the art, therefore do not go to live in the household of one's in-laws on getting married herein State.
3rd determination mode:According to predefined rule, determine causality between contextual information and action component, with And the causality between action component.
Here predefined rule is that regular, such as user rule of thumb determined by designer with logic shoots picture Afterwards, captured picture can be watched, and the transmission such as multimedia message, email, wechat can be passed through after viewing.According to such rule, It can determine that the action component shot, display shoot the action component of picture, the action component of email transmissions and there is cause and effect pass System.
4th determination mode:According to temporal information and the execution time of action component, contextual information and action group are determined The causality between causality and action component between part.
The execution time of associated action component has certain continuity, and the execution time of some action components Etc., which exist, to be associated.It therefore, it can in the angle from the time, excavation The causality between causality and action component between context information and action component.
Four kinds of determination modes illustrated above are merely illustrative, and the invention is not restricted to this.Other appropriate determination modes also may be used It is utilized by the present invention.
In addition, above-mentioned four kinds of determination modes can be used alone, it can also use to produce more relations or test each other simultaneously Card.
It is described above and how determines between causality and action component between contextual information and action component Causality.This causes in step S3(S3’)Middle created mashed up application contextual information and/or can be held before Capable action component, it is determined that and pointing out user one or more candidate actions components.
Herein on basis, the input/output relation related to causality can also be determined.Input/output relation shows The output parameter of which contextual information and/or which action component as which action component input parameter.
For example, in superincumbent airport example, contextual information " Beijing Capital International Airport " is the first action component Input parameter, the output parameter " taxi " of the second action component is input parameter of the 3rd action component etc..
Correspondingly, in step S3(S3’)Middle created mashed up application can according to current contextual information and/or it The action component of preceding execution, it is determined that and point out user one or more candidate actions components, and according to identified and cause and effect The related input/output relation of relation, from the output parameter of current contextual information and/or the action component performed before, The input parameter of candidate actions component is extracted, and provides it to candidate actions component.This is conducive to performing the candidate automatically Action component.Even if when not performing candidate actions component automatically, the candidate actions suggested by execution can also be selected in user In the case of component, the input parameter of selected candidate actions is filled automatically, so as to obtain the more convenient and intelligence of user's impression Energy.
In step s3, according to the relation between identified contextual information and action component, create and be based on action group The mashed up application of part, mashed up application contextual information is operated.
In step S3 ', according to the relation and action component between identified contextual information and action component it Between relation, create the mashed up application based on action component, mashed up application contextual information and the action group performed before Part is operated.
The establishment process of mashed up application is well-known to those skilled in the art.Its essence is to retain identified context Relation between information and action component(And the relation between action component), the action component that is related to of these relations so that The mashed up application created can be according to contextual information during practical application(The action component performed before)Operated.
The establishment process of mashed up application further relates to know from observed data data and such as how are extracted from message is intended to What, which is created, is intended to message to activate action component.What this was known to those skilled in the art.
The actual mechanical process of mashed up application is substantially the recombinant process of action component.Wherein alternatively include defeated Enter the automatic filling process of output parameter and the automatic implementation procedure of action component.
In the first embodiment and the second embodiment, the relation obtained is probably more, and candidate actions component May not be unique.For example, in the example for the Beijing Capital International Airport being previously mentioned, being in current contextual information Beijing Capital International Airport and during in the inactive state waited in line, according to identified relation, what will be performed is probably Show the action component of Flight Information.And be related to according to what is described before in the airport scenario of lawyer, user be located at airport and In the case of static, what will be performed is probably the action component for showing current time.In such a case, it is possible to will be many Individual candidate actions component is supplied to user to select.It is alternatively possible to when user selects some candidate actions component, according to it The input/output relation of preceding acquisition, fills the input parameter of selected action component automatically.
In the first embodiment and the second embodiment, if candidate actions component is unique, it is also designed to mix Take to apply and perform the candidate actions component automatically.
In the third embodiment of the present invention and fourth embodiment, for the situation of multiple candidate actions components, add Probabilistic model so that mashed up application can select an optimal candidate actions component recommended and alternatively perform or Person arranges multiple candidate actions components by the order of probability.User can be allowed to feel more convenient and intelligence.
3rd embodiment and fourth embodiment on the basis of first embodiment and second embodiment, add probability respectively Model.In order to avoid repeating and saving length, hereinafter by same or similar step, while introducing 3rd embodiment With the details of fourth embodiment.
Fig. 3 shows the stream of the method for mashed up application of the establishment based on Android system according to the third embodiment of the invention Cheng Tu.As shown in figure 3, the creation method of the mashed up application based on Android system according to the third embodiment of the invention, including Following steps:The action component obtained in Android system performs historical information and contextual information(Step S31);According to being obtained Action component perform historical information and contextual information, determine the relation between the contextual information and action component(Step Rapid S32);According to identified relation, the structure of probabilistic model is constructed, wherein the contextual information and the action component are made For stochastic variable, the directed edge between the stochastic variable shows identified relation(Step S33);Utilize collected observation Data, train the probabilistic model(Step S34);And housebroken probabilistic model is utilized, create and be based on the action component Mashed up application, it is described it is mashed up application operated according to the contextual information(Step S35).
Step S31, S32 in 3rd embodiment is identical with step S1, S2 in first embodiment respectively.
Probabilistic model for example can be Bayesian network(Bayesian Network).Bayesian network is a kind of based on general The uncertain inference network of rate.Bayesian network includes node and directed edge.Node on behalf stochastic variable, while represent node it Between causality and/or probabilistic relation, and side is oriented, does not constitute loop.Bayesian network can utilize concise figure Complicated causality and/or probabilistic relation between shape mode expression event.Bayesian Network Inference, which still needs, provides many The probable value of prior probability, i.e. root node and all child nodes give the conditional probability value fixed in its parent node.These priori are general Rate can be obtained by great amount of samples data statistic analysis.
In step S33, according to identified relation, the structure of probabilistic model is constructed.Contextual information in probabilistic model With action component as stochastic variable, the directed edge between stochastic variable shows identified relation.That is, probabilistic model is in itself Identified relation is included.
In step S34, using collected observation data, probabilistic model is trained.Housebroken probabilistic model being capable of root Candidate actions component and its probability are provided according to current contextual information.
In step s 35, using housebroken probabilistic model, the mashed up application based on the action component is created, it is described Mashed up application is operated according to the contextual information(Step S35).
The establishment process of mashed up application is well-known to those skilled in the art.Its essence is to retain housebroken probability mould The action component that type, identified relation are related to so that the mashed up application created can be answered using probabilistic model according to actual The contextual information of used time is operated.
The actual mechanical process of mashed up application is substantially the recombinant process of action component.Probabilistic model is according to current Contextual information provides candidate actions component and its probability, and mashed up application arranges multiple candidates by the descending order of probability Action component is selected for user, can also only be recommended the candidate actions component with maximum probability, alternatively can directly be performed tool There is the candidate actions component of maximum probability.
The third embodiment of the present invention can efficiently reduce the quantity of candidate actions component, mitigate the burden of user, and And the action component for more likely meeting user's regard can be provided.
Fig. 4 shows the stream of the method for mashed up application of the establishment based on Android system according to the fourth embodiment of the invention Cheng Tu.As shown in figure 4, the mashed up application creation method based on Android system according to the fourth embodiment of the invention, including such as Lower step:The action component obtained in Android system performs historical information and contextual information(Step S41);According to what is obtained Action component performs historical information and contextual information, determine relation between the contextual information and action component and Relation between the action component(Step S42 ');According to identified relation, the structure of probabilistic model is constructed, wherein described Contextual information and the action component are as stochastic variable, and the directed edge between the stochastic variable shows identified relation (Step S43);Using collected observation data, the probabilistic model is trained(Step S44);And utilize housebroken probability Model, creates the mashed up application based on the action component, the mashed up application is according to the contextual information and/or holds before Capable action component is operated(Step S45).
Step S41, S42 in fourth embodiment ' respectively with step S1, S2 in second embodiment ' is identical.4th implements Step S43 in example is similar with the step S33 in 3rd embodiment, determined by its difference is to utilize in step S43 Relation also includes the relation between action component.Step S44 in fourth embodiment and the step S34 phases in 3rd embodiment Together.Step S45 in fourth embodiment is similar with the step S35 in 3rd embodiment, and it, which is distinguished, is to create in step S45 Mashed up application can be operated according to the action component performed before, can also according to current contextual information and before The action component of execution is operated.
Similarly, the fourth embodiment of the present invention can efficiently reduce the quantity of candidate actions component, mitigate user's Burden, and the action component for more likely meeting user's regard can be provided.Meanwhile, compared with 3rd embodiment, the 4th implements Example take into account the action component performed before, more accurately can recommend action component to user.
The equipment that the mashed up application of establishment according to embodiments of the present invention based on Android system is described next, with reference to Fig. 5.
Fig. 5 shows the structure square frame of the establishment equipment of the mashed up application according to embodiments of the present invention based on Android system Figure.As shown in figure 5, being included according to the establishment equipment 500 of the present invention:Device 501 is obtained, is configured as obtaining in Android system Action component performs historical information and contextual information;Relation determining device 502, is configured as according to the action component obtained Historical information and contextual information are performed, the relation between the contextual information and action component is determined;And application is created Device 503, is configured as, according to identified relation between the contextual information and the action component, creating and being based on institute The mashed up application of action component is stated, the mashed up application is operated according to the contextual information.
In one embodiment, relation determining device 502 is further configured to:Held always according to the action component obtained Row historical information and contextual information, determine the relation between the action component;And application creating device 503 is further It is configured to:Always according to the relation between the identified action component, the mashed up application, the mashed up application also root are created Operated according to the action component performed before.
In one embodiment, contextual information includes:In customer position information, user behavior information, temporal information It is at least one.
In one embodiment, action component performs historical information and included:The title of action component, the execution of action component At least one of time, the input and output parameter of action component, user's input.
In one embodiment, relation determining device 502 is further configured to:Moving type is in an action component In the case that user's input during state is equal to contextual information, determine the contextual information and the action component exist because Fruit relation;And another action group performed before user's input during an action component is active is equal to In the case of the output parameter of part, determine that another action component has causality with the action component.
In one embodiment, relation determining device 502 is further configured to:Independence test is carried out, to determine State the causality between the causality and the action component between contextual information and the action component.
In one embodiment, relation determining device 502 is further configured to:According to predefined rule, it is determined that described The causality between causality and the action component between contextual information and the action component.
In one embodiment, relation determining device 502 is further configured to:According to the temporal information and described dynamic Make the execution time of component, determine the causality between the contextual information and the action component and the action Causality between component.
In one embodiment, relation determining device 502 is further configured to:It is determined that related to the causality Input/output relation, the input/output relation shows that the output parameter of which contextual information and/or which action component is made For the input parameter of which action component.
In one embodiment, creating equipment 500 also includes:Construction of probability model and trainer, the probabilistic model Construction and trainer are configured as:According to identified relation, the structure of probabilistic model is constructed, wherein the contextual information With the action component as stochastic variable, the directed edge between the stochastic variable shows identified relation;And utilize Collected observation data, train the probabilistic model so that the probabilistic model can according to current contextual information and/ Or the action component performed before, provide candidate actions component and its probability.
In one embodiment, device 501 is obtained to be further configured to:From the equipment where the Android system The customer position information and the user behavior information are obtained in the data of sensor collection;From action component execution journal Obtain title, the execution time of the action component of the action component;It is intended to the data of message from the input of action component Domain and additional data domain, obtain the input parameter of the action component;It is intended to the additional data of message from the output of action component Domain, obtains the output parameter of the action component;And the window interface during being active from action component, obtain institute State user's input.
Because the processing in included each device in the establishment equipment 500 according to the present invention is respectively with being described above Creation method in processing in included each step it is similar, therefore for simplicity, these devices are omitted herein It is described in detail.
In addition, still need here, it is noted that the component devices of each in the said equipment can by software, firmware, hardware or Its mode combined is configured.The workable specific means of configuration or mode are well known to those skilled in the art, herein not Repeat again.In the case where being realized by software or firmware, from storage medium or network to the calculating with specialized hardware structure Machine(All-purpose computer 600 for example shown in Fig. 6)The program for constituting the software is installed, the computer is being provided with various programs When, it is able to carry out various functions etc..
Fig. 6 shows the schematic block diagram available for the computer for implementing method and apparatus according to embodiments of the present invention.
In figure 6, CPU (CPU) 601 is according to the program stored in read-only storage (ROM) 602 or from depositing The program that storage part 608 is loaded into random access memory (RAM) 603 performs various processing.In RAM603, always according to needs Store the data required when CPU601 performs various processing etc..CPU601, ROM602 and RAM603 via bus 604 each other Connection.Input/output interface 605 is also connected to bus 604.
Components described below is connected to input/output interface 605:Importation 606(Including keyboard, mouse etc.), output section Divide 607(Including display, such as cathode-ray tube (CRT), liquid crystal display (LCD) etc., and loudspeaker etc.), storage part 608(Including hard disk etc.), communications portion 609(Including NIC such as LAN card, modem etc.).Communications portion 609 Communication process is performed via network such as internet.As needed, driver 610 can be connected to input/output interface 605. Detachable media 611 such as disk, CD, magneto-optic disk, semiconductor memory etc. can be installed in driver as needed On 610 so that the computer program read out is installed in storage part 608 as needed.
It is such as removable from network such as internet or storage medium in the case where realizing above-mentioned series of processes by software Unload medium 611 and the program for constituting software is installed.
It will be understood by those of skill in the art that this storage medium be not limited to wherein having program stored therein shown in Fig. 6, Separately distribute to provide a user the detachable media 611 of program with equipment.The example of detachable media 611 includes disk (including floppy disk (registration mark)), CD (comprising compact disc read-only memory (CD-ROM) and digital universal disc (DVD)), magneto-optic disk (Include mini-disk (MD) (registration mark)) and semiconductor memory.Or, storage medium can be ROM602, storage part Hard disk included in 608 etc., wherein computer program stored, and it is distributed to together with the equipment comprising them user.
The present invention also proposes a kind of program product of the instruction code for the machine-readable that is stored with.The instruction code is by machine When device reads and performed, above-mentioned method according to embodiments of the present invention can perform.
Correspondingly, the storage medium for the program product for the instruction code for carrying the above-mentioned machine-readable that is stored with also is wrapped Include in disclosure of the invention.The storage medium includes but is not limited to floppy disk, CD, magneto-optic disk, storage card, memory stick etc. Deng.
In description above to the specific embodiment of the invention, the feature for describing and/or showing for a kind of embodiment It can be used in same or similar mode in one or more other embodiments, with the feature in other embodiment It is combined, or substitute the feature in other embodiment.
It should be emphasized that term "comprises/comprising" refers to the presence of feature, key element, step or component when being used herein, but simultaneously It is not excluded for the presence or additional of one or more further features, key element, step or component.
In addition, the method for the present invention be not limited to specifications described in time sequencing perform, can also according to it His time sequencing, concurrently or independently perform.Therefore, the execution sequence of the method described in this specification is not to this hair Bright technical scope is construed as limiting.
Although being had been disclosed above by the description of the specific embodiment to the present invention to the present invention, should The understanding, above-mentioned all embodiments and example are illustrative, and not restrictive.Those skilled in the art can be in institute Various modifications, improvement or equivalent of the design to the present invention in attached spirit and scope by the claims.These modification, improve or Person's equivalent should also be as being to be considered as included in protection scope of the present invention.
Note
1. a kind of method for creating the mashed up application based on Android system, including:
The action component obtained in Android system performs historical information and contextual information;
Historical information and contextual information are performed according to the action component obtained, the contextual information and action is determined Relation between component;And
According to the relation between the identified contextual information and the action component, create and be based on the action group The mashed up application of part, the mashed up application is operated according to the contextual information.
2. the method as described in note 1, wherein
The determination step also includes:Historical information and contextual information are performed according to the action component obtained, it is determined that Relation between the action component;And
The foundation step creates the mashed up application, institute always according to the relation between the identified action component Mashed up application is stated to be operated always according to the action component performed before.
3. the method as described in note 1, wherein
The contextual information includes:At least one of customer position information, user behavior information, temporal information;With And
The action component, which performs historical information, to be included:Title, the execution time of action component, the action group of action component At least one of the input and output parameter of part, user's input.
4. the method as described in note 2, wherein the determination step includes:
If user's input during an action component is active is equal to a contextual information, it is determined that There is causality with the action component in the contextual information;And
If another action performed before user's input during an action component is active is equal to The output parameter of component, it is determined that another action component has causality with the action component.
5. the method as described in note 2, wherein the determination step includes:
Carry out independence test, with determine causality between the contextual information and the action component and Causality between the action component.
6. the method as described in note 2, wherein the determination step includes:
According to predefined rule, causality between the contextual information and the action component, Yi Jisuo are determined State the causality between action component.
7. the method as described in note 3, wherein the determination step includes:
According to the temporal information and the execution time of the action component, the contextual information and the action are determined The causality between causality and the action component between component.
8. the method as described in one of note 4-7, wherein the determination step also includes:It is determined that with the causality phase The input/output relation of pass, the input/output relation shows which contextual information and/or the output ginseng of which action component Count the input parameter as which action component.
9. the method as described in note 2, wherein methods described also includes:
After the determination step,
According to identified relation, the structure of probabilistic model is constructed, wherein the contextual information and the action component As stochastic variable, the directed edge between the stochastic variable shows identified relation;And
Using collected observation data, the probabilistic model is trained so that the probabilistic model can be according to current Contextual information and/or the action component performed before, provide candidate actions component and its probability.
10. the method as described in note 3, wherein
Obtained from the data of the sensor collection in the equipment where the Android system customer position information and The user behavior information;
Title, the execution time of the action component of the action component are obtained from action component execution journal;
It is intended to data field and the additional data domain of message from the input of action component, obtains the input ginseng of the action component Number;
It is intended to the additional data domain of message from the output of action component, obtains the output parameter of the action component;And
Window interface during being active from action component, obtains user's input.
11. a kind of equipment for creating the mashed up application based on Android system, including:
Device is obtained, is configured as obtaining the action component in Android system and performs historical information and contextual information;
Relation determining device, is configured as performing historical information and contextual information according to the action component obtained, really Fixed relation between the contextual information and action component;And
Using creating device, it is configured as according to identified pass between the contextual information and the action component System, creates the mashed up application based on the action component, and the mashed up application is operated according to the contextual information.
12. the equipment as described in note 11, wherein
The relation determining device is further configured to:Historical information is performed always according to the action component obtained and upper Context information, determines the relation between the action component;And
The application creating device is further configured to:Always according to the relation between the identified action component, The mashed up application is created, the mashed up application is operated always according to the action component performed before.
13. the equipment as described in note 11, wherein
The contextual information includes:At least one of customer position information, user behavior information, temporal information;With And
The action component, which performs historical information, to be included:Title, the execution time of action component, the action group of action component At least one of the input and output parameter of part, user's input.
14. the equipment as described in note 12, wherein the relation determining device is further configured to:
In the case where user's input during an action component is active is equal to a contextual information, really There is causality with the action component in the fixed contextual information;And
Another action component performed before user's input during an action component is active is equal to Output parameter in the case of, determine that another action component and the action component have causality.
15. the equipment as described in note 12, wherein the relation determining device is further configured to:
Carry out independence test, with determine causality between the contextual information and the action component and Causality between the action component.
16. the equipment as described in note 12, wherein the relation determining device is further configured to:
According to predefined rule, causality between the contextual information and the action component, Yi Jisuo are determined State the causality between action component.
17. the equipment as described in note 13, wherein the relation determining device is further configured to:
According to the temporal information and the execution time of the action component, the contextual information and the action are determined The causality between causality and the action component between component.
18. the equipment as described in one of note 14-17, wherein the relation determining device is further configured to:It is determined that The input/output relation related to the causality, the input/output relation show which contextual information and/or which The output parameter of action component as which action component input parameter.
19. the equipment as described in note 12, in addition to:Construction of probability model and trainer, the Construction of probability model It is configured as with trainer:
According to identified relation, the structure of probabilistic model is constructed, wherein the contextual information and the action component As stochastic variable, the directed edge between the stochastic variable shows identified relation;And
Using collected observation data, the probabilistic model is trained so that the probabilistic model can be according to current Contextual information and/or the action component performed before, provide candidate actions component and its probability.
20. the equipment as described in note 13, wherein the acquisition device is further configured to:
Obtained from the data of the sensor collection in the equipment where the Android system customer position information and The user behavior information;
Title, the execution time of the action component of the action component are obtained from action component execution journal;
It is intended to data field and the additional data domain of message from the input of action component, obtains the input ginseng of the action component Number;
It is intended to the additional data domain of message from the output of action component, obtains the output parameter of the action component;And
Window interface during being active from action component, obtains user's input.

Claims (10)

1. a kind of method for creating the mashed up application based on Android system, including:
The action component obtained in Android system performs historical information and contextual information;
Historical information and contextual information are performed according to the action component obtained, the contextual information and action component is determined Between relation;And
According to the relation between the identified contextual information and the action component, create based on the action component Mashed up application, the mashed up application is operated according to the contextual information.
2. the method as described in claim 1, wherein
The determination step also includes:Historical information and contextual information are performed according to the action component obtained, it is determined that described Relation between action component;And
The foundation step creates the mashed up application always according to the relation between the identified action component, described mixed Take to apply and operated always according to the action component performed before.
3. the method as described in claim 1, wherein
The contextual information includes:At least one of customer position information, user behavior information, temporal information;And
The action component, which performs historical information, to be included:The title of action component, action component perform time, action component At least one of input and output parameter, user's input.
4. method as claimed in claim 2, wherein the determination step includes:
If user's input during an action component is active is equal to a contextual information, it is determined that on this There is causality with the action component in context information;And
If another action component performed before user's input during an action component is active is equal to Output parameter, it is determined that there is causality in another action component and the action component.
5. method as claimed in claim 2, wherein the determination step includes:
Independence test is carried out, to determine the causality between the contextual information and the action component and the action Causality between component.
6. method as claimed in claim 2, wherein the determination step includes:
According to predefined rule, the causality and the action group between the contextual information and the action component are determined Causality between part.
7. method as claimed in claim 3, wherein the determination step includes:
According to the temporal information and the execution time of the action component, the contextual information and the action component are determined Between causality and the action component between causality.
8. the method as described in one of claim 4-7, wherein the determination step also includes:It is determined that with the causality phase The input/output relation of pass, the input/output relation shows which contextual information and/or the output ginseng of which action component Count the input parameter as which action component.
9. method as claimed in claim 2, wherein methods described also include:
After the determination step,
According to identified relation, the structure of bayesian probability model is constructed, wherein the contextual information and the action group Part is as stochastic variable, and the directed edge between the stochastic variable shows identified relation;And
Using collected observation data, the bayesian probability model is trained so that the bayesian probability model being capable of root According to current contextual information and/or the action component performed before, candidate actions component and its probability are provided.
10. a kind of equipment for creating the mashed up application based on Android system, including:
Device is obtained, is configured as obtaining the action component in Android system and performs historical information and contextual information;
Relation determining device, is configured as performing historical information and contextual information according to the action component obtained, determines institute State the relation between contextual information and action component;And
Using creating device, it is configured as according to identified relation between the contextual information and the action component, The mashed up application based on the action component is created, the mashed up application is operated according to the contextual information.
CN201310100319.7A 2013-03-26 2013-03-26 The method and apparatus for creating the mashed up application based on Android system Expired - Fee Related CN104077116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310100319.7A CN104077116B (en) 2013-03-26 2013-03-26 The method and apparatus for creating the mashed up application based on Android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310100319.7A CN104077116B (en) 2013-03-26 2013-03-26 The method and apparatus for creating the mashed up application based on Android system

Publications (2)

Publication Number Publication Date
CN104077116A CN104077116A (en) 2014-10-01
CN104077116B true CN104077116B (en) 2017-09-22

Family

ID=51598391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310100319.7A Expired - Fee Related CN104077116B (en) 2013-03-26 2013-03-26 The method and apparatus for creating the mashed up application based on Android system

Country Status (1)

Country Link
CN (1) CN104077116B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404577B (en) * 2017-07-20 2019-05-17 维沃移动通信有限公司 A kind of image processing method, mobile terminal and computer readable storage medium
CN108089859B (en) * 2017-12-27 2020-11-20 复旦大学 Recording playback-based blending method between android applications

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158536A (en) * 2011-02-15 2011-08-17 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for recommending application
CN102629194A (en) * 2011-12-26 2012-08-08 天津大学 Novel application store adaptor facing mobile terminals
CN102710593A (en) * 2012-03-19 2012-10-03 北京邮电大学 Method, device and system for publishing message in graph mashup

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158536A (en) * 2011-02-15 2011-08-17 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for recommending application
CN102629194A (en) * 2011-12-26 2012-08-08 天津大学 Novel application store adaptor facing mobile terminals
CN102710593A (en) * 2012-03-19 2012-10-03 北京邮电大学 Method, device and system for publishing message in graph mashup

Also Published As

Publication number Publication date
CN104077116A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
JP7318888B2 (en) Method and apparatus for pushing notifications, mobile terminal and graphical user interface
CN107407572B (en) Searching along a route
US20100312842A1 (en) Heterogeneous Network Delivery of Electronic Messages in Accordance with Privacy and Personalization Criteria
Ahmad et al. A framework for crowd-sourced data collection and context-aware services in Hajj and Umrah
DE202011110872U1 (en) Geocoded comments in a messaging service
KR101790745B1 (en) Method for providing journey scheduling service
US9462015B2 (en) Distributed association engine
CN105069130A (en) Suspect object prediction method
CN107368508A (en) Utilize the keyword retrieval method and system of communication tool service
US20210326780A1 (en) Integrated travel platform for personalized trip exploration, planning, and booking
CN102870131A (en) Methods and apparatuses for facilitating location selection
CN106663015A (en) Resuming session states
Santiago et al. GeOasis: A knowledge-based geo-referenced tourist assistant
US20160260025A1 (en) Travel-Related Cognitive Short Messages
KR101458141B1 (en) Method, server and computer-readable recording medium for managing and supplying tour information
US10789553B1 (en) Experience orchestration
CN104200353B (en) A kind of information processing method and electronic equipment
Bergaus Design issues for service delivery platforms: Incorporate user experience: A grounded theory study of individual user needs
KR20220114652A (en) Expressive user icon in map-based messaging system interface
CN104077116B (en) The method and apparatus for creating the mashed up application based on Android system
Ahmad et al. Context-aware services based on spatio-temporal zoning and crowdsourcing
KR20190047350A (en) Server and method for creating travel history
CN110413367A (en) Task creation method, apparatus, storage medium and electronic equipment
Salman et al. A model and prototype of a proactive multi-type context-aware recommender system
CN108391233A (en) A kind of geographical location sharing method, apparatus and system

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170922

Termination date: 20180326