CN107491301A - Dynamic interface processing method and processing device - Google Patents

Dynamic interface processing method and processing device Download PDF

Info

Publication number
CN107491301A
CN107491301A CN201710625198.6A CN201710625198A CN107491301A CN 107491301 A CN107491301 A CN 107491301A CN 201710625198 A CN201710625198 A CN 201710625198A CN 107491301 A CN107491301 A CN 107491301A
Authority
CN
China
Prior art keywords
dynamic interface
user
access request
interface file
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710625198.6A
Other languages
Chinese (zh)
Inventor
柳芃
白敏�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qianxin Technology Co Ltd
Original Assignee
Beijing Qianxin Technology 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 Qianxin Technology Co Ltd filed Critical Beijing Qianxin Technology Co Ltd
Priority to CN201710625198.6A priority Critical patent/CN107491301A/en
Publication of CN107491301A publication Critical patent/CN107491301A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The present invention provides a kind of dynamic interface processing method and processing device, and this method includes:The access request of user is received, the access request includes user profile and URL addresses;According to dynamic interface file corresponding to the user profile and the generation of URL addresses, and the dynamic interface file is sent to caching gateway, so that dynamic interface file described in the caching gateway caches, and the forwarding dynamic interface file is to corresponding client.A kind of dynamic interface processing method and processing device provided by the invention, by the access request for receiving user, and the dynamic interface file according to corresponding to access request generation, and the dynamic interface file is sent to caching gateway, so that dynamic interface file described in the caching gateway caches, and the forwarding dynamic interface file is to corresponding client, when the user for reaching different accesses same dynamic interface URL, it can be seen that respective dynamic interface.

Description

Dynamic interface processing method and processing device
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of dynamic interface processing method and processing device.
Background technology
Current existing interface caching technology is to the slow of static interfaces (remaining constant interface, such as js) Deposit, the Related product not cached to dynamic interface.
Therefore, in order to improve to the dynamic interfaces of cloud Saas services (i.e. with the change of the data interface of real-time change, Such as list) access speed is, it is necessary to establish a kind of dynamic interface processing method mechanism.
The content of the invention
The present invention provides a kind of dynamic interface processing method and processing device, for solving in the prior art not to dynamic interface The problem of caching process scheme.
In a first aspect, the present invention provides a kind of dynamic interface processing method, including:
The access request of user is received, the access request includes user profile and URL addresses;
According to dynamic interface file corresponding to the user profile and the generation of URL addresses, and by the dynamic interface file Caching gateway is sent to, so that dynamic interface file described in the caching gateway caches, and the forwarding dynamic interface file To corresponding client.
Alternatively, before the access request of user is received, the information of logining for also receiving user is authenticated, and is delayed to described Deposit gateway and send authentication response bag, so that the caching gateway determines the certification of authentication response bag by rear, increase authentication response bag User's mark.
Alternatively, in addition to:
The modification request of user is received, the modification request includes changing content, user profile and URL addresses;
Regenerated corresponding to the dynamic interface file under the URL addresses, and will given birth to again according to the modification request Into all dynamic interface files be sent to it is described caching gateway cached.
Second aspect, the present invention provide a kind of dynamic interface processing method, including:
Receive dynamic interface file and cache, after the dynamic interface file receives the access request of user for server, The file generated according to the access request, the access request include user profile and URL addresses;
The dynamic interface file is sent to corresponding client.
Alternatively, in addition to:
Authentication response bag is received, the authentication response bag is that the information of logining of server reception user is authenticated generation Response bag;
The certification of authentication response bag is determined by rear, the user's mark of increase authentication response bag.
Alternatively, in addition to:
The access request of user is received, the access request includes user's mark, user profile and URL addresses;
The user's mark certification is determined by rear, dynamic circle according to corresponding to obtaining the user profile and URL addresses Face file is sent to corresponding user terminal.
The third aspect, the present invention provide a kind of dynamic interface processing unit, including:
First receiving module, for receiving the access request of user, the access request is with including user profile and URL Location;
Generation module, for the dynamic interface file according to corresponding to the user profile and the generation of URL addresses, and by described in Dynamic interface file is sent to caching gateway, so that dynamic interface file described in the caching gateway caches, and described in forwarding Dynamic interface file gives corresponding client.
Alternatively, in addition to authentication module, for before the access request of user is received, receive user to login information It is authenticated, authentication response bag is sent to the caching gateway, so that the caching gateway determines that authentication response bag certification passes through Afterwards, the user's mark of authentication response bag is increased.
Alternatively, in addition to update module, it is used for:
The modification request of user is received, the modification request includes changing content, user profile and URL addresses;
Regenerated corresponding to the dynamic interface file under the URL addresses, and will given birth to again according to the modification request Into all dynamic interface files be sent to it is described caching gateway cached.
Fourth aspect, the present invention provide a kind of electronic equipment, including:First processor, first memory, bus and storage On the first memory and the computer program that can be run on first processor;
Wherein, the first processor, first memory complete mutual communication by the bus;
The first processor realizes method described above when performing the computer program.
5th aspect, the present invention provide a kind of non-transient computer readable storage medium storing program for executing, and the non-transient computer is readable Computer program is stored with storage medium, the computer program realizes method described above when being executed by processor.
6th aspect, the present invention provide a kind of dynamic interface processing unit, including:
Second receiving module, for receiving dynamic interface file and caching, the dynamic interface file receives for server After the access request of user, according to the file of access request generation, the access request is with including user profile and URL Location;
Sending module, for sending the dynamic interface file to corresponding client.
Alternatively, in addition to first detection module, it is used for:
Authentication response bag is received, the authentication response bag is that the information of logining of server reception user is authenticated generation Response bag;
The certification of authentication response bag is determined by rear, the user's mark of increase authentication response bag.
Alternatively, in addition to the second detection module, it is used for:
The access request of user is received, the access request includes user's mark, user profile and URL addresses;
The user's mark certification is determined by rear, dynamic circle according to corresponding to obtaining the user profile and URL addresses Face file is sent to corresponding user terminal.
As shown from the above technical solution, a kind of dynamic interface processing method and processing device provided by the invention, used by receiving The access request at family, and the dynamic interface file according to corresponding to access request generation, and the dynamic interface file is sent out Give caching gateway so that dynamic interface file described in the caching gateway caches, and the forwarding dynamic interface file to Corresponding client, when the user for reaching different accesses same dynamic interface URL, it can be seen that respective dynamic interface.
Brief description of the drawings
Fig. 1 is the schematic flow sheet for the dynamic interface processing method that one embodiment of the invention provides;
Fig. 2 is the schematic flow sheet for the dynamic interface processing method that one embodiment of the invention provides;
Fig. 3 is the schematic flow sheet for the dynamic interface processing method that one embodiment of the invention provides;
Fig. 4 is the schematic flow sheet for the dynamic interface processing method that one embodiment of the invention provides;
Fig. 5 is the schematic flow sheet for the dynamic interface processing method that one embodiment of the invention provides;
Fig. 6 is the structural representation for the dynamic interface processing unit that one embodiment of the invention provides;
Fig. 7 is the structural representation for the dynamic interface processing unit that one embodiment of the invention provides
Fig. 8 is the structural representation for the dynamic interface processing unit that one embodiment of the invention provides;
Fig. 9 is the structural representation for the dynamic interface processing unit that one embodiment of the invention provides;
Figure 10 is the structural representation for the dynamic interface processing unit that one embodiment of the invention provides;
Figure 11 is the structural representation for the electronic equipment that one embodiment of the invention provides;
Figure 12 is the structural representation for the electronic equipment that one embodiment of the invention provides.
Embodiment
With reference to the accompanying drawings and examples, the embodiment of the present invention is described in further detail.Implement below Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
Fig. 1 shows that one embodiment of the invention provides a kind of dynamic interface processing method, including:
S11, the access request for receiving user, the access request include user profile and URL addresses.
In this step, it is necessary to which explanation, in embodiments of the present invention, dynamic interface are the reality with the change of data Shi Bianhua interface, such as list.
User by user terminal initiate first access dynamic interface access request, the access request include user profile and URL addresses.The user profile can be the authority information that user logs in.The URL addresses are the linking address of dynamic interface.
In embodiments of the present invention, the information exchange between user terminal and server can be connected by caching gateway.Therefore user Access request can be buffered gateway first and received, and be transmitted to server, server receives the access request again.
S12, the dynamic interface file according to corresponding to the user profile and the generation of URL addresses, and by the dynamic interface File is sent to caching gateway, so that dynamic interface file described in the caching gateway caches, and the forwarding dynamic interface File gives corresponding client.
, in embodiments of the present invention, can root after server receives access request in this step, it is necessary to illustrate According to dynamic interface file corresponding to the user profile and the generation of URL addresses.I.e. server is according to URL address searchings to a certain boundary Face file data, the interface file further according to user profile generation corresponding to the user profile, and the interface file is sent to Cache gateway.Caching gateway can cache to the dynamic interface file, during so that the user accessing again, directly by caching net Pass directly transmits.While caching gateway caches dynamic interface file, the dynamic interface file is sent to corresponding client, Checked for user.
A kind of dynamic interface processing method provided in an embodiment of the present invention, by receiving the access request of user, and according to Dynamic interface file corresponding to the access request generation, and the dynamic interface file is sent to caching gateway, so that institute Dynamic interface file described in caching gateway caches is stated, and the forwarding dynamic interface file reaches not to corresponding client When same user accesses same dynamic interface URL, it can be seen that respective dynamic interface.
Fig. 2 shows a kind of dynamic interface processing method that one embodiment of the invention provides, including:
S21, the information of logining of reception user are authenticated, and authentication response bag are sent to the caching gateway, so that described Caching gateway determines the certification of authentication response bag by rear, the user's mark of increase authentication response bag.
In this step, it is necessary to which explanation, in embodiments of the present invention, user login information by user terminal input, With checking or registered user's identity.
In embodiments of the present invention, the information exchange between user terminal and server can be connected by caching gateway.Therefore cache Gateway forwards user's logins information to server, and after server is authenticated to logining information, certification is sent to caching gateway Response bag.After caching gateway receives authentication response bag, increase user's mark in the packet header of response bag after in certification (cookie marks), and response bag is sent to user terminal.
The effect of the user's mark, it can be moved when caching gateway caches to dynamic interface file when validated user accesses During state interface, the user's mark of dynamic buffering is carried in cookie, then caches gateway after detection is errorless by dynamic interface file Return to user terminal.Conversely, caching gateway can terminate the session request of disabled user.
S22, the access request for receiving user, the access request include user profile and URL addresses.
S23, the dynamic interface file according to corresponding to the user profile and the generation of URL addresses, and by the dynamic interface File is sent to caching gateway, so that dynamic interface file described in the caching gateway caches, and the forwarding dynamic interface File gives corresponding client.
This step S22 and step S23 is identical with the step S11 and S12 of above-described embodiment principle, will not be repeated here.
A kind of dynamic interface processing method provided in an embodiment of the present invention, by receiving the access request of user, and according to Dynamic interface file corresponding to the access request generation, and the dynamic interface file is sent to caching gateway, so that institute Dynamic interface file described in caching gateway caches is stated, and the forwarding dynamic interface file reaches not to corresponding client When same user accesses same dynamic interface URL, it can be seen that respective dynamic interface.
Fig. 3 shows a kind of dynamic interface processing method that one embodiment of the invention provides, including:
S31, the access request for receiving user, the access request include user profile and URL addresses.
S32, the dynamic interface file according to corresponding to the user profile and the generation of URL addresses, and by the dynamic interface File is sent to caching gateway, so that dynamic interface file described in the caching gateway caches, and the forwarding dynamic interface File gives corresponding client.
This step S31 and step S32 is identical with the step S11 and S12 of above-described embodiment principle, will not be repeated here.
S33, the modification request for receiving user, the modification request include changing content, user profile and URL addresses;Root Regenerated according to the modification request corresponding to the dynamic interface file under the URL addresses, and it is all dynamic by what is regenerated State interface file is sent to the caching gateway and cached.
In this step, it is necessary to explanation, in embodiments of the present invention, dynamic interface under same URL due to The difference at family is cached in different files respectively, if some user modifies to file, the part of modification is institute again Documentary shared part.Now, dynamic interface file is also required to be updated corresponding to other users, to ensure each user The dynamic interface seen all is newest.
Server receives the modification request of user, and the modification request is included with changing content, user profile and URL Location.If modification content is the shared part of All Files, server regenerates corresponding to the URL according to modification request Dynamic interface file under location.If changing the shared part of the not all file of content, corresponding generation needs the dynamic changed Interface file.
The dynamic interface file regenerated can be sent to caching gateway by server, and caching gateway is connected to dynamic interface text After part, original dynamic interface file can be deleted, cache the dynamic interface file being newly connected to.
A kind of dynamic interface processing method provided in an embodiment of the present invention, by receiving the access request of user, and according to Dynamic interface file corresponding to the access request generation, and the dynamic interface file is sent to caching gateway, so that institute Dynamic interface file described in caching gateway caches, and the forwarding dynamic interface file are stated to corresponding client.In addition, also Amended dynamic interface file is updated at any time, when reaching the different user same dynamic interface URL of access with this, It can be seen that respective dynamic interface.
Fig. 4 shows a kind of dynamic interface processing method that one embodiment of the invention provides, including:
S41, receive dynamic interface file and cache, the dynamic interface file is the access request that server receives user Afterwards, the file generated according to the access request, the access request include user profile and URL addresses.
S42, the dynamic interface file is sent to corresponding client.
In this step, it is necessary to which explanation, in embodiments of the present invention, server generate the process of dynamic interface file Elaborate, will not be repeated here in above-described embodiment 1.And in the present embodiment, caching gateway receives dynamic interface text Part is cached, and is sent to corresponding client and is shown.
A kind of dynamic interface processing method provided in an embodiment of the present invention, by receiving dynamic interface file and caching, institute After stating the access request that dynamic interface file receives user for server, according to the file of access request generation, Yi Jifa Send the dynamic interface file when user for reaching different accesses same dynamic interface URL, can be seen to corresponding client To respective dynamic interface.
Fig. 5 shows a kind of dynamic interface processing method that one embodiment of the invention provides, including:
S51, authentication response bag is received, the authentication response bag is that the information of logining of server reception user is authenticated giving birth to Into response bag, it is determined that the certification of authentication response bag by rear, increases the user's mark of authentication response bag.
In this step, it is necessary to which explanation, in embodiments of the present invention, the server authentication logins the process of information There is detailed statement in the above-described embodiments, will not be repeated here.And cache gateway and receiving the processing procedure of authentication response bag, Also elaborate, will not be repeated here in the above-described embodiments.
S52, receive dynamic interface file and cache, the dynamic interface file is the access request that server receives user Afterwards, the file generated according to the access request, the access request include user profile and URL addresses.
S53, the dynamic interface file is sent to corresponding client.
This step S52 and step S53, it is identical with above-mentioned steps S41 and step S42 process, it will not be repeated here.
S54, the access request for receiving user, the access request include user's mark, user profile and URL addresses, really By rear, the dynamic interface file according to corresponding to obtaining the user profile and URL addresses is sent for the fixed user's mark certification To corresponding user terminal.
In this step, it is necessary to which explanation, the effect of the user's mark can be in caching gateway caches to dynamic interface During file, when validated user accesses dynamic interface, the user's mark of dynamic buffering is carried in cookie, then caches gateway and is examining Survey it is errorless after dynamic interface file returned into user terminal.Conversely, caching gateway can terminate the session request of disabled user.
A kind of dynamic interface processing method provided in an embodiment of the present invention, by receiving dynamic interface file and caching, institute After stating the access request that dynamic interface file receives user for server, according to the file of access request generation, Yi Jifa Send the dynamic interface file when user for reaching different accesses same dynamic interface URL, can be seen to corresponding client To respective dynamic interface.
Fig. 6 shows a kind of dynamic interface processing unit that one embodiment of the invention provides, including the first receiving module 61 With generation module 62, wherein:
First receiving module 61, for receiving the access request of user, the access request is with including user profile and URL Location;
Generation module 62, for the dynamic interface file according to corresponding to the user profile and the generation of URL addresses, and by institute State dynamic interface file and be sent to caching gateway, so that dynamic interface file described in the caching gateway caches, and forwarding institute Dynamic interface file is stated to corresponding client.
In processing procedure, the first receiving module 61 receives the access request of user, and the access request is believed including user Breath and URL addresses, and access request is sent to generation module 62.Generation module 62 is according to the user profile and URL addresses Dynamic interface file corresponding to generation, and the dynamic interface file is sent to caching gateway, so that the caching gateway delays The dynamic interface file, and the forwarding dynamic interface file are deposited to corresponding client.
Because described device of the embodiment of the present invention is identical with the principle of above-described embodiment methods described, for more detailed Explain that content will not be repeated here.
It should be noted that can be by hardware processor (hardware processor) come real in the embodiment of the present invention Existing related function module.
A kind of dynamic interface processing unit provided in an embodiment of the present invention, by receiving the access request of user, and according to Dynamic interface file corresponding to the access request generation, and the dynamic interface file is sent to caching gateway, so that institute Dynamic interface file described in caching gateway caches is stated, and the forwarding dynamic interface file reaches not to corresponding client When same user accesses same dynamic interface URL, it can be seen that respective dynamic interface.
Fig. 7 shows that the dynamic interface processing unit that one embodiment of the invention provides, including authentication module 71, first receive Module 72, generation module 73 and update module 74, wherein:
Authentication module 71, for receive user access request before, the information of logining for receiving user is authenticated, to The caching gateway sends authentication response bag, so that the caching gateway determines the certification of authentication response bag by rear, increase certification The user's mark of response bag.
First receiving module 72, for receiving the access request of user, the access request is with including user profile and URL Location;
Generation module 73, for the dynamic interface file according to corresponding to the user profile and the generation of URL addresses, and by institute State dynamic interface file and be sent to caching gateway, so that dynamic interface file described in the caching gateway caches, and forwarding institute Dynamic interface file is stated to corresponding client.
Update module 74, is used for:The modification request of user is received, the modification request includes changing content, user profile With URL addresses;Regenerated according to the modification request corresponding to the dynamic interface file under the URL addresses, and will again All dynamic interface files of generation are sent to the caching gateway and cached.
In processing procedure, authentication module 71 before the access request of user is received, enter by the information of logining for receiving user Row certification, authentication response bag is sent to the caching gateway, so that the caching gateway determines authentication response bag certification by rear, Increase the user's mark of authentication response bag.In verification process, in order to ensure the security of dynamic interface processing, prevent Malice steals data.
First receiving module 72 receives the access request of user, and the access request includes user profile and URL addresses, and Access request is sent to generation module 73.The dynamic according to corresponding to the user profile and the generation of URL addresses of generation module 74 Interface file, and the dynamic interface file is sent to caching gateway, so that dynamic interface described in the caching gateway caches File, and the forwarding dynamic interface file is to corresponding client.
Update module 74 receives the modification request of user, and the modification request is included with changing content, user profile and URL Location;Regenerated according to the modification request corresponding to the dynamic interface file under the URL addresses, and the institute that will be regenerated There is dynamic interface file to be sent to the caching gateway to be cached.
Because described device of the embodiment of the present invention is identical with the principle of above-described embodiment methods described, for more detailed Explain that content will not be repeated here.
It should be noted that can be by hardware processor (hardware processor) come real in the embodiment of the present invention Existing related function module.
A kind of dynamic interface processing unit provided in an embodiment of the present invention, by receiving the access request of user, and according to Dynamic interface file corresponding to the access request generation, and the dynamic interface file is sent to caching gateway, so that institute Dynamic interface file described in caching gateway caches is stated, and the forwarding dynamic interface file reaches not to corresponding client When same user accesses same dynamic interface URL, it can be seen that respective dynamic interface.
Fig. 8 shows the dynamic interface processing unit that one embodiment of the invention provides, including the second receiving module 81 and hair Module 82 is sent, wherein:
Second receiving module 81, for receiving dynamic interface file and caching, the dynamic interface file connects for server After the access request for receiving user, according to the file of access request generation, the access request is with including user profile and URL Location;
Sending module 82, for sending the dynamic interface file to corresponding client.
In processing procedure, the second receiving module 81 receives dynamic interface file and cached, and the dynamic interface file is After server receives the access request of user, according to the file of access request generation, the access request includes user and believed Breath and URL addresses;Sending module 82 sends the dynamic interface file to corresponding client.
Because described device of the embodiment of the present invention is identical with the principle of above-described embodiment methods described, for more detailed Explain that content will not be repeated here.
It should be noted that can be by hardware processor (hardware processor) come real in the embodiment of the present invention Existing related function module.
A kind of dynamic interface processing unit provided in an embodiment of the present invention, by receiving the access request of user, and according to Dynamic interface file corresponding to the access request generation, and the dynamic interface file is sent to caching gateway, so that institute Dynamic interface file described in caching gateway caches is stated, and the forwarding dynamic interface file reaches not to corresponding client When same user accesses same dynamic interface URL, it can be seen that respective dynamic interface.
Fig. 9 shows the dynamic interface processing unit that one embodiment of the invention provides, including first detection module 91, second Receiving module 92 and sending module 93, wherein:
First detection module 91, is used for:Authentication response bag is received, the authentication response bag is that server receives stepping on for user Enter the response bag that information is authenticated generation;The certification of authentication response bag is determined by rear, the user's mark of increase authentication response bag.
Second receiving module 92, for receiving dynamic interface file and caching, the dynamic interface file connects for server After the access request for receiving user, according to the file of access request generation, the access request is with including user profile and URL Location;
Sending module 93, for sending the dynamic interface file to corresponding client.
In processing procedure, first detection module 91 receives authentication response bag, and the authentication response bag receives for server The response bag logined information and be authenticated generation of user;The certification of authentication response bag is determined by rear, increase authentication response bag User's mark.
Second receiving module 92 receives dynamic interface file and cached, and the dynamic interface file is that server receives user Access request after, the file that is generated according to the access request, the access request includes user profile and URL addresses;Hair Module 93 is sent to send the dynamic interface file to corresponding client.
Because described device of the embodiment of the present invention is identical with the principle of above-described embodiment methods described, for more detailed Explain that content will not be repeated here.
It should be noted that can be by hardware processor (hardware processor) come real in the embodiment of the present invention Existing related function module.
A kind of dynamic interface processing unit provided in an embodiment of the present invention, by receiving the access request of user, and according to Dynamic interface file corresponding to the access request generation, and the dynamic interface file is sent to caching gateway, so that institute Dynamic interface file described in caching gateway caches is stated, and the forwarding dynamic interface file reaches not to corresponding client When same user accesses same dynamic interface URL, it can be seen that respective dynamic interface.
Figure 10 shows the dynamic interface processing unit that one embodiment of the invention provides, including first detection module 101, the Two receiving modules 102, the detection module 104 of sending module 103 and second, wherein:
First detection module 101, is used for:Authentication response bag is received, the authentication response bag is that server receives user's Login the response bag that information is authenticated generation;The certification of authentication response bag is determined by rear, user's mark of increase authentication response bag Note.
Second receiving module 102, for receiving dynamic interface file and caching, the dynamic interface file connects for server After the access request for receiving user, according to the file of access request generation, the access request is with including user profile and URL Location.
Sending module 103, for sending the dynamic interface file to corresponding client.
Second detection module 104, is used for:The access request of user is received, the access request includes user's mark, user Information and URL addresses;The user's mark certification is determined by rear, according to corresponding to obtaining the user profile and URL addresses Dynamic interface file is sent to corresponding user terminal.
In processing procedure, first detection module 101 receives authentication response bag, and the authentication response bag receives for server The response bag logined information and be authenticated generation of user;The certification of authentication response bag is determined by rear, increase authentication response bag User's mark.
Second receiving module 102 receives dynamic interface file and cached, and the dynamic interface file is that server receives use After the access request at family, according to the file of access request generation, the access request includes user profile and URL addresses; Sending module 103 sends the dynamic interface file to corresponding client.
Second detection module 104 receive user access request, the access request include user's mark, user profile and URL addresses;The user's mark certification is determined by rear, dynamic circle according to corresponding to obtaining the user profile and URL addresses Face file is sent to corresponding user terminal.
Because described device of the embodiment of the present invention is identical with the principle of above-described embodiment methods described, for more detailed Explain that content will not be repeated here.
It should be noted that can be by hardware processor (hardware processor) come real in the embodiment of the present invention Existing related function module.
A kind of dynamic interface processing unit provided in an embodiment of the present invention, by receiving the access request of user, and according to Dynamic interface file corresponding to the access request generation, and the dynamic interface file is sent to caching gateway, so that institute Dynamic interface file described in caching gateway caches is stated, and the forwarding dynamic interface file reaches not to corresponding client When same user accesses same dynamic interface URL, it can be seen that respective dynamic interface.
Figure 11 shows a kind of electronic equipment that one embodiment of the invention provides, including:First processor 1101, first are deposited Reservoir 1102 and bus 1103, wherein,
The first processor and the first memory complete mutual communication by the bus;
The first memory is stored with the programmed instruction that can be performed by the first processor, to perform above-mentioned each method The method that embodiment is provided, such as including:The access request of user is received, the access request includes user profile and URL Address;According to dynamic interface file corresponding to the user profile and the generation of URL addresses, and the dynamic interface file is sent Caching gateway is given, so that dynamic interface file described in the caching gateway caches, and the forwarding dynamic interface file is to right The client answered.
A kind of non-transient computer readable storage medium storing program for executing that one embodiment of the invention provides, the non-transient computer are readable Storage medium stores computer instruction, and the computer instruction makes the computer perform what above-mentioned each method embodiment was provided Method, such as including:The access request of user is received, the access request includes user profile and URL addresses;According to the use Dynamic interface file corresponding to family information and the generation of URL addresses, and the dynamic interface file is sent to caching gateway, so that Dynamic interface file described in the caching gateway caches, and the forwarding dynamic interface file is to corresponding client.
Figure 12 shows the electronic equipment that one embodiment of the invention provides, including:Second processor 1201, second memory 1202 and bus 1203, wherein,
The second processor and the second memory complete mutual communication by the bus;
The second memory is stored with the programmed instruction that can be performed by the second processor, to perform above-mentioned each method The method that embodiment is provided, such as including:Receive dynamic interface file and cache, the dynamic interface file connects for server After the access request for receiving user, according to the file of access request generation, the access request is with including user profile and URL Location;The dynamic interface file is sent to corresponding client.
A kind of non-transient computer readable storage medium storing program for executing that one embodiment of the invention provides, the non-transient computer are readable Storage medium stores computer instruction, and the computer instruction makes the computer perform what above-mentioned each method embodiment was provided Method, such as including:Receive dynamic interface file and cache, the dynamic interface file is that the access of server reception user please After asking, according to the file of access request generation, the access request includes user profile and URL addresses;Send described dynamic State interface file gives corresponding client.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
One of ordinary skill in the art will appreciate that:Various embodiments above is merely illustrative of the technical solution of the present invention, and It is non-that it is limited;Although the present invention is described in detail with reference to foregoing embodiments, one of ordinary skill in the art It should be understood that:It can still modify to the technical scheme described in foregoing embodiments, either to which part or All technical characteristic carries out equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from this hair Bright claim limited range.

Claims (16)

  1. A kind of 1. dynamic interface processing method, it is characterised in that including:
    The access request of user is received, the access request includes user profile and URL addresses;
    According to dynamic interface file corresponding to the user profile and the generation of URL addresses, and the dynamic interface file is sent Caching gateway is given, so that dynamic interface file described in the caching gateway caches, and the forwarding dynamic interface file is to right The client answered.
  2. 2. according to the method for claim 1, it is characterised in that before the access request of user is received, also receive user Information of logining be authenticated, to it is described caching gateway send authentication response bag so that it is described caching gateway determine authentication response Bag certification is by rear, the user's mark of increase authentication response bag.
  3. 3. according to the method for claim 1, it is characterised in that also include:
    The modification request of user is received, the modification request includes changing content, user profile and URL addresses;
    Regenerated corresponding to the dynamic interface file under the URL addresses, and will regenerated according to the modification request All dynamic interface files are sent to the caching gateway and cached.
  4. A kind of 4. dynamic interface processing method, it is characterised in that including:
    Receive dynamic interface file and cache, after the dynamic interface file receives the access request of user for server, according to The file of the access request generation, the access request include user profile and URL addresses;
    The dynamic interface file is sent to corresponding client.
  5. 5. according to the method for claim 4, it is characterised in that also include:
    Authentication response bag is received, the authentication response bag is the response logined information and be authenticated generation that server receives user Bag;
    The certification of authentication response bag is determined by rear, the user's mark of increase authentication response bag.
  6. 6. according to the method for claim 5, it is characterised in that also include:
    The access request of user is received, the access request includes user's mark, user profile and URL addresses;
    The user's mark certification is determined by rear, the dynamic interface text according to corresponding to obtaining the user profile and URL addresses Part is sent to corresponding user terminal.
  7. A kind of 7. dynamic interface processing unit, it is characterised in that including:
    First receiving module, for receiving the access request of user, the access request includes user profile and URL addresses;
    Generation module, for the dynamic interface file according to corresponding to the user profile and the generation of URL addresses, and by the dynamic Interface file is sent to caching gateway, so that dynamic interface file described in the caching gateway caches, and the forwarding dynamic Interface file gives corresponding client.
  8. 8. device according to claim 7, it is characterised in that also including authentication module, for receiving the access of user Before request, the information of logining for receiving user is authenticated, and authentication response bag is sent to the caching gateway, so that the caching Gateway determines the certification of authentication response bag by rear, the user's mark of increase authentication response bag.
  9. 9. device according to claim 7, it is characterised in that also including update module, be used for:
    The modification request of user is received, the modification request includes changing content, user profile and URL addresses;
    Regenerated corresponding to the dynamic interface file under the URL addresses, and will regenerated according to the modification request All dynamic interface files are sent to the caching gateway and cached.
  10. 10. a kind of electronic equipment, it is characterised in that including:First processor, first memory, bus and it is stored in first and deposits On reservoir and the computer program that can be run on first processor;
    Wherein, the first processor, first memory complete mutual communication by the bus;
    The first processor realizes the method as any one of claim 1-3 when performing the computer program.
  11. 11. a kind of non-transient computer readable storage medium storing program for executing, it is characterised in that on the non-transient computer readable storage medium storing program for executing Computer program is stored with, the side as any one of claim 1-3 is realized when the computer program is executed by processor Method.
  12. A kind of 12. dynamic interface processing unit, it is characterised in that including:
    Second receiving module, for receiving dynamic interface file and caching, the dynamic interface file is that server receives user Access request after, the file that is generated according to the access request, the access request includes user profile and URL addresses;
    Sending module, for sending the dynamic interface file to corresponding client.
  13. 13. device according to claim 12, it is characterised in that also including first detection module, be used for:
    Authentication response bag is received, the authentication response bag is the response logined information and be authenticated generation that server receives user Bag;
    The certification of authentication response bag is determined by rear, the user's mark of increase authentication response bag.
  14. 14. device according to claim 13, it is characterised in that also including the second detection module, be used for:
    The access request of user is received, the access request includes user's mark, user profile and URL addresses;
    The user's mark certification is determined by rear, the dynamic interface text according to corresponding to obtaining the user profile and URL addresses Part is sent to corresponding user terminal.
  15. 15. a kind of electronic equipment, it is characterised in that including:Second processor, second memory, bus and it is stored in second and deposits On reservoir and the computer program that can be run in second processor;
    Wherein, the second processor, second memory complete mutual communication by the bus;
    The second processor realizes the method as any one of claim 4-6 when performing the computer program.
  16. 16. a kind of non-transient computer readable storage medium storing program for executing, it is characterised in that on the non-transient computer readable storage medium storing program for executing Computer program is stored with, the side as any one of claim 4-6 is realized when the computer program is executed by processor Method.
CN201710625198.6A 2017-07-27 2017-07-27 Dynamic interface processing method and processing device Pending CN107491301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710625198.6A CN107491301A (en) 2017-07-27 2017-07-27 Dynamic interface processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710625198.6A CN107491301A (en) 2017-07-27 2017-07-27 Dynamic interface processing method and processing device

Publications (1)

Publication Number Publication Date
CN107491301A true CN107491301A (en) 2017-12-19

Family

ID=60643850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710625198.6A Pending CN107491301A (en) 2017-07-27 2017-07-27 Dynamic interface processing method and processing device

Country Status (1)

Country Link
CN (1) CN107491301A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959393A (en) * 2018-05-31 2018-12-07 北京五八信息技术有限公司 Dynamic picture processing method, device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060129635A1 (en) * 2004-11-30 2006-06-15 Alcatel Method of displaying data of a client computer
CN101702173A (en) * 2009-11-11 2010-05-05 中兴通讯股份有限公司 Method and device for increasing access speed of mobile portal dynamic page
CN103020241A (en) * 2012-12-18 2013-04-03 网宿科技股份有限公司 Dynamic page cache method and system based on session
CN103064932A (en) * 2012-12-24 2013-04-24 乐视网信息技术(北京)股份有限公司 System and method for processing static page
CN103870254A (en) * 2012-12-12 2014-06-18 腾讯科技(深圳)有限公司 Dynamic form achieving method, client and server
CN105245554A (en) * 2015-11-24 2016-01-13 无锡江南计算技术研究所 Dynamic property access control method in cloud environment
CN106549964A (en) * 2016-10-31 2017-03-29 天脉聚源(北京)科技有限公司 The method to set up and device of user right
CN106844486A (en) * 2016-12-23 2017-06-13 北京奇虎科技有限公司 Crawl the method and device of dynamic web page

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060129635A1 (en) * 2004-11-30 2006-06-15 Alcatel Method of displaying data of a client computer
CN101702173A (en) * 2009-11-11 2010-05-05 中兴通讯股份有限公司 Method and device for increasing access speed of mobile portal dynamic page
CN103870254A (en) * 2012-12-12 2014-06-18 腾讯科技(深圳)有限公司 Dynamic form achieving method, client and server
CN103020241A (en) * 2012-12-18 2013-04-03 网宿科技股份有限公司 Dynamic page cache method and system based on session
CN103064932A (en) * 2012-12-24 2013-04-24 乐视网信息技术(北京)股份有限公司 System and method for processing static page
CN105245554A (en) * 2015-11-24 2016-01-13 无锡江南计算技术研究所 Dynamic property access control method in cloud environment
CN106549964A (en) * 2016-10-31 2017-03-29 天脉聚源(北京)科技有限公司 The method to set up and device of user right
CN106844486A (en) * 2016-12-23 2017-06-13 北京奇虎科技有限公司 Crawl the method and device of dynamic web page

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959393A (en) * 2018-05-31 2018-12-07 北京五八信息技术有限公司 Dynamic picture processing method, device and storage medium

Similar Documents

Publication Publication Date Title
CN105007280B (en) A kind of application login method and device
CN104333567B (en) It is the web cachings serviced using safety
CN105450587B (en) Method and apparatus for protecting Network Communicate Security
US20170257383A1 (en) Deterministic reproduction of client/server computer state or output sent to one or more client computers
US8423650B2 (en) Transferring session data between network applications
US10757107B2 (en) Application-assisted login for a web browser
CN107483609B (en) A kind of Network Access Method, relevant device and system
US10911485B2 (en) Providing cross site request forgery protection at an edge server
CN105072123B (en) A kind of single sign-on under cluster environment exits method and system
CN104333548B (en) The method and system of local service are accessed in https webpages
CN105338016B (en) Data high-speed caching method and device and resource request response method and device
KR101556619B1 (en) System and method for sharing login status between an application platform and an application
CN105141605B (en) Session method, Website server and browser
US20140282891A1 (en) Method and system for unique computer user identification for the defense against distributed denial of service attacks
CN105491116B (en) A kind of cross-window submits the method and system of data
CN103997479B (en) A kind of asymmetric services IP Proxy Methods and equipment
CN109542862B (en) Method, device and system for controlling mounting of file system
CN105635064B (en) CSRF attack detection method and device
CN103634111B (en) Single-point logging method and system and single sign-on client-side
CN108259457A (en) A kind of WEB authentication methods and device
CN108769189A (en) The access method and equipment of cross-domain resource
CN104811507B (en) A kind of IP address acquisition methods and device
CN107786502A (en) A kind of authentication proxy's method, apparatus and equipment
CN107491301A (en) Dynamic interface processing method and processing device
CN106921970A (en) A kind of access authentication method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171219

RJ01 Rejection of invention patent application after publication