CN111221862A - Request processing method and device - Google Patents

Request processing method and device Download PDF

Info

Publication number
CN111221862A
CN111221862A CN201911425308.XA CN201911425308A CN111221862A CN 111221862 A CN111221862 A CN 111221862A CN 201911425308 A CN201911425308 A CN 201911425308A CN 111221862 A CN111221862 A CN 111221862A
Authority
CN
China
Prior art keywords
page
page data
distributed cache
data
expiration time
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
CN201911425308.XA
Other languages
Chinese (zh)
Other versions
CN111221862B (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

Images

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 device. By the method and the device, under the condition that 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 obtained in at least one second distributed cache, and then the obtaining request is responded based on the effective second page data. And the effective page data of the page does not need to be acquired from the database, and because the efficiency of acquiring the data from the second distributed cache is higher than the efficiency of acquiring the data from the database, compared with the prior art, the method and the device for acquiring the effective page data of the page 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 the user so as to improve the user experience. Second, since there is no need to access the database, an increase in the 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 request processing method and apparatus.
Background
With the rapid development of the technology, more and more application servers are available on the network, and the application servers can provide data services for users.
The user can access the application server to obtain data, the application server is in communication connection with the database, the database is used for storing the data, and the application server can obtain the data from the database and respond to the user when the user needs to obtain the data.
Further, in order to improve 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 obtaining the data from the distributed cache is higher than the speed of the application server obtaining the data from the database, the efficiency of obtaining the data can be improved by the application server obtaining the data from the distributed cache.
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 in response to each request to acquire the data from the database, but this increases the load on the database.
Disclosure of Invention
In order to solve the above technical problem, the present application shows a request processing method and apparatus.
In a first aspect, the present application shows a request processing method, including:
receiving an acquisition request for acquiring page data of a page;
judging whether effective first page data of the page exists in a first distributed cache;
under the condition that the effective first page data does not exist in the first distributed cache, acquiring effective second page data of the page in at least one second distributed cache;
and responding to the acquisition request based on the effective second page data.
In an optional implementation manner, 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;
determining that the first page data of the page does not exist in the first distributed cache under the condition that the first page data of the page does not exist in the first distributed cache;
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;
judging whether the current time exceeds the expiration time or not;
determining that valid first page data of the page does not exist in the first distributed cache under the condition that the current time exceeds the expiration time;
and determining 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 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 the page data of the page;
determining that first page data of the page is stored in the first distributed cache under the condition that the page data corresponding to the page identifier exists;
and under the condition that the page data corresponding to the page identification does not exist, determining that the first page data of the page is not stored in the first distributed cache.
In an optional implementation manner, the obtaining of the expiration time of the first page data of the page includes:
and 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 optional implementation, the method further includes:
under the condition that effective first page data do not exist in the first distributed cache, third page data of the page are obtained from the database;
storing the third page data in the first distributed cache.
In an optional implementation, the method further includes:
deleting the first page data in a first distributed cache if 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 optional 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 an expiration time of the third page data in the first distributed cache includes:
and in a second corresponding relation between the page data and the expiration time of the page data, replacing the expiration time corresponding to the first page data with the expiration time of the third page data.
In an optional 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 effective;
replacing second page data of the second distributed cache with at least 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 effective first page data of the page exists in the first distributed cache;
a first obtaining module, configured to obtain valid second page data of the page in at least one second distributed cache when 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 effective second page data.
In an optional implementation manner, the determining module includes:
the first judging unit is used for judging whether first page data of the page exists 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;
an obtaining unit, configured to obtain an expiration time of first page data of the page when the first page data of the page exists in the first distributed cache;
a second judging unit, configured to judge 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.
In an optional implementation manner, the first determining unit includes:
the acquiring subunit is used for acquiring the page identifier of the page;
the first searching subunit is used for searching whether 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 that first page data of the page is stored in the first distributed cache when there is page data corresponding to the page identifier;
a second determining subunit, configured to determine that the first page data of the page is not stored in the first distributed cache when there is no page data corresponding to the page identifier.
In an optional implementation manner, the obtaining 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 optional implementation, the apparatus further comprises:
the second obtaining module is used for obtaining third page data of the page from the database under the condition that the first effective page data does not exist in the first distributed cache;
a storage module, configured to store the third page data in the first distributed cache.
In an optional implementation, the apparatus further comprises:
a deleting module, configured to delete 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 optional implementation, 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.
In an optional implementation manner, the setting module is specifically configured to: and in a second corresponding relation between the page data and the expiration time of the page data, replacing the expiration time corresponding to the first page data with the expiration time of the third page data.
In an optional implementation, the apparatus further comprises:
a third obtaining module, configured to obtain fourth page data of the page from a database in a process that the first page data of the page in the first distributed cache is valid;
a replacement module, configured to replace the second page data of the second distributed cache with at least 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 of the first aspect.
In a fourth aspect, the present application illustrates a non-transitory computer-readable storage medium having instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the request processing method of the first aspect.
In a fifth aspect, the present application shows a computer program product, in which instructions, when executed by a processor of an electronic device, enable 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:
by the method and the device, under the condition that 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 obtained in at least one second distributed cache, and then the obtaining request is responded based on the effective second page data. And the effective page data of the page does not need to be acquired from the database, and because the efficiency of acquiring the data from the second distributed cache is higher than the efficiency of acquiring the data from the database, compared with the prior art, the method and the device for acquiring the effective page data of the page 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 the user so as to improve the user experience. Second, since there is no need to access the database, an increase in the 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 steps of a request processing method of the present application.
FIG. 3 is a flow chart of 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 shown in the present application.
Fig. 6 is a block diagram of an electronic device shown in the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to FIG. 1, a block diagram of a request processing system of the present application is shown, the system comprising: application server 01, database 02, and 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 may obtain the data from the database 02 according to a request of an external device and feed back the obtained data to the external device.
The distributed cache server 03 includes at least two 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 obtain 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 obtained data to the external device.
The time length consumed by the application server 01 to obtain data from the database 02 is often longer than the time length consumed by the application server 01 to obtain data from the first distributed cache or the second distributed cache in the distributed cache server 03.
Therefore, the application server 01 may cache the page data of at least a part of the pages in the database 02 in the distributed cache server 03 in advance, for example, to a first distributed cache in the distributed cache server 03 and cache the page data of at least a part of the pages in a second distributed cache. In this way, when the application server acquires the page data of the pages later, the application server 01 may directly acquire the page data of the pages from the first distributed cache or the second distributed cache in the distributed cache server 03, and does not need to directly acquire the page data from the database, so that the acquisition efficiency may be improved. At least part of the data may be data with a higher acquisition frequency, etc.
Referring to fig. 2, a flowchart illustrating steps of a request data processing method according to the present application is shown, where 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 needs to obtain page data of the page via an application server when accessing the page, 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, determining whether valid first page data of the page exists in the first distributed cache;
in the application, the database stores the page data of the page, and when the page data of the page is updated, the page data of the page is directly updated in the database. Then, the updated page data of the page may be cached in the first distributed cache of the distributed cache server, so that when the application server needs to obtain the page data of the page later, the page data of the page may not be obtained from the database, but may be directly obtained from the first distributed cache, thereby improving the efficiency of obtaining the page data and reducing the load of the database.
However, sometimes, the page data of the page is updated, and the page data of the page is directly updated 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 a case where a 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 fails, the distributed cache server may actively delete the failed first page data of the page stored in the first distributed cache, and of course, may also not actively delete the failed first page data of the page stored in the first distributed cache, and the application server processes the failed first page data of the page stored in the first distributed cache.
Therefore, when determining whether the first distributed cache has valid first page data of the page, it may be determined whether the 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 does not exist, and therefore, under the condition 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 at this time, the first page data of the page stored in the first distributed cache is valid, 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 can be statistically found that after the page data of one page in the database is cached in the first distributed cache, the page data of the page is continuously updated in the database according to the actual situation, so that the difference between the page data in the first distributed cache and the page data of the page in the database is continuously increased.
Usually, after a certain period of time, the difference between the page data of the page in the first distributed cache and the page data of the page in the database is large, and at this time, the page data based on the page in the first distributed cache cannot meet the service requirement, so that the page data in the first distributed cache is invalid.
Therefore, whether the page data of the page in the first distributed cache is invalid can be determined by the storage time of the page data of the page in the first distributed cache.
For example, when 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, the first page data of the page is expired, so that the first distributed cache can be determined to be free of the valid first page data of the page; when the current time does not exceed the expiration time, it indicates that the first page data of the page is not expired, and therefore, it can be determined that valid first page data of the page exists in the first distributed cache.
For any 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 may be combined into a corresponding table entry, and stored in the first corresponding relationship between the page identifier of the page and the page data of the page, and the same is true for each of the other pages.
Therefore, when judging whether the first page data of the page is stored in the first distributed cache, the page identifier of the page can be obtained, and then whether the page data corresponding to the page identifier of the page exists or not is searched 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 a first distributed cache under the condition that the page data corresponding to the page identifier of the page exists; and under the condition that the page data corresponding to the page identification of the page does not exist, determining that the first page data of the page does not exist in the first distributed cache.
When the page data is stored in the first distributed cache, the expiration time of the page data may be set, and then the page data and the set expiration time of the page data may be combined into a corresponding entry and stored in a second corresponding relationship 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 obtained, the expiration time corresponding to the first page data of the page can be searched in the second corresponding relationship between the page data and the expiration time of the page data.
Wherein, the first corresponding relation is as follows: and the corresponding relation 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 relationship and the second corresponding relationship are set independently, two identical page data can be stored at the same time, and storage resources can be wasted.
Therefore, in order to save storage resources, a correspondence relationship between the three may be set, for example, a correspondence relationship between 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 columns includes three columns, the page identifier of the first column memory page, the page data of the second column memory page, and the expiration time of the third column memory 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 of data is stored, thereby saving storage resources.
In the case that no valid first page data exists in the first distributed cache, in step S103, obtaining valid second page data of the page in at least one second distributed cache;
in this application, in order to avoid obtaining valid page data of a page from a database when valid first page data does not exist in a first distributed cache, 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 of the page is obtained from the database, and at least the fourth page data is used for replacing 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, the page data of the page needs to be updated in at least one second distributed cache in the process that the first page data of the page in the first distributed cache is valid.
Therefore, at any time, the first distributed cache stores the effective page data of the page, or the second distributed cache stores the effective page data of the page, or the first distributed cache and the second distributed cache store the effective page data of the page at the same time.
Therefore, the application server can acquire the effective page data of the page from the first distributed cache server or acquire the effective page data of the page from the second distributed cache server at any time. Therefore, effective page data of the page can not be acquired from the database, and further the load of the database can be avoided from increasing.
And under the condition that the effective first page data does not exist in the first distributed cache, the 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 the database is not required to be accessed, the efficiency of obtaining the page data can be improved, and the load of the database is prevented from being increased.
In step S104, the acquisition request is responded based on the valid second page data.
In the application, the valid second page data of the page may be sent to the external device that sent the acquisition request, so that the external device may render the second page data for viewing by the user.
By the method and the device, under the condition that 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 obtained in at least one second distributed cache, and then the obtaining request is responded based on the effective second page data. And the effective page data of the page does not need to be acquired from the database, and because the efficiency of acquiring the data from the second distributed cache is higher than the efficiency of acquiring the data from the database, compared with the prior art, the method and the device for acquiring the effective page data of the page 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 the user so as to improve the user experience. Second, since there is no need to access the database, an increase in the 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 valid first page data does not exist in the first distributed cache, in step S201, third page data of the page is obtained 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 case that valid first page data does not exist in the first distributed cache, the fetch request cannot be responded to based on the data in the first distributed cache, but may be responded to based on valid second page data of 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.
Although responding to the fetch request based on the valid second page data of the page in the second distributed cache may avoid increasing the load of the database and improve the response efficiency in case of successfully responding to the fetch request, it may result in a lower timeliness of the fetched page data, i.e., not the latest page data in the database to respond to the fetch request.
Therefore, if another acquiring request for acquiring the page data of the page is received again later, in order to avoid increasing the load of the database and improve the response efficiency in case of successfully responding to the other acquiring request, and to improve the timeliness of the acquired page data, that is, to respond to the other acquiring 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, the third page data is stored in the first distributed cache.
In this way, if another obtaining request for obtaining the page data of the page is received again later, the third page data of the page may be directly obtained from the first distributed cache, and the other obtaining request may be responded based on the third page data, so that timeliness of the obtained page data of the page may be improved.
Wherein, in the case that no valid first page data exists in the first distributed cache, two situations are included, the first situation is: before, after the first page data is invalid, the first page data is deleted from the first distributed cache, so that the first page data does not exist in the first distributed cache, and valid first page data does not exist.
The second case: the first page data is not previously deleted from the first distributed cache after the first page data is invalidated, i.e., the first page data still exists in the first distributed cache but the first page data is invalidated.
If the second situation is true, 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 exist in the first distributed cache at the same time. Since the first page data of the page is invalid, and then the first page data of the page is not continuously used to respond to the subsequently received acquisition request, in another embodiment of the present application, in order to save the first storage space, in a 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.
Further, the expiration time of the third page data needs to be set in the first distributed cache. For example, in the second correspondence relationship 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 and the process of the embodiment of step S101 to step S104 shown in fig. 2 are executed asynchronously, so that the process of updating the page data of the page in the first distributed cache shown in fig. 3 does not affect the process of the embodiment of step S101 to step S104 shown in fig. 2, and the efficiency of acquiring the page data is not affected because the page data is acquired from the second distributed cache instead of the database in the embodiment shown in fig. 2.
In an example, updating the page data of the page in the first distributed cache is to start triggering the update process when detecting that valid first page data of the page does not exist in the first distributed cache in the process of acquiring the page data of the page in steps S101 to S104 shown in fig. 2.
The page data of the page in the second distributed cache may be updated periodically, for example, in the case that the page data of the page in the second distributed cache is about to fail but has not yet failed and is valid 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 always valid in the process of updating the page data of the page in the second distributed cache.
The present application is illustrated by taking an example, where the page is a list page, the page includes a plurality of posts, and a user sometimes needs to sort the posts, for example, to sort the posts whose posting addresses are located in a certain province, so that the user may obtain, from a database, related data of the posts whose posting addresses are located in the province, and then sort the posts whose posting addresses are located in the province based on the related data of each post, for example, store, in a first list, post IDs (Identity documents, identification numbers) of the posts whose posting addresses are located in the province in a sorting order of the posts, store the first list in a second distributed cache, and set an expiration time of the first list.
However, there are also many users who need to sort the posts whose posting addresses are located in a city of the province, and thus, the related data of the posts whose posting addresses are located in the city of the province may be acquired from the database, and then the posts whose posting addresses are located in the city of the province may be sorted based on the related data of each post, for example, the post IDs of the posts whose posting addresses are located in the city of the province are stored in the second list in the sorting order of the posts, the second list is stored in the first distributed cache, and the expiration time of the second list is set.
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, that is, the update cycle of the list of sorted post IDs stored in the first distributed cache is shorter, and the update cycle of the list of sorted post IDs stored in the second distributed cache is longer.
That is, at more times, the timeliness of the list of stored sorted post IDs in the first distributed cache is higher than the timeliness of the list of stored sorted post IDs in the second distributed cache.
However, the timeliness of the list of stored sorted post IDs in the first distributed cache and the timeliness of the list of stored sorted post IDs in the second distributed cache both meet the minimum timeliness requirements of the business.
The list of sorted post IDs in the first distributed cache is to ensure timeliness of the sorting of posts as much as possible while improving efficiency of sorting posts of pages and avoiding increasing load on the database, that is, to ensure that the sorting of posts more conforms to actual conditions of the stored posts in the database as much as possible.
The list of the sorted post IDs in the second distributed cache is used for avoiding that the related data of each post is acquired from the database and then the posts are sorted based on the related data when the efficiency of sorting the posts of the page is improved under the condition that the list of the sorted post IDs in the first distributed cache is invalid, so that the load of the database is avoided being increased.
The list storing the sorted post IDs in the first distributed cache needs to maintain high timeliness, so the update frequency of the list storing the sorted post IDs in the first distributed cache is high, and the database needs to be accessed for each update, so the update operation may load the database.
If the list of stored sorted post IDs in the second distributed cache also remains time-sensitive, the update operation of the second distributed cache, along with the update operation of the first distributed cache, may at least double the load on the database.
To reduce the load on the database as much as possible, the frequency of updating the list of stored sorted 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 satisfy the minimum timeliness requirement of the business.
That is, although storing the sorted list of post IDs in the second distributed cache reduces timeliness, it may avoid increasing the load on the database.
Second, in one example, the list of stored ordered post IDs in the first distributed cache includes a post ID that is part of the post IDs included in the list of stored ordered post IDs in the first distributed cache.
It is noted that, for simplicity of explanation, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art will also appreciate that the embodiments described in the specification are exemplary and that no action is necessarily required in this application.
Referring to fig. 4, a block diagram of a request processing apparatus according to the present application is shown, where the apparatus may specifically include the following modules:
a receiving module 11, configured to receive an obtaining request for obtaining page data of a page;
the judging module 12 is 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 when the valid first page data does not exist in the first distributed cache;
a response module 14, configured to respond to the obtaining request based on the valid second page data.
In an optional implementation manner, the determining module includes:
the first judging unit is used for judging whether first page data of the page exists 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;
an obtaining unit, configured to obtain an expiration time of first page data of the page when the first page data of the page exists in the first distributed cache;
a second judging unit, configured to judge 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.
In an optional implementation manner, the first determining unit includes:
the acquiring subunit is used for acquiring the page identifier of the page;
the first searching subunit is used for searching whether 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 that first page data of the page is stored in the first distributed cache when there is page data corresponding to the page identifier;
a second determining subunit, configured to determine that the first page data of the page is not stored in the first distributed cache when there is no page data corresponding to the page identifier.
In an optional implementation manner, the obtaining 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 optional implementation, the apparatus further comprises:
the second obtaining module is used for obtaining third page data of the page from the database under the condition that the first effective page data does not exist in the first distributed cache;
a storage module, configured to store the third page data in the first distributed cache.
In an optional implementation, the apparatus further comprises:
a deleting module, configured to delete 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 optional implementation, 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.
In an optional implementation manner, the setting module is specifically configured to: and in a second corresponding relation between the page data and the expiration time of the page data, replacing the expiration time corresponding to the first page data with the expiration time of the third page data.
In an optional implementation, the apparatus further comprises:
a third obtaining module, configured to obtain fourth page data of the page from a database in a process that the first page data of the page in the first distributed cache is valid;
a replacement module, configured to replace the second page data of the second distributed cache with at least the fourth page data.
By the method and the device, under the condition that 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 obtained in at least one second distributed cache, and then the obtaining request is responded based on the effective second page data. And the effective page data of the page does not need to be acquired from the database, and because the efficiency of acquiring the data from the second distributed cache is higher than the efficiency of acquiring the data from the database, compared with the prior art, the method and the device for acquiring the effective page data of the page 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 the user so as to improve the user experience. Second, since there is no need to access the database, an increase in the load on the database can be avoided.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 5 is a block diagram of an electronic device 800 shown in the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, 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 components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction 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 operation 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 non-volatile 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 disks.
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 supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating 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 a focal length and optical zoom capability.
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 further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also 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 keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object 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 gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast operation information from an external broadcast management system via a broadcast channel. In an 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 6 is a block diagram of an electronic device 1900 shown in the present application. For example, the electronic device 1900 may be provided as a server.
Referring to fig. 6, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
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.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the 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. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The request processing method and apparatus provided by the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (20)

1. A method for processing a request, the method comprising:
receiving an acquisition request for acquiring page data of a page;
judging whether effective first page data of the page exists in a first distributed cache;
under the condition that the effective first page data does not exist in the first distributed cache, acquiring effective second page data of the page in at least one second distributed cache;
and responding to the acquisition request based on the effective second page data.
2. The method of claim 1, wherein the determining whether valid first page data for the page exists in the first distributed cache comprises:
judging whether first page data of the page exists in a first distributed cache;
determining that the first page data of the page does not exist in the first distributed cache under the condition that the first page data of the page does not exist in the first distributed cache;
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;
judging whether the current time exceeds the expiration time or not;
determining that valid first page data of the page does not exist in the first distributed cache under the condition that the current time exceeds the expiration time;
and determining that valid first page data of the page exists in the first distributed cache when the current time does not exceed the expiration time.
3. The method of claim 2, wherein the determining whether the first page data of the page exists in the first distributed cache comprises:
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 the page data of the page;
determining that first page data of the page is stored in the first distributed cache under the condition that the page data corresponding to the page identifier exists;
and under the condition that the page data corresponding to the page identification does not exist, determining that the first page data of the page is not stored in the first distributed cache.
4. The method of claim 2, wherein obtaining the expiration time of the first page data of the page comprises:
and 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.
5. The method of claim 1, further comprising:
under the condition that effective first page data do not exist in the first distributed cache, third page data of the page are obtained from the database;
storing the third page data in the first distributed cache.
6. The method of claim 5, further comprising:
deleting the first page data in a first distributed cache if 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.
7. The method of claim 5, further comprising:
and setting the expiration time of the third page data in the first distributed cache.
8. The method of claim 7, wherein setting the expiration time of the third page data in the first distributed cache comprises:
and in a second corresponding relation between the page data and the expiration time of the page data, replacing the expiration time corresponding to the first page data with the expiration time of the third page data.
9. The method of claim 1, further comprising:
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 effective;
replacing second page data of the second distributed cache with at least the fourth page data.
10. A request processing apparatus, characterized in that the apparatus comprises:
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 effective first page data of the page exists in the first distributed cache;
a first obtaining module, configured to obtain valid second page data of the page in at least one second distributed cache when 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 effective second page data.
11. The apparatus of claim 10, wherein the determining module comprises:
the first judging unit is used for judging whether first page data of the page exists 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;
an obtaining unit, configured to obtain an expiration time of first page data of the page when the first page data of the page exists in the first distributed cache;
a second judging unit, configured to judge 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.
12. The apparatus according to claim 11, wherein the first judging unit includes:
the acquiring subunit is used for acquiring the page identifier of the page;
the first searching subunit is used for searching whether 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 that first page data of the page is stored in the first distributed cache when there is page data corresponding to the page identifier;
a second determining subunit, configured to determine that the first page data of the page is not stored in the first distributed cache when there is no page data corresponding to the page identifier.
13. The apparatus of claim 11, wherein the obtaining 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.
14. The apparatus of claim 10, further comprising:
the second obtaining module is used for obtaining third page data of the page from the database under the condition that the first effective page data does not exist in the first distributed cache;
a storage module, configured to store the third page data in the first distributed cache.
15. The apparatus of claim 14, further comprising:
a deleting module, configured to delete 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.
16. The apparatus of claim 14, further comprising:
and the setting module is used for setting the expiration time of the third page data in the first distributed cache.
17. The apparatus of claim 16, wherein the setup module is specifically configured to: and in a second corresponding relation between the page data and the expiration time of the page data, replacing the expiration time corresponding to the first page data with the expiration time of the third page data.
18. The apparatus of claim 10, further comprising:
a third obtaining module, configured to obtain fourth page data of the page from a database in a process that the first page data of the page in the first distributed cache is valid;
a replacement module, configured to replace the second page data of the second distributed cache with at least the fourth page data.
19. An electronic device, characterized in that the electronic device comprises:
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-9.
20. A non-transitory computer readable storage medium, instructions in which, when executed by a processor of an electronic device, enable the electronic device to perform the request processing method of any one of claims 1-9.
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 true CN111221862A (en) 2020-06-02
CN111221862B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737298A (en) * 2020-06-19 2020-10-02 中国工商银行股份有限公司 Cache data control method and device based on distributed storage
CN115913646A (en) * 2022-10-21 2023-04-04 网易(杭州)网络有限公司 Method and device for intercepting blacklist object, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150067258A1 (en) * 2013-08-28 2015-03-05 Samsung Electronics Co., Ltd. Cache management apparatus of hybrid cache-based memory system and the hybrid cache-based memory system
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150067258A1 (en) * 2013-08-28 2015-03-05 Samsung Electronics Co., Ltd. Cache management apparatus of hybrid cache-based memory system and the hybrid cache-based memory system
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737298A (en) * 2020-06-19 2020-10-02 中国工商银行股份有限公司 Cache data control method and device based on distributed storage
CN111737298B (en) * 2020-06-19 2024-04-26 中国工商银行股份有限公司 Cache data management and control method and device based on distributed storage
CN115913646A (en) * 2022-10-21 2023-04-04 网易(杭州)网络有限公司 Method and device for intercepting blacklist object, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111221862B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN106897937B (en) Method and device for displaying social sharing information
CN106095465B (en) Method and device for setting identity image
CN109388625B (en) Method and device for processing configuration file in multi-distributed file system
RU2645282C2 (en) Method and device for calling via cloud-cards
CN108804244B (en) Data transmission method, device and storage medium
CN111259289B (en) Picture loading method and device, electronic equipment and storage medium
CN107220059B (en) Application interface display method and device
CN111221862B (en) Request processing method and device
CN113190777A (en) Data updating method and device, electronic equipment, storage medium and product
CN107729098B (en) User interface display method and device
CN107402767B (en) Method and device for displaying push message
EP3057006A1 (en) Method and device of filtering address
CN108280342B (en) Application synchronization method and device for application synchronization
CN104951522B (en) Method and device for searching
CN104572230B (en) Script file loading method and device and script file generating method and device
CN107463419B (en) Application restarting method and device and computer readable storage medium
CN111695064B (en) Buried point loading method and device
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN111241134B (en) Data processing method and device
CN110457084B (en) Loading method and device
CN109271615B (en) Entry processing method, apparatus and machine readable medium
CN109150689B (en) Comment processing method and device and comment processing device
CN110008135B (en) Information processing method and device and electronic equipment
CN111680248A (en) Method and device for generating batch number of message pushed
CN111724398A (en) Image display method and device

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