CN111782694A - Information writing method and device and electronic equipment - Google Patents

Information writing method and device and electronic equipment Download PDF

Info

Publication number
CN111782694A
CN111782694A CN202010599206.6A CN202010599206A CN111782694A CN 111782694 A CN111782694 A CN 111782694A CN 202010599206 A CN202010599206 A CN 202010599206A CN 111782694 A CN111782694 A CN 111782694A
Authority
CN
China
Prior art keywords
memory cache
distributed memory
counting result
identification information
behavior
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
CN202010599206.6A
Other languages
Chinese (zh)
Other versions
CN111782694B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010599206.6A priority Critical patent/CN111782694B/en
Publication of CN111782694A publication Critical patent/CN111782694A/en
Application granted granted Critical
Publication of CN111782694B publication Critical patent/CN111782694B/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/2457Query processing with adaptation to user needs
    • G06F16/24578Query processing with adaptation to user needs using ranking
    • 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/2462Approximate or statistical queries
    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The application discloses an information writing method and device and electronic equipment, and relates to the technical field of reading and writing. The specific implementation scheme is as follows: under the condition that a first type of behavior executed by a first object on a second object is detected, inquiring a distributed memory cache system; and under the condition that a first counting result associated with the first type behavior of the second object is inquired in the distributed memory cache system, adding one to the first counting result, writing the first counting result after adding one into the distributed memory cache system, and writing the identification information of the first object into a database storage system, wherein the identification information of the first object in the database storage system is associated with the identification information of the second object. Therefore, the counting accuracy can be improved, and the method can be applied to scenes such as user information analysis and image video analysis.

Description

Information writing method and device and electronic equipment
Technical Field
The present application relates to the field of read-write technologies in computer technologies, and in particular, to an information writing method and apparatus, and an electronic device.
Background
Currently, counting techniques have been applied to various fields, such as counting the number of users who are interested (i.e., the number of fans), counting the number of certain behaviors (e.g., clicks, shares, etc.) of published multimedia information (e.g., articles, images, videos, etc.), and the like.
However, in the current counting process, a memory cache system is often used for performing individual counting, which easily results in poor accuracy of the counting result.
Disclosure of Invention
The application provides an information writing method, an information writing device and electronic equipment, and aims to solve the problem that the existing counting accuracy is poor.
In a first aspect, an embodiment of the present application provides an information writing method, including:
under the condition that a first type of behavior executed by a first object on a second object is detected, inquiring a distributed memory cache system;
and under the condition that a first counting result associated with the first type behavior of the second object is inquired in the distributed memory cache system, adding one to the first counting result, writing the first counting result after adding one into the distributed memory cache system, and writing the identification information of the first object into a database storage system, wherein the identification information of the first object in the database storage system is associated with the identification information of the second object.
In the information writing process of the embodiment of the application, not only is the counting implemented by adding one to the first counting result according to the first type behavior of the first object to the second object, but also the identification information of the first object performing the first type behavior to the second object is written into the database storage system and is associated with the identification information of the second object, and thus, for the first type behavior of the second object, the number of the identification information associated with the identification information of the second object is increased by one in the database storage system. Once the first type of behavior exists, the first counting result associated with the first type of behavior is added by one, the counting result after the addition of one is written into the distributed memory cache system, and the identification information of the first object associated with the identification information of the second object is added in the database storage system, namely, the number of the identification information associated with the identification information of the second object is increased in the database storage system aiming at the first behavior of the second object, so that the counting accuracy can be improved.
In a second aspect, an embodiment of the present application provides an information writing apparatus, including:
the first query module is used for querying the distributed memory cache system under the condition that a first type of behavior executed by a first object on a second object is detected;
the first writing module is configured to, when a first counting result associated with the first type behavior of the second object is queried in the distributed memory cache system, add one to the first counting result, write the first counting result after the addition of one to the distributed memory cache system, and write identification information of the first object to a database storage system, where the identification information of the first object in the database storage system is associated with identification information of the second object.
In the process of writing information by using the information writing device of the embodiment of the application, not only is the counting achieved by adding one to the first counting result according to the first type behavior of the first object to the second object, but also the first counting result after adding one is written into the distributed memory cache system for storage, and the identification information of the first object performing the first type behavior on the second object is written into the database storage system, and the identification information of the first object is associated with the identification information of the second object in the database storage system. Once the first type of behavior exists, the first counting result associated with the first type of behavior is added by one, the counting result after the addition of one is written into the distributed memory cache system, and the identification information of the first object associated with the identification information of the second object is added in the database storage system, namely, the number of the identification information associated with the identification information of the second object is increased in the database storage system aiming at the first behavior of the second object, so that the counting accuracy can be improved.
In a third aspect, an embodiment of the present application further provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods provided by the embodiments of the present application.
In a fourth aspect, an embodiment of the present application further provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method provided by the embodiments of the present application.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a flowchart illustrating an information writing method according to an embodiment of the present disclosure;
FIG. 2 is a second flowchart illustrating an information writing method according to an embodiment of the present application;
FIG. 3 is one of the structural diagrams of an information writing apparatus according to an embodiment provided herein;
fig. 4 is a second structural diagram of an information writing apparatus according to an embodiment of the present application;
fig. 5 is a third structural diagram of an information writing apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device for implementing an information writing method according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
As shown in fig. 1, according to an embodiment of the present application, there is provided an information writing method applicable to a server, the method including:
step S101: in the case that a first type of behavior performed by a first object on a second object is detected, a query is made to the distributed memory cache system.
The information writing method according to the embodiment of the present application is applicable to a scenario such as user information analysis and image and video analysis, for example, applicable to a scenario of counting the number of users who are interested in, and also applicable to a scenario of counting the number of certain behaviors (for example, clicking, sharing, and the like) of released multimedia information (for example, articles, images, videos, and the like). The first object may be a first user, the second object may be a second user, multimedia information, etc., and the multimedia information may be an article, an image, a video, etc. The first type of behavior may be an attention behavior, a click behavior, a sharing behavior, a forwarding behavior, a commenting behavior, a praise behavior, etc., the attention behavior, the click behavior, the sharing behavior, the forwarding behavior, the commenting behavior, and the praise behavior being different types of behaviors. For example, if the second object is a second user, the first type of behavior may be an attention behavior, and if the second object is multimedia information, the first type of behavior may be a sharing behavior, a forwarding behavior, a comment behavior, a praise behavior, and the like. When the first type of behavior of the first object with respect to the second object is detected, the distributed memory cache system may be queried to determine whether the distributed memory cache system includes a first counting result associated with the first type of behavior. And under the condition that the first type of behavior of the first object to the second object is detected, the distributed memory cache system is queried, and the query efficiency can be improved.
Step S102: and under the condition that a first counting result associated with the first type behavior of the second object is inquired in the distributed memory cache system, adding one to the first counting result, writing the added first counting result into the distributed memory cache system, and writing the identification information of the first object into the database storage system.
The identification information of the first object in the database storage system is associated with the identification information of the second object, and the first counting result is a counting result associated with the first type of behavior of the second object, which is inquired in the distributed memory cache system.
For example, if the first type behavior executed by the first object on the second object is a focus behavior of the first object on the second object, the first counting result is the number of focus second objects, i.e. the number of fans of the second object. If the first type of behavior of the first object to the second object is the sharing behavior of the first object to the second object, the first counting result is the sharing number of the second object. And if the first type of behavior of the first object on the second object is the forwarding behavior of the first object on the second object, the first counting result is the forwarding number of the second object. If the first type of behavior of the first object on the second object is the comment behavior of the first object on the second object, the first counting result is the number of comments of the second object. And if the first type of behavior of the first object to the second object is the praise behavior of the first object to the second object, the first counting result is the praise number of the second object.
And if the distributed memory cache system comprises a first counting result associated with the first type of behavior, adding one to the first counting result and writing the first counting result into the distributed memory cache system, namely updating the first counting result in the distributed memory cache system. In addition, the identification information of the first object needs to be written into the database storage system, the identification information of the first object in the database storage system is associated with the identification information of the second object, so that the number of the identification information associated with the identification information of the second object in the database storage system is increased by one, an object identification list associated with the identification information of the second object is stored in the database storage system, and the object identification list comprises the identification information of the first object.
In the information writing method of the embodiment of the application, in the process of writing information, not only is a count achieved by adding one to a first count result according to a first type behavior of a first object to a second object, the count is achieved by writing the first count result after the count is added to a distributed memory cache system for storage, but also identification information of the first object performing the first type behavior on the second object is written to a database storage system, and association between the identification information of the first object and the identification information of the second object is established in the database storage system, so that for the first type behavior of the second object, the number of the identification information associated with the identification information of the second object is increased by one in the database storage system. Once the first type of behavior exists, the first counting result associated with the first type of behavior is added by one, the counting result after the addition of one is written into the distributed memory cache system, and the identification information of the first object associated with the identification information of the second object is added in the database storage system, namely, the number of the identification information associated with the identification information of the second object is increased in the database storage system aiming at the first behavior of the second object, so that the counting accuracy can be improved.
In one embodiment, after querying the distributed memory cache system upon detecting the first type of behavior performed by the first object on the second object, the method further includes:
initializing to obtain a preset counting result under the condition that a first counting result associated with the first type of behavior of the second object is not inquired in the distributed memory cache system;
and adding one to the preset counting result, writing the added preset counting result into a distributed memory cache system as a first counting result, and writing the identification information of the first object into a database storage system, wherein the identification information of the first object in the database storage system is associated with the identification information of the second object.
If the first counting result associated with the first type behavior of the second object is not queried in the distributed memory cache system, that is, the counting result indicates that the first type behavior of the second object is not included in the distributed memory cache system, the initialization counting is performed to obtain a preset counting result, for example, the preset counting result obtained by the initialization is zero. And then, adding one to the preset counting result, and writing the added preset counting result, namely the first counting result, into the distributed memory cache system, so that the distributed memory cache system comprises the first counting result associated with the first type behavior of the second object. In this embodiment, the identification information of the first object also needs to be written into the database storage system, and the identification information of the first object in the database storage system is associated with the identification information of the second object, so that the number of the identification information associated with the identification information of the second object in the database storage system increases by one, and the database storage system stores an object identification list associated with the identification information of the second object, where the object identification list includes the identification information of the first object.
In this embodiment, even if the first type behavior executed by the first object on the second object is detected, the distributed memory cache system is queried, and the first counting result associated with the first type behavior of the second object is not queried, the preset counting result may be obtained through initialization, the preset counting result is incremented, the incremented preset counting result is written into the distributed memory cache system as the first counting result, and the identification information of the first object is written into the database storage system. Once the first type of behavior exists, if the first counting result is not queried in the distributed memory cache system, adding one to the preset counting result, not only writing the counting result after adding one to the distributed memory cache system, but also adding the identification information of the first object associated with the identification information of the second object in the database storage system, namely, aiming at the first behavior of the second object in the database storage system, the number of the identification information associated with the identification information of the second object is increased, so that the counting accuracy can be improved.
In one embodiment, the method further comprises: querying a distributed memory cache under the condition of receiving a counting query request aiming at a second type behavior of a second object; under the condition that the storage duration of a second counting result associated with a second type of behavior inquired in the distributed memory cache exceeds the preset duration, inquiring an object identification list from the database storage system, wherein the object identification list comprises identification information of a target object associated with the identification information of a second object; and updating the second counting result in the distributed memory cache system into the number of the identification information of the target object.
The second type of behavior may be a follow-up behavior, a click behavior, a share behavior, a forward behavior, a comment behavior, a like behavior, and may be the same as or different from the first type of behavior. As an example, the first Interface is an API (application programming Interface) Interface, and the first notification includes identification information of the second object. It should be noted that the storage duration here refers to a time difference between the current time and the time of the latest update.
After receiving a counting query request aiming at a second type behavior of a second object, querying a distributed memory cache to improve the query efficiency, if a second counting result associated with the second type behavior is queried in the distributed memory cache and the storage time of the second counting result in the distributed memory cache exceeds a preset time, querying an object identification list from a database storage system to obtain an object identification list, and then updating the second counting result in the distributed memory cache system by using the number of identification information of a target object in the object identification list to realize counting update, so that the second counting result of the distributed memory cache system is the same as the number of identification information of the target object associated with the identification information of the second object stored in the database storage system, and the consistency of data is improved. It should be noted that, if the first type behavior and the second type behavior are the same type behavior, the second counting result may be the same as the first counting result. In the case of receiving a count query request for a second type of behavior of a second object, the step of querying the distributed memory cache may be performed before querying the distributed memory cache system in the case of detecting the first type of behavior executed by the first object on the second object, or may be performed after querying the distributed memory cache system in the case of detecting the first type of behavior executed by the first object on the second object.
In one embodiment, querying the object identification list from the database storage system comprises: sending first information to a distributed message queue system, wherein the first information comprises identification information of a second object; and sending a first notification to the first interface through the distributed message queue system, wherein the first notification is used for notifying the first interface to inquire the object identification list from the database storage system.
That is, if a second counting result associated with the second type of behavior is queried in the distributed memory cache, and the storage time of the second counting result in the distributed memory cache system exceeds the preset time, the first information is sent to the distributed message queue system, the distributed message queue system sends a first notification to the first interface after receiving the first information, the first interface queries an object identifier list from the database storage system after receiving the first notification, and the object representation list returned by the database storage system can be received through the first interface. And then updating a second counting result in the distributed memory cache system by using the number of the identification information of the target object in the object identification list, so as to realize counting updating, namely, the distributed message queue system is used as a bridge between the distributed memory cache system and the database storage system, so that the second counting result of the distributed memory cache system is the same as the number of the identification information of the target object which is stored in the database storage system and is associated with the identification information of the second object, and the data consistency is improved.
In one embodiment, after querying the distributed memory cache when receiving a count query request for a second type of behavior of a second object, the method further includes: under the condition that the storage time length of a second counting result related to the second type of behavior inquired in the distributed memory cache does not exceed the preset time length, outputting the second counting result;
or after updating the second counting result in the distributed memory cache system to the number of the identification information of the target object, the method further includes: and outputting a second counting result.
If the second counting result associated with the second type of behavior is inquired in the distributed memory cache, but the storage time length of the second counting result does not exceed the preset time length, the inquiry to the database storage system is not needed, so that the inquiry process is reduced, and in this case, the second counting result can be returned, so that the user can conveniently check the second counting result. And if a second counting result associated with the second type of behavior is inquired in the distributed memory cache, and the storage time length of the second counting result exceeds the preset time length, inquiring the object identification list from the database storage system, updating a second counting node in the distributed memory cache system by using the number of the identification information of the target object in the object identification list, returning the second counting result, namely the second counting result in the distributed memory cache system is updated, and returning the updated second counting result, so that a user can conveniently check the latest counting result.
In one embodiment, after querying the distributed memory cache in case of receiving a count query request for a second type of behavior of a second object, the method further includes:
under the condition that a second counting result is not inquired in the distributed memory cache, inquiring an object identification list from the database storage system, wherein the object identification list comprises identification information of a target object associated with the identification information of the second object;
and updating the number of the identification information of the target object to the distributed memory cache system, and obtaining a second counting result in the distributed memory cache system, wherein the second counting result of the distributed memory cache system is the number of the identification information of the target object.
The second notification includes identification information of the second object. In this embodiment, after receiving a count query request for a second type of behavior of a second object, the distributed memory cache may be queried to improve query efficiency, and if a second count result associated with the second type of behavior is not queried in the distributed memory cache, the object identifier list is queried from the database storage system to obtain the object identifier list, and then the number of the target object identifier information is updated to the distributed memory cache system as a second count result associated with the second type of behavior, so as to implement count update, so that the second count result associated with the second type of behavior in the distributed memory cache system is the same as the number of the target object identifier information associated with the identifier information of the second object stored in the database storage system, and improve data consistency.
In one embodiment, querying the object identification list from the database storage system comprises: sending second information to the distributed message queue system, wherein the second information comprises identification information of a second object; and sending a second notification to the first interface through the distributed message queue system, wherein the second notification is used for notifying the first interface to inquire the object identification list from the database storage system.
In this embodiment, after receiving a count query request for a second type of behavior of a second object, the distributed memory cache may be queried, so as to improve query efficiency, if a second count result associated with the second type of behavior is not queried in the distributed memory cache, the second information is sent to the distributed message queue system, the distributed message queue system sends a second notification to the first interface after receiving the second information, the first interface queries the object identifier list from the database storage system after receiving the second notification, and may receive, through the first interface, the object representation list returned by the database storage system. And then updating a second counting result in the distributed memory cache system by using the number of the identification information of the target object in the object identification list, so as to realize counting updating, namely, the distributed message queue system is used as a bridge between the distributed memory cache system and the database storage system, so that the second counting result of the distributed memory cache system is the same as the number of the identification information of the target object which is stored in the database storage system and is associated with the identification information of the second object, and the data consistency is improved.
In one embodiment, in the case that the second counting result is not queried in the distributed memory cache, the method further includes: and outputting preset prompt information, wherein the preset prompt information is used for prompting that the second counting result is not inquired in the distributed memory cache.
And under the condition that the second counting result is not inquired in the distributed memory cache, the number of the target object identification information needs to be updated to the distributed message queue system, in addition, preset prompt information can be output, namely the preset prompt information is returned to the user to prompt that the second counting result is not inquired in the distributed memory cache, and the inquiry result is convenient to check.
The process of the above-mentioned information writing method is specifically described below with an embodiment. The example is described with the database storage system being MySQL, the distributed memory cache system being Redis, the distributed message queue system being Bigpipe, the first object being a first user, the second object being a second user, the first type of behavior and the second type of behavior both being concerned behaviors, the first counting result being a first number of fans, and the second counting result being a second number of fans.
As shown in fig. 2, the interaction process from the creation of the second user to the writing of the second fan number into the distributed memory caching system is as follows:
first, a second user is created, and the second user which is just created has no data in the database storage system and the distributed memory cache system, namely no data of the second fan number. At this time, the distributed memory cache system is queried, no data is found, and a preset query result, that is, the preset prompt information, for example, 0 is returned to the second user, so as to prompt that no data of the number of fans of the second user exists in the distributed memory cache. In addition, under the condition of no data, a data structure can be assembled, wherein the data structure comprises identification information and current time information of a second user, and the data structure is asynchronously written into the distributed message queue system.
The distributed message queue system informs the offline data updating interface, namely the first interface, of the data structure through a second notice, the first interface queries the database storage system to obtain an object identification list comprising identification information of the target object associated with the identification information of the second object, so that the number of the identification information of the target object can be counted, the number of the identification information of the target object is written into the distributed memory cache system to serve as a second counting result associated with the attention behavior of the second user, namely the number of second fans of the second user, and therefore the number of the second fans of the second user is stored in the distributed memory cache system.
The corresponding second fan number is stored in the distributed memory cache system, if a subsequent second user inquires the distributed memory cache system again, the current fan number of the second user in the distributed memory cache system is the second fan number, and the inquired second fan number is returned to the second user no matter whether the updated time length (namely the time difference between the current time and the latest updated time) of the second fan number exceeds the preset time length, for example, 24 hours, so that the condition that the number is expired when the preset time length is exceeded is observed. And under the condition that the updated time length exceeds the preset time length, assembling the data structure again, wherein the time is latest, and asynchronously writing the reassembled data structure into the distributed message queue system. The distributed message queue system informs the first interface of the reloaded data structure through a second notification, and the first interface queries the database storage system to obtain an object identification list including identification information of the target object associated with the identification information of the second object. And if the distributed cache system is queried again subsequently and still is data, repeating the process.
As shown in fig. 2, the interaction process when the first user performs an attention action on the second user is as follows:
the first user concerns the second user, firstly queries the distributed memory cache system, and firstly acquires the number of first fans related to the second user from the distributed memory cache system if the distributed memory cache system comprises the number of the first fans. It should be noted that, because the first type behavior and the second type behavior are both described by taking the attention behavior as an example, the number of the first fans is the same as the number of the second fans, and both are the number of fans associated with the attention behavior. Adding one to the number of the first fans, updating the number of the first fans, writing the number of the first fans added with one into a distributed memory cache system, writing identification information of a first user performing an attention behavior on a second user into a database storage system, and associating the identification information with the identification information of the second user in the database storage system. If the distributed memory cache system is queried, the number of the first fans associated with the attention behavior of the second user is not present, data is initialized, a preset counting result, for example, 0, is obtained and serves as the first counting result, one is added to the preset counting result, the added result is written into the distributed memory cache system, the identification information of the first user executing the attention behavior on the second user is written into the database storage system, and the identification information of the second user is associated in the database storage system.
MySQL can be deployed and accessed in a distributed mode, storage consistency is guaranteed, Redis can be deployed and accessed in a distributed mode, high access performance Bigpipe is provided, publishing and subscribing functions are supported, distributed data storage is supported, high-throughput data reading and writing are provided, and the like.
In addition, taking the first object as the first user and the second object as multimedia information (e.g., articles, images, videos, etc.) for example, the first type of behavior and the second type of behavior may be a click behavior, a sharing behavior, a forwarding behavior, a comment behavior, a like behavior, etc., for example, taking the sharing behavior as an example, the first counting result is the first sharing number, and the second counting result is the second sharing number.
The interactive process from the release of the multimedia information to the writing of the second sharing times into the distributed memory cache system is as follows:
first, multimedia information, such as articles, images, or videos, is published, and the multimedia information just published has no data, i.e., no data of the second sharing times, in the database storage system and the distributed memory cache system. At this time, the sharing times of the multimedia information are inquired, the distributed memory cache system is firstly inquired, no data is found, a preset inquiry result, namely the preset prompt information, for example, 0 is returned to prompt the data of the sharing times of the multimedia information in the distributed memory cache. In addition, under the condition of no data, a data structure can be assembled, wherein the data structure comprises identification information of multimedia information and current time information, and the data structure is asynchronously written into the distributed message queue system.
The distributed message queue system informs the offline data updating interface, namely the first interface, of the data structure through a second notice, the first interface queries the database storage system to obtain an object identification list comprising identification information of a target object associated with the identification information of the multimedia information, at this time, the target object can be understood as an object sharing too much media information, so that the number of the identification information of the target object can be counted, the number of the identification information of the target object is written into the distributed memory cache system to serve as a second counting result associated with the sharing behavior of the multimedia information, namely the second sharing times of the multimedia information, and thus the second sharing times of the multimedia information is stored in the distributed memory cache system.
The distributed memory cache system stores the corresponding second sharing times, if the distributed memory cache system is queried again by subsequent multimedia information, the current sharing times of the multimedia information in the distributed memory cache system is the second sharing times, and the queried second sharing times are returned to the multimedia information whether the updated time of the second sharing times (namely the time difference between the current time and the latest updated time) exceeds a preset time, for example, 24 hours, so that the condition that the number of the second sharing times exceeds the preset time and the representation number is expired is observed. And under the condition that the updated time length exceeds the preset time length, assembling the data structure again, wherein the time is latest, and asynchronously writing the reassembled data structure into the distributed message queue system. The distributed message queue system informs the first interface of the reloaded data structure through a second notification, and the first interface queries the database storage system to obtain an object identification list including identification information of the target object associated with the identification information of the second object. And if the distributed cache system is queried again subsequently and still is data, repeating the process.
The interaction process when the first user performs the sharing action on the multimedia information is as follows:
if the distributed memory cache system comprises the first sharing times, the first sharing times related to the multimedia information are obtained from the distributed memory cache system. It should be noted that, since the first type behavior and the second type behavior are both described by taking the sharing behavior as an example, the first sharing frequency is the same as the second sharing frequency, and both are sharing frequencies associated with the sharing behavior of the multimedia information. The first sharing frequency is increased by one, the first sharing frequency is updated, and the increased first sharing frequency is written into the distributed memory cache system, so that the sharing frequency of the multimedia information in the distributed memory cache system is counted, each pair of multimedia information is shared once, the sharing frequency is increased by one, namely the multimedia information is counted once, even if the same user shares the multimedia information for multiple times, the multimedia information is counted for multiple times, for example, the same user shares the multimedia information for 2 times, and the sharing frequency is increased by 2 times. And writing the identification information of the first user who executes the sharing action on the multimedia information into the database storage system, and associating the identification information with the identification information of the multimedia information in the database storage system. If the distributed memory cache system is queried, initializing data to obtain a preset counting result, for example, 0, as the first sharing number, and adding one to the preset counting result, that is, adding one to the first sharing number to obtain 1, writing the added result (that is, the first sharing number after the addition) into the distributed memory cache system, and writing the identification information of the first user who performs the sharing behavior on the multimedia information into the database storage system, and associating the identification information with the identification information of the multimedia information in the database storage system. It should be noted that, the above is to count the number of sharing of the multimedia by using the sharing behavior example, and in addition, the counting process of the number of the click behavior, the forwarding behavior, the comment behavior, and the like of the multimedia information is similar to the counting process of the number of the sharing behavior of the multimedia, and the difference lies in that the behaviors are different, and details are not described herein again.
According to the information writing method, the counting result can be stored in the distributed memory cache system in a persistent mode, the counting result is updated actively through the expiration time of the data structure in the distributed memory cache system, the fact that the query of a user always falls on the distributed memory cache system with better performance can be guaranteed, the problem that the query is slow and the query is long in tail is solved, and the query efficiency is improved. And the consistency between the number of the identification information of the target object stored in the database storage system and the counting result in the distributed memory cache system can be ensured, the counting accuracy is improved, and even if the counting result in the distributed memory cache system has a problem, the counting system can also provide guarantee through the database storage system.
Referring to fig. 3, the present application provides an embodiment of an information writing apparatus 300, including:
the first query module 301 is configured to query the distributed memory cache system when detecting a first type of behavior executed by a first object on a second object;
the first writing module 302 is configured to, in a case that a first counting result associated with a first type behavior of a second object is queried in the distributed memory cache system, add one to the first counting result, write the first counting result after the addition into the distributed memory cache system, and write identification information of the first object into the database storage system, where the identification information of the first object in the database storage system is associated with identification information of the second object.
In one embodiment, the apparatus further comprises:
the initialization module is used for initializing to obtain a preset counting result under the condition that a first counting result associated with the first type behavior of the second object is not inquired in the distributed memory cache system;
and the second writing module is used for adding one to the preset counting result, writing the added preset counting result into the distributed memory cache system as a first counting result, and writing the identification information of the first object into the database storage system, wherein the identification information of the first object in the database storage system is associated with the identification information of the second object.
In one embodiment, referring to fig. 4, the apparatus 300 further includes:
a second query module 401, configured to query the distributed memory cache when receiving a count query request for a second type of behavior of a second object;
a third query module 402, configured to query, when a storage duration of a second count result associated with a second type of behavior queried in the distributed memory cache exceeds a preset duration, an object identifier list from the database storage system, where the object identifier list includes identifier information of a target object associated with identifier information of a second object;
the first updating module 403 is configured to update the second counting result in the distributed memory cache system to the number of the identification information of the target object.
In one embodiment, the third query module 402 includes:
the first sending module is used for sending first information to the distributed message queue system, wherein the first information comprises identification information of the second object;
and the second sending module is used for sending a first notification to the first interface through the distributed message queue system, wherein the first notification is used for notifying the first interface to inquire the object identification list from the database storage system.
In one embodiment, the apparatus further comprises:
the first output module is used for outputting a second counting result when the storage time length of a second counting result related to a second type of behavior inquired in the distributed memory cache does not exceed the preset time length after the second inquiry module inquires the distributed memory cache under the condition that the second inquiry module executes and receives a counting inquiry request aiming at the second type of behavior of a second object;
or after the first updating module updates the second counting result in the distributed memory cache system to the number of the identification information of the target object, outputting the second counting result.
In one embodiment, referring to fig. 5, the apparatus 300 further includes:
a fourth query module 501, configured to query an object identifier list from the database storage system when the second counting result is not queried in the distributed memory cache, where the object identifier list includes identifier information of a target object associated with the identifier information of the second object;
the second updating module 502 is configured to update the number of the identification information of the target object to the distributed memory cache system, and obtain a second counting result in the distributed memory cache system, where the second counting result of the distributed memory cache system is the number of the identification information of the target object.
In one embodiment, the fourth query module 501 includes:
the third sending module is used for sending second information to the distributed message queue system, wherein the second information comprises identification information of a second object;
and the fourth sending module is used for sending a second notification to the first interface through the distributed message queue system, wherein the second notification is used for notifying the first interface to inquire the object identification list from the database storage system.
In one embodiment, the apparatus further comprises:
and the second output module is used for outputting preset prompt information under the condition that the second counting result is not inquired in the distributed memory cache, wherein the preset prompt information is used for prompting that the second counting result is not inquired in the distributed memory cache.
The information writing device of each embodiment is a device for implementing the information writing method of each embodiment, and the technical features correspond to those of the information writing device of each embodiment, and the technical effects correspond to those of the information writing device of each embodiment, which are not described herein again.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 6 is a block diagram of an electronic device according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of the GUM on an external input/output device (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the information writing method provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the information writing method provided by the present application.
The memory 602, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the first query module 301 and the first write module 302 shown in fig. 3) corresponding to the information writing method in the embodiment of the present application. The processor 601 executes various functional applications of the server and data processing, i.e., implements the information writing method in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 602.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device displayed by the keyboard, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 optionally includes memory located remotely from the processor 601, and these remote memories may be connected over a network to the keyboard display electronics. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the information writing method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic device displayed by the keyboard, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, special-purpose ASMC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special purpose or second programmable processor, that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using procedural and/or object oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the counting is realized by adding one to the first counting result according to the first type behavior of the first object to the second object, the added first counting result is written into the distributed memory cache system for storage, the identification information of the first object performing the first type behavior on the second object is written into the database storage system, and the association between the identification information of the first object and the identification information of the second object is established in the database storage system. Once the first type of behavior exists, the first counting result associated with the first type of behavior is added by one, the counting result after the addition of one is written into the distributed memory cache system, and the identification information of the first object associated with the identification information of the second object is added in the database storage system, namely, the number of the identification information associated with the identification information of the second object is increased in the database storage system aiming at the first behavior of the second object, so that the counting accuracy can be improved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (18)

1. A method of writing information, the method comprising:
under the condition that a first type of behavior executed by a first object on a second object is detected, inquiring a distributed memory cache system;
and under the condition that a first counting result associated with the first type behavior of the second object is inquired in the distributed memory cache system, adding one to the first counting result, writing the first counting result after adding one into the distributed memory cache system, and writing the identification information of the first object into a database storage system, wherein the identification information of the first object in the database storage system is associated with the identification information of the second object.
2. The method of claim 1, wherein after querying the distributed memory caching system upon detecting the first type of behavior performed by the first object on the second object, further comprising:
initializing to obtain a preset counting result under the condition that a first counting result associated with the first type behavior of the second object is not inquired in the distributed memory cache system;
and adding one to the preset counting result, writing the added preset counting result into the distributed memory cache system as the first counting result, and writing the identification information of the first object into a database storage system, wherein the identification information of the first object in the database storage system is associated with the identification information of the second object.
3. The method of claim 1, further comprising:
querying the distributed memory cache on condition that a counting query request for a second type of behavior of the second object is received;
under the condition that the storage duration of a second counting result associated with the second type of behavior inquired in the distributed memory cache exceeds preset duration, inquiring an object identification list from the database storage system, wherein the object identification list comprises identification information of a target object associated with the identification information of the second object;
and updating the second counting result in the distributed memory cache system to the number of the identification information of the target object.
4. The method of claim 3, wherein said querying the object identification list from the database storage system comprises:
sending first information to a distributed message queue system, wherein the first information comprises identification information of the second object;
sending a first notification to a first interface through the distributed message queue system, the first notification being used to notify the first interface to query an object identification list from the database storage system.
5. The method of claim 3,
after querying the distributed memory cache when receiving a count query request for a second type of behavior of the second object, the method further includes: under the condition that the storage time length of a second counting result related to the second type of behavior inquired in the distributed memory cache does not exceed the preset time length, outputting the second counting result;
or after the updating of the second counting result in the distributed memory cache system to the number of the identification information of the target object, the method further includes: and outputting the second counting result.
6. The method of claim 3, wherein after querying the distributed memory cache upon receiving a count query request for a second type of behavior for the second object, further comprising:
under the condition that the second counting result is not inquired in the distributed memory cache, inquiring the object identification list from the database storage system, wherein the object identification list comprises identification information of a target object associated with the identification information of the second object;
updating the number of the identification information of the target object to the distributed memory cache system, and obtaining the second counting result in the distributed memory cache system, wherein the second counting result of the distributed memory cache system is the number of the identification information of the target object.
7. The method of claim 6, wherein said querying said list of object identifications from said database storage system comprises:
sending second information to a distributed message queue system, wherein the second information comprises identification information of the second object;
sending a second notification to the first interface through the distributed message queue system, the second notification being used to notify the first interface to query the object identification list from the database storage system.
8. The method of claim 6, wherein in the event that the second count result is not queried in the distributed memory cache, the method further comprises:
and outputting preset prompt information, wherein the preset prompt information is used for prompting that the second counting result is not inquired in the distributed memory cache.
9. An information writing apparatus, characterized in that the apparatus comprises:
the first query module is used for querying the distributed memory cache system under the condition that a first type of behavior executed by a first object on a second object is detected;
the first writing module is configured to, when a first counting result associated with the first type behavior of the second object is queried in the distributed memory cache system, add one to the first counting result, write the first counting result after the addition of one to the distributed memory cache system, and write identification information of the first object to a database storage system, where the identification information of the first object in the database storage system is associated with identification information of the second object.
10. The apparatus of claim 9, further comprising:
the initialization module is used for initializing to obtain a preset counting result under the condition that the first counting result associated with the first type behavior of the second object is not inquired in the distributed memory cache system;
and the second writing module is used for adding one to the preset counting result, writing the added preset counting result into the distributed memory cache system as the first counting result, and writing the identification information of the first object into a database storage system, wherein the identification information of the first object in the database storage system is associated with the identification information of the second object.
11. The apparatus of claim 9, further comprising:
the second query module is used for querying the distributed memory cache under the condition of receiving a counting query request aiming at a second type behavior of the second object;
a third query module, configured to query, from the database storage system, an object identifier list in a case that a storage duration of a second count result associated with the second type of behavior queried in the distributed memory cache exceeds a preset duration, where the object identifier list includes identifier information of a target object associated with identifier information of the second object;
and the first updating module is used for updating the second counting result in the distributed memory cache system to the number of the identification information of the target object.
12. The apparatus of claim 11, wherein the third query module comprises:
a first sending module, configured to send first information to a distributed message queue system, where the first information includes identification information of the second object;
a second sending module, configured to send a first notification to a first interface through the distributed message queue system, where the first notification is used to notify the first interface to query an object identifier list from the database storage system.
13. The apparatus of claim 11, further comprising:
a first output module, configured to, after the second query module performs the query on the distributed memory cache when the count query request for the second type of behavior of the second object is received, output a second count result when a storage duration of the second count result associated with the second type of behavior queried in the distributed memory cache does not exceed a preset duration;
or after the first updating module updates the second counting result in the distributed memory cache system to the number of the identification information of the target object, outputting the second counting result.
14. The apparatus of claim 11, further comprising:
a fourth query module, configured to query the object identifier list from the database storage system when the second counting result is not queried in the distributed memory cache, where the object identifier list includes identifier information of a target object associated with the identifier information of the second object;
and the second updating module is used for updating the number of the identification information of the target object to the distributed memory cache system, and obtaining the second counting result in the distributed memory cache system, wherein the second counting result of the distributed memory cache system is the number of the identification information of the target object.
15. The apparatus of claim 14, wherein the fourth query module comprises:
a third sending module, configured to send second information to a distributed message queue system, where the second information includes identification information of the second object;
a fourth sending module, configured to send a second notification to the first interface through the distributed message queue system, where the second notification is used to notify the first interface to query the object identifier list from the database storage system.
16. The apparatus of claim 14, further comprising:
and the second output module is used for outputting preset prompt information under the condition that the second counting result is not inquired in the distributed memory cache, wherein the preset prompt information is used for prompting that the second counting result is not inquired in the distributed memory cache.
17. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
18. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-8.
CN202010599206.6A 2020-06-28 2020-06-28 Information writing method and device and electronic equipment Active CN111782694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010599206.6A CN111782694B (en) 2020-06-28 2020-06-28 Information writing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010599206.6A CN111782694B (en) 2020-06-28 2020-06-28 Information writing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111782694A true CN111782694A (en) 2020-10-16
CN111782694B CN111782694B (en) 2023-10-20

Family

ID=72761550

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010599206.6A Active CN111782694B (en) 2020-06-28 2020-06-28 Information writing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111782694B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070239661A1 (en) * 2006-03-28 2007-10-11 Sun Microsystems, Inc. Systems and methods for a distributed in-memory database and distributed cache
CN102129469A (en) * 2011-03-23 2011-07-20 华中科技大学 Virtual experiment-oriented unstructured data accessing method
CN103581055A (en) * 2012-08-08 2014-02-12 华为技术有限公司 Message order preserving method, flow scheduling chip and distribution type storage system
US20140208005A1 (en) * 2013-01-22 2014-07-24 Lsi Corporation System, Method and Computer-Readable Medium for Providing Selective Protection and Endurance Improvements in Flash-Based Cache
CN105138678A (en) * 2015-09-11 2015-12-09 武汉云空间地理信息技术有限公司 Reading and distributing method and system for map tile data
CN106066894A (en) * 2016-06-23 2016-11-02 广州市百果园网络科技有限公司 Data global buffer method and data global buffer device
CN106202416A (en) * 2016-07-11 2016-12-07 腾讯科技(深圳)有限公司 Table data write method and device, table data read method and device
CN106527959A (en) * 2015-09-10 2017-03-22 阿里巴巴集团控股有限公司 Processing method and device for refreshing disk input output request
CN106778260A (en) * 2016-12-31 2017-05-31 网易无尾熊(杭州)科技有限公司 Attack detection method and device
CN107045530A (en) * 2017-01-20 2017-08-15 华中科技大学 A kind of method that object storage system is embodied as to local file system
WO2017219848A1 (en) * 2016-06-22 2017-12-28 中兴通讯股份有限公司 Id processing method in distributed database, management system, and server
US9892041B1 (en) * 2014-09-30 2018-02-13 Veritas Technologies Llc Cache consistency optimization
CN107862033A (en) * 2017-11-03 2018-03-30 福建中金在线信息科技有限公司 A kind of user behavior analysis method and system
CN108023925A (en) * 2016-11-04 2018-05-11 宁波甬派传媒股份有限公司 A kind of high concurrent news information processing system
CN110019255A (en) * 2017-07-31 2019-07-16 北京嘀嘀无限科技发展有限公司 Data query method, apparatus, server and storage medium
CN110633296A (en) * 2018-05-31 2019-12-31 北京京东尚科信息技术有限公司 Data query method, device, medium and electronic equipment
US20200042496A1 (en) * 2018-08-02 2020-02-06 MemVerge, Inc Key Value Store Snapshot in a Distributed Memory Object Architecture
CN111125479A (en) * 2018-10-30 2020-05-08 广州要啦网络有限公司 Statistical method and device for site access, computer equipment and storage medium

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070239661A1 (en) * 2006-03-28 2007-10-11 Sun Microsystems, Inc. Systems and methods for a distributed in-memory database and distributed cache
CN102129469A (en) * 2011-03-23 2011-07-20 华中科技大学 Virtual experiment-oriented unstructured data accessing method
CN103581055A (en) * 2012-08-08 2014-02-12 华为技术有限公司 Message order preserving method, flow scheduling chip and distribution type storage system
US20140208005A1 (en) * 2013-01-22 2014-07-24 Lsi Corporation System, Method and Computer-Readable Medium for Providing Selective Protection and Endurance Improvements in Flash-Based Cache
US9892041B1 (en) * 2014-09-30 2018-02-13 Veritas Technologies Llc Cache consistency optimization
CN106527959A (en) * 2015-09-10 2017-03-22 阿里巴巴集团控股有限公司 Processing method and device for refreshing disk input output request
CN105138678A (en) * 2015-09-11 2015-12-09 武汉云空间地理信息技术有限公司 Reading and distributing method and system for map tile data
WO2017219848A1 (en) * 2016-06-22 2017-12-28 中兴通讯股份有限公司 Id processing method in distributed database, management system, and server
CN106066894A (en) * 2016-06-23 2016-11-02 广州市百果园网络科技有限公司 Data global buffer method and data global buffer device
CN106202416A (en) * 2016-07-11 2016-12-07 腾讯科技(深圳)有限公司 Table data write method and device, table data read method and device
CN108023925A (en) * 2016-11-04 2018-05-11 宁波甬派传媒股份有限公司 A kind of high concurrent news information processing system
CN106778260A (en) * 2016-12-31 2017-05-31 网易无尾熊(杭州)科技有限公司 Attack detection method and device
CN107045530A (en) * 2017-01-20 2017-08-15 华中科技大学 A kind of method that object storage system is embodied as to local file system
CN110019255A (en) * 2017-07-31 2019-07-16 北京嘀嘀无限科技发展有限公司 Data query method, apparatus, server and storage medium
CN107862033A (en) * 2017-11-03 2018-03-30 福建中金在线信息科技有限公司 A kind of user behavior analysis method and system
CN110633296A (en) * 2018-05-31 2019-12-31 北京京东尚科信息技术有限公司 Data query method, device, medium and electronic equipment
US20200042496A1 (en) * 2018-08-02 2020-02-06 MemVerge, Inc Key Value Store Snapshot in a Distributed Memory Object Architecture
CN111125479A (en) * 2018-10-30 2020-05-08 广州要啦网络有限公司 Statistical method and device for site access, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111782694B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN111753997B (en) Distributed training method, system, device and storage medium
CN111581216A (en) Data processing method, device, equipment and storage medium
EP3816817A1 (en) Method and apparatus for importing data into graph database, electronic device and medium
CN111090691B (en) Data processing method and device, electronic equipment and storage medium
CN111752960B (en) Data processing method and device
CN111913884A (en) Distributed test method, device, equipment, system and readable storage medium
CN111600790B (en) Block chain based message processing method, device, equipment and storage medium
CN110598059B (en) Database operation method and device
CN112565356B (en) Data storage method and device and electronic equipment
CN112561332A (en) Model management method, model management apparatus, electronic device, storage medium, and program product
CN112559194A (en) Application data processing method, device and equipment
CN112561059A (en) Method and apparatus for model distillation
CN111782357A (en) Label control method and device, electronic equipment and readable storage medium
CN111782694B (en) Information writing method and device and electronic equipment
CN111752885B (en) Method and device for processing reading authority in reading material
CN111581366B (en) User intention determining method, device, electronic equipment and readable storage medium
CN110580322B (en) Independent visitor information processing method and device, electronic equipment and storage medium
CN112084204A (en) Browsing data processing method, device, terminal and storage medium
CN112346512A (en) Time synchronization method and device
CN112306413A (en) Method, device, equipment and storage medium for accessing memory
CN111597461A (en) Target object aggregation prediction method and device and electronic equipment
CN113220982A (en) Advertisement searching method, device, electronic equipment and medium
CN110750419A (en) Offline task processing method and device, electronic equipment and storage medium
CN112446728B (en) Advertisement recall method, device, equipment and storage medium
CN112016020B (en) Information processing 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