Account push method, device, server and storage medium

By generating a candidate list based on the account push weight and randomly selecting target elements, the problem of lack of targeted account push in the existing technology is solved, and pushing different degrees to different accounts is achieved, improving the accuracy and efficiency of push.

CN114139044BActive Publication Date: 2024-11-26BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202111258621.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-27
Publication Date
2024-11-26
Estimated Expiration
2041-10-27

AI Technical Summary

Technical Problem

When the prior art pushes an account for electronic devices, it is impossible to push different degrees to different accounts, and the random push method is not targeted.

Method used

By obtaining the set of candidate accounts associated with the account push trigger instruction, a candidate list is generated based on the push weight of the candidate account, and a preset number of target elements is randomly selected, thereby selecting the candidate account to form a push list, ensuring that the account with a larger push weight is Priority push.

Benefits of technology

It realizes pushing to different accounts at different degrees, meets the requirements of randomness and targetedness, improves the accuracy and efficiency of pushing, and avoids waste of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114139044B_ABST
    Figure CN114139044B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide an account push method, device, server and storage medium. The method includes: in response to an account push trigger instruction, obtaining a candidate account set associated with the account push trigger instruction; generating a candidate list according to the push weights of the candidate accounts in the candidate account set, wherein the candidate list includes at least one candidate account; and pushing the candidate list. Therefore, in the embodiments of the present disclosure, the candidate accounts that need to be pushed can be selected according to the push weights of the candidate accounts, so that different degrees of push can be achieved for different accounts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to an account push method, device, server and storage medium. Background Art

[0002] There are many types of accounts on the Internet platform. For example, some accounts have obtained personal certification on the Internet platform and are followed by many users. Among them, the nickname of such accounts is followed by an icon similar to the capital letter "V" in English, which is used to indicate that the user has obtained personal certification. Such accounts that have obtained personal certification can become predetermined types of accounts.

[0003] In the related art, some applications randomly generate a push list of accounts of a predetermined type, and then traverse the accounts in the list until an account that is not followed by an account of a certain electronic device is found, and then the account is pushed to the electronic device.

[0004] It can be seen that when performing account push for electronic devices, the random push method in the related art cannot achieve different degrees of push for different accounts. Summary of the invention

[0005] The present disclosure provides an account push method, device, server and storage medium to at least solve the problem that when performing account push for electronic devices, the random push method in the related art cannot achieve different degrees of push for different accounts. The technical solution of the present disclosure is as follows:

[0006] According to a first aspect of an embodiment of the present disclosure, there is provided an account push method, the method comprising:

[0007] In response to an account push trigger instruction, obtaining a candidate account set associated with the account push trigger instruction;

[0008] generating a candidate list according to the push weights of the candidate accounts in the candidate account set, wherein the candidate list includes at least one of the candidate accounts;

[0009] The candidate list is pushed.

[0010] In a possible implementation, generating a candidate list according to push weights of candidate accounts in the candidate account set includes:

[0011] According to the predetermined push weight of the candidate account, generating a target element associated with the candidate account, wherein the number of the target elements associated with the candidate account is proportional to the push weight of the candidate account, and the target element is a character used to identify the candidate account;

[0012] Randomly select a preset number of target elements;

[0013] Selecting at least one candidate account from the candidate accounts associated with the selected target element;

[0014] The candidate accounts to be selected form the candidate list.

[0015] In a possible implementation manner, the randomly selecting a preset number of target elements includes:

[0016] Numbering the target elements;

[0017] Randomly select a target element as the starting point;

[0018] Calculate the remainder of each integer from n to m divided by a preset value, wherein n is the number of the target element as the starting point, m=n+k-1, and k represents the preset number;

[0019] From the numbers of the target elements, select the target number that is the same as the obtained remainder;

[0020] Select the target element corresponding to the target number.

[0021] In a possible implementation manner, selecting at least one candidate account from the candidate accounts associated with the selected target element includes:

[0022] Determine candidate accounts that are not associated with the predetermined account among candidate accounts associated with the selected target element, and store them in the target set;

[0023] When the target set is a non-empty set, at least one candidate account is selected from the target set.

[0024] In one possible implementation, the method further includes:

[0025] When the target set is an empty set, return to the step of randomly selecting a preset number of target elements until the acquired target set is a non-empty set, or until the step of randomly selecting a preset number of target elements is repeated a preset number of times.

[0026] In a possible implementation, the acquiring the candidate account set associated with the account push trigger instruction includes:

[0027] Acquire candidate accounts that are associated with the account push trigger instruction and meet preset conditions, and form a candidate account set with the acquired candidate accounts;

[0028] The preset condition includes at least one of the following:

[0029] is not in an unusable condition;

[0030] The number of associated accounts is less than the preset threshold.

[0031] In a possible implementation manner, the push weight is proportional to a pre-configured push ratio of the candidate accounts.

[0032] According to a second aspect of an embodiment of the present disclosure, there is provided an account push device, the device comprising:

[0033] An account acquisition module, configured to, in response to an account push trigger instruction, acquire a candidate account set associated with the account push trigger instruction;

[0034] a list generating module, configured to generate a candidate list according to the push weights of the candidate accounts in the candidate account set, wherein the candidate list includes at least one of the candidate accounts;

[0035] A push module is configured to push the candidate list.

[0036] In one possible implementation, the list generation module includes:

[0037] an element generation submodule, configured to generate a target element associated with the candidate account according to a predetermined push weight of the candidate account, wherein the number of target elements associated with the candidate account is proportional to the push weight of the candidate account, and the target element is a character used to identify the candidate account;

[0038] A first selection submodule is configured to randomly select a preset number of target elements;

[0039] A second selection submodule is configured to select at least one candidate account from the candidate accounts associated with the selected target element;

[0040] The list generating submodule is configured to form the candidate list with the selected candidate accounts.

[0041] In a possible implementation manner, the first selection submodule is specifically configured as follows:

[0042] Numbering the target elements;

[0043] Randomly select a target element as the starting point;

[0044] Calculate the remainder of each integer from n to m divided by a preset value, wherein n is the number of the target element as the starting point, m=n+k-1, and k represents the preset number;

[0045] From the numbers of the target elements, select the target number that is the same as the obtained remainder;

[0046] Select the target element corresponding to the target number.

[0047] In a possible implementation manner, the second selection submodule is specifically configured as follows:

[0048] Determine candidate accounts that are not associated with the predetermined account among candidate accounts associated with the selected target element, and store them in the target set;

[0049] When the target set is a non-empty set, at least one candidate account is selected from the target set.

[0050] In one possible implementation, the device further includes:

[0051] The control processing module is configured to return to the step of randomly selecting a preset number of target elements when the target set is an empty set, until the acquired target set is a non-empty set, or until the step of randomly selecting a preset number of target elements is repeated a preset number of times.

[0052] In a possible implementation manner, the account acquisition module is specifically configured as follows:

[0053] Acquire candidate accounts that are associated with the account push trigger instruction and meet preset conditions, and form a candidate account set with the acquired candidate accounts;

[0054] The preset condition includes at least one of the following:

[0055] is not in an unusable condition;

[0056] The number of associated accounts is less than the preset threshold.

[0057] In a possible implementation manner, the push weight is proportional to a pre-configured push ratio of the candidate accounts.

[0058] According to a third aspect of an embodiment of the present disclosure, a server is provided, the server comprising:

[0059] processor;

[0060] a memory for storing instructions executable by the processor;

[0061] The processor is configured to execute the instructions to implement the account push method provided by the present disclosure.

[0062] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to execute the account push method described in the first aspect above.

[0063] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the account push method provided by the present disclosure is implemented.

[0064] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0065] The technical solution provided by the embodiment of the present disclosure can respond to an account push trigger instruction, obtain a candidate account set associated with the account push trigger instruction, and generate a candidate list including at least one candidate account according to the push weight of the candidate account in the candidate account set, and then push the candidate list. It can be seen that the technical solution of the embodiment of the present disclosure does not randomly select the candidate account to be pushed when performing account push, but selects it according to the push weight of the candidate account, so that different degrees of push can be achieved for different accounts.

[0066] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0068] Figure 1 is a flow chart of an account push method according to an exemplary embodiment;

[0069] Figure 2 is a flow chart showing another account push method according to an exemplary embodiment;

[0070] Figure 3 is one of the schematic diagrams of a directed graph according to an exemplary embodiment;

[0071] Figure 4 is a second schematic diagram of a directed graph according to an exemplary embodiment;

[0072] Figure 5 is a block diagram of an account push device according to an exemplary embodiment;

[0073] Figure 6 is a block diagram of another account push device according to an exemplary embodiment;

[0074] Figure 7 It is a block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION

[0075] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0076] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0077] Figure 1 The figure is a flow chart showing an account push method according to an exemplary embodiment. The account push method can be applied to a server.

[0078] like Figure 1 As shown, the account push method includes the following steps.

[0079] In step S11 , in response to the account push trigger instruction, a candidate account set associated with the account push trigger instruction is obtained.

[0080] Among them, the configuration interface of the account push can be displayed on the server, and an operation control can be set in the interface, so that when the server receives a click operation on the operation control, an account push trigger instruction is generated, and then step S11 is executed; or, a time interval can be set in advance, so that an account push trigger instruction is generated once every first preset time interval, and then step S11 is executed; or, when the client device receives an operation for triggering the execution of a preset task, it will send an account push request to the server. After receiving the account push request, the server will generate an account push trigger instruction, thereby triggering the server to execute step S11.

[0081] In addition, before step S11, identification information of multiple accounts may be collected in advance and stored in an account list, and the accounts identified by the identification information stored in the account list are the accounts in the candidate account set associated with the account push trigger instruction.

[0082] In step S12, a candidate list is generated according to the push weights of the candidate accounts in the candidate account set.

[0083] The candidate list includes at least one candidate account. That is, in the embodiment of the present disclosure, at least one candidate account is selected from the candidate account set according to the push weight of the candidate account, and the selected candidate accounts form a candidate list.

[0084] In step S13, the candidate list is pushed.

[0085] The server pushes the candidate list, that is, the server sends the identification information of the candidate accounts in the candidate list to the client device. After the client device receives the push information of the candidate accounts in the candidate list, it can display the received identification information of the candidate accounts.

[0086] In addition, the identification information of the candidate account may include at least one of the name, ID, and avatar information of the candidate account.

[0087] From the above steps S11 to S13, it can be known that the embodiment of the present disclosure can respond to the account push trigger instruction, obtain the candidate account set associated with the account push trigger instruction, and then generate a candidate list including at least one candidate account according to the push weight of the candidate account in the candidate account set, and then push the candidate list. It can be seen that the technical solution of the embodiment of the present disclosure does not randomly select the candidate account to be pushed when performing account push, but selects it according to the push weight of the candidate account, so that different degrees of push can be achieved for different accounts.

[0088] Figure 2 The figure is a flow chart showing an account push method according to an exemplary embodiment. The account push method can be applied to a server.

[0089] like Figure 2 As shown, the account push method includes the following steps.

[0090] In step S21, in response to the account push trigger instruction, a candidate account set associated with the account push trigger instruction is obtained.

[0091] Among them, the configuration interface of the account push can be displayed on the server, and an operation control can be set in the interface, so that when the server receives a click operation on the operation control, an account push trigger instruction is generated, and then step S11 is executed; or, a time interval can be set in advance, so that an account push trigger instruction is generated once every first preset time interval, and then step S11 is executed; or, when the client device receives an operation for triggering the execution of a preset task, it will send an account push request to the server. After receiving the account push request, the server will generate an account push trigger instruction, thereby triggering the server to execute step S11.

[0092] Optionally, the acquiring a candidate account set associated with the account push trigger instruction includes:

[0093] Acquire candidate accounts that are associated with the account push trigger instruction and meet preset conditions, and form a candidate account set with the acquired candidate accounts;

[0094] The preset condition includes at least one of the following:

[0095] is not in an unusable condition;

[0096] The number of associated accounts is less than the preset threshold.

[0097] In the embodiment of the present disclosure, the pushed account is required not to be in an unusable state, that is, the pushed account is required to be in an available state. Whether the account is in an available state can be recorded by a relevant mark. For example, an account marked with a first preset mark is in an available state, and an account marked with a second preset mark is in an unusable state.

[0098] In addition, the number of associated accounts is less than a preset threshold, indicating that the account is not yet well known by many users.

[0099] It can be seen that in the embodiments of the present disclosure, accounts that are not in an unusable state and / or accounts with a number of associated accounts less than a preset threshold can be screened out as candidate accounts that can be pushed.

[0100] Optionally, before step S11, identification information of multiple accounts may be collected in advance and stored in an account list, and the account identified by the identification information stored in the account list is the account associated with the account push trigger instruction. The above process of "obtaining candidate accounts associated with the account push trigger instruction and meeting the preset conditions" includes: obtaining candidate accounts meeting the preset conditions from the account list.

[0101] In addition, the account list can be updated at every second preset time interval, for example, accounts that meet the preset conditions are added to the account list at every second preset time interval, and accounts that do not meet the preset conditions are removed from the account list. In this way, accounts that are in a usable state can be added to the account list in a timely manner, and accounts that do not meet the requirements can be removed from the account list, so that the pushed accounts are valid accounts, thereby improving the accuracy of account push and enabling the resources of the pushed accounts to be effectively utilized.

[0102] For example, when the candidate account is a predetermined type of account (i.e., an account that has obtained personal authentication), accounts that do not meet the preset conditions may include: accounts whose number of associated accounts has reached the required value, accounts that are in an unusable state, and users who have other abnormal conditions and are not suitable for display.

[0103] In step S22, a target element associated with the candidate account is generated according to the predetermined push weight of the candidate account.

[0104] The number of target elements associated with the candidate account is proportional to the push weight of the candidate account, that is, the greater the push weight of the candidate account, the greater the number of target elements associated with the candidate account. In addition, different candidate accounts are associated with different target elements.

[0105] In addition, the target element is a character used to identify the candidate account.

[0106] For example, the target element associated with the first candidate account may be the letter "A", and the target element associated with the second candidate account may be the letter "B". If the push weight of the first candidate account is 3, the target element associated with the first candidate account may include 3 letters "A", that is, "AAA"; if the push weight of the second candidate account is 1, the target element associated with the second candidate account may include 1 letter "B", that is, "B".

[0107] Optionally, the push weight is proportional to a pre-configured push ratio of the candidate accounts.

[0108] The pre-configured push ratio of the candidate account indicates the push degree of the candidate account. Therefore, the embodiment of the present disclosure can determine the push weight according to the actual push demand of the account, so that push can be performed based on the push weight.

[0109] In addition, it should be noted that the push ratio of a candidate account refers to the ratio of the number of pushes of the candidate account within a preset time period to the sum of the number of pushes of multiple candidate accounts including the candidate account within the preset time period.

[0110] In step S23, a preset number of target elements are randomly selected.

[0111] Among them, since the larger the push weight of the candidate account, the more target elements associated with the candidate account are generated, therefore, when randomly selecting a preset number of target elements, the target elements associated with the candidate account with a larger push weight are more likely to be selected. Therefore, in the embodiment of the present disclosure, the candidate account with a larger push weight is more likely to be pushed.

[0112] In step S24, at least one candidate account is selected from the candidate accounts associated with the selected target element.

[0113] For example, if the target elements generated in step S22 include "AAAB", if two target elements are randomly selected in step S23, and the selected target elements are "A and B", at least one candidate account can be selected from the candidate accounts associated with "A and B" (i.e., the first candidate account and the second candidate account) for push.

[0114] In step S25, the candidate accounts to be selected form the candidate list.

[0115] In step S26, the candidate list is pushed.

[0116] The server pushes the candidate list, that is, the server sends the identification information of the candidate accounts in the candidate list to the client device. After the client device receives the push information of the candidate accounts in the candidate list, it can display the received identification information of the candidate accounts.

[0117] In addition, the identification information of the candidate account may include at least one of the name, ID, and avatar information of the candidate account.

[0118] It can be seen from the above steps S21 to S26 that the embodiments of the present disclosure can respond to an account push trigger instruction and obtain a set of candidate accounts associated with the account push trigger instruction, thereby generating a target element associated with the candidate account based on the predetermined push weight of the candidate account, and then randomly selecting a preset number of target elements, and selecting at least one candidate account from the candidate accounts associated with the selected target element to form a candidate list, and then pushing the candidate list.

[0119] Among them, the number of target elements associated with the candidate account is proportional to the push weight of the candidate account, that is, the larger the push of the candidate account, the more target elements associated with the candidate account are generated, so that when a preset number of target elements are randomly selected, the target elements associated with the candidate account with a larger push weight are more likely to be selected, and therefore, the candidate account with a larger push weight has a greater probability of being pushed. It can be seen that the embodiment of the present disclosure, when performing account push, not only meets the randomness requirement, but also can ensure that the account with a larger push weight has a larger push probability, and the account with a smaller push weight has a smaller push probability, so that different degrees of push can be achieved for different accounts.

[0120] Optionally, the randomly selecting a preset number of target elements includes:

[0121] Numbering the target elements;

[0122] Randomly select a target element as the starting point;

[0123] Calculate the remainder of each integer from n to m divided by a preset value, wherein n is the number of the target element as the starting point, m=n+k-1, and k represents the preset number;

[0124] From the numbers of the target elements, select the target number that is the same as the obtained remainder;

[0125] Select the target element corresponding to the target number.

[0126] For example, the target elements include AABA, and they are numbered 0, 1, 2, and 3. If 8 target elements are selected starting from the first target element, the remainders of each integer from 0 to 7 divided by 4 (i.e., the preset value) are calculated, wherein the remainders obtained are 0, 1, 2, 3, 0, 1, 2, 3, respectively, and the 8 target elements selected are: target elements numbered 0, 1, 2, 3, 0, 1, 2, 3; if 8 target elements are selected starting from the second target element, the remainders of each integer from 1 to 8 divided by 4 (i.e., the preset value) are calculated, wherein the remainders obtained are 1, 2, 3, 0, 1, 2, 3, 0, respectively, and the 8 target elements selected are: target elements numbered 1, 2, 3, 0, 1, 2, 3, 0, respectively.

[0127] Among them, a target element is randomly selected as the starting point, which satisfies the randomness. In addition, since the larger the push weight of the candidate account, the more target elements associated with the candidate account are generated, therefore, when randomly selecting a preset number of target elements, the target elements associated with the candidate account with a larger push weight have a greater probability of being selected, that is, the candidate account with a larger push weight has a greater probability of being pushed. Therefore, the embodiment of the present disclosure, when performing account push, not only meets the randomness requirement, but also can ensure that accounts with larger push weights have a greater push probability, and accounts with smaller push weights have a smaller push probability, so that different degrees of push can be achieved for different accounts.

[0128] Optionally, the randomly selecting a preset number of target elements includes:

[0129] Randomly sorting the target elements to obtain a target sorting;

[0130] According to the target sorting, the target elements are numbered;

[0131] Taking the target element as a node, constructing a directed graph;

[0132] A target element is randomly selected in the directed graph as a starting point, and the preset number of target elements are selected from the starting point along the connection direction of the directed graph.

[0133] A directed graph is composed of a group of vertices and a group of directed edges, and each directed edge connects an ordered pair of nodes. In the embodiment of the present disclosure, a target element is used as a node to form a directed graph.

[0134] For example, the preset number is 3, and the obtained directed graph is as follows Figure 4 As shown, if the randomly selected starting point is the target element numbered 4, then according to Figure 4 The connection direction of the directed graph shown in , starting from the target element numbered 4, the three target elements selected are: the target element numbered 4, the target element numbered 2, the target element numbered 3, that is, the three target elements selected are "A, A, B".

[0135] Among them, a target element is randomly selected as the starting point in the directed graph, which satisfies randomness. In addition, since the larger the push weight of the candidate account, the more target elements associated with the candidate account are generated, therefore, when randomly selecting a preset number of target elements, the probability of the target elements associated with the candidate account with a larger push weight being selected is greater, that is, the probability of the candidate account with a larger push weight being pushed to the electronic device is greater. Therefore, the embodiment of the present disclosure, when performing account push, not only meets the randomness requirement, but also can ensure that the account with a larger push weight has a larger push probability, and the account with a smaller push weight has a smaller push probability, so that different degrees of push can be achieved for different accounts.

[0136] Optionally, the target element is used as a node to construct a directed graph, including:

[0137] The maximum number among the numbers of the target elements is modulo a preset value to obtain a target parameter;

[0138] The larger of every two adjacent target elements in the target sort is pointed to the smaller one, and the target element represented by the maximum number is pointed to the target element numbered as the target parameter, so as to obtain the directed graph.

[0139] For example, the generated target elements include "AAAB". If the result of randomly sorting these target elements is "AABA", the target elements are numbered starting from 1 according to the sorting, and the larger of every two adjacent target elements points to the smaller one. Among them, the maximum number is "4". If the maximum number modulo "3" is obtained, the target parameter is "1", then the target element represented by the maximum number "4" points to the element numbered "1". Therefore, the resulting directed graph is as follows: Figure 3 As shown in the figure; if the maximum number modulo "2", the target parameter obtained is "2", then the target element represented by the maximum number "4" points to the target element numbered "2", so the resulting directed graph is as follows Figure 4 shown.

[0140] It should be noted here that the specific method of constructing a directed graph using the target element as a node is not limited to this, and other methods may also be used.

[0141] Optionally, selecting at least one candidate account from the candidate accounts associated with the selected target element includes:

[0142] Determine candidate accounts that are not associated with the predetermined account among candidate accounts associated with the selected target element, and store them in the target set;

[0143] When the target set is a non-empty set, at least one candidate account is selected from the target set.

[0144] The candidate account that has no association relationship with the predetermined account may refer to a candidate account that the predetermined account does not follow.

[0145] In addition, in the related art, when there are many candidate accounts in the push list that are followed by predetermined accounts, it will take a lot of time to find accounts in the push list that are not followed by predetermined accounts, which prolongs the waiting time for the push. In the embodiment of the present disclosure, when pushing accounts, candidate accounts that have no association with the predetermined accounts will be screened out from the candidate accounts associated with the selected target element and stored in the target set, so as to further select which candidate account or accounts to push in the target set. Therefore, in the embodiment of the present disclosure, the candidate accounts to be pushed are selected from the candidate accounts that have no association with the predetermined accounts, without having to go through and screen them one by one, thereby saving push time.

[0146] Therefore, the embodiments of the present disclosure can support a large number of candidate account push solutions, and will not drag down the service due to a large number of account pushes.

[0147] Optionally, the method further includes:

[0148] When the target set is an empty set, return to the step of randomly selecting a preset number of target elements until the acquired target set is a non-empty set, or until the step of randomly selecting a preset number of target elements is repeated a preset number of times.

[0149] That is, if the number of candidate accounts associated with the selected target element that have no association with the predetermined account is zero, a preset number of target elements are randomly selected again until the acquired target set is a non-empty set, or the number of times the preset number of target elements are randomly reselected reaches the preset number of times.

[0150] Among them, if after randomly reselecting a preset number of target elements, the obtained target set is a non-empty set, the account can be pushed; if the number of repeated executions of the step of randomly selecting a preset number of target elements reaches the preset number of times, it means that the account cannot be pushed. In this case, an indication information indicating that there is no candidate account to push can also be sent to the client device, so as to display a prompt information on the client device, thereby prompting the user that the candidate account cannot be pushed at present, thereby avoiding the user waiting for the push of the candidate account.

[0151] In summary, when the account push method of the embodiment of the present disclosure is applied to push of a predetermined type of account (i.e., an account that has obtained personal authentication), the specific implementation method can be as follows:

[0152] In the background of the server, the list of accounts of the predetermined type is scanned in a rotating manner and filtered according to the unusable status and the upper limit of the number of associated accounts. That is, the accounts of the predetermined type that are in a usable state are added to the list of accounts of the predetermined type, and the accounts that do not meet the preset requirements are removed to update the list of accounts of the predetermined type. Among them, the preset requirements include: not being in an unusable state, and the number of associated accounts is less than the preset threshold.

[0153] When the client device receives an operation for triggering a task to follow a predetermined type of account, it sends a predetermined type of account push request to the server. The server generates an account push trigger instruction based on the predetermined type of account push request, reads the account in the predetermined type of account list associated with the account push trigger instruction, and generates letters associated with the predetermined type of account based on the predetermined push weight of the predetermined type of account, wherein the push weight is determined based on the pre-configured push ratio of the predetermined type of account. Moreover, the greater the push weight, the greater the number of letters associated with the predetermined type of account. For example, if there are a first account and a second account in the predetermined type list, and the push weights are 3 and 1 respectively, the generated letters associated with the first account may be "AAA", and the letters associated with the second account may be "B".

[0154] After obtaining the letters associated with each predetermined type of account, these letters are numbered, and a preset number of letters are randomly selected, that is, a letter is randomly selected as the starting point, and then, the remainders of each integer from n to m divided by the preset value are calculated respectively, so as to select the target number that is the same as the obtained remainder from the number of the target element, and then select the target element corresponding to the target number, wherein n is the number of the letter as the starting point, m=n+k-1, and k represents the preset number.

[0155] Next, from the accounts of the predetermined type associated with the selected letters, accounts that are not followed by the account of the client device are selected and stored in the target set. For example, if the selected letters are "A, A, A", and the first account associated with A is not followed by the account of the client device, the target set includes the first account.

[0156] Then, when the target set is a non-empty set, the first account in the target set can be pushed to the client device; when the target set is an empty set, the step of randomly selecting a preset number of target elements is returned to until the acquired target set is a non-empty set, or until the step of randomly selecting a preset number of target elements is repeated a preset number of times.

[0157] When the first account in the target set is pushed to the client device, the information of the predetermined type of account and the task information can be combined in combination with the above-mentioned “task of paying attention to the predetermined type of account” and then sent to the client device.

[0158] As can be seen from the above, the account push method of the embodiment of the present disclosure not only meets the randomness requirements, but also can ensure that accounts with larger push weights have a larger push probability, and accounts with smaller push weights have a smaller push probability, so that different degrees of push can be achieved for different accounts. Moreover, it can also support push for accounts above 10w, and will not drag down the service due to a large number of account pushes. In addition, it can also flexibly and timely filter accounts that are in an unusable state or accounts whose number of associated accounts has met the demand, so that resources can be effectively utilized.

[0159] Figure 5 The figure is a block diagram of an account push device according to an exemplary embodiment. The account push device can be applied to a server.

[0160] Reference Figure 5 The account push device 50 includes an account acquisition module 51, a list generation module 52, and a push module 53.

[0161] The account acquisition module 51 is configured to, in response to an account push trigger instruction, acquire a candidate account set associated with the account push trigger instruction;

[0162] A list generating module 52 is configured to generate a candidate list according to the push weights of the candidate accounts in the candidate account set, wherein the candidate list includes at least one of the candidate accounts;

[0163] The push module 53 is configured to push the candidate list.

[0164] As can be seen from the above, the embodiment of the present disclosure can respond to the account push trigger instruction, obtain the candidate account set associated with the account push trigger instruction, and then generate a candidate list including at least one candidate account according to the push weight of the candidate account in the candidate account set, and then push the candidate list. It can be seen that the technical solution of the embodiment of the present disclosure, when performing account push, does not randomly select the candidate account to be pushed, but selects it according to the push weight of the candidate account, so that different degrees of push can be achieved for different accounts.

[0165] Figure 6 The figure is a block diagram of an account push device according to an exemplary embodiment. The account push device can be applied to a server.

[0166] Reference Figure 6The account push device 60 includes an account acquisition module 61, a list generation module 62, and a push module 63.

[0167] The account acquisition module 61 is configured to, in response to an account push trigger instruction, acquire a candidate account set associated with the account push trigger instruction;

[0168] A list generating module 62 is configured to generate a candidate list according to the push weights of the candidate accounts in the candidate account set, wherein the candidate list includes at least one of the candidate accounts;

[0169] The push module 63 is configured to push the candidate list.

[0170] In a possible implementation, the list generating module 62 includes:

[0171] The element generation submodule 621 is configured to generate a target element associated with the candidate account according to the predetermined push weight of the candidate account, wherein the number of target elements associated with the candidate account is proportional to the push weight of the candidate account, and the target element is a character used to identify the candidate account;

[0172] A first selection submodule 622 is configured to randomly select a preset number of target elements;

[0173] The second selection submodule 623 is configured to select at least one candidate account from the candidate accounts associated with the selected target element;

[0174] The list generating submodule 624 is configured to form the candidate list with the selected candidate accounts.

[0175] In a possible implementation manner, the first selection submodule 622 is specifically configured as follows:

[0176] Numbering the target elements;

[0177] Randomly select a target element as the starting point;

[0178] Calculate the remainder of each integer from n to m divided by a preset value, wherein n is the number of the target element as the starting point, m=n+k-1, and k represents the preset number;

[0179] From the numbers of the target elements, select the target number that is the same as the obtained remainder;

[0180] Select the target element corresponding to the target number.

[0181] In a possible implementation manner, the second selection submodule 623 is specifically configured as follows:

[0182] Determine candidate accounts that are not associated with the predetermined account among candidate accounts associated with the selected target element, and store them in the target set;

[0183] When the target set is a non-empty set, at least one candidate account is selected from the target set.

[0184] In a possible implementation manner, the device further includes:

[0185] The control processing module 64 is configured to return to the step of randomly selecting a preset number of target elements when the target set is an empty set, until the acquired target set is a non-empty set, or until the step of randomly selecting a preset number of target elements is repeated a preset number of times.

[0186] In a possible implementation manner, the account acquisition module 61 is specifically configured as follows:

[0187] Acquire candidate accounts that are associated with the account push trigger instruction and meet preset conditions, and form a candidate account set with the acquired candidate accounts;

[0188] The preset condition includes at least one of the following:

[0189] is not in an unusable condition;

[0190] The number of associated accounts is less than the preset threshold.

[0191] In a possible implementation manner, the push weight is proportional to a pre-configured push ratio of the candidate accounts.

[0192] From the above, it can be seen that the embodiments of the present disclosure can respond to an account push trigger instruction, obtain a set of candidate accounts associated with the account push trigger instruction, and thereby generate a target element associated with the candidate account based on the predetermined push weight of the candidate account, and then randomly select a preset number of target elements, and select at least one candidate account from the candidate accounts associated with the selected target element to form a candidate list, and then push the candidate list.

[0193] Among them, the number of target elements associated with the candidate account is proportional to the push weight of the candidate account, that is, the larger the push of the candidate account, the more target elements associated with the candidate account are generated, so that when a preset number of target elements are randomly selected, the target elements associated with the candidate account with a larger push weight are more likely to be selected, and therefore, the candidate account with a larger push weight has a greater probability of being pushed. It can be seen that the embodiment of the present disclosure, when performing account push, not only meets the randomness requirement, but also can ensure that the account with a larger push weight has a larger push probability, and the account with a smaller push weight has a smaller push probability, so that different degrees of push can be achieved for different accounts.

[0194] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0195] Figure 7 is a block diagram of a server according to an exemplary embodiment. Figure 7 , the server includes:

[0196] Processor 710;

[0197] A memory 720 for storing instructions executable by the processor;

[0198] The processor is configured to execute the instructions to implement the above-mentioned account push method.

[0199] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, and the above instructions can be executed by the processor 710 of the server to complete the above method. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0200] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the account push method described above is implemented.

[0201] In addition, the account push scheme provided herein is not inherently related to any specific computer, virtual system or other device. Various general systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing a system with the scheme of the present invention is obvious. In addition, the present invention is not directed to any specific programming language. It should be understood that the content of the present invention described herein can be implemented using various programming languages, and the description of the specific language above is to disclose the best mode of implementation of the present invention.

[0202] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0203] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those expressly recited in each claim. Rather, as reflected in the claims, inventive aspects lie in less than all of the features of the individual embodiments previously disclosed. Therefore, the claims that follow the detailed description are hereby expressly incorporated into the detailed description, with each claim itself serving as a separate embodiment of the present invention.

[0204] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0205] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.

[0206] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the information extraction scheme according to the disclosed embodiment. The present invention can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0207] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.

[0208] In summary, those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0209] It should be understood that the present disclosure is not limited to the exact structures that have been 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 limited only by the appended claims.

Claims

1. An account push method, characterized in that: The method comprises: In response to an account push trigger instruction, obtaining a candidate account set associated with the account push trigger instruction; generating a candidate list according to the push weights of the candidate accounts in the candidate account set, wherein the candidate list includes at least one of the candidate accounts; Pushing the candidate list; The generating a candidate list according to the push weights of the candidate accounts in the candidate account set includes: According to the predetermined push weight of the candidate account, generating a target element associated with the candidate account, wherein the number of the target elements associated with the candidate account is proportional to the push weight of the candidate account, and the target element is a character used to identify the candidate account; Randomly select a preset number of target elements; Selecting at least one candidate account from the candidate accounts associated with the selected target element; The candidate accounts to be selected form the candidate list.

2. The account push method according to claim 1, characterized in that: The randomly selecting a preset number of target elements includes: Numbering the target elements; Randomly select a target element as the starting point; Calculate the remainder of each integer from n to m divided by a preset value, wherein n is the number of the target element as the starting point, m=n+k-1, and k represents the preset number; From the numbers of the target elements, select the target number that is the same as the obtained remainder; Select the target element corresponding to the target number.

3. The account push method according to claim 1, characterized in that: The selecting at least one candidate account from the candidate accounts associated with the selected target element includes: Determine candidate accounts that are not associated with the predetermined account among candidate accounts associated with the selected target element, and store them in the target set; When the target set is a non-empty set, at least one candidate account is selected from the target set.

4. The account push method according to claim 3, characterized in that: The method further comprises: When the target set is an empty set, return to the step of randomly selecting a preset number of target elements until the acquired target set is a non-empty set, or until the step of randomly selecting a preset number of target elements is repeated a preset number of times.

5. The account push method according to claim 1, characterized in that: The step of obtaining a candidate account set associated with the account push trigger instruction includes: Acquire candidate accounts that are associated with the account push trigger instruction and meet preset conditions, and form a candidate account set with the acquired candidate accounts; The preset condition includes at least one of the following: is not in an unusable condition; The number of associated accounts is less than the preset threshold.

6. The account push method according to claim 1, characterized in that: The push weight is proportional to the pre-configured push ratio of the candidate accounts.

7. An account push device, characterized in that: The device comprises: An account acquisition module, configured to, in response to an account push trigger instruction, acquire a candidate account set associated with the account push trigger instruction; a list generating module, configured to generate a candidate list according to the push weights of the candidate accounts in the candidate account set, wherein the candidate list includes at least one of the candidate accounts; A push module, configured to push the candidate list; The list generation module comprises: an element generation submodule, configured to generate a target element associated with the candidate account according to a predetermined push weight of the candidate account, wherein the number of target elements associated with the candidate account is proportional to the push weight of the candidate account, and the target element is a character used to identify the candidate account; A first selection submodule is configured to randomly select a preset number of target elements; A second selection submodule is configured to select at least one candidate account from the candidate accounts associated with the selected target element; The list generating submodule is configured to form the candidate list with the selected candidate accounts.

8. The account push device according to claim 7, characterized in that: The first selection submodule is specifically configured as follows: Numbering the target elements; Randomly select a target element as a starting point; calculate the remainder of each integer from n to m divided by a preset value, wherein n is the number of the target element as the starting point, m=n+k-1, and k represents the preset number; From the numbers of the target elements, select the target number that is the same as the obtained remainder; Select the target element corresponding to the target number.

9. The account push device according to claim 7, characterized in that: The second selection submodule is specifically configured as follows: Determine candidate accounts that are not associated with the predetermined account among candidate accounts associated with the selected target element, and store them in the target set; When the target set is a non-empty set, at least one candidate account is selected from the target set.

10. The account push device according to claim 9, characterized in that: The device also includes: The control processing module is configured to return to the step of randomly selecting a preset number of target elements when the target set is an empty set, until the acquired target set is a non-empty set, or until the step of randomly selecting a preset number of target elements is repeated a preset number of times.

11. The account push device according to claim 7, characterized in that: The account acquisition module is specifically configured as follows: Acquire candidate accounts that are associated with the account push trigger instruction and meet preset conditions, and form a candidate account set with the acquired candidate accounts; The preset condition includes at least one of the following: is not in an unusable condition; The number of associated accounts is less than the preset threshold.

12. The account push device according to claim 7, characterized in that: The push weight is proportional to the pre-configured push ratio of the candidate accounts.

13. A server, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the account push method as described in any one of claims 1 to 6.

14. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to execute the account push method according to any one of claims 1 to 6.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the account push method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Device and method for recommending video to user

    CN102957949A

  • Media content recommendation method and device

    CN104978314A

  • Method and system for recommending commercial tenant

    CN105205689A

  • Group recommendation method and device, readable storage medium and electronic device

    CN109753604A

  • Information pushing method and device, computer equipment and storage medium

    CN110941766A