CN102780730A - Method and system for integrating web applications and mashup server - Google Patents

Method and system for integrating web applications and mashup server Download PDF

Info

Publication number
CN102780730A
CN102780730A CN201110128123XA CN201110128123A CN102780730A CN 102780730 A CN102780730 A CN 102780730A CN 201110128123X A CN201110128123X A CN 201110128123XA CN 201110128123 A CN201110128123 A CN 201110128123A CN 102780730 A CN102780730 A CN 102780730A
Authority
CN
China
Prior art keywords
action
browser
scene information
server
current scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201110128123XA
Other languages
Chinese (zh)
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 CN201110128123XA priority Critical patent/CN102780730A/en
Publication of CN102780730A publication Critical patent/CN102780730A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses a method and system for integrating web applications and a mashup server. The method comprises the steps of: obtaining current scene information from a browser of a client end, wherein the current scene information at least comprises a uniform resource locator and a webpage content where a user of the browser accesses; sequentially judging whether all conditions and action pairs stored in a mashup database are matched with the current scene information according to the current scene information; generating an action list according to a judging result, wherein the action list comprises conditions matched with the current scene information and actions in the action pairs; showing the actions in the action list on the browser; and in response to the user, selecting one or more actions through the browser, and integrating the web applications corresponding to the selected actions on the browser. According to the embodiment of the invention, the web applications can be integrated according to the scene information currently accessed by the user.

Description

The method that integrated web uses, mixed server and the system of taking
Technical field
Relate generally to network application technical field of the present invention, the method that especially integrated web uses, mixed server and the system of taking.
Background technology
In recent years, increasing Web uses and has issued API (Application Programming Interface, API), thereby can make the software developer not need oneself to write source code or program just can integrated like a cork Web application.Integrated Web application need mixes (Mashup) technology of taking, and Mashup refers to that specifically the web application in two or more uses are public or private data storehouse is superimposed, and forms a new integrated application, thereby should be used for creating new function through making up a plurality of Web.
The Mashup technology specifically can relate to user interface mixes to take to mix with data and the aspect such as takes, and its principle promptly is to be implemented in Web with integral data and to add new function in using satisfying user's demand through extracting, and realizes the integrated of Web application through Mashup.
The integrated approach that also has Web to use in the prior art; For example; When the user browses online certain store information of popular comment; Using " dianping.com " at this Web, just can to realize that Google Maps is used integrated, promptly is to browse the user to the user geographical location information in this shop to be provided when content is commented in this shop.
But there is certain defective in the integrated approach that this Web of prior art uses; Because this integratedly all pre-set; And in the process of user's browsing page, can not change; Therefore what the integrated approach used of the Web of prior art can't carry out that web uses according to the scene information of user's current accessed is integrated, and further, the user can't be chosen in independently also that integrated which or which web uses on the page of current accessed.
Summary of the invention
In view of this; Method, server and system that the embodiment of the invention provides integrated web to use; That can carry out that web uses according to the scene information of user's current accessed is integrated, also can make the user can be chosen in independently that integrated which or which web uses on the page of current accessed.
An aspect according to the embodiment of the invention; The method that provides a kind of integrated web to use; Comprise: obtain current scene information from the browser of client, said current scene information comprises URL and the web page contents that the user of said browser is visiting at least; Judge successively to mix according to said current scene information and take all conditions that database preserves and action whether mating with current scene information; Generate action lists according to judged result, said action lists comprises the action with the condition and the action pair of said current scene information matches; Action in the said action lists is showed on said browser; Select one or more actions in response to said user through said browser, the corresponding web of integrated selected action uses on said browser.
Another aspect according to the embodiment of the invention; The mixed server of taking that provides a kind of integrated web to use; Comprise: obtain the scene information module; Be used for obtaining current scene information from the browser of client, said current scene information comprises URL and the web page contents that the user of said browser is visiting at least; Judge module is used for judging successively to mix according to said current scene information and takes all conditions that database preserves and action to whether mating with current scene information; Generate the action lists module, be used for generating action lists according to the judged result of said judge module, said action lists comprises the action with the condition and the action pair of said current scene information matches; Show action module, be used for the action of said action lists is showed on said browser; Integration module is used for selecting one or more actions in response to said user through said browser, and the corresponding web of integrated selected action uses on said browser.
According to another aspect of the embodiment of the invention, the system that provides a kind of integrated web to use, said system comprise client and the mixed server of taking;
Said client is used for to mixing the server transmission current scene information of taking; Said current scene information comprises URL and the web page contents that the user of said browser is visiting at least;
Said mix taken server and comprises:
Obtain the scene information module, be used for obtaining current scene information from the browser of client, said current scene information comprises URL and the web page contents that the user of said browser is visiting at least;
Judge module is used for judging successively to mix according to said current scene information and takes all conditions that database preserves and action to whether mating with current scene information;
Generate the action lists module, be used for generating action lists according to the judged result of said judge module, said action lists comprises the action with the condition and the action pair of said current scene information matches;
Show action module, be used for the action of said action lists is showed on said browser;
Integration module is used for selecting one or more actions in response to said user through said browser, and the corresponding web of integrated selected action uses on said browser.
In addition, according to a further aspect in the invention, a kind of storage medium is provided also.Said storage medium comprises machine-readable program code, and when on messaging device, carrying out said program code, said program code makes said messaging device carry out the method that above-mentioned integrated web according to the present invention uses.
In addition, in accordance with a further aspect of the present invention, a kind of program product is provided also.Said program product comprises the executable instruction of machine, and when on messaging device, carrying out said instruction, said instruction makes said messaging device carry out the method that above-mentioned integrated web according to the present invention uses.
Above-mentioned a kind of method according to the embodiment of the invention; Can make to mix and take after the current scene information such as server URL address that the user is visiting on getting access to the browser of client and web page contents; Judge whether that according to current scene information needs integrated relevant web on user accessing web page uses again; So just can avoid in the prior art current scene information can only be regularly and certain web application integration; Adopt the technical scheme of the embodiment of the invention, can let the user use from integrated which or which web on the main page that is chosen in current accessed; And, also can satisfy the different functions demand in the involved different scenes of webpage of oneself visiting from user perspective.
Provide other aspects of the embodiment of the invention in the specification part below, wherein, specify the preferred embodiment that is used for disclosing fully the embodiment of the invention, and it is not applied qualification.
Description of drawings
Below in conjunction with concrete embodiment, and, the above-mentioned of the embodiment of the invention and other purpose and advantage are done further description with reference to accompanying drawing.In the accompanying drawings, technical characterictic or parts identical or correspondence will adopt identical or corresponding Reference numeral to represent.
Fig. 1 illustrates a kind of method flow diagram that provides as the embodiment of the invention;
Fig. 2 is the flow chart that the step 102 that provides as the embodiment of the invention is shown;
Fig. 3 is the interface sketch map that the object lesson of the action lists of on browser, showing coupling in a kind of method is shown;
Fig. 4 is the flow chart that second method that provides as the embodiment of the invention is shown;
Fig. 5 illustrates the mixed sketch map of taking server unit that provides as the embodiment of the invention;
Fig. 6 is the sketch map that first system that provides as the embodiment of the invention is shown;
Fig. 7 is the sketch map that second system that provides as the embodiment of the invention is shown;
Fig. 8 is the block diagram that illustrates as the exemplary configurations of the personal computer of the messaging device that is adopted in the embodiments of the invention.
Embodiment
Embodiments of the invention are described with reference to the accompanying drawings.
The inventor finds in realizing process of the present invention, when the integrated approach that the Web that utilizes prior art uses, has following problem at least:
During accessed web page, there are various application scenarioss in the user on the browser of client.Suppose to exist following three kinds of application scenarioss; Scene one: user A uses Google's search in office; The current equipment that is using of this user is Fujitsu's notebook computer; The browser type that is using is " Fujitsu's message " as red fox (Firefox) web browser, the keyword of searching for; Scene two: user B uses the CRM (customer relation management of in-house network; Customer Relationship Management) system adds new customer information; The browser type that this user is using is the IE browser, and this new client then is categorized as most important client; Scene three: user C is using the Opera browser to watch the video of " YouTube " video website on his iPad, and this video is TV programme relevant with fashion.
And for above-mentioned three kinds of application scenario, the user under each scene possibly need increase some newly and use relevant function with the web that is using.For example, in scene one, user A possibly need a function of directly checking Fujitsu's latest news from Fujitsu's homepage; In scene two, user B possibly need an also function of this new customer information of increase in its mobile phone contact list crm system adds new customer information after; In scene three, user C possibly need one and be presented at the new function that where can buy the footwear of showing in the TV programme.
And web application integration mode of the prior art is because all pre-set; Can realize that integrated web uses using with some or some web of fixing and is associated; Current scene information in the time of can't be according to user capture is upgraded, so, for three kinds of application scenarioss in the above-mentioned example; Using the method for prior art and can't accomplish the integrated of web application, promptly is can't carry out the web application according to user's application scenarios integrated.
Therefore, the embodiment of the invention provides corresponding solution to this problem.Concrete, referring to Fig. 1, the method that the integrated web that the embodiment of the invention provides uses can comprise:
S101: obtain current scene information from the browser of client, said current scene information comprises URL and the web page contents that the user of said browser is visiting at least.
URL (Uniform/Universal Resource Locator when the scene described in the embodiment of the invention (scenario) information comprises user's browsing page at least; URL) and web page contents; The web page contents here promptly is HTML (Hyper Text Mark-up Language, a HTML) source code; Said in addition scene information can also comprise that geographical position of IP (Internet Protocol, Internet protocol) address, browser type, user's equipment for surfing the net type or user etc. uses the more information of this web application about the user.
In practical application; When the browsing and access webpage of user in client; Take server and get access to URL and the web page contents that the user of said browser is visiting by mixing from the browser of client; These current scene information can help to mix takes the function that server gets access to interested other web application of user's possibility, knows that perhaps using other comparatively relevant web with the web of current scene uses.For example, the web that from above-mentioned scene one, gets access to the latest news that can show Fujitsu comparatively relevant with current scene information uses.
The mixed in embodiments of the present invention server of taking specifically also can be through receiving the XML (extend markup language by the plug-in unit transmission of said browser; Extensible Markup Language) the scene information file of form obtains current scene information, said plug-in unit obtain the scene information file mode can for: gather the URL of visiting on the said browser and corresponding web page contents; The scene information file (scenario_xml) of the web page contents of said URL and correspondence being formed the XML form.
The plug-in unit of browser is gathered the detailed process of current scene information and in next embodiment, will be introduced in detail.
S102: judge successively to mix according to said current scene information and take all conditions that database preserves and action to whether mating with current scene information.
Can adopt the mixed database of taking to come the storage condition doublet right in embodiments of the present invention with action.Should mix each clauses and subclauses take in the database to be preserved all is a doublet, this doublet by condition (condition) with move (action) form.Condition wherein is the URI address of a condition server, and action then is made up of the URI of denomination of dive, action description and action server.
The mixed server of taking can be checked mixed all clauses and subclauses in the database of taking in S102, and according to mixing to take all conditions of preserving in the database and move whether judgement and current scene information is mated.
In practical application; Mix and to take server and at first check currently whether should provide pairing mixing to take function to the user to all conditions server request of sending of the URL of each condition server indication; Give each condition server the scene information file distributing then, each condition server judges according to the current scene information in the scene information file whether pairing action should be shown to the user under current scene again.
With reference to shown in Figure 2, the concrete realization of said step S102 can comprise the steps:
S201: travel through and saidly mix that to take all conditions of preserving in the database right with action, the condition of said condition and action pair is the URL of condition server.
Mix and to take server and travel through at first that said to mix all conditions of taking in the database right with action, said condition is the URL address of condition server, therefore, mix take server travel through said condition and action to after, just can know the address of each condition server.
Need to prove that said condition server can adopt the mode of software to realize, for example adopts the mode of program code, the condition server promptly is one section executable code in this case, and this executable code is integrated into to mix to take on the server and carries out; The condition server also can adopt hardware mode to realize, for example conduct is taken the standalone feature entity that server links to each other with mixing, perhaps through in mixed mode of taking integrated functionality entity on the server.The implementation of condition server can have multiple, because its implementation does not influence realization of the present invention, so the implementation of qualifications server not in the embodiment of the invention.
S202: each the corresponding condition server of URL that current scene information is sent to said condition server.
In practical application, mix and to take server and obtain after the address of condition server, just the URL according to said condition server sends to each condition server with the scene information file of XML form respectively.
S203: the condition server judges according to URL included in the current scene information and at least one in the web page contents whether said current scene information matees.
Whether the condition server receives after the scene information file, will come the action of Rule of judgment and action pair and current scene information to mate according to the URL address in the scene information file of XML form and at least one in the web page contents.The result of each condition server only need take server and returns the result who is or denys and get final product to mixing.If return be, explain that the corresponding action of URL of this condition server should show on browser, otherwise then the corresponding action of explanation should not be on the browser and shows.
S103: generate action lists according to judged result, said action lists comprises the action with the condition and the action pair of said current scene information matches.
Mix take server receive that each condition server returns as a result the time; To generate action lists according to judged result; Comprising the action with the condition and the action pair of said current scene information matches in this action lists, promptly is the everything that need on browser, show.For example, for above-mentioned scene one, then corresponding action possibly be to show Fujitsu's latest news, or the like.
S104: the action in the said action lists is showed on said browser.
Mix and to take server and in action lists, on browser, show, its objective is that for ease the user selects oneself action interested or needs to carry out the integrated of web application the action of seeing these couplings after with the action of the current scene information matches of user capture.Please refer to shown in Figure 3ly, show the interface sketch map of the object lesson of an action lists of on browser, showing coupling.
S105: select one or more actions in response to said user through said browser, the corresponding web of integrated selected action uses on said browser.
When the user has selected one or more action according to the action lists that shows after, mix and take the integrated user-selected corresponding web application of action on the browser that is chosen in that server responds the user again.
In a word; The said method that provides through the embodiment of the invention; Can make to mix and take after the current scene information such as server URL address that the user is visiting on getting access to the browser of client and web page contents; Judge whether that according to current scene information needs integrated relevant web on user accessing web page uses again; So just can avoid in the prior art current scene information can only be regularly and certain web application integration, adopt the technical scheme of the embodiment of the invention, can let the user use from integrated which or which web on the main page that is chosen in current accessed; And, also can satisfy the different functions demand in the involved different scenes of webpage of oneself visiting from user perspective.
To the problems referred to above, concrete, referring to Fig. 4, the method that the embodiment of the invention provides another kind of integrated web to use specifically can comprise:
S401: the plug-in unit of the browser of client is gathered the URL and the corresponding web page contents of visiting on the said browser.
In the present embodiment; The plug-in unit of integrating browsing device on the client; Gather URL and the corresponding web page contents that the user is visiting on the browser by plug-in unit; Optional, the geographical location information etc. of also gathering browser type, user device type, user uses other scene informations of this network application about the user.
S402: the scene information file of extend markup language form formed the web page contents of said URL and correspondence again by said plug-in unit.
In this step, plug-in unit can be formed the current scene information that gets access to the scene information file of XML form, and this scene information file sent to mix takes server, takes server and from this scene information file, obtains current scene information so that mix.
The example of a concrete scene information file in practical application can be as follows:
Need to prove that the content of above-mentioned scene information file is an object lesson, in practical application, so the scene information file is relevant different with concrete scene, therefore above-mentioned example should not be construed as the qualification to the embodiment of the invention.
S403: mix the scene information file take the extend markup language form that server sends from the plug-in unit of said browser and obtain current scene information, said current scene information comprises URL and the web page contents that the user of said browser is visiting at least.
Mix and to take the scene information file that server sends from plug-in unit again and obtain the current scene information that the user is visiting; Scene information should comprise URL and the web page contents that the user of said browser is visiting at least before deserving; Further, can also comprise other scene informations that plug-in unit collects.
S404: mix and to take that the server traversal is said mixes that to take all conditions of preserving in the database right with action, the condition of said condition and action pair is the URL of condition server.
In practical application, condition and action be to relevant with concrete scene, below is condition and move to an object lesson:
Figure BSA00000498197200082
Figure BSA00000498197200091
In above-mentioned example; The condition of condition and action pair (URL of condition server) is: http://condition_server1.com/fujitsu; Action comprises denomination of dive " Fujitsu news "; And action description " Shows the latest news about Fujitsu from the official Fujitsu homepage ", and the URL address of action server " http://action_server1.com/fujitsu ".
S405: mix and take each corresponding condition server of URL that server sends to current scene information said condition server.
Whether mix in this step and take the purpose of server to condition server transmission current scene information, be in order to be judged current scene information and condition by the condition server and to move to mating.
S406: the condition server judges according to URL included in the current scene information and at least one in the web page contents whether said current scene information matees.
Next the condition server can judge according to the scene information that receives whether pairing action should be shown to the user under current scene.In practical application; The condition server can be different according to concrete scene setting decision logic; Below be an object lesson of the decision logic of condition server, this example is used for judging whether to mix the function of taking " Fujitsu's news of adding the Fujitsu official website " under the current scene:
Become remote host address and query argument to the URL information decomposition in the scene information;
If distance host is search engine google, and contain keyword Fujitsu or Fujitsu in the query argument, return true;
If the number of times that keyword Fujitsu occurs in the html source code surpasses 20 times, return true;
Otherwise, return vacation.
S407: mix and to take server and generate action lists according to judged result, said action lists comprises the action with the condition and the action pair of said current scene information matches; Action in the wherein said action lists comprises the URL of denomination of dive, action description and action server, and the URL of said action server is represented the mixed interpolation address of taking script that the web corresponding with this action uses.
When all condition servers are all taken after server returns the judged result of true or false to mixing; True and the false situation of returning according to the condition server; Mix and to take server and can provide one and mix that to take feature list promptly be action lists (action list), the action that in this action lists, comprises finally can show the user.Need to prove pairing action when only comprising genuine that the condition server returns in this action lists.
S408: mixed server denomination of dive and the action description that the action in the said action lists is corresponding taken showed on said browser.
Mix and take server after the tabulation of browser return action; Mix and to take server and can adopt a combobox to user's display action title; And show pairing action description through prompting frame, be convenient to the user and from this combobox, select an interested action to carry out.
S409: mix and take the corresponding action server of URL that server sends to current scene information in response to said browser the action server in the action of selecting with the user.
When the user has selected one or some actions, mix and take the corresponding action server of URL that server sends to current scene information in response to said browser the action server in the action of selecting with the user.Concrete, can send to the corresponding action server of action that the user selects to the scene information file of XML form by the plug-in unit of browser.
Need to prove that said action server can adopt the mode of software to realize, for example adopts the mode of program code, action server promptly is one section executable code in this case, and this executable code is integrated into to mix to take on the server and carries out; Action server also can adopt hardware mode to realize, for example conduct is taken the standalone feature entity that server links to each other with mixing, perhaps through in mixed mode of taking integrated functionality entity on the server.The implementation of action server can have multiple, because its implementation does not influence realization of the present invention, so do not limit the implementation of action server in the embodiment of the invention.
S410: said action server is returned the mixed script of taking that the web corresponding with selected action uses; So that on said browser, be injected into said browser web use in and carry out the mixed script of taking that is injected, thereby integrated corresponding web uses on said browser.
Action server can be returned one section mixed plug-in unit of taking script (mashup script) to browser that is used for adding corresponding function, carries out the said mixed script of taking and can use by integrated corresponding web.Said mix taken script and can be loaded in the browser and in browser and carry out, and new like this function is just mixed through this in this step and taken script and added to during current web uses, and has realized the goal of the invention of integrated web application.
In a word; The method that the above-mentioned second kind of integrated web that provides through the embodiment of the invention uses; Can come to judge successively current scene information and condition and action to whether mating by the condition server, and after the user has selected corresponding action, return to mix to browser by action server and take script; Trigger the mixed script of taking of execution and can realize the integrated of web application; Realization is chosen in other integrated in current web application web by user's own and uses, and satisfied the demand of user's integrated other new functions under some application scenarioss, so the embodiment of the invention has more versatility and more extensive on using.
Corresponding with method first embodiment that integrated web that the embodiment of the invention provides uses, the mixed server of taking that the embodiment of the invention also provides a kind of integrated web to use, referring to Fig. 5, this mixes takes server and specifically can comprise:
Obtain scene information module 501, be used for obtaining current scene information from the browser of client, said current scene information comprises URL and the web page contents that the user of said browser is visiting at least.
URL (Uniform/Universal Resource Locator when the scene described in the embodiment of the invention (scenario) information comprises user's browsing page at least; URL) and web page contents; The web page contents here promptly is HTML (Hyper Text Mark-up Language, a HTML) source code; Said in addition scene information can also comprise that geographical position of IP (Internet Protocol, Internet protocol) address, browser type, user's equipment for surfing the net type or user etc. uses the more information of this web application about the user.
The said scene information module 501 of obtaining specifically can be configured in practical application: the scene information file of the extend markup language form that sends through the plug-in unit that receives by said browser obtains current scene information, said plug-in unit obtain the scene information file mode can for: gather URL and corresponding web page contents on the said browser; The scene information file of the web page contents of said URL and correspondence being formed the extend markup language form.
Judge module 502 is used for judging successively to mix according to said current scene information and takes all conditions that database preserves and action to whether mating with current scene information.
Can adopt the mixed database of taking to come the storage condition doublet right in embodiments of the present invention with action.Should mix each clauses and subclauses take in the database to be preserved all is a doublet, this doublet by condition (condition) with move (action) form.Condition wherein is the URI address of a condition server, and action then is made up of the URI of denomination of dive, action description and action server.
Said judge module 502 specifically can comprise in practical application: the traversal submodule with send submodule, said traversal submodule is used for traveling through and saidly mixes that to take all conditions that database preserves right with action; The condition of said condition and action pair is the URL of condition server; Said transmission submodule is used for current scene information is sent to each corresponding condition server of URL of said condition server; So that the condition server, judges whether current scene information matees according to URL included in the current scene information and at least one in the web page contents.
Generate action lists module 503, be used for generating action lists according to the judged result of said judge module, said action lists comprises the action with the condition and the action pair of said current scene information matches.
Generate action lists module 503 receive that each condition server returns as a result the time; To generate action lists according to judged result; Comprising the action with the condition and the action pair of said current scene information matches in this action lists, promptly is the everything that need on browser, show.
Show action module 504, be used for the action of said action lists is showed on said browser.
Show that action module 504 shows on browser with the action of the current scene information matches of user capture in action lists, its objective is that for ease the user selects oneself action interested or needs to carry out the integrated of web application the action of seeing these couplings after.
Integration module 505 is used for selecting one or more actions in response to said user through said browser, and the corresponding web of integrated selected action uses on said browser.
When the user has selected one or more action according to the action lists that shows after, mix and take the integrated user-selected corresponding web application of action on the browser that is chosen in that server responds the user again.
In embodiments of the present invention; Action in the said action lists can comprise the URL of denomination of dive, action description and action server, and the URL of said action server is represented the mixed interpolation address of taking script that the web corresponding with this action uses; Wherein said displaying action module specifically can be configured to: denomination of dive and action description that the action in the said action lists is corresponding are showed on said browser.
Then said integration module 505 specifically can be configured to: the corresponding action server of URL that current scene information is sent to the action server in the action of selecting with the user in response to said browser; Said action server is returned the mixed script of taking that the web corresponding with selected action uses; So that on said browser, be injected into said browser web use in and carry out the mixed script of taking that is injected, thereby integrated corresponding web uses on said browser.
Above-mentioned mixing through the embodiment of the invention provides taken server; Can make to mix and take after the current scene information such as server URL address that the user is visiting on getting access to the browser of client and web page contents; Judge whether that according to current scene information needs integrated relevant web on user accessing web page uses again; So just can avoid the current scene information in the prior art can only be regularly and the phenomenon of certain web application integration; Adopt the mixed server of taking of the embodiment of the invention, can let the user use from integrated which or which web on the main page that is chosen in current accessed; And, also can satisfy the different functions demand in the involved different scenes of webpage of oneself visiting from user perspective.
Corresponding with method and server that integrated web that the embodiment of the invention provides uses, the system that the embodiment of the invention also provides a kind of integrated web to use, with reference to shown in Figure 6, said system can comprise that specifically client 601 takes server 602 with mixing;
Said client 601 comprises browser 6011, specifically is used for to mixing the server transmission current scene information of taking; Said current scene information comprises URL and the web page contents that the user of said browser is visiting at least;
Said mix taken server and specifically can comprise:
Obtain scene information module 501, be used for obtaining current scene information from the browser of client, said current scene information comprises URL and the web page contents that the user of said browser is visiting at least;
Judge module 502 is used for judging successively to mix according to said current scene information and takes all conditions that database preserves and action to whether mating with current scene information;
Generate action lists module 503, be used for generating action lists according to the judged result of said judge module, said action lists comprises the action with the condition and the action pair of said current scene information matches;
Show action module 504, be used for the action of said action lists is showed on said browser;
Integration module 505 is used for selecting one or more actions in response to said user through said browser, and the corresponding web of integrated selected action uses on said browser.
Need to prove that with reference to shown in Figure 7, the browser 6011 of said client specifically can comprise:
Acquisition module 701 is used to gather the URL and the corresponding web page contents of visiting on the said browser; And said URL and corresponding web page contents formed the scene information file of extend markup language form;
Sending module 702 is used for taking server and sending said scene information file to mixing.
Also need to prove; Said browser 6011 is in practical application; Also comprise and mix the corresponding display module of displaying action module 504 take server, be used for cooperating said displaying action module 504 that the action of final action lists is showed on browser so that the user can see this action lists; And the integrated web application module corresponding with said integration module 505; Be used for when the user has selected one or more action; Corresponding web is applied and integrated on the browser with selected action, makes the follow-up new function that can use new integrated web to use of user.
Said system mixed taken obtaining scene information module 501 and specifically can be configured in the server: the scene information file of the extend markup language form that sends through the plug-in unit that receives by said browser obtains current scene information, and the mode that said plug-in unit obtains the scene information file is: gather the URL and the corresponding web page contents of visiting on the said browser; The scene information file of the web page contents of said URL and correspondence being formed the extend markup language form.
The mixed judge module of taking in the server 502 of said system comprises: the traversal submodule, and be used for traveling through and saidly mix that to take all conditions that database preserves right with action, the condition of said condition and action pair is the URL of condition server; Send submodule, be used for current scene information is sent to each corresponding condition server of URL of said condition server; Then said system can also comprise: the condition server is used for judging according to the included URL of current scene information and at least one in the web page contents whether said current scene information matees.
Said system can also comprise action server; The action of said condition and action pair comprises the URL of denomination of dive, action description and action server, and the URL of said action server is represented the mixed interpolation address of taking script that the web corresponding with this action uses; Wherein said display module specifically can be configured to: denomination of dive and action description that the action in the said action lists is corresponding are showed on said browser;
Then said integration module specifically can be configured to: the corresponding action server of URL that current scene information is sent to the action server in the action of selecting with the user in response to said browser; Said action server is returned the mixed script of taking that the web corresponding with selected action uses; So that on said browser, be injected into said browser web use in and carry out the mixed script of taking that is injected, thereby integrated corresponding web uses on said browser.
Certainly, in practical application, be not limited to above several kinds of concrete situation, those skilled in the art can also be according to actual needs take server and system is provided with flexibly to mixing.
In addition, should also be noted that above-mentioned series of processes and device also can be through software and/or firmware realizations.Under situation about realizing through software and/or firmware; From storage medium or network to computer with specialized hardware structure; General purpose personal computer 1200 for example shown in Figure 8 is installed the program that constitutes this software, and this computer can be carried out various functions or the like when various program is installed.
In Fig. 8, CPU (CPU) 801 carries out various processing according to program stored among read-only memory (ROM) 802 or from the program that storage area 808 is loaded into random-access memory (ram) 803.In RAM803, also store data required when CPU 801 carries out various processing or the like as required.
CPU 801, ROM802 and RAM 803 are connected to each other via bus 804.Input/output interface 805 also is connected to bus 804.
Following parts are connected to input/output interface 805: importation 806 comprises keyboard, mouse or the like; Output 807 comprises display, such as cathode ray tube (CRT), LCD (LCD) or the like and loud speaker or the like; Storage area 808 comprises hard disk or the like; With communications portion 809, comprise that NIC is such as LAN card, modulator-demodulator or the like.Communications portion 809 is handled such as the internet executive communication via network.
As required, driver 810 also is connected to input/output interface 805.Detachable media 811 is installed on the driver 810 such as disk, CD, magneto optical disk, semiconductor memory or the like as required, makes the computer program of therefrom reading be installed to as required in the storage area 808.
Realizing through software under the situation of above-mentioned series of processes, such as detachable media 811 program that constitutes software is being installed such as internet or storage medium from network.
It will be understood by those of skill in the art that this storage medium is not limited to shown in Figure 8 wherein having program stored therein, distribute so that the detachable media 811 of program to be provided to the user with equipment with being separated.The example of detachable media 811 comprises disk (comprising floppy disk (registered trade mark)), CD (comprising compact disc read-only memory (CD-ROM) and digital universal disc (DVD)), magneto optical disk (comprising mini-disk (MD) (registered trade mark)) and semiconductor memory.Perhaps, storage medium can be hard disk that comprises in ROM 802, the storage area 808 or the like, computer program stored wherein, and be distributed to the user with the equipment that comprises them.
The step that also it is pointed out that the above-mentioned series of processes of execution can order following the instructions naturally be carried out in chronological order, but does not need necessarily to carry out according to time sequencing.Some step can walk abreast or carry out independently of one another.
Though specified the present invention and advantage thereof, be to be understood that and under not breaking away from, can carry out various changes, alternative and conversion the situation of the appended the spirit and scope of the present invention that claim limited.And; The term of the embodiment of the invention " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability; Thereby make and comprise that process, method, article or the equipment of a series of key elements not only comprise those key elements; But also comprise other key elements of clearly not listing, or also be included as this process, method, article or equipment intrinsic key element.Under the situation that do not having much more more restrictions, the key element that limits by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises said key element and also have other identical element.
About comprising the execution mode of above embodiment, following remarks is also disclosed:
The method that 1. 1 kinds of integrated web of remarks use comprises:
Obtain current scene information from the browser of client, said current scene information comprises URL and the web page contents that the user of said browser is visiting at least;
Obtain current scene information from the browser of client, said current scene information comprises URL and the web page contents that the user of said browser is visiting at least;
Judge successively to mix according to said current scene information and take all conditions that database preserves and action whether mating with current scene information;
Generate action lists according to judged result, said action lists comprises the action with the condition and the action pair of said current scene information matches;
Action in the said action lists is showed on said browser;
Select one or more actions in response to said user through said browser, the corresponding web of integrated selected action uses on said browser.
Remarks 2. is according to remarks 1 described method, and the step that wherein said browser from client obtains current scene information comprises:
The scene information file of the extend markup language form that sends through the plug-in unit that receives by said browser obtains current scene information, and the mode that said plug-in unit obtains the scene information file is: gather the URL and the corresponding web page contents of visiting on the said browser; The scene information file of the web page contents of said URL and correspondence being formed the extend markup language form.
Remarks 3. is according to remarks 1 described method, and the said current scene information of wherein said foundation is judged successively and mixed all conditions taken in the database and the action step to whether mating with current scene information, comprising:
Travel through and saidly mix that to take all conditions of preserving in the database right with action, the condition of said condition and action pair is the URL of condition server;
Current scene information is sent to each corresponding condition server of URL of said condition server;
The condition server judges according to URL included in the current scene information and at least one in the web page contents whether said current scene information matees.
Remarks 4. is according to remarks 1 described method; Action in the wherein said action lists comprises the URL of denomination of dive, action description and action server, and the URL of said action server is represented the mixed interpolation address of taking script that the web corresponding with this action uses;
The wherein said step that action in the said action lists is showed on said browser comprises:
Denomination of dive and action description that action in the said action lists is corresponding are showed on said browser;
The wherein said step that the corresponding web of integrated selected action uses on said browser comprises:
Current scene information is sent to the corresponding action server of URL of the action server in the action of selecting with the user in response to said browser; Said action server is returned the mixed script of taking that the web corresponding with selected action uses; So that on said browser, be injected into said browser web use in and carry out the mixed script of taking that is injected, thereby integrated corresponding web uses on said browser.
Remarks 5. is according to remarks 1 described method, and said current scene information also comprises one or more in the facility information of internet protocol address, browser type information and client of client.
The mixed server of taking that 6. 1 kinds of integrated web of remarks use comprises:
Obtain the scene information module, be used for obtaining current scene information from the browser of client, said current scene information comprise at least said browser the user just at accessing united resource positioning symbol and web page contents;
Judge module is used for judging successively to mix according to said current scene information and takes all conditions that database preserves and action to whether mating with current scene information;
Generate the action lists module, be used for generating action lists according to the judged result of said judge module, said action lists comprises the action with the condition and the action pair of said current scene information matches;
Show action module, be used for the action of said action lists is showed on said browser;
Integration module is used for selecting one or more actions in response to said user through said browser, and the corresponding web of integrated selected action uses on said browser.
Remarks 7. is taken server according to remarks 6 described mixing; The said scene information module concrete configuration of obtaining is: the scene information file of the extend markup language form that sends through the plug-in unit that receives by said browser obtains current scene information, and the mode that said plug-in unit obtains the scene information file is: gather URL and corresponding web page contents on the said browser; The scene information file of the web page contents of said URL and correspondence being formed the extend markup language form.
Remarks 8. is taken server according to remarks 6 described mixing, and said judge module comprises:
The traversal submodule is used for traveling through and saidly mixes that to take all conditions that database preserves right with action; The condition of said condition and action pair is the URL of condition server;
Send submodule, be used for current scene information is sent to each corresponding condition server of URL of said condition server; So that the condition server, judges whether current scene information matees according to URL included in the current scene information and at least one in the web page contents.
Remarks 9. is taken server according to remarks 6 described mixing; Action in the wherein said action lists comprises the URL of denomination of dive, action description and action server, and the URL of said action server is represented the mixed interpolation address of taking script that the web corresponding with this action uses; Wherein said display module concrete configuration is:
Denomination of dive and action description that action in the said action lists is corresponding are showed on said browser;
Said integration module concrete configuration is:
Current scene information is sent to the corresponding action server of URL of the action server in the action of selecting with the user in response to said browser; Said action server is returned the mixed script of taking that the web corresponding with selected action uses; So that on said browser, be injected into said browser web use in and carry out the mixed script of taking that is injected, thereby integrated corresponding web uses on said browser.
The system that 10. 1 kinds of integrated web of remarks use, said system comprise client and the mixed server of taking;
Said client comprises browser, is used for to mixing the server transmission current scene information of taking; Said current scene information comprises URL and the web page contents that the user of said browser is visiting at least;
Said mix taken server and comprises:
Obtain the scene information module, be used for obtaining said current scene information from the browser of said client;
Judge module is used for judging successively to mix according to said current scene information and takes all conditions that database preserves and action to whether mating with current scene information;
Generate the action lists module, be used for generating action lists according to the judged result of said judge module, said action lists comprises the action with the condition and the action pair of said current scene information matches;
Show action module, be used for the action of said action lists is showed on said browser;
Integration module is used for selecting one or more actions in response to said user through said browser, and the corresponding web of integrated selected action uses on said browser.
Remarks 11. systems according to claim 10, said browser specifically comprises:
Acquisition module is used to gather the URL and the corresponding web page contents of visiting on the said browser; And said URL and corresponding web page contents formed the scene information file of extend markup language form;
Sending module is used for taking server and sending said scene information file to mixing.
Remarks 12. systems according to claim 10; The said scene information module concrete configuration of obtaining is: the scene information file of the extend markup language form that sends through the plug-in unit that receives by said browser obtains current scene information, and the mode that said plug-in unit obtains the scene information file is: gather the URL and the corresponding web page contents of visiting on the said browser; The scene information file of the web page contents of said URL and correspondence being formed the extend markup language form.
Remarks 13. systems according to claim 10, said judge module comprises:
The traversal submodule is used for traveling through and saidly mixes that to take all conditions that database preserves right with action, and the condition of said condition and action pair is the URL of condition server;
Send submodule, be used for current scene information is sent to each corresponding condition server of URL of said condition server;
Said system also comprises: the condition server is used for judging according to the included URL of current scene information and at least one in the web page contents whether said current scene information matees.
Remarks 14. systems according to claim 10 also comprise action server; The action of said condition and action pair comprises the URL of denomination of dive, action description and action server, and the URL of said action server is represented the mixed interpolation address of taking script that the web corresponding with this action uses; Wherein said display module concrete configuration is:
Denomination of dive and action description that action in the said action lists is corresponding are showed on said browser;
Said integration module concrete configuration is:
Current scene information is sent to the corresponding action server of URL of the action server in the action of selecting with the user in response to said browser; Said action server is returned the mixed script of taking that the web corresponding with selected action uses; So that on said browser, be injected into said browser web use in and carry out the mixed script of taking that is injected, thereby integrated corresponding web uses on said browser.

Claims (10)

1. method that integrated web uses comprises:
Obtain current scene information from the browser of client, said current scene information comprises URL and the web page contents that the user of said browser is visiting at least;
Judge successively to mix according to said current scene information and take all conditions that database preserves and action whether mating with current scene information;
Generate action lists according to judged result, said action lists comprises the action with the condition and the action pair of said current scene information matches;
Action in the said action lists is showed on said browser;
Select one or more actions in response to said user through said browser, the corresponding web of integrated selected action uses on said browser.
2. method according to claim 1, the step that wherein said browser from client obtains current scene information comprises:
The scene information file of the extend markup language form that sends through the plug-in unit that receives by said browser obtains current scene information, and the mode that said plug-in unit obtains the scene information file is: gather the URL and the corresponding web page contents of visiting on the said browser; The scene information file of the web page contents of said URL and correspondence being formed the extend markup language form.
3. method according to claim 1, the said current scene information of wherein said foundation are judged successively and are mixed all conditions take in the database and the action step to whether mating with current scene information, comprising:
Travel through and saidly mix that to take all conditions of preserving in the database right with action, the condition of said condition and action pair is the URL of condition server;
Current scene information is sent to each corresponding condition server of URL of said condition server;
The condition server judges according to URL included in the current scene information and at least one in the web page contents whether said current scene information matees.
4. method according to claim 1; Action in the wherein said action lists comprises the URL of denomination of dive, action description and action server, and the URL of said action server is represented the mixed interpolation address of taking script that the web corresponding with this action uses;
The wherein said step that action in the said action lists is showed on said browser comprises:
Denomination of dive and action description that action in the said action lists is corresponding are showed on said browser;
The wherein said step that the corresponding web of integrated selected action uses on said browser comprises:
Current scene information is sent to the corresponding action server of URL of the action server in the action of selecting with the user in response to said browser; Said action server is returned the mixed script of taking that the web corresponding with selected action uses; So that on said browser, be injected into said browser web use in and carry out the mixed script of taking that is injected, thereby integrated corresponding web uses on said browser.
5. mixed server of taking that integrated web uses comprises:
Obtain the scene information module, be used for obtaining current scene information from the browser of client, said current scene information comprises URL and the web page contents that the user of said browser is visiting at least;
Judge module is used for judging successively to mix according to said current scene information and takes all conditions that database preserves and action to whether mating with current scene information;
Generate the action lists module, be used for generating action lists according to the judged result of said judge module, said action lists comprises the action with the condition and the action pair of said current scene information matches;
Show action module, be used for the action of said action lists is showed on said browser;
Integration module is used for selecting one or more actions in response to said user through said browser, and the corresponding web of integrated selected action uses on said browser.
6. according to claim 5 mixing taken server, and said judge module comprises:
The traversal submodule is used for traveling through and saidly mixes that to take all conditions that database preserves right with action; The condition of said condition and action pair is the URL of condition server;
Send submodule, be used for current scene information is sent to each corresponding condition server of URL of said condition server; So that the condition server, judges whether current scene information matees according to URL included in the current scene information and at least one in the web page contents.
7. according to claim 5 mixing taken server; Action in the wherein said action lists comprises the URL of denomination of dive, action description and action server, and the URL of said action server is represented the mixed interpolation address of taking script that the web corresponding with this action uses; Wherein said display module concrete configuration is:
Denomination of dive and action description that action in the said action lists is corresponding are showed on said browser;
Said integration module concrete configuration is:
Current scene information is sent to the corresponding action server of URL of the action server in the action of selecting with the user in response to said browser; Said action server is returned the mixed script of taking that the web corresponding with selected action uses; So that on said browser, be injected into said browser web use in and carry out the mixed script of taking that is injected, thereby integrated corresponding web uses on said browser.
8. system that integrated web uses, said system comprise that client takes server with mixing;
Said client comprises browser, is used for to mixing the server transmission current scene information of taking; Said current scene information comprises URL and the web page contents that the user of said browser is visiting at least;
Said mix taken server and comprises:
Obtain the scene information module, be used for obtaining said current scene information from the browser of said client;
Judge module is used for judging successively to mix according to said current scene information and takes all conditions that database preserves and action to whether mating with current scene information;
Generate the action lists module, be used for generating action lists according to the judged result of said judge module, said action lists comprises the action with the condition and the action pair of said current scene information matches;
Show action module, be used for the action of said action lists is showed on said browser;
Integration module is used for selecting one or more actions in response to said user through said browser, and the corresponding web of integrated selected action uses on said browser.
9. system according to claim 8, said judge module comprises:
The traversal submodule is used for traveling through and saidly mixes that to take all conditions that database preserves right with action, and the condition of said condition and action pair is the URL of condition server;
Send submodule, be used for current scene information is sent to each corresponding condition server of URL of said condition server;
Said system also comprises: the condition server is used for judging according to the included URL of current scene information and at least one in the web page contents whether said current scene information matees.
10. system according to claim 8 also comprises action server; The action of said condition and action pair comprises the URL of denomination of dive, action description and action server, and the URL of said action server is represented the mixed interpolation address of taking script that the web corresponding with this action uses; Wherein said display module concrete configuration is:
Denomination of dive and action description that action in the said action lists is corresponding are showed on said browser;
Said integration module concrete configuration is:
Current scene information is sent to the corresponding action server of URL of the action server in the action of selecting with the user in response to said browser; Said action server is returned the mixed script of taking that the web corresponding with selected action uses; So that on said browser, be injected into said browser web use in and carry out the mixed script of taking that is injected, thereby integrated corresponding web uses on said browser.
CN201110128123XA 2011-05-13 2011-05-13 Method and system for integrating web applications and mashup server Pending CN102780730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110128123XA CN102780730A (en) 2011-05-13 2011-05-13 Method and system for integrating web applications and mashup server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110128123XA CN102780730A (en) 2011-05-13 2011-05-13 Method and system for integrating web applications and mashup server

Publications (1)

Publication Number Publication Date
CN102780730A true CN102780730A (en) 2012-11-14

Family

ID=47125483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110128123XA Pending CN102780730A (en) 2011-05-13 2011-05-13 Method and system for integrating web applications and mashup server

Country Status (1)

Country Link
CN (1) CN102780730A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227830A (en) * 2013-04-27 2013-07-31 天津大学 Mobile phone cloud system taking user as center and applying Mashup, and application method of mobile phone cloud system
CN104361085A (en) * 2014-11-14 2015-02-18 百度在线网络技术(北京)有限公司 Information recommendation method, device, browser, server and system
CN108038177A (en) * 2017-12-07 2018-05-15 上海连尚网络科技有限公司 A kind of method and apparatus for being used to provide Shipping Options Page
CN108664191A (en) * 2018-04-11 2018-10-16 阿里巴巴集团控股有限公司 system access method and device
CN109241474A (en) * 2017-07-11 2019-01-18 阿里巴巴集团控股有限公司 Offer, displaying, dissemination method, server and the client of page info

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124323A1 (en) * 2005-11-29 2007-05-31 Keith Hackworth Dynamic web site database setup
CN101488151A (en) * 2009-01-20 2009-07-22 中国科学院计算技术研究所 System and method for gathering website contents

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124323A1 (en) * 2005-11-29 2007-05-31 Keith Hackworth Dynamic web site database setup
CN101488151A (en) * 2009-01-20 2009-07-22 中国科学院计算技术研究所 System and method for gathering website contents

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227830A (en) * 2013-04-27 2013-07-31 天津大学 Mobile phone cloud system taking user as center and applying Mashup, and application method of mobile phone cloud system
CN104361085A (en) * 2014-11-14 2015-02-18 百度在线网络技术(北京)有限公司 Information recommendation method, device, browser, server and system
CN104361085B (en) * 2014-11-14 2018-11-09 百度在线网络技术(北京)有限公司 Information recommendation method, device, browser, server and system
CN109241474A (en) * 2017-07-11 2019-01-18 阿里巴巴集团控股有限公司 Offer, displaying, dissemination method, server and the client of page info
CN109241474B (en) * 2017-07-11 2022-08-05 阿里巴巴集团控股有限公司 Method for providing, displaying and releasing page information, server and client
CN108038177A (en) * 2017-12-07 2018-05-15 上海连尚网络科技有限公司 A kind of method and apparatus for being used to provide Shipping Options Page
CN108664191A (en) * 2018-04-11 2018-10-16 阿里巴巴集团控股有限公司 system access method and device
CN108664191B (en) * 2018-04-11 2021-08-20 创新先进技术有限公司 System access method and device

Similar Documents

Publication Publication Date Title
US9712457B2 (en) Server directed client originated search aggregator
US8484343B2 (en) Online ranking metric
US20160179816A1 (en) Near Real Time Auto-Suggest Search Results
EP3161678B1 (en) Deep links for native applications
US9177058B2 (en) Multi-step search result retrieval
US10120951B2 (en) Bifurcated search
CN104077294A (en) Information recommendation method, information recommendation device and information resource recommendation system
CN103577595A (en) Keyword pushing method and device based on current browse webpage
CN103577392A (en) Keyword pushing method and device based on current browse webpage
US20160188684A1 (en) Consolidating Search Results
US20170193059A1 (en) Searching For Applications Based On Application Usage
JP2012014652A (en) Content distribution system and content distribution method
CN102780730A (en) Method and system for integrating web applications and mashup server
US8966007B2 (en) Method and apparatus for providing web contents
JPWO2008129606A1 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMPUTER PROGRAM
WO2014029358A1 (en) Method and apparatus for switching search engine to repeat search
CN103678535A (en) Browser and downloading method thereof
CN105701231A (en) Network resource search system and method
US20160188716A1 (en) Crowd-Sourced Crawling
US20120290563A1 (en) Subsequent Tailoring Of A Sign-Up Page Based On A Search Engine Query
US20170192978A1 (en) Searching For Applications Based On Application Usage
CN110134429A (en) Network information browsing method, device, equipment, storage medium and system
CN103577545A (en) Method and device for providing information to be sent
CN116127945A (en) Network link processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121114