[go: up one dir, main page]

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

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

Info

Publication number
CN109428872B
CN109428872B CN201710771608.8A CN201710771608A CN109428872B CN 109428872 B CN109428872 B CN 109428872B CN 201710771608 A CN201710771608 A CN 201710771608A CN 109428872 B CN109428872 B CN 109428872B
Authority
CN
China
Prior art keywords
resource
information set
server
access
application server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710771608.8A
Other languages
Chinese (zh)
Other versions
CN109428872A (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

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The implementation mode of the specification discloses a data transmission method, data transmission equipment, a server, a starting method and a starting system. The method comprises the following steps: receiving a resource information set acquisition request of an application server; the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; and sending the resource information set corresponding to the information set identifier to the application server in the stored resource information set, so that the application server feeds back the access information of the resource pointed by the access request to the client under the condition that the application server receives the access request sent by the client, and the client can acquire the corresponding resource according to the access information. The method can improve the consistency of data updating among different servers.

Description

Data transmission method, equipment, server, starting method and system
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data transmission method, a data transmission device, a data transmission server, a data transmission starting method, and a data transmission starting system.
Background
With the development of the internet, more and more demands of users need to be met by the network. So that more and more data needs to be processed by the network devices.
Traditional network system architectures employ a basic "client-server" model, where users use clients to send access requests to servers. After receiving the access request, the server sends all the data involved to the client. In the communication process, a communication bridge is constructed between the client and the server through the guidance of the router.
The basic "client-server" mode described above, as more and more internet users are available, the amount of data to be processed is larger and larger, and in some cases, there is a problem that the response to the user's demand is slow. For example, the spatial distance or communication path between the client and the server is very far, and the access request of the client can reach the server after passing through many levels of routers, and the feedback information of the server can reach the client after passing through many levels of routers. In this case, problems such as a relatively serious network communication delay and packet loss may be caused.
In order to improve the user experience and speed of responding to the user, a cdn (content Delivery network) architecture is adopted. Under the framework of the CDN, a CDN network system can redirect a user's request to a node server closest to the user in real time according to network traffic, connection of each node, load conditions, distance to the user, response time and other comprehensive information by placing node servers at each position of the network to form a layer of intelligent virtual network on the basis of the existing Internet.
For a specific application, resources such as pictures, audios and videos, JavaScript files, CSS files, and the like for application interface presentation can be deployed in a node server of the CDN, and a background server of an application developer is mainly responsible for core service logic such as data processing operations. In some cases, it is necessary to modify resources in the node server or service logic in the background server, and if the content modified by one of the two is published, the correspondingly modified part of the other is not published in time and is valid, which may cause a display error of an application interface used by a user. Therefore, in the prior art, when at least one of the resources in the CDN network and the service logic in the backend server is modified, an interface display error of the application is easily caused.
Disclosure of Invention
The embodiment of the specification provides a data transmission method, data transmission equipment, a server, a starting method and a starting system. It is possible that when at least one of a modification of a resource in a front-end server and a modification of business logic in an application server occurs, both may tend to take effect simultaneously with respect to the content of the modification.
In order to achieve the above object, an embodiment of the present specification provides a data transmission method, which is applied to a resource server, where the resource server stores a resource information set formed by access information of a resource; the method comprises the following steps: receiving a resource information set acquisition request of an application server; the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; and sending the resource information set corresponding to the information set identifier to the application server in the stored resource information set, so that the application server feeds back the access information of the resource pointed by the access request to the client under the condition that the application server receives the access request sent by the client, and the client can acquire the corresponding resource according to the access information.
The implementation mode of the specification also provides a server, wherein the server stores a resource information set formed by the access information of the resource; the server includes: the receiving module is used for receiving a resource information set acquisition request of the application server; the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; and the sending module is used for sending the resource information set corresponding to the information set identifier to the application server in the stored resource information set, so that the application server feeds back the access information of the resource pointed by the access request to the client under the condition that the application server receives the access request sent by the client, and the client can obtain the corresponding resource according to the access information.
Embodiments of the present specification further provide an electronic device, including: a memory, a network communication unit, and a processor; the memory stores a resource information set formed by access information of resources; the network communication unit is used for receiving a resource information set acquisition request of an application server; the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; sending the resource information set provided by the processor to the application server, so that the application server feeds back access information of the resource pointed by the access request to the client under the condition that the application server receives the access request sent by the client, and the client acquires the corresponding resource according to the access information; the processor is used for delivering the resource information set corresponding to the information set identification to the network communication unit and sending the resource information set to the application server in the stored resource information set.
An embodiment of this specification further provides a data transmission method applied to an application server, where the method includes: sending a resource information set acquisition request to a resource server, wherein the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; the resource information set comprises access information of resources; and receiving the resource information set fed back by the resource server, so as to feed back the access information of the resource pointed by the access request to the client under the condition of receiving the access request sent by the client, and the client can obtain the corresponding resource according to the access information.
An embodiment of the present specification further provides a server, including: an acquisition module, configured to send a resource information set acquisition request to a resource server, where the resource information set acquisition request is accompanied by an information set identifier; the information set identification is used for identifying a corresponding resource information set; the resource information set comprises access information of resources; and the information set receiving module is used for receiving the resource information set fed back by the resource server, and feeding back the access information of the resource pointed by the access request to the client under the condition of receiving the access request sent by the client, so that the client can obtain the corresponding resource according to the access information.
Embodiments of the present specification further provide an electronic device, including: a memory, a network communication unit, and a processor; the network communication unit is used for sending a resource information set acquisition request to a resource server, and the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; the resource information set comprises access information of resources; receiving a resource information set fed back by the resource server; receiving an access request sent by a client; sending the access information provided by the processor to a client; the memory is used for storing the resource information set; the processor is used for delivering the access information of the resource pointed by the access request in the resource information set to the network communication unit according to the access request.
An embodiment of the present specification further provides a method for starting an application server, where the method includes: loading a program instruction set; sending a resource information set acquisition request to a resource server; and receiving the resource information set fed back by the resource server, so that the application server feeds back the access information of the resource pointed by the access request to the client under the condition that the application server receives the access request sent by the client, and the client acquires the corresponding resource according to the access information.
An embodiment of the present specification further provides a knowledge management system, including: a resource knowledge base and a resource server formed based on the publishing process information when the resource is published; the resource server is used for storing the access information of the resources to form a resource information set; under the condition of receiving a resource information acquisition request of a first application server, searching access information corresponding to the resource information acquisition request in the resource information set; under the condition that the resource information set does not have access information corresponding to the resource information acquisition request, acquiring access information described in the release process information of the resource from the resource knowledge base; and sending the access information to the first application server.
As can be seen from the technical solutions provided by the embodiments of the present specification, the method provided by the embodiments of the present specification can actively acquire the corresponding resource information set from the resource server by the application server. And, the application server may specifically identify by providing the information set so that the resource server may determine the resource information set corresponding to the application server. Thus, when the application server does not obtain the resource information set, its updated program instructions are not yet in effect. When the application server obtains the corresponding resource information set and is in a state of being capable of responding to the access request of the client, the program instruction of the application server is enabled to take effect, and the corresponding resource information set is also in an effective state. The two tend to take effect at the same time in time, and the problem caused by different effective time is also avoided.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the specification, and other drawings can be obtained by those skilled in the art without inventive labor.
Fig. 1 is a schematic diagram of a network interaction system provided in an embodiment of the present specification;
fig. 2 is a flowchart of a data transmission method provided in an embodiment of the present specification;
fig. 3 is a flowchart illustrating a network interaction method according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a network interaction method according to an embodiment of the present disclosure;
fig. 5 is a flowchart of a data transmission method provided in an embodiment of the present specification;
fig. 6 is a flowchart of a data transmission method provided in an embodiment of the present specification;
fig. 7 is a schematic block diagram of a server provided in an embodiment of the present specification;
fig. 8 is a schematic architecture diagram of a server according to an embodiment of the present disclosure;
fig. 9 is a flowchart of a data transmission method provided in an embodiment of the present specification;
fig. 10 is a schematic block diagram of a server provided in an embodiment of the present specification;
fig. 11 is a flowchart of a method for starting a server according to an embodiment of the present disclosure;
fig. 12 is a flowchart of a method for starting a server according to an embodiment of the present disclosure;
fig. 13 is a flowchart of a data transmission method provided in an embodiment of the present specification;
fig. 14 is a flowchart of a data transmission method provided in an embodiment of the present specification.
Detailed Description
In order to make the technical solutions in the present specification better understood, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present specification shall fall within the protection scope of the present specification.
Please refer to fig. 1. The embodiment of the specification provides a network interaction system. The network interaction system includes: a front-end server and a resource server.
The front-end server may be configured to receive published resources. And the resource can be stored, and when an access request aiming at the resource of a client is received, the resource pointed by the resource access request is sent to the client. The front-end server may send the access information of the resource as a data set to the resource server. When the resource in the front-end server is changed, the access information of the changed resource can be provided to the resource server, so that the resource server can update the stored access information.
In this embodiment, the resource may include, but is not limited to, a picture, an audio/video, a JavaScript file, a CSS file, and other resources for displaying the application interface. Resource updates in the front-end server include, but are not limited to: new resources are released and existing resources are modified.
In this embodiment, the front-end server may be an electronic device with computing and network interaction functions; software that runs in the electronic device and provides business logic for data processing and network interaction is also possible.
In the present embodiment, the number of servers is not particularly limited to the front-end server. The front-end server may be one server, several servers, or a server cluster formed by several servers.
In this embodiment, the front-end server may include a central server and a node server in the CDN network. The central server may mirror its stored resources to the node servers. The node server may be configured to receive a resource access request of a client, and send a resource to which the resource access request is directed to the corresponding client. The node server may obtain the corresponding resource from the central server when the node server does not have the resource to which the resource access request points. The central server may be configured to receive a new resource issued by the management terminal, or receive modification information for an already issued resource, and modify a stored resource according to the modification information.
In this embodiment, the client may be an electronic device having display, operation, and network access functions. Specifically, for example, the client may be a desktop computer, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, a shopping guide terminal, or a television with a network access function. Alternatively, the client may be software that can run on the electronic device. Specifically, for example, the client may provide an access portal for the shopping website platform, and the client may also provide an application running in a smart phone for the shopping website platform.
The resource server is used for storing a resource information set of resources in a front-end server, and the resource information set comprises access information of the resources in the front-end server; and under the condition of receiving a resource information set acquisition request of the application server, providing a resource information set corresponding to an information set identifier in the resource information set acquisition request to the application server.
In this embodiment, the resource server may be an electronic device with computing and network interaction functions; software that runs in the electronic device and provides business logic for data processing and network interaction is also possible.
In the present embodiment, the number of servers is not particularly limited to the resource server. The resource server may be one server, several servers, or a server cluster formed by several servers.
In the present embodiment, the number of resource information sets may be one or more. Each resource information set may correspond to a software application. Of course, in some cases, for a plurality of software applications to share the resource pointed by the access information in one resource information set, one resource information set may correspond to a plurality of software applications.
In this embodiment, the resource information set in the resource server may be distributed in a non-overlay manner, so that multiple versions of the resource information set may be stored in the resource server for one software application. Resource information sets of the same software application can be distinguished through release time, version numbers, resource information set storage paths and the like.
In this embodiment, the access information of the Resource may be used to generate a URL (Uniform Resource Locator) of the Resource. The client can access the resource by accessing the URL. The access information may include information for a plurality of dimensions that form the URL. For example, the access information may include CDN domain names, names of repositories, version information, file paths, and so on. Of course, the access information is not shown in the above description, but may be directly the URL of the resource.
In one embodiment, the network interaction system may further include an application server. The application server is used for sending the resource information set acquisition request to the resource server; and receiving the resource information set provided by the resource server, and feeding back the access information of the resource pointed by the access request to the client under the condition of receiving the access request sent by the client.
In this embodiment, the application server may be an electronic device with computing and network interaction functions; software that runs in the electronic device and provides business logic for data processing and network interaction is also possible.
In this embodiment, the application server is not particularly limited to the number of servers. The application server may be one server, several servers, or a server cluster formed by several servers.
In the present embodiment, the application server corresponds to a software application and is configured to process operations of a main data arithmetic processing section of the software application. In particular, for example, in a merchandise search scenario, the application server may perform a matching feature search in the database based on keywords provided by the user to feed back a result set to the client. In this example, the result set fed back by the application server may include access information of the matched resource. After providing the access information to the client, the client may further obtain and display the corresponding resource according to the access information.
Please refer to fig. 2. The embodiment of the specification provides a data transmission method which is applied to a resource server. The data transmission method may include the following steps.
Step S10: receiving a resource information set acquisition request of an application server; the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set.
In this embodiment, the resource information set acquisition request may be a character string having a specified format, which may be used to indicate that the application server needs to acquire the resource information set from the resource server. The specified format of the resource information set acquisition request may be a format that complies with a network communication protocol, such that the resource information set acquisition request can be transmitted via a network. Specifically, the application server may send a resource information set acquisition request to the resource server according to a network communication protocol, such as Http, TCP/IP, or FTP.
In this embodiment, the information set identifier may be used to identify the resource information set. In this way, the application server can notify the resource server of the resource information set that needs to be fed back by attaching the information set identifier to the resource information set acquisition request. The information set identifier may be a default string of characters that is used as an identifier. In one particular example, the information set identification may be an identification of a corresponding software application of the application server. For example, the information set identification may be a name or abbreviation or code number of the software application, or the like. Thus, after the resource server receives the information set identifier, the resource information set corresponding to the software application can be fed back to the application server. In another specific example, the information set identification may include time information, and the resource server may transmit a resource information set published at or near a point in time indicated by the time information to the application server. In another specific example, the information set identifier may include an identifier of the software application and time information, such that the resource server may send the resource information set of the software application to the application server at a time point indicated by the time information or a resource information set published around the time point. Of course, the content of the information set identifier is not limited to the above exemplary list, and other modifications are possible for those skilled in the art in light of the technical spirit of the present disclosure, and all that can be achieved is intended to be covered by the scope of the present disclosure as long as the achieved function and effect are the same or similar to the present disclosure.
In this embodiment, the method for attaching the information set identifier to the resource information set acquisition request may include: the information set identification is used as a part of the resource information set acquisition request content; it is also possible that the information set identification is an attachment to a resource information set acquisition request.
Step S12: and sending the resource information set corresponding to the information set identifier to the application server in the stored resource information set, so that the application server feeds back the access information of the resource pointed by the access request to the client under the condition that the application server receives the access request sent by the client, and the client can acquire the corresponding resource according to the access information.
In this embodiment, the front-end server may update some or all of the resources. A new version is released for the changed resource. The front-end server can form all resources into a resource set, and can release a new version of the resource set when part or all of the resources in the resource set are changed. And putting the changed resources and the unchanged resources into the new-version resource set, and providing the access information of the new-version resource set to the resource server so that the resource server can correspondingly form the new-version resource information set. Of course, the front-end server may store a new version for the updated resource instead of managing the entire resource set. The resources of different versions can be distinguished by version information, storage path, release time, etc. The front-end server may send access information for the resource for which the update occurred to the resource server. And when the resource server receives the access information of the updated resource, the resource server forms the access information which is not updated in the existing resource information set of the latest version and the received updated access information into a resource information set of a new version together.
In this embodiment, the resource server may distinguish different resource information sets by at least one data such as version information, name, time, or storage path in units of resource information sets. In addition, the resource server can also manage the access information by adopting a mode of independently storing the access information aiming at different resources in the release time dimension. For example, after a resource is updated, a new version of access information is stored in the resource server for the access information of the resource, and different access information of the resource is distinguished through release time. Furthermore, a resource information set can be formed by specifying a certain time, and the access information issued at the time, or the access information issued at the latest time after the time, or the combination of the two access information.
In one embodiment, the number of resource information sets stored in the resource server may be one or more in a manner that the resource information sets may be unit in the resource server. The resource server can store resource information sets of multiple versions of a software application aiming at the software application; the resource server may also store resource information sets for a plurality of software applications, each of which may have one or more versions of a resource information set; it is also possible that one or more resource information sets are stored in the resource server, and each resource information set may correspond to at least one software application.
In this embodiment, the resource server finds the resource information set indicated by the information set identifier in the stored resource information set, and transmits the resource information set to the application server. Therefore, the application server can record the historical version of the resource information set without recording the historical version of the management resource information set, and the resource server can record the historical version of the resource information set. Furthermore, the resource information set can be uniformly managed by the resource server, the application server is only responsible for the data operation processing of the application server, the coupling degree among all parts of the system is reduced, and the division of labor is further clear.
In this embodiment, the application server may receive the resource information set sent by the resource server. The application server may store the received resource information set for further use. In order to improve the response processing speed of the application server, the resource information set can be put into the memory.
In this embodiment, the client may display an interface included in the software application. The client sends an access request to the application server, an interface displayed for the client can comprise one or more resources, and the client sends the access request to the application server so that the application server provides access information of the resources. Furthermore, the client can acquire the corresponding resource through the access information. Specifically, for example, an interface displayed by the client includes a video, the client sends an access request to the application server, and when the application server receives the access request, the application server may generate access information of the video according to the resource information set, or obtain the access information of the resource. And the application server sends the access information to the client. The client receives the access information, so that the URL of the video can be obtained, and an access request is initiated to the URL. The CDN network can invoke a node server capable of responding to the access request of the client quickly to respond to the access request, so that the node server can provide the video for the client.
In this embodiment, the application server requests the resource server to obtain the corresponding resource information set, so that the code in the application server and the updated resource in the front-end server tend to take effect simultaneously. In a specific scenario, for example, when a resource in the front-end server and a program instruction in the application server are changed, the changed resource in the front-end server is issued before the changed code of the application server in terms of time. The issuing may refer to storing in the front-end server and being in a state of being usable, but when the access information provided to the client by the program instruction in the application server points to the changed resource, the changed resource in the front-end server becomes effective. In some cases, resources in the front-end server are changed, for example, a css (cascading Style sheets) file is changed, an original page layout is changed, and the like. The changed CSS file becomes valid, and a corresponding change of the program instruction in the corresponding application server is required, so that the resource pointed by the access information provided to the client can be applicable to the changed CSS file. However, if the resources in the front-end server are changed, the updated access information of the CSS file is pushed to the application server, so that the application server updates the information resource set. In this way, the access information provided by the application server to the client includes the access information of the updated CSS and the access information of other resources. Since the instruction code of the application server is not changed corresponding to the updated CSS file, the resource to which the access information of the other resource points may not adapt to the style in the changed CSS file. In this way, it is likely that the resource pointed by the access information provided by the application server to the client is not suitable for the changed CSS file, so that the layout of the resource such as an image or a text may be disordered in the interface displayed by the client. In the solution provided in the present embodiment, the change of the resource information set data in the application server is initiated by the application server itself, and does not depend on whether the resource in the front-end server is changed. In this way, when a resource in the front-end server is changed, a resource information set corresponding to the changed resource can be stored in the resource server. That is, a version can be added to the resource information set in the resource server. The resource information set of the new version is in a released state, but is not acquired and used by the application server, so that the resource information set of the new version is not effective. The application server can specify the resource information set to be acquired through the information set identification, so that the problem caused by using the resource information set of the new version when the instruction purchase in the application server is not modified compared with the resource information set of the new version is solved.
Please refer to fig. 1 and fig. 3. In a specific scenario example, resources of a software application are stored in a front-end server in a CDN network, a resource information set formed by access information of the resources is stored in a resource server, and an application server is responsible for main data logical operation processing of the software application.
In this scenario example, a user initiates an access request using a client of a mobile phone, requesting to display a page. The network dns (domain Name system) may resolve a page access request of a client to an application server of a software application. The page may include a piece of text and a picture. The client displays the page, and the required resources comprise characters, pictures, style files and the like. The querying, by the application server, the access information of the text in the resource information set stored by the application server may include: com, front-end resource library name repoA, version information of the resource library 1.0.1, path and name of the resource file dist/wenzi. The URL generated according to the access information can be http:// g. The URL generation can be done by the application server or by the client. Similarly, the URL of the picture or the style may be generated.
In this scenario example, after obtaining the URL, the client may initiate access to the URL, and further obtain corresponding text, picture, and style files from a front-end server in the CDN network. The style file may include attribute information such as display effect and layout of characters and pictures.
Please refer to fig. 1 and 4. In the present scenario example, the software application needs to be further updated, where the layout of the text and the picture in the style file is changed, and furthermore, the position area for planning to provide the display picture in the new style file in the page becomes larger. The program instructions in the corresponding application server also have some changes to improve the internal operation speed, for example, when different users access the same page, the pictures in the page may be different. At this time, the policy related to the picture recommendation in the application server may change. Furthermore, when the application server internally calculates the recommended picture, the application server combines the position area planned to the picture in the style file to avoid the recommended picture from being too large or too small.
In the present scenario example, the updated resource is published in the front-end server in a non-overlay manner. The number of resources for which the update occurs is not limited. Here, a style file is taken as an example. After the style file is developed, it is published in the front-end server, i.e., stored at the front-end server. The front-end server may send the updated access information of the resource to the resource server. For example, the access information of the style file may include a CDN domain name g.alicdn.com, a front-end repository name repoA, version information 1.0.2 of the repository is, and dist/yangshi.cs is a path and a name of the repository file.
In this scenario example, the resource server receives the access information provided by the front-end server, and stores the resource information set forming the new version in a non-overlay manner, for example, the version number of the resource information set may continue to use the version information 1.0.2 of the resource library in the front-end server. The resource server stores the resource information set of the new version, namely the resource server can be considered to finish the release of the resource information set of the new version, but the resource information set of the new version is not provided for the application server to use, so the resource information set of the new version is not effective.
In the scenario example, the program instructions of the application server generate the software installation package after completing the development test work in the development system. The acquisition of the information set identification may be requested from the resource server prior to generating the software installation package. The resource server may feed back an information set identifier of a currently latest resource information set in an effective state to the development system. Specifically, for example, the information set identification may be version information 1.0.1. When the development system generates the software installation package, the information set identifier 1.0.1 can be attached to the software installation package.
In the present scenario example, a software installation package is installed in a hardware device to update an application server. After the updated application server is started, the local part of the application server does not have the resource information set. The application server sends a resource information set acquisition request to the resource server, and the request is accompanied by an information set identifier.
In this scenario example, the resource server receives a resource information set acquisition request from the application server, and obtains an information set identifier 1.0.1. The resource server does not directly send the resource information set of the version information 1.0.1 corresponding to the information set identifier 1.0.1 to the application server. When the software installation package is generated, the resource information set corresponding to the updated application server is not yet validated and sometimes not even released. And the information set identifier is directly corresponding to the resource information set and is not the updated resource information set corresponding to the application server. Further, the resource server may send the resource information set of version 1.0.2 published after version 1.0.1 to the application server. Therefore, the application server acquires the corresponding resource information set through appointment in time.
In this scenario example, after the application server obtains the resource information set, the updated application server may take effect for formal purpose, and the corresponding resource information set also takes effect. When the updated application server receives an access request of the client, pictures adapted to the style file may be recommended. And sending the access information of the picture to the client so that the client can acquire the corresponding picture.
In this scenario example, the application server may store the resource information set in the memory, so that the reading speed may be faster. When the application server is restarted, the resource information set can be acquired from the resource server again. In this way, the person responsible for the program instruction development work of the application server can consider only the operation logic and the like of the application server without considering the access information of the resource. Namely, the access information of the resource can not be integrated in the program instruction of the application server, so that the coupling degree between the application server and the resource server and between the application server and the front-end server is reduced, and convenience is brought to development.
In one embodiment, the resource pointed to by the access information may be stored in a front-end server; after the access information is fed back to the client, the access information is used for the client to obtain the resource from the front-end server according to the access information.
In the embodiment, the resources are stored in the front-end server of the CDN network, so that when the client needs to obtain the resources, the resources can be obtained from the node server with a faster response, so as to improve the interface display speed of the client.
In this embodiment, the manner of acquiring the resource according to the access information after the client acquires the access information includes: in the case where the access information itself is a URL of a resource, the client may directly issue an access request to the URL; in the case that the access information provides some attribute information of the resource, the attribute information may include a domain name of the CDN to which the resource belongs, a name of a resource information set, version information, a file path, and the like. The client can generate the URL of the resource according to the content of the access information and the specified sequence and format, and further send an access request to the URL.
In one embodiment, the resource information set stored by the resource server is distributed according to the time of the front-end server publishing resources; the information set identification is used for representing time; the step S12 may include: and sending the resource information set positioned after the time corresponding to the information set identification to the application server in the stored resource information set.
In this embodiment, a plurality of resource information sets may be stored in the resource server. In particular, the resource server may store multiple versions of the resource information set for different software applications. Each resource information has a release time, so that the resource information sets can be ordered according to the sequence of the release times. When a certain time is specified, the corresponding resource information set may be determined.
In the present embodiment, the information transmitted from the application server to the resource server is accompanied by information and an identifier, and the resource server is specified at one time point. The resource server can search the resource information set corresponding to the application server according to the time represented by the information set identifier, wherein the publishing time of the resource information set is closest to the time represented by the information and identifier, or the publishing time of the resource information set is at the time represented by the information and identifier.
In one particular embodiment, a software installation package may be installed on a hardware device during the process of building an application server. The software installation package may carry an information set identifier, so that the application server after being built may send the information set identifier to the resource server. After the development system finishes development and debugging, the instruction codes of the application server are packaged to generate a software installation package. The software installation package is subsequently used to build the application server. When the software installation package is generated, the resource corresponding to the software installation package is not yet validated in the front-end server, that is, the access information of the resource corresponding to the software installation package in the resource server is not yet validated. At this time, the information set identification attached in generating the software installation package may point to the latest version of the resource information set in effect in the resource server, or the information set identification represents the time at which the software installation package was generated. Further, after the application server completes the establishment, the information set identifier sent to the resource server is used for acquiring the resource information set. At this time, the application server is a new version of the instruction code, and the corresponding resource information set is in a state of being issued in the resource server but not yet being validated. The resource information set after the time corresponding to the information set identifier may be sent to the application server, so that when the new version of the code in the application server takes effect, the corresponding resource information set is obtained, so that the resource information set in the release state takes effect.
Please refer to fig. 5. In one embodiment, the step of sending the resource information set corresponding to the information set identifier to the application server may comprise the following steps.
Step S16: and in the stored resource information sets, determining the latest resource information set after the time corresponding to the information set identification as a target resource information set.
Step S18: and sending the target resource information set to the application server.
In this embodiment, the resource server sends the resource information set that is in the release state most recently after the time corresponding to the information set identifier as the target resource information set to the application server, so that after the application server is started, the resource information set adapted to the program instruction of the application server can be acquired. The display problem of the display interface of the final client caused by the fact that the display interface is not matched with the display interface of the final client is avoided. For details, reference may be made to the foregoing embodiments for a comparative explanation.
Please refer to fig. 6. In one embodiment, the data transmission method may further include the following steps.
Step S20: and receiving the resource information set modification information sent by the front-end server.
Step S22: and modifying the stored access information in the corresponding resource information set according to the resource information set modification information.
Step S24: and sending the modified resource information set to the application server so as to update the resource information set of the application server.
In this embodiment, some of the resources in the front-end server are changed, and the changes may involve changes in the front-end server only, and not changes made by the application server. At this time, the resource server can be notified to modify the access information in the resource information set through the front-end server, and then the resource server notifies the application server of the modified access information to modify the corresponding access information in the application server. Therefore, the updated resource publishing in the front-end server can be enabled to take effect quickly.
In this embodiment, the resource information set modification information may be appended with access information of the resource that has been updated, so as to update the access information to which the resource server responds. Specifically, the resource information set modification information may include a resource name, version information, path information, CDN domain information, and the like. The resource server may modify the locally stored access information based on the resource information set modification information.
In this embodiment, after the resource server updates the resource information set stored therein, the resource server may send the updated resource information set to the application server as a whole; the resource server may transmit only access information of the resource for which the update has occurred to the application server.
Please refer to fig. 13. In one embodiment, the data transmission method may further include the following steps.
Step S11: receiving a resource information acquisition request of the application server; the resource information acquisition request is attached with a resource identifier.
In this embodiment, after the application server receives an access request directed to a resource, the application server does not find corresponding access information in the local resource information set. The application server may send a resource information obtaining request to the resource server to request the resource server to provide access information of the resource to which the access request is directed.
In this embodiment, the resource identifier may be used to represent one resource. There may be a certain correspondence between the resource identifier and the resource, so that the corresponding resource may be determined according to the resource identifier. Specifically, for example, the resource identifier may be a name or a number of the resource.
In this embodiment, the resource information obtaining request may be a character string having a specified format, which may be used to indicate that the application server needs to obtain the access information corresponding to the resource identifier from the resource server. The specified format of the resource information acquisition request may be a format conforming to a network communication protocol, so that the resource information acquisition request can be transmitted via a network. Specifically, the application server may send a resource information set acquisition request to the resource server according to a network communication protocol, such as Http, TCP/IP, or FTP.
In this embodiment, the manner in which the resource information acquisition request is accompanied by the resource identifier may include, but is not limited to, the resource identifier being a part of the content of the resource information acquisition request, or the resource identifier being an attachment to the resource information acquisition request.
Step S13: and acquiring access information corresponding to the resource identifier.
Step S15: and sending the access information to the application server to update the resource information set of the application server.
In this embodiment, the resource server obtains access information of a corresponding resource according to the resource identifier. The resource server can inquire from the locally stored resource information set to obtain the access information corresponding to the resource identifier. The resource server may send an information acquisition request to the front-end server, so that the front-end server provides access information of the resource represented by the resource identifier. And after the resource server receives the access information provided by the front-end server. The access information may be stored locally in a resource information set. The resource server can also request the resource knowledge base to acquire access information corresponding to the resource identifier. The resource knowledge base can be information of a release process of the resources when the resources are released, and a relatively comprehensive database in which description information of each resource is recorded is formed. Each resource is typically released before being put into use. In this way, the resource knowledge base can record the description information of each resource very comprehensively. The description information includes but is not limited to: resource name, resource number, resource version, group to which the resource belongs, access path of the resource, size of the resource, data format of the resource, and the like.
In this embodiment, the resource server may send the acquired access information to the application server. The application server can store the access information in the resource information set so as to update the resource information set. Furthermore, the application server can send the access information to the client sending the access request, so that the client can access the corresponding resource according to the access information.
In this embodiment, a method for updating a resource information set in an application server is provided. The method is a mode of responding to an access request of a client, and corresponding access information is started to be acquired so as to update a resource information set. As such, in some cases, the resources in the front-end resource server have been updated, etc. Such as updates to individual resources. And the resource information set in the resource server and the resource information set in the application server are not updated. The access information requested by the client is the resource updated aiming at the resource, and at this time, the application server can send a resource information acquisition request to the resource server, so that the resource server can provide the access information for the application server after acquiring the corresponding access information. And in the case of responding to the access request of the client, the update of the resource information set is realized.
Please refer to fig. 14. In one embodiment, the data transmission method may further include the following steps.
Step S21: receiving resource access condition information provided by the application server; the resource access condition information comprises access data of the resource; the access data is generated by the application server according to the received access request and is used for representing the condition that the resource is accessed.
In this embodiment, after receiving the access request from the client, the application server may record information related to the access request to form resource access condition information. The access data may include at least one of: the number of times a resource is accessed, the number of times an access from a different CDN domain, the number of times a different CDN domain accesses a different resource, the number of times an access to a different version of a resource, etc. Specifically, for example, after the application server receives an access request, the application server may perform counting of the corresponding different dimensions. Such that the access data may indicate the situation in which the resource was accessed.
Step S23: and storing the access data for analyzing the accessed condition of the resource according to the access data.
In this embodiment, the resource server may store the resource access situation information after receiving it. So that the resource server forms the core of data management. The resource server may store respective access data for each resource. Alternatively, the access data may be stored separately as a data set. Therefore, the resource server provides a relatively comprehensive data base for the management and analysis of the access information of the resources.
Referring to fig. 7, in an embodiment of the present disclosure, a server is further provided, where the server stores a resource information set formed by access information of a resource; the server may include: the device comprises a receiving module and a sending module.
The receiving module is used for receiving a resource information set acquisition request of the application server; the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set.
And the sending module is used for sending the resource information set corresponding to the information set identifier to the application server in the stored resource information set, so that the application server feeds back the access information of the resource pointed by the access request to the client under the condition that the application server receives the access request sent by the client, and the client can obtain the corresponding resource according to the access information.
In this embodiment, specific contents, realized functions and effects of the receiving module and the sending module can be contrasted with the foregoing embodiments.
Please refer to fig. 8. The embodiment of the specification also provides electronic equipment. The electronic device includes: a memory, a network communication unit, and a processor.
The memory stores a resource information set formed by access information of the resource.
The network communication unit is used for receiving a resource information set acquisition request of an application server; the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; and sending the resource information set provided by the processor to the application server, so that the application server feeds back the access information of the resource pointed by the access request to the client under the condition that the application server receives the access request sent by the client, and the client can acquire the corresponding resource according to the access information.
The processor is used for delivering the resource information set corresponding to the information set identification to the network communication unit and sending the resource information set to the application server in the stored resource information set.
In this embodiment, the Memory includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the processor may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth.
The specific functions implemented by the processor and the memory of the electronic device provided in the embodiments of the present specification may be explained in comparison with the foregoing embodiments in the present specification.
Embodiments of the present specification also provide a computer storage medium storing a resource information set formed of access information of a resource and computer program instructions that, when executed, implement the following functions.
Receiving a resource information set acquisition request of an application server; the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set.
And sending the resource information set corresponding to the information set identifier to the application server in the stored resource information set, so that the application server feeds back the access information of the resource pointed by the access request to the client under the condition that the application server receives the access request sent by the client, and the client can acquire the corresponding resource according to the access information.
In the present embodiment, specific contents, realized functions and effects of the technical solutions provided can be explained by referring to the foregoing embodiments.
Referring to fig. 9, an embodiment of the present disclosure further provides a data transmission method applied to an application server, where the method may include the following steps.
Step S26: sending a resource information set acquisition request to a resource server, wherein the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; the resource information set includes access information of the resource.
Step S28: and receiving the resource information set fed back by the resource server, so as to feed back the access information of the resource pointed by the access request to the client under the condition of receiving the access request sent by the client, and the client can obtain the corresponding resource according to the access information.
In this embodiment, the application server may actively acquire the resource information set from the resource server, so that the application server may clearly specify the corresponding resource information set. And avoiding that the resource information set acquired by the application server is not suitable for the program instruction of the application server.
In this embodiment, the application server may be started for the first time after being configured, or when a restart occurs, a resource information set acquisition request may be sent to the resource server to request to acquire a corresponding resource information set.
In this embodiment, after receiving the resource information set, the application server may put the resource information set into the memory, so that data can be read more quickly.
In this embodiment, the application server receives an access request from the client, and may indicate that the client requests to access a certain page. The application server can send the access information of the resources related in the page to the client, so that the client can acquire the resources according to the access information and display the resources.
In one embodiment, the resource pointed to by the access information is stored in a front-end server; and after the access information is fed back to the client, the client acquires the resource from the front-end server according to the access information.
In this embodiment, the resource is stored in the front-end server, and the client can obtain the resource from the front-end server according to the access information. Further, the front-end server may be a node server in the CDN network. According to the characteristics of the CDN network, the node server responding to the client with a relatively fast speed typically provides the client with the resource to which the access information is directed. Generally, the data volume of the resource may be relatively large, and the response speed to the client can be improved as a whole by sending the resource to the client through the node server.
Referring to fig. 10, an embodiment of the present disclosure further provides a server, including: the device comprises an acquisition module and an information set receiving module.
The acquisition module is used for sending a resource information set acquisition request to a resource server, and the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; the resource information set includes access information of the resource.
The information set receiving module is used for receiving the resource information set fed back by the resource server, so as to feed back the access information of the resource pointed by the access request to the client under the condition of receiving the access request sent by the client, and the client can obtain the corresponding resource according to the access information.
In this embodiment, the specific contents, functions and effects of the acquisition module and the information set receiving module can be contrasted and explained with reference to the foregoing embodiments.
Please refer to fig. 8. An embodiment of the present specification provides an electronic device, including: a memory, a network communication unit, and a processor.
The network communication unit is used for sending a resource information set acquisition request to a resource server, and the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; the resource information set comprises access information of resources; receiving a resource information set fed back by the resource server; receiving an access request sent by a client; and sending the access information provided by the processor to a client.
The memory is used for storing the resource information set.
The processor is used for delivering the access information of the resource pointed by the access request in the resource information set to the network communication unit according to the access request.
In this embodiment, the Memory includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the processor may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth.
The specific functions implemented by the processor and the memory of the electronic device provided in the embodiments of the present specification may be explained in comparison with the foregoing embodiments in the present specification.
Referring to fig. 11, an embodiment of the present disclosure further provides a method for starting an application server, where the method may include the following steps.
Step S30: a set of program instructions is loaded.
In this embodiment, the application server is initially started, or when a restart occurs, a set of program instructions that implement its logical functions is loaded.
In this embodiment, when the instruction code of the application server is updated, the application server is also restarted. After the application server is restarted, the updated instruction code becomes effective.
Step S32: and sending a resource information set acquisition request to the resource server.
Step S34: and receiving the resource information set fed back by the resource server, so that the application server feeds back the access information of the resource pointed by the access request to the client under the condition that the application server receives the access request sent by the client, and the client acquires the corresponding resource according to the access information.
In this embodiment, the resource information set may not be stored in the application server for a long period of time. When the application server is restarted, the resource information set needs to be obtained again. The management function of the resource information set may be implemented by the resource server, while the application server may be accepted and used only passively. Therefore, the service functions of the resource server and the application server are clearly divided, and the coupling degree between the application server and the front-end server is reduced. Specifically, for example, the application server may put the received resource information set into the memory. So that the application server can feed back the access information according to the access request of the client. And when the application server is restarted, the resource information set in the memory is emptied, and the resource information set is obtained from the resource server again. In addition, when the program instructions in the application server are updated, the restarted application server requests the resource information set from the resource server, and the resource server can send the issued resource information set which is not yet valid to the application server. The program instructions thus enable the update of the application server to take effect simultaneously with the corresponding resource information set.
In one embodiment, the resource information set acquisition request is accompanied by an information set identifier corresponding to the program instruction set; the information set identification is used to determine a resource information set corresponding to the program instruction set.
In this embodiment, the resource information set acquisition request sent by the application server is accompanied by an information set identifier, so that the application server specifies the resource information set that the application server needs to acquire. And forming a corresponding relation between the current program instruction set of the application server and the resource information set through the information set identification. Furthermore, the better adaptability of the two can be realized. Reference may be made specifically to the foregoing embodiments for comparative explanation.
Please refer to fig. 12. In one embodiment, a method of generating a software installation package of the set of program instructions is also provided, which may include the following steps.
Step S40: and sending an information set identification acquisition request to the resource server.
Step S42: and receiving the information set identification fed back by the resource server.
Step S44: attaching the information set identification to program code.
Step S45: and generating a software installation package with the program instruction set according to the program code identified by the attached information set.
In the present embodiment, after the development test of the program code is completed in the development system, the corresponding software installation package is output. The software installation package may then be installed in the hardware device.
In the present embodiment, in the process of generating a software installation package, an information set identifier is acquired from a resource server. As such, the information set identification is made available for use in determining a resource information set corresponding to the set of program instructions. Specifically, for example, after receiving the information set identifier obtaining request, the resource server may send the information set identifier of the resource information set that is most recently valid in time to the system where the development system is located. Since the program instruction set is the most recent version, the resource information set corresponding to the program instruction set has not yet been validated. As such, the set of information in the program instruction set identifies the set of resource information that is used to determine the program instruction set corresponds to. Specifically, when the software installation package is installed on the hardware device to construct the application server, the application server sends the information set identifier to the resource server to obtain the corresponding resource information set. The resource server may determine, according to the information set identifier, a resource information set indicated by the information set identifier, and then send the resource information set in the release state to the application server, so that the application server obtains the resource information set corresponding to the program instruction set. In this way, the updated program instructions of the application server are also enabled to take effect simultaneously with the corresponding resource information set.
In one embodiment, the set of program instructions that need to be changed to an old version for some reason during the operation of the application server. At this point, the old version of the software installation package may be reinstalled. After the restarted application server loads the program instruction set, a resource information set acquisition request is sent to the resource server, and the information set identifier in the software installation package of the old version is attached to the resource information set acquisition request. And after receiving the resource information set acquisition request, the resource server determines a resource information set according to the information set identifier and sends the resource information set to the application server. Therefore, when the software installation packages of different versions are installed, the corresponding resource information sets can be obtained according to the information set identifications attached to the software installation packages. The problem that the corresponding resource information set cannot be found when the program instruction of the application server rolls back can be avoided.
The embodiment of the specification also provides a knowledge management system. The knowledge management system includes: the resource knowledge base and the resource server are formed on the basis of the publishing process information when the resource is published.
The resource knowledge base can be information of a release process of the resources when the resources are released, and a relatively comprehensive database in which description information of each resource is recorded is formed. Each resource is typically released before being put into use. In this way, the resource knowledge base can record the description information of each resource very comprehensively. The description information includes but is not limited to: resource name, resource number, resource version, group to which the resource belongs, access information of the resource, size of the resource, data format of the resource, and the like. The description information of each resource may be used as knowledge associated with the resource such that the database forms a resource repository.
The resource server is used for storing the access information of the resources to form a resource information set; under the condition of receiving a resource information acquisition request of a first application server, searching access information corresponding to the resource information acquisition request in the resource information set; under the condition that the resource information set does not have access information corresponding to the resource information acquisition request, acquiring access information described in the release process information of the resource from the resource knowledge base; and sending the access information to the second application server.
In this embodiment, after receiving the resource information acquisition request, the resource server may collectively query the resource information stored in itself. When the resource information set stored in the resource information set does not have the access information of the resource pointed by the resource information set acquisition request, the access information of the resource is inquired from the resource knowledge base and is sent to the first application server. And moreover, the access information is stored in the resource information set of the resource server, so that the resource information set of the access information is more complete. And under the condition of receiving a resource information acquisition request of the second application server, reading the access information from the resource information set and sending the access information to the second application server.
In the embodiment, the resource server actively acquires the resource information from the resource knowledge base when the resource server does not have corresponding access information, so that the resource information set of the resource server can be continuously improved. The whole treatment efficiency of the system is improved.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments.
The server in the embodiments of the present specification may be an electronic device having a certain arithmetic processing capability. Which may have network communication terminals, a processor, memory, etc. Of course, the server may also refer to software running in the electronic device. The server may be a distributed server, and may be a system having a plurality of processors, memories, network communication modules, and the like that cooperate with one another.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate a dedicated integrated circuit chip 2. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardbyscript Description Language (vhr Description Language), and the like, which are currently used by Hardware compiler-software (Hardware Description Language-software). It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
From the above description of the embodiments, it is clear to those skilled in the art that the present specification can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solutions of the present specification may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, or the like, and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the method according to the embodiments or some parts of the embodiments of the present specification.
While the specification has been described with respect to the embodiments, those skilled in the art will appreciate that there are numerous variations and permutations of the specification that fall within the spirit and scope of the specification, and it is intended that the appended claims include such variations and modifications as fall within the spirit and scope of the specification.

Claims (17)

1. The data transmission method is characterized by being applied to a resource server, wherein the resource server stores a resource information set formed by access information of resources; the method comprises the following steps:
receiving a resource information set acquisition request of an application server; the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set;
sending the resource information set corresponding to the information set identifier to the application server in the stored resource information set, so that the application server feeds back access information of the resource pointed by the access request to a client under the condition that the application server receives the access request sent by the client, and the client can obtain the corresponding resource from a front-end server according to the access information;
the resource information set stored by the resource server is generated and sent by a front-end server, and the front-end server receives and stores the issued resources.
2. The method of claim 1, further comprising:
receiving a resource information acquisition request of the application server; the resource information acquisition request is attached with a resource identifier;
acquiring access information corresponding to the resource identifier;
and sending the access information to the application server to update the resource information set of the application server.
3. The method of claim 1, wherein the resource information set stored by the resource server is distributed according to the time of the resource publishing by the front-end server; the information set identification is used for representing time; the step of sending the resource information set corresponding to the information set identifier to the application server comprises:
and sending the resource information set which is positioned after the time represented by the information set identification to the application server in the stored resource information set.
4. The method of claim 3, wherein the step of sending the resource information set corresponding to the information set identifier to the application server comprises:
in the stored resource information set, determining the latest resource information set after the time corresponding to the information set identifier as a target resource information set;
and sending the target resource information set to the application server.
5. The method of claim 1, further comprising:
receiving resource information set modification information sent by a front-end server;
modifying the stored access information in the corresponding resource information set according to the resource information set modification information;
and sending the modified resource information set to the application server so as to update the resource information set of the application server.
6. The method of claim 1, further comprising:
receiving resource access condition information provided by the application server; the resource access condition information comprises access data of the resource; the access data is generated by the application server according to the received access request and is used for representing the condition that the resource is accessed;
and storing the access data for analyzing the accessed condition of the resource according to the access data.
7. A server, wherein the server stores a resource information set formed by access information of a resource; the server includes:
the receiving module is used for receiving a resource information set acquisition request of the application server; the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set;
a sending module, configured to send, in the stored resource information set, the resource information set corresponding to the information set identifier to the application server, so that the application server feeds back, when receiving an access request sent by a client, access information of a resource to which the access request is directed to the client, so that the client obtains a corresponding resource from a front-end server according to the access information;
the resource information set stored by the resource server is generated and sent by a front-end server, and the front-end server receives and stores the issued resources.
8. An electronic device, characterized in that the electronic device comprises: a memory, a network communication unit, and a processor;
the memory stores a resource information set formed by access information of resources;
the network communication unit is used for receiving a resource information set acquisition request of an application server; the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; sending the resource information set provided by the processor to the application server, so that the application server feeds back access information of the resource pointed by the access request to the client under the condition that the application server receives the access request sent by the client, and the client acquires the corresponding resource from a front-end server according to the access information;
the processor is used for handing over the resource information set corresponding to the information set identifier to the network communication unit and sending the resource information set to the application server in the stored resource information set;
the resource information set stored by the resource server is generated and sent by a front-end server, and the front-end server receives and stores the issued resources.
9. A data transmission method is applied to an application server, and the method comprises the following steps:
sending a resource information set acquisition request to a resource server, wherein the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; the resource information set comprises access information of resources;
receiving a resource information set fed back by the resource server, so as to feed back access information of a resource pointed by an access request to a client under the condition of receiving the access request sent by the client, so that the client can obtain a corresponding resource from a front-end server according to the access information;
the resource information set stored by the resource server is generated and sent by a front-end server, and the front-end server receives and stores the issued resources.
10. The method of claim 9, further comprising:
under the condition that the resource information set of the application server does not include the access information of the resource pointed by the access request, sending a first access information acquisition request to the resource server; the first access information acquisition request is attached with a resource identifier; the resource identification is used for identifying a resource;
receiving access information of the resource identified by the resource identifier fed back by the resource server;
and sending the access information to the client.
11. A server, comprising:
an acquisition module, configured to send a resource information set acquisition request to a resource server, where the resource information set acquisition request is accompanied by an information set identifier; the information set identification is used for identifying a corresponding resource information set; the resource information set comprises access information of resources;
an information set receiving module, configured to receive a resource information set fed back by the resource server, so as to feed back, when receiving an access request sent by a client, access information of a resource to which the access request is directed to the client, so that the client obtains a corresponding resource from a front-end server according to the access information;
the resource information set stored by the resource server is generated and sent by a front-end server, and the front-end server receives and stores the issued resources.
12. An electronic device, characterized in that the electronic device comprises: a memory, a network communication unit, and a processor;
the network communication unit is used for sending a resource information set acquisition request to a resource server, and the resource information set acquisition request is attached with an information set identifier; the information set identification is used for identifying a corresponding resource information set; the resource information set comprises access information of resources; receiving a resource information set fed back by the resource server; receiving an access request sent by a client; sending the access information provided by the processor to a client;
the memory is used for storing the resource information set;
the processor is used for delivering the access information of the resource pointed by the access request in the resource information set to the network communication unit according to the access request;
the resource information set stored by the resource server is generated and sent by a front-end server, and the front-end server receives and stores the issued resources.
13. A method for starting an application server, the method comprising:
loading a program instruction set;
sending a resource information set acquisition request to a resource server; the resource server stores a resource information set formed by the access information of the resources;
receiving a resource information set fed back by the resource server, so that the application server feeds back access information of a resource pointed by an access request to a client under the condition that the application server receives the access request sent by the client, and the client acquires a corresponding resource according to the access information;
the resource information set stored by the resource server is generated and sent by a front-end server, and the front-end server receives and stores the issued resources.
14. The method according to claim 13, wherein the resource information set acquisition request is accompanied by an information set identifier corresponding to the program instruction set; the information set identifier is used to identify a resource information set corresponding to the program instruction set.
15. The method of claim 13, further comprising a method of generating the set of program instructions, the method of generating the set of program instructions comprising:
sending an information set identifier acquisition request to a resource server;
receiving an information set identifier fed back by the resource server;
attaching the information set identification to the set of program instructions.
16. A knowledge management system, comprising: a resource knowledge base and a resource server formed based on the publishing process information when the resource is published;
the resource server is used for storing the access information of the resources to form a resource information set; under the condition of receiving a resource information acquisition request of a first application server, searching access information corresponding to the resource information acquisition request in the resource information set; under the condition that the resource information set does not have access information corresponding to the resource information acquisition request, acquiring access information described in the release process information of the resource from the resource knowledge base; sending the access information to the first application server so that the first application server can acquire corresponding resources from a front-end server according to the access information;
the resource information set stored by the resource server is generated and sent by a front-end server, and the front-end server receives and stores the issued resources.
17. The system according to claim 16, wherein the resource server stores the access information obtained from the resource repository into the resource information set, so as to send the access information to a second application server when receiving a resource information obtaining request of the 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 CN109428872A (en) 2019-03-05
CN109428872B true 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)

Families Citing this family (3)

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

Citations (3)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9015348B2 (en) * 2013-07-19 2015-04-21 Limelight Networks, Inc. Dynamically selecting between acceleration techniques based on content request attributes

Patent Citations (3)

* 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

Also Published As

Publication number Publication date
CN109428872A (en) 2019-03-05

Similar Documents

Publication Publication Date Title
RU2673403C2 (en) Website access method, device and website system
US11106816B2 (en) Database public interface
US9871888B2 (en) Adaptive function-based dynamic application extension framework
US8543713B2 (en) Computing environment arranged to support predetermined URL patterns
US9952848B2 (en) Dependency-aware transformation of multi-function applications for on-demand execution
TWI703463B (en) Information display method, device and intelligent terminal
WO2016026384A1 (en) Client page display method, device and system
US20170161511A1 (en) Database public interface
US11403354B2 (en) Managing search queries of a search service
US10956430B2 (en) User-driven adaptation of rankings of navigation elements
CN105745646A (en) Native application search results
US10678881B2 (en) Usage-based predictive prefetching and caching of component-based web pages for performance optimization
US10242102B2 (en) Network crawling prioritization
WO2021258575A1 (en) Request processing system, method and apparatus, and electronic device and computer-readable medium
CN109428872B (en) Data transmission method, equipment, server, starting method and system
US11556608B2 (en) Caching for single page web applications
CN103354927A (en) Method and apparatus for managing content in a processing device
KR20230124884A (en) On-device capability using remote system updates
CN112765503A (en) Static processing method and device for page loading data
US8402367B1 (en) Smart reload pages
CN116521317A (en) Mirror image management method and device, electronic equipment and computer readable storage medium
US11176134B2 (en) Navigation paths between content items
US11301498B2 (en) Multi-cloud object store access
US20140108413A1 (en) Responsive Images Service
KR20110065352A (en) How to tag portlets in portal infrastructure, devices, data processing programs, and computer program products

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