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

Information processing method, device, equipment and medium Download PDF

Info

Publication number
CN114979004A
CN114979004A CN202210701052.6A CN202210701052A CN114979004A CN 114979004 A CN114979004 A CN 114979004A CN 202210701052 A CN202210701052 A CN 202210701052A CN 114979004 A CN114979004 A CN 114979004A
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.)
Granted
Application number
CN202210701052.6A
Other languages
Chinese (zh)
Other versions
CN114979004B (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

Images

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

Landscapes

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

Abstract

The present disclosure provides an information processing method, which can be applied to the fields of internet and computer. The method is applied to a 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 the N resource information identifications into a first resource information identification or a second resource information identification according to the cache attribute information corresponding to the N resource information identifications respectively; determining first resource information corresponding to the first resource identifier according to the first resource information identifier; sending a second resource request for acquiring second resource information to the resource distribution terminal; and under the condition that 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, a device, a medium, and a program product.

Description

Information processing method, device, equipment and medium
Technical Field
The present disclosure relates to the field of the internet and 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. Related organizations or institutions correspondingly construct internet platforms to provide information browsing services or sell related products, so that users can access the internet platforms by operating intelligent terminals, and related information can be conveniently acquired or product transactions can be conveniently carried out.
In the process of implementing the inventive concept of the present disclosure, the inventor finds that a situation that an access amount of an internet platform is increased rapidly in a short time may occur, for example, in a time period of product promotion, a large number of users may access the internet platform to purchase products for promotion, which causes operation failures such as page jamming and white screen of the internet platform, and makes it difficult for the users to obtain related information through the internet platform.
Disclosure of Invention
In view of the above, the present disclosure provides an information processing method, apparatus, device, medium, and program product.
According to a first aspect of the present disclosure, there is provided an information processing method including:
in response to the detection of the access operation for acquiring the target page, determining resource information identifiers according to the access operation, wherein the number of the resource information identifiers is N, and N is more than or equal to 2;
dividing the N resource information identifications into a first resource information identification or a second resource information identification according to cache attribute information corresponding to the N resource information identifications respectively, wherein the cache attribute information represents 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;
sending a second resource request for acquiring second resource information 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 distribution 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 the N resource information identifiers into the first resource information identifier or the second resource information identifier according to the cache attribute information corresponding to each of the N resource information identifiers includes:
determining the resource information identifier as the first resource information identifier when the current caching time is included in the caching time period corresponding to the resource information identifier; and
and determining the resource information identifier as the second resource information identifier when the current caching time is later than the caching time period corresponding to the 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 a resource information identifier of first target resource information stored in a 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 indicates 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 first matching results corresponding to the M pieces of first target resource information respectively represent that the first resource information identifier is not matched with the first target resource information, sending a first resource request for acquiring first resource information to the resource distribution end according to the first resource information identifier; and
and acquiring first resource information which is sent by the resource distribution end and corresponds to the first resource information identifier.
According to an embodiment of the present disclosure, before sending the second resource request for acquiring the 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 resource information includes at least one of:
page frame resource information, product description information, product image information, product transaction information and product logistics 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:
responding to a second resource request for acquiring second resource information, and determining second cache attribute information corresponding to a 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;
sending 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 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 information processing method further includes:
and under the condition that the second cache time period represented by the second cache attribute information is greater than or equal to a preset updating time length threshold, determining second resource information corresponding to the second resource information identifier according to the second resource information identifier.
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 a resource information identifier of 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 when 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 information and product logistics 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 responding to the detection of the access operation for acquiring the target page and 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;
a dividing module, configured to divide the N resource information identifiers into a first resource information identifier or a second resource information identifier according to cache attribute information corresponding to the N resource information identifiers, where the cache attribute information represents a cache time period of the resource information having the cache attribute information;
a second determining module, configured to determine, according to the first resource information identifier, first resource information corresponding to the first resource identifier;
a first sending module, configured to send a second resource request for obtaining second resource information to a resource distribution terminal, where the second resource request includes the second resource information identifier; and
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 of detecting the second resource information sent by the resource distribution end.
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 acquiring second resource information, second cache attribute information corresponding to a second resource information identifier in the second resource request according to the 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 smaller than a preset update time threshold, where the target server determines, according to the second resource request, second resource information corresponding to the second resource request;
an obtaining module, configured to obtain 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; 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 above-described information processing method.
A 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-mentioned information processing method.
A seventh aspect of the present disclosure also provides a computer program product comprising a computer program that, 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 apparent from the following description of embodiments of the disclosure, which proceeds with reference to the accompanying drawings, in which:
fig. 1 schematically shows an application scenario diagram of an information processing method and apparatus according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow chart of an information processing method according to an embodiment of the present disclosure;
fig. 3 schematically shows a flowchart of dividing N resource information identifiers into a first resource information identifier or a second resource information identifier according to cache attribute information corresponding to the N resource information identifiers, according to an embodiment of the present disclosure;
fig. 4 schematically shows a flowchart for determining first resource information corresponding to a first resource identifier according to the first resource information identifier according to an embodiment of the present disclosure;
FIG. 5 schematically shows a flow chart of an information processing method according to another embodiment of the present disclosure;
fig. 6 schematically shows a flowchart for determining second resource information corresponding to a second resource information identifier according to the second resource information identifier according to an embodiment of the present disclosure;
fig. 7 schematically shows 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 the structure of an information processing apparatus according to an embodiment of the present disclosure;
fig. 9 schematically shows a block diagram of the structure of an information processing apparatus according to an embodiment of the present disclosure; and
fig. 10 schematically shows a block diagram of an electronic device adapted to implement an information processing method according to an embodiment of the present 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 illustrative only 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 disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not 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 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 is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have 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 collection, storage, use, processing, transmission, provision, disclosure, application and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations, necessary confidentiality measures are taken, and the customs of the public order is not violated.
In the technical scheme of the disclosure, before the personal information of the user is acquired or collected, the authorization or the consent of the user is acquired.
An embodiment of the present disclosure provides an information processing method, which may be applied to a target client, and includes: in response to the detection of the access operation for acquiring the 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 the N resource information identifications into a first resource information identification or a second resource information identification according to cache attribute information corresponding to the N resource information identifications respectively, wherein the cache attribute information represents 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; 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 under the condition that 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 represents 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 by the cache attribute information of the resource information, the resource information can be distinguished according to respective cache time periods, and the first resource information corresponding to the first resource information identifier is determined from the target client by using the first resource information identifier, so that the situation of network bandwidth congestion generated when the first resource information is acquired from the resource forwarding terminal can be at least partially avoided, the loading success rate of the target client for the first resource information is improved, and the technical problem that the target client fails to generate the target page due to slow loading or failed loading of the first resource information can be at least partially solved, so that the generation of the page card by the target client can be avoided, And due to the operation failure phenomena such as white screen and the like, a user can conveniently and quickly acquire related information of a target page through a target client.
The embodiment of the present disclosure further provides an information processing method, where the information processing method may be applied to a resource distribution terminal, and 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; under the condition that a second cache time period represented by second cache attribute information is smaller than a preset updating time length threshold, sending a second resource request corresponding to a second resource information identifier to a target server, wherein the target server 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 of which the second cache time period is less than the preset update time period threshold, the target server can quickly send the second resource information to the resource distribution terminal according to the second resource request by sending the second resource request to the target server in time, and the resource distribution terminal immediately sends the second resource information to the target client after acquiring the second resource information, so that the target client can be ensured to update the second resource information in real time, the timeliness of acquiring the second resource information is improved, and powerful support is provided for subsequently generating the target page.
Fig. 1 schematically shows an application scenario diagram of an information processing method and 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-distributing origin server 105 and a target-serving origin server 107. The network 104 is a medium to provide a communication link between the terminal devices 101, 102, 103 and the resource-originating server 105, and the network 106 is a medium to provide a communication link between the resource-originating server 105 and the target 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 use the terminal devices 101, 102, 103 to interact with the resource distributor server 105 over the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The terminal devices 101, 102, 103 may be target clients in this application scenario.
Resource distributor server 105 and target server 107 may be servers that provide various services, such as a back-office management server (for example only) that provides support for websites browsed by users using terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
In this embodiment, the resource distribution end server 105 may include a CDN (content Delivery network) server, and the CDN server is disposed between the terminal device and the target server.
It should be noted that the information processing method applied to the target client provided by the embodiment of the present disclosure may be generally executed by the terminal devices 101, 102, and 103. Accordingly, the information processing apparatus applied to the target client provided by the embodiment of the present disclosure may be generally disposed in the terminal devices 101, 102, 103. The information processing method applied to the target client provided by the embodiment of the present disclosure may also be executed by a server or a server cluster different from the resource distribution server 105 and 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 embodiment of the present disclosure may also be disposed in a server or a server cluster different from the resource distribution origin server 105 and 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 performed by the resource distribution terminal server 105. Accordingly, the information processing apparatus applied to the resource distribution terminal provided by the embodiment of the present disclosure may be generally disposed in the resource distribution terminal 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 an implementation.
The information processing method of the disclosed embodiment will be described in detail below with fig. 2 to 7 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flow chart 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 the target client, and may include operations S210 to S250.
In operation S210, in response to detecting an access operation for acquiring a target page, a resource information identifier is determined according to the access operation, where the resource information identifier includes N resource information identifiers, and N is greater than or equal to 2.
According to an embodiment of the present disclosure, the resource information may include resources required for constructing 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 presented in an interactive interface by an application such as a browser.
It should be understood that a user may perform an access operation through a retrieval operation, a click operation, and other types of operations, and after detecting the access operation, a target client may construct a target page by using related resource information, so as to display the target page in an interactive interface, so that the user can obtain related information in the target page.
In operation S220, the N resource information identifiers are divided into a first resource information identifier or a second resource information identifier according to cache attribute information corresponding to the N resource information identifiers, where the cache attribute information represents a cache time period of the resource information having the cache attribute information.
According to the embodiment of the disclosure, the caching time period of the resource information can represent the time period in which the resource information needs to be cached 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, for the resource information of the price display object, the cache attribute information can be set to be 0:00 to 0:15 in 1/2/1/2011, namely the price display object is represented to be effective in 0:00 to 0:15 in 1/2/2011, and the time period does not need to be updated.
It should be noted that a cache time threshold may be set, and the first resource information identifier and the second resource information identifier are determined by using a matching relationship between the cache time threshold and the cache time period represented by the cache attribute information, 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, the corresponding cache attribute information can be respectively set for the resource attribute information according to the actual demand, and the 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 the server or the resource distribution terminal, and further network bandwidth congestion for acquiring the first resource information is avoided.
In operation S240, a second resource request for acquiring second resource information is sent to the resource distribution end, where the second resource request includes a second resource information identifier.
In operation S250, in the case that the second resource information sent from the resource distribution terminal is detected, 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 in communication connection with the target client, for example, 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 providing service for the target client, so that the calculation overhead of the target server may be reduced at least in part, and the efficiency of obtaining the second resource information is improved.
According to the embodiment of the disclosure, since the cache attribute information represents 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 by the cache attribute information of the resource information, the resource information can be distinguished according to respective cache time periods, and the first resource information corresponding to the first resource information identifier is determined from the target client by using the first resource information identifier, so that the situation of network bandwidth congestion generated when the first resource information is acquired from the resource forwarding terminal can be at least partially avoided, the loading success rate of the target client for the first resource information is improved, and the technical problem that the target client fails to generate the target page due to slow loading or failed loading of the first resource information can be at least partially solved, so that the generation of the page card by the target client can be avoided, And due to the operation failure phenomena such as white screen and the like, a user can conveniently and quickly acquire related information of a target page through a target client.
Fig. 3 schematically shows a flowchart of dividing N resource information identifiers into a first resource information identifier or a second resource information identifier according to cache attribute information corresponding to the N resource information identifiers, according to an embodiment of the present disclosure.
As shown in fig. 3, the dividing, in operation S220, the N resource information identifiers into the first resource information identifier or the second resource information identifier according to the cache attribute information corresponding to each 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 time period corresponding to the resource information identifier, the resource information identifier is determined as the first resource information identifier.
In operation S320, in a case that the current caching time is later than the caching time period corresponding to the resource information identifier, the resource information identifier is determined as a second resource information identifier.
According to the embodiment of the disclosure, the cache attribute information of the resource information with the resource information identifier can be determined according to the resource information identifier, and then the cache time period corresponding to the resource information identifier can be determined according to the cache attribute information.
For example, when the current caching time is 2011, 1, 2, early morning 0:01, and the caching period corresponding to the resource information identifier a11 is 2011, 1, 2, early morning 0:00 to 0:15, it may be determined that the resource information identifier a11 is the first resource information identifier.
When the current caching time is 2011, 1, 2, early morning at 0:16, and the caching time period corresponding to the resource information identifier a12 is 2011, 1, 2, early morning at 0:00 to 0:15, it may be determined that the resource information identifier a12 is the second resource information identifier.
In one embodiment of the present disclosure, the cacheable attribute information may include a timestamp, that is, the resource information identifier of the resource information may have a corresponding cache time period by setting a corresponding timestamp for the resource information.
According to the embodiment of the disclosure, corresponding cache attribute information can be set for the resource information used for constructing the target page according to an actual application scenario, so that the first resource information is prevented from being acquired from the resource distribution terminal and/or the target server terminal in a peak time period when a user accesses the target page, network bandwidth occupied by the resource distribution terminal and/or the target server terminal to send the first resource information is reduced, network congestion is avoided, and the target page is ensured to be generated quickly.
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 information and product logistics information.
According to an embodiment of the present disclosure, the page frame resource information may include frame resource information used by the target client to construct the target page, such as a web front-end frame.
According to an embodiment of the present disclosure, the product transaction class information may include related information generated for completing a product transaction, such as transaction price information of a product, subscription price information of a product, a real-time remaining amount of a product, and the like. The product logistics class 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, an expected logistics duration of the product, and the like.
According to the embodiment of the disclosure, corresponding cache attribute information can be set for different resource information according to actual requirements, so that the resource information can be flexibly determined to be the first resource information or the second resource information.
Fig. 4 schematically shows a flowchart for determining first resource information corresponding to a first resource identifier according to the first resource information identifier according to an embodiment of the present disclosure.
As shown in fig. 4, the determining, in operation S230, the first resource information corresponding to the first resource identifier may include operations S410 to S420, according to the first resource information identifier.
In operation S410, a first matching result is obtained by matching the first resource information identifier with the resource information identifier of the first target resource information stored in the client cache.
In operation S420, in case that the first matching result indicates that the first resource information identifier 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 pre-stored in a client cache of the target client, and under the condition that the first resource information identifier is matched with the resource information flag of the first target resource information, the first target resource information may be determined as the first resource information, so that the first resource information may be directly acquired from the client cache, the acquisition speed of acquiring the first resource information is increased, and a foundation is laid for increasing the speed of subsequently constructing the target page.
In an embodiment of the present disclosure, the first resource information may be page frame resource information and product image information of a marketing product, and by acquiring the first resource information from the client cache, the network bandwidth occupied by sending the first resource information may be reduced, and the rate of acquiring the first resource information is increased, thereby avoiding a situation of an operation failure such as a jam when a target page is constructed.
According to an embodiment of the present disclosure, the information processing method may further include the following operations.
A first resource request for automatically obtaining the first resource information is intercepted.
According to the embodiment of the disclosure, since the application program of part of the intelligent terminal, namely the target client, automatically sends the request for acquiring the resource information to the server when the access operation is detected. For these applications, an interception mechanism may be set, that is, when it is detected that the resource information identifier used for constructing the target page is the first resource information identifier, the first resource request automatically sent for obtaining the first resource information is intercepted, so that the first resource information is prevented from being sent to the target client by the relevant resource distribution terminal and/or the target server terminal under the condition that the first resource request is received, and network bandwidth resources are saved.
According to the embodiment of the disclosure, the first target resource information stored in the client cache includes M.
Operation S230, determining, according to the first resource information identifier, that the first resource information corresponding to the first resource identifier may further include the following operations.
Under the condition that first matching results corresponding to the M pieces of first target resource information respectively represent that the first resource information identification is not matched with the first target resource information, sending a first resource request for acquiring the first resource information to a resource distribution end according to the first resource information identification; and acquiring first resource information corresponding to the first resource information identifier sent by the resource distribution end.
According to the embodiment of the disclosure, under the condition that the first resource information identifier is not matched with the resource information identifiers of the M first target resource information, it can be characterized that the first resource information used 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 needing 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 the timeliness of the target page obtained by subsequent construction is maintained.
According to an embodiment of the present disclosure, before sending the second resource request for acquiring the second resource information to the resource allocating end, the information processing method may further include the following operation.
And constructing a second resource request for acquiring the second resource information according to the second resource information identifier.
According to the embodiment of the present 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, the second resource information corresponding to the second resource information identifier can be inquired according to the second resource information identifier in the second resource request after the resource distribution terminal receives the second resource request, the second resource information is sent to the target client in time, and the timeliness of constructing the target page can be improved.
Fig. 5 schematically shows a flow chart of an information processing method according to another embodiment of the present disclosure.
As shown in fig. 5, the information processing method of this embodiment, which may be applied to the resource allocation terminal, may include operations S510 to S540.
In operation S510, in response to detecting a second resource request for acquiring second resource information, second cache attribute information corresponding to a 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 a target client.
In operation S520, when the second cache time period represented by the second cache attribute information is smaller than the preset update time 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, the second resource information corresponding to the second resource request.
In operation S530, second resource information sent 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 duration threshold may be a duration threshold used for representing 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 having the second resource information identifier B11 needs to be updated every 1 second, so that the second resource request may be constructed according to the second resource information identifier B11, and the second resource request corresponding to the second resource information identifier B11 is sent to the target server.
According to an embodiment 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. And receiving and analyzing the second resource request by using the resource distribution terminal, wherein the obtained analysis result contains a second resource information identifier, and comparing second cache attribute information corresponding to the second resource information identifier with a preset updating duration threshold value, so that the timeliness of the second resource information can be fully considered, and the corresponding second resource information can be obtained from the target client terminal by sending the second resource request to the target client terminal in time.
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, so that the second resource information can be forwarded in time, the target client can be ensured to 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.
According to an embodiment of the present disclosure, the resource distribution end may include, for example, a CDN edge server and a CDN back-to-origin server. The CDN edge server may provide a service to the target clients of the corresponding area or IP address packet, that is, receive the second resource request sent by the target clients of the corresponding area 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 the second cache time period represented by the second cache attribute information is greater than or equal to the preset updating time length threshold, 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, when 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 according to the second resource information identifier B12, the second target resource information having the second resource information identifier B12 may be determined from the second target resource information stored by the resource distribution end, 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, so that the network bandwidth occupied by sending the second resource request to the target server and acquiring the second resource information from the target server is saved, network congestion is avoided, the timeliness of subsequently generating the target page is further improved, and the operating fault conditions such as blocking and the like at the target client 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 information and product logistics information.
According to the embodiment of the disclosure, second cache attribute information with shorter duration can be set for the product transaction information and the product logistics information, for example, the second cache attribute information representing a cache time period of 1 second is set, so that the update frequency of the product transaction information and the product logistics information is improved, and the actual requirements of users on timely obtaining the product transaction information and the product logistics information in relevant application scenes are met.
According to the embodiment of the disclosure, the second cache attribute information with longer time can be set for the product description information and the product image information, so that the network bandwidth for acquiring the product description information and the product image information from the target server is saved.
Fig. 6 schematically shows a flowchart of determining second resource information corresponding to a second resource information identifier according to the second resource information identifier according to an embodiment of the present disclosure.
As shown in fig. 6, determining the second resource information corresponding to the second resource information identifier according to the second resource information identifier in operation S510 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 by the resource distribution terminal, so as to obtain a second matching result.
In operation S620, in case that the second matching result represents a match, the second target resource information is determined as the second resource information corresponding to the second resource information identifier.
According to the embodiment of the disclosure, the second target resource information with the second resource identifier is queried from the resource distribution terminal by using the second resource information identifier, so that the rate of acquiring the second resource information can be increased, the bandwidth occupied by acquiring the second resource information is reduced, and the timeliness of generating the target page is improved.
Fig. 7 schematically shows an application scenario diagram of an information processing method according to another embodiment of the present disclosure.
As shown in fig. 7, the application scenario 700 of this embodiment may include a target client 710, a resource distributor 720, and a target server 730.
The time period for marketing to the target product may be 0:01 to 0:15 in 2 am of 1 month of 2011. Before 0:00 in 1/2/2011 in the morning, a date-level timestamp may be set for the page frame resource information of the construction target page, that is, the caching period represented by the caching attribute information of the page frame resource information may be set to 1:00 in 1/morning in 2011 in 1/2/morning in 2011. And setting a second-level time stamp aiming at the product logistics class information for representing the residual quantity of the target product inventory, namely setting the duration of the cache time period to be 1 second so as to update the residual quantity of the target product inventory in real time. Correspondingly, the caching time period represented by the caching attribute information can be set to 0: 00-0: 16 in 1, 2 and 2 am in 2011 for product image information, such as a product introduction image of a target product.
Meanwhile, before the marketing period begins, page frame resource information and product image class information may be sent to the target client 710,
the user may send an access operation for acquiring a target page to the target client 710 by operating the target client 710 at 0:03 in morning of 1 month and 2 days in 2011. After detecting the access operation, the target client 710 may determine the resource information identifier for constructing the target page according to the access operation, so as to determine the resource information identifier of the page frame resource information, the resource information identifier of the product logistics information, and the resource information identifier of the product image information.
According to the cache attribute information corresponding to the resource information identifier, the resource information identifier of the page frame resource information and the resource information identifier of the product image information can be determined as a first resource information identifier, and the resource information identifier of the product logistics information can be determined as a second resource information identifier.
The query may then be cached from the target client 710 to the product image information and the page frame resource information, i.e., the first resource information is obtained from the target client 710. It is not necessary to send a resource request to the resource distributor 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 during the marketing period, the first resource information can be acquired from the target client 710, so that a large number of users can be prevented from acquiring the first resource information from the resource distributor 720 through the client based on a front-end cache mechanism, and the network pressure on the resource distributor 710 is reduced.
Meanwhile, for the marketing period, the remaining inventory quantity of the target product for constructing the target page may have a second resource information identifier, the target client 710 sends a second resource request to the resource distribution terminal 720, and after receiving the second resource request, the resource distribution terminal 720 may determine that the second cache time period is smaller than the preset update time period threshold value according to a second-level timestamp corresponding to the second resource information identifier and immediately sends the second resource request to the target server 730 according to the second cache time period corresponding to the second resource information identifier, so that the resource distribution terminal may obtain the real-time remaining inventory quantity of the target product from the target server 730, that is, obtain the real-time second resource information. Therefore, the CDN back-to-source of the resource distribution end aiming at the second resource information is realized.
After receiving the second resource information, the resource distributor 720 may send the real-time remaining inventory amount 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 710 may include a CDN edge server and a CDN back-origin server, where the CDN back-origin server is communicatively connected to the target client 710 through the CDN edge server.
According to the embodiment of the present disclosure, the target server 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 updates the resource information in the service system Web server, and sends the second resource information to the resource distribution terminal 720.
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 amount of remaining inventory of the target product obtained in real time.
Based on the information processing method, the disclosure also provides an information processing device. The apparatus will be described in detail below with reference to fig. 8 and 9.
Fig. 8 schematically shows a block diagram of the structure of an information processing apparatus according to an embodiment of the present disclosure.
As shown in fig. 8, the information processing apparatus 800 of this embodiment includes a first determining module 810, a dividing module 820, a second determining module 830, a first transmitting module 840, and a presentation module 850.
The first determining module 810 is configured to determine resource information identifiers according to an access operation in response to detecting the access operation for acquiring the target page, where the resource information identifiers include N resource information identifiers, 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 or a second resource information identifier according to cache attribute information corresponding to the N resource information identifiers, where the cache attribute information represents a cache time period of the resource information having 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 allocating terminal, where the second resource request includes a second resource information identifier.
The displaying module 850 is configured to, when the second resource information sent from the resource allocating terminal is detected, display the target page in the interactive interface according to the first resource information and the second resource information.
According to an embodiment of the present disclosure, the dividing module may include: a first determination submodule and a second determination submodule.
The first determining submodule is used for determining the resource information identifier as the first resource information identifier under the condition that the current caching moment contains the 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 under the condition that the current caching time is later than the caching time period corresponding to the resource information identifier.
According to an embodiment of the present disclosure, the second determination module includes 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 represents that the first resource information identifier is matched with the first target resource information.
According to the embodiment of the disclosure, the first target resource information stored in the client cache includes M.
The second determination module may further include a first sending submodule and a first obtaining submodule.
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 identifier under the condition that the first matching results corresponding to the M pieces of first target resource information respectively represent that the first resource information identifier is not matched with the first target resource information.
The first obtaining submodule is used for obtaining first resource information which is sent by the resource distributing end and corresponds to the first resource information identification.
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 information and product logistics information.
Fig. 9 schematically shows a block diagram of the structure of an information processing apparatus according to an embodiment of the present disclosure.
As shown in fig. 9, the information processing apparatus 900 of this embodiment may be applied to a resource allocation terminal, and the information processing apparatus 900 may include a third determining module 910, a second transmitting module 920, an obtaining module 930, and a third transmitting module 940.
The third determining module 910 is configured to, in response to detecting a second resource request for acquiring second resource information, determine, according to a second resource information identifier in the second resource request, second cache attribute information corresponding to the second resource information identifier, where the second resource request is from the target client.
The second sending module 920 is configured to send the second resource request corresponding to the second resource information identifier to the target server when the second cache time period represented by the second cache attribute information is smaller than the preset update time threshold, where the target server determines, according to the second resource request, second resource information corresponding to the second resource request.
The obtaining module 930 is configured to obtain the second resource information sent by 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 the 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 information and product logistics information.
According to the embodiment of the present disclosure, any plurality of the first determining module 810, the dividing module 820, the second determining module 830, the first transmitting module 840, and the exhibiting 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 into one module to be implemented, or any one of them may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first determining module 810, the dividing module 820, the second determining module 830, the first sending module 840, the exhibiting module 850 (or the third determining module 910, the second sending module 920, the obtaining module 930, and the third sending module 940) may be at least partially implemented as a hardware circuit, 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 by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware, and firmware, or by a suitable combination of any of them. 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 exhibiting 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 corresponding functions when executed.
Fig. 10 schematically shows a block diagram of an electronic device adapted to implement an information processing method according to an embodiment of the present 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. Processor 1001 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 1001 may also include onboard memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of a method flow 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, ROM 1002, and RAM 1003 are connected to each other by a bus 1004. The processor 1001 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 1002 and/or the RAM 1003. Note that the programs may also 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 flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 1000 may also include an input/output (I/O) interface 1005, input/output (I/O) interface 1005 also connected to bus 1004, according to an embodiment of the present disclosure. Electronic device 1000 may also include one or more of the following components connected to I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk and 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 driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the 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 present 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, a computer-readable storage medium may include the ROM 1002 and/or the RAM 1003 described above and/or one or more memories other than the ROM 1002 and the RAM 1003.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the information processing method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 1001. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted 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 a signal on a network medium, distributed, downloaded and installed via the communication part 1009, and/or installed from the removable medium 1011. The computer program containing program code may be transmitted using any suitable 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 the network through the communication part 1009 and/or installed from the removable medium 1011. The computer program performs the above-described functions defined in the system of the embodiment of the present disclosure when executed by the processor 1001. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, 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., through the internet using an internet service provider).
The flowchart 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.
It will be appreciated by a person skilled in the art that various combinations or/and combinations of features recited in the various embodiments of the disclosure and/or in the claims may be made, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been 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 separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (15)

1. An information processing method is applied to a target client, and comprises the following steps:
in response to the detection of an access operation for acquiring a target page, determining resource information identifiers according to the access operation, wherein the number of the resource information identifiers is N, and N is more than or equal to 2;
dividing the N resource information identifications into a first resource information identification or a second resource information identification according to cache attribute information corresponding to the N resource information identifications respectively, wherein the cache attribute information represents 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;
sending a second resource request for acquiring second resource information to a resource distribution terminal, wherein the second resource request comprises a second resource information identifier; and
and under the condition that the second resource information sent by the resource distribution end is detected, displaying the target page in an interactive interface according to the first resource information and the second resource information.
2. The information processing method according to claim 1, wherein dividing the N resource information identifiers into a first resource information identifier or a second resource information identifier according to cache attribute information corresponding to the N resource information identifiers respectively comprises:
determining the resource information identifier as the first resource information identifier when the current caching time includes a caching time period corresponding to the resource information identifier; and
and determining the resource information identifier as the second resource information identifier under the condition that the current caching time is later than the caching time period corresponding to the resource information identifier.
3. The information processing method according to claim 1 or 2, wherein determining, according to the first resource information identifier, first resource information corresponding to the first resource identifier comprises:
matching the first resource information identifier with a resource information identifier of first target resource information stored in a client cache to obtain a first matching result;
and under the condition that the first matching result represents that the first resource information identifier is matched with the first target resource information, determining the first target resource information as the first resource information.
4. The information processing method according to claim 3, wherein the first target resource information stored in the client cache includes M;
according to the first resource information identifier, determining the first resource information corresponding to the first resource identifier further includes:
under the condition that first matching results corresponding to the M pieces of first target resource information respectively represent that the first resource information identification is not matched with the first target resource information, sending a first resource request for acquiring first resource information to the resource distribution end according to the first resource information identification; and
and acquiring first resource information which is sent by the resource distribution end and corresponds to the first resource information identifier.
5. The information processing method according to claim 1, wherein before sending the second resource request for acquiring the second resource information to the resource distributing terminal, 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.
6. 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 information and product logistics information.
7. An information processing method applied to a resource distribution terminal includes:
in response to detecting a second resource request for acquiring second resource information, determining second cache attribute information corresponding to a 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;
sending 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 length 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.
8. The information processing method according to claim 7, further comprising:
and 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 length threshold, determining second resource information corresponding to the second resource information identifier according to the second resource information identifier.
9. The information processing method of claim 8, wherein determining, from the second resource information identifier, second resource information corresponding to the second resource information identifier comprises:
matching the second resource information identifier with a resource information identifier of 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 identifier.
10. The information processing method according to claim 7, wherein the second resource information includes at least one of:
product description information, product image information, product transaction information and product logistics information.
11. An information processing apparatus applied to a target client, comprising:
the first determining module is used for responding to the detection of the access operation for acquiring the target page and 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;
the dividing module is used for dividing the N resource information identifications into a first resource information identification or a second resource information identification according to cache attribute information corresponding to the N resource information identifications, wherein the cache attribute information represents a cache time period of the resource information with the cache attribute information;
a second determining module, configured to determine, according to the first resource information identifier, first resource information corresponding to the first resource identifier;
a first sending module, configured to send a second resource request for obtaining second resource information to a resource distribution terminal, where the second resource request includes a second resource information identifier; and
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 end is detected.
12. 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 acquiring second resource information, second cache attribute information corresponding to a second resource information identifier in the second resource request according to the 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 smaller than a preset update time threshold, where the target server determines, according to the second resource request, second resource information corresponding to the second resource request;
the acquisition module is used for acquiring the second resource information sent by the target server; and
and the third sending module is used for sending the second resource information to the target client.
13. An electronic device, comprising:
one or more processors;
a storage device 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-10.
14. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 10.
15. A computer program product comprising a computer program which, when executed by a processor, implements a method according to any one of claims 1 to 10.
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 true CN114979004A (en) 2022-08-30
CN114979004B 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
CN114979004B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
CN108684205B (en) Method and system for processing digital components
CN113987074A (en) Distributed service full-link monitoring method and device, electronic equipment and storage medium
US20170316455A1 (en) System and Method for Counting Advertisement Impressions
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN113411400B (en) Information calling method and device, electronic equipment and readable storage medium
CN113132400B (en) Business processing method, device, computer system and storage medium
CN112882895A (en) Health examination method, device, computer system and readable storage medium
CN110674426A (en) Webpage behavior reporting method and device
CN114979004B (en) Information processing method, device, equipment and medium
CN115292440A (en) Remote guidance method, apparatus, device and medium
CN114218283A (en) Abnormality detection method, apparatus, device, and medium
CN114780361A (en) Log generation method, device, computer system and readable storage medium
CN114443663A (en) Data table processing method, device, equipment and medium
CN114490130A (en) Message subscription method and device, electronic equipment and storage medium
CN112822225A (en) Method and device for tracking content delivery effect
CN112015745B (en) Data management method and device
CN117349565A (en) Page rendering method, device, equipment and medium
CN114285743A (en) Method and device for updating configuration information, electronic equipment and storage medium
CN114896260A (en) Information processing method, information processing device, electronic equipment and storage medium
CN114169984A (en) Method, system, apparatus, medium and product for funds release
CN113784174A (en) Method, device, electronic equipment and medium for generating video preview dynamic image
CN115237391A (en) Method, device, electronic equipment and medium for generating script
CN115033387A (en) Resource allocation method, device, electronic equipment and medium
CN116701018A (en) Data processing method, data acquisition method, device, equipment and storage medium

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