CN108833517A - Data processing system, method, electronic equipment and storage medium - Google Patents
Data processing system, method, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN108833517A CN108833517A CN201810569961.2A CN201810569961A CN108833517A CN 108833517 A CN108833517 A CN 108833517A CN 201810569961 A CN201810569961 A CN 201810569961A CN 108833517 A CN108833517 A CN 108833517A
- Authority
- CN
- China
- Prior art keywords
- resource
- request
- transfers
- data
- data processing
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5083—Techniques for rebalancing the load in a distributed system
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
Abstract
The embodiment provides a kind of data processing system, method, electronic equipment and storage mediums.The system includes:Front end system, including the first load balancer and static resource library, the first resource that the first load balancer is used to receive client transmission transfers request, to transfer corresponding static resource data from static resource library and be sent to client;Back-end system, including the second load balancer and at least one service node, service node is stored with dynamic resource data, the Secondary resource that second load balancer is used to receive client transmission transfers request, it is sent with transferring corresponding dynamic resource Data Concurrent from service node to client, wherein, first resource transfers request as the request of transferring to static resource data, and Secondary resource transfers request to transfer request to dynamic resource data.The technical solution of the embodiment of the present invention can be realized being separated from each other for static resource and dynamic resource, reduce the degree of coupling between software module.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of data processing system, data processing method,
Electronic equipment and computer readable storage medium.
Background technique
With the development of internet technology, occur it is various to WEB (World Wide Web, WWW) resource data into
The network frame of row processing.
It is static in MVC frame by taking MVC (Model View Controller, model-view-control structure) frame as an example
Resource and dynamic resource are stored in same position, in calling resource, need to static resource and dynamic resource while locating
It manages, so that the degree of coupling between the software module in the frame is higher, develops and dispose and is more complicated.
Accordingly, it is desirable to provide a kind of data processing system for the one or more problems being able to solve in the above problem, number
According to processing method, electronic equipment and computer readable storage medium.
It should be noted that information is only used for reinforcing the reason to background of the present invention disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The embodiment of the present invention be designed to provide a kind of data processing system, data processing method, electronic equipment and
Computer readable storage medium, and then overcome one caused by the limitation and defect due to the relevant technologies at least to a certain extent
A or multiple problems.
According to a first aspect of the embodiments of the present invention, a kind of data processing system is provided, including:Front end system, including
First load balancer and the static resource library for being stored with static resource data, first load balancer is for receiving visitor
The first resource that family end is sent transfers request, transfers request based on the first resource and transfers correspondence from the static resource library
Static resource data, and the static resource data transferred is sent to the client;Back-end system, including the second load are equal
Weighing apparatus and at least one service node, the service node are stored with dynamic resource data, and second load balancer is used
Request is transferred in receiving the Secondary resource that the client is sent, is saved with transferring request by the Secondary resource from the service
It transfers corresponding dynamic resource Data Concurrent in point to send to the client, wherein the first resource transfers request as to institute
The request of transferring of the static resource data in static resource library is stated, the Secondary resource transfers request as to the service node
Dynamic resource data transfer request.
In some embodiments of the invention, aforementioned schemes are based on, the data processing system further includes:Resource transfers control
Platform processed, the resource transfer control platform and include:Receiving unit, the resource for receiving the client transmission, which is transferred, asks
It asks;Division unit, for by the resource transfer request be divided into the first resource transfer request and the Secondary resource tune
Take request;Transmission unit, for the first resource being transferred request respectively and the Secondary resource transfers request and is sent to institute
State the first load balancer and second load balancer.
In some embodiments of the invention, aforementioned schemes are based on, the division unit includes:Resolution unit, for pair
The resource is transferred request and is parsed to obtain the suffix name to calling resource;Request division unit, for based on it is described to
The suffix name of calling resource by the resource transfer request be divided into the first resource transfer request and the Secondary resource tune
Take request.
In some embodiments of the invention, aforementioned schemes are based on, the data processing system further includes:Networking Platform,
Request is transferred for receiving the Secondary resource that second load balancer is sent, the Secondary resource is parsed and transfers request
The address information that Secondary resource transfers the service node for including in request is obtained, according to the address information by described second
Resource transfers request and is forwarded to the corresponding service node, and the dynamic resource data that will be obtained from the service node
It is sent to the client.
In some embodiments of the invention, aforementioned schemes are based on, the data processing system further includes:Register platforms,
The node state data for obtaining the service node, base are monitored for the working condition at least one service node
Judge whether the service node breaks down in the node state data, when determining that the service node breaks down,
Forbid transferring request to the service node transmission Secondary resource.
According to a second aspect of the embodiments of the present invention, a kind of data processing method is provided, above-mentioned first aspect is applied to
The data processing system, including:It receives the first resource that client is sent and transfers request, transferred based on the first resource
Corresponding static resource data is transferred in request from the static resource library, and the static resource data transferred is sent to described
Client;It receives the Secondary resource that the client is sent and transfers request, requested with being transferred by the Secondary resource from described
Corresponding dynamic resource Data Concurrent is transferred in service node to send to the client;Wherein, the first resource transfers request
For the request of transferring to the static resource data in the static resource library, the Secondary resource transfers request as to the service
The dynamic resource data of node transfer request.
In some embodiments of the invention, aforementioned schemes are based on, the data processing method further includes:Receive the visitor
The resource that family end is sent transfers request;By the resource transfer request be divided into the first resource transfer request and described second
Resource transfers request;The first resource is transferred into request respectively and the Secondary resource transfers request to be sent to described first negative
Carry balanced device and second load balancer.
In some embodiments of the invention, aforementioned schemes are based on, the resource is transferred into request and is divided into described first
Resource transfers request and the Secondary resource transfers request, including:Request is transferred to the resource to be parsed to obtain wait adjust
Take the suffix name of resource;The resource is transferred into request based on the suffix name to calling resource and is divided into the first resource
It transfers request and the Secondary resource transfers request.
According to a third aspect of the embodiments of the present invention, a kind of electronic equipment is provided, including:Processor;And memory,
It is stored with computer-readable instruction on the memory, is realized when the computer-readable instruction is executed by the processor as above
State data processing method described in second aspect.
According to a fourth aspect of the embodiments of the present invention, a kind of computer readable storage medium is provided, meter is stored thereon with
Calculation machine program realizes the data processing method as described in above-mentioned second aspect when the computer program is executed by processor.
In the technical solution provided by some embodiments of the present invention, on the one hand, by static resource library and clothes
Static resource and dynamic resource are stored respectively in business node, realize being separated from each other for static resource and dynamic resource;Another party
Face transfers request and transfers static resource data by the first resource that the first load balancer customer in response end is sent, by the
The Secondary resource that two load balancer customer in response ends are sent transfers request and transfers dynamic resource data, can reduce software module
Between the degree of coupling, improve the scalability of program, convenient for exploitation and deployment.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 shows the schematic block diagram of data processing system according to some embodiments of the present invention;
Fig. 2 shows the schematic block diagrams that resource according to some embodiments of the present invention transfers control platform;
Fig. 3 shows the schematic block diagram of division unit according to some embodiments of the present invention;
Fig. 4 shows the schematic block diagram of the data processing system of other embodiments according to the present invention;
Fig. 5 shows the flow diagram of data processing method according to some embodiments of the present invention;
Fig. 6 shows the flow diagram transferred controlled to resource according to some embodiments of the present invention;
Fig. 7, which is shown, transfers the flow diagram that request is divided to resource according to some embodiments of the present invention;
Fig. 8 shows the structural schematic diagram for being suitable for the computer system for the electronic equipment for being used to realize the embodiment of the present invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms
It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the present invention will be comprehensively and complete
It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure
Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to the embodiment of the present invention.However,
It will be appreciated by persons skilled in the art that technical solution of the present invention can be practiced without one or more in specific detail,
Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side
Method, device, realization or operation are to avoid fuzzy each aspect of the present invention.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit
These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step,
It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close
And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
Fig. 1 shows the schematic block diagram of data processing system according to some embodiments of the present invention.Shown in referring to Fig.1,
The data processing system 100 may include:Front end system 110 and back-end system 120.Wherein, front end system 110 may include
One load balancer 114 and static resource library 118 are stored with static resource data in static resource library 118;Back-end system
120 may include the second load balancer 124 and at least one service node 128, at least one described service node 128
It is stored with dynamic resource data.
In the example embodiment of Fig. 1, on the one hand, by being deposited respectively in static resource library 118 and service node 128
Static resource and dynamic resource are stored up, being separated from each other for static resource and dynamic resource is realized;On the other hand, pass through the first load
The first resource that equalizer response client is sent transfers request and transfers static resource data, is responded by the second load balancer
The Secondary resource that client is sent transfers request and transfers dynamic resource data, can reduce the degree of coupling between software module, mentions
The scalability of high program, convenient for exploitation and deployment.
First load balancer 114 is connected with static resource library 118, for receiving the first money of the transmission of client 130
Request is transferred in source, is transferred request based on the first resource and is transferred corresponding static resource data from static resource library 118, and will
The static resource data transferred is sent to client 130.Static resource data may include:Designed HTML (HyperText
Markup Language, hypertext markup language) relatively fixed constant data in the page and html page, such as the page
Typesetting distribution, page color etc..
Second load balancer 124 be used for receive client 130 transmission Secondary resource transfer request, with pass through this second
Resource transfers request and transfers corresponding dynamic resource Data Concurrent from service node 128 and send to the client 130.Dynamic provides
Source data may include:The quotient stored in JSP page (Java Server Pages, the java server page) and database
The higher data of the changeabilities such as product information, goods amount.
It should be noted that in an exemplary embodiment of the invention, client 130 can be browser and/or other are answered
With program such as wechat, Alipay etc., the present invention is to this without particular determination.
Further, in some embodiments, which can also include that resource transfers control platform.
Referring to shown in Fig. 2, which transfers control platform 200 and may include:Receiving unit 210, division unit 220 and transmission unit
230.Wherein, the resource that receiving unit 210 is used to receive the transmission of client 130 transfers request;Division unit 220 is used for the money
It transfers request and is divided into that first resource transfers request and Secondary resource transfers request in source;Transmission unit 230 is used for respectively by first
Resource transfers request and Secondary resource transfers request and is sent to the first load balancer 114 and second load balancer 124.
In an exemplary embodiment of the invention, resource transfers control platform 200 and is receiving client by receiving unit 210
The resources that end 130 is sent are when transferring request, the resource transferred request by division unit 220 are divided into first resource and transfer and ask
Ask that i.e. static resource transfers request and Secondary resource transfers the i.e. dynamic resource of request and transfers request, then by transmission unit 230
First resource is transferred into request and is sent to the first load balancer 114, Secondary resource is transferred request, and to be sent to the second load equal
Weighing apparatus 124.Corresponding static resource data is transferred from static resource library 118 by the first load balancer 114 and will be transferred
Static resource data be sent to client 130;It is transferred from service node 128 by the second load balancer 124 corresponding
Dynamic resource Data Concurrent is sent to client 130.
Further, in some embodiments, division unit 220 may include that resolution unit 224 and request divide list
Member 228, wherein resolution unit 224 is used to transfer the resource request and is parsed to obtain the suffix name to calling resource;
Request division unit 228 is divided into described first for the resource to be transferred request based on the suffix name to calling resource
Resource transfers request and the Secondary resource transfers request.
Specifically, the resource that resolution unit 224 sends client 130 is transferred request and parsed, determination will be transferred
To calling resource and obtain the suffix name of calling resource, include static resource and dynamic resource to calling resource, wherein static
The suffix name of resource is generally * .html, and the suffix name of dynamic resource is generally * .jsp, * .asp, * .php.It is obtaining wait adjust
After taking the suffix name of resource, resource is transferred by the static resource to be transferred of request based on the suffix name to calling resource and is divided into
First resource transfers request, and resource is transferred the dynamic resource to be transferred of request and is divided into Secondary resource and transfers request.
In addition, in some embodiments, data processing system 100 can also include referring to shown in Fig. 4:Networking Platform
142, which is connected with the second load balancer 124, for receiving the of the transmission of the second load balancer 124
Two resources transfer request, parse the Secondary resource and transfer the ground that request Secondary resource transfers the service node for including in request
Secondary resource is transferred request according to the address information and is forwarded to corresponding service node by location information, and will be from service node
The dynamic resource data of acquisition are sent to client 130.
In addition, in some embodiments, data processing system 100 can also include register platforms 144, the register platforms
144 connect with Networking Platform 142 and back-end system 120, supervise to the working condition of at least one service node 128
The node state data for obtaining each service node are surveyed, judges whether service node breaks down based on node state data, is sentencing
When determining service node and breaking down, forbids sending Secondary resource to service node and transfer request.In addition, register platforms 144 may be used also
To be updated in real time to node state data, foundation is provided for calling of the Networking Platform 142 to service node.
In addition, in some embodiments, data processing system 100 can also include configuration platform 146, the configuration platform
146 are connected with back-end system 120 and operation maintenance system 150, for receive the transmission of operation maintenance system 150 with confidence
Breath.The configuration warehouse 148 for being stored to configuration information is additionally provided in the configuration platform 146, which is used for
Store all configuration informations.The configuration information is written to the rear end system after receiving configuration information for configuration platform 146
System 120, to be updated to the configuration information in back-end system 120.
Further, in some embodiments, data processing system 100 can also include:Chain channel platform 152, log are flat
Platform 154 and message desk 156.Wherein, which is connected with back-end system 120, for back-end system 120
In link working state recorded, for the antenna efficiency historical record in user query back-end system 120.The log is flat
Platform 154 is connected with back-end system 120, for recording to the work log in back-end system 120, after user query
The history run of end system 120 records.The message desk 156 is connected with back-end system 120 and configuration platform 146 respectively, uses
In for each service node progress asynchronous communication in back-end system 120, and the configuration modification letter that reception configuration platform 146 is sent
Breath, is sent to back-end system 120 for the configuration modification information, to modify to the configuration information in back-end system 120.
Fig. 5 shows the flow diagram of data processing method according to some embodiments of the present invention.The data processing
Method can be applied to above-mentioned data processing system, and referring to Figure 5, which may comprise steps of:
Step S510 receives the first resource that client is sent and transfers request, transfers request from the static state based on the first resource
Corresponding static resource data is transferred in resources bank, and the static resource data transferred is sent to the client;Step
S520 receives the Secondary resource that the client is sent and transfers request, to transfer request from the clothes by the Secondary resource
Corresponding dynamic resource Data Concurrent is transferred in business node to send to the client;Wherein, the first resource transfers request and is
Request of transferring to the static resource data in the static resource library, the Secondary resource transfer request to save to the service
The dynamic resource data of point transfer request.
Fig. 6 shows the flow diagram transferred controlled to resource according to some embodiments of the present invention.Referring to Fig. 6
Shown, the data processing method is further comprising the steps of:Step S610 receives the resource that the client is sent and transfers request;
Step S620, by the resource transfer request be divided into the first resource transfer request and the Secondary resource transfer request;
The first resource is transferred request respectively and the Secondary resource transfers request and is sent to first load by step S630
Weighing apparatus and second load balancer.
Fig. 7, which is shown, transfers the flow diagram that request is divided to resource according to some embodiments of the present invention.Ginseng
According to shown in Fig. 7, above-mentioned steps S620 may include:Step S710 transfers request to the resource and is parsed to obtain wait adjust
Take the suffix name of resource;The resource is transferred request based on the suffix name to calling resource and is divided into institute by step S720
State first resource transfer request and the Secondary resource transfer request.
In some embodiments of the invention, aforementioned schemes are based on, the data processing method further includes:Receive described
The Secondary resource that two load balancers are sent transfers request, parses the Secondary resource and transfers request Secondary resource tune
The Secondary resource is transferred request according to the address information and turned by the address information for taking the service node for including in request
It is sent to the corresponding service node, and the dynamic resource data obtained from the service node are sent to the client
End.
In some embodiments of the invention, aforementioned schemes are based on, the data processing method further includes:To it is described at least
The working condition of one service node is monitored the node state data for obtaining the service node, is based on the node state
Data judge whether the service node breaks down, and when determining that the service node breaks down, forbid to the service
Node sends the Secondary resource and transfers request.
Due to each step of data processing method and showing for above-mentioned data processing system 100 of example embodiments of the present invention
Each functional module of example embodiment is corresponding, therefore details are not described herein.
In an exemplary embodiment of the present invention, a kind of electronic equipment that can be realized the above method is additionally provided.
Below with reference to Fig. 8, it illustrates the computer systems 800 for the electronic equipment for being suitable for being used to realize the embodiment of the present invention
Structural schematic diagram.The computer system 800 of electronic equipment shown in Fig. 8 is only an example, should not be to the embodiment of the present invention
Function and use scope bring any restrictions.
As shown in figure 8, computer system 800 includes central processing unit (CPU) 801, it can be read-only according to being stored in
Program in memory (ROM) 802 or be loaded into the program in random access storage device (RAM) 803 from storage section 808 and
Execute various movements appropriate and processing.In RAM803, it is also stored with various programs and data needed for system operatio.CPU
801, ROM 802 and RAM 803 is connected with each other by bus 804.Input/output (I/O) interface 805 is also connected to bus
804。
I/O interface 805 is connected to lower component:Importation 806 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 807 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 808 including hard disk etc.;
And the communications portion 809 of the network interface card including LAN card, modem etc..Communications portion 809 via such as because
The network of spy's net executes communication process.Driver 810 is also connected to I/O interface 805 as needed.Detachable media 811, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 810, in order to read from thereon
Computer program be mounted into storage section 808 as needed.
Particularly, according to an embodiment of the invention, may be implemented as computer above with reference to the process of flow chart description
Software program.For example, the embodiment of the present invention includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 809, and/or from detachable media
811 are mounted.When the computer program is executed by central processing unit (CPU) 801, executes and limited in the system of the application
Above-mentioned function.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more conducting wires, just
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. or above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in unit involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part realizes that described unit also can be set in the processor.Wherein, the title of these units is in certain situation
Under do not constitute restriction to the unit itself.
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when the electronics is set by one for said one or multiple programs
When standby execution, so that the electronic equipment realizes such as above-mentioned data processing method as described in the examples.
For example, the electronic equipment may be implemented as shown in Figure 5:Step S510 receives client is sent first
Resource transfers request, transfers request based on the first resource and transfers corresponding static resource number from the static resource library
According to, and the static resource data transferred is sent to the client;Or step S520, receive that the client sends the
Two resources transfer request, and corresponding dynamic resource number is transferred from the service node to transfer request by the Secondary resource
According to and be sent to the client;Wherein, the first resource transfers request as to the static resource in the static resource library
Data transfer request, and the Secondary resource transfers request and transfers request for the dynamic resource data to the service node.
It should be noted that although being referred to several modules for acting the device executed in the above detailed description
Or unit, but this division is not enforceable.In fact, embodiment according to the present invention, above-described two
Or more the feature and function of module or unit can be embodied in a module or unit.Conversely, above-described
One module or the feature and function of unit can be to be embodied by multiple modules or unit with further division.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, touch control terminal or network equipment etc.) executes embodiment according to the present invention
Method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. a kind of data processing system, which is characterized in that including:
Front end system including the first load balancer and is stored with the static resource library of static resource data, and described first is negative
It carries balanced device and transfers request for receiving the first resource of client transmission, transferred and requested from described quiet based on the first resource
Corresponding static resource data is transferred in state resources bank, and the static resource data transferred is sent to the client;
Back-end system, including the second load balancer and at least one service node, the service node are stored with dynamic and provide
Source data, second load balancer is used to receive the Secondary resource that the client is sent and transfers request, by described
Secondary resource transfers request and transfers corresponding dynamic resource Data Concurrent from the service node and send to the client,
Wherein, the first resource transfers request as the request of transferring to the static resource data in the static resource library, institute
Stating Secondary resource and transferring request is to transfer request to the dynamic resource data of the service node.
2. data processing system according to claim 1, which is characterized in that the data processing system further includes:
Resource transfers control platform, and the resource transfers control platform and includes:
Receiving unit transfers request for receiving the resource that the client is sent;
Division unit, for by the resource transfer request be divided into the first resource transfer request and the Secondary resource tune
Take request;
Transmission unit, for the first resource being transferred request respectively and the Secondary resource transfers request and is sent to described the
One load balancer and second load balancer.
3. data processing system according to claim 2, which is characterized in that the division unit includes:
Resolution unit is parsed for transferring request to the resource to obtain the suffix name to calling resource;
Division unit is requested, is divided into described for the resource to be transferred request based on the suffix name to calling resource
One resource transfers request and the Secondary resource transfers request.
4. data processing system according to claim 1, which is characterized in that the data processing system further includes:
Networking Platform transfers request for receiving the Secondary resource that second load balancer is sent, parsing described the
Two resources transfer the address information that request Secondary resource transfers the service node for including in request, according to the address
The Secondary resource is transferred request and is forwarded to the corresponding service node, and the institute that will be obtained from the service node by information
It states dynamic resource data and is sent to the client.
5. data processing system according to claim 3, which is characterized in that the data processing system further includes:
Register platforms are monitored the section for obtaining the service node for the working condition at least one service node
Dotted state data judge whether the service node breaks down based on the node state data, are determining the service section
When point breaks down, forbid transferring request to the service node transmission Secondary resource.
6. a kind of data processing method, applied to data processing system described in any one of claims 1 to 5, feature exists
In, including:
It receives the first resource that client is sent and transfers request, request is transferred from the static resource library based on the first resource
In transfer corresponding static resource data, and the static resource data transferred is sent to the client;
It receives the Secondary resource that the client is sent and transfers request, to transfer request from the service by the Secondary resource
Corresponding dynamic resource Data Concurrent is transferred in node to send to the client;
Wherein, the first resource transfers request as the request of transferring to the static resource data in the static resource library, institute
Stating Secondary resource and transferring request is to transfer request to the dynamic resource data of the service node.
7. data processing method according to claim 6, which is characterized in that the data processing method further includes:
It receives the resource that the client is sent and transfers request;
By the resource transfer request be divided into the first resource transfer request and the Secondary resource transfer request;
The first resource is transferred into request respectively and the Secondary resource transfers request and is sent to first load balancer
With second load balancer.
8. data processing method according to claim 6, which is characterized in that by the resource transfer request be divided into it is described
First resource transfers request and the Secondary resource transfers request, including:
Request is transferred to the resource to be parsed to obtain the suffix name to calling resource;
Based on the suffix name to calling resource by the resource transfer request be divided into the first resource transfer request and
The Secondary resource transfers request.
9. a kind of electronic equipment, which is characterized in that including:
Processor;And
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is held by the processor
The data processing method as described in any one of claim 6 to 8 is realized when row.
10. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is executed by processor
Data processing method of the Shi Shixian as described in any one of claim 6 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810569961.2A CN108833517A (en) | 2018-06-05 | 2018-06-05 | Data processing system, method, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810569961.2A CN108833517A (en) | 2018-06-05 | 2018-06-05 | Data processing system, method, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108833517A true CN108833517A (en) | 2018-11-16 |
Family
ID=64143972
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810569961.2A Pending CN108833517A (en) | 2018-06-05 | 2018-06-05 | Data processing system, method, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108833517A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111562989A (en) * | 2020-07-14 | 2020-08-21 | 北京东方通软件有限公司 | Method and device for separate deployment of dynamic resources and static resources |
CN115842637A (en) * | 2021-08-30 | 2023-03-24 | 青岛海尔科技有限公司 | Method and device for sending control request, storage medium and electronic device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0898235A2 (en) * | 1997-07-31 | 1999-02-24 | AT&T Corp. | Method and apparatus for dynamic data transfer |
CN103051706A (en) * | 2012-12-19 | 2013-04-17 | 新浪网技术(中国)有限公司 | Dynamic webpage request processing system and method for dynamic website |
US8688702B1 (en) * | 2010-09-14 | 2014-04-01 | Imdb.Com, Inc. | Techniques for using dynamic data sources with static search mechanisms |
CN103905472A (en) * | 2012-12-25 | 2014-07-02 | 中国移动通信集团江苏有限公司 | Cloud storage method and system for access through webpage mode |
CN105763628A (en) * | 2016-04-12 | 2016-07-13 | 上海帝联信息科技股份有限公司 | Data access request processing method and device, edge node server and edge cluster |
CN106202547A (en) * | 2016-07-26 | 2016-12-07 | 努比亚技术有限公司 | A kind of station field signal method, device and a kind of web station system |
CN107911459A (en) * | 2017-11-21 | 2018-04-13 | 桂林爱家购股份有限公司 | A kind of Web page storage device |
-
2018
- 2018-06-05 CN CN201810569961.2A patent/CN108833517A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0898235A2 (en) * | 1997-07-31 | 1999-02-24 | AT&T Corp. | Method and apparatus for dynamic data transfer |
US8688702B1 (en) * | 2010-09-14 | 2014-04-01 | Imdb.Com, Inc. | Techniques for using dynamic data sources with static search mechanisms |
CN103051706A (en) * | 2012-12-19 | 2013-04-17 | 新浪网技术(中国)有限公司 | Dynamic webpage request processing system and method for dynamic website |
CN103905472A (en) * | 2012-12-25 | 2014-07-02 | 中国移动通信集团江苏有限公司 | Cloud storage method and system for access through webpage mode |
CN105763628A (en) * | 2016-04-12 | 2016-07-13 | 上海帝联信息科技股份有限公司 | Data access request processing method and device, edge node server and edge cluster |
CN106202547A (en) * | 2016-07-26 | 2016-12-07 | 努比亚技术有限公司 | A kind of station field signal method, device and a kind of web station system |
CN107911459A (en) * | 2017-11-21 | 2018-04-13 | 桂林爱家购股份有限公司 | A kind of Web page storage device |
Non-Patent Citations (4)
Title |
---|
DASHUAI的博客: "我的项目经验总结——负载均衡的理解和实战:1", 《博客园HTTPS://WWW.CNBLOGS.COM/KUBIXUESHENG/P/7497963.HTML》 * |
土豆撞地球: "负载均衡和前后端分离的问题,如何负载君合前后端分离的项目呢?", 《知乎HTTPS://WWW.ZHIHU.COM/QUESTION/68481121》 * |
梁晓涛等: "《网络视频》", 31 July 2013 * |
黄美仪等: "《数据集成方案》", 31 January 2016 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111562989A (en) * | 2020-07-14 | 2020-08-21 | 北京东方通软件有限公司 | Method and device for separate deployment of dynamic resources and static resources |
CN115842637A (en) * | 2021-08-30 | 2023-03-24 | 青岛海尔科技有限公司 | Method and device for sending control request, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109922158A (en) | Data processing method, device, medium and electronic equipment based on micro services | |
CN109947994A (en) | Processing method, device, medium and the electronic equipment of payment process | |
CN110417842A (en) | Fault handling method and device for gateway server | |
CN109697075A (en) | File updating method, system and device | |
CN107862044A (en) | The method and apparatus of displayed page | |
CN109936635A (en) | Load-balancing method and device | |
CN107844324A (en) | Customer terminal webpage redirects treating method and apparatus | |
CN108989362A (en) | A kind for the treatment of method and apparatus of static resource | |
CN110019125A (en) | The method and apparatus of data base administration | |
CN109257320A (en) | Message storage method and device | |
CN107423085A (en) | Method and apparatus for application deployment | |
CN109992406A (en) | The method and client that picture requesting method, response picture are requested | |
CN108897607A (en) | Message treatment method, device, electronic equipment and storage medium | |
CN108876379A (en) | A kind of method and apparatus for generating message | |
CN109857431A (en) | Code revision method and device, computer-readable medium and electronic equipment | |
CN109542352A (en) | Method and apparatus for storing data | |
CN110427304A (en) | O&M method, apparatus, electronic equipment and medium for banking system | |
CN110471848A (en) | A kind of method and apparatus of dynamic returned packet | |
CN110019263A (en) | Information storage means and device | |
CN110493239A (en) | The method and apparatus of authentication | |
CN110334298A (en) | Processing method, device, medium and the electronic equipment of page resource data | |
CN109582317A (en) | Method and apparatus for debugging boarding application | |
CN108833517A (en) | Data processing system, method, electronic equipment and storage medium | |
CN109818994A (en) | Information processing method and device for agent side | |
CN110445632A (en) | A kind of method and apparatus for preventing client collapse |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181116 |