CN111221862B - Request processing method and device - Google Patents

Request processing method and device Download PDF

Info

Publication number
CN111221862B
CN111221862B CN201911425308.XA CN201911425308A CN111221862B CN 111221862 B CN111221862 B CN 111221862B CN 201911425308 A CN201911425308 A CN 201911425308A CN 111221862 B CN111221862 B CN 111221862B
Authority
CN
China
Prior art keywords
page
page data
distributed cache
data
valid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911425308.XA
Other languages
Chinese (zh)
Other versions
CN111221862A (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.)
Wuba Co Ltd
Original Assignee
Wuba Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201911425308.XA priority Critical patent/CN111221862B/en
Publication of CN111221862A publication Critical patent/CN111221862A/en
Application granted granted Critical
Publication of CN111221862B publication Critical patent/CN111221862B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a request processing method and a request processing device. According to the application, when the effective first page data of the page does not exist in the first distributed cache, the effective second page data of the page can be acquired in at least one second distributed cache, and then the acquisition request is responded based on the effective second page data. The method and the device have the advantages that the effective page data of the page do not need to be acquired from the database, and because the efficiency of acquiring the data from the second distributed cache is higher than that of acquiring the data from the database, compared with the prior art, the method and the device can improve the efficiency of acquiring the effective page data of the page, further improve the response speed of acquiring the request, and reduce the waiting time of a user to improve the user experience. Second, since access to the database is not required, the increase in load on the database can be avoided.

Description

Request processing method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a request.
Background
With the rapid development of technology, more and more application servers are on the network, and the application servers can provide data services for users.
The user can access the application server to acquire data, the application server is in communication connection with a database, the database is used for storing the data, and when the user needs to acquire the data, the application server can acquire the data from the database and respond to the user.
Further, in order to increase the response speed, the application server may use a distributed cache to cache the data in the database, so that the application server may obtain the data from the distributed cache and respond to the request sent by the user according to the obtained user. Because the speed of the application server for acquiring the data from the distributed cache is higher than the speed of the application server for acquiring the data from the database, the efficiency of acquiring the data from the distributed cache by the application server can be improved.
However, if the expiration of the data stored in the distributed cache expires, in this case, if the application server receives a large number of requests for acquiring the data in a short time, the application server needs to access the database to acquire the data from the database in response to each request, but this increases the load of the database.
Disclosure of Invention
In order to solve the technical problems, the application discloses a request processing method and a request processing device.
In a first aspect, the present application shows a request processing method, the method comprising:
receiving an acquisition request for acquiring page data of a page;
judging whether valid first page data of the page exists in a first distributed cache;
acquiring valid second page data of the page in at least one second distributed cache in the case that the valid first page data does not exist in the first distributed cache;
responding to the acquisition request based on the valid second page data.
In an alternative implementation, the determining whether valid first page data of the page exists in the first distributed cache includes:
judging whether first page data of the page exists in a first distributed cache;
if the first page data of the page does not exist in the first distributed cache, determining that the valid first page data of the page does not exist in the first distributed cache;
acquiring expiration time of first page data of the page under the condition that the first page data of the page exists in the first distributed cache;
judging whether the current time exceeds the expiration time;
If the current time exceeds the expiration time, determining that valid first page data of the page does not exist in the first distributed cache;
and under the condition that the current time does not exceed the expiration time, determining that valid first page data of the page exists in the first distributed cache.
In an optional implementation manner, the determining whether the first page data of the page exists in the first distributed cache includes:
acquiring a page identifier of the page;
searching whether page data corresponding to the page identification exists in a first corresponding relation between the page identification of the page and page data of the page;
determining that first page data of the page is stored in the first distributed cache under the condition that page data corresponding to the page identification exists;
and determining that the first page data of the page is not stored in the first distributed cache under the condition that the page data corresponding to the page identification does not exist.
In an optional implementation manner, the acquiring the expiration time of the first page data of the page includes:
And searching for the expiration time corresponding to the first page data of the page in a second corresponding relation between the page data and the expiration time of the page data.
In an alternative implementation, the method further includes:
acquiring third page data of the page from a database under the condition that effective first page data does not exist in the first distributed cache;
the third page data is stored in the first distributed cache.
In an alternative implementation, the method further includes:
in the case where first page data of the page is present in a first distributed cache but the first page data of the page is not valid page data, deleting the first page data in the first distributed cache.
In an alternative implementation, the method further includes:
and setting the expiration time of the third page data in the first distributed cache.
In an optional implementation manner, the setting, in the first distributed cache, an expiration time of the third page data includes:
and replacing the expiration time corresponding to the first page data with the expiration time of the third page data in a second corresponding relation between the page data and the expiration time of the page data.
In an alternative implementation, the method further includes:
acquiring fourth page data of the page from a database in the process that the first page data of the page in the first distributed cache is valid;
and replacing second page data of the second distributed cache at least by using the fourth page data.
In a second aspect, the present application shows a request processing apparatus, the apparatus comprising:
the receiving module is used for receiving an acquisition request for acquiring page data of a page;
the judging module is used for judging whether valid first page data of the page exists in the first distributed cache;
the first acquisition module is used for acquiring valid second page data of the page in at least one second distributed cache under the condition that the valid first page data does not exist in the first distributed cache;
and the response module is used for responding to the acquisition request based on the valid second page data.
In an alternative implementation, the determining module includes:
the first judging unit is used for judging whether first page data of the page exist in the first distributed cache or not;
A first determining unit, configured to determine that valid first page data of the page does not exist in the first distributed cache if the first page data of the page does not exist in the first distributed cache;
the acquisition unit is used for acquiring the expiration time of the first page data of the page under the condition that the first page data of the page exists in the first distributed cache;
the second judging unit is used for judging whether the current time exceeds the expiration time;
a second determining unit, configured to determine that valid first page data of the page does not exist in the first distributed cache if the current time exceeds the expiration time;
and a third determining unit, configured to determine that valid first page data of the page exists in the first distributed cache when the current time does not exceed the expiration time.
In an alternative implementation manner, the first determining unit includes:
an acquisition subunit, configured to acquire a page identifier of the page;
the first searching subunit is used for searching whether the page data corresponding to the page identifier exists in a first corresponding relation between the page identifier of the page and the page data of the page;
A first determining subunit, configured to determine, when there is page data corresponding to the page identifier, that first page data of the page is stored in the first distributed cache;
and the second determining subunit is used for determining that the first page data of the page is not stored in the first distributed cache when the page data corresponding to the page identification does not exist.
In an alternative implementation, the acquiring unit includes:
and the second searching subunit is used for searching the expiration time corresponding to the first page data of the page in a second corresponding relation between the page data and the expiration time of the page data.
In an alternative implementation, the apparatus further includes:
the second acquisition module is used for acquiring third page data of the page from the database under the condition that effective first page data does not exist in the first distributed cache;
and the storage module is used for storing the third page data in the first distributed cache.
In an alternative implementation, the apparatus further includes:
and the deleting module is used for deleting the first page data in the first distributed cache when the first page data of the page exists in the first distributed cache but the first page data of the page is not valid page data.
In an alternative implementation, the apparatus further includes:
and the setting module is used for setting the expiration time of the third page data in the first distributed cache.
In an alternative implementation, the setting module is specifically configured to: and replacing the expiration time corresponding to the first page data with the expiration time of the third page data in a second corresponding relation between the page data and the expiration time of the page data.
In an alternative implementation, the apparatus further includes:
the third acquisition module is used for acquiring fourth page data of the page from the database in the process that the first page data of the page in the first distributed cache is valid;
and the replacing module is used for replacing the second page data of the second distributed cache at least by using the fourth page data.
In a third aspect, the present application shows an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the request processing method as described in the first aspect.
In a fourth aspect, the application features a non-transitory computer readable storage medium that, when executed by a processor of an electronic device, enables the electronic device to perform a request processing method as described in the first aspect.
In a fifth aspect, the application shows a computer program product, which when executed by a processor of an electronic device, causes the electronic device to perform the request processing method according to the first aspect.
The technical scheme provided by the application can comprise the following beneficial effects:
according to the application, when the effective first page data of the page does not exist in the first distributed cache, the effective second page data of the page can be acquired in at least one second distributed cache, and then the acquisition request is responded based on the effective second page data. The method and the device have the advantages that the effective page data of the page do not need to be acquired from the database, and because the efficiency of acquiring the data from the second distributed cache is higher than that of acquiring the data from the database, compared with the prior art, the method and the device can improve the efficiency of acquiring the effective page data of the page, further improve the response speed of acquiring the request, and reduce the waiting time of a user to improve the user experience. Second, since access to the database is not required, the increase in load on the database can be avoided.
Drawings
FIG. 1 is a block diagram of a request processing system of the present application.
FIG. 2 is a flow chart of the steps of a request processing method of the present application.
FIG. 3 is a flow chart of the steps of a request processing method of the present application.
Fig. 4 is a block diagram of a request processing apparatus according to the present application.
Fig. 5 is a block diagram of an electronic device in accordance with the present application.
Fig. 6 is a block diagram of an electronic device in accordance with the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the application will be rendered by reference to the appended drawings and appended detailed description.
Referring to FIG. 1, there is shown a block diagram of a request processing system of the present application, comprising: an application server 01, a database 02 and a distributed cache server 03.
The application server 01 is in communication connection with the database 02, and the application server 01 is in communication connection with the distributed cache server 03.
The database 02 is used for storing data, and the application server 01 can acquire the data from the database 02 according to a request of an external device and feed back the acquired data to the external device.
The distributed cache server 03 includes at least two portions of distributed caches, for example, a first distributed cache and a second distributed cache, where the second distributed cache may be one or multiple. The distributed cache server 03 may store data in the first distributed cache as well as the second distributed cache. The application server 01 may acquire data from the first distributed cache and the second distributed cache of the distributed cache server 03 according to a request of an external device, and feed back the acquired data to the external device.
The time period required by the application server 01 to acquire the data from the database 02 is often longer than the time period required by the application server 01 to acquire the data from the first distributed cache or the second distributed cache in the distributed cache server 03.
Thus, the application server 01 may buffer in advance the page data of at least a part of the pages in the database 02 to the distributed buffer server 03, for example, buffer the page data of at least a part of the pages in the first distributed buffer and the second distributed buffer in the distributed buffer server 03. In this way, when the application server obtains the page data of the pages afterwards, the application server 01 can directly obtain the page data of the pages from the first distributed cache or the second distributed cache in the distributed cache server 03, and the page data does not need to be directly obtained from the database, so that the obtaining efficiency can be improved. At least part of the data may be data obtained more frequently, etc.
Referring to fig. 2, there is shown a flow chart of steps of a method for processing request data according to the present application, the method is applied to the application server 01 shown in fig. 1, and the method may specifically include the following steps:
In step S101, an acquisition request for acquiring page data of a page is received;
in the application, a user needs to access a page when using an external device, and when accessing the page, the user needs to acquire page data of the page through an application server and then render the page data on a screen of the external device so that the user can view the page.
In order to obtain the page data of the page, the external device may transmit an acquisition request for acquiring the page data of the page to the application server. The application server receives the acquisition request, and then performs step S102.
In step S102, it is determined whether valid first page data of the page exists in the first distributed cache;
in the application, the page data of the page is stored in the database, and when the page data of the page is updated, the page data of the page is also updated in the database directly. Then, the updated page data of the page can be cached in a first distributed cache in the distributed cache server, so that when the application server needs to acquire the page data of the page, the page data of the page can be directly acquired from the first distributed cache without acquiring the page data of the page from the database, thereby improving the efficiency of acquiring the page data and reducing the load of the database.
However, sometimes, since the page data of the page is updated, the page data of the page is updated directly in the database. In this way, after the page data of the page is updated in the database, the page data in the first distributed cache is inconsistent with the page data of the page in the database, and in the case that the gap between the page data in the first distributed cache and the page data of the page in the database is large, the page data of the page stored in the first distributed cache is not valid page data but invalid page data, and at this time, the acquisition request is not responded based on the invalid page data in the first distributed cache.
When the first page data of the page stored in the first distributed cache is invalid, the distributed cache server may actively delete the invalid first page data of the page stored in the first distributed cache, or, of course, may not actively delete the invalid first page data of the page stored in the first distributed cache, and may instead process the invalid first page data of the page stored in the first distributed cache by the application server.
In this way, when determining whether valid first page data of the page exists in the first distributed cache, it may be determined whether first page data of the page exists in the first distributed cache.
If the first page data of the page does not exist in the first distributed cache, the problem of whether the first page data is valid is further solved, and therefore, in the case that the first page data of the page does not exist in the first distributed cache, it can be determined that the valid first page data of the page does not exist in the first distributed cache.
If the first page data of the page exists in the first distributed cache, there are two possibilities that the first page data of the page stored in the first distributed cache is valid at this time, or the first page data of the page stored in the first distributed cache is invalid, so that it is necessary to continuously determine whether the first page data of the page is valid.
In the history process, it may be found by statistics that, after the page data of a page in the database is cached in the first distributed cache, the page data of the page in the database is continuously updated according to the actual situation, so that the gap between the page data in the first distributed cache and the page data of the page in the database is continuously increased.
Typically, after a certain period of time has elapsed, the gap between the page data of the page in the first distributed cache and the page data of the page in the database will be larger, and the service requirement cannot be met based on the page data of the page in the first distributed cache, so that the page data in the first distributed cache has been invalidated.
Thus, it may be determined whether the page data of the page in the first distributed cache is stale by the time of storage of the page data of the page in the first distributed cache.
For example, in the case that the first page data of the page exists in the first distributed cache, the expiration time of the first page data of the page may be obtained, and then it is determined whether the current time exceeds the expiration time; when the current time exceeds the expiration time, indicating that the first page data of the page is expired, and therefore, determining that the valid first page data of the page does not exist in the first distributed cache; in the case that the current time does not exceed the expiration time, it is indicated that the first page data of the page is not expired, and therefore, it may be determined that valid first page data of the page exists in the first distributed cache.
For any one page, after the page data is stored in the first distributed cache, the page identifier of the page and the stored page data of the page can form a corresponding table entry, and the first corresponding relation between the page identifier of the page and the page data of the page is stored, and the same is true for each other page.
Therefore, when judging whether the first distributed cache stores the first page data of the page, acquiring the page identifier of the page, and then searching whether the page data corresponding to the page identifier of the page exists in the first corresponding relation between the page identifier of the page and the page data of the page; determining that first page data of the page exists in the first distributed cache under the condition that page data corresponding to the page identification of the page exists; in the absence of page data corresponding to the page identification of the page, determining that the first page data of the page does not exist in the first distributed cache.
And after one page data is stored in the first distributed cache, setting the expiration time of the page data, and then forming a corresponding table entry by the page data and the set expiration time of the page data, and storing the corresponding table entry in a second corresponding relation between the page data and the expiration time of the page data.
Therefore, when the expiration time of the first page data of the page is acquired, the expiration time corresponding to the first page data of the page can be searched in the second corresponding relation between the page data and the expiration time of the page data.
The first corresponding relation is as follows: the correspondence between the page identification of the page and the page data of the page. The second corresponding relation is as follows: if the first corresponding relation and the second corresponding relation are set independently, two identical page data are stored at the same time, and therefore storage resources are wasted.
Therefore, in order to save storage resources, a correspondence relationship between the three may be set, for example, a page identifier of a page, page data of the page, and an expiration time of the page data.
The corresponding relation among the three comprises three columns, wherein the first column stores page identification of the page, the second column stores page data of the page, and the third column stores expiration time of the page data.
The first column and the second column combination may be regarded as a first correspondence and the second column and the third column combination may be regarded as a second correspondence. In this way, only one page data is stored, so that storage resources can be saved.
In the case that there is no valid first page data in the first distributed cache, in step S103, valid second page data of the page is acquired in at least one second distributed cache;
in the present application, in the case that valid first page data does not exist in the first distributed cache, in order to avoid acquiring valid page data of the page from the database, it is necessary to ensure that valid second page data of the page is stored in at least one second distributed cache.
Therefore, asynchronously, the page data of the page needs to be updated in at least one second distributed cache. For example, fourth page data for the page is retrieved from the database, and at least the fourth page data is used to replace second page data of the second distributed cache.
Since the page data stored in the database is valid page data, the fourth page data of the page acquired from the database is valid page data.
In the present application, it is necessary to update the page data of the page in at least one second distributed cache during the validity of the first page data of the page in the first distributed cache.
In this way, at any moment, the first distributed cache stores valid page data of the page, or the second distributed cache stores valid data of the page, or both the first distributed cache and the second distributed cache store valid data of the page.
In this way, it can be ensured that at any time, the application server can obtain valid page data of the page from the first distributed cache server or obtain valid page data of the page from the second distributed cache server. Therefore, the effective page data of the page can not be acquired from the database, and the load of the database can be prevented from being increased.
Under the condition that effective first page data does not exist in the first distributed cache, effective second page data of the page is obtained in at least one second distributed cache, so that the effective second page data of the page can be obtained under the condition that a database is not required to be accessed, the efficiency of obtaining the page data can be improved, and the load of the database is avoided.
In step S104, the acquisition request is responded to based on the valid second page data.
In the application, the effective second page data of the page can be sent to the external device sending the acquisition request, so that the external device can render the second page data for the user to view.
According to the application, when the effective first page data of the page does not exist in the first distributed cache, the effective second page data of the page can be acquired in at least one second distributed cache, and then the acquisition request is responded based on the effective second page data. The method and the device have the advantages that the effective page data of the page do not need to be acquired from the database, and because the efficiency of acquiring the data from the second distributed cache is higher than that of acquiring the data from the database, compared with the prior art, the method and the device can improve the efficiency of acquiring the effective page data of the page, further improve the response speed of acquiring the request, and reduce the waiting time of a user to improve the user experience. Second, since access to the database is not required, the increase in load on the database can be avoided.
Further, in another embodiment of the present application, referring to fig. 3, the method further includes:
in the case that there is no valid first page data in the first distributed cache, in step S201, third page data of the page is acquired from the database;
Since the page data stored in the database is valid page data, the third page data of the page acquired from the database is valid page data.
In the event that valid first page data does not exist in the first distributed cache, then the fetch request cannot be responded to based on the data in the first distributed cache, and the fetch request can be responded to based on valid second page data for the page in the second distributed cache.
However, in one case, the timeliness of the second page data of the page in the second distributed cache may be lower than the timeliness of the first page data of the page in the first distributed cache.
While responding to the fetch request based on valid second page data for the page in the second distributed cache may avoid increasing the load on the database and improving the response efficiency if the fetch request is successfully responded to, it may result in less timeliness of the fetched page data, i.e., not the most up-to-date page data in the database to respond to the fetch request.
Therefore, if the other acquisition request for acquiring the page data of the page is received again later, in order to be able to avoid increasing the load of the database and to improve the response efficiency in the case of successfully responding to the other acquisition request, and to be able to improve the timeliness of the acquired page data, that is, to respond to the other acquisition request with updated page data as much as possible, the third page data of the page may be acquired from the database, and then step S202 is performed.
In step S202, third page data is stored in the first distributed cache.
In this way, if the other acquisition request for acquiring the page data of the page is received again later, the third page data of the page may be acquired directly from the first distributed cache, and the other acquisition requests may be responded to based on the third page data, so that the timeliness of the acquired page data of the page may be improved, and thus, compared to responding to the other acquisition requests based on the second page data in the second distributed cache, the embodiment may respond to the other acquisition requests using the updated page data.
Where there is no valid first page data in the first distributed cache, two situations are included, the first situation: the first page data is deleted from the first distributed cache after the first page data is invalidated, so that no first page data exists in the first distributed cache, and no valid first page data exists.
Second case: the first page data is not deleted from the first distributed cache before after the first page data has been invalidated, i.e. the first page data still exists in the first distributed cache but the invalidated first page data.
If the second situation is the case, after the third page data is stored in the first distributed cache, the first page data of the page and the third page data of the page are simultaneously present in the first distributed cache. In another embodiment of the present application, in order to save the first storage space, in the case that the first page data of the page exists in the first distributed cache but the first page data of the page is not valid page data, the first page data in the first distributed cache may be deleted, because the first page data of the page has been invalidated, and then the first page data of the page will not be used to respond to the subsequently received fetch request.
Further, the expiration time of the third page data needs to be set in the first distributed cache. For example, in the second correspondence between the page data and the expiration time of the page data, the expiration time corresponding to the first page data is replaced with the expiration time of the third page data.
The process of updating the page data of the page in the first distributed cache shown in fig. 3 is asynchronously performed with the process of the embodiments of steps S101 to S104 shown in fig. 2, and thus the process of updating the page data of the page in the first distributed cache shown in fig. 3 does not affect the progress of the process of the embodiments of steps S101 to S104 shown in fig. 2, and since the page data is acquired from the second distributed cache instead of the database in the embodiment shown in fig. 2, the efficiency of acquiring the page data is not affected.
In one example, in the process of acquiring the page data of the page in step S101 to step S104 shown in fig. 2, when it is detected that there is no valid first page data of the page in the first distributed cache, the update process is started to trigger.
And updating the page data of the page in the second distributed cache may be periodic, e.g., in the event that the page data of the page in the second distributed cache is about to fail but has not yet been invalidated and is valid for the page data of the page in the first distributed cache, the page data of the page in the second distributed cache is updated and the page data of the page in the first distributed cache is valid for the duration of updating the page data of the page in the second distributed cache.
The application is illustrated by way of example with a list page that includes a plurality of posts, and the user sometimes needs to order the posts, for example, order posts whose posting addresses are located in a certain province, so that relevant data of each post whose posting address is located in the province can be obtained from a database, then order each post whose posting address is located in the province based on the relevant data of each post, for example, store post IDs (Identity Document, identity numbers) of each post whose posting address is located in the province in a first list according to the order of ordering of each post, store the first list in a second distributed cache, and set expiration time of the first list.
However, there are also many users who need to order posts of a certain city whose posting address is located in the province, so that related data of each post of the city whose posting address is located in the province can be obtained from a database, and then each post of the city whose posting address is located in the province is ordered based on the related data of each post, for example, the post IDs of each post of the city whose posting address is located in the province are stored in a second list in the order of ordering of each post, and the second list is stored in a first distributed cache, and the expiration time of the second list is set.
Wherein in one example, the expiration time of the second list in the first distributed cache is earlier than the expiration time of the first list in the second distributed cache, i.e., the update period for the list of stored ordered post IDs in the first distributed cache is shorter and the update period for the list of stored ordered post IDs in the second distributed cache is longer.
That is, at more moments in time, the timeliness of the list of storing ordered post IDs in the first distributed cache is higher than the timeliness of the list of storing ordered post IDs in the second distributed cache.
However, the timeliness of the list of storing ordered post IDs in the first distributed cache and the timeliness of the list of storing ordered post IDs in the second distributed cache both meet the minimum timeliness requirement of the service.
The list of the sorted post IDs in the first distributed cache is used to ensure timeliness of the post sorting as much as possible, that is, to ensure that the post sorting more accords with the actual situation of the posts stored in the database as much as possible, while improving efficiency of the post sorting of the pages and avoiding increasing load of the database.
The list of the stored ordered post IDs in the second distributed cache is to avoid acquiring related data of each post from the database and then ordering the posts based on the related data while improving efficiency of ordering the posts of the page in the event that the list of the stored ordered post IDs in the first distributed cache fails, thereby avoiding increasing load of the database.
The list of the sorted post IDs in the first distributed cache needs to keep high timeliness, so that the update frequency of the list of the sorted post IDs in the first distributed cache is high, and the database is accessed for each update, so that the database is loaded by the update operation.
If the list of stored ordered post IDs in the second distributed cache also remains highly time-efficient, the update operation of the second distributed cache together with the update operation of the first distributed cache may at least double the load on the database.
In order to reduce the load on the database as much as possible, the frequency of updating the list of storing ordered post IDs in the second distributed cache may be reduced.
As such, in one possible scenario, the timeliness of the list of stored ordered post IDs in the second distributed cache is relatively lower than the timeliness of the list of stored ordered post IDs in the first distributed cache, but both the timeliness of the list of stored ordered post IDs in the first distributed cache and the timeliness of the list of stored ordered post IDs in the second distributed cache meet the minimum timeliness requirement of the business.
That is, although storing the ordered list of post IDs in the second distributed cache reduces timeliness, it may be avoided that the load of the database is increased.
Second, in one example, the list of stored ordered post IDs in the first distributed cache includes post IDs that are part of the post IDs included in the list of stored ordered post IDs in the first distributed cache.
It should be noted that, for simplicity of explanation, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the application. Further, those skilled in the art will appreciate that the embodiments described in the specification are all alternative embodiments and that the actions involved are not necessarily required for the present application.
Referring to fig. 4, there is shown a block diagram of a request processing apparatus of the present application, which may specifically include the following modules:
a receiving module 11, configured to receive an acquisition request for acquiring page data of a page;
a judging module 12, configured to judge whether valid first page data of the page exists in the first distributed cache;
a first obtaining module 13, configured to obtain valid second page data of the page in at least one second distributed cache, in a case where the valid first page data does not exist in the first distributed cache;
a response module 14, configured to respond to the acquisition request based on the valid second page data.
In an alternative implementation, the determining module includes:
the first judging unit is used for judging whether first page data of the page exist in the first distributed cache or not;
a first determining unit, configured to determine that valid first page data of the page does not exist in the first distributed cache if the first page data of the page does not exist in the first distributed cache;
the acquisition unit is used for acquiring the expiration time of the first page data of the page under the condition that the first page data of the page exists in the first distributed cache;
the second judging unit is used for judging whether the current time exceeds the expiration time;
a second determining unit, configured to determine that valid first page data of the page does not exist in the first distributed cache if the current time exceeds the expiration time;
and a third determining unit, configured to determine that valid first page data of the page exists in the first distributed cache when the current time does not exceed the expiration time.
In an alternative implementation manner, the first determining unit includes:
An acquisition subunit, configured to acquire a page identifier of the page;
the first searching subunit is used for searching whether the page data corresponding to the page identifier exists in a first corresponding relation between the page identifier of the page and the page data of the page;
a first determining subunit, configured to determine, when there is page data corresponding to the page identifier, that first page data of the page is stored in the first distributed cache;
and the second determining subunit is used for determining that the first page data of the page is not stored in the first distributed cache when the page data corresponding to the page identification does not exist.
In an alternative implementation, the acquiring unit includes:
and the second searching subunit is used for searching the expiration time corresponding to the first page data of the page in a second corresponding relation between the page data and the expiration time of the page data.
In an alternative implementation, the apparatus further includes:
the second acquisition module is used for acquiring third page data of the page from the database under the condition that effective first page data does not exist in the first distributed cache;
And the storage module is used for storing the third page data in the first distributed cache.
In an alternative implementation, the apparatus further includes:
and the deleting module is used for deleting the first page data in the first distributed cache when the first page data of the page exists in the first distributed cache but the first page data of the page is not valid page data.
In an alternative implementation, the apparatus further includes:
and the setting module is used for setting the expiration time of the third page data in the first distributed cache.
In an alternative implementation, the setting module is specifically configured to: and replacing the expiration time corresponding to the first page data with the expiration time of the third page data in a second corresponding relation between the page data and the expiration time of the page data.
In an alternative implementation, the apparatus further includes:
the third acquisition module is used for acquiring fourth page data of the page from the database in the process that the first page data of the page in the first distributed cache is valid;
And the replacing module is used for replacing the second page data of the second distributed cache at least by using the fourth page data.
According to the application, when the effective first page data of the page does not exist in the first distributed cache, the effective second page data of the page can be acquired in at least one second distributed cache, and then the acquisition request is responded based on the effective second page data. The method and the device have the advantages that the effective page data of the page do not need to be acquired from the database, and because the efficiency of acquiring the data from the second distributed cache is higher than that of acquiring the data from the database, compared with the prior art, the method and the device can improve the efficiency of acquiring the effective page data of the page, further improve the response speed of acquiring the request, and reduce the waiting time of a user to improve the user experience. Second, since access to the database is not required, the increase in load on the database can be avoided.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
Fig. 5 is a block diagram of an electronic device 800 in accordance with the present application. For example, electronic device 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 5, an electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, images, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen between the electronic device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the electronic device 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in position of the electronic device 800 or a component of the electronic device 800, the presence or absence of a user's contact with the electronic device 800, an orientation or acceleration/deceleration of the electronic device 800, and a change in temperature of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the electronic device 800 and other devices, either wired or wireless. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast operation information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of electronic device 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Fig. 6 is a block diagram of an electronic device 1900 in accordance with an embodiment of the application. For example, electronic device 1900 may be provided as a server.
Referring to FIG. 6, electronic device 1900 includes a processing component 1922 that further includes one or more processors and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by processing component 1922. The application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions. Further, processing component 1922 is configured to execute instructions to perform the methods described above.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The foregoing has described in detail a method and apparatus for processing requests provided by the present application, and specific examples have been provided herein to illustrate the principles and embodiments of the present application, the above examples being provided only to assist in understanding the method and core idea of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (16)

1. A method of request processing, the method comprising:
receiving an acquisition request for acquiring page data of a page;
judging whether valid first page data of the page exists in a first distributed cache;
acquiring valid second page data of the page in at least one second distributed cache in the case that the valid first page data does not exist in the first distributed cache;
responding to the acquisition request based on the valid second page data;
the determining whether valid first page data of the page exists in the first distributed cache includes:
judging whether first page data of the page exists in a first distributed cache;
if the first page data of the page does not exist in the first distributed cache, determining that the valid first page data of the page does not exist in the first distributed cache;
acquiring expiration time of first page data of the page under the condition that the first page data of the page exists in the first distributed cache;
judging whether the current time exceeds the expiration time;
if the current time exceeds the expiration time, determining that valid first page data of the page does not exist in the first distributed cache;
Determining that valid first page data of the page exists in the first distributed cache under the condition that the current time does not exceed the expiration time;
the determining whether the first page data of the page exists in the first distributed cache includes:
acquiring a page identifier of the page;
searching whether page data corresponding to the page identification exists in a first corresponding relation between the page identification of the page and page data of the page;
determining that first page data of the page is stored in the first distributed cache under the condition that page data corresponding to the page identification exists;
and determining that the first page data of the page is not stored in the first distributed cache under the condition that the page data corresponding to the page identification does not exist.
2. The method of claim 1, wherein the obtaining the expiration time of the first page data of the page comprises:
and searching for the expiration time corresponding to the first page data of the page in a second corresponding relation between the page data and the expiration time of the page data.
3. The method according to claim 1, wherein the method further comprises:
Acquiring third page data of the page from a database under the condition that effective first page data does not exist in the first distributed cache;
the third page data is stored in the first distributed cache.
4. A method according to claim 3, characterized in that the method further comprises:
in the case where first page data of the page is present in a first distributed cache but the first page data of the page is not valid page data, deleting the first page data in the first distributed cache.
5. A method according to claim 3, characterized in that the method further comprises:
and setting the expiration time of the third page data in the first distributed cache.
6. The method of claim 5, wherein setting an expiration time of the third page data in the first distributed cache comprises:
and replacing the expiration time corresponding to the first page data with the expiration time of the third page data in a second corresponding relation between the page data and the expiration time of the page data.
7. The method according to claim 1, wherein the method further comprises:
Acquiring fourth page data of the page from a database in the process that the first page data of the page in the first distributed cache is valid;
and replacing second page data of the second distributed cache at least by using the fourth page data.
8. A request processing apparatus, the apparatus comprising:
the receiving module is used for receiving an acquisition request for acquiring page data of a page;
the judging module is used for judging whether valid first page data of the page exists in the first distributed cache;
the first acquisition module is used for acquiring valid second page data of the page in at least one second distributed cache under the condition that the valid first page data does not exist in the first distributed cache;
a response module for responding to the acquisition request based on the valid second page data;
the judging module comprises:
the first judging unit is used for judging whether first page data of the page exist in the first distributed cache or not;
a first determining unit, configured to determine that valid first page data of the page does not exist in the first distributed cache if the first page data of the page does not exist in the first distributed cache;
The acquisition unit is used for acquiring the expiration time of the first page data of the page under the condition that the first page data of the page exists in the first distributed cache;
the second judging unit is used for judging whether the current time exceeds the expiration time;
a second determining unit, configured to determine that valid first page data of the page does not exist in the first distributed cache if the current time exceeds the expiration time;
a third determining unit, configured to determine that valid first page data of the page exists in the first distributed cache when the current time does not exceed the expiration time;
the first judgment unit includes:
an acquisition subunit, configured to acquire a page identifier of the page;
the first searching subunit is used for searching whether the page data corresponding to the page identifier exists in a first corresponding relation between the page identifier of the page and the page data of the page;
a first determining subunit, configured to determine, when there is page data corresponding to the page identifier, that first page data of the page is stored in the first distributed cache;
And the second determining subunit is used for determining that the first page data of the page is not stored in the first distributed cache when the page data corresponding to the page identification does not exist.
9. The apparatus of claim 8, wherein the acquisition unit comprises:
and the second searching subunit is used for searching the expiration time corresponding to the first page data of the page in a second corresponding relation between the page data and the expiration time of the page data.
10. The apparatus of claim 8, wherein the apparatus further comprises:
the second acquisition module is used for acquiring third page data of the page from the database under the condition that effective first page data does not exist in the first distributed cache;
and the storage module is used for storing the third page data in the first distributed cache.
11. The apparatus of claim 10, wherein the apparatus further comprises:
and the deleting module is used for deleting the first page data in the first distributed cache when the first page data of the page exists in the first distributed cache but the first page data of the page is not valid page data.
12. The apparatus of claim 10, wherein the apparatus further comprises:
and the setting module is used for setting the expiration time of the third page data in the first distributed cache.
13. The apparatus of claim 12, wherein the setting module is specifically configured to: and replacing the expiration time corresponding to the first page data with the expiration time of the third page data in a second corresponding relation between the page data and the expiration time of the page data.
14. The apparatus of claim 8, wherein the apparatus further comprises:
the third acquisition module is used for acquiring fourth page data of the page from the database in the process that the first page data of the page in the first distributed cache is valid;
and the replacing module is used for replacing the second page data of the second distributed cache at least by using the fourth page data.
15. An electronic device, the electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the request processing method of any of claims 1-7.
16. A non-transitory computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the request processing method of any of claims 1-7.
CN201911425308.XA 2019-12-31 2019-12-31 Request processing method and device Active CN111221862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911425308.XA CN111221862B (en) 2019-12-31 2019-12-31 Request processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911425308.XA CN111221862B (en) 2019-12-31 2019-12-31 Request processing method and device

Publications (2)

Publication Number Publication Date
CN111221862A CN111221862A (en) 2020-06-02
CN111221862B true CN111221862B (en) 2023-08-11

Family

ID=70811508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911425308.XA Active CN111221862B (en) 2019-12-31 2019-12-31 Request processing method and device

Country Status (1)

Country Link
CN (1) CN111221862B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294379A (en) * 2015-05-18 2017-01-04 阿里巴巴集团控股有限公司 The loading method of a kind of page, device and system
CN107025240A (en) * 2016-02-01 2017-08-08 国家超级计算深圳中心(深圳云计算中心) The caching method and system of Ontology Query in a kind of semantic network
CN108429777A (en) * 2017-02-15 2018-08-21 腾讯科技(北京)有限公司 Data updating method based on cache and server
CN108897806A (en) * 2018-06-15 2018-11-27 东软集团股份有限公司 Comparison of data consistency method, apparatus, storage medium and electronic equipment
CN109670133A (en) * 2018-12-22 2019-04-23 网宿科技股份有限公司 A kind of determination method, server and the storage medium of the common component of the page
CN110334297A (en) * 2018-03-08 2019-10-15 腾讯科技(深圳)有限公司 Loading method, terminal, server and the storage medium of terminal page

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102094163B1 (en) * 2013-08-28 2020-03-27 삼성전자 주식회사 Apparatus and method for managing cache in memory system based on hybrid chache, and the memory system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294379A (en) * 2015-05-18 2017-01-04 阿里巴巴集团控股有限公司 The loading method of a kind of page, device and system
CN107025240A (en) * 2016-02-01 2017-08-08 国家超级计算深圳中心(深圳云计算中心) The caching method and system of Ontology Query in a kind of semantic network
CN108429777A (en) * 2017-02-15 2018-08-21 腾讯科技(北京)有限公司 Data updating method based on cache and server
CN110334297A (en) * 2018-03-08 2019-10-15 腾讯科技(深圳)有限公司 Loading method, terminal, server and the storage medium of terminal page
CN108897806A (en) * 2018-06-15 2018-11-27 东软集团股份有限公司 Comparison of data consistency method, apparatus, storage medium and electronic equipment
CN109670133A (en) * 2018-12-22 2019-04-23 网宿科技股份有限公司 A kind of determination method, server and the storage medium of the common component of the page

Also Published As

Publication number Publication date
CN111221862A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
JP6062608B2 (en) Web page access method, apparatus, server, terminal, program, and recording medium
CN106897937B (en) Method and device for displaying social sharing information
CN109388625B (en) Method and device for processing configuration file in multi-distributed file system
CN107220059B (en) Application interface display method and device
CN113190777A (en) Data updating method and device, electronic equipment, storage medium and product
EP3057006A1 (en) Method and device of filtering address
CN104951522B (en) Method and device for searching
CN111695064B (en) Buried point loading method and device
CN111221862B (en) Request processing method and device
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN107463419B (en) Application restarting method and device and computer readable storage medium
CN112035246B (en) Method, device and system for acquiring virtual resources, electronic equipment and storage medium
CN110457084B (en) Loading method and device
CN109271615B (en) Entry processing method, apparatus and machine readable medium
CN111241134B (en) Data processing method and device
CN110008135B (en) Information processing method and device and electronic equipment
CN111625536B (en) Data access method and device
CN112732734A (en) Information processing method and device
CN109150689B (en) Comment processing method and device and comment processing device
CN112883314A (en) Request processing method and device
CN111724398A (en) Image display method and device
CN110995767B (en) Request processing method and device
CN109582851B (en) Search result processing method and device
CN113901356B (en) Information processing method and device
CN116132524A (en) Method and device for pushing resources, electronic 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