CN111460270B - Information pushing method and device - Google Patents

Information pushing method and device Download PDF

Info

Publication number
CN111460270B
CN111460270B CN201910049840.XA CN201910049840A CN111460270B CN 111460270 B CN111460270 B CN 111460270B CN 201910049840 A CN201910049840 A CN 201910049840A CN 111460270 B CN111460270 B CN 111460270B
Authority
CN
China
Prior art keywords
request
parameter value
target
parameter
identifications
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910049840.XA
Other languages
Chinese (zh)
Other versions
CN111460270A (en
Inventor
薛银松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910049840.XA priority Critical patent/CN111460270B/en
Publication of CN111460270A publication Critical patent/CN111460270A/en
Application granted granted Critical
Publication of CN111460270B publication Critical patent/CN111460270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses an information pushing method and device. One embodiment of the method comprises the following steps: acquiring a target request identification set; for a request corresponding to a request identifier in a target request identifier set, acquiring a first parameter value and a second parameter value of the request; responding to the fact that the first parameter values of the requests corresponding to the request identifiers in the target request identifier set are equal, and selecting the request identifiers of the target number according to the sequence from the second parameter value to the large parameter value so that the selected request identifiers meet the preset condition; and in response to receiving a request corresponding to the selected request identifier, pushing target information to a terminal sending the request. The embodiment realizes targeted information push.

Description

Information pushing method and device
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to an information pushing method and device.
Background
With the rapid development of internet technology, internet users are also growing. In many scenarios, targeted information pushing is required for different requests. In addition, some preset conditions need to be met.
Disclosure of Invention
The embodiment of the disclosure provides an information pushing method and device.
In a first aspect, an embodiment of the present disclosure provides an information pushing method, including: acquiring a target request identification set; for a request corresponding to a request identifier in a target request identifier set, acquiring a first parameter value and a second parameter value of the request; responding to the fact that the first parameter values of the requests corresponding to the request identifiers in the target request identifier set are equal, and selecting the request identifiers of the target number according to the sequence from the second parameter value to the large parameter value so that the selected request identifiers meet the preset condition; and in response to receiving a request corresponding to the selected request identifier, pushing target information to a terminal sending the request.
In some embodiments, the preset conditions include at least one of: the total number of the requests corresponding to the selected request identifications is larger than or equal to a preset request quantity threshold value, the sum of the second parameter values of the requests corresponding to the selected request identifications is smaller than or equal to a preset second parameter threshold value, and the product of the total number of the requests corresponding to the selected request identifications and the first parameter value is larger than or equal to a preset first parameter threshold value.
In some embodiments, before pushing the target information to the terminal that sends the request in response to receiving the request corresponding to the selected request identifier, the method further includes: in response to determining that the first parameter values of the requests corresponding to the request identifications in the target request identification set are not equal, the request identifications in the target request identification set are divided into at least one request identification group based on the first parameter values.
In some embodiments, before pushing the target information to the terminal that sends the request in response to receiving the request corresponding to the selected request identifier, the method further includes: for a request identification group in at least one request identification group, acquiring an average first parameter value and an average second parameter value corresponding to the request identification group; and selecting a target number of request identifications from at least one request identification group based on the average first parameter value and the average second parameter value so that the selected request identifications meet a preset condition.
In some embodiments, obtaining the first parameter value and the second parameter value of the request includes: acquiring the characteristic information of the request; and inputting the characteristic information into a pre-trained parameter prediction model to obtain a first parameter value and a second parameter value of the request, wherein the parameter prediction model is used for representing the corresponding relation between the characteristic information of the request and the first parameter value and the second parameter value.
In a second aspect, embodiments of the present disclosure provide an information pushing apparatus, including: a set acquisition unit configured to acquire a target request identification set; a parameter value obtaining unit configured to obtain a first parameter value and a second parameter value of a request corresponding to a request identifier in a target request identifier set; the first selecting unit is configured to select the request identifiers of the target number according to the sequence of the second parameter values from the small value to the large value in response to determining that the first parameter values of the requests corresponding to the request identifiers in the target request identifier set are equal, so that the selected request identifiers meet the preset condition; and the sending unit is configured to push the target information to the terminal sending the request in response to receiving the request corresponding to the selected request identifier.
In some embodiments, the preset conditions include at least one of: the total number of the requests corresponding to the selected request identifications is larger than or equal to a preset request quantity threshold value, the sum of the second parameter values of the requests corresponding to the selected request identifications is smaller than or equal to a preset second parameter threshold value, and the product of the total number of the requests corresponding to the selected request identifications and the first parameter value is larger than or equal to a preset first parameter threshold value.
In some embodiments, the apparatus further comprises: and a dividing unit configured to divide the request identifications in the target request identification set into at least one request identification group based on the first parameter values in response to determining that the first parameter values of the requests corresponding to the request identifications in the target request identification set are not equal.
In some embodiments, the apparatus further comprises: an average parameter value obtaining unit configured to obtain, for a request identifier group in at least one request identifier group, an average first parameter value and an average second parameter value corresponding to the request identifier group; and a second selecting unit configured to select a target number of request identifications from at least one request identification group based on the average first parameter value and the average second parameter value so that the selected request identifications satisfy a preset condition.
In some embodiments, the parameter value acquisition unit is further configured to: acquiring the characteristic information of the request; and inputting the characteristic information into a pre-trained parameter prediction model to obtain a first parameter value and a second parameter value of the request, wherein the parameter prediction model is used for representing the corresponding relation between the characteristic information of the request and the first parameter value and the second parameter value.
In a third aspect, embodiments of the present disclosure provide a server comprising: one or more processors; a storage device having one or more programs stored thereon; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described in any of the implementations of the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method as described in any of the implementations of the first aspect.
The method and apparatus provided by the embodiments of the present disclosure may first obtain a set of target request identifications. And then, for the request corresponding to the request identifier in the target request identifier set, acquiring a first parameter value and a second parameter value of the request. On the basis, in response to determining that the first parameter values of the requests corresponding to the request identifiers in the target request identifier set are equal, selecting the request identifiers of the target number according to the sequence of the second parameter values from small to large so that the selected request identifiers meet the preset condition. And finally, in response to receiving a request corresponding to the selected request identifier, pushing target information to a terminal sending the request. Thereby realizing targeted information push.
Drawings
Other features, objects and advantages of the present disclosure will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings:
FIG. 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;
FIG. 2 is a flow chart of one embodiment of an information push method according to the present disclosure;
fig. 3 is a schematic diagram of an application scenario of an information push method according to an embodiment of the present disclosure;
FIG. 4 is a flow chart of yet another embodiment of an information push method according to the present disclosure;
FIG. 5 is a schematic diagram of the structure of one embodiment of an information pushing device according to the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the related disclosure and not limiting thereof. It should be further noted that, for convenience of description, only the portions related to the disclosure are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which the information pushing method or information pushing apparatus of embodiments of the present disclosure may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various client applications, such as news-like applications, shopping-like applications, video-like applications, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, various electronic devices supporting reception of information may be used. When the terminal devices 101, 102, 103 are software, they can be installed in the above-described various electronic devices. Which may be implemented as multiple software or software modules (e.g., to provide distributed services), or as a single software or software module. The present invention is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for applications on the terminal devices 101, 102, 103. The background processing server can acquire the target request identification set, process the target request identification set and push target information to the terminal according to the requirement.
It should be noted that, the information pushing method provided by the embodiments of the present disclosure is generally performed by the server 105, and accordingly, the information pushing device is generally disposed in the server 105.
The server may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (e.g., to provide distributed services), or as a single software or software module. The present invention is not particularly limited herein.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of an information push method according to the present disclosure is shown. The information pushing method comprises the following steps:
step 201, a set of target request identifications is obtained.
In this embodiment, the execution body of the information pushing method (for example, the server 105 shown in fig. 1) may obtain the target request identifier set from a local or communicatively connected electronic device. Wherein the target request identification set may be any request identification set. The determination of the target request identification set can be specified by a technician or can be obtained by screening according to a certain condition. The request identification is used to identify various requests from the terminal. The request identification may be various forms of identification including, but not limited to: numbers, letters, specific symbols, etc.
It should be noted that, the request identifier may be used to identify the request that has been received by the executing body. And may also be used to identify requests that have not been received by the executing entity. For example, the set of target request identifications may be a set of the first 100 requests received in tomorrow. At this time, although the execution subject has not received these requests, the request identification of these requests may be predetermined. For example, the request identification of these requests may be 1-100.
Step 202, for a request corresponding to a request identifier in a target request identifier set, acquiring a first parameter value and a second parameter value of the request.
In this embodiment, the first parameter value and the second parameter value may be various parameter values of the request, according to actual needs. It will be appreciated that the expression of the first parameter and the second parameter facilitates distinguishing between different parameter values and does not impose any limitation on the parameter values. For example, the first parameter value may be a value of a click rate of information pushed to the corresponding terminal in response to the request. As another example, the second parameter value may be a value amount corresponding to the request. The executing body may obtain, for a request corresponding to a request identifier in the target request identifier set, a first parameter value and a second parameter value of the request in various manners. For example, the requested first and second parameter values may be obtained by querying a corresponding parameter value database. The parameter value database is pre-established, and a plurality of request identifications and first parameter values and second parameter values of requests corresponding to the request identifications are stored in the parameter value database. Thus, each request identifier in the target request identifier set can be queried in the parameter value database, so that the first parameter and the second parameter value corresponding to the request identifier are obtained.
In some optional implementations of this embodiment, for each request identifier in the set of target request identifiers, the first parameter value and the second parameter value of the request may be obtained by.
First, feature information of the request is acquired.
For example, at least one attribute value of the request may be input into a feature extraction network according to actual needs, thereby obtaining feature information of the request. The feature extraction network may be any of various existing networks for feature extraction. As another example, the requested feature information may also be determined according to a predetermined category of the attribute included in the feature information. Taking as an example that the characteristic information includes the time at which the request was received. The executing body can obtain the time of receiving the request, namely the characteristic information of the request through inquiry. It will be appreciated that when the feature information includes a plurality of attributes, the attribute values of the respective attributes may be sequentially determined and used as the feature information of the request.
And secondly, inputting the characteristic information into a pre-trained parameter prediction model to obtain a first parameter value and a second parameter value of the request.
The parameter prediction model is used for representing the corresponding relation between the characteristic information of the request and the first parameter value and the second parameter value. As an example, the above parameter prediction model is trained by the following steps:
first, an initial parametric prediction model is obtained. The initial parameter prediction model may be a variety of existing networks for parameter estimation. For example, a generalized recurrent neural network, etc. may be used.
Thereafter, a training sample set is obtained. The training samples in the training sample set include feature information and corresponding first and second parameter values.
Then, characteristic information of training samples in the training sample set is used as input of an initial parameter prediction model, a first parameter value and a second parameter value corresponding to the input characteristic information are used as expected output of the initial parameter prediction model, and the initial parameter prediction model is trained by a machine learning method. Specifically, the difference between the obtained first parameter value and the first parameter value included in the training sample and the obtained second parameter value and the second parameter value included in the training sample may be calculated first using a preset loss function. Then, based on the calculated difference, the network parameters of the initial parameter prediction model may be adjusted, and the training may be ended if a preset end condition is satisfied. The training end conditions preset herein may include, but are not limited to, at least one of: the training time exceeds the preset duration; the training times exceed the preset times; the calculated variance is less than a preset variance threshold.
And finally, determining the initial parameter prediction model obtained through training as a parameter prediction model.
In this embodiment, the execution subject of the training step may be the same as or different from the execution subject of the information push method. If the same, the execution subject may store the structural information of the network and the parameter values of the network parameters locally after the training is completed. If the training parameters are different, the execution main body of the training step can send the structural information of the trained network and the parameter values of the network parameters to the execution main body of the information pushing method after the training is completed.
Step 203, in response to determining that the first parameter values of the requests corresponding to the request identifiers in the target request identifier set are equal, selecting the request identifiers of the target number according to the order of the second parameter values from small to large so that the selected request identifiers meet the preset condition.
In this embodiment, the execution body may first determine whether the first parameter values of the requests corresponding to the respective request identifiers in the target request identifier set are equal. If the request identifiers are equal, the request identifiers of the target number can be selected according to the sequence of the second parameter values from small to large so that the selected request identifiers meet the preset condition. Therefore, the sum of the second parameter values is minimum when the selected request identifier corresponds to the request and the preset condition is met and the first parameter values are equal. Wherein, according to actual conditions, can take a plurality of modes to choose. For example, the request identifications in the set of target request identifications may be first ordered in order of the second parameter value from small to large. On the basis, the request identification of the target number is selected.
In some optional implementations of this embodiment, the preset condition may be at least one of: the total number of the requests corresponding to the selected request identifications is larger than or equal to a preset request quantity threshold value, the sum of the second parameter values of the requests corresponding to the selected request identifications is smaller than or equal to a preset second parameter threshold value, and the product of the total number of the requests corresponding to the selected request identifications and the first parameter value is larger than or equal to a preset first parameter threshold value. In practice, by setting appropriate preset conditions, the selected request identifier can meet different scene requirements.
Step 204, in response to receiving the request corresponding to the selected request identifier, pushing the target information to the terminal sending the request.
In this embodiment, the executing body may push the target information to the terminal that sends the request in response to receiving the request corresponding to the selected request identifier. The target information may be any information. The determination of the target information can be specified by a technician, or can be obtained by screening according to a certain condition. In practice, in response to receiving a request, the executing entity may determine whether the request identifier of the request is included in the target number of request identifiers selected in step 203. If yes, the target information can be pushed to the terminal sending the request.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the information push method according to the present embodiment. In the application scenario of fig. 3, the execution subject of the information push method is the server 301. The server 301 may first obtain the set of target request identifications 302. In the present application scenario, the target request identifier set 302 is a set composed of request identifiers corresponding to the first 100 received requests from a certain point in time. As shown, the request identifications of the requests are named sequentially in the chronological order in which the requests were received. For each request corresponding to a request identification in the set of target request identifications 302, the first parameter value and the second parameter value of the request are obtained by inputting the characteristic information of the request into the pre-trained parameter prediction model 303. As shown in 304, the first parameter value of the request corresponding to the request 1 is a1, and the second parameter value is b1. For request 2, the first parameter value is a2 and the second parameter value is b2. And the like, until the request 100, the first parameter value corresponding to the request 100 is a100, and the second parameter value is b100. On this basis, the executing entity may determine whether the first parameter values corresponding to the respective request identifiers in the target request identifier set 302 are equal. And if the request identifiers are equal, selecting the request identifiers of the target number according to the sequence of the second parameter values from small to large so that the selected request identifiers meet the preset condition. Under the present application scenario, the request identifiers in the target request identifier set 302 may be sorted in order of the second parameter value from small to large, to obtain the target request identifier sequence 305. On the basis, the target number of request identifications can be selected so that the selected request identifications meet the preset condition. In the application scene, the preset conditions are as follows: two request identifications are selected. From the figure, two request identifications, request 5 and request 8, can be selected. Thus, the executing body pushes the target information to the terminal 306 that sends the request in response to receiving the request corresponding to the request 5 or the request 8.
The method provided by the embodiment of the disclosure may first obtain the target request identification set. And then, for the request corresponding to the request identifier in the target request identifier set, acquiring a first parameter value and a second parameter value of the request. On the basis, in response to determining that the first parameter values of the requests corresponding to the request identifiers in the target request identifier set are equal, selecting the request identifiers of the target number according to the sequence of the second parameter values from small to large so that the selected request identifiers meet the preset condition. And finally, in response to receiving a request corresponding to the selected request identifier, pushing target information to a terminal sending the request. Thereby realizing targeted information push.
With further reference to fig. 4, a flow 400 of yet another embodiment of an information push method is shown. The information pushing method 400 comprises the following steps:
step 401, a set of target request identifications is obtained.
Step 402, for a request corresponding to a request identifier in a target request identifier set, acquiring a first parameter value and a second parameter value of the request.
Step 403, in response to determining that the first parameter values of the requests corresponding to the request identifiers in the target request identifier set are equal, selecting the request identifiers of the target number according to the order of the second parameter values from small to large so that the selected request identifiers meet the preset condition.
In this embodiment, the specific implementation of steps 401 to 403 and the technical effects thereof may refer to steps 201 to 203 of the corresponding embodiment of fig. 2, and are not described herein again.
Step 404, in response to determining that the first parameter values of the requests corresponding to the request identifications in the target request identification set are not equal, dividing the request identifications in the target request identification set into at least one request identification group based on the first parameter values.
In this embodiment, in response to determining that the first parameter values of the requests corresponding to the respective request identifiers in the target request identifier set are not equal, the execution body of the information push method may divide the respective request identifiers in the target request identifier set into at least one request identifier group based on the first parameter values. Different grouping methods can be adopted according to different actual situations. As an example, all the request identifiers in the target request identifier set may be first sorted according to the first parameter value, and then equally divided into a plurality of request identifier groups. As an example, a predetermined value range of the first parameter values corresponding to the plurality of groups may be acquired. Then, each request identification is divided into groups corresponding to the value ranges according to the first parameter values.
In some optional implementations of this embodiment, for a request identifier group in at least one request identifier group, an average first parameter value and an average second parameter value corresponding to the request identifier group are obtained; and selecting a target number of request identifications from at least one request identification group based on the average first parameter value and the average second parameter value so that the selected request identifications meet a preset condition.
In these implementations, an average first parameter value and an average second parameter value corresponding to each request identification group may be obtained. The average first parameter value may be an average value or a weighted average value of the first parameter values corresponding to the request identifiers in the group, as required. The average second parameter value is the same. On the basis, a target number of request identifications are selected from at least one request identification group through a linear programming method so that the selected request identifications meet preset conditions.
Step 405, in response to receiving a request corresponding to the selected request identifier, pushing target information to a terminal sending the request.
In this embodiment, the specific implementation of step 405 and the technical effect brought by the implementation may refer to step 204 of the corresponding embodiment of fig. 2. It will be appreciated that the selected request identifier described in this step may be selected by step 404 or may be selected by step 403.
As can be seen from fig. 4, compared to the corresponding embodiment of fig. 2, processing steps have been added for the case where the first parameter values are not equal, and targeted processing can be performed according to the different cases of the first parameter values.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present disclosure provides an information pushing apparatus, which corresponds to the method embodiment shown in fig. 2, and may be specifically applied to various electronic devices.
As shown in fig. 5, the information pushing apparatus of the present embodiment includes: a set acquisition unit 501, a parameter value acquisition unit 502, a first selection unit 503, and a transmission unit 504. Wherein the set acquisition unit 501 is configured to acquire a set of target request identifications. The parameter value obtaining unit 502 is configured to obtain, for a request corresponding to a request identifier in the target request identifier set, a first parameter value and a second parameter value of the request. The first selecting unit 503 is configured to select, in order of the second parameter value from the smaller one to the larger one, a target number of request identifiers so that the selected request identifiers satisfy a preset condition, in response to determining that the first parameter values of the requests corresponding to the request identifiers in the target request identifier set are equal. The sending unit 504 is configured to push the target information to the terminal that sends the request in response to receiving the request corresponding to the selected request identifier.
In some optional implementations of this embodiment, the preset conditions include at least one of: the total number of the requests corresponding to the selected request identifications is larger than or equal to a preset request quantity threshold value, the sum of the second parameter values of the requests corresponding to the selected request identifications is smaller than or equal to a preset second parameter threshold value, and the product of the total number of the requests corresponding to the selected request identifications and the first parameter value is larger than or equal to a preset first parameter threshold value.
In some optional implementations of this embodiment, the apparatus 500 may further include: dividing units (not shown in the figure). Wherein the dividing unit is configured to divide the request identifications in the target request identification set into at least one request identification group based on the first parameter values in response to determining that the first parameter values of the requests corresponding to the request identifications in the target request identification set are not equal.
In some optional implementations of this embodiment, the apparatus 500 may further include: an average parameter value acquisition unit (not shown in the figure) and a second selection unit (not shown in the figure). The average parameter value obtaining unit is configured to obtain, for a request identifier group in at least one request identifier group, an average first parameter value and an average second parameter value corresponding to the request identifier group. The second selection unit is configured to select a target number of request identifications from the at least one request identification group based on the average first parameter value and the average second parameter value such that the selected request identifications satisfy a preset condition.
In some optional implementations of the present embodiment, the parameter value acquisition unit 502 is further configured to: acquiring the characteristic information of the request; and inputting the characteristic information into a pre-trained parameter prediction model to obtain a first parameter value and a second parameter value of the request, wherein the parameter prediction model is used for representing the corresponding relation between the characteristic information of the request and the first parameter value and the second parameter value.
In this embodiment, the target request identification set may be acquired first. And then, for the request corresponding to the request identifier in the target request identifier set, acquiring a first parameter value and a second parameter value of the request. On the basis, in response to determining that the first parameter values of the requests corresponding to the request identifiers in the target request identifier set are equal, selecting the request identifiers of the target number according to the sequence of the second parameter values from small to large so that the selected request identifiers meet the preset condition. And finally, in response to receiving a request corresponding to the selected request identifier, pushing target information to a terminal sending the request. Thereby realizing targeted information push.
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., server in fig. 1) 600 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device shown in fig. 6 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 includes a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data required for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM602, and the RAM603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 shows an electronic device 600 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 6 may represent one device or a plurality of devices as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the medium processing device 601.
It should be noted that, the computer readable medium according to the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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. In an embodiment of the present disclosure, a computer 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. Whereas in embodiments of the present disclosure, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer 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 computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF, etc., or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ 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 computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments described in the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes a set acquisition unit, a parameter value acquisition unit, a first selection unit, and a transmission unit. Where the names of these units do not constitute a limitation on the unit itself in some cases, for example, the set acquisition unit may also be described as "a unit that acquires a target request identification set".
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention referred to in this disclosure is not limited to the specific combination of features described above, but encompasses other embodiments in which features described above or their equivalents may be combined in any way without departing from the spirit of the invention. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).

Claims (8)

1. An information pushing method, comprising:
acquiring a target request identification set; the target request identification set is a set formed by request identifications of a preset number of requests received in a preset time period;
for a request corresponding to a request identifier in the target request identifier set, acquiring a first parameter value and a second parameter value of the request;
responding to the fact that the first parameter values of the requests corresponding to the request identifiers in the target request identifier set are equal, and selecting the request identifiers of the target number according to the sequence of the second parameter values from small to large so that the selected request identifiers meet preset conditions;
responding to a request corresponding to the selected request identifier, and pushing target information to a terminal sending the request;
before the target information is pushed to the terminal sending the request in response to the request corresponding to the selected request identifier, the method further comprises:
in response to determining that first parameter values of requests corresponding to request identifications in the target request identification set are not equal, dividing the request identifications in the target request identification set into at least one request identification group based on the first parameter values;
for a request identification group in the at least one request identification group, acquiring an average first parameter value and an average second parameter value corresponding to the request identification group;
and selecting a target number of request identifications from at least one request identification group based on the average first parameter value and the average second parameter value so that the selected request identifications meet a preset condition.
2. The method of claim 1, wherein the preset conditions include at least one of: the total number of the requests corresponding to the selected request identifications is larger than or equal to a preset request quantity threshold value, the sum of the second parameter values of the requests corresponding to the selected request identifications is smaller than or equal to a preset second parameter threshold value, and the product of the total number of the requests corresponding to the selected request identifications and the first parameter value is larger than or equal to a preset first parameter threshold value.
3. The method of claim 1 or 2, wherein the obtaining the first and second parameter values of the request comprises:
acquiring the characteristic information of the request;
and inputting the characteristic information into a pre-trained parameter prediction model to obtain a first parameter value and a second parameter value of the request, wherein the parameter prediction model is used for representing the corresponding relation between the characteristic information of the request and the first parameter value and the second parameter value.
4. An information pushing apparatus, comprising:
a set acquisition unit configured to acquire a target request identification set; the target request identification set is a set formed by request identifications of a preset number of requests received in a preset time period;
a parameter value obtaining unit configured to obtain, for a request corresponding to a request identifier in the target request identifier set, a first parameter value and a second parameter value of the request;
a first selecting unit configured to select, in order from a smaller value to a larger value, a target number of request identifiers so that the selected request identifiers satisfy a preset condition, in response to determining that first parameter values of requests corresponding to request identifiers in the target request identifier set are equal;
the sending unit is configured to respond to the received request corresponding to the selected request identifier and push target information to a terminal sending the request;
the apparatus further comprises:
a dividing unit configured to divide request identifications in the target request identification set into at least one request identification group based on a first parameter value in response to determining that the first parameter values of requests corresponding to request identifications in the target request identification set are not equal;
an average parameter value obtaining unit configured to obtain, for a request identifier group in the at least one request identifier group, an average first parameter value and an average second parameter value corresponding to the request identifier group;
and a second selecting unit configured to select a target number of request identifications from at least one request identification group based on the average first parameter value and the average second parameter value so that the selected request identifications satisfy a preset condition.
5. The apparatus of claim 4, wherein the preset conditions comprise at least one of: the total number of the requests corresponding to the selected request identifications is larger than or equal to a preset request quantity threshold value, the sum of the second parameter values of the requests corresponding to the selected request identifications is smaller than or equal to a preset second parameter threshold value, and the product of the total number of the requests corresponding to the selected request identifications and the first parameter value is larger than or equal to a preset first parameter threshold value.
6. The apparatus according to claim 4 or 5, wherein the parameter value acquisition unit is further configured to:
acquiring the characteristic information of the request;
and inputting the characteristic information into a pre-trained parameter prediction model to obtain a first parameter value and a second parameter value of the request, wherein the parameter prediction model is used for representing the corresponding relation between the characteristic information of the request and the first parameter value and the second parameter value.
7. A server, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-3.
8. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1-3.
CN201910049840.XA 2019-01-18 2019-01-18 Information pushing method and device Active CN111460270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910049840.XA CN111460270B (en) 2019-01-18 2019-01-18 Information pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910049840.XA CN111460270B (en) 2019-01-18 2019-01-18 Information pushing method and device

Publications (2)

Publication Number Publication Date
CN111460270A CN111460270A (en) 2020-07-28
CN111460270B true CN111460270B (en) 2023-06-09

Family

ID=71684089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910049840.XA Active CN111460270B (en) 2019-01-18 2019-01-18 Information pushing method and device

Country Status (1)

Country Link
CN (1) CN111460270B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016141535A1 (en) * 2015-03-09 2016-09-15 常平 Method and song calling system for pushing product information when recommending song
CN107465741A (en) * 2017-08-02 2017-12-12 北京小度信息科技有限公司 Information-pushing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208113A (en) * 2015-08-31 2015-12-30 北京百度网讯科技有限公司 Information pushing method and device
CN107222526B (en) * 2017-05-16 2020-09-29 百度在线网络技术(北京)有限公司 Method, device and equipment for pushing promotion information and computer storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016141535A1 (en) * 2015-03-09 2016-09-15 常平 Method and song calling system for pushing product information when recommending song
CN107465741A (en) * 2017-08-02 2017-12-12 北京小度信息科技有限公司 Information-pushing method and device

Also Published As

Publication number Publication date
CN111460270A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN108880931B (en) Method and apparatus for outputting information
CN109829164B (en) Method and device for generating text
CN110737655B (en) Method and device for reporting data
CN109992719B (en) Method and apparatus for determining push priority information
CN109873731B (en) Test method, device and system
CN108764866B (en) Method and equipment for allocating resources and drawing resources
CN110347973B (en) Method and device for generating information
CN114465919B (en) Network service testing method, system, electronic equipment and storage medium
CN109885564B (en) Method and apparatus for transmitting information
CN111125503B (en) Method and apparatus for generating information
CN111460270B (en) Information pushing method and device
CN109462491B (en) System, method and apparatus for testing server functionality
CN111131359A (en) Method and apparatus for generating information
CN111949860B (en) Method and apparatus for generating a relevance determination model
CN109408716B (en) Method and device for pushing information
CN110619079B (en) Method and device for pushing information
CN112464039A (en) Data display method and device of tree structure, electronic equipment and medium
CN112307324A (en) Information processing method, apparatus, device and medium
CN111767447A (en) Method and device for determining user traffic path
CN111460274B (en) Information processing method and device
CN116820354B (en) Data storage method, data storage device and data storage system
CN111125501A (en) Method and apparatus for processing information
CN111310901B (en) Method and device for acquiring samples
CN111460269B (en) Information pushing method and device
CN111460273B (en) Information pushing method and device

Legal Events

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