CN105516333A - Interactive method and system based on webpage - Google Patents

Interactive method and system based on webpage Download PDF

Info

Publication number
CN105516333A
CN105516333A CN201510982487.2A CN201510982487A CN105516333A CN 105516333 A CN105516333 A CN 105516333A CN 201510982487 A CN201510982487 A CN 201510982487A CN 105516333 A CN105516333 A CN 105516333A
Authority
CN
China
Prior art keywords
interface element
webpage
module
server
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510982487.2A
Other languages
Chinese (zh)
Other versions
CN105516333B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510982487.2A priority Critical patent/CN105516333B/en
Publication of CN105516333A publication Critical patent/CN105516333A/en
Application granted granted Critical
Publication of CN105516333B publication Critical patent/CN105516333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display

Abstract

Embodiments of the invention provide an interactive method and system based on a webpage. The method comprises the following steps: using a webpage document to load the webpage in a client; when reading an interface element identifier from the webpage document, requesting an interface element corresponding to the interface element identifier from a server; loading the interface element in the webpage; when detecting an operation event on the interface element, generating an operation request according to the operation event; and dispatching an interface of a service module, and sending the operation request to the service module of the server to process services. By adopting the interactive method and system provided by the embodiments of the invention, the multiplexing of fine grain size of the module is realized, the module is realized by configuration, the convenience of updating the module is greatly improved, and the workload of updating the module is greatly reduced.

Description

A kind of exchange method based on webpage and system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of exchange method based on webpage and a kind of interactive system based on webpage.
Background technology
The fast development of network has brought people into information-intensive society and the age of Internet economy, all creates deep effect to the development of enterprise and personal lifestyle.
In order to efficiently process the data of network magnanimity, create modularization in data processing, be namely a kind of a kind of specification of complex object being carried out decompose, such as, a webpage is decomposed into multiple block of cells, and this behavior is exactly modularization.
Each module completes a specific subfunction, and all modules, by assembling someway, become as a whole, complete the function required by whole system.
Module has several base attribute: interface, function, logic, state, and function, state and interface reflect the external behavior of module, its bulk properties of logic reflection.
But the frequent user oriented in website exits many activities, increase the interaction with user, in order to attract user, activity generally can not again, and therefore, more New activity makes the module of webpage need frequently to upgrade frequently, and workload is very large.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of exchange method based on webpage solved the problem at least in part and a kind of interactive system based on webpage accordingly.
According to one aspect of the present invention, provide a kind of exchange method based on webpage, comprising:
Adopt web document Web page loading in the client;
When reading interface element mark from described web document, to the interface element that interface element mark described in server request is corresponding;
Described interface element is loaded in described webpage;
When described interface element detects Action Events, generate an operation requests according to described Action Events;
Call the interface of Service Component, the Service Component described operation requests being sent to server carries out Business Processing.
Alternatively, described interface element mark comprises interface element framework mark and interface element content identification;
The step of the described interface element corresponding to interface element mark described in server request comprises:
To the interface element framework that interface element framework mark described in server request is corresponding;
To the interface element content that interface element content identification described in server request is corresponding.
Alternatively, the described step loading described interface element in described webpage comprises:
Assigned address in described webpage loads described interface element framework;
Described interface element content is loaded in described interface element framework.
Alternatively, also comprise:
Determine the webpage triggering described operation requests in the server;
Inquire about the configuration parameter that described webpage is corresponding;
Call the Service Component that described interface is corresponding, carry out Business Processing according to described configuration parameter.
Alternatively, also comprise:
The result of Business Processing is returned client.
Alternatively, also comprise:
The load mode that the result of inquiry business process is corresponding in the client;
According to the result of described load mode loaded with traffic process.
According to a further aspect in the invention, provide a kind of interactive system based on webpage, described system comprises client, and described client comprises:
Webpage load-on module, is suitable for adopting web document Web page loading;
Interface element request module, is suitable for when reading interface element mark from described web document, to the interface element that interface element mark described in server request is corresponding;
Interface element load-on module, is suitable for loading described interface element in described webpage;
Operation requests generation module, when being suitable for Action Events being detected on described interface element, generates an operation requests according to described Action Events;
Interface interchange module, is suitable for the interface calling Service Component, and the Service Component described operation requests being sent to server carries out Business Processing.
Alternatively, described interface element mark comprises interface element framework mark and interface element content identification;
Described interface element request module is also suitable for:
To the interface element framework that interface element framework mark described in server request is corresponding;
To the interface element content that interface element content identification described in server request is corresponding.
Alternatively, described interface element load-on module is also suitable for:
Assigned address in described webpage loads described interface element framework;
Described interface element content is loaded in described interface element framework.
Alternatively, described system also comprises server, and described server comprises:
Webpage determination module, is suitable for the webpage determining to trigger described operation requests;
Configuration parameter enquiry module, is suitable for inquiring about configuration parameter corresponding to described webpage;
Service Component calling module, is suitable for calling Service Component corresponding to described interface, carries out Business Processing according to described configuration parameter.
Alternatively, described server also comprises:
Result returns module, is suitable for the result of Business Processing to return client.
Alternatively, described client's degree also comprises:
Load mode enquiry module, is suitable for the load mode that the result of inquiry business process is in the client corresponding;
Result load-on module, is suitable for the result according to the process of described load mode loaded with traffic.
The mode that the embodiment of the present invention adopts front and back end to be separated, the form of module and the function of module are separated, the loading of interface element is carried out in front end, by the interface of Service Component, operation requests is transferred to rear end and carry out Business Processing, achieve the multiplexing of the fine granularity of module, achieve module by configuration, substantially increase the simplicity of update module, greatly reduce the workload of update module.
The embodiment of the present invention is by the mode of configuration parameter, and the functional realiey of control module, while the fail safe that ensure that communication, further increases the simplicity of update module, decrease the workload of update module.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention flow chart of steps of the exchange method embodiment 1 based on webpage;
Fig. 2 shows a kind of according to an embodiment of the invention flow chart of steps of the exchange method embodiment 2 based on webpage; And
Fig. 3 shows a kind of according to an embodiment of the invention structured flowchart of the interactive system embodiment based on webpage.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
With reference to Fig. 1, show a kind of according to an embodiment of the invention flow chart of steps of the exchange method embodiment 1 based on webpage, specifically can comprise the steps:
Step 101, adopts web document Web page loading in the client;
In specific implementation, client can send the web-page requests of the page to server, to load corresponding webpage.
The load request of the page can refer to the instruction of certain page of loading that client sends.
Such as, user can load a webpage by clicking certain linking request in a browser, or, start game client, open homepage etc.
When user clicks certain link, be just equivalent to the load request that have received webpage; Equally, game client during startup, is also equivalent to the load request that have received Web page loading.
Wherein, the content of load request can comprise the mark of the webpage of user's request of loading and/or the feature of webpage.
Banner can be the information that can represent a well-determined webpage, such as Uniform Resource Identifier (UniformResourceIdentifier, URI), Uniform Resource Identifier specifically can comprise URL(uniform resource locator) (UniformResourceLocator again, URL), or uniform resource name (UniformResourceName, URN) etc.
Client is by DNS (DomainNameSystem, domain name analysis system) resolve IP (InternetProtocol, the agreement interconnected between the network) address of searching the domain name (DomainName) in this webpage URL and mapping.
After the success of acquisition IP address, client can connect to the server request at this place, IP address.After the server successfully connecting this place, IP address, client can by request header information by the request of HTTP (Hypertexttransferprotocol, HTTP) agreement to the server initiation webpage loading at this place, IP address.
This server receive this request after etc. pending, the most backward client returns response.
Now, under http protocol, client can receive the document of HTML (HypertextMarkupLanguage, HTML) type from server.
Client can resolve html document, generates the object of tree, i.e. DOM (DocumentObjectModel, document dbject model), each node to liking on DOM, and these objects can represent the web page resources such as word, picture.
Client can start to show this html document, and obtains the address of wherein embedded page resource, and then client is initiated request to server again and obtained these page resources, and shows in the html document of client.
Step 102, when reading interface element mark from described web document, to the interface element that interface element mark described in server request is corresponding;
In embodiments of the present invention, can apply the mode load-on module that front and back end is separated, namely Business Processing is carried out in front end displaying UI (UserInterface, user interface) element, rear end.
In web document, can the interface element mark of writing module in advance, when reading interface element mark, can to interface element corresponding to interface element mark described in server request.
Wherein, interface element mark can be the information that can represent a well-determined interface element, such as, and interface element ID.
In a kind of request method, interface element is as a whole, then can directly carry out asking whole interface element.
In another kind of request method, interface element is a combination, is namely split as interface element framework and interface element content.
Specifically, interface element mark can comprise interface element framework mark and interface element content identification.
Wherein, interface element framework mark can be the information that can represent a well-determined interface element framework, such as, and interface element framework ID.
Interface element content identification can be the information that can represent a well-determined interface element content, such as, and interface element content ID.
Therefore, when loading, can to interface element framework corresponding to server request interface element framework mark, and to interface element content corresponding to server request interface element content identification.
For module of drawing a lottery, the interface of prize drawing can be shown in front end, dispose the logic of prize drawing in rear end.
Wherein, when showing in front end, can with the pattern of prize drawing, as the shape (as square, circular etc.), prize drawing button etc. of rotating disk, as interface element framework, can with the prize of prize drawing, as the picture of prize, as interface element content.
When practical application, can based on Ajax (AsynchronousJavascriptAndXML, asynchronous JavaScript and XML (subset of standard generalized markup language)) to server request interface element.
Ajax is exactly that (IE5.6 browser is ActiveXObject for characteristic to browser itself, other browsers are XMLHttpRequest) encapsulation done, become a method, target is transmission HTTP (Hypertexttransferprotocol, HTTP) request, generally comprise several part:
Url: the URL (UniformResourceLocator, URL(uniform resource locator)) of request;
Data: the parameter of request, as JobID;
Timeout: time-out time, namely apart from the maximum latency receiving server response, time-out then abandons this request;
Success: the process function successfully receiving response data;
Error: ask various abnormal process function.
Step 103, loads described interface element in described webpage;
In a kind of load mode, interface element is as a whole, then can directly carry out loading whole interface element.
In another kind of load mode, interface element is a combination, then can assigned address loading interface element framework in webpage, and loading interface element content in interface element framework, the entirety realizing interface element loads.
It should be noted that, owing to being return interface element by interface, the data structure returned is fixing substantially, so, need the data supporting that this interface returns in front end, carry out different representing, specifically show in which way, in the light of actual conditions can be set by those skilled in the art, as long as support to show, the embodiment of the present invention is not limited this.
For interface of drawing a lottery, have one to be winnings information interface in back end interface, return data structure is fixing, so this interface will be held in front end, so how front end arranges pattern to be all fine, such as disk, square plate or more complicated HTML5 game result etc., and form can variation.
Step 104, when described interface element detects Action Events, generates an operation requests according to described Action Events;
After web displaying interface element, user by modes such as clicks at the enterprising line operate of interface element, can produce the Action Events such as click.
Client when the Action Events on interface element being detected, according to the character of interface element, generating run request.
For prize drawing, after the interface of web displaying prize drawing, user can click " prize drawing " button wherein, and client then can generate the operation requests of prize drawing.
Step 105, calls the interface of Service Component, and the Service Component described operation requests being sent to server carries out Business Processing.
In web document, can the interface of the Service Component of writing module in advance, by this interface, operation requests is sent to server, calls Service Component, carry out Business Processing according to the logic of its definition.
For prize drawing, client call is responsible for the interface of the assembly of drawing a lottery, and the operation requests of prize drawing is sent to server, and this assembly of server calls is drawn a lottery.
When practical application, can based on Ajax (AsynchronousJavascriptAndXML, asynchronous JavaScript and XML (subset of standard generalized markup language)) to server request interface element.
The mode that the embodiment of the present invention adopts front and back end to be separated, the form of module and the function of module are separated, the loading of interface element is carried out in front end, by the interface of Service Component, operation requests is transferred to rear end and carry out Business Processing, achieve the multiplexing of the fine granularity of module, achieve module by configuration, substantially increase the simplicity of update module, greatly reduce the workload of update module.
With reference to Fig. 2, show a kind of according to an embodiment of the invention flow chart of steps of the exchange method embodiment 2 based on webpage, specifically can comprise the steps:
Step 201, adopts web document Web page loading in the client;
Step 202, when reading interface element mark from described web document, to the interface element that interface element mark described in server request is corresponding;
Step 203, loads described interface element in described webpage;
Step 204, when described interface element detects Action Events, generates an operation requests according to described Action Events;
Step 205, calls the interface of Service Component, described operation requests is sent to the Service Component of server;
Step 206, determines the webpage triggering described operation requests in the server;
Step 207, inquires about the configuration parameter that described webpage is corresponding;
Step 208, calls the Service Component that described interface is corresponding, carries out Business Processing according to described configuration parameter;
Because the front and back end of module is separated, be blocked to cause for preventing communication and crack, therefore, in operation requests, configuration parameter is not set, retain the essential informations such as webpage URL, user ID.
Server is after receiving operation requests, and the configuration parameter that in search operation request, webpage URL is corresponding in configuration list, calls Service Component according to this configuration parameter and carry out Business Processing.
For prize drawing, which webpage (characterizing with URL) is set in configuration list and is provided with which activity, which configuration parameter of this action need, as prize drawing pond (data of prize), lot probability etc.
Call Service Component to carry out draw a lottery (Business Processing) according to this configuration parameter.
Step 209, returns the result of Business Processing to client;
The result of Service Component, after Business Processing completes, is returned to client by server.
Step 210, the load mode that the result of inquiry business process is corresponding in the client;
Step 211, according to the result of described load mode loaded with traffic process.
In embodiments of the present invention, the load mode of result can be defined in advance in configuration list, after the result receiving Business Processing, can show according to this load mode.
For prize drawing, if user is extracted into material object, then can load a bullet window, allow user fill in the data such as addressee, posting address, contact mobile phone; If user is extracted into virtual objects, then can directly show be extracted into virtual objects.
The embodiment of the present invention is by the mode of configuration parameter, and the functional realiey of control module, while the fail safe that ensure that communication, further increases the simplicity of update module, decrease the workload of update module.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 3, show a kind of according to an embodiment of the invention structured flowchart of the interactive system embodiment based on webpage, described system comprises client, and described client specifically can comprise as lower module:
Webpage load-on module 301, is suitable for adopting web document Web page loading;
Interface element request module 302, is suitable for when reading interface element mark from described web document, to the interface element that interface element mark described in server request is corresponding;
Interface element load-on module 303, is suitable for loading described interface element in described webpage;
Operation requests generation module 304, when being suitable for Action Events being detected on described interface element, generates an operation requests according to described Action Events;
Interface interchange module 305, is suitable for the interface calling Service Component, and the Service Component described operation requests being sent to server carries out Business Processing.
In a kind of embodiment of the present invention, described interface element mark comprises interface element framework mark and interface element content identification;
Described interface element request module 302 can also be suitable for:
To the interface element framework that interface element framework mark described in server request is corresponding;
To the interface element content that interface element content identification described in server request is corresponding.
In a kind of embodiment of the present invention, described interface element load-on module 303 can also be suitable for:
Assigned address in described webpage loads described interface element framework;
Described interface element content is loaded in described interface element framework.
In a kind of embodiment of the present invention, described system can also comprise server, and described server specifically can comprise as lower module:
Webpage determination module, is suitable for the webpage determining to trigger described operation requests;
Configuration parameter enquiry module, is suitable for inquiring about configuration parameter corresponding to described webpage;
Service Component calling module, is suitable for calling Service Component corresponding to described interface, carries out Business Processing according to described configuration parameter.
In a kind of embodiment of the present invention, described server can also comprise as lower module:
Result returns module, is suitable for the result of Business Processing to return client.
In a kind of embodiment of the present invention, described client's degree can also comprise as lower module:
Load mode enquiry module, is suitable for the load mode that the result of inquiry business process is in the client corresponding;
Result load-on module, is suitable for the result according to the process of described load mode loaded with traffic.
For system embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions based on the some or all parts in the interactive device of webpage that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The embodiment of the invention discloses A1, a kind of exchange method based on webpage, comprising:
Adopt web document Web page loading in the client;
When reading interface element mark from described web document, to the interface element that interface element mark described in server request is corresponding;
Described interface element is loaded in described webpage;
When described interface element detects Action Events, generate an operation requests according to described Action Events;
Call the interface of Service Component, the Service Component described operation requests being sent to server carries out Business Processing.
A2, method as described in A1, described interface element mark comprises interface element framework mark and interface element content identification;
The step of the described interface element corresponding to interface element mark described in server request comprises:
To the interface element framework that interface element framework mark described in server request is corresponding;
To the interface element content that interface element content identification described in server request is corresponding.
A3, method as described in A2, the described step loading described interface element in described webpage comprises:
Assigned address in described webpage loads described interface element framework;
Described interface element content is loaded in described interface element framework.
A4, method as described in A1 or A2 or A3, also comprise:
Determine the webpage triggering described operation requests in the server;
Inquire about the configuration parameter that described webpage is corresponding;
Call the Service Component that described interface is corresponding, carry out Business Processing according to described configuration parameter.
A5, method as described in A4, also comprise:
The result of Business Processing is returned client.
A6, method as described in A1 or A2 or A3 or A5, also comprise:
The load mode that the result of inquiry business process is corresponding in the client;
According to the result of described load mode loaded with traffic process.
The embodiment of the invention also discloses B7, a kind of interactive system based on webpage, described system comprises client, and described client comprises:
Webpage load-on module, is suitable for adopting web document Web page loading;
Interface element request module, is suitable for when reading interface element mark from described web document, to the interface element that interface element mark described in server request is corresponding;
Interface element load-on module, is suitable for loading described interface element in described webpage;
Operation requests generation module, when being suitable for Action Events being detected on described interface element, generates an operation requests according to described Action Events;
Interface interchange module, is suitable for the interface calling Service Component, and the Service Component described operation requests being sent to server carries out Business Processing.
B8, system as described in B7, described interface element mark comprises interface element framework mark and interface element content identification;
Described interface element request module is also suitable for:
To the interface element framework that interface element framework mark described in server request is corresponding;
To the interface element content that interface element content identification described in server request is corresponding.
B9, system as described in B8, described interface element load-on module is also suitable for:
Assigned address in described webpage loads described interface element framework;
Described interface element content is loaded in described interface element framework.
B10, system as described in B7 or B8 or B9, described system also comprises server, and described server comprises:
Webpage determination module, is suitable for the webpage determining to trigger described operation requests;
Configuration parameter enquiry module, is suitable for inquiring about configuration parameter corresponding to described webpage;
Service Component calling module, is suitable for calling Service Component corresponding to described interface, carries out Business Processing according to described configuration parameter.
B11, system as described in B10, described server also comprises:
Result returns module, is suitable for the result of Business Processing to return client.
B12, system as described in B7 or B8 or B9 or B11, described client's degree also comprises:
Load mode enquiry module, is suitable for the load mode that the result of inquiry business process is in the client corresponding;
Result load-on module, is suitable for the result according to the process of described load mode loaded with traffic.

Claims (10)

1., based on an exchange method for webpage, comprising:
Adopt web document Web page loading in the client;
When reading interface element mark from described web document, to the interface element that interface element mark described in server request is corresponding;
Described interface element is loaded in described webpage;
When described interface element detects Action Events, generate an operation requests according to described Action Events;
Call the interface of Service Component, the Service Component described operation requests being sent to server carries out Business Processing.
2. the method for claim 1, is characterized in that, described interface element mark comprises interface element framework mark and interface element content identification;
The step of the described interface element corresponding to interface element mark described in server request comprises:
To the interface element framework that interface element framework mark described in server request is corresponding;
To the interface element content that interface element content identification described in server request is corresponding.
3. method as claimed in claim 2, it is characterized in that, the described step loading described interface element in described webpage comprises:
Assigned address in described webpage loads described interface element framework;
Described interface element content is loaded in described interface element framework.
4. the method as described in claim 1 or 2 or 3, is characterized in that, also comprise:
Determine the webpage triggering described operation requests in the server;
Inquire about the configuration parameter that described webpage is corresponding;
Call the Service Component that described interface is corresponding, carry out Business Processing according to described configuration parameter.
5. method as claimed in claim 4, is characterized in that, also comprise:
The result of Business Processing is returned client.
6. the method as described in claim 1 or 2 or 3 or 5, is characterized in that, also comprise:
The load mode that the result of inquiry business process is corresponding in the client;
According to the result of described load mode loaded with traffic process.
7. based on an interactive system for webpage, described system comprises client, and described client comprises:
Webpage load-on module, is suitable for adopting web document Web page loading;
Interface element request module, is suitable for when reading interface element mark from described web document, to the interface element that interface element mark described in server request is corresponding;
Interface element load-on module, is suitable for loading described interface element in described webpage;
Operation requests generation module, when being suitable for Action Events being detected on described interface element, generates an operation requests according to described Action Events;
Interface interchange module, is suitable for the interface calling Service Component, and the Service Component described operation requests being sent to server carries out Business Processing.
8. system as claimed in claim 7, is characterized in that, described interface element mark comprises interface element framework mark and interface element content identification;
Described interface element request module is also suitable for:
To the interface element framework that interface element framework mark described in server request is corresponding;
To the interface element content that interface element content identification described in server request is corresponding.
9. system as claimed in claim 8, it is characterized in that, described interface element load-on module is also suitable for:
Assigned address in described webpage loads described interface element framework;
Described interface element content is loaded in described interface element framework.
10. the system as described in claim 7 or 8 or 9, it is characterized in that, described system also comprises server, and described server comprises:
Webpage determination module, is suitable for the webpage determining to trigger described operation requests;
Configuration parameter enquiry module, is suitable for inquiring about configuration parameter corresponding to described webpage;
Service Component calling module, is suitable for calling Service Component corresponding to described interface, carries out Business Processing according to described configuration parameter.
CN201510982487.2A 2015-12-23 2015-12-23 A kind of web-based exchange method and system Active CN105516333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510982487.2A CN105516333B (en) 2015-12-23 2015-12-23 A kind of web-based exchange method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510982487.2A CN105516333B (en) 2015-12-23 2015-12-23 A kind of web-based exchange method and system

Publications (2)

Publication Number Publication Date
CN105516333A true CN105516333A (en) 2016-04-20
CN105516333B CN105516333B (en) 2018-10-23

Family

ID=55723963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510982487.2A Active CN105516333B (en) 2015-12-23 2015-12-23 A kind of web-based exchange method and system

Country Status (1)

Country Link
CN (1) CN105516333B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073605A (en) * 2016-11-10 2018-05-25 阿里巴巴集团控股有限公司 A kind of loading of business datum, push, the generation method of interactive information and device
CN108319474A (en) * 2017-01-16 2018-07-24 腾讯科技(深圳)有限公司 A kind of page info generation method, device and equipment
CN111078339A (en) * 2019-11-29 2020-04-28 苏宁云计算有限公司 Interface element positioning method and device, computer equipment and storage medium
CN111625303A (en) * 2019-02-27 2020-09-04 阿里巴巴集团控股有限公司 Event processing method, device, equipment and readable storage medium
CN111753240A (en) * 2020-06-30 2020-10-09 上海二三四五网络科技有限公司 Control method and device for automatically providing matching information based on H5 page
CN112685111A (en) * 2020-12-25 2021-04-20 百果园技术(新加坡)有限公司 Control data processing method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254837A1 (en) * 2008-04-02 2009-10-08 Dybdahl Eric T Accessing external functionality within a component-based web application
CN102510377A (en) * 2011-10-31 2012-06-20 北京锐安科技有限公司 Webpage interaction accelerating asynchronous data processing method and system
CN103544320A (en) * 2013-11-05 2014-01-29 从兴技术有限公司 Webpage generation method and device
CN103605449A (en) * 2013-11-08 2014-02-26 深圳Tcl新技术有限公司 Static page interaction method and device
CN104573025A (en) * 2015-01-12 2015-04-29 北京京东尚科信息技术有限公司 Method and system for increasing page loading rate
CN104750793A (en) * 2015-03-12 2015-07-01 小米科技有限责任公司 Method and device for generating page tables

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090254837A1 (en) * 2008-04-02 2009-10-08 Dybdahl Eric T Accessing external functionality within a component-based web application
CN102510377A (en) * 2011-10-31 2012-06-20 北京锐安科技有限公司 Webpage interaction accelerating asynchronous data processing method and system
CN103544320A (en) * 2013-11-05 2014-01-29 从兴技术有限公司 Webpage generation method and device
CN103605449A (en) * 2013-11-08 2014-02-26 深圳Tcl新技术有限公司 Static page interaction method and device
CN104573025A (en) * 2015-01-12 2015-04-29 北京京东尚科信息技术有限公司 Method and system for increasing page loading rate
CN104750793A (en) * 2015-03-12 2015-07-01 小米科技有限责任公司 Method and device for generating page tables

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073605A (en) * 2016-11-10 2018-05-25 阿里巴巴集团控股有限公司 A kind of loading of business datum, push, the generation method of interactive information and device
CN108073605B (en) * 2016-11-10 2022-04-12 阿里巴巴集团控股有限公司 Method and device for loading and pushing service data and generating interactive information
CN108319474A (en) * 2017-01-16 2018-07-24 腾讯科技(深圳)有限公司 A kind of page info generation method, device and equipment
CN111625303A (en) * 2019-02-27 2020-09-04 阿里巴巴集团控股有限公司 Event processing method, device, equipment and readable storage medium
CN111625303B (en) * 2019-02-27 2023-06-09 阿里巴巴集团控股有限公司 Event processing method, device, equipment and readable storage medium
CN111078339A (en) * 2019-11-29 2020-04-28 苏宁云计算有限公司 Interface element positioning method and device, computer equipment and storage medium
CN111078339B (en) * 2019-11-29 2022-11-11 苏宁云计算有限公司 Interface element positioning method and device, computer equipment and storage medium
CN111753240A (en) * 2020-06-30 2020-10-09 上海二三四五网络科技有限公司 Control method and device for automatically providing matching information based on H5 page
CN112685111A (en) * 2020-12-25 2021-04-20 百果园技术(新加坡)有限公司 Control data processing method and related equipment

Also Published As

Publication number Publication date
CN105516333B (en) 2018-10-23

Similar Documents

Publication Publication Date Title
CN105516333A (en) Interactive method and system based on webpage
CN102882991B (en) A kind of browser and carry out the method for domain name mapping
CN103150513B (en) The method of the implantation information in interception application program and device
CN102843445B (en) A kind of browser and carry out the method for domain name mapping
US8527862B2 (en) Methods for making ajax web applications bookmarkable and crawlable and devices thereof
CN105337787A (en) Multi-server monitoring method, device and system
CN106528657A (en) Control method and device for browser skipping to application program
CN103942225A (en) Method and system for invoking resources of Hybrid App client and client
US11436066B2 (en) System for offline object based storage and mocking of rest responses
CN102917059A (en) Client end and method for downloading application
CN102981848B (en) Webpage main body element process browser and method
CN102882993A (en) Computing device and downloading method thereof
CN101799821B (en) Method and system for realizing webpage application by widget
US20200226615A1 (en) Customer service representative dashboard application
CN102932471B (en) Browser logon server and realize browser log in method and system
CN102855334A (en) Browser and method for acquiring domain name system (DNS) resolving data
CN103530329A (en) Method and device for performing webpage loading and browsers
CN103581249A (en) Information push method, system and client terminal
CN102932469A (en) Method for achieving client browser and client browser
CN104486397A (en) Method for carrying out data transmission in browser, client and mobile terminal
CN102929489A (en) Implementation method of client browser and client browser
CN104375831A (en) Method, device and system realizing communication between webpage and applications on terminal equipment
CN111367521A (en) Message sending method and device and message receiving method and device
CN107391132B (en) Method, device and equipment for target App to execute preset action
CN105338091A (en) High-transmission-efficiency personalized information interface display method and apparatus

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220728

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.