CN109885564B - Method and apparatus for transmitting information - Google Patents

Method and apparatus for transmitting information Download PDF

Info

Publication number
CN109885564B
CN109885564B CN201910111009.2A CN201910111009A CN109885564B CN 109885564 B CN109885564 B CN 109885564B CN 201910111009 A CN201910111009 A CN 201910111009A CN 109885564 B CN109885564 B CN 109885564B
Authority
CN
China
Prior art keywords
user data
value
target
mathematical characteristic
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910111009.2A
Other languages
Chinese (zh)
Other versions
CN109885564A (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 CN201910111009.2A priority Critical patent/CN109885564B/en
Publication of CN109885564A publication Critical patent/CN109885564A/en
Application granted granted Critical
Publication of CN109885564B publication Critical patent/CN109885564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a method and a device for sending information. One embodiment of the method comprises: acquiring at least one piece of user data based on a time period to be tested, and generating a first user data set; determining at least one first target metric value and a first mathematical characteristic value of the at least one first target metric value based on the first user data set; determining whether a difference between the first mathematical characteristic value and a target threshold value is within a preset difference range; and in response to determining that the first prompt message is not within the preset difference range, sending the first prompt message. The embodiment realizes the detection of the information for presentation by detecting the user data in the time period to be tested.

Description

Method and apparatus for transmitting information
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for sending information.
Background
Various information for presentation (e.g., advertisements) is often presented in each Application (APP) platform. The information for presentation may typically include at least one of: text, pictures, video, etc. When a user operates (e.g., clicks) on such presentation information, a large amount of user data is generated. In practice, detection of such user data is often required.
Disclosure of Invention
The embodiment of the application provides a method and a device for sending information.
In a first aspect, an embodiment of the present application provides a method for sending information, where the method includes: acquiring at least one piece of user data based on a time period to be tested, and generating a first user data set; determining at least one first target metric value and a first mathematical characteristic value of the at least one first target metric value based on the first user data set; determining whether a difference between the first mathematical characteristic value and a target threshold value is within a preset difference range; and in response to determining that the first prompt message is not within the preset difference range, sending the first prompt message.
In some embodiments, before determining whether the difference between the first mathematical characteristic value and the target threshold is within a preset difference range, the method further comprises: acquiring at least one piece of user data based on at least one historical time period, and generating a second user data set; based on the second set of user data, at least one second target metric value is determined, and a second mathematical characteristic value of the at least one second target metric value is determined as a target threshold value.
In some embodiments, the first mathematical characteristic value is an average of at least one first target indicator value; the second mathematical characteristic value is an average of at least one second target index value.
In some embodiments, the first mathematical characteristic value is a variance of at least one first target indicator value; the second mathematical characteristic value is a variance of at least one second target index value.
In some embodiments, the user data includes version information characterizing a version of the client; and after generating the first set of user data, the method further comprises: dividing a target number of sub-sets from the first user data set based on version information included in user data in the first user data set; for a subset of the target number of subsets, determining at least one third target indicator value based on the subset; determining a third mathematical characteristic value of at least one third target index value; and sending second prompt information in response to determining that the abnormal value exists in the target number of third mathematical characteristic values.
In a second aspect, an embodiment of the present application provides an apparatus for transmitting information, where the apparatus includes: the first generation unit is configured to acquire at least one piece of user data based on a time period to be tested and generate a first user data set; a first determination unit configured to determine at least one first target indicator value based on the first user data set and to determine a first mathematical characteristic value of the at least one first target indicator value; a second determination unit configured to determine whether a difference between the first mathematical characteristic value and the target threshold is within a preset difference range; a first sending unit configured to send the first prompt information in response to determining that the first prompt information is not within the preset difference range.
In some embodiments, the above apparatus further comprises: the second generating unit is configured to acquire at least one piece of user data based on at least one historical time period and generate a second user data set; a third determination unit configured to determine at least one second target indicator value based on the second user data set, and to determine a second mathematical characteristic value of the at least one second target indicator value as the target threshold value.
In some embodiments, the first mathematical characteristic value is an average of at least one first target indicator value; the second mathematical characteristic value is an average of at least one second target index value.
In some embodiments, the first mathematical characteristic value is a variance of at least one first target indicator value; the second mathematical characteristic value is a variance of at least one second target index value.
In some embodiments, the user data includes version information characterizing a version of the client; the above-mentioned device still includes: a dividing unit configured to divide a target number of subsets from the first user data set based on version information included in user data in the first user data set; a fourth determination unit configured to determine, for a subset of the target number of subsets, at least one third target index value based on the subset; determining a third mathematical characteristic value of at least one third target index value; a second transmitting unit configured to transmit second prompt information in response to determining that there is an abnormal value in the target number of third mathematical characteristic values.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a storage device having one or more programs stored thereon; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the first aspect.
In a fourth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the method described in any implementation manner of the first aspect.
The method and the device for sending information provided by the embodiment of the application can firstly obtain at least one piece of user data based on a time period to be tested, and generate a first user data set. Then, at least one first target metric value may be determined based on the first set of user data, and a first mathematical characteristic value of the at least one first target metric value may be determined. It may then be determined whether the difference between the first mathematical characteristic value and the target threshold is within a preset difference range. The first prompt may thus be sent in response to determining that the difference between the first mathematical characteristic value and the target threshold is not within a preset difference range. Therefore, the detection of the presentation information is realized by detecting the user data in the time period to be tested.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for transmitting information according to the present application;
FIG. 3 is a schematic diagram of an application scenario of a method for transmitting information according to an embodiment of the present application;
FIG. 4 is a flow diagram of yet another embodiment of a method for transmitting information according to the present application;
FIG. 5 is a schematic block diagram illustrating one embodiment of an apparatus for transmitting information in accordance with the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing an electronic device according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary architecture 100 to which the method for transmitting information or the apparatus for transmitting information of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, a network 103, and a server 104. The network 103 serves as a medium for providing communication links between the terminal devices 101, 102 and the server 104. Network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 101, 102 interact with a server 104 via a network 103 to receive or send messages or the like. Various communication client applications, such as a video playing application, a shopping application, a search application, social platform software, a browser application, etc., may be installed on the terminal devices 101 and 102.
The terminal apparatuses 101 and 102 may be hardware or software. When the terminal devices 101, 102 are hardware, they may be various electronic devices that have a display screen and support presentation of information, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101 and 102 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 104 may be a server providing various services, for example, a background server of an application installed on the terminal device 101, 102 and capable of showing information for presentation. As an example, the background server may first obtain a large amount of user data from the terminal device, and then process the obtained user data, thereby obtaining a processing result. It should be noted that the user data may also be directly stored locally in the server 104 or in a database server (not shown in the figure) communicatively connected to the server 104, and the server 104 may directly obtain the user data from the local or communicatively connected database server and then process the user data. At this time, the terminal apparatuses 101, 102 and the network 103 may not exist.
The server 104 may be hardware or software. When the server 104 is hardware, it may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server. When the server 104 is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for sending information provided in the embodiment of the present application is generally executed by the server 104, and accordingly, the apparatus for sending information is generally disposed in the server 104.
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 a method for transmitting information in accordance with the present application is shown. The method for transmitting information includes the steps of:
step 201, acquiring at least one piece of user data based on a time period to be tested, and generating a first user data set.
In this embodiment, based on the time period to be tested, an executing entity (such as the server 104 shown in fig. 1) of the method for sending information may obtain at least one piece of user data, and then determine a set of the obtained at least one piece of user data as the first user data set. The user data may include information of various users, and may also include information of presentation information to be presented to the users. Here, the information of the user may include at least one of: information characterizing the account of the user, information characterizing the gender of the user, information characterizing the age of the user, and the like. The information of the information for presentation may include at least one of: information indicating the number of the presentation information, information indicating whether the presentation information is presented to the user, information indicating the time when the presentation information is presented to the user, information indicating whether the presentation information is clicked by the user, information indicating the time when the presentation information is clicked by the user, and the like. It should be noted that the user data may further include other information that is not listed, and is not described herein again.
In practice, the information included in the user data usually exists in the form of Key Value pairs. For example, the information characterizing the account of the user may be "userId: abc123 ". Where "userId" is typically a key and "abc 123" is typically a value. For example, the information characterizing the time at which the presentation information is presented to the user may be "showTime: 2018-12-0815: 06: 08". For example, the information characterizing whether the information for presentation is clicked by the user may be "click: 1". Where "click" is a key and "1" is a value, where "1" indicates being clicked.
In this embodiment, the time period to be tested may be a time period set according to actual needs. For example, the time period to be tested may be the time period between 13 hours and 14 hours of 12 months and 08 days of 2018.
As an example, a buried point event (e.g., a presentation event, a click event, etc.) may be added to the information for presentation in advance. In a time period to be tested, when the operation of the user triggers the added buried point event, the execution main body can acquire corresponding user data from the terminal equipment in communication connection, and further generate a first user data set.
As an example, a database server of a communication connection has a large amount of user data stored therein. The executing body may use the time period to be tested to match with a database server in communication connection, and then obtain the user data whose time is in the time period to be tested according to the time indicated by the information indicating the time when the representation presentation information included in the user data is presented to the user (or the information indicating the time when the representation presentation information is clicked by the user). Then, the executing body may determine a set of the acquired at least one piece of user data as the first user data set.
As an example, information characterizing the time it is stored in the database server may also be included in the user data. Therefore, the executing body can acquire the user data with the storage time within the time period to be tested from the data server in communication connection according to the storage time indicated by the information which is included in the user data and characterizes the time of the user data stored in the database server. Then, the executing body may determine a set of the acquired at least one piece of user data as the first user data set.
As an example, after at least one piece of user data is acquired, for each piece of acquired user data, the execution body may delete some information included in the user data. For example, information characterizing the gender of the user, information characterizing the age of the user, and the like included in the user data may be deleted. The execution body may then determine a set of at least one piece of user data after deleting some information as the first user data set.
Step 202, determining at least one first target metric value based on the first user data set, and determining a first mathematical characteristic value of the at least one first target metric value.
In this embodiment, the executing entity may determine at least one first target index value based on the first user data set. In practice, through the analysis of the user data, the values of various indexes for measuring the effect of the information for presentation can be determined. Here, the index may be the number of times of presentation of the presentation information, the number of clicks of the presentation information, the click rate of the presentation information, or the like. Accordingly, the value of the index may be a value of the number of presentations of the presentation information, a value of the number of clicks of the presentation information, a value of the click rate of the presentation information, or the like. The target index can be specified in advance or can be determined according to actual requirements. It is to be understood that the first target indicator value may be a value of an indicator for measuring the effectiveness of the information delivery for presentation, which is determined based on the first set of user data.
As an example, the target index is the number of presentations of the information for presentation. For each piece of user data in the first user data set, the execution main body may read information included in the user data, which characterizes numbers of presentation information used for presentation to a user, and read information included in the user data, which characterizes whether the presentation information is presented. Then, the execution main body may count a value of the number of times the presentation information of each number is presented, based on the read at least one piece of information representing the number of the presentation information for presentation to the user and the read at least one piece of information representing whether the presentation information is presented. It will be appreciated that a value for at least one of the presented times may be obtained.
As an example, the target index is the number of clicks of the presentation information. For each piece of user data in the first user data set, the execution main body may read information, included in the user data, representing a number of presentation information clicked by a user, and read information, included in the user data, representing whether the presentation information is clicked. Then, the execution main body may count a value of the number of times that the presentation information of each number is clicked, according to the read information of the number of the presentation information representing the user click and the information of whether the at least one piece of presentation information representing whether the presentation information is clicked. It will be appreciated that a value for at least one number of clicks may be obtained.
As an example, the target index is a click rate of the presentation information. The execution subject may count the number of times the presentation information of each number is presented and the number of times the presentation information is clicked according to the methods of the first two examples. Then, for each piece of presentation information of each number, the execution body may use a ratio of the number of times the presentation information is clicked to the number of times the presentation information is presented as a value of the click rate of the presentation information. Thereby, at least one click rate value may be obtained.
In this embodiment, after determining at least one first target index value, the executing entity may further determine a first mathematical characteristic value of the at least one first target index value. Alternatively, the first mathematical characteristic value may be an average of the at least one first target index value. Alternatively, the first mathematical characteristic value may be a variance of the at least one first target index value.
Step 203, determining whether the difference between the first mathematical characteristic value and the target threshold is within a preset difference range.
In this embodiment, the executing body may determine whether a difference between the first mathematical characteristic value and the target threshold value is within a preset difference range. Wherein the difference between the first mathematical characteristic value and the target threshold may be a difference between the first mathematical characteristic value and the target threshold. At this time, the execution body may calculate a difference between the first mathematical characteristic value and the target threshold value, and then determine whether the calculated difference is within a preset difference range. The difference between the first mathematical characteristic value and the target threshold value may also be a ratio of the difference between the two to the target threshold value. At this time, after the difference between the two is calculated, the execution main body may further calculate a ratio of the difference to the target threshold, and then determine whether the calculated ratio is within a preset difference range.
In the present embodiment, the target threshold may be set in advance or may be determined by various methods. As an example, the technician may collect a large amount of user data, and then count various indicators in each time period (e.g., the time period between 13 hours and 14 hours) according to a method similar to step 202 to obtain a corresponding relationship table between the time period, the indicators, and the mathematical characteristic values. Therefore, the execution main body can input the time period to be tested and the target index into the corresponding relation table, and determine the mathematical characteristic value corresponding to the matched time period and index as the target threshold value. Here, the matching may be that a difference between the time period to be tested and the time period in the correspondence table is within a preset time difference, and the target index is the same as the index in the correspondence table.
In some optional implementations of the embodiment, the executing subject may determine the target threshold according to the following steps.
Step S1, obtaining at least one user data in at least one historical time period to obtain a second user data set.
Here, the history time period may be a time period corresponding to a time period to be tested. As an example, if the time period to be tested is the time period between 13 hours and 14 hours of 12, 8 and 2018, the historical time period may be the time period between 13 hours and 14 hours of 7 and 12, 2018, and may also be the time period between 13 hours and 14 hours of 6 and 12, 2018, and so on.
The execution main body may acquire a certain amount of user data from a plurality of history time periods, respectively, and then determine a set in which a large amount of user data acquired from these history time periods are combined as a second user data set.
Step S2, determining at least one second target index value based on the second user data set, and determining a second mathematical characteristic value of the at least one second target index value as a target threshold.
Here, the second target index value may be a value of an index for measuring an effect of the information for presentation placement determined based on the second user data set. In particular, the step of determining the second target indicator value may refer to the step of determining the first target indicator value in step 202.
The second mathematical characteristic value generally corresponds to the first mathematical characteristic value. Alternatively, the second mathematical characteristic value may be the average of the at least one second target indicator value, if the first mathematical characteristic value is the average of the at least one first target indicator value. Alternatively, the second mathematical characteristic value may be the variance of the at least one second target indicator value, if the first mathematical characteristic value is the variance of the at least one first target indicator value. The step of determining the second mathematical characteristic may be referred to the step of determining the first mathematical characteristic in step 202. After determining the second mathematical characteristic value, the executing entity may determine the second mathematical characteristic value as the target threshold.
And step 204, responding to the determination that the difference is not within the preset difference range, and sending first prompt information.
In this embodiment, the execution body may transmit the first prompt message in response to determining that the difference between the first mathematical characteristic value and the target threshold is not within the preset difference range. The first prompt message can be used for representing that the user data acquired in the time period to be tested is abnormal. In practice, the first prompting message may include, but is not limited to, at least one of: text, symbols, pictures, audio.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for transmitting information according to the present embodiment. In the application scenario of fig. 3, the executing agent is the server 301. Take the time period to be tested as the time period between 12 months in 2018 and 10 days 13 to 14 as an example. The server 301 may obtain at least one piece of user data between 13 o 'clock and 14 o' clock 12/10/2018 from a database server (not shown) connected in communication according to a time indicated by information included in the user data and representing a time at which the presentation information is presented to the user, and generate the first user data set 302. In the following, the target index is taken as the number of times of displaying the information for presentation.
First, for each piece of user data in the first user data set 302, the server 301 may read information included in the user data, which characterizes numbers of presentation information used for presentation to a user, and read information included in the user data, which characterizes whether the presentation information is presented. Then, the server 301 may count values of the number of times each number of presentation information is presented, such as a value 3031 of the number of presentation times shown in the figure (e.g., 132 shown in the figure), a value 3032 of the number of presentation times (e.g., 100 shown in the figure), a value 3033 of the number of presentation times (e.g., 90 shown in the figure), a value 3034 of the number of presentation times (e.g., 60 shown in the figure), a value 3035 of the number of presentation times (e.g., 110 shown in the figure), and a value 3036 of the number of presentation times (e.g., 120 shown in the figure). Then, the server 301 may calculate an average value of the value 3031 of the number of presentations to the value 3036 of the number of presentations as the first mathematical characteristic value 304 (102 as shown in the figure). Further, the server 301 may calculate a ratio of a difference between the first mathematical characteristic value 304 and a target threshold 305 (120 as shown in the figure) to the target threshold 305 as a difference 306 (0.15 as shown in the figure) therebetween. Further, the server 301 may determine that the variance 306 is not within a preset variance range 307 (0-0.1 as shown in the figure). Thus, server 301 may send first prompt message 308 (shown as "user data exception" in the figure).
The method provided by the above embodiment of the present application may first obtain at least one piece of user data based on a time period to be tested, and generate a first user data set. Then, at least one first target metric value may be determined based on the first set of user data, and a first mathematical characteristic value of the at least one first target metric value may be determined. Then, it may be determined whether a difference between the first mathematical characteristic value and the target threshold value is within a preset difference range. Further, in response to determining that the difference between the first mathematical characteristic value and the target threshold is not within the preset difference range, the first prompt may be sent. Therefore, the detection of the information for presentation can be realized by detecting the user data in the time period to be tested.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method for transmitting information is shown. The process 400 of the method for transmitting information includes the steps of:
step 401, obtaining at least one piece of user data based on a time period to be tested, and generating a first user data set.
Step 402, determining at least one first target metric value based on the first user data set, and determining a first mathematical characteristic value of the at least one first target metric value.
In step 403, it is determined whether the difference between the first mathematical characteristic value and the target threshold is within a preset difference range.
And step 404, in response to determining that the difference is not within the preset difference range, sending a first prompt message.
The above steps 401 to 404 are respectively identical to the steps 201 to 204 in the foregoing embodiment, and the above description of the steps 201 to 204 also applies to the steps 401 to 204
Step 404 is not described herein.
Step 405, based on the version information included in the user data in the first user data set, divides a target number of subsets from the first user data set.
In this embodiment, the user data may include version information that characterizes the version of the client. Here, the client is generally a client used by the user when acquiring user data. Thus, after generating the first set of user data, an executing agent of the method for transmitting information (e.g., the server 104 shown in fig. 1) may partition a target number of sub-sets from the first set of user data based on version information included in the user data in the first set of user data. Wherein the version information is typically in the form of key-value pairs. For example, the version information may be "clientVersion: XXXXX ". It is understood that "clientVersion" is a key and "XXXX" is a value.
In this embodiment, the target number may be the number of sub-sets divided from the first user data set. The number of targets may also be selected according to certain conditions.
As an example, for each piece of user data in the first set of user data, the execution body may read version information from the user data. Then, according to the read at least one piece of version information, the execution body may divide the user data with the same client version into a subset. It will be appreciated that multiple subsets may be partitioned. At this time, the execution body may determine the plurality of subsets as a target number of subsets.
As an example, a technician may preset a preset number of client versions. Then, for a client version of the preset number of client versions, the execution main body may select, from the first user data set, user data whose client version indicated by the version information is consistent with the client version, and generate a subset. It will be appreciated that a predetermined number of subsets may be obtained. At this time, the execution body may determine the preset number of subsets as a target number of subsets.
It should be noted that, after the first user data set is generated (i.e., after step 401), the executing entity may execute step 405. That is, step 405 may be performed in parallel with any of steps 402 to 404, or may be performed before or after any of steps 402 to 404.
Step 406, for a subset of the target number of subsets, determining at least one third target index value based on the subset; a third mathematical characteristic value of at least one third target indicator value is determined.
In this embodiment, for each subset of the target number of subsets, the execution subject may determine at least one third target index value based on the subset. Here, the step of determining at least one third target indicator value is similar to the method of determining at least one first target indicator value in step 202, and is not repeated here. It is to be understood that the third target index value may be a value of an index for measuring the effectiveness of the information placement for presentation, which is determined based on the subset.
In this embodiment, the executing body may further determine a third mathematical characteristic value of at least one third target index value for each of the target number of subsets. It can be seen that a target number of third mathematical characteristic values can be obtained.
Step 407, in response to determining that there is an abnormal value in the target number of third mathematical characteristic values, sending a second prompt.
In the present embodiment, the execution subject described above may determine whether or not there is an abnormal value in the target number of third mathematical characteristic values by various methods.
As an example, a technician may collect a large amount of user data, and then perform statistics on various client versions in each time period according to a method similar to step 202 to obtain a correspondence table between the time period, the index, the client version, and the mathematical characteristic value. Therefore, for each third mathematical characteristic value, the execution main body can input the time period to be tested, the target index and the version of the client corresponding to the third mathematical characteristic value into the corresponding relation table, and then determine the mathematical characteristic value corresponding to the matched time period, index and version of the client as a fourth mathematical characteristic value; if the difference between the third mathematical characteristic value and the fourth mathematical characteristic value is within a preset difference range, the executing body can determine that the third mathematical characteristic value is not an abnormal value; otherwise, the executing entity may determine that the third mathematical characteristic value is an abnormal value.
As an example, the executing body may further determine whether an abnormal value exists in the target number of third mathematical characteristic values using at least one of the following algorithms: LOF (Local Outlier Factor) algorithm, KNN (K-Nearest Neighbors) algorithm, IForest (Isolation Forest) algorithm, etc.
In this embodiment, the execution main body may transmit the second prompt information in response to a determination that there is an abnormal value in the target number of the third mathematical characteristic values obtained. The second prompt information may be used to characterize that the user data of the client version corresponding to the abnormal value is abnormal. In practice, the second prompting message may include, but is not limited to, at least one of: text, symbols, pictures, audio.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the flow 400 of the method for sending information in the present embodiment embodies the determination of the target number of third mathematical characteristic values and the sending of the second prompt information. Thus, the scheme described in this embodiment can first divide the target number of subsets from the first user data set. Then, for each of the divided subsets, at least one third target index value may be determined to determine a third mathematical characteristic value of the at least one third target index value. Second prompt information may then be sent in response to determining that an outlier exists in the target number of third mathematical characteristic values. That is, the user data in the time period to be tested may be detected according to the version of the client. Therefore, the version of the client side to which the abnormal presentation information is delivered can be determined according to the abnormal user data.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an apparatus for sending information, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the apparatus 500 for transmitting information provided by the present embodiment includes a first generating unit 501, a first determining unit 502, a second determining unit 503, and a first transmitting unit 504. Wherein the first generating unit 501 is configured to: acquiring at least one piece of user data based on a time period to be tested, and generating a first user data set; a first determining unit 502 configured to: determining at least one first target metric value and a first mathematical characteristic value of the at least one first target metric value based on the first user data set; a second determination unit 503 configured to determine whether a difference between the first mathematical characteristic value and the target threshold is within a preset difference range; a first sending unit 504 configured to: and in response to determining that the first prompt message is not within the preset difference range, sending the first prompt message.
In the present embodiment, in the apparatus 500 for transmitting information: the detailed processing of the first generating unit 501, the first determining unit 502, the second determining unit 503 and the first sending unit 504 and the technical effects thereof can refer to the related descriptions of step 201, step 202, step 203 and step 204 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementations of the present embodiment, the apparatus 500 for sending information may further include a second generating unit (not shown in the figure) and a third determining unit (not shown in the figure). Wherein the second generation unit may be configured to: and acquiring at least one piece of user data based on at least one historical time period, and generating a second user data set. The third determination unit may be configured to: based on the second set of user data, at least one second target metric value is determined, and a second mathematical characteristic value of the at least one second target metric value is determined as a target threshold value.
In some optional implementations of this embodiment, the first mathematical characteristic value is an average of at least one first target index value; the second mathematical characteristic value is an average of at least one second target index value.
In some optional implementations of this embodiment, the first mathematical characteristic value is a variance of at least one first target index value; the second mathematical characteristic value is a variance of at least one second target index value.
In some optional implementations of this embodiment, the user data may include version information that characterizes a version of the client; the apparatus 500 for transmitting information may further include a dividing unit (not shown in the figure), a fourth determining unit (not shown in the figure), and a second transmitting unit (not shown in the figure). Wherein the dividing unit may be configured to: a target number of sub-sets is partitioned from the first user data set based on version information included in user data in the first user data set. The fourth determination unit may be configured to: for a subset of the target number of subsets, determining at least one third target indicator value based on the subset; a third mathematical characteristic value of at least one third target indicator value is determined. The second transmitting unit may be configured to: and sending second prompt information in response to determining that the abnormal value exists in the target number of third mathematical characteristic values.
The apparatus provided in the foregoing embodiment of the present application may first obtain at least one piece of user data based on a time period to be tested through the first generating unit 501, and generate a first user data set. Then, at least one first target indicator value may be determined by the first determination unit 502 based on the first user data set, and a first mathematical characteristic value of the at least one first target indicator value may be determined. It may then be determined by the second determination unit 503 whether the difference between the first mathematical characteristic value and the target threshold is within a preset difference range. The first prompt message may then be sent by the first sending unit 504 in response to determining that the difference between the first mathematical characteristic value and the target threshold is not within the preset difference range. Therefore, the detection of the information for presentation can be realized by detecting the user data in the time period to be tested.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing the electronic device of an embodiment of the present application. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that 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 section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the 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 illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium of the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples 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 the present application, 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. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A 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: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 application. 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 described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first generation unit, a first determination unit, a second determination unit, and a first transmission unit. Where the names of the units do not in some cases constitute a limitation of the unit itself, for example, the second determination unit may also be described as a "unit that determines whether the difference between the first mathematical characteristic value and the target threshold value is within a preset difference range".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the server described in the above embodiments; or may exist separately and not be assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: acquiring at least one piece of user data based on a time period to be tested, and generating a first user data set; determining at least one first target metric value and a first mathematical characteristic value of the at least one first target metric value based on the first user data set; determining whether a difference between the first mathematical characteristic value and a target threshold value is within a preset difference range; and in response to determining that the first prompt message is not within the preset difference range, sending the first prompt message.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A method for transmitting information, comprising:
acquiring at least one piece of user data based on a time period to be tested, and generating a first user data set, wherein the user data comprises version information representing a version of a client;
determining at least one first target metric value based on the first set of user data, and determining a first mathematical characteristic value of the at least one first target metric value;
determining whether a difference between the first mathematical characteristic value and a target threshold is within a preset difference range;
in response to determining that the first prompt message is not within the preset difference range, sending a first prompt message;
wherein after the generating the first set of user data, the method further comprises:
partitioning a target number of sub-sets from the first user data set based on version information included in user data in the first user data set;
for a subset of the target number of subsets, determining at least one third target indicator value based on the subset; determining a third mathematical characteristic value of at least one third target index value;
in response to determining that an abnormal value exists in the target number of third mathematical characteristic values, sending second prompt information;
wherein the at least one piece of user data is from a plurality of users or a plurality of clients of different versions, the user data including information for presenting information for presentation to the user.
2. The method of claim 1, wherein prior to said determining whether the difference between the first mathematical characteristic value and the target threshold is within a preset difference range, the method further comprises:
acquiring at least one piece of user data based on at least one historical time period, and generating a second user data set;
based on the second set of user data, at least one second target metric value is determined, and a second mathematical characteristic value of the at least one second target metric value is determined as the target threshold value.
3. The method according to claim 2, wherein the first mathematical characteristic value is an average of the at least one first target indicator value; the second mathematical characteristic value is an average of the at least one second target index value.
4. The method according to claim 2, wherein the first mathematical characteristic value is a variance of the at least one first target indicator value; the second mathematical characteristic value is a variance of the at least one second target index value.
5. An apparatus for transmitting information, comprising:
the client comprises a first generating unit, a second generating unit and a third generating unit, wherein the first generating unit is configured to acquire at least one piece of user data based on a time period to be tested and generate a first user data set, and the user data comprises version information representing a version of the client;
a first determination unit configured to determine at least one first target indicator value based on the first user data set and to determine a first mathematical characteristic value of the at least one first target indicator value;
a second determination unit configured to determine whether a difference between the first mathematical characteristic value and a target threshold value is within a preset difference range;
a first sending unit configured to send first prompt information in response to determining that the first prompt information is not within the preset difference range; wherein the apparatus further comprises:
a dividing unit configured to divide a target number of subsets from the first user data set based on version information included in user data in the first user data set;
a fourth determination unit configured to determine, for a subset of the target number of subsets, at least one third target index value based on the subset; determining a third mathematical characteristic value of at least one third target index value;
a second transmitting unit configured to transmit second prompt information in response to determining that there is an abnormal value in the target number of third mathematical characteristic values;
wherein the at least one piece of user data is from a plurality of users or a plurality of clients of different versions, the user data including information for presenting information for presentation to the user.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the second generating unit is configured to acquire at least one piece of user data based on at least one historical time period and generate a second user data set;
a third determination unit configured to determine at least one second target indicator value based on the second user data set, and to determine a second mathematical characteristic value of the at least one second target indicator value as the target threshold.
7. The apparatus of claim 6, wherein the first mathematical characteristic value is an average of the at least one first target indicator value; the second mathematical characteristic value is an average of the at least one second target index value.
8. The apparatus of claim 6, wherein the first mathematical characteristic value is a variance of the at least one first target indicator value; the second mathematical characteristic value is a variance of the at least one second target index value.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201910111009.2A 2019-02-12 2019-02-12 Method and apparatus for transmitting information Active CN109885564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910111009.2A CN109885564B (en) 2019-02-12 2019-02-12 Method and apparatus for transmitting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910111009.2A CN109885564B (en) 2019-02-12 2019-02-12 Method and apparatus for transmitting information

Publications (2)

Publication Number Publication Date
CN109885564A CN109885564A (en) 2019-06-14
CN109885564B true CN109885564B (en) 2022-04-26

Family

ID=66928052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910111009.2A Active CN109885564B (en) 2019-02-12 2019-02-12 Method and apparatus for transmitting information

Country Status (1)

Country Link
CN (1) CN109885564B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110459276B (en) * 2019-08-15 2022-05-24 北京嘉和海森健康科技有限公司 Data processing method and related equipment
CN113568769B (en) * 2020-04-28 2023-10-31 北京达佳互联信息技术有限公司 Exception handling method, device, server and storage medium
CN113676414B (en) * 2021-09-01 2024-06-25 中国银行股份有限公司 Information merging method, device, electronic equipment, medium and product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101116A (en) * 2016-06-29 2016-11-09 东北大学 A kind of user behavior abnormality detection system based on principal component analysis and method
CN108259482A (en) * 2018-01-04 2018-07-06 平安科技(深圳)有限公司 Network Abnormal data detection method, device, computer equipment and storage medium
CN108615119A (en) * 2018-05-09 2018-10-02 平安普惠企业管理有限公司 A kind of recognition methods of abnormal user and equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10217117B2 (en) * 2011-09-15 2019-02-26 Stephan HEATH System and method for social networking interactions using online consumer browsing behavior, buying patterns, advertisements and affiliate advertising, for promotions, online coupons, mobile services, products, goods and services, entertainment and auctions, with geospatial mapping technology
US20140074614A1 (en) * 2012-09-12 2014-03-13 Globys, Inc. Time series-based entity behavior classification
US10992675B2 (en) * 2014-04-14 2021-04-27 Oracle International Corporation Anomaly detection using tripoint arbitration
CN104408143A (en) * 2014-12-01 2015-03-11 北京国双科技有限公司 Webpage data monitoring method and device
US10476903B2 (en) * 2016-06-20 2019-11-12 Ashley Duane Wilson Systems and related methods for detection, tiered correlation, and notification of radio frequency (RF) anomalies
CN108366009A (en) * 2017-01-26 2018-08-03 阿里巴巴集团控股有限公司 Method for pushing, device and the server of reminder message

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101116A (en) * 2016-06-29 2016-11-09 东北大学 A kind of user behavior abnormality detection system based on principal component analysis and method
CN108259482A (en) * 2018-01-04 2018-07-06 平安科技(深圳)有限公司 Network Abnormal data detection method, device, computer equipment and storage medium
CN108615119A (en) * 2018-05-09 2018-10-02 平安普惠企业管理有限公司 A kind of recognition methods of abnormal user and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"基于用户粉丝聚类现象的微博僵尸用户检测";陶永才、王晓慧、石磊、卫琳、曹仰杰;《小型微型计算机系统》;20150515;第36卷(第05期);第1007-1011页 *
"电信运营商用户数据安全管控探讨";周娟、蒋亮、罗齐贤、陈舜;《电信网技术》;20170815(第08期);第49-53页 *

Also Published As

Publication number Publication date
CN109885564A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN108880931B (en) Method and apparatus for outputting information
CN108536867B (en) Method and apparatus for generating information
CN109885564B (en) Method and apparatus for transmitting information
CN109684188B (en) Test method and device
CN108933695B (en) Method and apparatus for processing information
JP2021103506A (en) Method and device for generating information
CN108011949B (en) Method and apparatus for acquiring data
CN108600329B (en) Method and equipment for pushing information and displaying information
CN107291835B (en) Search term recommendation method and device
CN114840379A (en) Log generation method, device, server and storage medium
CN110737655B (en) Method and device for reporting data
CN111125503B (en) Method and apparatus for generating information
CN108764866B (en) Method and equipment for allocating resources and drawing resources
CN109597819B (en) Method and apparatus for updating a database
CN111130984B (en) Method and apparatus for processing information
CN109542743B (en) Log checking method and device, electronic equipment and computer readable storage medium
CN110881056A (en) Method and device for pushing information
CN112083982A (en) Information processing method and device
CN112132722B (en) Government hot line quantity trend abnormity determining method and device, electronic equipment and medium
CN110554892A (en) Information acquisition method and device
CN115203178A (en) Data quality inspection method and device, electronic equipment and storage medium
CN111552715B (en) User query method and device
CN111460273B (en) Information pushing method and device
CN113822745A (en) Article display method and device
CN109408716B (en) Method and device for pushing information

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