CN114979004B - Information processing method, device, equipment and medium - Google Patents

Information processing method, device, equipment and medium Download PDF

Info

Publication number
CN114979004B
CN114979004B CN202210701052.6A CN202210701052A CN114979004B CN 114979004 B CN114979004 B CN 114979004B CN 202210701052 A CN202210701052 A CN 202210701052A CN 114979004 B CN114979004 B CN 114979004B
Authority
CN
China
Prior art keywords
resource information
resource
information
identifier
target
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
CN202210701052.6A
Other languages
Chinese (zh)
Other versions
CN114979004A (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210701052.6A priority Critical patent/CN114979004B/en
Publication of CN114979004A publication Critical patent/CN114979004A/en
Application granted granted Critical
Publication of CN114979004B publication Critical patent/CN114979004B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9063Intermediate storage in different physical parts of a node or terminal

Abstract

The disclosure provides an information processing method, which can be applied to the field of Internet and the field of computers. The method is applied to the target client and comprises the following steps: in response to detecting an access operation for acquiring a target page, determining a resource information identifier according to the access operation; dividing N resource information identifiers into a first resource information identifier or a second resource information identifier according to the corresponding cache attribute information of the N resource information identifiers; determining first resource information corresponding to the first resource identification according to the first resource information identification; a second resource request for acquiring second resource information is sent to a resource distribution terminal; and under the condition that the second resource information sent by the resource distribution terminal is detected, displaying the target page in the interactive interface according to the first resource information and the second resource information. The present disclosure also provides an information processing apparatus, device, medium, and program product.

Description

Information processing method, device, equipment and medium
Technical Field
The present disclosure relates to the field of the internet and the field of computers, and in particular, to an information processing method, apparatus, device, medium, and program product.
Background
With the rapid development of internet technology, more and more users browse information or purchase products by operating intelligent terminals such as mobile phones and notebook computers. The related organization or organization also correspondingly constructs an internet platform to provide information browsing service or sell related products, so that a user can access the internet platform by operating the intelligent terminal, and related information can be conveniently obtained or product transaction can be conveniently carried out.
In the process of realizing the inventive concept of the present disclosure, the inventor finds that the internet platform may have a situation of rapid increase in access amount in a short time, for example, in a product promotion period, a large number of users may access the internet platform to purchase a promoted product, which causes an operation failure condition such as page jam, white screen, etc. of the internet platform, so that the user is difficult to acquire related information through the internet platform.
Disclosure of Invention
In view of the above, the present disclosure provides information processing methods, apparatuses, devices, media, and program products.
According to a first aspect of the present disclosure, there is provided an information processing method including:
in response to detection of access operation for acquiring a target page, determining resource information identifiers according to the access operation, wherein the resource information identifiers comprise N, and N is more than or equal to 2;
Dividing N resource information identifiers into a first resource information identifier and a second resource information identifier according to the corresponding cache attribute information of the N resource information identifiers, wherein the cache attribute information characterizes a cache time period of the resource information with the cache attribute information;
determining first resource information corresponding to the first resource identifier according to the first resource information identifier;
a second resource request for acquiring second resource information is sent to a resource distribution terminal, wherein the second resource request comprises the second resource information identifier; and
and under the condition that the second resource information sent by the resource distributing end is detected, displaying the target page in an interactive interface according to the first resource information and the second resource information.
According to an embodiment of the present disclosure, dividing N resource information identifiers into a first resource information identifier and a second resource information identifier according to cache attribute information corresponding to each of the N resource information identifiers includes:
when the current caching time is included in a caching time period corresponding to the resource information identifier, determining the resource information identifier as the first resource information identifier; and
And when the current caching time is later than the corresponding caching time period of the resource information identifier, determining the resource information identifier as the second resource information identifier.
According to an embodiment of the present disclosure, determining, according to the first resource information identifier, first resource information corresponding to the first resource identifier includes:
matching the first resource information identifier with the resource information identifier of the first target resource information stored in the client cache to obtain a first matching result;
and determining the first target resource information as the first resource information when the first matching result characterizes that the first resource information identifier is matched with the first target resource information.
According to an embodiment of the present disclosure, the first target resource information stored in the client cache includes M pieces;
determining, according to the first resource information identifier, first resource information corresponding to the first resource identifier further includes:
under the condition that the M first matching results corresponding to the first target resource information respectively represent that the first resource information identifiers are not matched with the first target resource information, sending a first resource request for acquiring the first resource information to the resource distribution terminal according to the first resource information identifiers; and
And acquiring first resource information corresponding to the first resource information identifier, which is sent by the resource distribution terminal.
According to an embodiment of the present disclosure, before sending a second resource request for acquiring second resource information to the resource distribution terminal, the information processing method further includes:
and constructing the second resource request for acquiring the second resource information according to the second resource information identifier.
According to an embodiment of the present disclosure, the above-mentioned resource information includes at least one of:
page frame resource information, product description information, product image information, product transaction type information, and product logistics type information.
A second aspect of the present disclosure provides an information processing method, applied to a resource distribution terminal, where the information processing method includes:
in response to detecting a second resource request for acquiring second resource information, determining second cache attribute information corresponding to the second resource information identifier according to the second resource information identifier in the second resource request, wherein the second resource request is from a target client;
transmitting a second resource request corresponding to the second resource information identifier to a target server under the condition that a second cache time period represented by the second cache attribute information is smaller than a preset updating time period threshold, wherein the target server determines second resource information corresponding to the second resource request according to the second resource request;
Acquiring the second resource information sent by the target server; and
and sending the second resource information to the target client.
According to an embodiment of the present disclosure, the above information processing method further includes:
and determining second resource information corresponding to the second resource information identifier according to the second resource information identifier under the condition that a second cache time period represented by the second cache attribute information is greater than or equal to a preset updating time period threshold value.
According to an embodiment of the present disclosure, determining, according to the second resource information identifier, second resource information corresponding to the second resource information identifier includes:
matching the second resource information identifier with the resource information identifier of the second target resource information stored by the resource distribution terminal to obtain a second matching result;
and determining the second target resource information as second resource information corresponding to the second resource information identifier under the condition that the second matching result represents matching.
According to an embodiment of the present disclosure, the second resource information includes at least one of:
product description information, product image information, product transaction type information, and product logistics type information.
A third aspect of the present disclosure provides an information processing apparatus applied to a target client, including:
the first determining module is used for determining resource information identifiers according to the access operation in response to the detection of the access operation for acquiring the target page, wherein the resource information identifiers comprise N, and N is more than or equal to 2;
the dividing module is used for dividing the N resource information identifiers into a first resource information identifier and a second resource information identifier according to the cache attribute information corresponding to the N resource information identifiers, wherein the cache attribute information represents a cache time period of the resource information with the cache attribute information;
the second determining module is used for determining first resource information corresponding to the first resource identification according to the first resource information identification;
the first sending module is used for sending a second resource request for acquiring second resource information to the resource distribution terminal, wherein the second resource request comprises the second resource information identifier; and
and the display module is used for displaying the target page in the interactive interface according to the first resource information and the second resource information under the condition that the second resource information sent by the resource distribution terminal is detected.
A fourth aspect of the present disclosure provides an information processing apparatus applied to a resource distribution terminal, including:
a third determining module, configured to determine, in response to detecting a second resource request for obtaining second resource information, second cache attribute information corresponding to a second resource information identifier according to the second resource information identifier in the second resource request, where the second resource request is from a target client;
the second sending module is configured to send a second resource request corresponding to the second resource information identifier to a target server when a second cache time period represented by the second cache attribute information is less than a preset update time period threshold, where the target server determines second resource information corresponding to the second resource request according to the second resource request;
the acquisition module is used for acquiring the second resource information sent by the target server; and
and a third sending module, configured to send the second resource information to the target client.
A fifth aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the information processing method described above.
The sixth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described information processing method.
A seventh aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the above-described information processing method.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be more apparent from the following description of embodiments of the disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram of an information processing method, apparatus according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of an information processing method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a flowchart of dividing N resource information identifiers into a first resource information identifier and a second resource information identifier according to buffer attribute information corresponding to each of the N resource information identifiers according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a flowchart of determining first resource information corresponding to a first resource identification from the first resource information identification, according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow chart of an information processing method according to another embodiment of the present disclosure;
FIG. 6 schematically illustrates a flow diagram for determining second resource information corresponding to a second resource information identification according to an embodiment of the disclosure;
FIG. 7 schematically illustrates an application scenario diagram of an information processing method according to another embodiment of the present disclosure;
fig. 8 schematically shows a block diagram of a structure of an information processing apparatus according to an embodiment of the present disclosure;
fig. 9 schematically shows a block diagram of a structure of an information processing apparatus according to an embodiment of the present disclosure; and
fig. 10 schematically illustrates a block diagram of an electronic device adapted to implement an information processing method according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing, applying and the like of the personal information of the user all conform to the regulations of related laws and regulations, necessary security measures are adopted, and the public order harmony is not violated.
In the technical scheme of the disclosure, the authorization or consent of the user is obtained before the personal information of the user is obtained or acquired.
An embodiment of the present disclosure provides an information processing method that can be applied to a target client, the information processing method including: in response to detection of access operation for acquiring a target page, determining resource information identifiers according to the access operation, wherein the resource information identifiers comprise N, and N is more than or equal to 2; dividing N resource information identifiers into a first resource information identifier and a second resource information identifier according to the corresponding cache attribute information of the N resource information identifiers, wherein the cache attribute information characterizes a cache time period of the resource information with the cache attribute information; determining first resource information corresponding to the first resource identification according to the first resource information identification; a second resource request for acquiring second resource information is sent to a resource distribution terminal, wherein the second resource request comprises a second resource information identifier; and under the condition that the second resource information sent by the resource distribution terminal is detected, displaying the target page in the interactive interface according to the first resource information and the second resource information.
According to the embodiment of the disclosure, since the cache attribute information characterizes the cache time period of the resource information, the resource information identifier is divided into the first resource information identifier and the second resource information identifier through the cache attribute information of the resource information, the resource information can be distinguished according to the respective cache time period, and the first resource information corresponding to the first resource information identifier is determined from the target client by utilizing the first resource information identifier, so that the network bandwidth congestion condition generated when the first resource information is acquired from the resource distribution terminal can be at least partially avoided, the loading success rate of the target client on the first resource information is improved, the technical problem that the target page generation fails due to slow loading or loading failure of the first resource information of the target client can be at least partially solved, and thus, the operation fault phenomena of page jam, white screen and the like generated by the target client can be avoided, and a user can conveniently and rapidly acquire the related information of the target page through the target client.
The embodiment of the disclosure also provides an information processing method, which can be applied to a resource distribution terminal, and comprises the following steps: in response to detecting a second resource request for acquiring second resource information, determining second cache attribute information corresponding to the second resource information identifier according to the second resource information identifier in the second resource request, wherein the second resource request is from a target client; when a second caching time period represented by the second caching attribute information is smaller than a preset updating time period threshold value, sending a second resource request corresponding to a second resource information identifier to a target server side, wherein the target server side determines second resource information corresponding to the second resource request according to the second resource request; acquiring second resource information sent by a target server; and sending the second resource information to the target client.
According to the embodiment of the disclosure, for the second resource information with the second cache time period smaller than the preset updating time period threshold, by timely sending the second resource request to the target server side, the target server side can quickly send the second resource information to the resource distribution side according to the second resource request, and after the resource distribution side acquires the second resource information, the resource distribution side immediately sends the second resource information to the target client side, so that the target client side can be ensured to update the second resource information in real time, timeliness of acquiring the second resource information is improved, and powerful support is provided for subsequently generating the target page.
Fig. 1 schematically illustrates an application scenario diagram of an information processing method, apparatus according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, networks 104, 106, a resource distribution end server 105, and a target server 107. The network 104 is a medium for providing a communication link between the terminal devices 101, 102, 103 and the resource distribution end server 105, and the network 106 is a medium for providing a communication link between the resource distribution end server 105 and the target service end server 107. The networks 104, 106 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the resource distribution end server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only) may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be a variety of electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The terminal devices 101, 102, 103 may be target clients in the present application scenario.
The resource distribution end server 105 and the target service end server 107 may be servers providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
In this embodiment, the resource distribution server 105 may include a CDN (Content Delivery Network) server, and the CDN server is deployed between the terminal device and the target server.
It should be noted that, the information processing method applied to the target client provided in the embodiments of the present disclosure may be generally executed by the terminal devices 101, 102, 103. Accordingly, the information processing apparatus applied to the target client provided by the embodiments of the present disclosure may be generally provided in the terminal devices 101, 102, 103. The information processing method applied to the target client provided by the embodiments of the present disclosure may also be performed by a server or a server cluster that is different from the resource distribution end server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the information processing apparatus applied to the target client provided by the embodiments of the present disclosure may also be provided in a server or a server cluster that is different from the resource distribution end server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
The information processing method applied to the resource distribution terminal provided by the embodiment of the present disclosure may be generally executed by the resource distribution terminal server 105. Accordingly, the information processing apparatus applied to the resource distribution end provided in the embodiments of the present disclosure may be generally disposed in the resource distribution end server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The information processing method of the disclosed embodiment will be described in detail below with reference to fig. 2 to 7 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flowchart of an information processing method according to an embodiment of the present disclosure.
As shown in fig. 2, the information processing method of the embodiment may be applied to a target client, and may include operations S210 to S250.
In operation S210, in response to detecting the access operation for obtaining the target page, a resource information identifier is determined according to the access operation, where the resource information identifier includes N, N is greater than or equal to 2.
According to embodiments of the present disclosure, the resource information may include resources required for building the target page, such as image resource information, text resource information, link resource information, and the like. The target page may be, for example, information that is displayed in the interactive interface by an application program such as a browser.
It should be understood that, the user may perform the access operation through operations of a search operation, a click operation, and the like, and the target client may construct the target page by using the related resource information after detecting the access operation, so as to display the target page in the interactive interface, so as to belong to the user obtaining the related information in the target page.
In operation S220, the N resource information identifiers are divided into a first resource information identifier and a second resource information identifier according to the respective corresponding cache attribute information of the N resource information identifiers, where the cache attribute information characterizes a cache time period of the resource information having the cache attribute information.
According to embodiments of the present disclosure, the buffering period of the resource information may characterize a period of time that the resource information needs to be buffered at the target client. By setting the cache attribute information for the resource information, the timeliness of the resource information for constructing the target page can be represented by the cache time period represented by the cache attribute information, for example, the resource information of the price display object can be set to be 0:00 to 0:15 in 2011, 2, early morning, i.e. the price display object is represented to be effective in 2011, 1, 2, 0:00 to 0:15 in early morning, and the time period can be not updated.
It should be noted that, the buffer time threshold may be set, and the matching relationship between the buffer time threshold and the buffer time period represented by the buffer attribute information is used to determine the first resource information identifier and the second resource information identifier, so that the first resource information and the second resource information may be effectively distinguished.
In operation S230, first resource information corresponding to the first resource identifier is determined according to the first resource information identifier.
According to the embodiment of the disclosure, corresponding cache attribute information can be set for the resource attribute information according to actual requirements, and corresponding first resource information is stored in the target client according to the cache attribute information, so that the first resource information can be prevented from being acquired from a server or a resource distribution terminal, and network bandwidth congestion for acquiring the first resource information is avoided.
In operation S240, a second resource request for acquiring second resource information is transmitted to the resource distribution terminal, wherein the second resource request includes a second resource information identifier.
In operation S250, in case of detecting the second resource information sent from the resource distribution terminal, the target page is displayed in the interactive interface according to the first resource information and the second resource information.
According to the embodiment of the disclosure, the resource distribution end may include a server and/or a server cluster communicatively connected to the target client, for example, may be a CDN (Content Delivery Network) server, and by sending the second resource request to the CDN server, it may be avoided to directly obtain the second resource information from the target server that serves the target client, so that the computation overhead of the target server may be at least partially reduced, and the efficiency of obtaining the second resource information may be improved.
According to the embodiment of the disclosure, since the cache attribute information characterizes the cache time period of the resource information, the resource information identifier is divided into the first resource information identifier and the second resource information identifier through the cache attribute information of the resource information, the resource information can be distinguished according to the respective cache time period, and the first resource information corresponding to the first resource information identifier is determined from the target client by utilizing the first resource information identifier, so that the network bandwidth congestion condition generated when the first resource information is acquired from the resource distribution terminal can be at least partially avoided, the loading success rate of the target client for the first resource information is improved, the technical problem that the target page generation fails due to slow loading or loading failure of the first resource information of the target client can be at least partially solved, and thus, the operation fault phenomena of page clamping, blank screen and the like generated by the target client can be avoided, and a user can conveniently and rapidly acquire the related information of the target page through the target client.
Fig. 3 schematically illustrates a flowchart of dividing N resource information identifiers into a first resource information identifier and a second resource information identifier according to respective corresponding cache attribute information of the N resource information identifiers according to an embodiment of the present disclosure.
As shown in fig. 3, in operation S220, dividing the N resource information identifiers into the first resource information identifier and the second resource information identifier according to the respective corresponding cache attribute information of the N resource information identifiers may include operations S310 to S320.
In operation S310, in the case that the current buffering time is included in the buffering period corresponding to the resource information identifier, the resource information identifier is determined as the first resource information identifier.
In operation S320, in case that the current buffering time is later than the buffering period corresponding to the resource information identification, the resource information identification is determined as the second resource information identification.
According to the embodiment of the disclosure, the cache attribute information of the resource information with the resource information identification can be determined according to the resource information identification, and then the cache time period corresponding to the resource information identification can be determined according to the cache attribute information.
For example, when the current buffering time is 0:01 in 2011, 1, 2, and 0:00 to 0:15 in 2, the buffering time period corresponding to the resource information identifier a11 is 2011, 1, 2, and 0:00, it may be determined that the resource information identifier a11 is the first resource information identifier.
When the current caching time is 0:16 in the early morning of 1 month 2 days of 2011 and the corresponding caching time period of the resource information identifier A12 is 0:00 to 0:15 in the early morning of 1 month 2 days of 2011, the resource information identifier A12 can be determined to be a second resource information identifier.
In one embodiment of the present disclosure, the cache attribute information may include a time stamp, i.e., the resource information identification of the resource information may be made to have a corresponding cache period by setting a corresponding time stamp to the resource information.
According to the embodiment of the disclosure, corresponding cache attribute information can be set for the resource information for constructing the target page according to an actual application scene, so that the first resource information is prevented from being acquired from the resource distribution terminal and/or the target service terminal in the peak time period when a user accesses the target page, the network bandwidth occupied by the resource distribution terminal and/or the target service terminal for transmitting the first resource information is reduced, network congestion is avoided, and the target page is ensured to be generated rapidly.
According to an embodiment of the present disclosure, the resource information may include at least one of: page frame resource information, product description information, product image information, product transaction type information, and product logistics type information.
According to embodiments of the present disclosure, the page frame resource information may include frame resource information, such as a web front end frame, for the target client to construct the target page.
According to embodiments of the present disclosure, the product transaction type information may include related information generated for completing a product transaction, such as transaction price information of the product, price information of the subscription price of the product, real-time remaining quantity of the product, and the like. The product logistics information may include information related to a logistics process of the product, such as a delivery place of the product, a logistics manner of the product, a logistics predicted time period of the product, and the like.
According to the embodiment of the disclosure, corresponding cache attribute information can be respectively set for different resource information according to actual requirements, so that the resource information can be flexibly determined as the first resource information or the second resource information.
Fig. 4 schematically illustrates a flowchart of determining first resource information corresponding to a first resource identification according to a first resource information identification according to an embodiment of the present disclosure.
As shown in fig. 4, operation S230, determining the first resource information corresponding to the first resource identification according to the first resource information identification may include operations S410 to S420.
In operation S410, matching is performed according to the first resource information identifier and the resource information identifier of the first target resource information stored in the client cache, so as to obtain a first matching result.
In operation S420, in case that the first matching result characterizes that the first resource information identification matches the first target resource information, the first target resource information is determined as the first resource information.
According to the embodiment of the disclosure, the first target resource information may include resource information stored in a client cache of the target client in advance, and the first target resource information may be determined to be the first resource information when the first resource information identifier is matched with a resource information flag of the first target resource information, so that the first resource information may be directly acquired from the client cache, and an acquisition speed of acquiring the first resource information is improved, thereby laying a foundation for improving a speed of subsequently constructing the target page.
In an embodiment of the present disclosure, the first resource information may be page frame resource information or product image information of a marketing product, and by acquiring the first resource information from a client cache, network bandwidth occupied by sending the first resource information may be reduced, and a rate of acquiring the first resource information may be increased, so as to avoid an operation fault such as a katon when a target page is constructed.
According to an embodiment of the present disclosure, the above-described information processing method may further include the following operations.
A first resource request for automatically acquiring the first resource information is intercepted.
According to the embodiment of the disclosure, due to the fact that part of application programs of the intelligent terminals, namely the target client, automatically send a request for acquiring resource information to the server when the access operation is detected. For these applications, an interception mechanism may be set, that is, in the case that it is detected that the resource information identifier for constructing the target page is the first resource information identifier, the automatically sent first resource request for obtaining the first resource information is intercepted, so that the related resource distributing end and/or the target server end sends the first resource information to the target client end when receiving the first resource request, so as to save network bandwidth resources.
According to an embodiment of the present disclosure, the first target resource information stored in the client cache includes M.
In operation S230, determining the first resource information corresponding to the first resource identifier according to the first resource information identifier may further include the following operations.
Under the condition that the first resource information identifiers are not matched with the first target resource information, a first resource request for acquiring the first resource information is sent to a resource distribution terminal according to the first resource information identifiers; and acquiring first resource information corresponding to the first resource information identifier, which is sent by the resource distribution terminal.
According to the embodiment of the disclosure, in the case that the first resource information identifier does not match with the resource information identifiers of the M first target resource information, it may be characterized that the first resource information for constructing the target page is not stored in the client cache. Therefore, the first resource information corresponding to the first resource information identifier belongs to the resource information to be updated, and the first resource information can be acquired from the resource distribution end by sending the first resource request to the resource distribution end, so that timeliness of the target page obtained by subsequent construction is maintained.
According to an embodiment of the present disclosure, before the second resource request for acquiring the second resource information is transmitted to the resource distribution terminal, the information processing method may further include the following operations.
And constructing a second resource request for acquiring the second resource information according to the second resource information identifier.
According to an embodiment of the disclosure, the message structure of the second resource request may include, for example, a request line, a request header, a request body, and the like. The second resource request is constructed according to the second resource information identifier, so that the second resource information identifier is stored in the second resource request, and after the resource distribution terminal receives the second resource request, the resource distribution terminal inquires second resource information corresponding to the second resource information identifier according to the second resource information identifier in the second resource request, so that the second resource information is timely sent to the target client terminal, and the timeliness of constructing the target page can be improved.
Fig. 5 schematically illustrates a flowchart of an information processing method according to another embodiment of the present disclosure.
As shown in fig. 5, the information processing method of the embodiment may be applied to a resource distribution terminal, and may include operations S510 to S540.
In operation S510, in response to detecting the second resource request for obtaining the second resource information, second cache attribute information corresponding to the second resource information identifier is determined according to the second resource information identifier in the second resource request, where the second resource request is from the target client.
In operation S520, if the second buffering period represented by the second buffering attribute information is less than the preset updating duration threshold, the second resource request corresponding to the second resource information identifier is sent to the target server, where the target server determines, according to the second resource request, second resource information corresponding to the second resource request.
In operation S530, second resource information from the target server is acquired.
In operation S540, the second resource information is transmitted to the target client.
According to an embodiment of the present disclosure, the preset update time period threshold may be a time period threshold used to characterize that the resource information needs to be updated. For example, when the preset update duration threshold is 1 minute, the second cache attribute information corresponding to the second resource information identifier B11 is 1 second, and the second resource information with the second resource information identifier B11 needs to be updated every 1 second, so that the second resource request can be constructed according to the second resource information identifier B11, and the second resource request corresponding to the second resource information identifier B11 can be sent to the target server.
According to embodiments of the present disclosure, the resource distribution end may include a server and/or a server cluster communicatively connected to the target client, for example, may be a CDN (Content Delivery Network) server. The resource distribution terminal is utilized to receive and analyze the second resource request, the obtained analysis result contains a second resource information identifier, and the second cache attribute information corresponding to the second resource information identifier is compared with a preset updating time threshold value, so that timeliness of the second resource information can be fully considered, and the second resource request is timely sent to the target client side to acquire the corresponding second resource information from the target client side.
After the resource distribution terminal acquires the second resource information, the resource distribution terminal can immediately send the second resource information to the target client terminal, so that the second resource information can be forwarded in time, the target client terminal can construct a target page according to the second resource information acquired in real time, and the information content represented by the second resource information can be reflected through the target page in time.
According to an embodiment of the present disclosure, the resource distribution end may include, for example, a CDN edge server and a CDN back source server. The CDN edge server may serve the target clients of the corresponding region or IP address packet, i.e., receive the second resource request sent by the target clients of the corresponding region or IP address packet, and send the second resource request to the target clients.
According to an embodiment of the present disclosure, the information processing method may further include the following operations.
And under the condition that a second caching time period represented by the second caching attribute information is greater than or equal to a preset updating time period threshold value, determining second resource information corresponding to the second resource information identifier according to the second resource information identifier.
According to the embodiment of the present disclosure, for example, in the case where the preset update duration threshold is 1 minute, the second cache attribute information corresponding to the second resource information identifier B12 is 2 hours, and the second resource information having the second resource information identifier B12 needs to be updated every 2 hours, so that the second target resource information having the second resource information identifier B12 may be determined from the second target resource information stored in the resource distribution terminal according to the second resource information identifier B12, and the second target resource information may be determined as the second resource information that needs to be sent to the target client. Therefore, the second resource information stored from the resource distribution end can be sent to the target client end, so that network bandwidth occupied by sending the second resource request to the target server end and acquiring the second resource information from the target server end is saved, network congestion is avoided, timeliness of generating a target page subsequently is further improved, and operation fault conditions such as katon and the like are avoided.
According to an embodiment of the present disclosure, the second resource information may include at least one of:
product description information, product image information, product transaction type information, and product logistics type information.
According to the embodiment of the disclosure, the second cache attribute information with shorter duration can be set for the product transaction type information and the product logistics type information, for example, the second cache attribute information with the characteristic of 1 second cache time period is set, so that the update frequency of the product transaction type information and the product logistics type information is improved, and the actual requirement that a user needs to acquire the product transaction type information and the product logistics type information in time in related application scenes is met.
According to the embodiment of the disclosure, the second cache attribute information with longer duration can be set for the product description information and the product image information, so that network bandwidth for acquiring the product description information and the product image information from the target server side is saved.
Fig. 6 schematically illustrates a flowchart of determining second resource information corresponding to a second resource information identification according to an embodiment of the present disclosure.
As shown in fig. 6, in operation S510, determining the second resource information corresponding to the second resource information identification according to the second resource information identification may include operations S610 to S620.
In operation S610, the second resource information identifier is matched with the resource information identifier of the second target resource information stored in the resource distribution terminal, so as to obtain a second matching result.
In operation S620, in case that the second matching result characterizes the matching, the second target resource information is determined as second resource information corresponding to the second resource information identification.
According to the embodiment of the disclosure, the second resource information with the second resource identifier is queried from the resource distribution end by utilizing the second resource information identifier, so that the rate of acquiring the second resource information can be improved, the bandwidth occupied by acquiring the second resource information is reduced, and the timeliness of generating the target page is improved.
Fig. 7 schematically illustrates an application scenario diagram of an information processing method according to another embodiment of the present disclosure.
As shown in fig. 7, in the application scenario 700 of this embodiment, a target client 710, a resource distribution terminal 720, and a target server 730 may be included.
The marketing time for the target product may be from 0:01 to 0:15 in 2011, 1 month, 2 days and early morning. Before the early morning of 1 month 2 in 2011 is 0:00, a date-level timestamp can be set for the page frame resource information of the construction target page, namely, the caching time period represented by the caching attribute information of the page frame resource information can be set to be 1:00 in 2011, 1 month 1, early morning and 1:00 in 2011, 1 month 2, early morning and 1:00 in 2011. And setting a second-level time stamp, namely setting the duration of the caching time period to be 1 second, aiming at the product logistics information for representing the inventory remaining quantity of the target product so as to update the inventory remaining quantity of the target product in real time. Correspondingly, the caching time period represented by the caching attribute information can be set to be 0:00 to 0:16 in 2011, 1 month, 2 days and early morning according to the product image information, such as a product introduction image of a target product.
While, before the marketing time period begins, the page frame resource information and the product image class information may be transmitted to the target client 710,
the user may send an access operation for acquiring the target page to the target client 710 by operating the target client 710 in 1/2 a.m. 0/03 a.2011. After detecting the access operation, the target client 710 may determine a resource information identifier for constructing the target page according to the access operation, so that a resource information identifier of the page frame resource information, a resource information identifier of the product logistics class information, and a resource information identifier of the product image information may be determined.
According to the corresponding cache attribute information of the resource information identifiers, the resource information identifier of the page frame resource information and the resource information identifier of the product image information can be determined to be a first resource information identifier, and the resource information identifier of the product logistics information is determined to be a second resource information identifier.
Product image information and page frame resource information may then be queried from the client cache of the target client 710, i.e., the first resource information may be obtained from the target client 710. There is no need to send a resource request to the resource allocator 720 to obtain the product image information and the page frame resource information.
Therefore, in the case that the user accesses the target page through the target client 710 in the marketing period, the first resource information may be acquired from the target client 710, so that a large number of users may be prevented from acquiring the first resource information from the resource distribution terminal 720 through the client based on the front-end caching mechanism, and the network pressure on the resource distribution terminal 720 is less.
Meanwhile, for the marketing time period, the target product residual inventory amount for constructing the target page may have a second resource information identifier, and the target client 710 sends a second resource request to the resource distribution end 720, after receiving the second resource request, the resource distribution end 720 may determine, according to a second cache time period corresponding to the second resource information identifier, that is, according to a second-level timestamp corresponding to the second resource information identifier, that the second cache time period is smaller than a preset update duration threshold, and immediately send the second resource request to the target server 730, so that the resource distribution end may acquire the real-time target product residual inventory amount from the target server 730, that is, acquire real-time second resource information. Therefore, the CDN source returning of the resource distribution end aiming at the second resource information is realized.
After receiving the second resource information, the resource distribution terminal 720 may send the real-time remaining inventory quantity of the target product to the target client 710, so that a target page for displaying the marketing information of the target product may be constructed on the interactive interface of the target client 710.
According to an embodiment of the present disclosure, the resource distribution end 720 may include a CDN edge server and a CDN back source server, where the CDN back source server is communicatively connected to the target client 710 through the CDN edge server.
According to an embodiment of the present disclosure, the target service end 730 may include a service maintenance system, a service system App server, and a service system Web server, where the service system maintenance server may upload resource information to the service system App server, and the service system App server implements update of the resource information in the service system Web server, and sends the second resource information to the resource distribution end 720 by the service system Web server.
It should be noted that, the second resource information may also be used to update the display object corresponding to the second resource information in the target page, for example, the inventory information content of the remaining inventory display object in the target page may be updated according to the remaining inventory quantity of the target product obtained in real time.
Based on the information processing method, the disclosure also provides an information processing device. The device will be described in detail below in connection with fig. 8 and 9.
Fig. 8 schematically shows a block diagram of the information processing apparatus according to the embodiment of the present disclosure.
As shown in fig. 8, the information processing apparatus 800 of this embodiment includes a first determination module 810, a division module 820, a second determination module 830, a first transmission module 840, and a presentation module 850.
The first determining module 810 is configured to determine, in response to detecting an access operation for obtaining a target page, resource information identifiers according to the access operation, where the resource information identifiers include N, and N is greater than or equal to 2.
The dividing module 820 is configured to divide the N resource information identifiers into a first resource information identifier and a second resource information identifier according to the respective corresponding cache attribute information of the N resource information identifiers, where the cache attribute information characterizes a cache time period of the resource information with the cache attribute information.
The second determining module 830 is configured to determine, according to the first resource information identifier, first resource information corresponding to the first resource identifier.
The first sending module 840 is configured to send a second resource request for obtaining second resource information to the resource distribution end, where the second resource request includes a second resource information identifier.
The display module 850 is configured to display the target page in the interactive interface according to the first resource information and the second resource information when the second resource information sent from the resource distribution terminal is detected.
According to an embodiment of the present disclosure, the partitioning module may include: a first determination sub-module and a second determination sub-module.
The first determining submodule is used for determining the resource information identifier as a first resource information identifier under the condition that the current caching moment is included in a caching time period corresponding to the resource information identifier.
The second determining submodule is used for determining the resource information identifier as a second resource information identifier when the current caching time is later than the corresponding caching time period of the resource information identifier.
According to an embodiment of the present disclosure, the second determination module comprises a first matching sub-module and a third determination sub-module.
The first matching submodule is used for matching the first resource information identifier with the resource information identifier of the first target resource information stored in the client cache to obtain a first matching result.
The third determining submodule is used for determining the first target resource information as the first resource information under the condition that the first matching result characterizes that the first resource information identification is matched with the first target resource information.
According to an embodiment of the present disclosure, the first target resource information stored in the client cache includes M.
The second determining module may further include a first transmitting sub-module and a first acquiring sub-module.
The first sending sub-module is used for sending a first resource request for acquiring the first resource information to the resource distribution terminal according to the first resource information identification under the condition that the first resource information identification is not matched with the first target resource information in the respective first matching results of the M first target resource information.
The first acquisition submodule is used for acquiring first resource information corresponding to the first resource information identifier, which is sent by the resource distribution terminal.
According to an embodiment of the present disclosure, the information processing apparatus further includes a first building block.
The first construction module is used for constructing a second resource request for acquiring the second resource information according to the second resource information identifier.
According to an embodiment of the present disclosure, the resource information includes at least one of:
page frame resource information, product description information, product image information, product transaction type information, and product logistics type information.
Fig. 9 schematically shows a block diagram of the information processing apparatus according to the embodiment of the present disclosure.
As shown in fig. 9, the information processing apparatus 900 of this embodiment may be applied to a resource distribution terminal, and the information processing apparatus 900 may include a third determination module 910, a second transmission module 920, an acquisition module 930, and a third transmission module 940.
The third determining module 910 is configured to determine, in response to detecting a second resource request for obtaining second resource information, second cache attribute information corresponding to a second resource information identifier according to the second resource information identifier in the second resource request, where the second resource request is from the target client.
The second sending module 920 is configured to send a second resource request corresponding to the second resource information identifier to the target server when the second cache period represented by the second cache attribute information is less than the preset update duration threshold, where the target server determines second resource information corresponding to the second resource request according to the second resource request.
The obtaining module 930 is configured to obtain second resource information sent from the target server.
The third sending module 940 is configured to send the second resource information to the target client.
According to an embodiment of the present disclosure, the information processing apparatus may further include a fourth determination module.
The fourth determining module is configured to determine, according to the second resource information identifier, second resource information corresponding to the second resource information identifier when a second cache time period represented by the second cache attribute information is greater than or equal to a preset update duration threshold.
According to an embodiment of the present disclosure, the fourth determination module may include a second matching sub-module and a fourth determination sub-module.
The second matching submodule is used for matching the second resource information identifier with the resource information identifier of the second target resource information stored by the resource distribution terminal to obtain a second matching result.
And the fourth determining submodule is used for determining the second target resource information as second resource information corresponding to the second resource information identifier under the condition that the second matching result represents matching.
According to an embodiment of the present disclosure, the second resource information includes at least one of:
product description information, product image information, product transaction type information, and product logistics type information.
According to an embodiment of the present disclosure, any of the first determining module 810, the dividing module 820, the second determining module 830, the first transmitting module 840, and the presentation module 850 (or the third determining module 910, the second transmitting module 920, the obtaining module 930, and the third transmitting module 940) may be combined in one module to be implemented, or any of the modules may be split into a plurality of modules. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. According to embodiments of the present disclosure, at least one of the first determination module 810, the partitioning module 820, the second determination module 830, the first transmission module 840, the presentation module 850 (or the third determination module 910, the second transmission module 920, the acquisition module 930, and the third transmission module 940) may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging circuitry, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, at least one of the first determining module 810, the dividing module 820, the second determining module 830, the first transmitting module 840, the presentation module 850 (or the third determining module 910, the second transmitting module 920, the obtaining module 930, and the third transmitting module 940) may be at least partially implemented as a computer program module, which may perform the corresponding functions when being executed.
Fig. 10 schematically illustrates a block diagram of an electronic device adapted to implement an information processing method according to an embodiment of the disclosure.
As shown in fig. 10, an electronic device 1000 according to an embodiment of the present disclosure includes a processor 1001 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. The processor 1001 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 1001 may also include on-board memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flows according to embodiments of the present disclosure.
In the RAM 1003, various programs and data necessary for the operation of the electronic apparatus 1000 are stored. The processor 1001, the ROM 1002, and the RAM 1003 are connected to each other by a bus 1004. The processor 1001 performs various operations of the method flow according to the embodiment of the present disclosure by executing programs in the ROM 1002 and/or the RAM 1003. Note that the program may be stored in one or more memories other than the ROM 1002 and the RAM 1003. The processor 1001 may also perform various operations of the method flow according to the embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the disclosure, the electronic device 1000 may also include an input/output (I/O) interface 1005, the input/output (I/O) interface 1005 also being connected to the bus 1004. The electronic device 1000 may also include one or more of the following components connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output portion 1007 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), etc., and a speaker, etc.; a storage portion 1008 including a hard disk or the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The drive 1010 is also connected to the I/O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is installed as needed in the drive 1010, so that a computer program read out therefrom is installed as needed in the storage section 1008.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 1002 and/or RAM 1003 and/or one or more memories other than ROM 1002 and RAM 1003 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowcharts. The program code means for causing a computer system to carry out the information processing method provided by the embodiments of the present disclosure when the computer program product is run on the computer system.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 1001. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted in the form of signals on a network medium, distributed, and downloaded and installed via the communication section 1009, and/or installed from the removable medium 1011. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 1009, and/or installed from the removable medium 1011. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 1001. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (14)

1. An information processing method applied to a target client, the information processing method comprising:
in response to detection of access operation for acquiring a target page, determining resource information identifiers according to the access operation, wherein the resource information identifiers comprise N, and N is more than or equal to 2;
Dividing N resource information identifiers into a first resource information identifier and a second resource information identifier according to the corresponding cache attribute information of the N resource information identifiers, wherein the cache attribute information characterizes a cache time period of the resource information with the cache attribute information;
determining first resource information corresponding to the first resource information identifier according to the first resource information identifier;
a second resource request for acquiring second resource information is sent to a resource distribution terminal, wherein the second resource request comprises a second resource information identifier; and
under the condition that the second resource information sent by the resource distribution terminal is detected, displaying the target page in an interactive interface according to the first resource information and the second resource information;
the method for dividing the N resource information identifiers into a first resource information identifier and a second resource information identifier according to the cache attribute information corresponding to the N resource information identifiers respectively comprises the following steps:
under the condition that the current caching moment is contained in a caching time period corresponding to the resource information identifier, determining the resource information identifier as the first resource information identifier; and
And under the condition that the current caching time is later than the corresponding caching time period of the resource information identifier, determining the resource information identifier as the second resource information identifier.
2. The information processing method according to claim 1, wherein determining first resource information corresponding to the first resource information identification according to the first resource information identification comprises:
matching is carried out according to the first resource information identification and the resource information identification of the first target resource information stored in the client cache, so as to obtain a first matching result;
and determining the first target resource information as the first resource information under the condition that the first matching result characterizes that the first resource information identification is matched with the first target resource information.
3. The information processing method according to claim 2, wherein the first target resource information stored in the client cache includes M pieces;
according to the first resource information identifier, determining the first resource information corresponding to the first resource identifier further includes:
under the condition that the M first matching results corresponding to the first target resource information respectively represent that the first resource information identifiers are not matched with the first target resource information, a first resource request for acquiring the first resource information is sent to the resource distribution terminal according to the first resource information identifiers; and
And acquiring first resource information corresponding to the first resource information identifier, which is sent by the resource distribution terminal.
4. The information processing method according to claim 1, wherein before sending a second resource request for acquiring second resource information to the resource distribution end, the information processing method further comprises:
and constructing the second resource request for acquiring the second resource information according to the second resource information identifier.
5. The information processing method according to claim 1, wherein the resource information includes at least one of:
page frame resource information, product description information, product image information, product transaction type information, and product logistics type information.
6. An information processing method applied to a resource distribution terminal, the information processing method comprising:
in response to detecting a second resource request for acquiring second resource information, determining second cache attribute information corresponding to the second resource information identifier according to the second resource information identifier in the second resource request, wherein the second resource request is from a target client;
transmitting a second resource request corresponding to the second resource information identifier to a target server under the condition that a second cache time period represented by the second cache attribute information is smaller than a preset updating time period threshold, wherein the target server determines second resource information corresponding to the second resource request according to the second resource request;
Acquiring the second resource information sent by the target server; and
sending the second resource information to the target client;
wherein the second resource information identification is determined by the target client based on:
dividing N resource information identifiers into a first resource information identifier and a second resource information identifier according to the corresponding cache attribute information of the N resource information identifiers, wherein the cache attribute information characterizes a cache time period of the resource information with the cache attribute information, and the N resource information identifiers are determined according to the detected access operation;
the method for dividing the N resource information identifiers into a first resource information identifier and a second resource information identifier according to the cache attribute information corresponding to the N resource information identifiers respectively comprises the following steps:
under the condition that the current caching moment is contained in a caching time period corresponding to the resource information identifier, determining the resource information identifier as the first resource information identifier; and
and under the condition that the current caching time is later than the corresponding caching time period of the resource information identifier, determining the resource information identifier as the second resource information identifier.
7. The information processing method according to claim 6, further comprising:
and determining second resource information corresponding to the second resource information identifier according to the second resource information identifier under the condition that a second caching time period represented by the second caching attribute information is greater than or equal to a preset updating time period threshold value.
8. The information processing method according to claim 7, wherein determining second resource information corresponding to the second resource information identification according to the second resource information identification comprises:
matching the second resource information identifier with the resource information identifier of the second target resource information stored by the resource distribution terminal to obtain a second matching result;
and under the condition that the second matching result represents matching, determining the second target resource information as second resource information corresponding to the second resource information identification.
9. The information processing method of claim 6, wherein the second resource information includes at least one of:
product description information, product image information, product transaction type information, and product logistics type information.
10. An information processing apparatus, applied to a target client, comprising:
The first determining module is used for determining resource information identifiers according to access operation in response to detection of the access operation for acquiring the target page, wherein the resource information identifiers comprise N, and N is more than or equal to 2;
the dividing module is used for dividing the N resource information identifiers into a first resource information identifier and a second resource information identifier according to the cache attribute information corresponding to the N resource information identifiers, wherein the cache attribute information represents a cache time period of the resource information with the cache attribute information;
the second determining module is used for determining first resource information corresponding to the first resource information identifier according to the first resource information identifier;
the first sending module is used for sending a second resource request for acquiring second resource information to the resource distribution terminal, wherein the second resource request comprises a second resource information identifier; and
the display module is used for displaying the target page in an interactive interface according to the first resource information and the second resource information under the condition that the second resource information sent by the resource distribution terminal is detected;
wherein, the division module includes:
A first determining submodule, configured to determine, when a current buffering time is included in a buffering time period corresponding to the resource information identifier, the resource information identifier as the first resource information identifier; and
and the second determining submodule is used for determining the resource information identifier as the second resource information identifier under the condition that the current caching moment is later than the corresponding caching time period of the resource information identifier.
11. An information processing apparatus applied to a resource distribution terminal, comprising:
a third determining module, configured to determine, in response to detecting a second resource request for obtaining second resource information, second cache attribute information corresponding to a second resource information identifier in the second resource request, where the second resource request is from a target client;
a second sending module, configured to send a second resource request corresponding to the second resource information identifier to a target server when a second cache time period represented by the second cache attribute information is less than a preset update duration threshold, where the target server determines second resource information corresponding to the second resource request according to the second resource request;
The acquisition module is used for acquiring the second resource information sent by the target server; and
a third sending module, configured to send the second resource information to the target client;
wherein the second resource information identification is determined by the target client based on:
dividing N resource information identifiers into a first resource information identifier and a second resource information identifier according to the corresponding cache attribute information of the N resource information identifiers, wherein the cache attribute information characterizes a cache time period of the resource information with the cache attribute information, and the N resource information identifiers are determined according to the detected access operation;
the method for dividing the N resource information identifiers into a first resource information identifier and a second resource information identifier according to the cache attribute information corresponding to the N resource information identifiers respectively comprises the following steps:
under the condition that the current caching moment is contained in a caching time period corresponding to the resource information identifier, determining the resource information identifier as the first resource information identifier; and
and under the condition that the current caching time is later than the corresponding caching time period of the resource information identifier, determining the resource information identifier as the second resource information identifier.
12. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-9.
13. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any of claims 1 to 9.
14. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 9.
CN202210701052.6A 2022-06-20 2022-06-20 Information processing method, device, equipment and medium Active CN114979004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210701052.6A CN114979004B (en) 2022-06-20 2022-06-20 Information processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210701052.6A CN114979004B (en) 2022-06-20 2022-06-20 Information processing method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN114979004A CN114979004A (en) 2022-08-30
CN114979004B true CN114979004B (en) 2024-02-27

Family

ID=82963106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210701052.6A Active CN114979004B (en) 2022-06-20 2022-06-20 Information processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114979004B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025234A (en) * 2016-02-01 2017-08-08 中国移动通信集团公司 A kind of information-pushing method and caching server
CN110020278A (en) * 2017-09-08 2019-07-16 阿里巴巴集团控股有限公司 Displaying, providing method, client and the server of page data
CN110233882A (en) * 2019-05-23 2019-09-13 广州视源电子科技股份有限公司 Access control method, device, system, storage medium and the equipment of page resource
WO2020015579A1 (en) * 2018-07-19 2020-01-23 阿里巴巴集团控股有限公司 Method and device for determining promotional resource
JP2021179994A (en) * 2020-05-14 2021-11-18 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Method for acquiring page resources, device, electronic apparatus, and readable storage medium
CN114066547A (en) * 2020-07-31 2022-02-18 阿里巴巴集团控股有限公司 Resource display method and device, electronic equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025234A (en) * 2016-02-01 2017-08-08 中国移动通信集团公司 A kind of information-pushing method and caching server
CN110020278A (en) * 2017-09-08 2019-07-16 阿里巴巴集团控股有限公司 Displaying, providing method, client and the server of page data
WO2020015579A1 (en) * 2018-07-19 2020-01-23 阿里巴巴集团控股有限公司 Method and device for determining promotional resource
CN110233882A (en) * 2019-05-23 2019-09-13 广州视源电子科技股份有限公司 Access control method, device, system, storage medium and the equipment of page resource
JP2021179994A (en) * 2020-05-14 2021-11-18 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Method for acquiring page resources, device, electronic apparatus, and readable storage medium
CN114066547A (en) * 2020-07-31 2022-02-18 阿里巴巴集团控股有限公司 Resource display method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN114979004A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN108684205B (en) Method and system for processing digital components
CN113132489A (en) Method, device, computing equipment and medium for downloading file
RU2630380C9 (en) System and advertising push method (push) based on home gateway
US11509714B2 (en) Systems and methods for syndicated distribution of electronic content
CN113779054A (en) Data updating method, device, server, storage medium and program product
CN114172966A (en) Service calling method and device and service processing method and device under unitized architecture
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN112882895A (en) Health examination method, device, computer system and readable storage medium
CN114979004B (en) Information processing method, device, equipment and medium
CN116599855A (en) Data transmission method, system, electronic equipment and storage medium
CN113132400B (en) Business processing method, device, computer system and storage medium
CN115292440A (en) Remote guidance method, apparatus, device and medium
CN112182400B (en) Message processing method, message processing device, electronic equipment and storage medium
CN115373831A (en) Data processing method, device and computer readable storage medium
CN112822225A (en) Method and device for tracking content delivery effect
CN111241368A (en) Data processing method, device, medium and equipment
CN114285743B (en) Method, device, electronic equipment and storage medium for updating configuration information
CN114721882B (en) Data backup method and device, electronic equipment and storage medium
CN116775307A (en) Service processing method, device, equipment and storage medium
CN114896260A (en) Information processing method, information processing device, electronic equipment and storage medium
CN114338697A (en) Method and device for providing shared cloud service, electronic equipment and storage medium
CN115033387A (en) Resource allocation method, device, electronic equipment and medium
CN113784174A (en) Method, device, electronic equipment and medium for generating video preview dynamic image
CN115484149A (en) Network switching method, network switching device, electronic device and storage medium
CN115913944A (en) Data updating method, device, equipment, medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant