CN109428872A - Data transmission method, equipment, server and starting method, system - Google Patents

Data transmission method, equipment, server and starting method, system Download PDF

Info

Publication number
CN109428872A
CN109428872A CN201710771608.8A CN201710771608A CN109428872A CN 109428872 A CN109428872 A CN 109428872A CN 201710771608 A CN201710771608 A CN 201710771608A CN 109428872 A CN109428872 A CN 109428872A
Authority
CN
China
Prior art keywords
resource
information
access
server
information collection
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
CN201710771608.8A
Other languages
Chinese (zh)
Other versions
CN109428872B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710771608.8A priority Critical patent/CN109428872B/en
Publication of CN109428872A publication Critical patent/CN109428872A/en
Application granted granted Critical
Publication of CN109428872B publication Critical patent/CN109428872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

This specification embodiment discloses a kind of data transmission method, equipment, server and starting method, system.The described method includes: receiving the resource information collection acquisition request of application server;The resource information collection acquisition request is accompanied with information set identifier;The information set identifier is for identifying corresponding resource information collection;It is concentrated in the resource information of storage, resource information collection corresponding with the information set identifier is sent to the application server, with for the application server receive client sending access request in the case where, the access information for the resource that the access request is directed toward is fed back into the client, so that the client obtains corresponding resource according to the access information.The method can promote the consistency that data update between different server.

Description

Data transmission method, equipment, server and starting method, system
Technical field
This specification is related to field of computer technology, in particular to a kind of data transmission method, equipment, server and starting Method, system.
Background technique
With the development of internet, the more and more demand needs of user are reached by network.So that the network equipment needs Data to be processed are more and more.
Traditional network system architecture uses client to service using basic " client-server " mode, user Device issues access request.After server receives access request, the total data being related to is sent to the client.At this It in communication process, is guided between client and server by router, the bridge of framework communication.
Above-mentioned basic " client-server " mode, as Internet user is more and more, data volume to be treated It is increasing, can there is a problem of that response user demand is slower in some cases.For example, between client and server Space length or communication path are very remote, need after many level routers, and the access request of client gets to take Business device, the feedback information of same server are also required to after many level routers, get to client.Such case Under, the problems such as may cause more serious network communication delay, packet loss.
In order to promote the experience of user, the speed of response user is promoted, CDN (Content Delivery is used Network) framework.Under the framework of CDN, by network place that node server constituted everywhere in existing internet One layer of intelligent virtual network on basis, CDN network system can be in real time according to the connections of network flow and each node, negative Load situation and to the integrated informations such as the distance of user and response time, re-directs the section nearest from user for the request of user Point server.
For application specific for one, picture, audio-video, the JavaScript that can will be used for application interface and show The resource deployments such as file, CSS file are in the node server of CDN, and the background server of application developers is mainly responsible for number According to core business logics such as processing operations.In some cases, it is desirable to resource or background server in node server In service logic modify, if the part that another party accordingly modifies does not have in the two after the publication of a side modified content Have to issue in time and come into force, may cause the application interface that user uses and display mistake occurs.Therefore, CDN exists in the prior art When at least one both service logics are modified in resource and background server in network, it is easy to cause the interface of application aobvious Show the problem of mistake.
Summary of the invention
This specification embodiment provides a kind of data transmission method, equipment, server and starting method, system.It can When at least one the modification of service logic is modified in resource and application server in front-end server, the two is about generation The content of modification can tend to come into force simultaneously.
To achieve the above object, this specification embodiment provides a kind of data transmission method, is applied to Resource Server, The Resource Server is stored with the resource information collection that the access information of resource is formed;The described method includes: receiving using clothes The resource information collection acquisition request of business device;The resource information collection acquisition request is accompanied with information set identifier;The information collection mark Know for identifying corresponding resource information collection;It is concentrated in the resource information of storage, it will be corresponding with the information set identifier Resource information collection is sent to the application server, to ask for the application server in the access for receiving client sending In the case where asking, the access information for the resource that the access request is directed toward is fed back into the client, so that the client Corresponding resource is obtained according to the access information.
This specification embodiment also provides a kind of server, what the access information that the server is stored with resource was formed Resource information collection;The server includes: receiving module, for receiving the resource information collection acquisition request of application server; The resource information collection acquisition request is accompanied with information set identifier;The information set identifier is for identifying corresponding resource information Collection;Sending module will resource information collection hair corresponding with the information set identifier for the resource information concentration in storage Give the application server, with for the application server receive client sending access request in the case where, The access information for the resource that the access request is directed toward is fed back into the client, so that the client is according to the access The corresponding resource of acquisition of information.
This specification embodiment also provides a kind of electronic equipment, and the electronic equipment includes: memory, network communication list Member and processor;The memory is stored with the resource information collection that the access information of resource is formed;The network communication unit is used In the resource information collection acquisition request for receiving application server;The resource information collection acquisition request is accompanied with information collection mark Know;The information set identifier is for identifying corresponding resource information collection;The resource information collection that the processor provides is sent to The application server, with for the application server receive client sending access request in the case where, by institute The access information for stating the resource of access request direction feeds back to the client, so that the client is according to the access information Obtain corresponding resource;The processor is used to concentrate in the resource information of storage, will be corresponding with the information set identifier Resource information collection transfer to the network communication unit to be sent to the application server.
This specification embodiment also provides a kind of data transmission method, is applied to application server, which comprises Resource information collection acquisition request is issued to Resource Server, the resource information collection acquisition request is accompanied with information set identifier;Institute Information set identifier is stated for identifying corresponding resource information collection;The resource information concentrates the access information including resource;It receives The resource information collection of the Resource Server feedback, for inciting somebody to action in the case where receiving the access request of client sending The access information for the resource that the access request is directed toward feeds back to the client, to be used for the client according to the access The corresponding resource of acquisition of information.
This specification embodiment also provides a kind of server, comprising: obtains module, provides for issuing to Resource Server Source information collection acquisition request, the resource information collection acquisition request are accompanied with information set identifier;The information set identifier is for marking Know corresponding resource information collection;The resource information concentrates the access information including resource;Information collection receiving module, for receiving The resource information collection of the Resource Server feedback, for inciting somebody to action in the case where receiving the access request of client sending The access information for the resource that the access request is directed toward feeds back to the client, to be used for the client according to the access The corresponding resource of acquisition of information.
This specification embodiment also provides a kind of electronic equipment, and the electronic equipment includes: memory, network communication list Member and processor;The network communication unit is used to issue resource information collection acquisition request, the resource letter to Resource Server Breath collection acquisition request is accompanied with information set identifier;The information set identifier is for identifying corresponding resource information collection;The resource Information concentrates the access information including resource;Receive the resource information collection of the Resource Server feedback;Client is received to issue Access request;The access information that the processor provides is sent to client;The memory is for storing the resource Information collection;The processor is used for the money that according to the access request, access request described in the resource information collection is directed toward The access information in source transfers to the network communication unit.
This specification embodiment also provides a kind of starting method of application server, which comprises loading procedure Instruction set;Resource information collection acquisition request is issued to Resource Server;The resource information collection of the Resource Server feedback is received, So that the money that in the case where receiving the access request of client sending, the access request is directed toward for the application server The access information in source feeds back to the client, to obtain corresponding resource according to the access information for the client.
This specification embodiment also provides a kind of Knowledge Management System, comprising: publication when being published based on resource The resources and knowledge library and Resource Server that journey information is formed;The Resource Server is used to store the access information shape of the resource At resource information collection;In the case where receiving the resource information acquisition request of the first application server, in the resource information It concentrates and searches access information corresponding with the resource information acquisition request;The resource information concentrate not with the resource In the case where the corresponding access information of information acquisition request, the issuing process information of the resource is obtained from the resources and knowledge library Described in access information;The access information is sent to first application server.
The technical solution provided by above this specification embodiment is as it can be seen that the method that this specification embodiment provides can Actively to obtain corresponding resource information collection to Resource Server from application server.Also, application server can be specific By providing information set identifier so that Resource Server can determine resource information collection corresponding with application server.In this way, When application server does not obtain resource information collection, the program instruction updated not yet comes into force.When application server acquisition is corresponding When resource information collection, in can be with the state of the access request at customer in response end when so that the program instruction of application server is raw Effect, the resource information collection of response are also at active states.The two tends to come into force simultaneously in time, also avoids because of the entry-into-force time Problem caused by difference.
Detailed description of the invention
It, below will be to embodiment party in order to illustrate more clearly of this specification embodiment or technical solution in the prior art Formula or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, the accompanying drawings in the following description is only It is only some embodiments recorded in this specification, for those of ordinary skill in the art, is not paying creative labor Under the premise of dynamic property, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram for network interaction system that this specification embodiment provides;
Fig. 2 is a kind of flow chart for data transmission method that this specification embodiment provides;
Fig. 3 is a kind of flow diagram for network interaction method that this specification embodiment provides;
Fig. 4 is a kind of flow diagram for network interaction method that this specification embodiment provides;
Fig. 5 is a kind of flow chart for data transmission method that this specification embodiment provides;
Fig. 6 is a kind of flow chart for data transmission method that this specification embodiment provides;
Fig. 7 is a kind of module diagram for server that this specification embodiment provides;
Fig. 8 is a kind of configuration diagram for server that this specification embodiment provides;
Fig. 9 is a kind of flow chart for data transmission method that this specification embodiment provides;
Figure 10 is a kind of module diagram for server that this specification embodiment provides;
Figure 11 is a kind of flow chart of the starting method for server that this specification embodiment provides;
Figure 12 is a kind of flow chart of the starting method for server that this specification embodiment provides;
Figure 13 is a kind of flow chart for data transmission method that this specification embodiment provides;
Figure 14 is a kind of flow chart for data transmission method that this specification embodiment provides.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation The technical solution in this specification embodiment is clearly and completely described in attached drawing in book embodiment, it is clear that institute The embodiment of description is only a part of embodiment of this specification, rather than whole embodiments.Based on this specification In embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts The range of this specification protection all should belong in mode.
Please refer to Fig. 1.This specification embodiment provides a kind of network interaction system.Before the network interaction system includes: Hold server and Resource Server.
The front-end server can be used for receiving the resource of publication.And can store the resource, receiving visitor In the case where the access request for resource at family end, the resource that the resource access request is directed toward is sent to the client End.Front-end server can be sent to Resource Server for the access information of resource as a data set.In front-end server In resource when changing, the access information of the resource changed can be supplied to the Resource Server, so that money Source server can update the access information of its storage.
In the present embodiment, resource can include but is not limited to the picture showed for application interface, audio-video, The resources such as JavaScript file, CSS file.Resource updates in front-end server include but is not limited to: having issued new money Source, existing resource are corrected.
In the present embodiment, front-end server can be the electronic equipment with operation and network interaction function;It can also Think and run in the electronic equipment, provides the software of service logic for data processing and network interaction.
In the present embodiment, the quantity of the not specific Limited service device of front-end server.Front-end server can be one A server can also be several servers, alternatively, the server cluster that several servers are formed.
In the present embodiment, front-end server may include the central server and node server in CDN network.Institute State the node server of resource mirror image that central server can be stored extremely.Node server can be used for receiving client Resource access request, and by resource access request be directed toward resource be sent to relative client.Node server can be at it When the resource for not having resource access request to be directed toward, respective resources are obtained to central server.Central server can be used for receiving The new resources of management end publication, or the modification information for issued resource is received, it is deposited according to modification information modification The resource of storage.
In the present embodiment, client can be the electronic equipment with display, operation and network access functions.Specifically , for example, client can be wearable for desktop computer, tablet computer, laptop, smart phone, digital assistants, intelligence Equipment, shopping guide's terminal, the television set with network access functions.Alternatively, client may be that can run on above-mentioned electronics Software in equipment.Specifically, client can also be for example, client can provide access entrance for shopping website platform The application run in smart phone that shopping website platform provides.
The Resource Server is used to be stored with the resource information collection of resource in front-end server, and the resource information is concentrated Access information including the resource in the front-end server;It is asked in the resource information collection acquisition for receiving the application server In the case where asking, resource information collection corresponding with information set identifier in the resource information collection acquisition request is supplied to described answer Use server.
In the present embodiment, the Resource Server can be the electronic equipment with operation and network interaction function; Or run in the electronic equipment, the software of service logic is provided for data processing and network interaction.
In the present embodiment, the quantity of the not specific Limited service device of Resource Server.Resource Server can be one A server can also be several servers, alternatively, the server cluster that several servers are formed.
In the present embodiment, the quantity of resource information collection can be one or more.Each resource information collection can be right It should be to a software application.Certainly, under some cases, a resource information central access can be shared for multiple software applications The resource that information is directed toward, a resource information collection can correspond to multiple software applications.
In the present embodiment, the resource information collection in Resource Server can be issued by the way of non-covered, so that It can be directed to a software application in Resource Server, be stored with the resource information collection of multiple versions.The same software application Resource information collection can be distinguished by issuing time, version number, resource information collection store path etc..
In the present embodiment, the access information of resource can be used for generating URL (the Uniform Resource of resource Locator, uniform resource locator).Client can obtain the resource by accessing the URL.Access information may include Form the information of multiple dimensions of URL.For example, access information may include CDN domain name, the title of resources bank, version information, text The information such as part path.Certainly, access information is not aobvious and foregoing description, can also directly be the URL of resource.
In one embodiment, the network interaction system can also include application server.The application server For issuing the resource information collection acquisition request to the Resource Server;Receive the resource letter that the Resource Server provides Breath collection, with for receive client sending access request in the case where, the visit for the resource that the access request is directed toward Ask that information feeds back to the client.
In the present embodiment, the application server can be the electronic equipment with operation and network interaction function; Or run in the electronic equipment, the software of service logic is provided for data processing and network interaction.
In the present embodiment, the quantity of the not specific Limited service device of the application server.Application server can be with It can also be several servers, alternatively, the server cluster that several servers are formed for a server.
In the present embodiment, the application server is corresponding with software application, for the main of process software application The work of data operation processing part.Specifically, for example, application server can be mentioned based on user under commercial articles searching scene The keyword of confession carries out matching characteristic search in the database, with to client feedback result set.In this illustration, application service It may include the access information for the resource being matched in the result set of device feedback.After access information is supplied to client, Client can further obtain corresponding resource according to access information and show.
Please refer to Fig. 2.This specification embodiment provides a kind of data transmission method, is applied to Resource Server.The number It may comprise steps of according to transmission method.
Step S10: the resource information collection acquisition request of application server is received;The resource information collection acquisition request is attached With information set identifier;The information set identifier is for identifying corresponding resource information collection.
In the present embodiment, resource information collection acquisition request can be the character string with specified format, can use It needs to obtain resource information collection from Resource Server in expression application server.The specified format of resource information collection acquisition request can The format for following network communication protocol is thought, so that resource information collection acquisition request can be via transmission of network.Specifically, Application server can be issued according to network communication protocol, such as Http, TCP/IP or File Transfer Protocol etc. to Resource Server Resource information collection acquisition request.
In the present embodiment, information set identifier can be used for identifying resource information collection.In this way, application server by Incidental information set identifier in resource information collection acquisition request, the resource information collection that Resource Server can be notified to need to feed back. Information set identifier can be the character string of an agreement, be used to use as mark.In a specific example, information collection The mark that mark can be applied for the corresponding software of application server.For example, information set identifier can be the title of software application Either abbreviation or code name etc..In this way, after Resource Server receives information set identifier, it can be anti-to application server Present the corresponding resource information collection of the software application.In another specific example, information set identifier may include temporal information, Resource Server can send out the resource information collection that the time point indicated in the temporal information or the time point are nearby issued Give application server.In another specific example, information set identifier may include the mark and time letter of software application Breath, such Resource Server can concentrate the resource information of the software application, the time point indicated in the temporal information, or The resource information collection that person's time point is nearby issued is sent to application server.Certainly, the content of information set identifier is not limited to Above-mentioned example is enumerated, and one of ordinary skill in the art are under the enlightenment of this specification technical spirit, it is also possible to make other changes, but only The function and effect and this specification for wanting it to realize are same or similar, should all be covered by this specification protection scope.
In the present embodiment, the mode that the resource information collection acquisition request is accompanied with information set identifier may include: The a part of information set identifier as resource information collection acquisition request content;Or information set identifier is as resource information Collect the attachment of acquisition request.
Step S12: concentrating in the resource information of storage, will resource information collection hair corresponding with the information set identifier Give the application server, with for the application server receive client sending access request in the case where, The access information for the resource that the access request is directed toward is fed back into the client, so that the client is according to the access The corresponding resource of acquisition of information.
In the present embodiment, front-end server can be updated for some or all of resource.For becoming Resource more issues new version.Front-end server can part by one resource set of whole resource compositions, in resource set Or whole resources can issue the resource set of a new version when changing.By the resource changed and the money not changed Source is all put into the resource set of the new version, and the access information of the resource set of the new version is supplied to Resource Server, with Resource Server is set to be correspondingly formed the resource information collection of new version.Certainly, resource can not also be used in front-end server Collect the mode integrally managed, but for the resource updated, store new version.Version information, storage road can be passed through Diameter, issuing time etc. distinguish the resource of different editions.Front-end server can send the access information of the resource updated To Resource Server.When Resource Server receives the access information of the resource of update, by the resource information of existing latest edition Concentrate the access information not updated and the access information of the update received that the resource information collection of new version is collectively formed.
In the present embodiment, in Resource Server can as unit of resource information collection, by version information, title, At least one data such as time or store path distinguish different resource information collection.Furthermore it can also be used in Resource Server Access information is managed in such a way that issuing time dimension individually stores for the access information of different resource.For example, some is provided After source updates, the access information of a new version is stored in Resource Server for the access information of the resource, and is passed through Issuing time distinguishes the different access information of the resource.Further, it can will be sent out in the time by specifying some time The access information of cloth is obtained by perhaps the access information of nearest time publication or both combine after the time Whole access informations formed a resource information collection.
In one embodiment, can be in the mode as unit of resource information collection in Resource Server, resource service The quantity of the resource information collection stored in device can be one or more.Resource Server can be for a software application storage There is the resource information collection of the multiple versions of the software application;Or Resource Server is stored with the resource letter of multiple software applications Breath collection, each software application can have the resource information collection of one or more versions;It can also be, be stored in Resource Server There are one or more resource information collection, each resource information collection can correspond at least one software application.
In the present embodiment, Resource Server is concentrated in the resource information of storage, and finding the information set identifier indicates Resource information collection, which is sent to application server.In this way, application server is made to may not need record pipe The old version for managing resource information collection is completed the record of resource information collection old version by Resource Server.In turn, it may be implemented The unified management that resource information collection is carried out by Resource Server, application server are merely responsible for the data operation processing of itself, subtract The degree of coupling between system components is lacked, and then the division of labor can be made definitely.
In the present embodiment, application server can receive the resource information collection of Resource Server sending.Application service Device can store received resource information collection, for further using.At response in order to promote application server Speed is managed, resource information collection can be put into memory.
In the present embodiment, client can show the interface that software application includes.Client is sent out to application server Access request out, including some or multiple resources in the interface that can show for client, client is by application service Device issues access request, so that application server provides the access information of resource.In turn, client can be obtained by access information Take corresponding resource.Specifically, for example, including a video in the interface that client is shown, client is sent out to application server Access request out when application server receives the access request, can generate the access letter of the video according to resource information collection Breath, or obtain the access information of the resource.Access information is sent to client by application server.Client receives access Information initiates access request to the URL so as to obtain the URL of video.CDN network can allot can be compared with fast-response visitor The node server of the access request at family end responds the access request, allows node server that video is supplied to client End.
It in the present embodiment, can by application server to the corresponding resource information collection of Resource Server request To realize that the resource updated in code and front-end server in application server tends to come into force simultaneously.In a specific scene In, for example, when the program instruction usually in front-end server in resource and application server changes, in time, front end Code after the resource after change in server can be changed prior to application server is issued.Before the publication can refer to that storage is arrived It holds in server, and in the state that can be used, but program instruction in the application server is supplied to the visit of client When asking the resource after information is directed toward the change, the resource after changing in front-end server comes into force.In some cases, front end services Resource in device is changed, for example CSS (Cascading Style Sheets) file is changed, changed original Page layout etc..CSS file after change comes into force, and needs program instruction in corresponding application server accordingly to change, so as to mention The resource that the access information of supply client is directed toward can be adapted for the CSS file after the change.If but in front-end server After resource change, the access information of the CSS file of update is just pushed to application server, so that application server has updated Information resources collection.In this way, application server is supplied in the access information of client, it include the access letter of updated CSS The access information of breath and other resources.Due to the instruction code of application server do not correspond to updated CSS file into Row change, so that the resource that the access information of other resources is directed toward uncomfortable may match the pattern in the CSS file after change.Such as This, it is likely that it can be because application server be supplied to the resource that the access information of client is directed toward, after being not particularly suited for change CSS file, so that the layout of the resources such as image or text may be entanglement in the interface that client is shown.And in this implementation In the scheme that mode provides, the change of resource information intensive data in application server, be by application server itself initiate, and Whether the resource being not dependent in front-end server changes.In this way, can provided when the resource in front-end server changes The resource information collection corresponding to the resource after change is stored in source server.It can believe for the resource i.e. in Resource Server Breath collection has increased a version newly.Although the resource information collection of the new version is in the state of publication, there is no taken by application Business device, which obtains, to be used, so that the resource information collection of new version not yet comes into force.Application server can be specified by information set identifier The resource information collection to be obtained instructs generation to buy the resource information collection not yet compared to new version so as to avoid in application server When modification, and use foregoing problems caused by the resource information collection of new version.
Also referring to Fig. 1 and Fig. 3.In a specific Sample Scenario, the resource of software application is stored in CDN network In front-end server in, the resource information collection that the access information of resource is formed is stored in Resource Server, by application service Device is responsible for the main mathematical logic calculation process of software application.
In this Sample Scenario, user initiates access request, request one page of display using the client of mobile phone.Network DNS (Domain Name System) can parse the accessing page request of client to the application server of software application. It may include passage and a picture in the page.Client shows the page, the resource needed include text, picture, Pattern file etc..It may include: CDN that application server, which obtains the access information of text in the resource information Integrated query of its storage, Domain name g.alicdn.com, front end resource library name repoA, the version information 1.0.1 of resources bank, the path of resource file and name Claim dist/wenzi.txt etc..It can be http://g.alicdn.com/repoA/ according to the URL that above-mentioned access information generates 1.0.1/dist/wenzi.txt.The work for generating URL, can be completed by application server, client can also be transferred to complete. Similarly, picture, pattern URL also can be generated.
In this Sample Scenario, after client obtains above-mentioned URL, it can initiate to access to URL, and then from CDN network Middle front-end server obtains corresponding text, picture and pattern file.Wherein, pattern file may include having text and picture The attribute informations such as display effect and layout.
Please refer to Fig. 1 and Fig. 4.In this Sample Scenario, software application needs further to update, and wherein closes in pattern file It is changed in the layout of text and picture, furthermore, in the page in new pattern file, planning provides the position of display picture Region is set to become larger.There are also variations for program instruction in corresponding application server, to promote its internal arithmetic speed, example It is directed to different users as realized, when accessing the same page, the picture in the page can be different.At this point, in application server The strategy for being related to picture recommendation may change.Furthermore application server will combine pattern when picture is recommended in internal arithmetic Plan that the picture for avoiding recommending to the band of position of the picture is too large or too small in file.
In this Sample Scenario, the resource after updating is issued in front-end server by the way of non-covered.Occur The resource quantity of update is unlimited.Here, by taking pattern file as an example.Pattern file is completed after exploitation, in front-end server Publication, that is, be stored in front-end server.The access information of updated resource can be sent to resource service by front-end server Device.For example, the access information of the pattern file may include CDN domain name g.alicdn.com, front end resource library name repoA, The version information 1.0.2 of resources bank is that dist/yangshi.css is path and the title of resource file.
In this Sample Scenario, Resource Server receives the access information of front-end server offer, using non-covered Mode stores the resource information collection to form a new version, such as the start context of resource information collection can be continued to use in front-end server The version information 1.0.2 of resources bank.The resource information collection of the new version is completed in Resource Server storage, i.e., it is believed that resource service Device completes the publication of the resource information collection of new version, but is not yet supplied to application server use, so the resource of new version is believed Breath collection not yet comes into force.
In this Sample Scenario, after the program instruction of application server completes exploitation test job in development system, Software installation packet can be generated.It, can be to Resource Server request information set identifier before generating software installation packet.Resource Server can feed back the information set identifier of the current newest one resource information collection in active states to development system.Specifically , for example, information set identifier can be version information 1.0.1.Such development system, can should when generating software installation packet Information set identifier 1.0.1 is subsidiary in the software installation packet.
In this Sample Scenario, software installation coating is installed in hardware device to update application server.It is updated After application server starting, do not have resource information collection locally in application server.Application server is sent to Resource Server Resource information collection acquisition request, and the incidental information set identifier in the request.
In this Sample Scenario, after Resource Server receives the resource information collection acquisition request of application server, obtain Information set identifier 1.0.1.Resource Server will not directly believe the information set identifier 1.0.1 resource for corresponding to version information 1.0.1 Breath collection is sent to application server.Because when generating software installation packet, the corresponding resource letter of the updated application server Breath collection not yet comes into force, and issues sometimes or even not yet.So that information set identifier directly corresponding resource information collection itself, is not more The corresponding resource information collection of application server after new.Further, Resource Server can will be issued after version 1.0.1 The resource information collection of version 1.0.2 be sent to application server.In this way, realizing that application server obtains by arranging on the time Take corresponding resource information collection.
In this Sample Scenario, after application server obtains resource information collection, updated application server can be It is formally effective, and resource information collection also comes into force accordingly.When the access that updated application server receives client is asked When asking, the picture for being adapted to the pattern file can be recommended.The access information of the picture is sent to client, so that client Hold available corresponding picture.
In this Sample Scenario, resource information collection can be stored in memory by application server, so can have compared with Fast reading speed.When application server is restarted, resource information collection can be obtained to Resource Server again.In this way, It is responsible for the personnel of the program instruction development of application server, can only considers the operation logic etc. of application server, and Without considering the access information of resource.I.e. the access information of resource can be not integrated into the program instruction of application server, drop The low degree of coupling between application server and Resource Server and front-end server, brings convenience to exploitation.
In one embodiment, the resource that the access information is directed toward can store in front-end server;It will access After information feeds back to the client, the access information can be according to the access information from described for the client Front-end server obtains the resource.
In the present embodiment, resource is stored in the front-end server of CDN network, so needs to obtain money in client When source, resource can be obtained from responding in faster node server, to improve the interface display speed of client.
In the present embodiment, after client obtains access information, include: according to the mode that access information obtains resource In the case where access information itself is the URL of resource, client directly can issue access request to the URL;Believe in access In the case that breath is some attribute informations for providing resource, attribute information may include CDN domain name belonging to resource, resource letter Cease the information such as title, version information, the file path of collection.Client can be suitable according to specifying by the content of above-mentioned access information Sequence and format generate the URL of the resource, and then issue access request to the URL.
In one embodiment, the resource information collection of the Resource Server storage issues resource according to front-end server Annual distribution;The information set identifier is for indicating the time;It in step s 12 may include: the resource letter in storage Breath is concentrated, and the resource information collection after the information set identifier corresponding time is sent to the application server.
In the present embodiment, multiple resource information collection be can store in Resource Server.Specifically, Resource Server can To store the resource information collection of multiple versions for different software applications.Each resource information has an issuing time, Resource information collection is ranked up according to the sequencing of issuing time.It, can be true when specifying some time Fixed corresponding resource information collection.
In the present embodiment, the information and be accompanied with information and mark that application server is sent to Resource Server, it is real Resource Server is now specified into a time point.It the time that Resource Server can be indicated according to the information set identifier, searches Resource information collection corresponding with application server, the time that the issuing time range information and mark of the resource information collection indicate is most Be close or the issuing time of the resource information collection be in information and mark indicate time.
In a specific embodiment, it during setting up application server, can be installed to hardware device soft Part installation kit.Information set identifier can be carried in the software installation packet, allows the application server after setting up to money Source server sends the information set identifier.The instruction code of application server will do it after development system completes exploitation debugging It is packaged and generates software installation packet.Subsequent ability is used for software installation packet to set up application server.It, should when generating software installation packet The corresponding resource of software installation packet not yet comes into force in front-end server, i.e., corresponding to the software installation packet in Resource Server The access information of resource also not yet comes into force.At this point, resource can be directed toward generating information set identifier subsidiary in software installation packet The resource information collection of the latest edition to come into force in server, alternatively, the information set identifier indicate generate the software installation packet when Between.Further, after application server is completed to set up, the information set identifier sent to Resource Server, for obtaining resource Information collection.At this point, being the instruction code of new version in application server, corresponding resource information collection, which is in, to be taken in resource The state issued but not yet come into force in business device.It can arrange, by the resource after the information set identifier corresponding time Information collection is sent to the application server, when so realizing that the code of new version in application server comes into force, obtains corresponding Resource information collection, so as to should come into force in the resource information collection of issued state.
Please refer to Fig. 5.In one embodiment, it is sent to by resource information collection corresponding with the information set identifier It may comprise steps of in the step of application server.
Step S16: it concentrates, will be located at after the information set identifier corresponding time most in the resource information of storage A nearly resource information collection is determined as target resource information collection.
Step S18: the target resource information collection is sent to the application server.
In the present embodiment, Resource Server will be at nearest one after the information set identifier corresponding time In the resource information collection of issued state, it is sent to application server as target resource information collection, so realization application server After starting, available resource information collection compatible with its program instruction.Avoiding the two from not being adapted to leads to End-Customer end Display interface there is display problem.Specific content may refer to aforementioned embodiments control and explain.
Please refer to Fig. 6.In one embodiment, the data transmission method can also include the following steps.
Step S20: the resource information collection modification information that receiving front-end server issues.
Step S22: the access concentrated according to the corresponding resource information of resource information collection modification information modification storage Information.
Step S24: modified resource information collection is sent to the application server, to update the application server Resource information collection.
In the present embodiment, under some cases, the part resource in front-end server is changed, those changes may The change in front-end server is merely related to, and is not related to application server and modifies.Front end services can be passed through at this time The access information that device notifies Resource Server modification resource information to concentrate, and then Resource Server accuses modified access information Application server is known to modify the corresponding access information in application server.In this way, can efficiently make in front-end server Updated resource publication comes into force.
In the present embodiment, the access letter of the resource updated can be accompanied in resource information collection modification information Breath, to update the access information of Resource Server response.Specifically, may include resource name in resource information collection modification information Title, version information, routing information, CDN domain information etc..Resource Server can be modified local according to resource information collection modification information The access information of storage.
It in the present embodiment, can will be after update after Resource Server is updated for the resource information collection of its storage Resource information collection be sent to application server as a whole;Or the money that Resource Server will only update The access information in source is sent to application server.
Please refer to Figure 13.In one embodiment, the data transmission method can also include the following steps.
Step S11: the resource information acquisition request of the application server is received;The resource information acquisition request is attached With resource identification.
In the present embodiment, after application server receives and is directed toward the access request of some resource, application service Device does not find corresponding access information in local resource information concentration.Application server can be issued to Resource Server and be provided Source information acquisition request, to request Resource Server to provide the access information for the resource that access request is directed toward.
In the present embodiment, resource identification can be used to indicate that a resource.It can be between resource identification and resource With certain corresponding relationship, allows and corresponding resource is determined according to resource identification.Specifically, for example, resource identification can To be title or the number etc. of resource.
In the present embodiment, resource information acquisition request can be the character string with specified format, can be used for Indicate that application server needs to obtain the corresponding access information of resource identification from Resource Server.The finger of resource information acquisition request The formula of fixing can be the format for following network communication protocol, so that resource information acquisition request can be via transmission of network. Specifically, application server can be according to network communication protocol, such as Http, TCP/IP or File Transfer Protocol etc., to resource service Device issues resource information collection acquisition request.
In the present embodiment, the mode that resource information acquisition request is attached to resource identification can include but is not limited to, money Source mark is a part of the content of resource information acquisition request, or resource identification is the attached of resource information acquisition request Part.
Step S13: the corresponding access information of the resource identification is obtained.
Step S15: being sent to the application server for the access information, to update the resource of the application server Information collection.
In the present embodiment, Resource Server obtains the access information of corresponding resource according to resource identification.Resource clothes Business device can carry out inquiry from the resource information concentration being locally stored and obtain the corresponding access information of resource identification.Or Resource Server forward end server issues information acquisition request, so that front-end server provides the resource that resource identification indicates Access information.Resource Server receives after the access information of front-end server offer.The access information can be stored in Local resource information is concentrated.Resource Server can also be to the corresponding access letter of resources and knowledge library request resource identification Breath.Wherein, resources and knowledge library can be issuing process information of the resource in publication, and the more comprehensive record of formation has each The database of the description information of resource.Usually each resource can just come into operation after publication.In this way, resources and knowledge library The description information of each resource can comprehensively be recorded very much.Description information includes but is not limited to: resource name, resource are compiled Number, group, the access path of resource, the size of resource, the data format of resource belonging to resource version, resource etc..
In the present embodiment, the access information that Resource Server can will acquire is sent to application server.So The access information can be stored in resource information concentration by application server, update resource information collection to realize.Furthermore using clothes Access information can be sent to the client for issuing the access request by business device, so that the client can be according to the visit Ask message reference respective resources.
In present embodiment, a kind of method that can be updated with the resource information collection in application server is provided. This method is the mode of the access request at customer in response end, and starting obtains corresponding access information to update resource information collection.Such as This, in some cases, the resource in the Resource Server of front end has occurred that update etc..For example, the update of individual resources.And Resource information collection in Resource Server and the resource information collection in application server not yet update.The access of client request is believed Breath is, for the resource updated, application server can ask by issuing resource information acquisition to Resource Server at this time It asks, so as to which access information is supplied to application server after Resource Server obtains corresponding access information.Responding visitor In the case where the access request at family end, the update of resource information collection is also achieved.
Please refer to Figure 14.In one embodiment, the data transmission method can also include the following steps.
Step S21: the resource access situation information that the application server provides is received;The resource accesses situation information Access data including resource;Wherein, the access data are that the application server is given birth to according to the access request received At for indicating the accessed situation of the resource.
In the present embodiment, application server can be after receiving the access request of client, and record access is asked The relevant information asked, to form resource access situation information.Accessing data may include at least one: resource is accessed Number, the access times from the different domains CDN, the difference domain CDN are directed to the access times of different resource, for the money of different editions The access times in source etc..Specifically, for example, can be carried out corresponding after application server receives an access request Different dimensions counting.Access data are allowed to indicate the accessed situation of resource.
Step S23: storing the access data, for the accessed situation according to the access data to the resource It is analyzed.
In the present embodiment, it after Resource Server receives resource access situation information, can be stored.So that Resource Server forms the core of data management.Resource Server can correspond to each corresponding access data of resource storage. It can also be individually to be stored using access data as a data set.In this way, Resource Server is the access letter for resource The management and analysis of breath, the more comprehensive data basis provided.
Referring to Fig. 7, this specification embodiment also provides a kind of server, the server is stored with the access of resource The resource information collection that information is formed;The server may include: receiving module and sending module.
Receiving module, for receiving the resource information collection acquisition request of application server;The resource information collection obtains Request is accompanied with information set identifier;The information set identifier is for identifying corresponding resource information collection.
Sending module will resource letter corresponding with the information set identifier for the resource information concentration in storage Breath collection is sent to the application server, with for the application server receive client sending access request feelings Under condition, the access information for the resource that the access request is directed toward is fed back into the client, so that the client is according to institute It states access information and obtains corresponding resource.
In the present embodiment, receiving module and sending module particular content, the function and effect of realization, before being referred to Embodiment control is stated to explain.
Please refer to Fig. 8.This specification embodiment also provides a kind of electronic equipment.The electronic equipment include: memory, Network communication unit and processor.
The memory is stored with the resource information collection that the access information of resource is formed.
The network communication unit is used to receive the resource information collection acquisition request of application server;The resource information Collection acquisition request is accompanied with information set identifier;The information set identifier is for identifying corresponding resource information collection;By the processing The resource information collection that device provides is sent to the application server, to receive client sending for the application server Access request in the case where, the access information for the resource that the access request is directed toward is fed back into the client, so that institute It states client and corresponding resource is obtained according to the access information.
The processor is used to concentrate in the resource information of storage, will resource letter corresponding with the information set identifier Breath collection transfers to the network communication unit to be sent to the application server.
In the present embodiment, the memory includes but is not limited to random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), caching (Cache), hard disk (Hard Disk Drive, HDD) or storage card (Memory Card).The memory can be used for storing computer program instructions.Network is logical Letter unit can be according to standard setting as defined in communication protocol, for carrying out the interface of network connection communication.
In the present embodiment, the processor can be implemented in any suitable manner.For example, the processor can be with Take such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as Software or firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.
The concrete function that the electronic equipment that this specification embodiment mode provides, processor and memory are realized, can Explanation is contrasted in a manner of with the aforementioned embodiments in this specification.
This specification embodiment also provides a kind of computer storage medium, is stored with the access information formation of resource Resource information collection and computer program instructions, the computer program instructions are performed realization following functions.
Receive the resource information collection acquisition request of application server;The resource information collection acquisition request is accompanied with information Set identifier;The information set identifier is for identifying corresponding resource information collection.
Concentrated in the resource information of storage, will resource information collection corresponding with the information set identifier be sent to it is described Application server, with for the application server receive client sending access request in the case where, by the visit Ask that the access information for the resource that request is directed toward feeds back to the client, so that the client is obtained according to the access information Corresponding resource.
In the present embodiment, the particular content of the technical solution provided, the function and effect of realization, is referred to aforementioned Embodiment control is explained.
Referring to Fig. 9, this specification embodiment also provides a kind of data transmission method, it is applied to application server, institute The method of stating may comprise steps of.
Step S26: resource information collection acquisition request is issued to Resource Server, the resource information collection acquisition request is subsidiary There is information set identifier;The information set identifier is for identifying corresponding resource information collection;It includes resource that the resource information, which is concentrated, Access information.
Step S28: receiving the resource information collection of the Resource Server feedback, for receiving client sending In the case where access request, the access information for the resource that the access request is directed toward is fed back into the client, to be used for institute It states client and corresponding resource is obtained according to the access information.
In the present embodiment, application server actively can obtain resource information collection to Resource Server, so can be with Corresponding resource information collection is clearly specified convenient for application server.The resource information collection for avoiding application server from obtaining, which is not adapted to, answers With the program instruction of server.
In the present embodiment, application server can the initial start-up after being populated, or when restarting, Resource information collection acquisition request can be issued to Resource Server, with the corresponding resource information collection of request.
In the present embodiment, after application server receives resource information collection, resource information collection can be put into interior It deposits, so more can quickly read data.
In the present embodiment, application server receives the access request of client, can indicate that client request is visited Ask a certain page.The access information of resource involved in the page can be sent to the client, so made by application server Resource can be obtained and be shown according to access information by obtaining client.
In one embodiment, the resource that the access information is directed toward is stored in front-end server;By access information After feeding back to the client, the client obtains the resource from the front-end server according to the access information.
In the present embodiment, resource is stored in front-end server, and client can take according to access information from front end Business device obtains resource.Further, front-end server can be the node server in CDN network.According to the spy of CDN network Property, it will usually the money that access information is directed toward is provided from the comparatively faster node server of the speed at customer in response end to client Source.The data volume of usual resource may be relatively large, sends resource to client by the node server, can mention on the whole Rise the response speed to client.
Referring to Fig. 10, this specification embodiment also provides a kind of server, comprising: obtain module and information collection receives Module.
The acquisition module is used to issue resource information collection acquisition request to Resource Server, and the resource information collection obtains Request is accompanied with information set identifier;The information set identifier is for identifying corresponding resource information collection;The resource information is concentrated Access information including resource.
The information collection receiving module is used to receive the resource information collection of the Resource Server feedback, for receiving In the case where the access request issued to client, the access information for the resource that the access request is directed toward is fed back into the visitor Family end, to obtain corresponding resource according to the access information for the client.
In the present embodiment, module and information collection receiving module particular content are obtained, the function and effect of realization can be with It is explained referring to aforementioned embodiments control.
Please refer to Fig. 8.This specification embodiment provide a kind of electronic equipment, the electronic equipment include: memory, Network communication unit and processor.
The network communication unit is used to issue resource information collection acquisition request, the resource information collection to Resource Server Acquisition request is accompanied with information set identifier;The information set identifier is for identifying corresponding resource information collection;The resource information Concentrate the access information including resource;Receive the resource information collection of the Resource Server feedback;Receive the visit that client issues Ask request;The access information that the processor provides is sent to client.
The memory is for storing the resource information collection.
The processor is used for the money that according to the access request, access request described in the resource information collection is directed toward The access information in source transfers to the network communication unit.
In the present embodiment, the memory includes but is not limited to random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), caching (Cache), hard disk (Hard Disk Drive, HDD) or storage card (Memory Card).The memory can be used for storing computer program instructions.Network is logical Letter unit can be according to standard setting as defined in communication protocol, for carrying out the interface of network connection communication.
In the present embodiment, the processor can be implemented in any suitable manner.For example, the processor can be with Take such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as Software or firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.
The concrete function that the electronic equipment that this specification embodiment mode provides, processor and memory are realized, can Explanation is contrasted in a manner of with the aforementioned embodiments in this specification.
Figure 11 is please referred to, this specification embodiment also provides a kind of starting method of application server, and the method can To include the following steps.
Step S30: loading procedure instruction set.
In the present embodiment, application server initial start-up, or in the case where restarting, realization can be loaded The program instruction set of its logic function.
In the present embodiment, it when the instruction code of application server updates, also results in application service and thinks highly of New starting.After application server restarting, the instruction code of update comes into effect.
Step S32: resource information collection acquisition request is issued to Resource Server.
Step S34: the resource information collection of the Resource Server feedback is received, so that the application server is receiving In the case where the access request that client issues, the access information for the resource that the access request is directed toward is fed back into the client End, to obtain corresponding resource according to the access information for the client.
In the present embodiment, in application server can not long-term storage resource information collection.It is sent out in application server When raw restarting, resource information collection needs to reacquire.The management function of resource information collection can realize by Resource Server, And application server only passively can receive and use.In this way, the operation function of Resource Server and application server divides It is relatively clear, reduce the degree of coupling between application server and front-end server.Specifically, for example, application server can be with Received resource information collection is put into memory.Application server is allowed to feed back access letter according to the access request of client Breath.Furthermore when application server restarting, the resource information rally in memory is emptied, and is obtained again to Resource Server Take resource information collection.In addition, when the program instruction in application server updates, the application server of restarting can be to Resource Server requests resource information collection, and Resource Server can send out resource information collection that is issued but not yet coming into force at this time Give application server.So realize that the program instruction of the update of application server comes into force simultaneously with corresponding resource information collection.
In one embodiment, the resource information collection acquisition request is accompanied with the corresponding information of described program instruction set Set identifier;The information set identifier is for determining the corresponding resource information collection of described program instruction set.
In the present embodiment, the resource information collection acquisition request incidental information set identifier that application server issues, so Realize the resource information collection that application server specifies it to need to obtain.By information set identifier, so that application server is current Corresponding relationship is formed between program instruction set and resource information collection.In turn, the two, which may be implemented, has preferable suitability.Specifically Aforementioned embodiments control is referred to explain.
Please refer to Figure 12.In one embodiment, a kind of software installation packet generating described program instruction set is also provided Method, the method for generating the software installation packet may comprise steps of.
Step S40: information set identifier acquisition request is issued to Resource Server.
Step S42: the information set identifier of the Resource Server feedback is received.
Step S44: the information set identifier is depended on into program code.
Step S45: the software with described program instruction set is generated according to the program code of the incidental information set identifier Installation kit.
In the present embodiment, it after the exploitation test to program code is completed in development system, can export corresponding Software installation packet.And then software installation packet can be installed in hardware device.
In the present embodiment, during generating software installation packet, information set identifier is obtained from Resource Server.Such as This, so that the information set identifier is determined for resource information collection corresponding with described program instruction set.Specifically, for example, It, can be by the information of the time upper newest resource information collection to come into force after Resource Server receives information set identifier acquisition request Set identifier is sent to system where development system.Since described program instruction set is newest version, corresponds to the program instruction The resource information collection of collection not yet comes into force.In this way, the information set identifier that program instruction is concentrated is for determining that the program instruction set is corresponding Resource information collection.Specifically, when software installation packet is installed to hardware device to set up application server, application server is by institute It states information set identifier and is sent to Resource Server, to obtain corresponding resource information collection.Resource Server can be according to information collection After identifying the resource information collection for determining information set identifier expression, the resource information collection issued recently, and this is in publication The resource information collection of state is sent to application server, so that application server obtains resource letter corresponding with its program instruction set Breath collection.In this way, also realizing that the updated program instruction of application server comes into force simultaneously with corresponding resource information collection.
In one embodiment, need to change to the journey of early version in application server operational process in certain reason Sequence instruction set.At this point it is possible to reinstall the software installation packet of early version.Refer in the application server loading procedure of restarting After order collection, resource information collection acquisition request can be issued to Resource Server, and be attached to this always in resource information collection acquisition request Information set identifier in the software installation packet of version.After Resource Server receives the resource information collection acquisition request, according to Information set identifier determines resource information collection, and resource information collection is sent to application server.In this way, realizing installation different editions Software installation packet when, corresponding resource information collection can be obtained according to information set identifier subsidiary in software installation packet.It can When " rollback " occurs to avoid the program instruction of application server, the problem of can not find corresponding resource information collection.
This specification embodiment also provides a kind of Knowledge Management System.The Knowledge Management System includes: based on resource The resources and knowledge library and Resource Server that issuing process information when being published is formed.
The resources and knowledge library can be issuing process information of the resource in publication, and the more comprehensive record of formation has The database of the description information of each resource.Usually each resource can just come into operation after publication.In this way, resource is known The description information of each resource can comprehensively be recorded very much by knowing library.Description information includes but is not limited to: resource name, resource Group, the access information of resource, the size of resource, data format of resource belonging to number, resource version, resource etc..It can Using by the description information of each resource as knowledge relevant to the resource so that the database forms resources and knowledge library.
The access information that the Resource Server is used to store the resource forms resource information collection;It is answered receiving first In the case where resource information acquisition request with server, concentrates to search in the resource information and be asked with resource information acquisition Seek corresponding access information;Access information not corresponding with the resource information acquisition request is concentrated in the resource information In the case of, access information described in the issuing process information of the resource is obtained from the resources and knowledge library;By the access Information is sent to second application server.
It in the present embodiment, can itself storage now after Resource Server receives resource information acquisition request Resource information Integrated query.In the resource that the resource information of itself storage concentrates no resource information collection acquisition request to be directed toward When access information, inquiry obtains the access information of resource from resources and knowledge library, and the access information is sent to first and is answered Use server.Furthermore the resource information that the access information is stored into Resource Server is concentrated, so that the resource information collection of itself It is more perfect.In the case where being connected to the resource information acquisition request of the second application server, it can concentrate and read from resource information Access information is taken to be sent to the second application server.
In present embodiment, Resource Server is not by when itself has corresponding access information, actively to resources and knowledge The mode that library obtains, realize Resource Server resource information collection can continuous itself be perfect.Facilitate system disposed of in its entirety The promotion of efficiency.
Each embodiment in this specification is described in a progressive manner, same and similar between each embodiment Part may refer to each other, what each embodiment stressed is the difference with other embodiments.
The server referred in this specification embodiment can be the electronic equipment with certain calculation processing power. It can have network communication terminal, processor and memory etc..Certainly, above-mentioned server, which may also mean that, runs on the electricity Software in sub- equipment.Above-mentioned server can also be distributed server, can be with multiple processors, memory, net The system of the Collaboration such as network communication module.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip 2.Moreover, nowadays, substitution manually makes IC chip, and this programming is also used instead mostly " logic compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development Seemingly, and the source code before compiling also handy specific programming language is write, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present Integrated Circuit Hardware Description Language) and Verilog2.Those skilled in the art It will be apparent to the skilled artisan that only needing method flow slightly programming in logic and being programmed into integrated circuit with above-mentioned several hardware description languages In, so that it may it is readily available the hardware circuit for realizing the logical method process.
It is also known in the art that other than realizing controller in a manner of pure computer readable program code, it is complete Entirely can by by method and step carry out programming in logic come so that controller with logic gate, switch, specific integrated circuit, programmable Logic controller realizes identical function with the form for being embedded in microcontroller etc..Therefore this controller is considered one kind Hardware component, and the structure that the device for realizing various functions for including in it can also be considered as in hardware component.Or Even, can will be considered as realizing the device of various functions either the software module of implementation method can be Hardware Subdivision again Structure in part.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification It can realize by means of software and necessary general hardware platform.Based on this understanding, the technical solution of this specification Substantially the part that contributes to existing technology can be embodied in the form of software products in other words, the computer software Product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes each embodiment of this specification or implementation Method described in certain parts of mode.
Although depicting this specification by embodiment, it will be appreciated by the skilled addressee that there are many this specification Deformation and change without departing from this specification spirit, it is desirable to the attached claims include these deformation and change without departing from The spirit of this specification.

Claims (19)

1. a kind of data transmission method, which is characterized in that be applied to Resource Server, the Resource Server is stored with resource The resource information collection that access information is formed;The described method includes:
Receive the resource information collection acquisition request of application server;The resource information collection acquisition request is accompanied with information collection mark Know;The information set identifier is for identifying corresponding resource information collection;
It is concentrated in the resource information of storage, resource information collection corresponding with the information set identifier is sent to the application Server, in the case where receiving the access request of client sending, the access to be asked for the application server The access information of the resource of direction is asked to feed back to the client, so that the client obtains accordingly according to the access information Resource.
2. the method according to claim 1, wherein the resource that the access information is directed toward is stored in front end services Device;After access information is fed back to the client, the access information is believed for the client according to the access Breath obtains the resource from the front-end server.
3. the method according to claim 1, wherein the method also includes:
Receive the resource information acquisition request of the application server;The resource information acquisition request is accompanied with resource mark Know;
Obtain the corresponding access information of the resource identification;
The access information is sent to the application server, to update the resource information collection of the application server.
4. the method according to claim 1, wherein the resource information collection of Resource Server storage is according to preceding Hold the Annual distribution of server publication resource;The information set identifier is for indicating the time;Will be with the information set identifier pair Include: in the step of resource information collection answered is sent to the application server
It is concentrated in the resource information of storage, the resource information collection after the time for being located at information set identifier expression is sent out Give the application server.
5. according to the method described in claim 4, it is characterized in that, will resource information collection corresponding with the information set identifier Include: in the step of being sent to the application server
It is concentrated in the resource information of storage, nearest resource letter after the information set identifier corresponding time will be located at Breath collection is determined as target resource information collection;
The target resource information collection is sent to the application server.
6. the method according to claim 1, wherein the method also includes:
The resource information collection modification information that receiving front-end server issues;
The access information concentrated according to the corresponding resource information of resource information collection modification information modification storage;
Modified resource information collection is sent to the application server, to update the resource information of the application server Collection.
7. the method according to claim 1, wherein the method also includes:
Receive the resource access situation information that the application server provides;The resource access situation information includes the visit of resource Ask data;Wherein, the access data are that the application server is generated according to the access request received, for indicating State the accessed situation of resource;
The access data are stored, for analyzing according to the access data the accessed situation of the resource.
8. a kind of server, which is characterized in that the server is stored with the resource information collection that the access information of resource is formed;Institute Stating server includes:
Receiving module, for receiving the resource information collection acquisition request of application server;The resource information collection acquisition request It is accompanied with information set identifier;The information set identifier is for identifying corresponding resource information collection;
Sending module will resource information collection corresponding with the information set identifier for the resource information concentration in storage Be sent to the application server, with for the application server receive client sending access request the case where Under, the access information for the resource that the access request is directed toward is fed back into the client, so that the client is according to Access information obtains corresponding resource.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes: memory, network communication unit and processor;
The memory is stored with the resource information collection that the access information of resource is formed;
The network communication unit is used to receive the resource information collection acquisition request of application server;The resource information collection obtains Request is taken to be accompanied with information set identifier;The information set identifier is for identifying corresponding resource information collection;The processor is mentioned The resource information collection of confession is sent to the application server, with for the application server receive client sending visit In the case where asking request, the access information for the resource that the access request is directed toward is fed back into the client, so that the visitor Family end obtains corresponding resource according to the access information;
The processor is used to concentrate in the resource information of storage, will resource information collection corresponding with the information set identifier The network communication unit is transferred to be sent to the application server.
10. a kind of data transmission method, which is characterized in that be applied to application server, which comprises
Resource information collection acquisition request is issued to Resource Server, the resource information collection acquisition request is accompanied with information collection mark Know;The information set identifier is for identifying corresponding resource information collection;The resource information concentrates the access information including resource;
The resource information collection for receiving the Resource Server feedback, for the feelings in the access request for receiving client sending Under condition, the access information for the resource that the access request is directed toward is fed back into the client, with for the client according to The access information obtains corresponding resource.
11. according to the method described in claim 10, it is characterized in that, the resource that the access information is directed toward is stored in front end clothes Business device;After access information is fed back to the client, the client is taken according to the access information from the front end Business device obtains the resource.
12. according to the method described in claim 10, it is characterized in that, the method also includes:
In the feelings that the resource information concentration of the application server does not include the access information for the resource that the access request is directed toward Under condition, Xiang Suoshu Resource Server issues the first access information acquisition request;The first access information acquisition request is accompanied with Resource identification;The resource identification is for identifying resource;
Receive the access information for the resource that the resource identification that the Resource Server is fed back is identified;
The access information is sent to the client.
13. a kind of server characterized by comprising
Module is obtained, for issuing resource information collection acquisition request to Resource Server, the resource information collection acquisition request is attached With information set identifier;The information set identifier is for identifying corresponding resource information collection;It includes money that the resource information, which is concentrated, The access information in source;
Information collection receiving module, for receiving the resource information collection of the Resource Server feedback, for receiving client In the case where holding the access request issued, the access information for the resource that the access request is directed toward is fed back into the client, To obtain corresponding resource according to the access information for the client.
14. a kind of electronic equipment, which is characterized in that the electronic equipment includes: memory, network communication unit and processor;
The network communication unit is used to issue resource information collection acquisition request to Resource Server, and the resource information collection obtains Request is accompanied with information set identifier;The information set identifier is for identifying corresponding resource information collection;The resource information is concentrated Access information including resource;Receive the resource information collection of the Resource Server feedback;The access that client issues is received to ask It asks;The access information that the processor provides is sent to client;
The memory is for storing the resource information collection;
The resource that the processor is used to, according to the access request, access request described in the resource information collection be directed toward Access information transfers to the network communication unit.
15. a kind of starting method of application server, which is characterized in that the described method includes:
Loading procedure instruction set;
Resource information collection acquisition request is issued to Resource Server;
The resource information collection of the Resource Server feedback is received, so that the application server is receiving client sending In the case where access request, the access information for the resource that the access request is directed toward is fed back into the client, to be used for institute It states client and corresponding resource is obtained according to the access information.
16. according to the method for claim 15, which is characterized in that the resource information collection acquisition request is accompanied with the journey The corresponding information set identifier of sequence instruction set;The information set identifier is for identifying the corresponding resource information of described program instruction set Collection.
17. according to the method for claim 15, which is characterized in that the method also includes generating described program instruction set Method, the method for generating described program instruction set include:
Information set identifier acquisition request is issued to Resource Server;
Receive the information set identifier of the Resource Server feedback;
The information set identifier is depended on into described program instruction set.
18. a kind of Knowledge Management System characterized by comprising what issuing process information when being published based on resource was formed Resources and knowledge library and Resource Server;
The access information that the Resource Server is used to store the resource forms resource information collection;Receiving the first application clothes In the case where the resource information acquisition request of device of being engaged in, concentrates and search and the resource information acquisition request pair in the resource information The access information answered;The case where the resource information concentrates not access information corresponding with the resource information acquisition request Under, access information described in the issuing process information of the resource is obtained from the resources and knowledge library;By the access information It is sent to first application server.
19. system according to claim 18, which is characterized in that the Resource Server will be obtained from the resources and knowledge library The access information taken is stored in the resource information and concentrates, with the resource information acquisition request for receiving the second application server In the case where, the access information is sent to second application server.
CN201710771608.8A 2017-08-31 2017-08-31 Data transmission method, equipment, server, starting method and system Active CN109428872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710771608.8A CN109428872B (en) 2017-08-31 2017-08-31 Data transmission method, equipment, server, starting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710771608.8A CN109428872B (en) 2017-08-31 2017-08-31 Data transmission method, equipment, server, starting method and system

Publications (2)

Publication Number Publication Date
CN109428872A true CN109428872A (en) 2019-03-05
CN109428872B CN109428872B (en) 2021-12-03

Family

ID=65505361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710771608.8A Active CN109428872B (en) 2017-08-31 2017-08-31 Data transmission method, equipment, server, starting method and system

Country Status (1)

Country Link
CN (1) CN109428872B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111679917A (en) * 2020-06-04 2020-09-18 中国建设银行股份有限公司 Resource access processing method, device, server and storage medium
CN113411364A (en) * 2020-03-16 2021-09-17 北京金山云网络技术有限公司 Resource acquisition method and device and server
CN113452785A (en) * 2021-06-28 2021-09-28 平安银行股份有限公司 Service access method and device based on offline resources, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309275A (en) * 2008-06-27 2008-11-19 武汉烽火网络有限责任公司 File name protection method for stream media service
CN102624682A (en) * 2011-06-30 2012-08-01 北京小米科技有限责任公司 Method for managing client data
CN104104707A (en) * 2013-04-12 2014-10-15 腾讯科技(深圳)有限公司 Webpage data update method, terminal, cache server and system
US20150026239A1 (en) * 2013-07-19 2015-01-22 Limelight Networks, Inc. Dynamically selecting between acceleration techniques based on content request attributes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309275A (en) * 2008-06-27 2008-11-19 武汉烽火网络有限责任公司 File name protection method for stream media service
CN102624682A (en) * 2011-06-30 2012-08-01 北京小米科技有限责任公司 Method for managing client data
CN104104707A (en) * 2013-04-12 2014-10-15 腾讯科技(深圳)有限公司 Webpage data update method, terminal, cache server and system
US20150026239A1 (en) * 2013-07-19 2015-01-22 Limelight Networks, Inc. Dynamically selecting between acceleration techniques based on content request attributes

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411364A (en) * 2020-03-16 2021-09-17 北京金山云网络技术有限公司 Resource acquisition method and device and server
CN113411364B (en) * 2020-03-16 2022-10-11 北京金山云网络技术有限公司 Resource acquisition method and device and server
CN111679917A (en) * 2020-06-04 2020-09-18 中国建设银行股份有限公司 Resource access processing method, device, server and storage medium
CN113452785A (en) * 2021-06-28 2021-09-28 平安银行股份有限公司 Service access method and device based on offline resources, electronic equipment and medium
CN113452785B (en) * 2021-06-28 2023-01-17 平安银行股份有限公司 Service access method and device based on offline resources, electronic equipment and medium

Also Published As

Publication number Publication date
CN109428872B (en) 2021-12-03

Similar Documents

Publication Publication Date Title
US11645210B2 (en) Cache aware searching based on one or more files in remote storage
US11321321B2 (en) Record expansion and reduction based on a processing task in a data intake and query system
US20220327125A1 (en) Query scheduling based on a query-resource allocation and resource availability
US20190258637A1 (en) Partitioning and reducing records at ingest of a worker node
US9646097B2 (en) Augmenting search results with relevant third-party application content
US9524157B2 (en) Providing an improved web user interface framework for building web applications
US11275806B2 (en) Dynamic materialization of feeds for enabling access of the feed in an online social network
US9363335B2 (en) Method and apparatus that enables a web-based client-server application to be used offline
WO2021258575A1 (en) Request processing system, method and apparatus, and electronic device and computer-readable medium
US10678881B2 (en) Usage-based predictive prefetching and caching of component-based web pages for performance optimization
CN109428872A (en) Data transmission method, equipment, server and starting method, system
US11916729B2 (en) Automated configuration of a content delivery network
US11341199B2 (en) System and method for delivery of content based on matching of user profiles with content metadata
US20100036892A1 (en) Determination of an updated data source from disparate data sources
US8867337B2 (en) Structure-aware caching
US10331747B1 (en) Method and system for creating and using persona in a content management system
US11652908B2 (en) Split testing with custom cache keys for content delivery networks
WO2023037325A2 (en) Make automatically workable or generating code for service worker, replication and rules based web app and suggesting, installing, invoking & managing progressive web apps (pwas)
WO2019015326A1 (en) Method and device for processing static page data
Borusu et al. Online Partial Service Hosting at the Edge
JP2016024551A (en) Electronic magazine creation device, server device, electronic magazine creation system, electronic magazine creation method, and computer program
JP2019008736A (en) Service providing method, service providing program, and service providing apparatus
Kaiser et al. A workgroup model for smart pushing and pulling
Liu et al. Rethinking Resource Management in Mobile Web: Measurement, Deployment, and Runtime
Ho Auto Scaling Infrastructure for Fit Restaurant with Nginx and Docker

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