CN111913738B - Access request processing method, device, computing equipment and medium - Google Patents

Access request processing method, device, computing equipment and medium Download PDF

Info

Publication number
CN111913738B
CN111913738B CN202010830540.8A CN202010830540A CN111913738B CN 111913738 B CN111913738 B CN 111913738B CN 202010830540 A CN202010830540 A CN 202010830540A CN 111913738 B CN111913738 B CN 111913738B
Authority
CN
China
Prior art keywords
configuration information
gray scale
target
server
access request
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.)
Active
Application number
CN202010830540.8A
Other languages
Chinese (zh)
Other versions
CN111913738A (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.)
Industrial and Commercial Bank of China Ltd ICBC
ICBC Technology Co Ltd
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
ICBC 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 Industrial and Commercial Bank of China Ltd ICBC, ICBC Technology Co Ltd filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010830540.8A priority Critical patent/CN111913738B/en
Publication of CN111913738A publication Critical patent/CN111913738A/en
Application granted granted Critical
Publication of CN111913738B publication Critical patent/CN111913738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides a method for processing an access request, which may be used in the financial field or other fields. The method comprises the steps of receiving an access request for a target webpage address from a client; determining information to be matched according to the access request; acquiring at least one gray configuration information corresponding to a target webpage address from a first server; determining target gray scale configuration information matched with the information to be matched from at least one gray scale configuration information according to the information to be matched in the access request; acquiring a target resource file from a second server according to the target gray configuration information; and generating a target webpage according to the target resource file, and sending the target webpage to the client. The disclosure also provides a processing device of the access request, a computing device and a computer storage medium.

Description

Access request processing method, device, computing equipment and medium
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a method and apparatus for processing an access request, a computing device, and a computer storage medium.
Background
In order to enable the website server to provide the gray level release service, the related technology needs to add an additional server to bear the gray level service on the basis of the original server, and the method has the advantages of lower efficiency and higher error rate when the gray level version is switched, and in addition, the gray level release process is not flexible enough, and the implementation cost is high.
Therefore, a new solution is needed in the art to solve the above technical problems.
Disclosure of Invention
One aspect of the present disclosure provides a method for processing an access request, including: receiving an access request for a target webpage address from a client; determining information to be matched according to the access request; acquiring at least one gray configuration information corresponding to the target webpage address from a first server; determining target gray scale configuration information matched with the information to be matched from the at least one gray scale configuration information according to the information to be matched in the access request; acquiring a target resource file from a second server according to the target gray configuration information; and generating a target webpage according to the target resource file, and sending the target webpage to the client.
Optionally, the determining, according to the access request, information to be matched includes: at least one of a user identifier, an IP address and a browser identifier is obtained by analyzing the access request; and determining at least one of the user identification, the IP address and the browser identification as the information to be matched.
Optionally, the grayscale configuration information includes a web page address; the obtaining, from the first server, at least one gray scale configuration information corresponding to the target web page address includes: and acquiring at least one gray scale configuration information containing the target webpage address from the first server.
Optionally, the gray scale configuration information further includes a gray scale range; the determining, according to the information to be matched in the access request, target gray scale configuration information matched with the information to be matched from the at least one gray scale configuration information includes: and determining gray scale configuration information with the gray scale range matched with the information to be matched from the at least one gray scale configuration information as the target gray scale configuration information.
Optionally, the gray configuration information further includes a resource file list identifier; the obtaining, from the second server, the target resource file according to the target gray scale configuration information includes: determining a target resource list according to the resource file list identification in the target gray configuration information; and obtaining the target resource file contained in the target resource list from the second server.
Optionally, the method further comprises: generating a resource file and a resource file list according to the original engineering file of the website; storing the resource file in a second server; acquiring gray configuration information; and transmitting the gradation configuration information to a first server.
Optionally, the acquiring the gray scale configuration information includes: displaying a visual page, wherein the visual page comprises a selection control corresponding to a webpage address, a gray scale range, the webpage address and a resource file list identifier; and receiving a selection instruction aiming at the selection control, and determining the gray configuration information according to the selection instruction, wherein the gray configuration information comprises a webpage address, a gray range, a webpage address and a resource file list identifier selected by the selection instruction.
Another aspect of the present disclosure provides an access request processing apparatus, including a receiving module, configured to receive an access request for a target web address from a client; the first determining module is used for determining information to be matched according to the access request; the first acquisition module is used for acquiring at least one gray configuration information corresponding to the target webpage address from a first server; the second determining module is used for determining target gray scale configuration information matched with the information to be matched from the at least one gray scale configuration information according to the information to be matched in the access request; the second acquisition module is used for acquiring a target resource file from a second server according to the target gray configuration information; and the first generation module is used for generating a target webpage according to the target resource file and sending the target webpage to the client.
Optionally, the apparatus further comprises: the second generation module is used for generating a resource file and a resource file list according to the original engineering file of the website; the storage module is used for storing the resource file in a second server; the third acquisition module is used for acquiring gray configuration information; and the sending module is used for sending the gray configuration information to the first server.
Another aspect of the present disclosure provides a computing device comprising: one or more processors; and a storage means for storing one or more programs, which when executed by the one or more processors cause the one or more processors to implement the methods as described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions that, when executed, are configured to implement a method as described above.
Another aspect of the present disclosure provides a computer program comprising computer executable instructions which when executed are for implementing a method as described above.
According to the access request processing method, different gray scale versions can be provided for different users according to the gray scale configuration information issued by the first server, and the gray scale server is not required to be added, so that the resource multiplexing rate of the server can be improved, the hardware cost is reduced, the flexibility and the expandability of the gray scale issuing process can be improved, and the operation and maintenance cost is reduced.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
Fig. 1 schematically illustrates an application scenario of a processing method of an access request and a processing apparatus of an access request according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a method of processing an access request according to an embodiment of the disclosure;
FIG. 3 schematically illustrates a flow chart of a method of processing an access request according to an embodiment of the disclosure;
FIG. 4 schematically illustrates a flowchart of publishing gray scale configuration information according to another embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow chart of a method of processing a gray scale service runtime access request according to another embodiment of the present disclosure;
FIG. 6 schematically illustrates a block diagram of an access request processing apparatus according to an embodiment of the disclosure;
FIG. 7 schematically illustrates a block diagram of an apparatus for processing an access request according to another embodiment of the present disclosure; and
Fig. 8 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a convention should be interpreted in accordance with the meaning of one of skill in the art having generally understood the convention (e.g., "a system having at least one of A, B and C" would include, but not be limited to, systems having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a formulation similar to at least one of "A, B or C, etc." is used, in general such a formulation should be interpreted in accordance with the ordinary understanding of one skilled in the art (e.g. "a system with at least one of A, B or C" would include but not be limited to systems with a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some of the block diagrams and/or flowchart illustrations are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, when executed by the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). Additionally, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon, the computer program product being for use by or in connection with an instruction execution system.
The embodiment of the disclosure provides a processing method of an access request and a processing device of the access request, wherein the processing device can apply the method. The method comprises the steps of receiving an access request for a target webpage address from a client; determining information to be matched according to the access request; acquiring at least one gray configuration information corresponding to the target webpage address from the first server; determining target gray scale configuration information matched with the information to be matched from the at least one gray scale configuration information according to the information to be matched in the access request; acquiring a target resource file from the second server according to the target gray configuration information; and generating a target webpage according to the target resource file, and sending the target webpage to the client.
It should be noted that the method and apparatus for processing an access request of the present disclosure may be used in the financial field, and may also be used in any field other than the financial field, and the application field of the method and apparatus for processing an access request of the present disclosure is not limited.
Fig. 1 schematically illustrates an application scenario of a processing method of an access request and a processing apparatus of an access request according to an embodiment of the present disclosure. It should be noted that fig. 1 is merely an example of a scenario in which embodiments of the present disclosure may be applied to assist those skilled in the art in understanding the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios.
As shown in fig. 1, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a front-end server 105, a file storage server 106, and a distributed storage server 107. The network 104 is the medium used to provide communication links between the terminal devices 101, 102, 103 and the front-end server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the front-end server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only) may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The front-end server 105 may provide support for websites browsed by users using the terminal devices 101, 102, 103. For example, the front-end server 105 may analyze and process data such as a received user request, and feed back processing results (e.g., web pages, information, data, etc., acquired or generated according to the user request) to the terminal device.
The file storage server 106 may be used to provide file storage services (OSS), for example, to store various static resource files required by a website, such as HMTL files, javaScript files, CSS files, multimedia files (e.g., pictures, video, audio, etc.), and so forth.
The distributed storage server 107 may be used to provide distributed data coordination services, for example, to accept subscriptions from the front-end servers and publish resource inventory information to the front-end servers.
It should be noted that, the processing method of the access request provided by the embodiment of the present disclosure may be generally performed by the front-end server 105. Accordingly, the processing device for the access request provided by the embodiments of the present disclosure may be generally disposed in the front-end server 105. The processing method of the access request provided by the embodiment of the present disclosure may also be performed by a server or a server cluster that is different from the front-end server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the front-end server 105. Accordingly, the processing apparatus for an access request provided by the embodiments of the present disclosure may also be provided in a server or a server cluster that is different from the front-end server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the front-end server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 schematically illustrates a flow chart of a method of processing an access request according to an embodiment of the disclosure.
As shown in fig. 2, the method includes operations S210 to S260.
In operation S210, an access request for a target web page address from a client is received.
In operation S220, determining information to be matched according to the access request;
According to an embodiment of the present disclosure, operation S220 may include, for example, obtaining at least one of a user identification, an IP address, and a browser identification by parsing the access request, and determining at least one of the user identification, the IP address, and the browser identification as the information to be matched.
According to other embodiments of the present disclosure, other information may be employed as matching information in addition to user identification, IP address, and browser identification. For example, user information corresponding to the user identification, including, for example, gender, name, address, etc., may be acquired from the user database according to the user identification, with the user information being one of the matching information. For another example, the geographic location where the client is located may also be determined according to the IP address, and the geographic location is used as one of the matching information.
At least one gray scale configuration information corresponding to the target web page address is acquired from the first server in operation S230.
According to an embodiment of the present disclosure, the first server may store a plurality of gradation configuration information. Each gray configuration information is recorded with a web page address, a gray range and a resource file list identification.
Operation S230 may include, for example, acquiring at least one gray scale configuration information including a target web page address from a first server, according to an embodiment of the present disclosure.
According to an embodiment of the present disclosure, the first server may be a distributed storage server, such as a Zookeeper server.
In operation S240, target gray scale configuration information matched with the information to be matched is determined from at least one gray scale configuration information according to the information to be matched in the access request.
According to an embodiment of the present disclosure, operation S240 may include, for example, determining gray scale configuration information having a gray scale range matched with the information to be matched from the at least one gray scale configuration information as the target gray scale configuration information.
In operation S250, a target resource file is acquired from the second server according to the target gradation configuration information.
According to an embodiment of the present disclosure, operation S250 may include, for example, determining a target resource list according to a resource file list identification in the target gray scale configuration information, and acquiring a target resource file included in the target resource list from the second server.
In operation S260, a target web page is generated according to the target resource file, and the target web page is transmitted to the client.
According to embodiments of the present disclosure, the resource file may be, for example, a front-end static resource file, and may include, for example, a HMTL file, a JavaScript file, a CSS file, a multimedia file, and the like. These front-end static resource files may be dynamically executed to generate target web pages, which are then sent to the client for display.
According to the access request processing method, the first server distributes gray configuration information to the front-end server, the front-end server can provide different gray versions for different users only according to the gray configuration information, and the front-end server is not required to be increased, so that the resource multiplexing rate of the server can be improved, the hardware cost is reduced, the flexibility and the expandability of the gray distribution process can be improved, and the operation and maintenance cost is reduced.
Fig. 3 schematically illustrates a flow chart of a method of processing an access request according to an embodiment of the disclosure.
As shown in fig. 3, the method includes operations S310 to S340 in addition to operations S210 to S260. Here, operations S310 to S340 may be performed at any time in operations S210 to S260. Illustratively, in the present embodiment, operations S310-S340 may be performed, for example, prior to operation S210.
In operation S310, a resource file and a resource file list are generated from the website original engineering file.
According to the embodiment of the disclosure, the front-end automatic packaging tool can be utilized to package the original engineering files of the website to generate resource files and a resource file list for describing the relation of the resource files. The resource file may be, for example, a front-end static resource file, and may include, for example, a HMTL file, a JavaScript file, a CSS file, a multimedia file, and the like.
In operation S320, the resource file is stored in the second server.
According to an embodiment of the present disclosure, the second server may be, for example, a file storage server.
In operation S330, gray scale configuration information is acquired.
According to embodiments of the present disclosure, a visual page may be presented to a user, wherein the visual page includes selection controls corresponding to a web page address, a grayscale range, a web page address, and a resource file manifest identification. The user can select the web page address, the gray range, the web page address and the resource file list identification which need gray configuration by using the selection control.
When the user selection is completed, a selection instruction is generated. After receiving the selection instruction for the selection control, the web address, the gray scale range, the web address and the resource file list identification selected by the selection instruction, namely gray scale configuration information, can be determined according to the selection instruction.
The gradation configuration information is transmitted to the first server in operation S340.
Embodiments according to the present disclosure provide an automated, highly flexible method and implementation of front-end gray scale publishing and runtime. In the process of releasing, switching and the like of the gray version, engineers or operation and maintenance personnel do not need to manually increase or decrease the server, install the running environment, write gray scripts, configure load balancing and other complex operations, so that the front-end gray release process can be unified and simplified.
The method illustrated in fig. 2-3 is further described below with reference to fig. 4-5 in conjunction with the exemplary embodiment.
Those skilled in the art will appreciate that the following example embodiments are merely for the understanding of the present disclosure, and the present disclosure is not limited thereto.
Fig. 4 schematically illustrates a flowchart of distributing gray scale configuration information according to another embodiment of the present disclosure.
As shown in fig. 4, first, in combination with the ability of front-end engineering to automatically package, two types of deliveries are produced: the front-end static resources and the resource manifest files (also referred to as relationship manifest files) to which these resource files correspond. After packaging, the static resource files are automatically uploaded to a file sharing storage, and meanwhile, the values in the resource list files are saved in a database of a gray level release platform (which can be arranged in a front-end server).
Then, the user can select the condition range, domain name and query result to be gray-scale released in the gray-scale releasing platform in a visual manner, and create a "gray-scale bit" based on these information for recording gray-scale configuration information, each gray-scale configuration information corresponding to a "gray-scale bit". Included within this "gray bit" is the resource manifest file information that was previously saved to the database. When the user clicks the release button, the front-end gray bit identifier and the resource list file information of the current release page are registered in the Zookeeper server. At this time, the resource list information stored in the Zookeeper server is stored in units of "gradation bits". When the Zookeeper server receives the data push, the data push is immediately notified to a front-end node.js server (subscription and release association established with the Zookeeper server when the node.js server is started), and the node.js server also stores the resource list information corresponding to the front-end page based on the dimension of the gray bit.
Fig. 5 schematically illustrates a flow chart of a method of handling a gray scale service runtime access request according to another embodiment of the present disclosure.
As shown in fig. 5, at runtime, the front-end node.js server receives access requests from clients, dynamically parses the requests, and obtains request identifications (e.g., URL, user identification, IP, browser information, etc.). And then matching static resources corresponding to the request identifier according to the resource list information pushed by the Zookeeper server, and downloading the resources from the file storage server in real time. The resources are dynamically executed at the node js server and the execution result is responded to the client. Therefore, the URL address of the same page can be returned to different contents of different users after being processed in the same node. Js service.
According to the embodiment of the disclosure, the function of front-end gray scale release can be automatically realized by creating gray scale configuration information and releasing the gray scale configuration information to the corresponding gray scale bit. The process can be implemented in the same node. Js server no matter how many gray scale versions are, without configuring additional gray scale servers. The more pages are released in gray scale, the more obvious the resource saving effect is, and the higher the efficiency is. In addition, service interruption caused by increase and decrease of the server in the gray level distribution process can be avoided.
Fig. 6 schematically illustrates a block diagram of an access request processing apparatus according to an embodiment of the disclosure.
As shown in fig. 6, the processing apparatus 600 for an access request includes a receiving module 610, a first determining module 620, a first obtaining module 630, a second determining module 640, a second obtaining module 650, and a first generating module 660. The processing means 600 of the access request may perform the method described above with reference to fig. 2.
Specifically, the receiving module 610 may be configured to receive an access request for a target web page address from a client.
The first determining module 620 may be configured to determine, according to the access request, information to be matched.
The first obtaining module 630 may be configured to obtain, from the first server, at least one gray scale configuration information corresponding to the target web page address.
The second determining module 640 may be configured to determine, according to the information to be matched in the access request, target gray scale configuration information matched with the information to be matched from at least one gray scale configuration information.
The second obtaining module 650 may be configured to obtain the target resource file from the second server according to the target gray scale configuration information.
The first generating module 660 may be configured to generate a target web page according to the target resource file, and send the target web page to the client.
According to the embodiment of the disclosure, the first server issues the gray configuration information to the processing device of the access request, and the processing device of the access request can provide different gray versions for different users only according to the gray configuration information without adding a server, so that the resource multiplexing rate of the server can be improved, the hardware cost can be reduced, the flexibility and the expandability of the gray issuing process can be improved, and the operation and maintenance cost can be reduced.
Fig. 7 schematically illustrates a block diagram of an access request processing apparatus according to another embodiment of the present disclosure.
As shown in fig. 7, the processing apparatus 700 for an access request may further include a second generation module 710, a storage module 720, a third acquisition module 730, and a transmission module 740 in addition to the reception module 610, the first determination module 620, the first acquisition module 630, the second determination module 640, the second acquisition module 650, and the first generation module 660. The processing means 700 of the access request may perform the method described above with reference to fig. 3.
Specifically, the second generating module 710 may be configured to generate a resource file and a resource file list according to the website original engineering file.
The storage module 720 may be configured to store the resource file in the second server.
The third obtaining module 730 may be configured to obtain gray scale configuration information.
The sending module 740 may be configured to send the grayscale configuration information to the first server.
According to the embodiment of the disclosure, in the process of releasing, switching and the like of the gray version, engineers or operation and maintenance personnel do not need to manually increase or decrease a server, install an operation environment, write gray scripts, configure load balancing and other complex operations, so that the front-end gray release process can be unified and simplified.
Any number of modules, sub-modules, units, sub-units, or at least some of the functionality of any number of the sub-units according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented as split into multiple modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in any other reasonable manner of hardware or firmware that integrates or encapsulates the circuit, or in any one of or a suitable combination of three of software, hardware, and firmware. Or one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be at least partially implemented as computer program modules, which, when executed, may perform the corresponding functions.
For example, any of the receiving module 610, the first determining module 620, the first acquiring module 630, the second determining module 640, the second acquiring module 650, the first generating module 660, the second generating module 710, the storing module 720, the third acquiring module 730, and the transmitting module 740 may be combined in one module to be implemented, or any one of the modules may be split into a plurality of modules. Or at least some of the functionality of one or more of the modules may be combined with, and implemented in, at least some of the functionality of other modules. According to embodiments of the present disclosure, at least one of the receiving module 610, the first determining module 620, the first obtaining module 630, the second determining module 640, the second obtaining module 650, the first generating module 660, the second generating module 710, the storing module 720, the third obtaining module 730, and the sending module 740 may be implemented at least partially as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or any other reasonable manner of integrating or packaging the circuitry, or any other hardware or firmware, or any one of three or any suitable combination of several of these. Or at least one of the receiving module 610, the first determining module 620, the first obtaining module 630, the second determining module 640, the second obtaining module 650, the first generating module 660, the second generating module 710, the storing module 720, the third obtaining module 730, and the transmitting module 740 may be at least partially implemented as a computer program module, which may perform the corresponding functions when being executed.
Fig. 8 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method according to an embodiment of the present disclosure. The computer system illustrated in fig. 8 is merely an example, and should not be construed as limiting the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 8, computer system 800 includes a processor 810 and a computer-readable storage medium 820. The computer system 800 may perform methods according to embodiments of the present disclosure.
In particular, processor 810 may include, for example, a general purpose microprocessor, an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 810 may also include on-board memory for caching purposes. The processor 810 may be a single processing unit or multiple processing units for performing the different actions of the method flows according to embodiments of the disclosure.
Computer-readable storage medium 820, which may be, for example, a non-volatile computer-readable storage medium, specific examples include, but are not limited to: magnetic storage devices such as magnetic tape or hard disk (HDD); optical storage devices such as compact discs (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; etc.
The computer-readable storage medium 820 may comprise a computer program 821, which computer program 821 may comprise code/computer-executable instructions, which when executed by the processor 810, cause the processor 810 to perform a method according to an embodiment of the present disclosure or any variation thereof.
The computer program 821 may be configured with computer program code comprising, for example, computer program modules. For example, in an example embodiment, code in computer program 821 may include one or more program modules, including 821A, 821B, … …, for example. It should be noted that the division and number of modules is not fixed, and that a person skilled in the art may use suitable program modules or combinations of program modules according to the actual situation, which when executed by the processor 810, enable the processor 810 to perform the method according to the embodiments of the present disclosure or any variations thereof.
At least one of the receiving module 610, the first determining module 620, the first obtaining module 630, the second determining module 640, the second obtaining module 650, the first generating module 660, the second generating module 710, the storing module 720, the third obtaining module 730, and the transmitting module 740 may be implemented as computer program modules described with reference to fig. 8, which when executed by the processor 810, may implement the respective operations described above.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be combined in various combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
While the present disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents. The scope of the disclosure should, therefore, not be limited to the above-described embodiments, but should be determined not only by the following claims, but also by the equivalents of the following claims.

Claims (11)

1. A method of processing an access request, comprising:
receiving an access request for a target webpage address from a client;
Determining information to be matched according to the access request;
Acquiring at least one gray scale configuration information corresponding to the target webpage address from a first server, wherein the first server stores a plurality of gray scale configuration information, each gray scale configuration information comprises a webpage address, a gray scale range and a resource file list identifier, and the first server is a distributed storage server;
determining target gray scale configuration information matched with the information to be matched from the at least one gray scale configuration information according to the information to be matched in the access request;
Acquiring a target resource file from a second server according to the target gray configuration information; and
And generating a target webpage according to the target resource file, and sending the target webpage to the client.
2. The method of claim 1, wherein the determining information to be matched from the access request comprises:
At least one of a user identifier, an IP address and a browser identifier is obtained by analyzing the access request;
and determining at least one of the user identification, the IP address and the browser identification as the information to be matched.
3. The method of claim 1 or 2, wherein the grayscale configuration information includes a web page address;
The obtaining, from the first server, at least one gray scale configuration information corresponding to the target web page address includes:
and acquiring at least one gray scale configuration information containing the target webpage address from the first server.
4. The method of claim 3, wherein the gray scale configuration information further comprises a gray scale range;
the determining, according to the information to be matched in the access request, target gray scale configuration information matched with the information to be matched from the at least one gray scale configuration information includes:
And determining gray scale configuration information with the gray scale range matched with the information to be matched from the at least one gray scale configuration information as the target gray scale configuration information.
5. The method of claim 4, wherein the grayscale configuration information further includes a resource file inventory identification;
the obtaining, from the second server, the target resource file according to the target gray scale configuration information includes:
determining a target resource list according to the resource file list identification in the target gray configuration information; and
And acquiring the target resource file contained in the target resource list from the second server.
6. The method of claim 1, further comprising:
Generating a resource file and a resource file list according to the original engineering file of the website;
Storing the resource file in a second server;
Acquiring gray configuration information; and
And sending the gray scale configuration information to a first server.
7. The method of claim 6, wherein the obtaining gray scale configuration information comprises:
displaying a visual page, wherein the visual page comprises a selection control corresponding to a webpage address, a gray scale range, the webpage address and a resource file list identifier; and
And receiving a selection instruction aiming at the selection control, and determining the gray configuration information according to the selection instruction, wherein the gray configuration information comprises a webpage address, a gray range, a webpage address and a resource file list identifier selected by the selection instruction.
8. An apparatus for processing an access request, comprising:
the receiving module is used for receiving an access request aiming at a target webpage address from the client;
the first determining module is used for determining information to be matched according to the access request;
The first acquisition module is used for acquiring at least one gray scale configuration information corresponding to the target webpage address from a first server, wherein the first server stores a plurality of gray scale configuration information, each gray scale configuration information comprises a webpage address, a gray scale range and a resource file list identifier, and the first server is a distributed storage server;
The second determining module is used for determining target gray scale configuration information matched with the information to be matched from the at least one gray scale configuration information according to the information to be matched in the access request;
The second acquisition module is used for acquiring a target resource file from a second server according to the target gray configuration information; and
The first generation module is used for generating a target webpage according to the target resource file and sending the target webpage to the client.
9. The apparatus of claim 8, further comprising:
the second generation module is used for generating a resource file and a resource file list according to the original engineering file of the website;
the storage module is used for storing the resource file in a second server;
the third acquisition module is used for acquiring gray configuration information; and
And the sending module is used for sending the gray configuration information to the first server.
10. A computing device, comprising:
one or more processors;
A memory for storing one or more computer programs,
Wherein the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1 to 7.
11. A computer readable storage medium having stored thereon executable instructions which when executed by a processor cause the processor to implement the method of any of claims 1 to 7.
CN202010830540.8A 2020-08-19 2020-08-19 Access request processing method, device, computing equipment and medium Active CN111913738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010830540.8A CN111913738B (en) 2020-08-19 2020-08-19 Access request processing method, device, computing equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010830540.8A CN111913738B (en) 2020-08-19 2020-08-19 Access request processing method, device, computing equipment and medium

Publications (2)

Publication Number Publication Date
CN111913738A CN111913738A (en) 2020-11-10
CN111913738B true CN111913738B (en) 2024-04-30

Family

ID=73279098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010830540.8A Active CN111913738B (en) 2020-08-19 2020-08-19 Access request processing method, device, computing equipment and medium

Country Status (1)

Country Link
CN (1) CN111913738B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112364268A (en) * 2020-11-13 2021-02-12 微医云(杭州)控股有限公司 Resource acquisition method and device, electronic equipment and storage medium
CN112486550A (en) * 2020-11-25 2021-03-12 上海中通吉网络技术有限公司 Method, device and system for publishing gray scale of WEB terminal
CN112445510A (en) * 2020-11-30 2021-03-05 中国人寿保险股份有限公司 Gray scale publishing method and related equipment for hot update file of client application function
CN114697304B (en) * 2020-12-28 2023-12-01 京东科技控股股份有限公司 Gray release method, system, device, equipment and storage medium
CN112883261A (en) * 2021-01-28 2021-06-01 北京百度网讯科技有限公司 Configuration data pushing method and device, electronic equipment and medium
CN114285743B (en) * 2021-12-23 2023-06-06 建信金融科技有限责任公司 Method, device, electronic equipment and storage medium for updating configuration information
CN114466003B (en) * 2022-03-21 2023-12-05 北京有竹居网络技术有限公司 Communication method and related equipment thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632374A (en) * 2018-05-09 2018-10-09 星络科技有限公司 Software gray scale dissemination method and device
CN108881030A (en) * 2018-06-07 2018-11-23 腾讯科技(深圳)有限公司 Gray scale issues the method for routing and device under scene
CN109376322A (en) * 2018-09-07 2019-02-22 平安科技(深圳)有限公司 A kind of grayscale version page access method, apparatus, computer equipment and computer storage medium
CN109857403A (en) * 2018-12-05 2019-06-07 腾讯科技(深圳)有限公司 A kind of renewal of the page, page processing method and device
CN110569057A (en) * 2019-09-12 2019-12-13 北京字节跳动网络技术有限公司 gray scale distribution method and device, electronic equipment and computer readable medium
CN111209032A (en) * 2020-01-06 2020-05-29 ***股份有限公司 Gray scale publishing method, configuration center server, user terminal, system and medium
CN111221565A (en) * 2018-11-27 2020-06-02 无锡雅座在线科技股份有限公司 Step gray release control method of software application program
CN111414191A (en) * 2020-03-31 2020-07-14 深圳前海微众银行股份有限公司 Gray scale publishing method and device for small program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897457A (en) * 2015-12-09 2016-08-24 乐视云计算有限公司 Service upgrade method and system of server group

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632374A (en) * 2018-05-09 2018-10-09 星络科技有限公司 Software gray scale dissemination method and device
CN108881030A (en) * 2018-06-07 2018-11-23 腾讯科技(深圳)有限公司 Gray scale issues the method for routing and device under scene
CN109376322A (en) * 2018-09-07 2019-02-22 平安科技(深圳)有限公司 A kind of grayscale version page access method, apparatus, computer equipment and computer storage medium
CN111221565A (en) * 2018-11-27 2020-06-02 无锡雅座在线科技股份有限公司 Step gray release control method of software application program
CN109857403A (en) * 2018-12-05 2019-06-07 腾讯科技(深圳)有限公司 A kind of renewal of the page, page processing method and device
CN110569057A (en) * 2019-09-12 2019-12-13 北京字节跳动网络技术有限公司 gray scale distribution method and device, electronic equipment and computer readable medium
CN111209032A (en) * 2020-01-06 2020-05-29 ***股份有限公司 Gray scale publishing method, configuration center server, user terminal, system and medium
CN111414191A (en) * 2020-03-31 2020-07-14 深圳前海微众银行股份有限公司 Gray scale publishing method and device for small program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电子银行***灰度发布的研究与实现;李晓毅;金融电子化;20180115;第91-93页 *

Also Published As

Publication number Publication date
CN111913738A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN111913738B (en) Access request processing method, device, computing equipment and medium
US20160105521A1 (en) Method and apparatus for pushing target information
US20170164020A1 (en) Content delivery method for content delivery network platform and scheduling proxy server
WO2019056640A1 (en) Order processing method and device
CN108494860B (en) WEB access system, WEB access method and device for client
US9058333B2 (en) Publishable metadata for content management and component testing
US20180047038A1 (en) Leveraging hashtags to dynamically scope a target audience for a social network message
US10719555B2 (en) System and method in a database system for sharing a data item with an entity in another tenant domain
CN110874227A (en) Shunting method and system for realizing gray scale release of API gateway and electronic equipment
CN110098998B (en) Method and apparatus for processing information
CN108924183B (en) Method and device for processing information
US9578012B2 (en) Restricted content publishing with search engine registry
CN115516840A (en) Information processing method, device, system, medium, chip and program
CN110769018A (en) Message pushing method and device
CN111782988B (en) Method, apparatus, computer system and storage medium for determining source of application program
CN107634854B (en) Service data processing method and device
CN103678535A (en) Browser and downloading method thereof
CN111783005B (en) Method, device and system for displaying web page, computer system and medium
CN110647634A (en) Method and device for searching media resource, storage medium and electronic device
US11381665B2 (en) Tracking client sessions in publish and subscribe systems using a shared repository
CN107045452B (en) Virtual machine scheduling method and device
CN110110197B (en) Information acquisition method and device
CN116599855A (en) Data transmission method, system, electronic equipment and storage medium
CN105871972A (en) Video resource distributed cathe method, device and system
CN112799797B (en) Task management method and device

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

Effective date of registration: 20210120

Address after: 100140, 55, Fuxing Avenue, Xicheng District, Beijing

Applicant after: INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Applicant after: ICBC Technology Co.,Ltd.

Address before: 071700 unit 111, 1st floor, building C, enterprise office area, xiong'an Civic Service Center, Rongcheng County, xiong'an District, China (Hebei) pilot Free Trade Zone, Hebei Province

Applicant before: ICBC Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant