CN104601522A - Method, device and system for realizing interaction between mobile client and service system - Google Patents

Method, device and system for realizing interaction between mobile client and service system Download PDF

Info

Publication number
CN104601522A
CN104601522A CN201310524497.2A CN201310524497A CN104601522A CN 104601522 A CN104601522 A CN 104601522A CN 201310524497 A CN201310524497 A CN 201310524497A CN 104601522 A CN104601522 A CN 104601522A
Authority
CN
China
Prior art keywords
page
parameter
page request
mobile client
template
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
CN201310524497.2A
Other languages
Chinese (zh)
Other versions
CN104601522B (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.)
China Mobile Group Beijing Co Ltd
Original Assignee
China Mobile Group 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 China Mobile Group Beijing Co Ltd filed Critical China Mobile Group Beijing Co Ltd
Priority to CN201310524497.2A priority Critical patent/CN104601522B/en
Publication of CN104601522A publication Critical patent/CN104601522A/en
Application granted granted Critical
Publication of CN104601522B publication Critical patent/CN104601522B/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/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • 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/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications

Abstract

The invention discloses a method, a device and a system for realizing interaction between a mobile client and a service system, relates to the technical field of data services, and aims to solve the technical problem of influence on transmission efficiency caused by large content data volume of a network page received by the mobile client in the prior art. The method comprises the following steps that: middleware adapter equipment forwards a page request initiated by the mobile client to a web server, and receives page request response fed back by the web server; the middleware adapter equipment intercepts non-critical page data in the page request response according to a preset downlink template, and transmits the page request response from which the non-critical page data is intercepted to the mobile client; and the middleware adapter equipment receives a page request updated by the mobile client, combines the intercepted non-critical page data with the page request according to a preset uplink template, encapsulates the non-critical page data and the page request which are combined together , and sends the encapsulated page request to the web server.

Description

Mobile client and mutual implementation method, the Apparatus and system of operation system
Technical field
The present invention relates to data service technical field, particularly a kind of mobile client and mutual implementation method, the Apparatus and system of operation system.
Background technology
Along with the development of 3G and mobile terminal, the high speed development stage has also been arrived in mobile Internet business.User can be helped to realize on mobile phone efficiently, access the Important Problems that Web service system is numerous manufacturer terminal, IT vendor freely.And the interaction technique of browser client on existing mobile phone and Web service system has two kinds of patterns: direct-connected browser model and middle-agent change browse mode.
Direct-connected browser model as shown in Figure 1.This pattern develops from PC browser, its technical characterstic is direct built-in Full Featured browser engine on the client, directly communicate with the WEB website of information system, support conventional internet html format document to resolve and JavaScript script performs, thus allow user can free access Web site content.The feature of direct-connected browser be by cell-phone customer terminal browser by wireless network directly and Web server carry out alternately.Its advantage is all the elements that user can access Web site freely, and shortcoming requires higher to the level of hardware of network speed and mobile phone terminal.For direct-connected browser model, if wish to accelerate the interactive speed between cell-phone customer terminal and operation system, more common way is the data compression algorithm by opening server end, is generally gzip algorithm and carries out simple transmission data compression.Compression process and realization, need the browser of client or the corresponding compression and decompression algorithm of client software support.
Fig. 2 is middleware agency conversion browse mode, this pattern can nearlyer one deck than direct transmission mode, client browser adopts intermediate proxy server to carry out content layout and conversion again: client does not directly resolve the former html web page of Web service system, but by intermediate proxy server, layout again and format conversion are carried out, to adapt to screen resolution size to page full content (comprise picture format and perform script etc.).The feature of the program is the function that intermediate proxy server serves format conversion, shows the page full content after conversion on the client.The advantage of the program is: the data after the format conversion of middle adaptation services device, and the small screen being more applicable to cell-phone customer terminal is read.For current middleware proxy mode on the market, the mode of downstream station adaptation is generally adopted to carry out downlink data compression, by prejudging terminal resolution, obtain terminal resolution type accurately, the elements such as picture are carried out to the compression of resolution adaptation form, make download pictures go downwards to mobile phone terminal according to mobile phone resolution scale compression, reach flow and reduce, accelerate the object of transmitting procedure.
But middle-agent's browse mode of the prior art and direct-connected browser model also exist a common shortcoming:
No matter be by intermediate proxy server, or direct-connected browser model, the page data that cell-phone customer terminal receives is all full content-data.Cause 1 thus, the data volume of content delivery is too large entirely, have impact on the network transmission efficiency under existing wireless bandwidth; 2, require usually higher to the level of hardware of mobile phone terminal.Because the data volume of transmission and process is large, thus to the cpu of embedded device (mobile phone) and the requirement of internal memory high.
Summary of the invention
In order to the amount of content data solving the Webpage that mobile client in prior art receives is large, high to hardware requirement, affect the technical problem of transmission efficiency, the present invention proposes a kind of mobile client and mutual implementation method, the Apparatus and system of operation system.
Mobile client and the mutual implementation method of operation system, comprising:
The page request that mobile client is initiated is forwarded to web server by middleware adapting appts, and receives the page request response that described web server returns;
Middleware adapting appts retains the non-key page data in the response of described page request according to the descending template preset, and the page request response after retaining is sent to described mobile client;
Middleware adapting appts receive mobile client upgrade after page request, and according to the up template preset the described non-key page data retained combined and in page request after being encapsulated into described renewal after be sent to described web server.
Mobile client and the mutual implement device of operation system, comprising:
Forwarding module, is forwarded to web server for page request mobile client initiated, and receives the page request response that described web server returns;
Filter and retain module, for retaining the non-key page data in the response of described page request according to the descending template preset, and the page request response after retaining is sent to described mobile client;
Assembled package module, for receive mobile client upgrade after page request, and according to the up template preset the described non-key page data retained combined and in page request after being encapsulated into described renewal after be sent to described web server.
Mobile client and operation system mutual realize a system, comprising: middleware adapting appts;
Described middleware adapting appts, is forwarded to web server for page request mobile client initiated, and receives the page request response that described web server returns; And retain the non-key page data in the response of described page request according to the descending template preset, and the page request response after retaining is sent to described mobile client; Receive mobile client upgrade after page request after, according to the up template preset the described non-key page data retained combined and in page request after being encapsulated into described renewal after be sent to described web server.
The scheme of the invention provides proposes on middleware pattern basis, the pre-adaptive scheme of further employing template, automatically carry out according to template the method that page data retains and filter in real time, through writing pattern rule, in former web system downlink data to the process of mobile phone terminal, web page insignificant data are carried out filtering and retaining process, the insignificant data will retained when interaction data returns web page are returned at cell-phone customer terminal, namely non-key parameter carries out reconfiguring and encapsulating, realize minimum in client, while valid data transmission quantity, also ensure that the integrality of cell-phone customer terminal and the transmission of former Web service system data.Can realize, by retaining and recombinating non-essential data, effectively improving data transmission efficiency under existing mobile network's low-bandwidth environment.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram of direct-connected browser model in background technology;
Fig. 2 is the schematic diagram that in background technology, middle-agent changes browse mode;
Fig. 3 gos deep into analysis diagram for the middleware adapting appts proxy mode flow process provided in the embodiment of the present invention 1;
The flow chart that Fig. 4 is a kind of mobile client of providing in the embodiment of the present invention 1 and the mutual implementation method of operation system;
Fig. 5 for provide in the embodiment of the present invention 1 for the flow chart of a kind of mobile client of Http agreement and the mutual implementation method of operation system;
The schematic diagram of descending template of Fig. 6 for providing in the embodiment of the present invention 1;
The schematic diagram of up template of Fig. 7 for providing in the embodiment of the present invention 1;
The structural representation that Fig. 8 is a kind of mobile client of providing in the embodiment of the present invention 2 and the mutual implement device of operation system.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.Further, following embodiment is possibility of the present invention, embodiment put in order and the numbering of embodiment and its order preferably performed have nothing to do.
Embodiment 1
The present embodiment, provide a kind of mobile client and the mutual implementation method of operation system, before the present methods are described, the analysis diagram shown in first composition graphs 3 provides middle-agent in the present embodiment to change to go deep into resolving to middleware adapting appts under browse mode.
As shown in Figure 3, in middle-agent's pattern, the page request that whole cell-phone customer terminal is initiated, three large equipments can be divided into altogether: i.e. Web server (or web server, web application server), middleware adapting appts (middleware adapting appts) and mobile terminal (or browser client) to completing alternately; Amount to 6 steps, namely above-mentioned x1, x2, y1, y2, z1 and z2 be totally 6 processes.
In these six processes, middleware adapting appts bears WEB server and browser client two kinds of roles respectively, wherein, bears WEB server role in x1, y2 and z1 process, in remaining three process, bear browser client role.
Focus has concentrated in x1 and y2 process by existing middleware processes device, obtains the resolution of screen, and before y2 process, the Information Compression such as picture is become corresponding resolution sizes, thus reach the object of data compression in x1 process.
And through the analysis of the present embodiment and discovery, y1 and z2 in whole transmitting procedure two substep process also also exists the space that can optimize.Therefore the y1 process defined in the present embodiment from WEB server to middleware adapting appts is data downstream process, define from middleware adapting appts to the z2 process of the new server of WEB be up process.
In descending process, the code going downwards to middleware adapting appts from Web server can comprise following several part substantially:
α-interface description part, namely after a while in browser or the direct interaction interface portion being presented in mobile phone terminal formation and user by y2 process
Transmission request address during β-up, namely defines the address that mutual padding data is returned assigned address by browser after a while
γ-user interactions required parameter, namely defines the visible interaction parameter of user, for the part of user's hand filling content
Δ-hide interaction parameter, needs more equally to participate in calculating process, but is not carried out interactive operation by user, not even the implicit parameter seen by user, as the parameter etc. irrelevant with browser client displaying interface.Be generally comprised within Html(HTML) in node hidden(hide) in territory.Usually in the operation of multistep linkage type, user store last mutual or on mutual several times user-interactive data, only for the complete submission of the content mutual for the last time of user.
In z2 process, the parameter submitted to WEB server is needed to be alpha+beta+γ '+Δ, wherein γ ' is the parameter after the real-time, interactive data of filling user, can pay particular attention to, in the whole transmitting procedure of y1 and z2, do not change before and after Δ part, namely in y2 and z1 process, Δ parameter region can ignore not participate in process completely, and be exactly after attempting to arrive middleware adapting appts after y1 process is initiated in the present embodiment, Δ partial parameters is wherein intercepted by adapting appts, the actual mutual part of participating user all the other is needed to be sent to client from being newly assembled into the page, complete the mutual stage of y2 and z1, simultaneously after the z1 stage receives interaction content, again Δ parameter region is mixed with the γ ' supplementing user data by middleware adapting appts, and according to the organized formats of original web, γ '+Δ is reconfigured, with GET, other HTTP that POST or former WEB server are supported submit to pattern to submit back WEB server to, complete alternately complete.
Like this in y2 and z1 process, owing to eliminating the content of repetition parameter Δ, interaction content is reduced further, but do not change current mutual semantic environment, thus the cutting realized based on content of parameter realizes content compression object, reach the effect of accelerating network transmission.
Based on above-mentioned analysis, as shown in Figure 4, the method in the present embodiment mainly comprises:
Step 101, the page request that mobile client is initiated is forwarded to web server by middleware adapting appts, and receives the page request response that web server returns.
Specific implementation can refer to following step 201-204.
Step 102, middleware adapting appts retains the non-key page data in page request response according to the descending template preset, and the page request response after retaining is sent to mobile client.
Wherein, middleware adapting appts retains the non-key page data in page request response according to the descending template preset, and specifically comprises:
Middle adapting appts matches corresponding rule template according to URL in page request response;
Preserve according to the unnecessary page elements parameter in the rule template intercept page request of correspondence; The retention region comprising the parameter had nothing to do with mobile client page presentation is determined according to the page code in the rule in rule template and requests for page response, the parameter retained in region is intercepted from page request response, and the parameter of this intercepting is separated into parameter name and parameter value according to the Entry order in rule template, by be separated after parameter name and parameter value stored in retention buffer area.
It should be noted that: the non-key page data that can be filtered in the present embodiment can be thought and mainly comprises two parts, a part for unnecessary page elements parameter (as have nothing to do with page presentation or with protocol format about but do not affect the tag element and unnecessary JS code of resolving content).A part is the parameter irrelevant with mobile client page presentation.In fact non-key page data be will from page request response the part that filter out, not by abandoning after only filtering, but preserve and/or stored in hidden territory, be therefore called as in the present embodiment and retain.
Specific implementation can refer to following step 205-206.
Step 103, middleware adapting appts receive mobile client upgrade after page request, and according to the up template preset the non-key page data retained combined and is encapsulated into after in the page request after renewal and be sent to web server.
Specific implementation can refer to following step 207-210.
Wherein, the non-key page data retained combines and is encapsulated in the page request after renewal by the up template that above-mentioned basis is preset, and specifically comprises:
The interaction parameter content in the page request after upgrading is read according to the reading rule in the up template preset; By interaction parameter content and mating stored in the content of parameter retained in buffer area in the non-key page data retained, form the combining form of parameter name and parameter value; Parameter name after coupling and combining parameter values are resequenced according to the appointment order in up template; The unnecessary page elements parameter of the parameter name after sequence and combining parameter values and preservation is added in the page request after renewal.
Http protocol is adopted between middleware adapting appts and web server; Correspondingly, the page request from mobile client is converted to the form of http protocol by middleware adapting appts.
The web data that middleware in the present embodiment realizes Web equipment by Webparser technology (similar reptile principle) captures, carry out the data analysis of Html metadata, the reciprocal process between mobile client and web equipment is intervened by the up-downgoing template preset, when actual access, realize non-key for web page page data to carry out retaining by the predefine of template rule and by non-key page data with carry out reconfiguring and be encapsulated into the process in the page request after the renewal of client feedback, realize client small amount data transmission, accelerate the data interaction of client and web system.
Lower mask body adopts http agreement for web equipment, further describes the method in the present invention, as shown in Figure 5, comprising:
Step 201, cell-phone customer terminal initiates page request;
Step 202, the page request that cell-phone customer terminal is initiated is converted into the http protocol form can asking WEB server by middleware adapting appts;
203, the page request of the HTTP form transformed is issued WEB server by middleware adapting appts;
204, WEB server returns the response of HTTP form page request to middleware adapting appts;
205, middleware adapting appts is analyzed according to descending template the HTTP request response returned and is screened, and retains and preserves unwanted HTTP element, as unnecessary tag element and JS code; And the parameter buffer memory irrelevant with cell-phone customer terminal displaying interface is entered in Hidden territory, after buffer memory completes, request response is converted into the cell-phone customer terminal request format of saving network flow.
Specifically, in uplink and downlink process, Normal practice is write the program code that can be compiled as machine effective language, if but adopt program coding, certainly will mean process each mutual time must by code implant system, the frequent of system can be caused more to become, cause the instability of system, thus when actual implementation system, this enforcement have employed up-downgoing two large form, utilize the configuration rule definition semantical definition executing rule of text-type, automatically loaded by equipment, resolve and perform corresponding processing rule, can define separately for interactive operation and the page during process, but can not the integrality of breaking plant and independence.
Descending template is for retaining and filtering after completing above-mentioned y1 process.As shown in Figure 6, descending template is constructed by XML text.Descending template, by rule match district, retains rule match district, and retains three, rule process district region composition, wherein:
Rule match district to be used for according to URL, according to the rule template corresponding to the concrete web page of the matching regular expressions of template, making the page of the same type can perform common rule template; After matching corresponding rule template, by the non-critical data in adopting the content on this rule template and then filtering out the page that comprises in the request response of web server feedback.
Retain Matching band then can, according to the concrete HTML code content of the page, to determine to retain region by the mode of regular expression and context complete match.Such as:
Canonical collection rule is: <hide> [^>] * > [^>] * > [^>] * > [^>] * > ([^<] *)
The content collected is: the ftp server version information under corresponding label can be acquired. use packet mode to write (as: ([^<] *)) herein
According to the rule in rule template, parameters separated is wherein become parameter name and parameter value by entry in concrete retention region in order successively, so that can by be separated after parameter name and parameter value stored in retention buffer area, this retention buffer area can be hidden territory.
Step 206, the request transformed is issued client by middleware adapting appts;
Step 207, cell-phone customer terminal plays up mobile phone client software interface according to request, presents the content of page request response;
Step 208, cell-phone customer terminal initiates page request again, the page request after namely upgrading;
Step 209, middleware adapting appts takes out the parameter be buffered in Hidden territory according to up template, interaction parameter in this parameter and the page request after upgrading is combined, the HTTP element correspondence of the content after combination and reservation is added in the page request of above-mentioned cell-phone customer terminal, after having added, the page request that cell-phone customer terminal is initiated is converted into the form of the http protocol can asking WEB server.
Specifically, up template crosses the parameter shaping again of Cheng Qian for completing above-mentioned z2.As shown in Figure 7, up template is divided and be can be source data and read and control Matching band, regular shaping region two large divisions composition.
Wherein: source data reads the page request after this renewal can be read in controlled area submission address according to rule, and submit to the interaction parameter content in data to mate with the content of parameter retained in retention district alternately the client after upgrading, the content of coupling is arranged the character string type for parameter name=parameter value, and according to HTTP coding rule, parameter value is recoded.
Parameter combinations can be resequenced according to the content basis parameter name after shaping or the rule ordering of specifying by shaping controlled area, and specify the HTTP method of operation submitted to during final generation, as GET(obtains), POST(postal delivery) or SEARCH(search) etc. other submit actions to.
Step 210, the HTTP request transformed is issued WEB server by middleware adapting appts.
Retained by middleware adapting appts and can comprise with filtering page data: the parameter (representing irrelevant parameter with client end interface) not changing or do not need operation in Hidden territory; Unnecessary tag element, unnecessary Js code (unnecessary page elements parameter).
The method of this enforcement proposes on middleware pattern basis, the pre-adaptive scheme of further employing template, automatically carry out according to template the method that page data retains and filter in real time, through writing pattern rule, in former web system downlink data to the process of mobile phone terminal, non-key for web page page data is carried out filtering and retaining process, return when interaction data returns web page at cell-phone customer terminal and this non-key page data is reconfigured and encapsulates, realize minimum in client, while valid data transmission quantity, also ensure that the integrality of cell-phone customer terminal and the transmission of former Web service system data.
This method has broken concept and the process of terminal adaptation simple in middleware transmission mode, change the full text transmission mode between conventional mobile phone client and server, can realize, by retaining and recombinating non-essential data, effectively improving data transmission efficiency under existing mobile network's low-bandwidth environment.
Embodiment 2
Realize for the ease of the method in embodiment 1, the present embodiment provides a kind of mobile client and the mutual implement device of operation system, and this device can be installed in middleware adapting appts in embodiment 1, or is exactly a kind of middleware adapting appts.As shown in Figure 8, comprising: forwarding module 31, filter and retain module 32, assembled package module 33.
Forwarding module 31, is forwarded to web server for page request mobile client initiated, and receives the page request response that web server returns; Filter and retain module 32, for retaining the non-key page data in page request response according to the descending template preset, and the page request response after retaining is sent to mobile client; Assembled package module 33, for receive mobile client upgrade after page request, and according to the up template preset the non-key page data retained combined and is encapsulated into after in the page request after renewal and be sent to web server.
Specifically, filter retention module 32 and specifically comprise: filter element, retain unit, buffer unit.
Filter element, for matching corresponding rule template according to URL in page request response, and according to the unnecessary page element parameter as non-key page data in the rule template intercept page request of correspondence, and preserves; Retain unit, for determining to comprise the retention region of the parameter had nothing to do with mobile client page presentation as non-key page data according to the page code in the rule in rule template and requests for page response; From page request response, intercept the parameter retained in region, and the parameter of this intercepting is separated into parameter name and parameter value according to the Entry order in rule template; By be separated after parameter name and parameter value stored in retention buffer area; Buffer unit, for storing as retention buffer area the parameter name and parameter value that retain.
Assembled package module 33 specifically comprises: shaping unit, adding device.
Shaping unit, for reading the interaction parameter content in the page request after upgrading according to the reading rule in the up template preset, and by interaction parameter content and mating stored in the content of parameter retaining buffer area in the non-key page data retained, form the combining form of parameter name and parameter value, and the parameter name after coupling and combining parameter values are resequenced according to the appointment order in described up template; Adding device, for adding to the unnecessary page elements parameter of the parameter name after sequence and combining parameter values and preservation in the page request after renewal.
Wherein, mobile client and adopt http protocol between the mutual implement device of operation system and web server; Correspondingly, this also comprises:
Protocol conversion module, for the page request from mobile client is converted to http protocol form after be sent to web server.
The device that this enforcement provides specifically utilizes the up-downgoing XML template of writing in advance, the data between Web server and cell-phone customer terminal is carried out to the function of necessity, effectively cutting and Reseal.Under downlink mode, web page insignificant page data is carried out filtering and retaining preliminary treatment, under upper row mode, client data is carried out reconfiguring and encapsulating, while client realizes minimum, valid data transmission quantity, also ensure that a kind of pattern of cell-phone customer terminal and former Web service system data transmission integrity.Act on behalf of in interactive mode at middleware, in middleware device and web server reciprocal process, the parameter information (element such as Hidden field, label, Js code as Html code) of self-consistentency, can full-automatic and real-time cutting be completed according to presetting pattern rule and retain preliminary treatment, realize these contents directly to retain at middleware end, thus the data traffic being sent to cell-phone customer terminal is reduced further.
The products such as the said equipment that the embodiment of the present invention provides or device belong to the flow and method of computer program for foundation, and according to each step corresponding consistent mode completely with method flow in embodiment of the method 1 and/or accompanying drawing, the functional module provided.And because this functional module is the software service realized by the mode of computer program, so the functional module specifically do not mentioned for device embodiment 2, owing to considering that the content recorded according to said method embodiment has enough made those skilled in the art determine directly, expectedly the functional module that performing step must be set up, so be not repeated herein from each process step of method record.
Embodiment 3
The present embodiment provide a kind of mobile client and operation system mutual realize system, this system comprises: middleware adapting appts.
Middleware adapting appts, is forwarded to web server for the page request initiated by browser client, and receives the page request response that web server returns; And retain the non-key page data in page request response according to the descending template preset, and the page request response after retaining is sent to browser client; Receive browser client upgrade after page request after, according to the up template preset, the crucial page data assemblies retained is encapsulated into after in the page request after renewal and is sent to web server.
This system also comprises mobile terminal and the web server of built-in browser client.
Because mobile terminal is similar to prior art to specifically carrying into execution a plan of web server, be not repeated herein.Specifically carrying into execution a plan of middleware adapting appts can device in reference implementation 2.
The system that the present embodiment provides has following technique effect:
1, the change of further refinement and analysis transmitting procedure, retains indeclinable content and parameter, makes only necessary content participate in system interaction, thus accelerates interactive speed.By middleware system to the data cutting of source Web application system with retain preliminary treatment, compare traditional middleware proxy mode, except can apply traditional proxy pattern the compression based on resolution and process except, the interaction data information only needed for transmission client can also be accomplished, thus reduce data traffic to a great extent, accelerate interactive speed and promote customer experience.
2, realize personalized customization by the definition of pattern rule, and the realization of change software service need not be implemented according to the change of page system.By the preliminary treatment XML text template of middleware system, realized fully automatically reading by software service, analyze and action representated by executing rule template and semanteme, thus realize software systems reach the standard grade after the real-time, interactive process for the different page, and for no webpage interactive interface, need not all adjust software systems logic at every turn.
3, when not applying any compression algorithm, while reducing client data transmission quantity, effective, the integrality of the interaction data between client and operation system is ensured.The technical method of this motion is by up-downgoing template and pretreated intermediate link, realize the transfer of data of client necessity, and with mobile phone interaction after, can recover and the complete information of WEB system interaction and link according to the preliminary treatment link of up template, and then ensure the data integrity with business system interaction.
The part that technical scheme of the present invention contributes to prior art in essence is in other words the function embodied with the form of software product, in other words: even if the function body of the method for each equipment of device of the present invention, equipment or composition system performed by it or realization is hardware, but the part in fact realizing above-mentioned functions of the present invention is but module or the unit of computer software product.And this computer software product can be stored in the storage medium that can read, as the floppy disk of computer, hard disk or CD etc., comprise some instructions and perform method described in each embodiment of the present invention in order to make an equipment.
The above, be only the specific embodiment of the present invention, but the present invention can have multiple multi-form embodiment, by reference to the accompanying drawings the present invention is illustrated above, this does not also mean that the embodiment that the present invention applies can only be confined in these specific embodiments, those skilled in the art should understand, embodiment provided above is some examples in multiple preferred implementation, and the embodiment of any embodiment the claims in the present invention all should within the claims in the present invention scope required for protection; Those skilled in the art can modify to technical scheme described in each embodiment above, or carries out equivalent replacement to wherein portion of techniques feature.Within the spirit and principles in the present invention all, any amendment done, equivalent to replace or improvement etc., within the protection range that all should be included in the claims in the present invention.

Claims (10)

1. mobile client and the mutual implementation method of operation system, is characterized in that, comprising:
The page request that mobile client is initiated is forwarded to web server by middleware adapting appts, and receives the page request response that described web server returns;
Middleware adapting appts retains the non-key page data in the response of described page request according to the descending template preset, and the page request response after retaining is sent to described mobile client;
Middleware adapting appts receive mobile client upgrade after page request, and according to the up template preset the described non-key page data retained combined and in page request after being encapsulated into described renewal after be sent to described web server.
2. method according to claim 1, is characterized in that, described non-key page data comprises unnecessary page elements parameter and the parameter irrelevant with mobile client page presentation; Described middleware adapting appts retains the non-key page data in the response of described page request according to the descending template preset, and specifically comprises:
Middle adapting appts matches corresponding rule template according to URL in page request response;
Intercept the unnecessary page elements parameter in described page request according to the rule template of correspondence and preserve;
The retention region of the described parameter had nothing to do with mobile client page presentation is determined to comprise according to the page code in the rule in rule template and requests for page response, the parameter in described retention region is intercepted from described page request response, and the parameter of this intercepting is separated into parameter name and parameter value according to the Entry order in rule template, by be separated after parameter name and parameter value stored in retention buffer area.
3. method according to claim 2, is characterized in that, the described non-key page data retained combines and is encapsulated in the page request after described renewal by the up template that described basis is preset, and specifically comprises:
The interaction parameter content in the page request after described renewal is read according to the reading rule in the up template preset;
By described interaction parameter content and mating stored in the content of parameter retaining buffer area in the described non-key page data retained, form the combining form of parameter name and parameter value, and the parameter name after coupling and combining parameter values are resequenced according to the appointment order in described up template;
The unnecessary page elements parameter of the parameter name after sequence and combining parameter values and preservation is added in the page request after described renewal.
4. method according to claim 3, is characterized in that, adopts http protocol between described middleware adapting appts and web server; Page request from mobile client is converted to the form of http protocol by described middleware adapting appts.
5. method according to claim 1, is characterized in that, the parameter irrelevant with mobile client page presentation in described non-key page data is stored in hidden territory.
6. mobile client and the mutual implement device of operation system, is characterized in that, comprising:
Forwarding module, is forwarded to web server for page request mobile client initiated, and receives the page request response that described web server returns;
Filter and retain module, for retaining the non-key page data in the response of described page request according to the descending template preset, and the page request response after retaining is sent to described mobile client;
Assembled package module, for receive mobile client upgrade after page request, and according to the up template preset the described non-key page data retained combined and in page request after being encapsulated into described renewal after be sent to described web server.
7. device according to claim 6, is characterized in that, described filtration is retained module and specifically comprised:
Filter element, for matching corresponding rule template according to URL in page request response, and intercepts the unnecessary page element parameter as non-key page data in described page request according to the rule template of correspondence, and preserves;
Retain unit, for determining to comprise the retention region of the parameter had nothing to do with mobile client page presentation as non-key page data according to the page code in the rule in rule template and requests for page response; From described page request response, intercept the parameter in described retention region, and the parameter of this intercepting is separated into parameter name and parameter value according to the Entry order in rule template; By be separated after parameter name and parameter value stored in retention buffer area;
Buffer unit, for storing as retention buffer area the parameter name and parameter value that retain.
8. the device according to claim 6 or 7, is characterized in that, described assembled package module specifically comprises:
Shaping unit, for reading the interaction parameter content in the page request after described renewal according to the reading rule in the up template preset, and by described interaction parameter content and mating stored in the content of parameter retaining buffer area in the described non-key page data retained, form the combining form of parameter name and parameter value, and the parameter name after coupling and combining parameter values are resequenced according to the appointment order in described up template;
Adding device, for adding to the unnecessary page elements parameter of the parameter name after sequence and combining parameter values and preservation in the page request after described renewal.
9. device according to claim 8, is characterized in that, described mobile client and adopt http protocol between the mutual implement device of operation system and web server; Also comprise:
Protocol conversion module, for the page request from mobile client is converted to http protocol form after be sent to described web server.
10. mobile client and operation system mutual realize a system, it is characterized in that, comprising: middleware adapting appts;
Described middleware adapting appts, is forwarded to web server for page request mobile client initiated, and receives the page request response that described web server returns; And retain the non-key page data in the response of described page request according to the descending template preset, and the page request response after retaining is sent to described mobile client; Receive mobile client upgrade after page request after, according to the up template preset the described non-key page data retained combined and in page request after being encapsulated into described renewal after be sent to described web server.
CN201310524497.2A 2013-10-30 2013-10-30 Implementation method that mobile client interacts with operation system, apparatus and system Active CN104601522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310524497.2A CN104601522B (en) 2013-10-30 2013-10-30 Implementation method that mobile client interacts with operation system, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310524497.2A CN104601522B (en) 2013-10-30 2013-10-30 Implementation method that mobile client interacts with operation system, apparatus and system

Publications (2)

Publication Number Publication Date
CN104601522A true CN104601522A (en) 2015-05-06
CN104601522B CN104601522B (en) 2018-01-30

Family

ID=53127033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310524497.2A Active CN104601522B (en) 2013-10-30 2013-10-30 Implementation method that mobile client interacts with operation system, apparatus and system

Country Status (1)

Country Link
CN (1) CN104601522B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095449A (en) * 2015-07-27 2015-11-25 福州盈展信息技术有限公司 Method for converting HTML webpage to mobile terminal page
CN105656947A (en) * 2016-03-30 2016-06-08 深圳市金证科技股份有限公司 Method, device and system for interaction between transaction middleware and third-party system
CN106254460A (en) * 2016-08-05 2016-12-21 浪潮软件股份有限公司 A kind of method accessing message-oriented middleware from mobile terminal
CN106487861A (en) * 2015-09-01 2017-03-08 腾讯科技(北京)有限公司 Network data provides method and apparatus
CN106657399A (en) * 2017-02-20 2017-05-10 北京奇虎科技有限公司 Background server selection method and device realized based on middleware
CN107071000A (en) * 2017-03-21 2017-08-18 方欣科技有限公司 The nested operation display methods of application, apparatus and system
CN109150984A (en) * 2018-07-27 2019-01-04 平安科技(深圳)有限公司 The method and apparatus for obtaining data resource
CN109672703A (en) * 2017-10-16 2019-04-23 中车株洲电力机车研究所有限公司 A kind of wind power plant quality control management method and system
CN109697662A (en) * 2018-12-29 2019-04-30 广东金赋科技股份有限公司 Business function implementation method and system applied to self-service terminal
CN111200523A (en) * 2019-12-27 2020-05-26 平安银行股份有限公司 Middle station system configuration method, device, equipment and storage medium
CN111259293A (en) * 2018-12-03 2020-06-09 阿里巴巴集团控股有限公司 Content data generation method and device, electronic equipment and computer readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7249319B1 (en) * 2003-12-22 2007-07-24 Microsoft Corporation Smartly formatted print in toolbar
CN101132404A (en) * 2007-09-14 2008-02-27 腾讯科技(深圳)有限公司 Web page contents step presentation system and method thereof
CN102316536A (en) * 2011-09-16 2012-01-11 中兴通讯股份有限公司 Method and gateway for regulating webpage contents
US20130086247A1 (en) * 2011-09-29 2013-04-04 International Business Machines Corporation Web page script management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7249319B1 (en) * 2003-12-22 2007-07-24 Microsoft Corporation Smartly formatted print in toolbar
CN101132404A (en) * 2007-09-14 2008-02-27 腾讯科技(深圳)有限公司 Web page contents step presentation system and method thereof
CN102316536A (en) * 2011-09-16 2012-01-11 中兴通讯股份有限公司 Method and gateway for regulating webpage contents
US20130086247A1 (en) * 2011-09-29 2013-04-04 International Business Machines Corporation Web page script management
CN103034483A (en) * 2011-09-29 2013-04-10 国际商业机器公司 Web page script management method and system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095449A (en) * 2015-07-27 2015-11-25 福州盈展信息技术有限公司 Method for converting HTML webpage to mobile terminal page
CN106487861A (en) * 2015-09-01 2017-03-08 腾讯科技(北京)有限公司 Network data provides method and apparatus
CN106487861B (en) * 2015-09-01 2021-04-02 腾讯科技(北京)有限公司 Network data providing method and device
CN105656947A (en) * 2016-03-30 2016-06-08 深圳市金证科技股份有限公司 Method, device and system for interaction between transaction middleware and third-party system
CN105656947B (en) * 2016-03-30 2019-02-01 深圳市金证科技股份有限公司 A kind of methods, devices and systems that transaction middleware is interacted with third party system
CN106254460A (en) * 2016-08-05 2016-12-21 浪潮软件股份有限公司 A kind of method accessing message-oriented middleware from mobile terminal
CN106657399A (en) * 2017-02-20 2017-05-10 北京奇虎科技有限公司 Background server selection method and device realized based on middleware
CN106657399B (en) * 2017-02-20 2020-08-18 北京奇虎科技有限公司 Background server selection method and device based on middleware
CN107071000B (en) * 2017-03-21 2019-12-20 方欣科技有限公司 Application nested running display method, device and system
CN107071000A (en) * 2017-03-21 2017-08-18 方欣科技有限公司 The nested operation display methods of application, apparatus and system
CN109672703A (en) * 2017-10-16 2019-04-23 中车株洲电力机车研究所有限公司 A kind of wind power plant quality control management method and system
CN109150984A (en) * 2018-07-27 2019-01-04 平安科技(深圳)有限公司 The method and apparatus for obtaining data resource
CN109150984B (en) * 2018-07-27 2021-11-02 平安科技(深圳)有限公司 Method and device for acquiring data resources
CN111259293A (en) * 2018-12-03 2020-06-09 阿里巴巴集团控股有限公司 Content data generation method and device, electronic equipment and computer readable medium
CN111259293B (en) * 2018-12-03 2023-04-28 阿里巴巴集团控股有限公司 Content data generation method and device, electronic equipment and computer readable medium
CN109697662A (en) * 2018-12-29 2019-04-30 广东金赋科技股份有限公司 Business function implementation method and system applied to self-service terminal
CN111200523A (en) * 2019-12-27 2020-05-26 平安银行股份有限公司 Middle station system configuration method, device, equipment and storage medium
CN111200523B (en) * 2019-12-27 2023-08-22 平安银行股份有限公司 Method, device, equipment and storage medium for configuring middle platform system

Also Published As

Publication number Publication date
CN104601522B (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN104601522A (en) Method, device and system for realizing interaction between mobile client and service system
CN100591078C (en) A website buffering method and device
CN100481088C (en) Web page resource issuing method and issuing system
CN104158836A (en) Method for rendering mobile application interface through data
CN100428150C (en) Method for processing pictures of embedded WED browser
WO2009147844A1 (en) Web page distribution system
JP2019530921A (en) Method and system for server-side rendering of native content for presentation
US9646103B2 (en) Client-side template engine and method for constructing a nested DOM module for a website
CN101815093A (en) Method for adapting webpage to mobile terminal and mobile terminal page adaptation device
CN101695157A (en) Self-adapting method of display of mobile terminal screen in network application and system thereof
CN103268319A (en) Cloud browser based on webpages
CN112612452B (en) API platform realization method, device, equipment and storage medium
US20160012147A1 (en) Asynchronous Initialization of Document Object Model (DOM) Modules
CN105007309A (en) System and method for separately controlling dynamic data and static interface
CN108268260A (en) It is a kind of quick micro- using assemble method based on integrated support technology
CN112256772A (en) Data service method, device and readable storage medium
US9128886B2 (en) Computer implemented method, computer system, electronic interface, mobile computing device and computer readable medium
CN106844763B (en) A kind of method showed to the Internet media file formula of modifying and its device
US9614900B1 (en) Multi-process architecture for a split browser
US20160012023A1 (en) Self-Referencing of Running Script Elements in Asynchronously Loaded DOM Modules
CN110442343A (en) A kind of conversion of page method and conversion of page device
CN103442256A (en) Electronic program menu implementation method and system based on HTML5
Tamayo et al. Dealing with large schema sets in mobile SOS-based applications
CN113542217A (en) Service subscription system
US20160012146A1 (en) Client Web Browser and Method for Constructing a Website DOM Module With Client-Side Functional Code

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