CN106777276B - Method and device for index storage of user information and native information display - Google Patents

Method and device for index storage of user information and native information display Download PDF

Info

Publication number
CN106777276B
CN106777276B CN201611242730.8A CN201611242730A CN106777276B CN 106777276 B CN106777276 B CN 106777276B CN 201611242730 A CN201611242730 A CN 201611242730A CN 106777276 B CN106777276 B CN 106777276B
Authority
CN
China
Prior art keywords
information
user
index
relational database
order information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611242730.8A
Other languages
Chinese (zh)
Other versions
CN106777276A (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.)
Weimeng Chuangke Network Technology China Co Ltd
Original Assignee
Weimeng Chuangke Network Technology China 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 Weimeng Chuangke Network Technology China Co Ltd filed Critical Weimeng Chuangke Network Technology China Co Ltd
Priority to CN201611242730.8A priority Critical patent/CN106777276B/en
Publication of CN106777276A publication Critical patent/CN106777276A/en
Application granted granted Critical
Publication of CN106777276B publication Critical patent/CN106777276B/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/2457Query processing with adaptation to user needs
    • 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/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Abstract

The invention discloses a method and a device for index storage and native message display of user information, which are used for improving the popularization effect of the information. The index storage method of the user information comprises the following steps: acquiring order information of a set product purchased by an information issuing user, wherein the corresponding relation between the order information and native information issued by the information issuing user is stored in a first relational database; acquiring user information of a user concerned with the release information; and constructing an index of the user information and writing the index into a second non-relational database for storage, wherein the index is an index between the user information and the order information, and identity information of the user information is used as an index key word. Therefore, the concerned users of the information and the information publishing users have concerned social relations, the concerned users of the information can be effectively controlled, and the quality and the efficiency of information popularization are improved.

Description

Method and device for index storage of user information and native information display
Technical Field
The invention relates to the technical field of social application, in particular to a method and a device for index storage and native information display of user information.
Background
With the development of internet technology, some social applications are increasingly widely used. Users can publish information through a social application, that is, a user can publish native information. Generally, the original information is inserted in the information flow according to the time sequence, so that after the information flow is refreshed, the original information issued by some users is easily lost in the information flow, and thus, the original information cannot be effectively popularized.
Disclosure of Invention
The invention provides a method and a device for index storage of user information and display of native information, which are used for improving the popularization effect of information.
The invention provides a method for storing an index of user information, which comprises the following steps:
acquiring order information of a set product purchased by an information issuing user, wherein the corresponding relation between the order information and native information issued by the information issuing user is stored in a first relational database;
acquiring user information of a user concerned with the release information;
and constructing an index of the user information and writing the index into a second non-relational database for storage, wherein the index is an index between the user information and the order information, and identity information of the user information is used as an index key word.
In an embodiment of the present invention, the obtaining of the order information of the set product purchased by the information publishing user includes:
receiving the order information which is put in from a message queue; and/or the first and/or second light sources,
and acquiring the order information in the release state from the first relational database at regular time.
In an embodiment of the present invention, the method further includes:
and when a failure message that a certain order information is failed is received, deleting the index corresponding to the failed order information from the second non-relational database.
The invention provides a method for displaying original information, wherein the original information is issued by an information issuing user, and an index of user information concerning the information issuing user is stored in a second non-relational database by the method, and the method comprises the following steps:
acquiring current user information of a current user refreshing an information flow;
when first user information matched with the current user information is inquired in the second non-relational database, determining at least one piece of order information matched with the first user information according to an index corresponding to the first user information, wherein the order information is generated when a user who issues information purchases a set product;
acquiring original information published by a publishing information user corresponding to the matched order information from a first relational database;
and placing the native information at the top position of the refreshed information flow to display the native information to the current user.
In an embodiment of the present invention, after acquiring the native information published by the information-publishing user corresponding to the matched order information from the first relational database, the method further includes:
and deleting the index corresponding to the matched order information from the second non-relational database.
The invention provides a device for storing index of user information, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring order information of a set product purchased by an information issuing user, and the corresponding relation between the order information and native information issued by the information issuing user is stored in a first relational database;
a second obtaining unit, configured to obtain user information of a user who pays attention to the release information;
and the storage unit is used for constructing an index of the user information and writing the index into a second non-relational database for storage, wherein the index is the index of the user information and the order information, and the identity information of the user information is used as an index key word.
In an embodiment of the present invention, the first obtaining unit is further configured to receive the order information released from a message queue; or/and obtaining the order information in the release state from the first relational database at regular time.
In an embodiment of the present invention, the apparatus further includes:
and the first deleting unit is used for deleting the index corresponding to the order information which is invalidated from the second non-relational database when receiving an invalidation message that the order information is invalidated.
The present invention provides a device for displaying native information, wherein the native information is issued by an information issuing user, and an index of user information concerning the information issuing user is stored in a second non-relational database by the device, the device comprising:
a third obtaining unit, configured to obtain current user information of a current user who refreshes an information flow;
a determining unit, configured to determine, when first user information matching the current user information is queried in the second non-relational database, at least one piece of order information matching the first user information according to an index corresponding to the first user information, where the order information is generated when a user who issues information purchases a set product;
the fourth obtaining unit is used for obtaining the original information published by the information publishing user corresponding to the matched order information from the first relational database;
and the display unit is used for placing the native information at the top position of the refreshed information flow to display the native information to the current user.
In an embodiment of the present invention, the method further includes:
and the second deleting unit is used for deleting the index corresponding to the matched order information from the second non-relational database.
Some beneficial effects of the embodiments of the present invention may include:
therefore, the concerned users of the information and the information publishing users have concerned social relations, and the user information of the concerned users and the indexes of the order information can be established by purchasing the order information of the set product, so that the original information corresponding to the order information can be displayed to the concerned users, the concerned users of the information can be effectively controlled, and the quality and the efficiency of information popularization are improved. In addition, the native information can be placed at the top of the refreshed information stream for display, and the popularization effect of the information is further improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow diagram illustrating index storage of user information in accordance with an illustrative embodiment;
FIG. 2 is a flow diagram illustrating native information presentation, according to an example embodiment;
FIG. 3 is a flow diagram illustrating native information presentation, according to an example embodiment;
FIG. 4 is a block diagram illustrating an apparatus for index storage of user information in accordance with an illustrative embodiment;
FIG. 5 is a block diagram illustrating an apparatus for native information presentation, according to an example embodiment;
FIG. 6 is a system block diagram illustrating the presentation of native information, according to an example embodiment.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
According to the technical scheme provided by the embodiment of the disclosure, the concerned user and the information publishing user have concerned social relationship, and the user information of the concerned user and the index of the order information can be established by purchasing the order information of the set product, so that the original information corresponding to the order information can be displayed to the concerned user, the concerned user of the information can be effectively controlled, and the quality and the efficiency of information popularization are improved. In addition, the native information can be placed at the top of the refreshed information stream for display, and the popularization effect of the information is further improved.
After the concerned user information of the information is determined, the information can be displayed to the corresponding concerned user, so that the information storage process of the concerned user is described first, and then the information display process is described.
FIG. 1 is a flow diagram illustrating index storage of user information according to an example embodiment. The process of index storage of user information is shown in fig. 1, and includes:
step 101: acquiring order information of a set product purchased by an information publishing user, wherein the corresponding relation between the order information and the native information published by the information publishing user is stored in a first relational database.
In the embodiment of the invention, the information publishing user can normally publish information on the platform of the social application, the information is generally native information, namely the publishing platform can receive the native information published by the information publishing user and add the native information into the corresponding information flow. Here, the publication platform may include a server of the social application.
The information distribution user can purchase the set product corresponding to the original information, so that order information of the information distribution user for purchasing the set product can be generated, and the corresponding relation between the order information and the original information distributed by the information distribution user can be stored in the first relational database. Each purchase by each information-publishing user may generate corresponding order information and may be stored in the first relational database. The first relational database stores a one-to-one correspondence between the order information and the native information published by the information-publishing user.
Since the order information for the information distribution user to purchase the set product has already been generated and the order information is stored in the first relational database, acquiring the order information for the information distribution user to purchase the set product may include: placed order information is received from a message queue. After the order information is generated and stored, the order information can be actively put into the message queue, so that the put order information can be received from the message queue.
Or, each purchasing behavior of each information publishing user can generate corresponding order information, and the first relational database can be updated, so that the order information can be inquired in the first relational database at regular time, and when the order information is in a release state, the order information in the release state can be acquired. That is, obtaining order information of the user who releases information to purchase the set product may include: and acquiring the order information in the release state from the first relational database at regular time.
Step 102: and acquiring user information of a user concerned with publishing information.
In the embodiment of the invention, the concerned user and the information publishing user can be based on the concerned social relationship, so that the user information of the concerned information publishing user is obtained.
Step 103: and constructing an index of the user information and writing the index into a second non-relational database for storage, wherein the index is an index between the user information and the order information, and the identity information of the user information is used as an index key word.
Here, an index of the user information, specifically an index between the user information and the order information, is constructed, so that the user who publishes the information can activate the connection between the user information and the original information through a purchasing behavior.
A Key-Value (KV) storage database is a non-relational database whose data is organized, indexed, and stored in the form of Key-Value pairs. The identity information of the user information can be used as a KEY value to form an index between the user information and the order information and write the index into the KV storage database. Of course, the second non-relational database model may be other non-relational databases.
Therefore, the concerned users of the information and the information publishing users have concerned social relations, and the user information of the concerned users and the indexes of the order information can be established by purchasing the order information of the set product, so that the concerned users of the information can be effectively controlled, and the quality and the efficiency of information popularization are improved. .
After each information-publishing user publishes the original information and buys the set product once to generate the order information, the index corresponding to the order information and the user information can be stored in the second non-relational database, and the second non-relational database takes the identity information of the user information as an index key word, so that one user information may correspond to one, two or more order information. Of course, one order information may correspond to one, two or more user information.
Therefore, in another embodiment of the present invention, when a certain order information is invalidated, the index corresponding to the invalidated order information needs to be deleted from the second non-relational database. It may be determined from data analysis that certain order information has failed, for example: the purchase behavior is invalidated and thus corresponds to a invalidation message, such that when an invalidation message is received that a certain order information has been invalidated, the index corresponding to the invalidated order information is deleted from the second non-relational database.
Therefore, the validity of the index stored in the second non-relational database can be ensured, and the popularization of the information is further improved.
The first relational database stores the corresponding relation between the order information and the original information published by the information publishing user, and the second non-relational database stores the index between the user information and the order information, so that the association between the original information and the concerned user of the information can be established through the order information, and the original information can be displayed for the concerned user.
FIG. 2 is a flow diagram illustrating native information presentation, according to an example embodiment. The native information is published by the information publishing user, and the index of the user information concerning the information publishing user is stored in the second non-relational database through the above process, so that the process shown in fig. 2 includes:
step 201: and acquiring the current user information of the current user refreshing the information flow.
When the user carries out the social application, the information flow of the social application is refreshed, and therefore the current user information of the current user refreshing the information flow can be obtained.
Step 202: when first user information matched with the current user information is inquired in the second non-relational database, at least one piece of order information matched with the first user information is determined according to the index corresponding to the first user information, wherein the order information is generated when a user who issues information purchases a set product.
The second non-relational database stores an index between the user information and the order information, and the second non-relational database uses the identity information of the user information as an index key. Thus, one user information may correspond to one, two or more order information.
First looking up in a second non-relational database if there is first user information that matches the current user information? The identity information in the user information can be searched, and when the first user information matched with the current user information is determined, one, two or more pieces of order information corresponding to the first user information can be determined according to the stored index.
Step 203: and acquiring the original information published by the information publishing user corresponding to the matched order information from the first relational database.
Whether one, two or more order information is determined, for each order information, the original information published by the information publishing user corresponding to the order information is obtained from the first relational database.
Step 204: and placing the native information at the top position of the refreshed information flow to display the native information to the current user.
After the native information is obtained, the issuing sequence of the information flow can be rearranged, and the native information can be placed at the top position of the refreshed information flow and displayed to the current user. Of course, when only one order information is determined and only one original information is determined, the original information can be directly placed at the top position of the refreshed information stream for displaying. When two or more pieces of original information exist, the acquired original information can be sorted randomly or according to a set sequence, such as release time, and the sorted original information is placed at the top of the refreshed information stream for display.
Therefore, the corresponding native information can be placed at the top of the refreshed information stream for display through purchasing behavior, and the popularization effect of the information is further improved.
Of course, after the original information published by the information publishing user corresponding to the matched order information is obtained, the index corresponding to the matched order information may be deleted from the second non-relational database. That is, the order information generated by the current purchasing behavior is invalid, and the primary information top-setting display is completed.
The following operational flows are grouped into specific embodiments to illustrate the methods provided by the embodiments of the present disclosure.
In this embodiment, the second non-relational database may be a KV storage database. The social application platform includes three parallel threads.
Fig. 3 is a flowchart illustrating a native information presentation according to an exemplary embodiment, and referring to fig. 3, a process of the native information presentation in the present embodiment includes:
step 301: and generating order information of the set product purchased by the information publishing user according to the behavior of the information publishing user in purchasing the set product.
Here, the information-issuing user has issued information, which is native information. For example: the information distribution user distributes the original information at 10 o 'clock, and the information distribution user purchases the set product at 20 o' clock, thereby generating the order information of the corresponding information distribution user purchasing the set product.
Step 302: and storing the corresponding relation between the order information and the original information published by the information publishing user in a first relational database.
Here, the order information and the original information distributed by the information distributing user are in one-to-one correspondence, and may be stored in the first relational database.
Step 303: and putting the order information into a message queue.
The first thread may perform generation of order information and saving of correspondence relationship, and may return to step 301.
Step 304: and acquiring the placed order information from the message queue.
When the order information is acquired, another information issuing user may also purchase the corresponding product, or the information issuing user initiates a purchase action once again, that is, two threads can be performed simultaneously. I.e. the first thread has performed step 303, it returns to step 301. And the second thread may retrieve the placed order information from the message queue.
Step 305: and acquiring user information of a user concerned with publishing information.
Here, the order information carries information of the information distribution user, so that the user information of the information distribution user can be acquired.
Step 306: and writing an index for constructing the user information into the KV storage database for storage, wherein the index is an index between the user information and the order information, and the identity information of the user information is taken as a KEY.
And after the second thread acquires the order information each time, writing the index between the user information and the order information into the KV storage database for storage by taking the identity information of the user information as a KEY. Returning to step S304.
Step 307: and acquiring the current user information of the current user refreshing the information flow.
When the user uses the social application, the information flow can be refreshed, and the third thread can acquire the current user information of the current user refreshing the information flow in real time. For example: and the current user refreshes the information flow at the current 20 points and 10 points to acquire the current user information.
Step 308: when first user information matched with the current user information is inquired in the KV storage database, at least one order information matched with the first user information is determined according to the index corresponding to the first user information.
For example, the order information is determined to be order information generated at 20 points.
Step 309: and acquiring the original information published by the information publishing user corresponding to the matched order information from the first relational database.
Likewise, the native information published at 10 o' clock by the information-publishing user may be obtained from the first relational database.
Step 310: and placing the native information at the top position of the refreshed information flow to display the native information to the current user.
The current user refreshes the information flow at 20 o ' clock and 10 o ' clock, the information flow after general refreshing can be displayed by arranging the issued information according to the time sequence in reverse order, and after the step, the issued information is rearranged, and the acquired native information issued at 10 o ' clock by the information issuing user is placed at the top position of the information flow after refreshing and displayed to the current user.
Of course, after the third thread refresh information is displayed to the current user, the process continues to return to step 307.
In the embodiment of the invention, the top display of the native information can be realized through the purchasing behavior of the information publishing user, and the popularization of the information is further improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
According to the above process of storing the index of the user information, an apparatus for storing the index of the user information may be constructed, as shown in fig. 4, the apparatus includes: a first acquisition unit 410, a second acquisition unit 420, and a storage unit 430, wherein,
the first obtaining unit 410 is configured to obtain order information of a set product purchased by an information distribution user, where a correspondence between the order information and native information distributed by the information distribution user is stored in a first relational database.
A second obtaining unit 420, configured to obtain user information of the user concerning the release information.
The storage unit 430 is configured to construct an index of the user information and write the index into the second non-relational database for storage, where the index is an index of the user information and the order information, and identity information of the user information is used as an index key.
In an embodiment of the present invention, the first obtaining unit 410 is further configured to receive order information placed from the message queue; or/and obtaining the order information in the release state from the first relational database at regular time.
In an embodiment of the present invention, the apparatus further includes:
and the first deleting unit is used for deleting the index corresponding to the order information which is invalidated from the second non-relational database when receiving the invalidation message that the order information is invalidated.
According to the above information presentation process, a device for presenting native information, which is issued by an information issuing user and by which an index of user information concerning the information issuing user is stored in a second non-relational database, as shown in fig. 5, may be constructed, the device comprising: a third obtaining unit 410, a determining unit 520, a fourth obtaining unit 430, and a presenting unit 550, wherein,
a third obtaining unit 510, configured to obtain current user information of a current user of the refresh information flow.
The determining unit 520 is configured to determine, when the first user information matching the current user information is queried in the second non-relational database, at least one piece of order information matching the first user information according to the index corresponding to the first user information, where the order information is generated when the information issuing user purchases the set product.
A fourth obtaining unit 530, configured to obtain, from the first relational database, the original information published by the information publishing user corresponding to the matched order information.
And the presentation unit 540 is configured to place the native information at a top position of the refreshed information stream to present the native information to the current user.
In an embodiment of the present invention, the method further includes:
and the second deleting unit is used for deleting the index corresponding to the matched order information from the second non-relational database.
Therefore, the concerned users and the information publishing users of the information have concerned social relations, and the indexes between the user information and the order information of the concerned users can be established by purchasing the order information of the set product, so that the original information corresponding to the order information can be displayed to the concerned users, the concerned users of the information can be effectively controlled, and the quality and the efficiency of information popularization are improved. In addition, the native information can be placed at the top of the refreshed information stream for display, and the popularization effect of the information is further improved.
The following illustrates an apparatus provided by an embodiment of the present disclosure.
In this embodiment, fig. 6 is a system structure diagram of information presentation according to an exemplary embodiment, and referring to fig. 6, in this embodiment, the system includes: a first relational database 100, a second non-relational database 200, a user information storage of interest device 400, and an information presentation device 500. Wherein the apparatus 400 comprises: the first acquiring unit 410, the second acquiring unit 420, the storing unit 430 and the first deleting unit 440, and the apparatus 500 includes: a third obtaining unit 410, a determining unit 520, a fourth obtaining unit 430, a presenting unit 550, and a second deleting unit 560.
Specifically, the first relational database 100 stores a correspondence relationship between order information and native information published by a user who publishes information. The first obtaining unit 410 in the apparatus 400 may obtain order information of the released information user for purchasing the set product from the message queue, or periodically obtain order information in a released state from the first relational database 100; and the second obtaining unit 420 may obtain the user information of the information user concerning the distribution. In this way, the storage unit 430 may construct an index of the user information, which is an index between the user information and the order information using the identity information as an index key, and write the index into the second non-relational database 200 for storage. Of course, when receiving a invalidation message that a certain order information has been invalidated, the first deletion unit 440 deletes the index corresponding to the invalidated order information from the second non-relational database 200.
And the third obtaining unit 510 in the apparatus 500 obtains the current user information of the current user of the refresh information flow; when the first user information matching the current user information is searched in the second non-relational database 200, the determining unit 520 may determine at least one order information matching the first user information according to the index corresponding to the first user information. And the fourth obtaining unit 530 may obtain the original information published by the publishing information user corresponding to the matched order information from the first relational database 100; in this way, presentation unit 540 may place the native information at the top position of the refreshed information stream for presentation to the current user. Of course, after the purchase is revealed once, the second deleting unit 550 may delete the index corresponding to the matched order information from the second non-relational database 200.
Therefore, in the implementation, the concerned user of the information and the information publishing user have concerned social relationship, and the index between the user information of the concerned user and the order information can be established by purchasing the order information of the set product, so that the original information corresponding to the order information can be displayed to the concerned user, the concerned user of the information can be effectively controlled, and the quality and the efficiency of information popularization are improved. In addition, the native information can be placed at the top of the refreshed information stream for display, and the popularization effect of the information is further improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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 apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for index storage of user information, comprising:
acquiring order information of a set product purchased by an information issuing user, wherein the corresponding relation between the order information and native information issued by the information issuing user is stored in a first relational database;
acquiring user information of a user concerned with the release information;
and constructing an index of the user information and writing the index into a second non-relational database for storage, wherein the index is an index between the user information and the order information, and identity information of the user information is used as an index key word.
2. The method of claim 1, wherein the obtaining order information for the user to purchase the set product from the published information comprises:
receiving the order information which is put in from a message queue; and/or the first and/or second light sources,
and acquiring the order information in the release state from the first relational database at regular time.
3. The method of claim 1, wherein the method further comprises:
and when a failure message that a certain order information is failed is received, deleting the index corresponding to the failed order information from the second non-relational database.
4. A method of native information presentation, wherein the native information is published by a publishing information user and an index of user information concerning the publishing information user is stored in the second non-relational database by the method of claims 1-3, the method comprising:
acquiring current user information of a current user refreshing an information flow;
when first user information matched with the current user information is inquired in the second non-relational database, determining at least one piece of order information matched with the first user information according to an index corresponding to the first user information, wherein the order information is generated when a user who issues information purchases a set product;
acquiring original information published by a publishing information user corresponding to the matched order information from a first relational database;
and placing the native information at the top position of the refreshed information flow to display the native information to the current user.
5. The method of claim 4, wherein after obtaining the native information published by the information-publishing user corresponding to the matched order information from the first relational database, the method further comprises:
and deleting the index corresponding to the matched order information from the second non-relational database.
6. An apparatus for index storage of user information, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring order information of a set product purchased by an information issuing user, and the corresponding relation between the order information and native information issued by the information issuing user is stored in a first relational database;
a second obtaining unit, configured to obtain user information of a user who pays attention to the release information;
and the storage unit is used for constructing an index of the user information and writing the index into a second non-relational database for storage, wherein the index is the index of the user information and the order information, and the identity information of the user information is used as an index key word.
7. The apparatus of claim 6,
the first obtaining unit is further configured to receive the order information released from a message queue; or/and obtaining the order information in the release state from the first relational database at regular time.
8. The apparatus of claim 6, wherein the apparatus further comprises:
and the first deleting unit is used for deleting the index corresponding to the order information which is invalidated from the second non-relational database when receiving an invalidation message that the order information is invalidated.
9. An apparatus for native information presentation, wherein the native information is published by a publishing information user and an index of user information concerning the publishing information user is stored in the second non-relational database by the apparatus of claims 6-8, the apparatus comprising:
a third obtaining unit, configured to obtain current user information of a current user who refreshes an information flow;
a determining unit, configured to determine, when first user information matching the current user information is queried in the second non-relational database, at least one piece of order information matching the first user information according to an index corresponding to the first user information, where the order information is generated when a user who issues information purchases a set product;
the fourth obtaining unit is used for obtaining the original information published by the information publishing user corresponding to the matched order information from the first relational database;
and the display unit is used for placing the native information at the top position of the refreshed information flow to display the native information to the current user.
10. The apparatus of claim 9, further comprising:
and the second deleting unit is used for deleting the index corresponding to the matched order information from the second non-relational database.
CN201611242730.8A 2016-12-29 2016-12-29 Method and device for index storage of user information and native information display Active CN106777276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611242730.8A CN106777276B (en) 2016-12-29 2016-12-29 Method and device for index storage of user information and native information display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611242730.8A CN106777276B (en) 2016-12-29 2016-12-29 Method and device for index storage of user information and native information display

Publications (2)

Publication Number Publication Date
CN106777276A CN106777276A (en) 2017-05-31
CN106777276B true CN106777276B (en) 2020-03-10

Family

ID=58923787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611242730.8A Active CN106777276B (en) 2016-12-29 2016-12-29 Method and device for index storage of user information and native information display

Country Status (1)

Country Link
CN (1) CN106777276B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107169799B (en) * 2017-05-17 2020-10-27 微梦创科网络科技(中国)有限公司 Method and system for realizing advertisement delivery instead of native information stream based on social relationship
CN107133362A (en) * 2017-06-01 2017-09-05 北京凤凰理理它信息技术有限公司 Commodity Information Search method, system, computer program and electronic equipment
CN109299140A (en) * 2018-10-18 2019-02-01 航天科工智能机器人有限责任公司 The storage processing system and method for automatic labeling machine working traffic

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1650566A (en) * 2001-08-15 2005-08-03 普里凯许公司 Packet routing via payload inspection and subscription processing in a publish-subscribe network
CN101261715A (en) * 2008-03-28 2008-09-10 腾讯科技(深圳)有限公司 A method and system for online trade based on blog
US8234310B2 (en) * 2007-12-20 2012-07-31 Pottenger William M Social networking on a website with topic-based data sharing
CN103218738A (en) * 2012-01-20 2013-07-24 北京富基融通科技有限公司 Information processing method and information processing system for online trading platform
CN103309990A (en) * 2013-06-18 2013-09-18 上海晶樵网络信息技术有限公司 User multidimensional analysis and monitoring method based on public information of Internet user
CN103425686A (en) * 2012-05-21 2013-12-04 微梦创科网络科技(中国)有限公司 Information publishing method and device
CN104579909A (en) * 2013-10-28 2015-04-29 阿里巴巴集团控股有限公司 Method and equipment for classifying user information and acquiring user grouping information
CN105704014A (en) * 2016-03-28 2016-06-22 跨理(广州)供应链管理有限公司 Method for integrating shopping and social contact, system being integrated with shopping and social contact, and shopping network assembly

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1650566A (en) * 2001-08-15 2005-08-03 普里凯许公司 Packet routing via payload inspection and subscription processing in a publish-subscribe network
US8234310B2 (en) * 2007-12-20 2012-07-31 Pottenger William M Social networking on a website with topic-based data sharing
CN101261715A (en) * 2008-03-28 2008-09-10 腾讯科技(深圳)有限公司 A method and system for online trade based on blog
CN103218738A (en) * 2012-01-20 2013-07-24 北京富基融通科技有限公司 Information processing method and information processing system for online trading platform
CN103425686A (en) * 2012-05-21 2013-12-04 微梦创科网络科技(中国)有限公司 Information publishing method and device
CN103309990A (en) * 2013-06-18 2013-09-18 上海晶樵网络信息技术有限公司 User multidimensional analysis and monitoring method based on public information of Internet user
CN104579909A (en) * 2013-10-28 2015-04-29 阿里巴巴集团控股有限公司 Method and equipment for classifying user information and acquiring user grouping information
CN105704014A (en) * 2016-03-28 2016-06-22 跨理(广州)供应链管理有限公司 Method for integrating shopping and social contact, system being integrated with shopping and social contact, and shopping network assembly

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"微博信息广告的实时监控系统的设计与实现";常青;《中国优秀硕士学位论文全文数据库信息科技辑I140-328》;20160615;正文第1章、第2章第2.1.3节、第3章3.2节、第4章 *

Also Published As

Publication number Publication date
CN106777276A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN108536761B (en) Report data query method and server
US9842149B2 (en) Population and/or animation of spatial visualization(s)
US20240078229A1 (en) Generating, accessing, and displaying lineage metadata
CN106777276B (en) Method and device for index storage of user information and native information display
CN106874392B (en) Method and device for index storage of audience user information and advertisement information delivery
US20150178746A1 (en) System and method for near real-time, unsolicited, unbiased demand collection for distributing consumer items
TWI752303B (en) Method and device for establishing marketing information delivery platform
CN104021140B (en) A kind of processing method and processing device of Internet video
CN105095442A (en) Multimedia data recommendation method and device
US20150073932A1 (en) Strength Based Modeling For Recommendation System
CN110910203A (en) Method and device for displaying content of commodity page
CN112927057A (en) Object information display method and device, computer equipment and readable storage medium
US20130332386A1 (en) Content management
US8224797B2 (en) System and method for validating data record
CN110175892B (en) Bidirectional thermal ball recommendation method and system based on consumer behaviors
US11373197B2 (en) Engaging retail customers over communication networks
CN111026963A (en) Data query method and device, and configuration information setting method and device
US20130339154A1 (en) System and method for assembling personalized offers
CN110852778A (en) Data processing method and device for business object
US20140325474A1 (en) Annotation-Based Item Description
CN110851431B (en) Data processing method and device for data center station
CN110929207A (en) Data processing method, device and computer readable storage medium
Michailidis Development of a Smart Ordering System
US20140325332A1 (en) Managing Annotation-Based Item Descriptions
CN115118616A (en) Display result testing method and device, computer equipment and storage medium

Legal Events

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