Detailed Description
The present disclosure is described in further detail below with reference to the accompanying 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, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. 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 embodiments of the disclosed method for processing information or apparatus for processing information may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as live video software, social platform software, web browser application, search application, instant messaging tool, mailbox client, etc., may be installed on the terminal devices 101, 102, 103.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, and 103 are hardware, they may be various electronic devices with a display screen, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 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., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for target pages displayed on the terminal devices 101, 102, 103. The background server may perform processing such as analysis on the target page displayed on the terminal device, and obtain a processing result (e.g., an adjusted value).
It should be noted that the method for processing information provided by the embodiment of the present disclosure is generally performed by the server 105, and accordingly, the apparatus for processing information is generally disposed in the server 105.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules used to provide distributed services), or as a single piece of software or software module. And 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 a method for processing information in accordance with the present disclosure is shown. The method for processing information comprises the following steps:
step 201, acquiring a target historical time period which corresponds to the target page and takes the current time as a time end point.
In this embodiment, an execution subject (for example, a server shown in fig. 1) of the method for processing information may acquire a target historical time period with a current time as a time end point, which corresponds to a target page, through a wired connection manner or a wireless connection manner. The target page is a page on which the quality degree of the video played on the target page is to be determined. The target page is used for playing the video input by the first user. And the target historical time period corresponding to the target page is a time period for determining the quality degree of the video played on the target page. Specifically, the duration of the target historical time period may be predetermined, or the target historical time period may be a historical time period with the current time as a time end point and the starting playing time of the video played on the target page as a time starting point.
In this embodiment, the first user is a user who inputs a video using a first user terminal (e.g., a terminal device shown in fig. 1). The video input by the first user is used for playing on the target page for the second user to browse by using a second user terminal (such as the terminal device shown in fig. 1). The second user is a user browsing the video with the second user terminal. Specifically, the executing body may output the target page to the second user terminal, so that the target page is displayed on a display screen of the second user terminal, and the second user may browse the video played on the target page by using the second user terminal. It should be noted that, here, the first user terminal may be a terminal used by the first user; the second user terminal may be a terminal used by the second user.
In practice, the video played on the target page may be a video input by the first user in real time by using the first user terminal, or a video input by the first user in advance by using the first user terminal. It should be noted that, here, the video input by the first user may be a video shot by the first user using the first user terminal.
In some optional implementation manners of this embodiment, the execution main body may obtain, in response to receiving an evaluation request for a video played on a target page, a target historical time period that corresponds to the target page and takes a current time as a time end point. The evaluation request is a request for determining the quality degree of the video played on the target page. In practice, the evaluation request may be a request initiated by a user managing the execution subject, or may be a request sent by an electronic device (for example, a terminal device shown in fig. 1) communicatively connected to the execution subject.
Step 202, determining whether the second user performs preset operation on the target page by using the second user terminal in the target historical time period.
In this embodiment, based on the target history time period obtained in step 201, the execution main body may determine whether the second user performs a preset operation on the target page using the second user terminal within the target history time period. The preset operation may be various predetermined operations, such as an operation of inputting information for comment, where the information for comment may be information for commenting on a video played on the target page.
In this embodiment, the preset operation corresponds to a preset value. The preset value may be a value predetermined for a preset operation, and is used to indicate a variation of the value representing the degree of goodness of the video played on the target page, which is generated every time the preset operation is performed.
It can be understood that, compared with the case of simply browsing the target page, the operation route is longer when the preset operation is performed on the target page, and further, the user may be indicated to be interested in the video played on the target page when the preset operation is performed on the target page. While relatively, a better video is generally more appealing to the user. Therefore, in this embodiment, the more times the preset operation is performed on the target page, the better the video played on the target page can be indicated. Furthermore, when the greater the value for representing the degree of goodness of the video played on the target page, the better the video played on the target page, the preset value may be used to indicate an increase amount of the value for representing the degree of goodness of the video played on the target page, which is generated every time the preset operation is performed; when the smaller the value representing the degree of superiority of the video played on the target page is, the better the video played on the target page is, the preset value may be used to indicate a reduction amount of the value representing the degree of superiority of the video played on the target page, which is generated every time the preset operation is performed.
In this embodiment, the execution main body may determine whether the second user performs a preset operation on the target page using the second user terminal within the time period. Specifically, the executing body may detect a preset operation performed by a second user on the target page by using a second user terminal, and in response to detecting the preset operation performed by the second user on the target page by using the second user terminal, the executing body may generate operation information corresponding to the detected preset operation, where the operation information may include information indicating the detected preset operation (for example, an execution time of the detected preset operation). Further, for the time period, the execution main body may determine whether operation information is generated within the time period to determine whether a second user performs a preset operation on the target page using the second user terminal within the time period.
Step 203, in response to determining that the preset operation is performed, determining a time for performing the preset operation, and determining a time difference between the current time and the determined time.
In this embodiment, the executing body may determine, in response to determining that the second user performed the preset operation with the second user terminal for the target page within the time period, a time at which the preset operation is performed, and a time difference between the current time and the determined time.
In practice, the preset operation performed in the above time period may be at least one; correspondingly, each preset operation corresponds to an execution time, so that the execution time that the execution main body can determine to execute the preset operation can be at least one. It should be noted that the preset operation performed in the above time period may be a preset operation performed by at least one second user on the target page by using the second user terminal.
In the present embodiment, the execution main body may determine the time to execute the preset operation in various ways. Specifically, as an example, the executing body may generate operation information corresponding to the detected preset operation in response to detecting the preset operation performed by the second user on the target page by using the second user terminal, where the operation information may include information indicating an execution time of the detected preset operation. Furthermore, the execution main body may obtain the operation information generated in the time period, and determine an execution time of a preset operation corresponding to the operation information based on the obtained operation information; alternatively, the execution main body may acquire information indicating a time at which the second user performs the preset operation, which is transmitted from a second user terminal used by the second user who performs the preset operation, and then determine the time at which the preset operation is performed based on the acquired information.
In this embodiment, for the determined time for performing the preset operation, the execution main body may determine a time difference between the current time and the determined time. It is to be understood that, here, since the determined time may be at least one, the executing body may determine, for each of the at least one time, a time difference corresponding to the time.
And 204, adjusting a preset value corresponding to the executed preset operation based on the determined time difference to obtain an adjusted value.
In this embodiment, based on the time difference determined in step 203, the executing entity may adjust the preset value corresponding to the executed preset operation to obtain an adjusted value. The adjusted value is used for indicating the variation of the value which is generated by the preset operation executed at the current time and used for representing the quality degree of the video played on the target page.
It should be noted that, here, the determined time difference may be at least one, and further, the adjusted value obtained through the adjustment may also be at least one. Specifically, when the determined time difference is at least one, the adjusting the preset value corresponding to the executed preset operation includes: and adjusting a preset value corresponding to the preset operation corresponding to the time difference for the time difference in the at least one time difference. It is understood that the time difference is obtained based on the time for performing the preset operation, so the time difference has a corresponding relationship with the time for performing the preset operation, and the time for performing the preset operation has a corresponding relationship with the performed preset operation, so the time difference has a corresponding relationship with the preset operation.
In this embodiment, the execution main body may adjust the preset value corresponding to the executed preset operation in various ways based on the determined time difference, so as to obtain the adjusted value.
Specifically, as an example, the execution main body may obtain a predetermined time difference threshold, and then, in response to determining that the determined time difference is equal to or less than the time difference threshold, determine the first value as an adjusted value; in response to determining that the determined time difference is greater than the time difference threshold, determining the second value as the adjusted value. The first numerical value and the second numerical value can be numerical values determined based on preset numerical values (for example, the preset numerical values and the first preset coefficients are subjected to multiplication to obtain first numerical values; the first value indicates a greater amount of change than the second value.
In some optional implementation manners of this embodiment, for the determined time difference, a corresponding relationship between the time difference and a difference between a preset value and an adjusted value is preset; the execution main body can adjust the preset value corresponding to the executed preset operation through the following steps to obtain the adjusted value: first, the execution body may determine a difference between a preset value and an adjusted value based on the determined time difference and the corresponding relationship. Then, the execution main body may perform difference processing on a preset value corresponding to the executed preset operation and the determined difference value to obtain an adjusted value.
The corresponding relation can be represented by a corresponding relation table which stores the time difference and the corresponding difference value of the preset value and the adjusted value; alternatively, it may be characterized by an expression established in advance based on the time difference sum, the difference between the preset value and the adjusted value, for example, y — kx. Wherein y can be used to represent the difference between the preset value and the adjusted value; x can be used to characterize the time difference; k may be a predetermined coefficient.
It is understood that the difference between the preset value and the adjusted value corresponding to the time difference can be used to represent the attenuation of the variation generated by the preset operation as time increases. Since the longer the time, the more the attenuation amount may be, further, in this implementation, the preset corresponding relationship may indicate that the time difference is positively correlated with a difference between the preset value and the adjusted value.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for processing information according to the present embodiment. In the application scenario of fig. 3, the server 301 may first obtain a target historical time period (e.g., "20: 00-23: 00") 302 corresponding to a target page and having a current time (e.g., "23: 00") as a time end, where the target page is used to play a video input by a first user. Then, the server 301 may determine whether the second user performs a preset operation (e.g., an operation for posting a comment) on the target page using the second user terminal within the target history time period 302, where the preset operation corresponds to a preset numerical value (e.g., 100) indicating a variation amount of a numerical value representing a degree of goodness of the video played on the target page, the variation amount being generated every time the preset operation is performed. Next, the server 301 may determine, in response to determining that the preset operation was performed, a time 3031 (e.g., "21: 00"), 3032 (e.g., "22: 00") at which two times (time 3031 and time 3032) were determined, representing that the second user performed two preset operations with the second user terminal within the target historical period 302. Next, server 301 may determine a time difference 3041(2 hours) between the current time ("23: 00") and time 3031 ("21: 00"), and a time difference 3042(1 hour) between the current time ("23: 00") and time 3032 ("22: 00"). Finally, the server 301 may adjust a preset value (100) corresponding to the preset operation performed at the time 3031 based on the determined time difference 3041 to obtain an adjusted value 3051 (e.g., "80" (80 ═ 100-10 × 2, where the value "100" is a preset value; the value "10" may be a preset coefficient; and the value "2" is a time difference)); and, the server 301 may adjust the preset value (100) corresponding to the preset operation performed at the time 3032 based on the determined time difference 3042, obtaining an adjusted value 3052 ("90" (90 ═ 100-10 × 1)).
The method provided by the above embodiment of the present disclosure obtains a target historical time period corresponding to a target page and taking a current time as a time end, then determines whether a second user performs a preset operation on the target page by using a second user terminal within the target historical time period, where the preset operation corresponds to a preset value, then determines a time for performing the preset operation in response to determining that the preset operation is performed, and determines a time difference between the current time and the determined time, and finally adjusts the preset value corresponding to the performed preset operation based on the determined time difference, so as to obtain an adjusted value. Here, the degree of superiority represented by the preset value is better than the degree of superiority represented by the adjusted value. The preset operation corresponds to an execution time, and the influence degree of the preset operation on a numerical value for representing the quality degree of the video played on the target page is the highest at the execution time. Therefore, the preset value corresponding to the preset operation is adjusted, the condition that the influence degree of the preset operation on the value for representing the quality degree of the video played on the target page is attenuated along with time is considered, the video quality degree played on the target page is more accurately displayed based on the adjusted value, and the accuracy and diversity of information processing are improved.
With further reference to FIG. 4, a flow 400 of yet another embodiment of a method for processing information is shown. The flow 400 of the method for processing information includes the steps of:
step 401, a target historical time period which corresponds to the target page and takes the current time as a time end point is obtained.
In this embodiment, an execution subject (for example, a server shown in fig. 1) of the method for processing information may acquire a target historical time period with a current time as a time end point, which corresponds to a target page, through a wired connection manner or a wireless connection manner. The target page is a page on which the quality degree of the video played on the target page is to be determined. The target page is used for playing the video input by the first user.
Step 402, determining whether the second user performs preset operation on the target page by using the second user terminal in the target historical time period.
In this embodiment, based on the target history time period obtained in step 401, the execution main body may determine whether the second user performs a preset operation on the target page using the second user terminal within the target history time period. The preset operation may be various predetermined operations, such as an operation of inputting information for comment, where the information for comment may be information for commenting on a video played on the target page.
In this embodiment, the preset operation corresponds to a preset value. The preset value may be a value predetermined for a preset operation, and is used to indicate a variation of the value representing the degree of goodness of the video played on the target page, which is generated every time the preset operation is performed.
In response to determining that the preset operation is performed, a time for performing the preset operation is determined, and a time difference between the current time and the determined time is determined, in step 403.
In this embodiment, the execution main body may determine a time at which the preset operation is performed, and determine a time difference between the current time and the determined time, in response to determining that the second user performed the preset operation with respect to the target page using the second user terminal within the time period.
Step 404, adjusting a preset value corresponding to the executed preset operation based on the determined time difference, and obtaining an adjusted value.
In this embodiment, based on the time difference determined in step 403, the executing entity may adjust the preset value corresponding to the executed preset operation to obtain an adjusted value. The adjusted value is used for indicating the variation of the value which is generated by the preset operation executed at the current time and used for representing the quality degree of the video played on the target page.
Steps 401, 402, 403, and 404 are respectively similar to or the same as steps 201, 202, 203, and 204 in the foregoing embodiment, and the above description for steps 201, 202, 203, and 204 also applies to steps 401, 402, 403, and 404, and is not repeated here.
Step 405, based on the obtained adjusted value, a result value for representing the quality degree of the video played on the current time target page is generated.
In this embodiment, based on the adjusted values obtained in step 404, the executing entity may generate a result value for representing the degree of goodness of the video played on the current time target page. The result value is a value used for output display, and specifically, the larger the result value is, the better the video represented and played on the current time target page can be; alternatively, the smaller the result value, the better the video represented and played on the current time target page may be.
In this embodiment, based on the obtained adjusted value, the executing entity may employ various methods to generate a result value for representing the degree of goodness of the video played on the current time target page. Specifically, as an example, in response to determining that an adjusted value is obtained, the executing entity may directly determine the adjusted value as a result value for representing the degree of goodness of the video played on the current time target page; in response to determining that the at least two adjusted values are obtained, the executing entity may sum the obtained at least two adjusted values, and obtain a sum as a result value for representing the degree of goodness of the video played on the current time target page.
In some optional implementations of this embodiment, the executing body may further generate a result value for characterizing the degree of goodness of the video played on the current time target page by:
first, the execution body may determine the number of second users who browse the video played on the target page using the second user terminal at the current time.
Specifically, the number of second users who browse the video played on the destination page using the second user terminal may be the number of second user terminals who access the destination page, and therefore, here, the execution main body may determine the number of second users who browse the video played on the destination page using the second user terminal at the current time by determining the number of second user terminals who access the destination page at the current time. Specifically, when the second user terminal accesses the target page, the execution main body may obtain terminal information of the second user terminal; the execution body may delete the acquired terminal information when the second user terminal stops accessing the target page. Furthermore, the execution main body may determine the number of second user terminals accessing the target page at the current time by determining the number of terminal information corresponding to the target page at the current time, that is, determine the number of second users browsing the video played on the target page at the current time by using the second user terminals. It should be noted that the terminal information may be used to indicate the second user terminal, and may be a unique identifier of the second user terminal. The terminal information may be, for example, an internet protocol address of the second user terminal.
The execution agent may then generate a browsing volume value based on the determined number.
The browsing amount value is a value used for evaluating the quality degree of the video on the target page based on the number of browsing people, and can be used for indicating the variation of the value generated by the number of browsing people and used for representing the quality degree of the video played on the target page. It can be understood that the more first users browsing the video played on the target page, the easier the video played on the representation target page attracts the users, and the better the video played on the representation target page.
It should be noted that, here, the larger the determined number is, the more the amount of change of the numerical value generated by the number of people for representing the degree of goodness of the video played on the target page is, and thus, the browsing amount numerical value can be determined to be proportional to the number.
In this implementation, the execution body may generate the browsing volume value in various ways based on the determined number. For example, the determined number may be directly determined as the browsing volume value.
In some optional implementations of this embodiment, the execution main body may generate the browsing volume value by: first, the execution main body may determine a number of people coefficient corresponding to the current time, where the number of people coefficient is used to determine a browsing volume value, and the number of people coefficient may be positively correlated with the browsing volume value. Then, the execution subject may generate a browsing volume value based on the determined number of people coefficient and number.
It should be noted that the execution subject may store a preset number of people coefficient in advance. The number of people coefficient corresponding to the current time may be the preset number of people coefficient, or may be a number of people coefficient obtained by processing the preset number of people coefficient (for example, by subtracting the preset number of people coefficient from a preset value).
Specifically, the executing agent may determine the number of people coefficient corresponding to the current time by using various methods. For example, a preset number of people coefficient can be directly determined as the number of people coefficient corresponding to the current time; alternatively, the executing entity may determine whether the current time meets a preset condition (for example, a time difference from the starting playing time is greater than or equal to a preset time difference), perform preset processing on the preset number of people coefficient (for example, performing a difference between the preset number of people coefficient and a preset value) in response to determining that the preset condition is met, and obtain a processing result as the number of people coefficient corresponding to the current time.
Here, the execution subject may generate the browsing amount value by various methods based on the determined number of people and the number. For example, the determined number coefficient and the number are subjected to product calculation, and a product calculation result is obtained and used as a browsing amount value; or summing the determined number coefficient and number to obtain a summation result as a browsing amount value.
Finally, the executing body may generate a result value for representing the quality degree of the video played on the current time target page based on the generated browsing volume value and the obtained adjusted value.
In this implementation manner, the execution main body may generate a result value for representing the quality degree of the video played on the current time target page by using various methods based on the adjusted value and the browsing amount value. For example, the adjusted value and the browsing amount value may be directly summed to obtain a summation result as a result value for representing the degree of goodness of the video played on the current time target page; or, weights pre-assigned to the adjusted values and the browsing amount values may be obtained, and then the adjusted values and the browsing amount values are subjected to weighted summation processing, so as to obtain a processing result as a result value for representing the quality degree of the video played on the current time target page.
In some optional implementation manners of this embodiment, a minimum operation variation corresponding to the number is preset for the number of second users browsing videos played on a target page; and in response to determining that the result value for representing the degree of goodness of the video played on the current time target page is a value determined based on the number coefficient corresponding to the current time, the executing main body may further perform the following steps:
step 4051, determining the minimum operation variation corresponding to the number of second users browsing the video played on the target page at the current time.
The minimum operation variation is the minimum variation of a numerical value generated by the preset operation and used for representing the video played on the target page. The correspondence relationship between the number and the minimum operation variation may be characterized by a correspondence relationship table in which the number and the corresponding minimum operation variation are stored, or may be characterized by an expression that is established in advance for the number and the minimum operation variation. Further, the execution may determine the minimum operation variation amount by means of table lookup or expression operation based on the determined number.
It can be understood that, in practice, only the second user who browses the video played on the target page will generally perform the preset operation on the target page, so the more second users who browse the target page, the more preset operations that can be detected. Moreover, since the number of times that the second user performs the preset operation on the target page is positively correlated with the variation of the numerical value representing the degree of goodness of the video played on the target page at the current time, the number of the second users browsing the video played on the target page may limit the variation generated by the preset operation. Further, in the present embodiment, the correspondence between the number and the minimum operation variation amount may be established in advance.
Step 4052 determines whether the amount of change indicated by the obtained adjusted value is less than or equal to the determined minimum operational change amount.
It should be noted that, when at least two adjusted values are obtained based on step 404, the above-mentioned determination of whether the variation indicated by the obtained adjusted values is smaller than or equal to the determined minimum operation variation refers to a determination of whether the sum of the variations indicated by the obtained at least two adjusted values is smaller than or equal to the determined minimum operation variation.
Step 4053, in response to determining that the number of people is equal to or less than the first threshold number, determining the number of people corresponding to the current time as a first initial number of people, determining the current time as a first reference time, and based on the first initial number of people and the first reference time, performing a first adjustment step of: in response to determining that the time difference between the current time and the first reference time is equal to a first preset time difference, performing a first adjustment on a first initial people number coefficient to obtain a first people number coefficient, wherein the first people number coefficient is smaller than the first initial people number coefficient; it is determined whether a first preset condition is satisfied.
The first preset time difference is a preset time difference which is larger than 0. The first adjustment is an adjustment for decreasing the first head count coefficient. For example, the first initial population coefficient and a preset adjustment coefficient are subtracted, wherein the preset adjustment coefficient is larger than 0; alternatively, when the head count factor is greater than 1, the first adjustment may be to square the root of the first initial head count factor. The first preset condition may be a predetermined condition for terminating the execution of the first adjustment step. For example, the first preset condition may be that the obtained first coefficient of the number of persons is equal to or less than a preset coefficient of the number of persons for termination, wherein the preset coefficient of the number of persons for termination may be a preset coefficient of the number of persons for termination of execution of the first adjustment step. Specifically, the predetermined number of people for termination may be the predetermined number of people; alternatively, the first preset condition may be that the number of times of execution of the first adjusting step reaches a preset number of times.
Here, the number of people coefficient is used to determine a browsing amount value indicating a variation of a value generated by the number of people for representing the degree of superiority of the video played on the target page, and it can be determined from the correspondence between the above number and the minimum operation variation that the variation of the value generated by the number of people for representing the degree of superiority of the video played on the target page and the variation of the value generated by the preset operation for representing the degree of superiority of the video played on the target page should respectively take a certain weight in the variation of the value for representing the degree of superiority of the video played on the target page.
The obtained variation indicated by the adjusted value is less than or equal to the determined minimum operation variation, and the proportion occupied by the variation of the value representing the degree of goodness of the video played on the target page, which is generated by the preset operation, is less than the preset operation proportion. Therefore, the proportion occupied by the variable quantity of the numerical value used for representing the quality degree of the video played on the target page and the proportion occupied by the variable quantity of the numerical value generated by the number of people and used for representing the quality degree of the video played on the target page can be balanced, and therefore the influence of cheating behaviors such as the variable quantity corresponding to more numbers of people and the like caused by the fact that a second user pretending to browse the video played on the target page by using a virtual user can be effectively reduced.
Specifically, the executing entity may perform a first adjustment on the first initial people number coefficient based on a time difference between the current time and the first reference time, so as to obtain the first people number coefficient. It can be understood that, since the first number of persons is smaller than the first initial number of persons, when the number of second users browsing the video played on the target page is the same, the value for evaluation generated based on the first number of persons is smaller than the value for evaluation generated based on the first initial number of persons, that is, the variation amount of the value representing the degree of superiority of the video played on the target page, which is generated by the number of persons, determined based on the first number of persons is smaller than the variation amount of the value representing the degree of superiority of the video played on the target page, which is generated by the number of persons, determined based on the first initial number of persons, thereby reducing the proportion of the variation amount of the value representing the degree of superiority of the video played on the target page, which is generated by the number of persons.
Step 4054, in response to determining that the first preset condition is not satisfied, determining a time at which the first person count coefficient is obtained as a first reference time, and continuing the above-described first adjusting step using the obtained first person count coefficient as a first initial person count coefficient.
It should be noted that, as time increases, the number of people coefficient is gradually adjusted, so that the variation of the browsing amount value can be smoother, and further the variation of the result value generated based on the browsing amount value can be smoother, which is helpful for corresponding the variation of the result value to the variation of the content of the video played on the target page, and more accurately displaying the quality of the video played on the target page.
In some optional implementations of this embodiment, after step 4052, the executing body may further perform the following steps:
first, the executing agent may determine whether the number of people corresponding to the current time is smaller than a preset number of people in response to determining that the variation indicated by the obtained adjusted value is not smaller than (i.e., larger than) the determined minimum operation variation.
Then, the execution subject may determine, in response to the determination that the number of people is less than the first threshold, the number of people corresponding to the current time as a first initial number of people, determine the current time as a first reference time, and execute, based on the first initial number of people and the first reference time, the following first adjustment step: in response to determining that the time difference between the current time and the second reference time is equal to a second preset time difference, performing second adjustment on the second initial people number coefficient to obtain a second people number coefficient, wherein the second people number coefficient is greater than the second initial people number coefficient; it is determined whether a second preset condition is satisfied.
Wherein the second preset time difference is a preset time difference which is larger than 0. The second adjustment is an adjustment for increasing the second head count coefficient. For example, the second initial population number coefficient and the preset adjustment coefficient can be summed; alternatively, when the head count coefficient is greater than 1, the second adjustment may be squaring the second initial head count coefficient. The second preset condition may be a predetermined condition for terminating the execution of the second adjustment step. For example, the second preset condition may be that the obtained second number of people is equal to the preset number of people; alternatively, the second preset condition may be that the execution times of the second adjusting step reach a preset number.
Here, the obtained adjusted value indicates a variation not less than or equal to the determined minimum operation variation, and the variation representing the value representing the degree of superiority and inferiority of the video played on the target page generated by the preset operation may have a proportion not less than the preset operation proportion. Meanwhile, if the number of people corresponding to the current time is smaller than the preset number of people, the proportion occupied by the variation of the number value generated by the number of people and used for representing the quality degree of the video played on the target page is smaller than the preset number of people. At this time, the number of people coefficient corresponding to the current time may be adjusted second to increase the proportion of the variation of the numerical value representing the degree of goodness of the video played on the target page.
Specifically, the executing entity may perform a second adjustment on the second initial population coefficient based on a time difference between the current time and a second reference time to obtain a second population coefficient. It can be understood that, since the second population coefficient is greater than the second initial population coefficient, when the number of second users browsing the video played on the target page is the same, the value for evaluation generated based on the second population coefficient is greater than the value for evaluation generated based on the second initial population coefficient, that is, the variation of the value representing the degree of superiority of the video played on the target page, which is generated by the population determined based on the second population coefficient, is greater than the variation of the value representing the degree of superiority of the video played on the target page, which is generated by the population determined based on the second initial population coefficient, so that the proportion of the variation of the value representing the degree of superiority of the video played on the target page, which is generated by the population, is increased.
Finally, the executing body may determine the time at which the second head count coefficient is obtained as a second reference time in response to determining that the second preset condition is not satisfied, and continue to execute the second adjusting step using the obtained second head count coefficient as a second initial head count coefficient.
The execution subject may record a time for obtaining the second head count coefficient when performing the second adjustment on the second initial head count coefficient to obtain the second head count coefficient; further, here, the execution subject may acquire the recorded time at which the second population coefficient is obtained as the second reference time.
Step 406, sending the generated result value to a third user terminal in communication connection, so that the third user terminal displays the generated result value.
In this embodiment, based on the result value generated in step 405, the execution subject may send the generated result value to a third user terminal connected in communication, so that the third user terminal displays the generated result value. Therefore, the quality degree of the video played on the current time target page can be visually displayed. The third user terminal may be the second user terminal or another terminal communicatively connected to the execution entity.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the flow 400 of the method for processing information in the present embodiment highlights the steps of generating a result value for characterizing the degree of goodness of the video played on the target page based on the obtained adjusted value, and outputting the result value. Therefore, the scheme described in the embodiment can intuitively display the quality degree of the video played on the target page based on the result value, and improves the comprehensiveness of information processing; and based on the adjusted numerical value, a more accurate result numerical value can be generated, and the accuracy of information display is improved.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an apparatus for processing information, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable in various electronic devices.
As shown in fig. 5, the apparatus 500 for processing information of the present embodiment includes: a time acquisition unit 501, a first determination unit 502, a second determination unit 503, and a value adjustment unit 504. The time obtaining unit 501 is configured to obtain a target historical time period which takes the current time as a time end point and corresponds to a target page, where the target page is used for playing a video input by a first user; the first determining unit 502 is configured to determine whether a second user performs a preset operation on a target page using a second user terminal within a target history time period, wherein the preset operation corresponds to a preset value indicating a variation of a value representing a degree of goodness of a video played on the target page, the value being generated every time the preset operation is performed; the second determination unit 503 is configured to determine a time to perform the preset operation and a time difference between the current time and the determined time in response to determining that the preset operation is performed; the value adjusting unit 504 is configured to adjust a preset value corresponding to the executed preset operation based on the determined time difference, and obtain an adjusted value.
In this embodiment, the time obtaining unit 501 of the apparatus 500 for processing information may obtain the target history time period with the current time as the time end point corresponding to the target page through a wired connection manner or a wireless connection manner. The target page is a page on which the quality degree of the video played on the target page is to be determined. The target page corresponds to the first user and is used for playing the video input by the first user.
In this embodiment, based on the target history time period obtained by the time obtaining unit 501, the first determining unit 502 may determine whether the second user performs a preset operation on the target page using the second user terminal within the target history time period. The preset operation may be various predetermined operations, such as an operation of inputting information for comment, where the information for comment may be information for commenting on a video played on the target page.
In this embodiment, the preset operation corresponds to a preset value. The preset value may be a value predetermined for a preset operation, and is used to indicate a variation of the value representing the degree of goodness of the video played on the target page, which is generated every time the preset operation is performed.
In this embodiment, the second determining unit 503 may determine, in response to determining that the second user performed the preset operation with the second user terminal for the target page within the above-described time period, a time at which the preset operation was performed, and a time difference between the current time and the determined time.
In this embodiment, based on the time difference determined by the second determining unit 503, the value adjusting unit 504 may adjust a preset value corresponding to the executed preset operation to obtain an adjusted value. The adjusted value is used for indicating the variation of the value which is generated by the preset operation executed at the current time and used for representing the quality degree of the video played on the target page.
In some optional implementations of this embodiment, the apparatus 500 for processing information may further include: a value generating unit (not shown in the figure) configured to generate a result value for characterizing the degree of goodness of the video played on the current time target page based on the obtained adjusted value; a value transmitting unit (not shown in the figure) configured to transmit the generated result value to a communicatively connected third user terminal so that the third user terminal displays the generated result value.
In some optional implementations of this embodiment, the numerical value generating unit may include: a first determining module (not shown in the figure) configured to determine the number of second users browsing the video played on the target page with the second user terminal at the current time; a first generating module (not shown in the figure) configured to generate a browsing volume value based on the determined number; and a second generating module (not shown in the figure) configured to generate a result value for representing the degree of goodness of the video played on the current time target page based on the generated browsing volume value and the obtained adjusted value.
In some optional implementations of the present embodiment, the first generating module may be further configured to: determining a number coefficient corresponding to the current time, wherein the number coefficient is used for determining a browsing amount value; based on the determined population coefficient and the number, a browsing volume value is generated.
In some optional implementations of this embodiment, a correspondence between the time difference and a difference between the preset value and the adjusted value is preset for the determined time difference; and the value adjusting unit 504 may include: a second determining module (not shown in the figures) configured to determine a difference between the preset value and the adjusted value based on the determined time difference and the corresponding relationship; and a value processing module (not shown in the figure) configured to perform a difference processing on a preset value corresponding to the executed preset operation and the determined difference value to obtain an adjusted value.
It will be understood that the units described in the apparatus 500 for processing information correspond to the respective steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 500 and the units included therein, and are not described herein again.
The apparatus 500 for processing information according to the above embodiment of the present disclosure obtains a target historical time period that corresponds to a target page and takes a current time as a time end, then determines whether a second user performs a preset operation on the target page by using a second user terminal within the target historical time period, where the preset operation corresponds to a preset value, then determines a time for performing the preset operation in response to determining that the preset operation is performed, and determines a time difference between the current time and the determined time, and finally adjusts the preset value corresponding to the performed preset operation based on the determined time difference to obtain an adjusted value. Here, the degree of superiority represented by the preset value is better than the degree of superiority represented by the adjusted value. The preset operation corresponds to an execution time, and the influence degree of the preset operation on a numerical value for representing the quality degree of the video played on the target page is the highest at the execution time. Therefore, the preset value corresponding to the preset operation is adjusted, the condition that the influence degree of the preset operation on the value for representing the quality degree of the video played on the target page is attenuated along with time is considered, the video quality degree played on the target page is more accurately displayed based on the adjusted value, and the accuracy and diversity of information processing are improved.
Referring now to FIG. 6, shown is a schematic block diagram of a computer system 600 suitable for use in implementing a server of an embodiment of the present disclosure. The server 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 disclosure.
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 computer 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 above-described functions defined in the method of the present disclosure are performed when the computer program is executed by a Central Processing Unit (CPU) 601. It should be noted that the computer readable medium in the present disclosure may 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 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. In contrast, in the present disclosure, 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.
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 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 described in the embodiments of the present disclosure 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 time acquisition unit, a first determination unit, a second determination unit, and a value adjustment unit. Here, the names of these units do not constitute a limitation to the unit itself in some cases, and for example, the time acquisition unit may also be described as a "unit that acquires a target history time period".
As another aspect, the present disclosure 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 a target historical time period which corresponds to a target page and takes the current time as a time end point, wherein the target page is used for playing a video input by a first user; determining whether a second user performs preset operation on a target page by using a second user terminal in a target historical time period, wherein the preset operation corresponds to a preset numerical value, and the preset numerical value is used for indicating the variable quantity of a numerical value which is generated by performing the preset operation once and is used for representing the quality degree of a video played on the target page; in response to determining that the preset operation is performed, determining a time at which the preset operation is performed, and determining a time difference between the current time and the determined time; and adjusting a preset value corresponding to the executed preset operation based on the determined time difference to obtain an adjusted value.
The foregoing description is only exemplary of the preferred embodiments of the disclosure 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 in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept as defined above. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.