CN110839066A - Data processing method and related equipment - Google Patents

Data processing method and related equipment Download PDF

Info

Publication number
CN110839066A
CN110839066A CN201911048979.9A CN201911048979A CN110839066A CN 110839066 A CN110839066 A CN 110839066A CN 201911048979 A CN201911048979 A CN 201911048979A CN 110839066 A CN110839066 A CN 110839066A
Authority
CN
China
Prior art keywords
cdn
error
target page
error request
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.)
Granted
Application number
CN201911048979.9A
Other languages
Chinese (zh)
Other versions
CN110839066B (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.)
Qualcomm Inc
Original Assignee
Qualcomm Inc
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 Qualcomm Inc filed Critical Qualcomm Inc
Priority to CN201911048979.9A priority Critical patent/CN110839066B/en
Publication of CN110839066A publication Critical patent/CN110839066A/en
Application granted granted Critical
Publication of CN110839066B publication Critical patent/CN110839066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application provides a data processing method and related equipment, which can reduce manpower consumption, reduce the waiting time of online access of a user and improve user experience. The method comprises the following steps: acquiring an error request corresponding to a target page, wherein the target page is an access page which fails to load CDN resources; judging whether the error request accords with a preset rule or not; if the error request conforms to the preset rule, acquiring a first CDN resource corresponding to the target page; and calling CDN resources with healthy states in a CDN warehouse to replace the first CDN resource so as to update the target page, wherein a plurality of CDN resources with healthy states are stored in the CDN warehouse.

Description

Data processing method and related equipment
Technical Field
The present application relates to the field of information processing, and in particular, to a data processing method and related device.
Background
A Content Delivery Network (CDN) is an intelligent virtual Network built on the basis of the existing Network, and a user can obtain required Content nearby by using functional modules of load balancing, Content Delivery, scheduling and the like of a central platform by means of edge servers deployed in various places, so that Network congestion is reduced, and the access response speed and hit rate of the user are increased.
In the technical scheme in the aspect in the market at present, most enterprise cloud products use a single free CDN resource. Some enterprises build the CDN server for safety and manage the CDN server by themselves.
The method has the advantages that the fault tolerance rate is low due to the fact that a single free CDN resource is low, the occurrence rate of downtime or network fluctuation of a free CDN server is high, on-line user experience is seriously affected after a problem occurs, the CDN server is set up by self to guarantee self maintenance of the server, however, the cost consumption is high, the cost of an object is high every year, and particularly when the number of resources to be maintained is large, the maintenance cost is high.
The above schemes all require manual background maintenance cost, and the time consumed by manual maintenance is unacceptable for the active use number of modern cloud products in high days.
Disclosure of Invention
The application provides a data processing method and related equipment, so that the user reduces manpower loss, reduces maintenance time and improves user experience.
A first aspect of an embodiment of the present application provides a data processing method, where the method includes:
acquiring an error request corresponding to a target page, wherein the target page is an access page which fails to load CDN resources;
judging whether the error request accords with a preset rule or not;
if the error request conforms to the preset rule, acquiring a first CDN resource corresponding to the target page;
and calling CDN resources with healthy states in a CDN warehouse to replace the first CDN resource so as to update the target page, wherein a plurality of CDN resources with healthy states are stored in the CDN warehouse.
Optionally, the determining whether the error request meets a preset rule includes:
judging whether the error request is a first error request corresponding to the target page or not, and judging whether the error request accords with a preset error rule or not;
if the error request is a first error request corresponding to the target page and the error request conforms to a preset error rule, determining that the error request conforms to the preset rule;
and if the error request is not the first error request corresponding to the target page and/or the error request does not accord with a preset error rule, determining that the error request does not accord with the preset rule.
Optionally, the predetermined error rule includes at least one of an access timeout, an irregular return, and a malicious jump.
Optionally, the method further comprises:
if all CDN resources in the CDN warehouse are CDN resources with unhealthy states, all CDN resources in the CDN warehouse are removed;
and updating the target page through cloud local resources.
Optionally, the method further comprises:
marking the first CDN resource as a CDN resource with unhealthy state;
and informing an administrator to audit the first CDN resource.
Optionally, the method further comprises:
and if the error request accords with the preset rule, ignoring other error requests except the first error request corresponding to the target page.
Optionally, the method further comprises:
receiving a CDN customization request of a target object;
responding to the CDN customizing request, and configuring a second CDN resource according to the CDN customizing request;
adding the second CDN resource to the CDN warehouse.
A second aspect of the embodiments of the present application provides a data processing apparatus, including:
the device comprises an obtaining unit, a processing unit and a processing unit, wherein the obtaining unit is used for obtaining an error request corresponding to a target page, and the target page is an access page which fails to load Content Delivery Network (CDN) resources;
the judging unit is used for judging whether the error request accords with a preset rule or not;
the obtaining unit is further configured to obtain a first CDN resource corresponding to the target page when the error request meets the preset rule;
and the processing unit is used for calling the CDN resources with healthy states in the CDN warehouse to replace the first CDN resources so as to update the target page, and the CDN warehouse stores a plurality of CDN resources with healthy states.
Optionally, the determining unit is specifically configured to:
judging whether the error request is a first error request corresponding to the target page or not, and judging whether the error request accords with a preset error rule or not;
if the error request is a first error request corresponding to the target page and the error request conforms to a preset error rule, determining that the error request conforms to the preset rule;
and if the error request is not the first error request corresponding to the target page and the error request does not accord with a preset error rule, determining that the error request does not accord with the preset rule.
Optionally, the predetermined error rule includes at least one of an access timeout, an irregular return, and a malicious jump.
Optionally, the processing unit is further configured to:
when all CDN resources in the CDN warehouse are CDN resources with unhealthy states, all CDN resources in the CDN warehouse are removed;
the data processing apparatus further includes:
and the updating unit is used for updating the target page through the cloud local resource.
Optionally, the processing unit is further configured to:
marking the first CDN resource as a CDN resource with unhealthy state;
and informing an administrator to audit the first CDN resource.
Optionally, the processing unit is further configured to:
and when the error request accords with the preset rule, ignoring other error requests except the first error request corresponding to the target page.
Optionally, the processing unit is further configured to:
receiving a CDN customization request of a target object;
responding to the CDN customizing request, and configuring a second CDN resource according to the CDN customizing request;
adding the second CDN resource to the CDN warehouse.
A third aspect of the embodiments of the present application provides a computer apparatus, which includes at least one connected processor, a memory and a transceiver, where the memory is used for storing program codes, and the processor is used for calling the program codes in the memory to execute the steps of the data processing method in the above aspects.
A fourth aspect of the embodiments of the present application provides a computer storage medium, which includes instructions that, when executed on a computer, cause the computer to perform the steps of the data processing method described in the above aspects.
In summary, it can be seen that, in the embodiment provided by the application, the preset rule is set in advance, the error request corresponding to the target page is judged according to the preset rule, and when the error request meets the preset rule, the CDN resource in the CDN warehouse with a healthy state is called to replace the first CDN resource of the target page, so that normal access of the user to the target page is ensured. Therefore, the error early warning mechanism is arranged, manual maintenance is not needed, and compared with the existing method that manual maintenance is always needed, the labor cost can be saved; secondly, because a plurality of CDN resources with healthy states are stored in the CDN warehouse, when a certain CDN resource has a problem, the CDN resource with healthy states in the warehouse can be immediately and automatically replaced, so that the waiting time of online access of a user is reduced, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a network architecture provided in an embodiment of the present application:
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 3 is a schematic view of a virtual structure of a data processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic hardware structure diagram of a server according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
The terms "first," "second," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprise," "include," and "have," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules expressly listed, but may include other steps or modules not expressly listed or inherent to such process, method, article, or apparatus, the division of modules presented herein is merely a logical division that may be implemented in a practical application in a further manner, such that a plurality of modules may be combined or integrated into another system, or some feature vectors may be omitted, or not implemented, and such that couplings or direct couplings or communicative coupling between each other as shown or discussed may be through some interfaces, indirect couplings or communicative coupling between modules may be electrical or other similar, this application is not intended to be limiting. The modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in a plurality of circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present disclosure.
A network structure diagram of the data processing method provided in the embodiment of the present application is described below with reference to fig. 1:
as shown in fig. 1, in the present application, the server 103 may be one server or a plurality of servers, the server 103 establishes a communication connection with the terminal 101 through the network 102, and the server 103 acquires data of the terminal 101 through the network. Specifically, the server 103 may obtain an error request corresponding to a target page through the network 102, where the target page is an access page in which loading of the content delivery network CDN resource fails; judging whether the error request accords with a preset rule or not; if the error request conforms to the preset rule, acquiring a first CDN resource corresponding to the target page; and calling unmarked CDN resources in a CDN warehouse to replace the first CDN resources so as to update the target page, wherein a plurality of unmarked CDN resources are stored in the CDN warehouse.
The data processing method will be described in detail below from the perspective of a data processing apparatus, which may be a server or a service unit in the server, and is not particularly limited.
Referring to fig. 2, fig. 2 is a schematic flow chart of a data processing method according to an embodiment of the present application, including:
201. and acquiring an error request corresponding to the target page.
In this embodiment, the data processing apparatus may obtain an error request corresponding to a target page, where the target page is an access page in which loading of the CDN resource fails. That is to say, the data processing apparatus may set a monitor, and when a CDN resource loading a current page fails when a certain user accesses the page on line, the monitor may monitor an error request for loading an access page of the failed CDN resource; a trigger mechanism may be further configured, and when loading of a CDN resource of a certain access page fails, the trigger mechanism triggers sending of an error request to the data processing apparatus.
It should be noted that how to obtain the error request corresponding to the target page is described in the above two aspects, and of course, there may be other manners as long as when the CDN resource loading of the page fails, the error request of the page that fails to be loaded by the CDN may be obtained, and the details are not limited.
202. It is determined whether the error request meets the predetermined rule, if yes, step 203 is executed, and if no, step 205 is executed.
In this embodiment, after receiving an error request corresponding to a target page, a data processing apparatus may determine whether the error request meets a preset rule, specifically:
the data processing device can judge whether the error request is a first error request corresponding to the target page or not and judge whether the error request conforms to a preset error rule or not;
if the error request is a first error request corresponding to the target page and the error request conforms to a preset error rule, determining that the error request conforms to the preset rule;
and if the error request is not the first error request corresponding to the target page and/or the error request does not accord with the preset error rule, determining that the error request does not accord with the preset rule.
That is, only when the error request satisfies two conditions at the same time, it is determined that the error request satisfies the preset rule, one condition is that the error request is a first error request corresponding to the target page, and the other condition is that the error request conforms to the preset error rule; when the error request is not the first error request corresponding to the target page and/or the error request does not conform to the predetermined error request, it may be determined that the error request does not conform to the preset rule.
In one embodiment, the predetermined error rule may be at least one of an access timeout, an irregular return, and a malicious jump.
Preferably, when it is determined that the error request satisfies the preset rule, other error requests except the first error request corresponding to the target page are ignored. Because the situation that a large number of users access the target page at the same time and refresh the target page frequently can exist, in order to prevent the server from blocking due to a large number of homogeneous requests, the same page and the same CDN resource only need to process the first wrong request. In addition, when the error request is obtained through the monitoring program, the data processing device can also lock the monitoring program corresponding to the target page to ensure that the early warning judgment method of the target page is not triggered in a large amount, and ensure that the same CDN resource only processes the error request triggered for the first time and other subsequent error requests are ignored.
203. And if the error request accords with a preset rule, acquiring a first CDN resource corresponding to the target page.
In this embodiment, when it is determined that the error request meets the preset rule, the data processing device may determine that the first CDN resource corresponding to the target page is the CDN resource with the unhealthy state, and may acquire the first CDN resource, where an acquisition manner is not specifically limited herein.
204. And calling the CDN resources with healthy state in the CDN warehouse to replace the first CDN resources so as to update the target page.
In this embodiment, the data processing apparatus may call CDN resources in a healthy state in a CDN warehouse, and replace the first CDN resource with the CDN resource in the healthy state called in the warehouse to update the target page, where the CDN warehouse stores a plurality of CDN resources in a healthy state. That is to say, when it is determined that the state of the CDN resource corresponding to the target page is unhealthy, the CDN resource that is unhealthy in the state is marked, and the CDN resource that is unhealthy in the state is replaced with the state-healthy CDN resource in the CDN warehouse, so as to ensure that the user normally accesses the web page.
It should be noted that the administrator may enter a CDN resource in a healthy state into the CDN warehouse in advance, and in addition, the CDN warehouse may store a CDN resource marked as unhealthy in state and not yet in time for auditing.
In one embodiment, the data processing apparatus may mark the first CDN resource as an unhealthy CDN resource and notify an administrator to review the first CDN resource.
In this embodiment, when the data processing apparatus determines that the target request meets the preset rule, the first CDN resource may be marked as an unhealthy CDN resource, where the marking is to prompt the first CDN resource to be an unhealthy resource, avoid replacing the unhealthy CDN resource in a subsequent CDN resource replacement process, and notify an administrator to audit the first CDN resource, it may be understood that the first CDN resource may be notified by the administrator in a manner of sending a short message, or in another manner, such as outputting prompt information (a prompt tone, a prompt text, and/or a prompt animation, etc.), a WeChat, or a mail, and is not particularly limited.
In one embodiment, if all CDN resources in the CDN warehouse are CDN resources with unhealthy states, all CDN resources in the CDN warehouse are removed, and the target page is updated through the cloud local resources.
In this embodiment, there is an extreme case, that is, all CDN resources in the CDN warehouse are CDN resources whose marked states are unhealthy, and the administrator does not process and audit the CDN resources marked as unhealthy in the CDN warehouse within a specified time (e.g., 10 minutes or other duration), at this time, in order to ensure that the user normally accesses the web page, all CDN resources in the CDN warehouse may be removed, covered with the cloud local resources, the page may be updated, and the administrator may be notified.
In one embodiment, the data processing apparatus may further receive a CDN customization request for the target object;
responding to the CDN customizing request, and configuring a second CDN resource according to the CDN customizing request;
adding the second CDN resource to the CDN warehouse.
In this embodiment, a dedicated CDN request may be customized for the target object according to the requirement of the target object, and the configured second CDN resource is stored in the CDN warehouse, so as to satisfy the personalized processing scheme under the general function. The specific configuration of the customized CDN is not specifically limited, as long as the personalized requirements of different users can be met.
205. Other operations are performed.
In this embodiment, when the data processing apparatus determines that the error request does not meet the preset rule, that is, the error request is not a first error request of a target page when loading the CDN resource fails, or the error request does not meet the preset error rule, the data processing apparatus may record the error request to a log for subsequent review by an administrator.
It should be noted that, the CDN resources in the CDN warehouse that are in a healthy state and the CDN resources in an unhealthy state are distinguished by a marking method (that is, the CDN resources in the unhealthy state are marked, and the CDN resources in the healthy state are not marked), and certainly, the CDN resources in the unhealthy state and the CDN resources in the unhealthy state may also be distinguished by other methods, for example, an identifier of the CDN resources in the unhealthy state is recorded, for example, the CDN resources in the healthy state and the CDN resources in the unhealthy state are marked differently, as long as the CDN resources in the CDN warehouse that are in the unhealthy state and the CDN resources in the healthy state can be distinguished, which is not.
In summary, it can be seen that, in the embodiment provided by the present application, a preset rule is set in advance, and an error request corresponding to a target page is determined according to the preset rule, and when the error request meets the preset rule, a CDN resource in a healthy state in a CDN warehouse is called to replace a first CDN resource of the target page, so as to ensure normal access of a user to the target page. Therefore, through setting an error early warning mechanism, manual maintenance is not needed, compared with the existing manual maintenance which is always needed, firstly, the labor cost can be saved, secondly, because a plurality of CDN resources with healthy states are stored in a CDN warehouse, when a certain CDN resource goes wrong, the CDN resources with healthy states in the warehouse can be immediately and automatically replaced, the waiting time of online access of a user is reduced, and the user experience is improved.
The embodiments of the present application are described above from the perspective of a data processing method, and are described below from the perspective of a data processing apparatus with reference to fig. 3.
Referring to fig. 3, fig. 3 is a schematic view of a virtual structure of a data processing apparatus according to an embodiment of the present application, where the data processing apparatus includes:
an obtaining unit 301, configured to obtain an error request corresponding to a target page, where the target page is an access page in which loading of a content delivery network CDN resource fails;
a determining unit 302, configured to determine whether the error request meets a preset rule;
the obtaining unit 301 is further configured to obtain a first CDN resource corresponding to the target page when the error request meets the preset rule;
the processing unit 303 is configured to call a CDN resource in a CDN warehouse that is in a healthy state to replace the first CDN resource, so as to update the target page, where the CDN warehouse stores a plurality of CDN resources in a healthy state.
Optionally, the determining unit 302 is specifically configured to:
judging whether the error request is a first error request corresponding to the target page or not, and judging whether the error request accords with a preset error rule or not;
if the error request is a first error request corresponding to the target page and the error request conforms to a preset error rule, determining that the error request conforms to the preset rule;
and if the error request is not the first error request corresponding to the target page and/or the error request does not accord with a preset error rule, determining that the error request does not accord with the preset rule.
Optionally, the predetermined error rule includes at least one of an access timeout, an irregular return, and a malicious jump.
Optionally, the processing unit 303 is further configured to:
when all CDN resources in the CDN warehouse are CDN resources with unhealthy states, all CDN resources in the CDN warehouse are removed;
the data processing apparatus further includes:
an updating unit 304, configured to update the target page through the cloud local resource.
Optionally, the processing unit 303 is further configured to:
marking the first CDN resource as a CDN resource with unhealthy state;
and informing an administrator to audit the first CDN resource.
Optionally, the processing unit 303 is further configured to:
and when the error request accords with the preset rule, ignoring other error requests except the first error request corresponding to the target page.
Optionally, the processing unit 303 is further configured to:
receiving a CDN customization request of a target object;
responding to the CDN customizing request, and configuring a second CDN resource according to the CDN customizing request;
adding the second CDN resource to the CDN warehouse.
It should be noted that, in the present embodiment, the interaction method between the units of the data processing apparatus is as the steps of the data processing method described in the above fig. 2,
in summary, it can be seen that, in the embodiment provided by the present application, a preset rule is set in advance, and an error request corresponding to a target page is determined according to the preset rule, and when the error request meets the preset rule, a CDN resource in a healthy state in a CDN warehouse is called to replace a first CDN resource of the target page, so as to ensure normal access of a user to the target page. Therefore, the error early warning mechanism is arranged, manual maintenance is not needed, compared with the existing manual maintenance, firstly, the labor cost can be saved, secondly, a plurality of CDN resources with healthy states are stored in a CDN warehouse, when a certain CDN resource goes wrong, the CDN resources with the healthy states in the warehouse only need to be replaced, the waiting time of online access of a user is reduced, and the user experience is improved.
Referring to fig. 4, fig. 4 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention, the server 400 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 422 (e.g., one or more processors) and a memory 432, and one or more storage media 430 (e.g., one or more mass storage devices) storing an application 442 or data 444. Wherein the memory 432 and storage medium 430 may be transient or persistent storage. The program stored on the storage medium 430 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 422 may be arranged to communicate with the storage medium 430, and execute a series of instruction operations in the storage medium 430 on the server 400.
The server 400 may also include one or more power supplies 426, one or more wired or wireless network interfaces 450, one or more input-output interfaces 458, and/or one or more operating systems 441, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
The steps performed by the data processing apparatus in the above-described embodiments may be based on the server structure shown in fig. 4.
The embodiment of the present application further provides a computer storage medium, on which a program is stored, and the program, when executed by a processor, implements the steps of the data processing method.
The embodiment of the application further provides a processor, wherein the processor is used for running a program, and the program executes the steps of the data processing method when running.
The embodiment of the application also provides terminal equipment, the equipment comprises a processor, a memory and a program which is stored on the memory and can be run on the processor, and the steps of the data processing method are realized when the processor executes the program.
The present application also provides a computer program product adapted to perform the steps of the data processing method described above when executed on a data processing device.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, 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, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A data processing method, comprising:
acquiring an error request corresponding to a target page, wherein the target page is an access page which fails to load CDN resources;
judging whether the error request accords with a preset rule or not;
if the error request conforms to the preset rule, acquiring a first CDN resource corresponding to the target page;
and calling CDN resources with healthy states in a CDN warehouse to replace the first CDN resource so as to update the target page, wherein a plurality of CDN resources with healthy states are stored in the CDN warehouse.
2. The method of claim 1, wherein the determining whether the error request complies with a predetermined rule comprises:
judging whether the error request is a first error request corresponding to the target page or not, and judging whether the error request accords with a preset error rule or not;
if the error request is a first error request corresponding to the target page and the error request conforms to a preset error rule, determining that the error request conforms to the preset rule;
and if the error request is not the first error request corresponding to the target page and/or the error request does not accord with a preset error rule, determining that the error request does not accord with the preset rule.
3. The method of claim 2, wherein the predetermined error rules comprise at least one of an access timeout, an irregular return, and a malicious jump.
4. The method according to any one of claims 1 to 3, further comprising:
if all CDN resources in the CDN warehouse are marked as CDN resources with unhealthy states, all CDN resources in the CDN warehouse are removed;
and updating the target page through cloud local resources.
5. The method according to any one of claims 1 to 3, further comprising:
marking the first CDN resource as a CDN resource with unhealthy state;
and informing an administrator to audit the first CDN resource.
6. The method according to any one of claims 1 to 3, further comprising:
and if the error request accords with the preset rule, ignoring other error requests except the first error request corresponding to the target page.
7. The method according to any one of claims 1 to 3, further comprising:
receiving a CDN customization request of a target object;
responding to the CDN customizing request, and configuring a second CDN resource according to the CDN customizing request;
adding the second CDN resource to the CDN warehouse.
8. A data processing apparatus, comprising:
the device comprises an obtaining unit, a processing unit and a processing unit, wherein the obtaining unit is used for obtaining an error request corresponding to a target page, and the target page is an access page which fails to load Content Delivery Network (CDN) resources;
the judging unit is used for judging whether the error request accords with a preset rule or not;
the obtaining unit is further configured to obtain a first CDN resource corresponding to the target page when the error request meets the preset rule;
and the processing unit is used for calling the CDN resources with healthy states in the CDN warehouse to replace the first CDN resources so as to update the target page, and the CDN warehouse stores a plurality of CDN resources with healthy states.
9. A computer arrangement comprising at least one connected processor, memory and transceiver, wherein the memory is adapted to store program code and the processor, when calling the program code in the memory, performs the steps of the data processing method according to any of claims 1 to 7.
10. Computer storage medium, characterized in that it comprises instructions which, when run on a computer, cause the computer to carry out the steps of the data processing method according to any one of claims 1 to 7.
CN201911048979.9A 2019-10-30 2019-10-30 Data processing method and related equipment Active CN110839066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911048979.9A CN110839066B (en) 2019-10-30 2019-10-30 Data processing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911048979.9A CN110839066B (en) 2019-10-30 2019-10-30 Data processing method and related equipment

Publications (2)

Publication Number Publication Date
CN110839066A true CN110839066A (en) 2020-02-25
CN110839066B CN110839066B (en) 2022-07-15

Family

ID=69576010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911048979.9A Active CN110839066B (en) 2019-10-30 2019-10-30 Data processing method and related equipment

Country Status (1)

Country Link
CN (1) CN110839066B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472888A (en) * 2021-07-07 2021-10-01 挂号网(杭州)科技有限公司 Webpage access method, device, server equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170142120A1 (en) * 2015-11-16 2017-05-18 Le Holdings (Beijing) Co., Ltd. Method for detecting operations of function management and configuration server, legitimate client, content delivery network (cdn) node, and system
CN107832329A (en) * 2017-09-26 2018-03-23 中国平安人寿保险股份有限公司 Page resource acquisition methods and terminal device
CN108632313A (en) * 2017-03-20 2018-10-09 天脉聚源(北京)科技有限公司 A kind of method and system of content distributing network management data resource
CN108737532A (en) * 2018-05-11 2018-11-02 北京大米科技有限公司 A kind of resource acquiring method, client, computer equipment and readable medium
CN108847984A (en) * 2018-06-27 2018-11-20 北京云端智度科技有限公司 A kind of CDN global load balancing strategy of the health algorithm based on SNMP
CN109474668A (en) * 2018-10-16 2019-03-15 平安科技(深圳)有限公司 CDN service switching method, device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170142120A1 (en) * 2015-11-16 2017-05-18 Le Holdings (Beijing) Co., Ltd. Method for detecting operations of function management and configuration server, legitimate client, content delivery network (cdn) node, and system
CN108632313A (en) * 2017-03-20 2018-10-09 天脉聚源(北京)科技有限公司 A kind of method and system of content distributing network management data resource
CN107832329A (en) * 2017-09-26 2018-03-23 中国平安人寿保险股份有限公司 Page resource acquisition methods and terminal device
CN108737532A (en) * 2018-05-11 2018-11-02 北京大米科技有限公司 A kind of resource acquiring method, client, computer equipment and readable medium
CN108847984A (en) * 2018-06-27 2018-11-20 北京云端智度科技有限公司 A kind of CDN global load balancing strategy of the health algorithm based on SNMP
CN109474668A (en) * 2018-10-16 2019-03-15 平安科技(深圳)有限公司 CDN service switching method, device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472888A (en) * 2021-07-07 2021-10-01 挂号网(杭州)科技有限公司 Webpage access method, device, server equipment and storage medium
CN113472888B (en) * 2021-07-07 2024-01-05 挂号网(杭州)科技有限公司 Webpage access method and device, server equipment and storage medium

Also Published As

Publication number Publication date
CN110839066B (en) 2022-07-15

Similar Documents

Publication Publication Date Title
US10372478B2 (en) Using diversity to provide redundancy of virtual machines
CN107534570B (en) Computer system, method and medium for virtualized network function monitoring
US20210006628A1 (en) Managing operation of instances
US9929918B2 (en) Profile-based SLA guarantees under workload migration in a distributed cloud
EP3402131A1 (en) Resource configuration method, virtualized network function manager and network element management system
US9158577B2 (en) Immediately launching applications
CN105262608B (en) Monitoring method and device for network service
CN110245031B (en) AI service opening middle platform and method
CN110197064B (en) Process processing method and device, storage medium and electronic device
CN110839066B (en) Data processing method and related equipment
CN108270753B (en) Method and device for logging out user account
US9135084B2 (en) Service provider class application scalability and high availability and processing prioritization using a weighted load distributor and throttle middleware
CN114363334A (en) Network configuration method, device and equipment for cloud system and cloud desktop virtual machine
US20220206836A1 (en) Method and Apparatus for Processing Virtual Machine Migration, Method and Apparatus for Generating Virtual Machine Migration Strategy, Device and Storage Medium
CN110764838B (en) Service model loading method and system, electronic equipment and storage medium
US9585034B1 (en) Automated response system deactivation during large scale issues and managing wireless network operations
CN105338058A (en) Application updating method and device
CN110515701B (en) Thermal migration method and device for virtual machine
CN114780333A (en) Log printing control method and device
CN109547439B (en) Processing method and device for service node access network
CN109428914B (en) Monitoring method and device, storage medium and processor
CN109857721A (en) It will be single by GAIA system migration to the method for OSS system on way
CN111625421B (en) Method and device for monitoring distributed storage system, storage medium and processor
CN111307197B (en) Information recording method and management equipment
CN112583779B (en) Network resource access 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
GR01 Patent grant
GR01 Patent grant