CN111611289A - Article information searching and sorting method and device, storage medium and electronic equipment - Google Patents

Article information searching and sorting method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111611289A
CN111611289A CN201910132679.2A CN201910132679A CN111611289A CN 111611289 A CN111611289 A CN 111611289A CN 201910132679 A CN201910132679 A CN 201910132679A CN 111611289 A CN111611289 A CN 111611289A
Authority
CN
China
Prior art keywords
information
article information
sequence
parameter
article
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.)
Pending
Application number
CN201910132679.2A
Other languages
Chinese (zh)
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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201910132679.2A priority Critical patent/CN111611289A/en
Publication of CN111611289A publication Critical patent/CN111611289A/en
Pending legal-status Critical Current

Links

Images

Abstract

The disclosure relates to the technical field of computers, and particularly discloses a method and a device for searching and sorting article information, a storage medium and electronic equipment. The method comprises the following steps: acquiring search keywords, and determining target interpenetration parameters corresponding to the search keywords according to trigger configuration information; traversing the current article information sequence based on the target interpenetration parameter, acquiring a new warehousing article information position parameter, and acquiring a first position sequence according to the new warehousing article information position parameter; performing position rotation on the first position sequence to obtain a second position sequence; and updating the current article information sequence according to the second position sequence, and feeding back the updated current article information sequence to a client. The present disclosure updates the current item information sequence according to the second position sequence to increase the exposure rate of the newly warehoused item information in the search ranking of the item information, thereby balancing the exposure rate of each item information in the search ranking.

Description

Article information searching and sorting method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method for searching and sorting item information, a device for searching and sorting item information, a storage medium, and an electronic device.
Background
With the popularization of computer technology and internet technology, many websites provide various search engines for returning corresponding information search results based on keywords input by users. The existing search results are sorted according to the historical behaviors of the user, such as comprehensive indexes of collection rate, browsing rate, click rate and the like, the variability of the first pages of the list for displaying the article information is not large according to the existing information sorting mode, particularly for the information of new articles to be put in storage, the collection rate and the click rate of the information are usually low, and the exposure degree of the information of the new articles to be put in storage in the search results is low.
In order to improve the exposure rate of the information of the newly warehoused articles and balance the exposure rate of the information of various articles, in the prior art, the scores corresponding to the information of the newly warehoused articles are added according to a preset calculation rule, and the scores are involved in the sequencing of the search results. However, by means of sorting the scores corresponding to the item information, the search results obtained by inputting the same keyword by different users have small difference, which limits the exposure opportunities of more item information to a certain extent; meanwhile, the method cannot accurately control the number of the new warehousing article information in the search result, so that the exposure rate of various article information is unbalanced.
It is to be noted that the information invented in the background section above is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure aims to provide a method and an apparatus for searching and sorting article information, a computer storage medium, and an electronic device, so as to overcome, at least to a certain extent, the problem that exposure rates of various article information cannot be balanced due to the fact that the number of newly warehoused article information is difficult to control in the searching and sorting of the article information. In order to solve the above problems, the present disclosure adopts the following technical solutions.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to one aspect of the present disclosure, there is provided a search ranking method of item information, including:
acquiring search keywords, and determining target interpenetration parameters corresponding to the search keywords according to trigger configuration information; traversing the current article information sequence based on the target interpenetration parameter, acquiring a new warehousing article information position parameter, and acquiring a first position sequence according to the new warehousing article information position parameter; performing position rotation on the first position sequence to obtain a second position sequence; and updating the current article information sequence according to the second position sequence, and feeding back the updated current article information sequence to a client.
In an exemplary embodiment of the present disclosure, before determining the target interspersing parameter corresponding to the search keyword according to the trigger configuration information, the method further includes: according to the search keyword, acquiring article information related to the search keyword from a first article database to obtain a first article information sequence; sequentially intercepting a preset amount of article information from the first article information sequence to form a second article information sequence; acquiring the information quantity of the newly warehoused articles in the second article information sequence; and comparing the information quantity of the newly warehoused articles with a preset threshold, and determining whether article information recall is performed according to a comparison result so as to obtain the current article information sequence.
In an exemplary embodiment of the present disclosure, the comparing the information quantity of the newly warehoused articles with a preset threshold, and determining whether to recall article information according to a comparison result to obtain the current article information sequence includes: if the information quantity of the newly warehoused articles is smaller than the preset threshold, the difference value between the preset threshold and the information quantity of the newly warehoused articles is obtained; sequentially acquiring equivalent new warehousing article information from a second article database according to the difference, wherein the second article database does not contain the new warehousing article information in the second article information sequence; and replacing the article information corresponding to the difference value and the tail end of the second article information sequence with the new warehousing article information to obtain the current article information sequence.
In an exemplary embodiment of the present disclosure, the trigger configuration information includes query configuration information and category configuration information; the acquiring of the search keyword and the determining of the target interpenetration parameter corresponding to the search keyword according to the trigger configuration information comprise: matching the search keywords with the query configuration information, and determining target interpenetration parameters corresponding to the search keywords according to matching results; if the target query configuration information matched with the search keyword exists in the query configuration information, acquiring a parameter corresponding to the target query configuration information, and taking the parameter as the target insertion parameter; and if the target query configuration information matched with the search keyword does not exist in the query configuration information, matching the search keyword with the category configuration information, and determining a target interpenetration parameter corresponding to the search keyword according to a matching result.
In an exemplary embodiment of the present disclosure, the category configuration information includes first category configuration information and second category configuration information; if the target query configuration information matched with the search keyword does not exist in the query configuration information, matching the search keyword with the category configuration information, and determining a target insertion parameter corresponding to the search keyword according to a matching result, including: matching the search keyword with the first category configuration information to obtain a first category level; matching the search keyword with the second category configuration information to obtain a second category level; and comparing the first category level with the second category level, and determining the target penetration parameter according to the comparison result.
In an exemplary embodiment of the present disclosure, the comparing the first category level and the second category level, and determining the target insertion parameter according to a comparison result includes: if the first category level is greater than or equal to the second category level, taking a parameter corresponding to the first category level as the target penetration parameter; and if the first category level is smaller than the second category level, taking the parameter corresponding to the second category level as the target penetration parameter.
In an exemplary embodiment of the present disclosure, before traversing the current item information sequence based on the target insertion parameter, and acquiring a new warehousing item information position parameter, so as to obtain a first position sequence according to the new warehousing item information position parameter, the method further includes: and acquiring the article information with the preset identification in the current article information sequence, and storing the position parameter corresponding to the article information with the preset identification according to the original relative position relation so as to acquire a new warehousing article information list.
In an exemplary embodiment of the present disclosure, the target break-through parameter comprises a density parameter; traversing the current article information sequence based on the target interpenetration parameter to obtain a new warehousing article information position parameter, so as to obtain a first position sequence according to the new warehousing article information position parameter, wherein the method comprises the following steps:
comparing the information count value N with the density parameter q; if the information count value N is smaller than or equal to the density parameter q, sequentially judging whether an article information position parameter M of article information corresponding to the information count value N is contained in the new warehousing article information list, acquiring the new warehousing article information position parameter according to a judgment result, and updating the new warehousing article information list according to the new warehousing article information position parameter; if the information count value N is larger than the density parameter q, judging whether new warehousing article information exists in the currently traversed article information, acquiring a position parameter of the new warehousing article information according to a judgment result and a preset rule, and updating the new warehousing article information list according to the position parameter of the new warehousing article information; updating the information count value N to 1, and repeating the steps until the complete traversal of the article information in the current article information sequence is completed; obtaining the first position sequence according to the obtained information position parameters of the newly warehoused articles; wherein, N is 1, 2, … …, q +1, q is positive integer; m is 1, 2, … …, M is a positive integer and is not more than the preset number.
In an exemplary embodiment of the present disclosure, if the information count value N is less than or equal to the density parameter q, determining whether an article information position parameter M of article information corresponding to the information count value N is included in the new warehousing article information list, obtaining the new warehousing article information position parameter according to a determination result, and updating the new warehousing article information list according to the new warehousing article information position parameter, includes: and if the article information position parameter M of the article information corresponding to the information count value N is contained in the new warehousing article information list, taking the article information position parameter M in the new warehousing article information list as the new warehousing article information position parameter, and deleting the article information position parameter M in the new warehousing article information list.
In an exemplary embodiment of the present disclosure, if the information count value N is greater than the density parameter q, determining whether there is new warehousing article information in currently traversed article information, obtaining a position parameter of the new warehousing article information according to a predetermined rule according to a determination result, and updating the new warehousing article information list according to the position parameter of the new warehousing article information, includes: if no new warehousing article information exists in the current traversed article information, acquiring article information positioned at the first position in the current new warehousing article information list as target article information; acquiring a current date, and converting the current date into a day value in one year; comparing the daily value with the density parameter, and acquiring a new warehousing article information position parameter corresponding to the target article information according to a comparison result; and deleting the article information position parameter corresponding to the target article information in the new warehousing article information list.
In an exemplary embodiment of the disclosure, the rotating the first position sequence to obtain the second position sequence includes: arranging and combining the information position parameters of each new warehousing article in the first position sequence to obtain an arrangement mode sequence; acquiring a current user identifier, and acquiring a target arrangement mode from the arrangement sequence according to the current user identifier; and arranging the information position parameters of the newly warehoused articles in the first position sequence according to the target arrangement mode to obtain the second position sequence.
In an exemplary embodiment of the present disclosure, the obtaining a current user identifier and obtaining a target arrangement manner from the arrangement sequence according to the current user identifier includes: acquiring identification information of a preset digit in the user identification; and obtaining a remainder between the identification information and the arrangement number in the arrangement mode sequence, and taking the arrangement mode corresponding to the remainder in the arrangement mode sequence as the target arrangement mode.
In an exemplary embodiment of the present disclosure, the updating the current item information sequence according to the second location sequence includes: and sequencing the article information in the current article information sequence according to the second position sequence so as to update the current article information sequence.
According to an aspect of the present disclosure, there is provided a search ranking apparatus of item information, including:
the determining module is used for acquiring search keywords and determining target interpenetration parameters corresponding to the search keywords according to trigger configuration information; the acquisition module is used for traversing the current article information sequence based on the target interpenetration parameter, acquiring the information position parameter of the new warehousing article, and acquiring a first position sequence according to the information position parameter of the new warehousing article; the position rotation module is used for performing position rotation on the first position sequence to obtain a second position sequence; and the updating module is used for updating the current article information sequence according to the second position sequence and feeding back the updated current article information sequence to the client.
According to an aspect of the present disclosure, there is provided a computer storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the method for searching and ranking item information as described in any one of the above.
According to an aspect of the present disclosure, there is provided an electronic device including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above item information search and ranking methods via execution of the executable instructions.
In the method for searching and sorting the item information in the exemplary embodiment of the disclosure, the position parameter of the newly-put item information is determined based on the acquired target insertion parameter to form a first position sequence, and the current item information sequence is updated according to a second position sequence after position rotation to obtain a final search and sorting result of the item information. On one hand, traversing the current article information sequence based on the target interpenetration parameters to obtain the information position parameters of the newly-warehoused articles, ensuring that the information of the newly-warehoused articles in the current article information sequence has enough occupation to increase the exposure of the information of the newly-warehoused articles, and further balancing the exposure rate of the article information in the searching and sorting process; meanwhile, the first position sequence formed according to the position parameters of the newly warehoused article information is subjected to position alternation, so that the search sequencing result of single article information obtained according to the same keyword is avoided, and the exposure chance is increased for more article information to a greater extent; on the other hand, the whole operation process is carried out aiming at the position parameters of the article information, and only the current article information sequence is needed to be updated according to the obtained second position sequence, so that the direct operation of the article information is avoided, and the execution efficiency of the whole process is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 schematically shows a flowchart of a search ranking method of item information according to an exemplary embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart for obtaining a current item information sequence according to an exemplary embodiment of the present disclosure;
FIG. 3 schematically illustrates a flow chart for obtaining target break-through parameters according to an exemplary embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow diagram for determining a target interspersing parameter based on search keywords and category configuration information, in accordance with an illustrative embodiment;
fig. 5 schematically shows a schematic diagram of a first sequence of locations-a list of newly warehoused item information-a current item information sequence, according to an exemplary embodiment of the present disclosure;
FIG. 6 schematically illustrates a flow chart for obtaining a first sequence of locations according to an exemplary embodiment of the present disclosure;
fig. 7 schematically shows a flowchart for acquiring information location parameters of newly warehoused articles according to preset rules according to an exemplary embodiment of the present disclosure;
FIG. 8 schematically illustrates a flow chart for obtaining an arrangement of targets according to an exemplary embodiment of the present disclosure;
fig. 9 schematically shows a structural diagram of a search ranking device for item information according to an exemplary embodiment of the present disclosure;
FIG. 10 schematically illustrates a schematic diagram of a storage medium according to an exemplary embodiment of the present disclosure; and
fig. 11 schematically shows a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
Exemplary embodiments will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their detailed description will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in the form of software, or in one or more software-hardened modules, or in different networks and/or processor devices and/or microcontroller devices.
In the related art in the field, in order to balance the exposure rate of the article information in the search ranking to a certain extent, the newly-put article information is supported. The exposure rate of the item information in the search ranking generally depends on the comprehensive factors of being collected, clicked and the like. In the related technology, an additional score is calculated for the information of the newly-warehoused articles based on a preset rule and added into the original score, and the score added with the additional score is participated in subsequent search sequencing.
Accordingly, the search ranking method for the article information in the related art has the following defects: for the information of the newly warehoused articles, the collection rate and the click rate are lower, so that the information of the newly warehoused articles has fewer exposure opportunities; meanwhile, due to the difference of the required quantity of different types of object information, the quantity of the new warehousing object information in the searching and sorting result cannot be reasonably controlled only by adding an additional score to the new warehousing object information, so that the exposure rate of the object information is unbalanced.
In view of the problems in the related art, in the present exemplary embodiment, a method for searching and sorting item information is provided first. Referring to fig. 1, the method for searching and sorting item information may include the following steps:
step S110: acquiring search keywords, and determining target interpenetration parameters corresponding to the search keywords according to trigger configuration information;
step S120: traversing the current article information sequence based on the target interpenetration parameter, acquiring a new warehousing article information position parameter, and acquiring a first position sequence according to the new warehousing article information position parameter;
step S130: performing position rotation on the first position sequence to obtain a second position sequence;
step S140: and updating the current article information sequence according to the second position sequence, and feeding back the updated current article information sequence to a client.
According to the method for searching and sorting the article information in the embodiment of the present example, on one hand, the current article information sequence is traversed based on the target penetration parameter to obtain the position parameter of the information of the new warehousing article, so that it is ensured that the information of the new warehousing article in the current article information sequence has enough occupation to increase the exposure rate of the information of the new warehousing article, and further, the exposure rate of the article information in the searching and sorting is balanced; meanwhile, the first position sequence formed according to the position parameters of the newly warehoused article information is subjected to position alternation, so that the search sequencing result of single article information obtained according to the same keyword is avoided, and the exposure chance is increased for more article information to a greater extent; on the other hand, the whole operation process is carried out aiming at the position parameters of the article information, and only the current article information sequence is needed to be updated according to the obtained second position sequence, so that the direct operation of the article information is avoided, and the execution efficiency of the whole process is improved.
The search ranking method of the item information in the present exemplary embodiment will be further explained below.
In step S110, a search keyword is obtained, and a target insertion parameter corresponding to the search keyword is determined according to the trigger configuration information.
In an exemplary embodiment of the present disclosure, the search keyword is search information, such as "material", "vessel", etc., input to the search engine by the user; the triggering configuration information is a basis for determining target interpenetration parameters according to the search key words, and comprises inquiry configuration information and category configuration information; the target insertion parameters include density parameters and target number, where the density parameters indicate that new warehousing article information needs to be ensured to exist in each density parameter of article information in the article information sequence, for example, when the density parameter is 5, it needs to be ensured that new warehousing article information exists in each 5 article information in the article information sequence, and the number of the specifically existing new warehousing article information may be 1, 2, or 5, which is not specifically limited by the disclosure. The number of recalls refers to the number of new warehoused article information alternates, and the number of the warehoused article information alternates by 1 or 2 every time. Specifically, before determining a target insertion parameter corresponding to a search keyword according to trigger configuration information, it is necessary to ensure that there is enough new warehousing article information in a current article information sequence, and prevent loss of too much new warehousing article information due to information screening and information truncation in a search sorting process, fig. 2 shows a flow chart for acquiring the current article information sequence, and as shown in fig. 2, the process specifically includes the following steps:
in step S210, according to the search keyword, item information related to the search keyword is obtained from the first item database to obtain a first item information sequence.
In an exemplary embodiment of the present disclosure, first, item information related to a search keyword is obtained from a first item database, for example, the search keyword is "ware" or "laboratory", then all item information having "ware" or "laboratory" in the name in the first item database is obtained, and then the item information is sorted according to a preset rule of a system to obtain a first item information sequence. The preset system rules include rules for sorting according to clicking, collection and the like, and the special requirements are not made for the rules.
In step S220, a preset number of item information are sequentially extracted from the first item information sequence to form a second item information sequence.
In an exemplary embodiment of the present disclosure, based on the search sorting rule of the search engine, only a preset number of item information are usually shown in the search result, so that the preset number of item information may be sequentially intercepted from the first item information sequence acquired in step S210 to form a second item information sequence. The preset number may be set according to actual needs, for example, only 300 item information, 400 item information, and the like are displayed, which is not specifically limited by the present disclosure.
In step S230, the new warehousing item information quantity in the second item information sequence is acquired.
In the exemplary embodiment of the present disclosure, in step S220, the information of the newly warehoused article sorted later in the first article information sequence may be cut off, so that the information quantity of the newly warehoused article in the second article information sequence is insufficient, and therefore, in order to increase the exposure rate of the information of the newly warehoused article, the information quantity of the newly warehoused article in the second article information sequence may be acquired, and further determination operation may be performed according to the information quantity of the newly warehoused article.
In step S240, the number of newly warehoused article information is compared with a preset threshold, and whether article information recall is performed is determined according to the comparison result, so as to obtain the current article information sequence.
In an exemplary embodiment of the present disclosure, the item information recall refers to acquiring a specific number of newly-warehoused item information from a second item database to replace the same amount of item information in a second item information sequence. Specifically, the process of determining whether to recall the article information according to the comparison result of the information quantity of the newly-warehoused articles and the preset threshold value comprises the following steps: if the information quantity of the newly warehoused articles is larger than or equal to a preset threshold value, article information recalling operation is not carried out; and if the quantity of the information of the newly-warehoused articles is less than a preset threshold value, article information recalling operation is carried out. Specifically, firstly, a difference value between a preset threshold value and the information quantity of the newly warehoused articles is obtained; then, sequentially acquiring equivalent newly-warehoused article information from a second article database according to the difference; and finally, replacing the article information corresponding to the difference value and the tail end of the second article information sequence with the new warehousing article information to obtain the current article information sequence, thereby ensuring that enough new warehousing article information is possessed in the obtained current article information sequence. The second article database does not include the information of the newly warehoused article in the second article information sequence, and the second article database may be a set formed by all pieces of information of the newly warehoused article in a third article information sequence obtained by intercepting the article information in the second article information sequence from the first article information sequence.
For example, as described in step S210, first, the first item information sequence obtained according to the search keyword "vessel" or "laboratory" is "a B C D E F G H i j k l", where lower case letters represent newly warehoused item information; then, according to step S220, a preset number (for example, 8) of item information is sequentially intercepted from the above sequence to form a second item information sequence "a B C D ef"; next, according to step S230, acquiring the number of newly warehoused item information in the second item information sequence as 2(a and c); and finally, comparing the information quantity of the newly warehoused articles with a preset threshold (for example, 5), if the information quantity of the newly warehoused articles is smaller than the preset threshold, obtaining that the difference value between the preset threshold and the information quantity of the newly warehoused articles is 3, obtaining 3 pieces of information of the newly warehoused articles from a second article database, and replacing 3 pieces of information of the articles at the tail end of the second article information sequence with the 3 pieces of information of the newly warehoused articles to obtain a current article information sequence. The second article database may be a set "f i j kl" formed by all the newly warehoused article information in the third article information sequence "f G H i j k l", and based on this, the obtained current article information sequence is "a B C f ij".
It should be noted that, in order to ensure that the new warehousing article information arranged in the first article information sequence in the front still has a relatively high exposure rate in the acquired current article information sequence, the new warehousing article information recalled from the second article database is sequentially placed at the corresponding position at the tail of the second article information sequence. However, the newly-warehoused article information recalled from the second article database can also be placed at a specified position of the second article information sequence according to actual requirements, such as the middle part of the second article information sequence and the like, and the disclosure includes but is not limited to the article information recall position.
In an exemplary embodiment of the present disclosure, based on the current item information sequence obtained in the above steps S210 to S240, a target insertion parameter corresponding to the search keyword is determined according to the trigger configuration information. Meanwhile, as can be seen from step S110, the trigger configuration information includes query configuration information and category configuration information, but the priority of the query configuration information is higher than that of the category configuration information, so the search keyword is first matched with the query configuration information. Specifically, fig. 3 shows a flowchart for obtaining the target insertion parameter, and as shown in fig. 3, the process includes the following steps: in step S310, matching the search keyword with the query configuration information, and determining a target insertion parameter corresponding to the search keyword according to a matching result; in step S320, if there is target query configuration information matching the search keyword in the query configuration information, obtaining a parameter corresponding to the target query configuration information, and taking the parameter as a target insertion parameter; in step S330, if there is no target query configuration information matching the search keyword in the query configuration information, the search keyword is matched with the category configuration information, and a target insertion parameter corresponding to the search keyword is determined according to a matching result. The category configuration information comprises first configuration information and second configuration information. Fig. 4 shows a flowchart for determining target insertion parameters according to the search keywords and category configuration information, as can be seen from fig. 4, the process includes the following steps:
in step S410, the search keyword is matched with the first category configuration information to obtain a first category level.
In an exemplary embodiment of the present disclosure, the first category configuration information may be keyword category configuration information, that is, if the search keyword includes a preset keyword, the first category level in the keyword category configuration information corresponding to the search keyword is correspondingly obtained, where the preset keyword may be a brand category keyword, such as "hua yi", "ann zhan", and the like. Meanwhile, the first category configuration information may include categories at multiple levels (e.g., category 1, category 2, category 3, etc.), and a higher category level represents a finer category division, for example, category 1 is millet, and category 2 and category 3 may be a millet mobile phone and a millet mobile phone note 3, respectively. It should be noted that, when the search keyword is matched with the first category configuration information, the matching priority with a high category level is higher, that is, the search keyword is firstly matched with category 3, then is sequentially matched with category 2 and category 1, and finally, the first category level is determined according to the matching result with the highest category level.
In step S420, the search keyword is matched with the second category configuration information to obtain a second category level.
In an exemplary embodiment of the present disclosure, the second category configuration information may be non-keyword category configuration information, that is, if the search keyword does not include a preset keyword or includes a keyword that is not stored in the system, the second category level in the non-keyword category configuration information corresponding to the search keyword is correspondingly obtained. The second category configuration information may also include categories of multiple levels, which is similar to the first category configuration information, and is not described in detail in this disclosure.
It should be noted that, in the present disclosure, the first category configuration information and the second category configuration information are distinguished according to whether the first category configuration information and the second category configuration information include a preset keyword, and of course, the first category configuration information and the second category configuration information may also be distinguished in other manners according to actual situations, for example, the first category configuration information and the second category configuration information may be distinguished according to whether the first category configuration information and the second category configuration information are daily high-speed retrieval type article information, and the present disclosure includes but is not limited to the above-mentioned manner of distinguishing the category configuration information.
In step S430, the first category level and the second category level are compared, and the target insertion parameter is determined according to the comparison result.
In an exemplary embodiment of the present disclosure, the category level is a reference for determining the search depth of the search keyword, and the higher the category level is, the higher the search depth of the corresponding search keyword is, that is, the finer the level of the search keyword search is. Specifically, if the first category level is greater than or equal to the second category level, taking the parameter corresponding to the first category level as the target penetration parameter; and if the first category level is smaller than the second category level, taking the parameter corresponding to the second category level as the target penetration parameter.
In step S120, traversing the current article information sequence based on the target insertion parameter, and acquiring a new warehousing article information position parameter, so as to obtain a first position sequence according to the new warehousing article information position parameter.
In an exemplary embodiment of the present disclosure, the new warehousing item information location parameter refers to a location identifier corresponding to the new warehousing item information; the first position sequence is a sequence formed according to the position parameters of the information of the newly warehoused articles, is a sequence formed only by the position marks corresponding to the information of the newly warehoused articles, and is not a structural body containing a large amount of information. Before traversing the current article information sequence based on the target interpenetration parameter to obtain a new warehousing article information position parameter so as to obtain a first position sequence according to the new warehousing article information position parameter, article information (for example, article information contains 'new') with preset identification in the current article information sequence needs to be obtained, and position parameters corresponding to the article information with the preset identification are stored according to an original relative position relation so as to obtain a new warehousing article information list. Fig. 5 shows a schematic diagram of a first location sequence-a list of newly warehoused item information-a current item information sequence of the present disclosure, as shown in fig. 5, the schematic diagram includes: the system comprises a first position sequence, a new warehousing article information list and a current article information sequence. In order to obtain a first position sequence, firstly, obtaining position parameters corresponding to article information with preset identification in a current article information sequence, and storing the position parameters according to an original relative position relation to obtain a new warehousing article information list; and then, traversing the current article information sequence based on the target interpenetration parameter, and acquiring the information position parameter of the newly-warehoused article so as to obtain a first position sequence according to the information position parameter of the newly-warehoused article.
Fig. 6 shows a flowchart for acquiring a first sequence of positions, and as shown in fig. 6, the process of acquiring the first sequence of positions includes the following steps:
in step S610, the information count value N is compared with the density parameter q.
In an exemplary embodiment of the present disclosure, the information count value N is compared with the density parameter q to determine whether the information count value N is less than or equal to the density parameter q.
In step S620, if the information count N is less than or equal to the density parameter q, sequentially determining whether the article information position parameter M of the article information corresponding to the information count N is included in the new warehousing article information list, acquiring a new warehousing article information position parameter according to the determination result, and updating the new warehousing article information list according to the new warehousing article information position parameter. Specifically, if the article information position parameter M of the article information corresponding to the information count value N is included in the new-warehousing article information list, the article information position parameter M in the new-warehousing article information list is used as the new-warehousing article information position parameter, and the article information position parameter M in the new-warehousing article information list is deleted.
In step S630, if the information count N is greater than the density parameter q, it is determined whether new warehousing article information exists in the currently traversed article information, and a new warehousing article information location parameter is obtained according to the determination result and a preset rule, and a new warehousing article information list is updated according to the new warehousing article information location parameter. Specifically, fig. 7 shows a flowchart for acquiring information location parameters of newly warehoused articles according to preset rules, and as shown in fig. 7, the process specifically includes: in step S710, if no new warehousing item information exists in the currently traversed item information, acquiring item information located at the first position in the current new warehousing item information list as target item information; in step S720, a current date is obtained, and the current date is converted into a day value in one year, for example, if the current date is 1 month and 28 days, the current date is 28 th day in one year; in step S730, comparing the daily value with the density parameter, and obtaining a new warehousing article information position parameter corresponding to the target article information according to the comparison result; in step S740, the item information location parameter corresponding to the target item information in the newly-put item information list is deleted.
And updating the information count value N to 1, and repeating the steps until the complete traversal of the article information in the current article information sequence is completed. And finally, obtaining a first position sequence according to the acquired position parameters of the information of the newly-warehoused articles.
Wherein, N is 1, 2, … …, q +1, q is a positive integer; m is 1, 2, … …, M is a positive integer and is not more than the preset number.
It should be noted that traversing the current item information sequence based on the target insertion parameter is to determine whether new warehousing item information exists in every q items of information, and if yes, not performing item information insertion operation; and if the position parameter does not meet the preset. The density parameter may be set according to practical situations, and may be, for example, 5, 6, 10, etc., which is not specifically limited by the present disclosure. Of course, in the process of acquiring the new warehousing item information location parameter according to steps S710 to S740, the number of the acquired target item information may be determined according to the target number in the acquired target insertion parameter, for example, may be one or more, and the corresponding acquired new warehousing item information location parameter is also one or more, which is not particularly limited in this disclosure.
In step S640, a first position sequence is formed according to the acquired position parameters of the newly warehoused article information.
In an exemplary embodiment of the present disclosure, all the acquired new warehoused article information location parameters are formed into a first location sequence.
The process of acquiring the first sequence of positions of the present disclosure is explained with continued reference to fig. 5. Traversing the current article information sequence, and correspondingly traversing the article information b when the information count N is 2*B in the information list of the newly warehoused articles is the information of the newly warehoused articles*Deleting the corresponding position parameter M-2, storing the M-2 in a first position sequence, namely, in the first position sequence, newly storing the warehousing article information b*Is located at the first position; when the information count N is 6 and is greater than the density parameter (for example, 5), it is determined that the article information (a, b) has been currently traversed*,c,d*And e) judging whether new warehousing article information exists or not, if so, not performing article information insertion operation; and if the position parameter does not exist, performing article information interleaving operation according to a preset rule, acquiring a new warehousing article information position parameter according to an article information interleaving operation result, and forming a first position sequence according to the acquired new warehousing article information position parameter. It should be noted that fig. 5 is only a partial example of the first position sequence, the new warehousing item information list and the current item information sequence, actual information thereof is more complicated, and the present disclosure includes, but is not limited to, the information of the first position sequence, the new warehousing item information list and the current item information sequence.
In step S130, the first position sequence is position-rotated to obtain a second position sequence.
In an exemplary embodiment of the present disclosure, the position rotation refers to sequential adjustment of the acquired first position sequence according to a preset rule. Specifically, the process comprises the following steps: firstly, arranging and combining information position parameters of each new warehousing article in a first position sequence to obtain an arrangement mode sequence; then, acquiring a current user identifier, and acquiring a target arrangement mode from the arrangement sequence according to the current user identifier; and finally, arranging the information position parameters of the newly-put articles in the first position sequence according to the target arrangement mode to obtain a second position sequence. For example, if the acquired first position sequence is "123", correspondingly, the information position parameters of each new warehousing item in the sequence are arranged and combined, the acquired sequence of arrangement modes is "123132213231312321", which includes 6 different arrangement modes, and correspondingly, if the first position sequence includes n information position parameters of new warehousing items, the acquired sequence of arrangement modes includes (n +1) × n/2 arrangement modes.
It should be noted that the permutation and combination in the present disclosure is a full permutation, and of course, a partial permutation in the full permutation may be selected to form the permutation sequence according to actual situations, and the present disclosure includes, but is not limited to, the above-mentioned manner of obtaining the permutation sequence.
Further, fig. 8 shows a flowchart of obtaining the target arrangement, and as shown in fig. 8, obtaining the target arrangement may include the following steps: in step S810, identification information of a preset number of digits in the user identification is obtained; in step S820, a remainder between the identification information and the number of permutations in the permutation sequence is obtained, and the permutation corresponding to the remainder in the permutation sequence is set as a target permutation. The user identification can be a string of hexadecimal numbers, or a string of decimal numbers, etc.; the preset digit can be 5 bits, 6 bits, and the like; since the user identifier usually has a large difference at the end (the last few bits), the position for acquiring the identifier information may be the end of the user identifier, and of course, other positions may be selected as the position for acquiring the identifier information according to the actual situation of the user identifier. Based on this, different users have differences in the finally obtained remainders due to differences in user identifiers, so that through position rotation, search sequencing of the article information can form different results for different user identifiers, more newly-put article information can have exposure opportunities, and the exposure rate of the article information is balanced.
In step S140, the current item information sequence is updated according to the second position sequence, and the updated current item information sequence is fed back to the client.
In an exemplary embodiment of the present disclosure, the item information in the current item information sequence is sorted by the second position sequence to update the current item information sequence. For example, if the second position sequence is "321", the item information located at the third position in the current item information sequence is updated to the first position, and correspondingly, the item information located at the first position in the current item information sequence is updated to the third position. Since each item information includes a large amount of information, if the operations in the steps S110 to S130 are directly performed on the item information itself, the execution efficiency will be seriously affected, and the execution efficiency can be improved by performing the operations on the item information location parameter corresponding to the item information.
In addition, in an exemplary embodiment of the disclosure, a device for searching and sorting item information is also provided. Referring to fig. 9, the search ranking apparatus 900 for item information may include a determination module 910, an acquisition module 920, a location rotation module 930, and an update module 940. In particular, the amount of the solvent to be used,
a determining module 910, configured to obtain a search keyword, and determine a target insertion parameter corresponding to the search keyword according to trigger configuration information;
an obtaining module 920, configured to traverse the current item information sequence based on the target insertion parameter, obtain a new warehousing item information position parameter, and obtain a first position sequence according to the new warehousing item information position parameter;
a position rotation module 930 configured to perform position rotation on the first position sequence to obtain a second position sequence;
an updating module 940, configured to update the current item information sequence according to the second position sequence, and feed back the updated current item information sequence to the client.
The search ranking means for item information in the present exemplary embodiment is further explained below.
In an exemplary embodiment of the present disclosure, the determining module may include a first item information sequence obtaining unit, configured to obtain, according to the search keyword, item information related to the search keyword from a first item library to obtain a first item information sequence.
In an exemplary embodiment of the disclosure, the determining module may further include an information intercepting unit, configured to sequentially intercept a preset number of item information from the first item information sequence to form a second item information sequence.
In an exemplary embodiment of the disclosure, the determining module may further include a quantity counting unit, configured to obtain a quantity of the information of the newly warehoused item in the second item information sequence.
In an exemplary embodiment of the present disclosure, the determining module may further include an article information sequence obtaining unit, configured to compare the number of newly-warehoused article information with a preset number, and determine whether to recall article information according to a comparison result, so as to obtain the current article information sequence.
In an exemplary embodiment of the disclosure, the determining module may further include a difference calculating unit, and if the number of the information about the newly warehoused items is smaller than the preset number, the difference calculating unit is configured to calculate a difference between the preset number and the number of the information about the newly warehoused items.
In an exemplary embodiment of the present disclosure, the determining module may further include a new warehousing item information obtaining unit, configured to sequentially obtain, according to the difference, equivalent new warehousing item information from a second item database, where the second item database does not include new warehousing item information in the second item information sequence.
In an exemplary embodiment of the disclosure, the determining module may further include an item information replacing unit, configured to replace the item information corresponding to the difference value at the end of the second item information sequence with the new warehousing item information, so as to obtain the current item information sequence.
In an exemplary embodiment of the present disclosure, the trigger configuration information includes query configuration information and category configuration information.
In an exemplary embodiment of the disclosure, the determining module may further include a matching unit, configured to match the search keyword with the query configuration information, and determine a target insertion parameter corresponding to the search keyword according to a matching result.
In an exemplary embodiment of the present disclosure, the determining module may further include a parameter obtaining unit, configured to, if there is target query configuration information that matches the search keyword in the query configuration information, obtain a parameter corresponding to the target query configuration information, and use the parameter as the target insertion parameter; and if the target query configuration information matched with the search keyword does not exist in the query configuration information, matching the search keyword with the category configuration information, and determining a target interpenetration parameter corresponding to the search keyword according to a matching result.
In an exemplary embodiment of the present disclosure, the category configuration information includes first category configuration information and second category configuration information.
In an exemplary embodiment of the present disclosure, the determining module may further include a target insertion parameter determining unit, configured to match the search keyword with the first category configuration information to obtain a first category level; matching the search keyword with the second category configuration information to obtain a second category level; and comparing the first category level with the second category level, and determining the target penetration parameter according to the comparison result.
In an exemplary embodiment of the present disclosure, if the first category level is greater than or equal to the second category level, taking a parameter corresponding to the first category level as the target puncturing parameter;
and if the first category level is smaller than the second category level, taking the parameter corresponding to the second category level as the target penetration parameter.
In an exemplary embodiment of the present disclosure, the apparatus further includes a new warehousing item information list obtaining module, configured to obtain item information with a preset identifier in the current item information sequence, and store a position parameter corresponding to the item information with the preset identifier according to an original relative position relationship, so as to obtain a new warehousing item information list.
In an exemplary embodiment of the present disclosure, the target break-through parameter includes a density parameter.
In an exemplary embodiment of the present disclosure, the obtaining module may include a comparing unit configured to compare the information count value N with the density parameter q.
In an exemplary embodiment of the present disclosure, the obtaining module may further include an updating unit, configured to sequentially determine whether an article information position parameter M of the article information corresponding to the information count value is included in the new warehousing article information list if the information count value N is less than or equal to the density parameter q, obtain the new warehousing article information position parameter according to a determination result, and update the new warehousing article information list according to the new warehousing article information position parameter; if the information count value N is larger than the density parameter q, judging whether new warehousing article information exists in the currently traversed article information, acquiring a position parameter of the new warehousing article information according to a judgment result and a preset rule, and updating the new warehousing article information list according to the position parameter of the new warehousing article information; and updating the information count value N to 1, and repeating the steps until the complete traversal of the article information in the current article information sequence is completed.
Wherein, N is 1, 2, … …, q and q are positive integers; m is 1, 2, … …, M is a positive integer and is not more than the preset number.
In an exemplary embodiment of the present disclosure, the obtaining module may further include a first location sequence determining unit, configured to obtain the first location sequence according to the obtained location parameter of the newly-warehoused item information.
In an exemplary embodiment of the present disclosure, the obtaining module may further include a deleting unit, configured to, if an article information location parameter M of the article information corresponding to the information count value N is included in the new warehousing article information list, take the article information location parameter M in the new warehousing article information list as the new warehousing article information location parameter, and delete the article information location parameter M in the new warehousing article information list.
In an exemplary embodiment of the present disclosure, the obtaining module may further include a target article information obtaining unit, configured to obtain, if no new warehousing article information exists in the currently traversed article information, article information located at a first position in the new warehousing article information list as the target article information.
In an exemplary embodiment of the disclosure, the obtaining module may further include a comparing unit, configured to compare the day value with the density parameter, and obtain a new warehousing item information location parameter corresponding to the target item information according to a comparison result.
In an exemplary embodiment of the present disclosure, the position rotation module may include an arrangement unit, configured to arrange and combine the position parameters of the new warehoused articles in the first position sequence to obtain an arrangement mode sequence.
In an exemplary embodiment of the present disclosure, the position rotation module may further include a target arrangement obtaining unit, configured to obtain a current user identifier, and obtain a target arrangement from the arrangement sequence according to the current user identifier.
In an exemplary embodiment of the present disclosure, the position rotation module may further include a target position sequence obtaining unit, configured to arrange the position parameters of the newly warehoused article information in the first position sequence according to the target arrangement manner, so as to obtain a second position sequence.
Since each functional module of the device for searching and sorting item information according to the exemplary embodiment of the present disclosure is the same as that in the embodiment of the method for searching and sorting item information, it is not described herein again.
It should be noted that although several modules or units of the search ranking means of item information are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in the exemplary embodiments of the present disclosure, a computer storage medium capable of implementing the above method is also provided. On which a program product capable of implementing the above-described method of the present specification is stored. In some possible embodiments, aspects of the present disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
Referring to fig. 10, a program product 1000 for implementing the above method according to an exemplary embodiment of the present disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided. As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 1100 according to such an embodiment of the disclosure is described below with reference to fig. 11. The electronic device 1100 shown in fig. 11 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present disclosure.
As shown in fig. 11, electronic device 1100 is embodied in the form of a general purpose computing device. The components of the electronic device 1100 may include, but are not limited to: the at least one processing unit 1110, the at least one memory unit 1120, a bus 1130 connecting different system components (including the memory unit 1120 and the processing unit 1110), and a display unit 1140.
Wherein the storage unit stores program code that is executable by the processing unit 1110 to cause the processing unit 1110 to perform steps according to various exemplary embodiments of the present disclosure as described in the above section "exemplary methods" of the present specification.
The storage unit 1120 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)1121 and/or a cache memory unit 1122, and may further include a read-only memory unit (ROM) 1123.
The storage unit 1120 may also include a program/utility 1124 having a set (at least one) of program modules 1125, such program modules 1125 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1130 may be representative of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1100 may also communicate with one or more external devices 1200 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1100, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1100 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 1150. Also, the electronic device 1100 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 1160. As shown, the network adapter 1160 communicates with the other modules of the electronic device 1100 over the bus 1130. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (16)

1. A method for searching and sorting item information is characterized by comprising the following steps:
acquiring search keywords, and determining target interpenetration parameters corresponding to the search keywords according to trigger configuration information;
traversing the current article information sequence based on the target interpenetration parameter, acquiring a new warehousing article information position parameter, and acquiring a first position sequence according to the new warehousing article information position parameter;
performing position rotation on the first position sequence to obtain a second position sequence;
and updating the current article information sequence according to the second position sequence, and feeding back the updated current article information sequence to a client.
2. The item information search sorting method according to claim 1, wherein before determining the target interspersing parameter corresponding to the search keyword according to the trigger configuration information, the method further comprises:
according to the search keyword, acquiring article information related to the search keyword from a first article database to obtain a first article information sequence;
sequentially intercepting a preset amount of article information from the first article information sequence to form a second article information sequence;
acquiring the information quantity of the newly warehoused articles in the second article information sequence;
and comparing the information quantity of the newly warehoused articles with a preset threshold, and determining whether article information recall is performed according to a comparison result so as to obtain the current article information sequence.
3. The method for searching and sorting the item information according to claim 2, wherein the comparing the number of the newly warehoused item information with a preset threshold and determining whether to recall the item information according to the comparison result to obtain the current item information sequence comprises:
if the information quantity of the newly warehoused articles is smaller than the preset threshold, the difference value between the preset threshold and the information quantity of the newly warehoused articles is obtained;
sequentially acquiring equivalent new warehousing article information from a second article database according to the difference, wherein the second article database does not contain the new warehousing article information in the second article information sequence;
and replacing the article information corresponding to the difference value and the tail end of the second article information sequence with the new warehousing article information to obtain the current article information sequence.
4. The item information search sorting method according to claim 1, wherein the trigger configuration information includes query configuration information and category configuration information; the acquiring of the search keyword and the determining of the target interpenetration parameter corresponding to the search keyword according to the trigger configuration information comprise:
matching the search keywords with the query configuration information, and determining target interpenetration parameters corresponding to the search keywords according to matching results;
if the target query configuration information matched with the search keyword exists in the query configuration information, acquiring a parameter corresponding to the target query configuration information, and taking the parameter as the target insertion parameter;
and if the target query configuration information matched with the search keyword does not exist in the query configuration information, matching the search keyword with the category configuration information, and determining a target interpenetration parameter corresponding to the search keyword according to a matching result.
5. The item information search sorting method according to claim 4, wherein the category configuration information includes first category configuration information and second category configuration information;
if the target query configuration information matched with the search keyword does not exist in the query configuration information, matching the search keyword with the category configuration information, and determining a target insertion parameter corresponding to the search keyword according to a matching result, including:
matching the search keyword with the first category configuration information to obtain a first category level;
matching the search keyword with the second category configuration information to obtain a second category level;
and comparing the first category level with the second category level, and determining the target penetration parameter according to the comparison result.
6. The item information searching and sorting method according to claim 5, wherein the comparing the first category level and the second category level and determining the target insertion parameter according to a comparison result includes:
if the first category level is greater than or equal to the second category level, taking a parameter corresponding to the first category level as the target penetration parameter;
and if the first category level is smaller than the second category level, taking the parameter corresponding to the second category level as the target penetration parameter.
7. The method according to claim 2, wherein before traversing the current item information sequence based on the target puncturing parameter to obtain a new-warehousing item information location parameter, and obtaining a first location sequence according to the new-warehousing item information location parameter, the method further comprises:
and acquiring the article information with the preset identification in the current article information sequence, and storing the position parameter corresponding to the article information with the preset identification according to the original relative position relation so as to acquire a new warehousing article information list.
8. The item information search sorting method according to claim 7, wherein the target insertion parameter includes a density parameter; traversing the current article information sequence based on the target interpenetration parameter to obtain a new warehousing article information position parameter, so as to obtain a first position sequence according to the new warehousing article information position parameter, wherein the method comprises the following steps:
comparing the information count value N with the density parameter q;
if the information count value N is smaller than or equal to the density parameter q, sequentially judging whether an article information position parameter M of article information corresponding to the information count value N is contained in the new warehousing article information list, acquiring the new warehousing article information position parameter according to a judgment result, and updating the new warehousing article information list according to the new warehousing article information position parameter;
if the information count value N is larger than the density parameter q, judging whether new warehousing article information exists in the currently traversed article information, acquiring a position parameter of the new warehousing article information according to a judgment result and a preset rule, and updating the new warehousing article information list according to the position parameter of the new warehousing article information;
updating the information count value N to 1, and repeating the steps until the complete traversal of the article information in the current article information sequence is completed;
obtaining the first position sequence according to the obtained information position parameters of the newly warehoused articles;
wherein, N is 1, 2, … …, q +1, q is positive integer; m is 1, 2, … …, M is a positive integer and is not more than the preset number.
9. The method according to claim 8, wherein if the information count value N is less than or equal to the density parameter q, determining whether an article information position parameter M of the article information corresponding to the information count value N is included in the new warehousing article information list, acquiring the new warehousing article information position parameter according to a determination result, and updating the new warehousing article information list according to the new warehousing article information position parameter, includes:
and if the article information position parameter M of the article information corresponding to the information count value N is contained in the new warehousing article information list, taking the article information position parameter M in the new warehousing article information list as the new warehousing article information position parameter, and deleting the article information position parameter M in the new warehousing article information list.
10. The method for searching and sorting the item information according to claim 8, wherein if the information count N is greater than the density parameter q, determining whether new warehousing item information exists in currently traversed item information, obtaining the new warehousing item information position parameter according to a predetermined rule according to a determination result, and updating the new warehousing item information list according to the new warehousing item information position parameter, includes:
if no new warehousing article information exists in the current traversed article information, acquiring article information positioned at the first position in the current new warehousing article information list as target article information;
acquiring a current date, and converting the current date into a day value in one year;
comparing the daily value with the density parameter, and acquiring a new warehousing article information position parameter corresponding to the target article information according to a comparison result;
and deleting the article information position parameter corresponding to the target article information in the new warehousing article information list.
11. The method according to claim 1, wherein the rotating the position of the first position sequence to obtain a second position sequence comprises:
arranging and combining the information position parameters of each new warehousing article in the first position sequence to obtain an arrangement mode sequence;
acquiring a current user identifier, and acquiring a target arrangement mode from the arrangement sequence according to the current user identifier;
and arranging the information position parameters of the newly warehoused articles in the first position sequence according to the target arrangement mode to obtain the second position sequence.
12. The method according to claim 11, wherein the obtaining a current user identifier and a target arrangement manner from the arrangement sequence according to the current user identifier comprises:
acquiring identification information of a preset digit in the user identification;
and obtaining a remainder between the identification information and the arrangement number in the arrangement mode sequence, and taking the arrangement mode corresponding to the remainder in the arrangement mode sequence as the target arrangement mode.
13. The method according to claim 1, wherein the updating the current item information sequence according to the second position sequence comprises:
and sequencing the article information in the current article information sequence according to the second position sequence so as to update the current article information sequence.
14. An apparatus for searching and sorting item information, the apparatus comprising:
the determining module is used for acquiring search keywords and determining target interpenetration parameters corresponding to the search keywords according to trigger configuration information;
the acquisition module is used for traversing the current article information sequence based on the target interpenetration parameter, acquiring the information position parameter of the new warehousing article, and acquiring a first position sequence according to the information position parameter of the new warehousing article;
the position rotation module is used for performing position rotation on the first position sequence to obtain a second position sequence;
and the updating module is used for updating the current article information sequence according to the second position sequence and feeding back the updated current article information sequence to the client.
15. A storage medium having stored thereon a computer program which, when executed by a processor, implements a search ranking method of item information according to any one of claims 1 to 13.
16. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of search ranking of item information of any of claims 1 to 13 via execution of the executable instructions.
CN201910132679.2A 2019-02-22 2019-02-22 Article information searching and sorting method and device, storage medium and electronic equipment Pending CN111611289A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910132679.2A CN111611289A (en) 2019-02-22 2019-02-22 Article information searching and sorting method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910132679.2A CN111611289A (en) 2019-02-22 2019-02-22 Article information searching and sorting method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111611289A true CN111611289A (en) 2020-09-01

Family

ID=72199579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910132679.2A Pending CN111611289A (en) 2019-02-22 2019-02-22 Article information searching and sorting method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111611289A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112070562A (en) * 2020-09-20 2020-12-11 广州智物互联科技有限公司 Commodity identification method based on big data and electronic commerce and e-commerce platform
CN112434183A (en) * 2020-11-30 2021-03-02 北京达佳互联信息技术有限公司 Search result sorting method, device, equipment and storage medium
CN112434183B (en) * 2020-11-30 2024-05-17 北京达佳互联信息技术有限公司 Method, device, equipment and storage medium for ordering search results

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060115432A (en) * 2005-05-06 2006-11-09 (주)나무커뮤니케이션 A consulting system and method for advertising consult using website
US20110184946A1 (en) * 2010-01-28 2011-07-28 International Business Machines Corporation Applying synonyms to unify text search with faceted browsing classification
CN105630836A (en) * 2014-11-05 2016-06-01 阿里巴巴集团控股有限公司 Searching result sorting method and apparatus
CN106294661A (en) * 2016-08-04 2017-01-04 百度在线网络技术(北京)有限公司 A kind of extended search method and device
US20170364599A1 (en) * 2016-06-17 2017-12-21 Infields, Llc. Application for enhancing metadata tag uses for social interaction
CN107832432A (en) * 2017-11-15 2018-03-23 北京百度网讯科技有限公司 A kind of search result ordering method, device, server and storage medium
CN108509499A (en) * 2018-02-27 2018-09-07 北京三快在线科技有限公司 A kind of searching method and device, electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060115432A (en) * 2005-05-06 2006-11-09 (주)나무커뮤니케이션 A consulting system and method for advertising consult using website
US20110184946A1 (en) * 2010-01-28 2011-07-28 International Business Machines Corporation Applying synonyms to unify text search with faceted browsing classification
CN105630836A (en) * 2014-11-05 2016-06-01 阿里巴巴集团控股有限公司 Searching result sorting method and apparatus
US20170364599A1 (en) * 2016-06-17 2017-12-21 Infields, Llc. Application for enhancing metadata tag uses for social interaction
CN106294661A (en) * 2016-08-04 2017-01-04 百度在线网络技术(北京)有限公司 A kind of extended search method and device
US20180039675A1 (en) * 2016-08-04 2018-02-08 Baidu Online Network Technology (Beijing) Co., Ltd. Extended search method and apparatus
CN107832432A (en) * 2017-11-15 2018-03-23 北京百度网讯科技有限公司 A kind of search result ordering method, device, server and storage medium
CN108509499A (en) * 2018-02-27 2018-09-07 北京三快在线科技有限公司 A kind of searching method and device, electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112070562A (en) * 2020-09-20 2020-12-11 广州智物互联科技有限公司 Commodity identification method based on big data and electronic commerce and e-commerce platform
CN112434183A (en) * 2020-11-30 2021-03-02 北京达佳互联信息技术有限公司 Search result sorting method, device, equipment and storage medium
CN112434183B (en) * 2020-11-30 2024-05-17 北京达佳互联信息技术有限公司 Method, device, equipment and storage medium for ordering search results

Similar Documents

Publication Publication Date Title
US11341419B2 (en) Method of and system for generating a prediction model and determining an accuracy of a prediction model
CN108416055B (en) Method and device for establishing pinyin database, electronic equipment and storage medium
US10275486B2 (en) Multi-system segmented search processing
US10664481B2 (en) Computer system programmed to identify common subsequences in logs
US10296497B2 (en) Storing a key value to a deleted row based on key range density
WO2018200185A1 (en) Cloud inference system
KR20160100226A (en) Method and device for constructing on-line real-time updating of massive audio fingerprint database
CN114817651B (en) Data storage method, data query method, device and equipment
CN104376115A (en) Fuzzy word determining method and device based on global search
CN111435406A (en) Method and device for correcting database statement spelling errors
CN111611289A (en) Article information searching and sorting method and device, storage medium and electronic equipment
CN111125158B (en) Data table processing method, device, medium and electronic equipment
CN110991169B (en) Risk content variety identification method and device and electronic equipment
CN109460318B (en) Import method of rollback archive collected data, computer device and computer readable storage medium
CN111666302A (en) User ranking query method, device, equipment and storage medium
CN113986921A (en) Blacklist query method, system, electronic equipment and storage medium
CN110134888B (en) Tree structure node retrieval method, device, storage medium and server
CN112579673A (en) Multi-source data processing method and device
CN111782958A (en) Recommendation word determining method and device, electronic device and storage medium
CN112286874B (en) Time-based file management method
CN117313111B (en) Labeling and indexing method and system based on automobile information security test cases
CN117609175B (en) Configurable industrial control file acquisition and analysis method and system
CN110866144B (en) Song retrieval method and device
CN109508318B (en) Memory space counting method and device, electronic equipment and readable storage medium
WO2021238691A1 (en) Method and device for displaying user interface for managing storage 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