CN111913738A - 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
CN111913738A
CN111913738A CN202010830540.8A CN202010830540A CN111913738A CN 111913738 A CN111913738 A CN 111913738A CN 202010830540 A CN202010830540 A CN 202010830540A CN 111913738 A CN111913738 A CN 111913738A
Authority
CN
China
Prior art keywords
configuration information
target
gray
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.)
Pending
Application number
CN202010830540.8A
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.)
Industrial and Commercial Bank of China Ltd ICBC
ICBC Technology Co Ltd
Original Assignee
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 ICBC Technology Co Ltd filed Critical ICBC Technology Co Ltd
Priority to CN202010830540.8A priority Critical patent/CN111913738A/en
Publication of CN111913738A publication Critical patent/CN111913738A/en
Pending legal-status Critical Current

Links

Images

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

Abstract

The disclosure provides a processing method of an access request, which can be used in the financial field or other fields. The method comprises the steps of receiving an access request aiming at a target webpage address from a client; determining information to be matched according to the access request; acquiring at least one piece of gray configuration information corresponding to a target webpage address from a first server; determining target gray configuration information matched with the information to be matched from at least one piece of gray 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 an access request processing device, 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 an 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 scale publishing service, the related art needs to add an additional server to bear the gray scale service on the basis of the original server, and the method has the advantages of low efficiency and high error rate when switching the gray scale version, and in addition, the gray scale publishing process is not flexible enough and the implementation cost is high.
Therefore, there is a need in the art for a new solution 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 aiming at a target webpage address from a client; determining information to be matched according to the access request; acquiring at least one piece of gray configuration information corresponding to the target webpage address from the first server; according to the information to be matched in the access request, determining target gray configuration information matched with the information to be matched from the at least one piece of gray configuration information; 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.
Optionally, the determining, according to the access request, information to be matched includes: obtaining at least one of a user identifier, an IP address and a browser identifier by analyzing the access request; and determining at least one of the user identifier, the IP address and the browser identifier as the information to be matched.
Optionally, the grayscale configuration information includes a web page address; the acquiring, from the first server, at least one piece of grayscale configuration information corresponding to the target web page address includes: and acquiring at least one piece of gray configuration information containing the target webpage address from the first server.
Optionally, the grayscale configuration information further includes a grayscale 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 piece of gray-scale configuration information includes: and determining gray configuration information of which the gray range is matched with the information to be matched from the at least one piece of gray configuration information as the target gray configuration information.
Optionally, the grayscale configuration information further includes a resource file list identifier; the acquiring a target resource file from the second server according to the target gray level configuration information includes: determining a target resource list according to the resource file list identification in the target gray configuration information; and acquiring 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 project file of the website; storing the resource file in a second server; acquiring gray configuration information; and sending the gray configuration information to a first server.
Optionally, the acquiring 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, a webpage address and a resource file list identification; 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 identification 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 page address from a client; the first determining module is used for determining the information to be matched according to the access request; the first acquisition module is used for acquiring at least one piece of gray configuration information corresponding to the target webpage address from the first server; the second determining module is used for determining target gray configuration information matched with the information to be matched from the at least one piece of gray 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 the 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 project 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 disclosure provides a computing device comprising: one or more processors; storage means for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the method as described above when executed.
Another aspect of the disclosure provides a computer program comprising computer executable instructions for implementing the method as described above when executed.
According to the processing method of the access request, different gray level versions can be provided for different users according to the gray level configuration information issued by the first server, and a gray level server does not need to be added, so that the resource reuse rate of the server can be improved, the hardware cost is reduced, the flexibility and the expandability of the gray level 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 shows a flow chart of a method of processing an access request according to an embodiment of the present disclosure;
FIG. 3 schematically shows a flow chart of a method of processing an access request according to an embodiment of the present disclosure;
FIG. 4 schematically shows a flow chart for publishing gray scale configuration information according to another embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow diagram of a method for processing a grayscale service runtime access request according to another embodiment of the present disclosure;
FIG. 6 schematically shows a block diagram of an apparatus for processing an access request according to an embodiment of the present disclosure;
FIG. 7 schematically shows 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 illustrative only 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 disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not 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 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 is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have 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 convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have 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 block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, 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, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
The embodiment of the disclosure provides an access request processing method and an access request processing device capable of applying the method. The method comprises the steps of receiving an access request aiming at a target webpage address from a client; determining information to be matched according to the access request; acquiring at least one piece of gray configuration information corresponding to the target webpage address from the first server; according to the information to be matched in the access request, determining target gray configuration information matched with the information to be matched from the at least one piece of gray configuration information; 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.
Fig. 1 schematically illustrates an application scenario of an access request processing method and an access request processing apparatus according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to 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, a distributed storage server 107. The network 104 serves to provide a medium for communication links between the terminal devices 101, 102, 103 and the front-end server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the front-end server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The front-end server 105 may provide support for websites browsed by the user using the terminal devices 101, 102, 103. For example, the front-end server 105 may analyze and perform processing on data such as a received user request, and feed back a processing result (e.g., a web page, information, or data obtained or generated according to the user request) to the terminal device.
File storage server 106 may be used to provide file storage services (OSS), for example, for storing various static resource files required by a website, such as an HMTL file, a JavaScript file, a CSS file, multimedia files (e.g., pictures, video, audio, etc.), and so on.
The distributed storage servers 107 may be used to provide distributed data coordination services, such as for accepting subscriptions of front-end servers and publishing resource inventory information to the front-end servers.
It should be noted that the access request processing method provided by the embodiment of the present disclosure may be generally executed by the front-end server 105. Accordingly, the processing device of the access request provided by the embodiment 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 executed 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 device of the access request provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the front-end server 105 and 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 shows a flow chart of a method of processing an access request according to an embodiment of the present 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 is received from a client.
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 identifier, an IP address, and a browser identifier by parsing the access request, and determining at least one of the user identifier, the IP address, and the browser identifier 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 the user identification, the IP address, and the browser identification. For example, the user information corresponding to the user identifier, such as including gender, name, address, etc., may be obtained from the user database according to the user identifier, and the user information may be used as one of the matching information. For another example, the geographic location where the client is located may be determined according to the IP address, and the geographic location may be used as one of the matching information.
In operation S230, at least one gray configuration information corresponding to a target web page address is acquired from a first server.
According to an embodiment of the present disclosure, the first server may store a plurality of gray configuration information. Each gray configuration information records a web page address, a gray range and a resource file list identification.
According to an embodiment of the present disclosure, operation S230 may include, for example, acquiring at least one grayscale configuration information including a target web page address from a first server.
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 grayscale configuration information that matches the information to be matched is determined from the at least one grayscale 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, from the at least one gray configuration information, gray configuration information having a gray range matching the information to be matched as the target gray configuration information.
In operation S250, a target resource file is acquired from a second server according to the target gray-scale configuration information.
According to an embodiment of the present disclosure, operation S250 may include, for example, determining a target resource list according to the resource file list identifier in the target grayscale configuration information, and obtaining a target resource file included in the target resource list from the second server.
In operation S260, a target webpage is generated according to the target resource file, and the target webpage is sent to the client.
According to the embodiment of the disclosure, the resource file may be, for example, a front-end static resource file, and may include, for example, an 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 a target web page, which is then sent to the client for display.
According to the processing method of the access request, the first server issues the 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 does not need to be added, so that the resource reuse rate of the server can be improved, the hardware cost is reduced, the flexibility and the expandability of a gray release process can be improved, and the operation and maintenance cost is reduced.
Fig. 3 schematically shows a flow chart of a method of processing an access request according to an embodiment of the present disclosure.
As shown in fig. 3, the method includes operations S310 to S340 in addition to operations S210 to S260. Among them, operations S310 to S340 may be performed at any time in operations S210 to S260. Illustratively, in the present embodiment, operations S310 to S340 may be performed, for example, before operation S210.
In operation S310, a resource file and a resource file list are generated according to the original project file of the website.
According to the embodiment of the disclosure, the original project files of the website can be packaged by using a front-end automatic packaging tool, and the resource files and the resource file list for describing the relationship of the resource files are generated. The resource file may be, for example, a front-end static resource file, and may include, for example, an 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 configuration information is acquired.
According to an embodiment of the present disclosure, a visualization page may be presented to a user, where the visualization page includes a selection control corresponding to a web page address, a grayscale range, a web page address, and a resource file manifest identification. The user can select the webpage address, the gray scale range, the webpage address and the resource file list identification which need to be subjected to gray scale configuration by using the selection control.
When the user selection is completed, a selection instruction is generated. After receiving a selection instruction for selecting a control, determining a webpage address, a gray scale range, a webpage address and a resource file list identifier, namely gray scale configuration information, selected by the selection instruction according to the selection instruction.
In operation S340, the gray configuration information is transmitted to the first server.
An automated, highly flexible method and implementation for front-end gray scale publishing and runtime is provided according to embodiments of the present disclosure. In the process of releasing and switching the gray-scale version, engineers or operation and maintenance personnel do not need to manually increase or decrease the servers, install the operating environment, write gray-scale scripts, configure load balance and other complex operations, and the front-end gray-scale releasing process can be unified and simplified.
The methods shown in fig. 2-3 are further described with reference to fig. 4-5 in conjunction with specific embodiments.
Those skilled in the art will appreciate that the following example embodiments are only for the understanding of the present disclosure, and the present disclosure is not limited thereto.
Fig. 4 schematically shows a flowchart of issuing gradation configuration information according to another embodiment of the present disclosure.
As shown in fig. 4, first, in combination with the ability to automate packaging for front end engineering, two types of deliveries are produced: the front-end static resources and resource list files (also called relation list files) corresponding to the resource files. After the packaging is finished, the static resource files are automatically uploaded to a file sharing storage, and meanwhile, values in the resource list file are stored in a database of a gray scale publishing platform (which can be arranged in a front-end server).
Then, the user can select the condition range, the domain name and the query result to be grayed and published in a grayscale publishing platform in a visual mode, and a "grayscale bit" is created on the basis of the information for recording grayscale configuration information, wherein each grayscale configuration information corresponds to one "grayscale bit". The resource manifest file information previously saved to the database is included within this "gray level bit". When a user clicks a release button, the front-end gray level 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 "gray level bits". After receiving the data push, the Zookeeper server immediately notifies a front-end node.js server (which is associated with subscription and release established by the Zookeeper server when the node.js server is started), and the node.js server also stores resource list information corresponding to a front-end page based on the dimension of the gray level bit.
Fig. 5 schematically shows a flowchart of a processing method of a grayscale service runtime access request according to another embodiment of the present disclosure.
As shown in fig. 5, in operation, the front-end node. js server receives the challenge requests from the client, and dynamically analyzes these requests to obtain request identifiers (e.g., URL, user identifier, IP, browser information, etc.). And then matching the static resources corresponding to the request identification according to the resource list information pushed by the Zookeeper server, and downloading the resources from the file storage server in real time. Js server dynamically executes these resources and responds the execution result to the client. Thus, the URL address of the same page can be processed in the same node.js service and then returned to different users for different contents.
According to the embodiment of the disclosure, the function of front-end gray scale distribution can be automatically realized by creating gray scale configuration information and distributing the gray scale configuration information to the corresponding gray scale bits. The process does not need to configure an additional gray scale server, and can be realized in the same node.js server no matter how many gray scale versions exist. The more pages are released in the gray scale, the more obvious the resource saving effect is, and the higher the efficiency is improved. In addition, the service interruption caused by the increase and decrease of the servers in the gray scale distribution process can be avoided.
Fig. 6 schematically shows a block diagram of an access request processing device according to an embodiment of the present disclosure.
As shown in fig. 6, the apparatus 600 for processing 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 the information to be matched according to the access request.
The first obtaining module 630 may be configured to obtain at least one piece of grayscale configuration information corresponding to the target web page address from the first server.
The second determining module 640 may be configured to determine, according to the information to be matched in the access request, target grayscale configuration information that matches the information to be matched from the at least one grayscale configuration information.
The second obtaining module 650 may be configured to obtain the target resource file from the second server according to the target grayscale configuration information.
The first generating module 660 may be configured to generate a target webpage according to the target resource file, and send the target webpage 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 reuse 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 shows a block diagram of an access request processing device according to another embodiment of the present disclosure.
As shown in fig. 7, in addition to the receiving module 610, the first determining module 620, the first obtaining module 630, the second determining module 640, the second obtaining module 650, and the first generating module 660, the access request processing apparatus 700 may further include a second generating module 710, a storing module 720, a third obtaining module 730, and a sending module 740. 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 original project file of the website.
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 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 and switching the gray-scale version, engineers or operation and maintenance personnel do not need to manually increase or decrease the servers, install the operating environment, write the gray-scale script, configure the load balance and other complex operations, and the front-end gray-scale releasing process can be unified and simplified.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of 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 a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality 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 combined into one module to be implemented, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment 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 a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or any other reasonable manner of integrating or packaging a circuit, or as any one of three manners of software, hardware, and firmware, or as a suitable combination of any of them. Alternatively, 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 when executed, may perform a corresponding function.
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 only one example and should not impose any limitations on the scope of use or functionality of embodiments of the 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 a method according to an embodiment of the disclosure.
In particular, processor 810 may include, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 810 may also include on-board memory for caching purposes. Processor 810 may be a single processing unit or a plurality of processing units for performing different actions of a method flow according to embodiments of the disclosure.
Computer-readable storage medium 820, for example, may be a non-volatile computer-readable storage medium, specific examples including, but not limited to: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and so on.
The computer-readable storage medium 820 may include a computer program 821, which computer program 821 may include code/computer-executable instructions that, 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, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 821 may include one or more program modules, including for example 821A, modules 821B, … …. It should be noted that the division and number of modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, and when the program modules are executed by the processor 810, the processor 810 may execute the method according to the embodiment of the present disclosure or any variation thereof.
According to an embodiment of the present invention, 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 as a computer program module described with reference to fig. 8, which, when executed by the processor 710, may implement the corresponding operations described above.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the 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 present 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 flowchart 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 various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the 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 disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.

Claims (11)

1. A processing method of an access request comprises the following steps:
receiving an access request aiming at a target webpage address from a client;
determining information to be matched according to the access request;
acquiring at least one piece of gray configuration information corresponding to the target webpage address from the first server;
according to the information to be matched in the access request, determining target gray configuration information matched with the information to be matched from the at least one piece of gray configuration information;
acquiring a target resource file from the 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 according to the access request comprises:
obtaining at least one of a user identifier, an IP address and a browser identifier by analyzing the access request;
and determining at least one of the user identifier, the IP address and the browser identifier 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 acquiring, from the first server, at least one piece of grayscale configuration information corresponding to the target web page address includes:
and acquiring at least one piece of gray configuration information containing the target webpage address from the first server.
4. The method of claim 3, wherein the grayscale configuration information further includes a grayscale 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 piece of gray-scale configuration information includes:
and determining gray configuration information of which the gray range is matched with the information to be matched from the at least one piece of gray configuration information as the target gray configuration information.
5. The method of claim 4, wherein the grayscale configuration information further includes a resource file manifest identification;
the acquiring a target resource file from the second server according to the target gray level 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 project file of the website;
storing the resource file in a second server;
acquiring gray configuration information; and
and sending the gray configuration information to a first server.
7. The method of claim 6, wherein the obtaining grayscale configuration information comprises:
displaying a visual page, wherein the visual page comprises a selection control corresponding to a webpage address, a gray scale range, a webpage address and a resource file list identification; 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 identification 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 a client;
the first determining module is used for determining the information to be matched according to the access request;
the first acquisition module is used for acquiring at least one piece of gray configuration information corresponding to the target webpage address from the first server;
the second determining module is used for determining target gray configuration information matched with the information to be matched from the at least one piece of gray 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 the second server according to the target gray configuration information; and
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 project 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 carry out the method of any one of claims 1 to 7.
CN202010830540.8A 2020-08-19 2020-08-19 Access request processing method, device, computing equipment and medium Pending CN111913738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010830540.8A CN111913738A (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 CN111913738A (en) 2020-08-19 2020-08-19 Access request processing method, device, computing equipment and medium

Publications (1)

Publication Number Publication Date
CN111913738A true CN111913738A (en) 2020-11-10

Family

ID=73279098

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN111913738A (en)

Cited By (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
CN112445510A (en) * 2020-11-30 2021-03-05 中国人寿保险股份有限公司 Gray scale publishing method and related equipment for hot update file of client application function
CN112486550A (en) * 2020-11-25 2021-03-12 上海中通吉网络技术有限公司 Method, device and system for publishing gray scale of WEB terminal
CN112883261A (en) * 2021-01-28 2021-06-01 北京百度网讯科技有限公司 Configuration data pushing method and device, electronic equipment and medium
CN114285743A (en) * 2021-12-23 2022-04-05 建信金融科技有限责任公司 Method and device for updating configuration information, electronic equipment and storage medium
CN114466003A (en) * 2022-03-21 2022-05-10 北京有竹居网络技术有限公司 Communication method and related equipment thereof
CN114697304A (en) * 2020-12-28 2022-07-01 京东科技控股股份有限公司 Gray scale publishing method, system, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170171304A1 (en) * 2015-12-09 2017-06-15 Le Holdings (Beijing) Co., Ltd. Service updating method and system for server cluster
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
CN110569057A (en) * 2019-09-12 2019-12-13 北京字节跳动网络技术有限公司 gray scale distribution method and device, electronic equipment and computer readable medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170171304A1 (en) * 2015-12-09 2017-06-15 Le Holdings (Beijing) Co., Ltd. Service updating method and system for server cluster
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
CN110569057A (en) * 2019-09-12 2019-12-13 北京字节跳动网络技术有限公司 gray scale distribution method and device, electronic equipment and computer readable medium

Cited By (11)

* 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
CN114697304A (en) * 2020-12-28 2022-07-01 京东科技控股股份有限公司 Gray scale publishing method, system, device, equipment and storage medium
WO2022142536A1 (en) * 2020-12-28 2022-07-07 京东科技控股股份有限公司 Grayscale publishing method, system and apparatus, and device and storage medium
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
CN114285743A (en) * 2021-12-23 2022-04-05 建信金融科技有限责任公司 Method and device for updating configuration information, electronic equipment and storage medium
CN114285743B (en) * 2021-12-23 2023-06-06 建信金融科技有限责任公司 Method, device, electronic equipment and storage medium for updating configuration information
CN114466003A (en) * 2022-03-21 2022-05-10 北京有竹居网络技术有限公司 Communication method and related equipment thereof
CN114466003B (en) * 2022-03-21 2023-12-05 北京有竹居网络技术有限公司 Communication method and related equipment thereof

Similar Documents

Publication Publication Date Title
CN111913738A (en) Access request processing method, device, computing equipment and medium
CN108494860B (en) WEB access system, WEB access method and device for client
US9633127B2 (en) Deploying programs in a cluster node
CN107302597B (en) Message file pushing method and device
CN109359194B (en) Method and apparatus for predicting information categories
CN110377440B (en) Information processing method and device
CN110098998B (en) Method and apparatus for processing information
CN110874227A (en) Shunting method and system for realizing gray scale release of API gateway and electronic equipment
US9929983B2 (en) Autonomous agent system
CN110619100B (en) Method and apparatus for acquiring data
CN111782988B (en) Method, apparatus, computer system and storage medium for determining source of application program
CN114528269A (en) Method, electronic device and computer program product for processing data
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN111783005B (en) Method, device and system for displaying web page, computer system and medium
CN111813685B (en) Automatic test method and device
CN111818179A (en) User request processing method and device, computing equipment and medium
CN113271307A (en) Data assembling method, device, computer system and storage medium
CN112965916A (en) Page testing method, page testing device, electronic equipment and readable storage medium
CN110866031B (en) Database access path optimization method and device, computing equipment and medium
US11381665B2 (en) Tracking client sessions in publish and subscribe systems using a shared repository
CN112506781B (en) Test monitoring method, device, electronic equipment, storage medium and program product
US10901698B2 (en) Command tool development using a description file
US20170068919A1 (en) Risk assessment in online collaborative environments
CN113553123A (en) Data processing method and device, electronic equipment and storage medium
CN114168607A (en) Global serial number generation method, device, equipment, medium and product

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
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.