CN114722294A - Method, apparatus, device, medium and product for processing data - Google Patents

Method, apparatus, device, medium and product for processing data Download PDF

Info

Publication number
CN114722294A
CN114722294A CN202210425008.7A CN202210425008A CN114722294A CN 114722294 A CN114722294 A CN 114722294A CN 202210425008 A CN202210425008 A CN 202210425008A CN 114722294 A CN114722294 A CN 114722294A
Authority
CN
China
Prior art keywords
data
queue
data queue
preset
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210425008.7A
Other languages
Chinese (zh)
Inventor
刘伟
林赛群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing 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 Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN202210425008.7A priority Critical patent/CN114722294A/en
Publication of CN114722294A publication Critical patent/CN114722294A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a method, apparatus, device, medium, and product for processing data, relating to the technical field of big data, in particular to the technical field of intelligent recommendation. The specific implementation scheme is as follows: acquiring data request information; selecting a target data queue from a preset data queue set based on the data request information; determining current display data based on the target data queue; and updating the current display data in response to the fact that the feedback information corresponding to the current display data meets the preset data switching condition. This implementation can improve data display flexibility.

Description

Method, apparatus, device, medium and product for processing data
Technical Field
The disclosure relates to the technical field of big data, in particular to the technical field of intelligent recommendation.
Background
At present, in application scenarios such as content recommendation, search result display, and the like, corresponding data needs to be displayed based on a data request initiated by a user.
In practice, it is found that when data is displayed, a batch of fixed data is generated according to a data request initiated by a user, and then the batch of fixed data is displayed. Therefore, the existing data display method has the problem of poor flexibility.
Disclosure of Invention
The present disclosure provides a method, apparatus, device, medium, and article of manufacture for processing data.
According to an aspect of the present disclosure, there is provided a method for processing data, including: acquiring data request information; selecting a target data queue from a preset data queue set based on the data request information; determining current display data based on the target data queue; and updating the current display data in response to the fact that the feedback information corresponding to the current display data meets the preset data switching condition.
According to another aspect of the present disclosure, there is provided an apparatus for processing data, including: a request acquisition unit configured to acquire data request information; a queue selection unit configured to select a target data queue from a preset data queue set based on the data request information; a data determination unit configured to determine current presentation data based on the target data queue; and the data updating unit is configured to update the current display data in response to the detection that the feedback information corresponding to the current display data meets the preset data switching condition.
According to another aspect of the present disclosure, there is provided an electronic device including: one or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement a method for processing data as any one of the above.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method for processing data as any one of the above.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements a method for processing data as any one of the above.
According to the technology of the present disclosure, a method for processing data is provided, which can improve data display flexibility.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present disclosure may be applied;
FIG. 2 is a flow diagram for one embodiment of a method for processing data according to the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of a method for processing data according to the present disclosure;
FIG. 4 is a flow diagram of another embodiment of a method for processing data according to the present disclosure;
FIG. 5 is a schematic block diagram illustrating one embodiment of an apparatus for processing data according to the present disclosure;
FIG. 6 is a block diagram of an electronic device for implementing a method for processing data of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
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.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. Network 104 is the medium used to provide communication links between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
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. The terminal apparatuses 101, 102, 103 may have application software having a data push function or application software having a data search function installed therein. The user may trigger a data request based on data interaction with application software in the terminal devices 101, 102, and 103, so that the terminal devices 101, 102, and 103 generate data request information, and send the data request information to the server 105 through the network 104, so that the server 105 returns current presentation data. The terminal devices 101, 102, and 103 may output the current presentation data in the application software, and update the current presentation data based on the data switching instruction returned by the server 105.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices including, but not limited to, mobile phones, computers, tablets, 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., 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, for example, the server 105 may receive data request information sent by the terminal devices 101, 102, and 103 through the network 104, select a target data queue to be displayed from a preset data queue set based on the data request information, determine each data in the target data queue as current display data, and return the current display data to the terminal devices 101, 102, and 103 through the network 104, so that the terminal devices 101, 102, and 103 output the current display data in the application software. Then, the server 105 may also monitor feedback information corresponding to the current display data in real time, update the current display data when the feedback information meets a preset data switching condition, generate a data switching instruction based on the updated current display data, and return the data switching instruction to the terminal devices 101, 102, and 103 through the network 104, so that the terminal devices 101, 102, and 103 output the updated current display data in the application software.
The server 105 may be hardware or software. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server 105 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 processing data provided by the embodiment of the present disclosure may be executed by the terminal devices 101, 102, and 103, or may be executed by the server 105, and the apparatus for processing data may be disposed in the terminal devices 101, 102, and 103, or may be disposed in the server 105, which is not limited in the embodiment of the present disclosure.
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 an implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for processing data in accordance with the present disclosure is shown. The method for processing data of the embodiment comprises the following steps:
step 201, data request information is acquired.
In this embodiment, the execution subject (such as the server 105 or the terminal devices 101, 102, 103 in fig. 1) may detect whether a data request instruction triggered by a user is received, and generate data request information after detecting the data request instruction. Optionally, the data request instruction may be triggered based on data search performed by a user, may also be triggered based on a preset active recommendation instruction, and may also be triggered by user selection of information flow presentation, which is not limited in this embodiment.
The data request information may include user characteristics, so that the execution subject selects data adapted to the user characteristics to display based on the data request information.
In some optional implementations of this embodiment, obtaining the data request information may include: responding to a data request instruction triggered by a detected user, and acquiring user characteristics of the user; wherein the user characteristic may comprise a user representation of the user; based on the user characteristics of the user, data request information is generated. Optionally, the execution body may store a user representation of the user in advance, and the user representation may be obtained based on analysis of data content historically browsed by the user. By implementing the optional implementation mode, the data request information reflecting the user characteristics can be obtained, so that the data adaptive to the user characteristics are convenient to output, and the pertinence of data output is improved.
Step 202, based on the data request information, selecting a target data queue from a preset data queue set.
In this embodiment, the predetermined data queue set may include at least one data queue, and different data queues correspond to different data types. After the execution main body obtains the data request information, the execution main body can analyze the data request information to obtain the user characteristics. Then, the execution subject may select a data queue matching the user characteristic from a preset data queue set, where the data queue matching the user characteristic may include data that is selected based on the user characteristic and meets the user preference.
Step 203, determining the current display data based on the target data queue.
In this embodiment, the execution subject may take each data in the target data queue as the current presentation data, and output the current presentation data. Or, in response to determining that the data presentation manner is batch presentation, the execution subject may select each batch of data to be presented as the current presentation data according to the sequence of each data in the target data queue. The data displayed in each batch may be data in the same display page.
In some optional implementations of this embodiment, determining the current presentation data based on the target data queue may include: in response to determining that the target data queue is data that matches the user characteristic and that meets the user preference, for each data in the target data queue, determining a degree of match between the data and the user characteristic; and determining a preset number of data from the target data queue in sequence according to the sequence of the matching degree from high to low as the current display data. The preset number may be a preset amount of data to be displayed in each batch. By adopting the alternative implementation mode, data which are more interesting to the user can be preferentially displayed, so that the pertinence of data output is further improved.
And 204, updating the current display data in response to the fact that the feedback information corresponding to the current display data meets the preset data switching condition.
In this embodiment, after determining the current presentation data, the execution main body may output the current presentation data and obtain feedback information corresponding to the current presentation data. The feedback information may be various user feedbacks triggered by the user for the current display data, where the user feedbacks may include, but are not limited to, a user stay time, a click operation, a browsing time, a browsing integrity, a closing operation, and the like, and this embodiment does not limit this. And, the preset data switching condition may be a preset condition for updating the current presentation data. Optionally, the preset data switching condition may indicate that the user is not satisfied with the current display data for the feedback information, specifically, the data switching condition may include, but is not limited to, that a staying time of the user for the current display data is less than a preset time, that the user performs a closing operation for the current display data, and that a browsing integrity for the current display data is less than a preset integrity, and the like.
In some optional implementations of this embodiment, updating the current presentation data may include: and reselecting the target data queue from the preset data queue set, and updating the current display data based on the reselected target data queue. Optionally, each data queue in the preset data queue set may have a queue priority. In performing the reselection target data queue, the target data queue may be reselected based on the queue priority. For example, the predetermined set of data queues may include data queues matching the user characteristics and matching the user preferences, data queues similar to the user characteristics and suspected to match the user preferences, and data queues belonging to new data types independent of the user characteristics. In this case, the queue priority may be that a data queue matching the user characteristic has a higher priority than a data queue similar to the user characteristic, and a data queue similar to the user characteristic has a higher priority than a data queue unrelated to the user characteristic.
In other optional implementation manners of this embodiment, in response to detecting that the feedback information corresponding to the currently displayed data does not satisfy the preset data switching condition and the data display manner of the currently displayed data is batch display, data is reselected from the target data queue to serve as updated currently displayed data, and the updated currently displayed data is output. Optionally, the data may be reselected from the target data queue, and a preset number of data may be selected according to a sequence that a matching degree between each data in the target data queue and the user characteristic is from high to low. By adopting the optional implementation mode, under the condition that the feedback information indicates that the user is satisfied with the data displayed in the current target data queue, the data is continuously selected from the current target data queue to update the current displayed data, and the batch display of the data is realized.
With continued reference to fig. 3, a schematic diagram of one application scenario of a method for processing data according to the present disclosure is shown. In the application scenario of fig. 3, the preset data queue set may include data queues 1, 2, and 3, and after the execution subject acquires the data request information, the execution subject may select a target data queue matching the user characteristic from the data queues 1, 2, and 3 based on the data request information, and determine the current presentation data 301 based on each data in the target data queue. In the process of displaying the current display data 301, the execution main body may detect whether feedback information corresponding to the current display data meets a preset data switching condition, and if so, may reselect the target data queue from the data queues 1, 2, and 3, and update the current display data 301 based on data in the reselected target data queue. And if the feedback information corresponding to the current display data does not meet the preset data switching condition and the data display mode is batch display, reselecting data from the target data queue to update the current display data 301.
The method for processing data provided by the above embodiment of the present disclosure can utilize each data queue in a preset data queue set to realize real-time adjustment of current display data for one data request, thereby improving data display flexibility.
With continued reference to FIG. 4, a flow 400 of another embodiment of a method for processing data in accordance with the present disclosure is shown. As shown in fig. 4, the method for processing data of the present embodiment may include the steps of:
step 401, data request information is acquired.
In this embodiment, for the detailed description of step 401, please refer to the detailed description of step 201, which is not described herein again.
Step 402, selecting a target data queue from a preset data queue set based on the data request information.
In this embodiment, for the detailed description of step 402, please refer to the detailed description of step 202, which is not repeated herein.
Step 403, determining the current display data based on the target data queue.
In this embodiment, for the detailed description of step 403, please refer to the detailed description of step 203, which is not repeated herein.
And step 404, obtaining feedback information corresponding to the current display data.
In this embodiment, the execution subject (e.g., the server 105 or the terminal devices 101, 102, 103 in fig. 1) may output the current presentation data after determining that the current presentation data is obtained. And in the process of displaying the current display data, various user feedbacks triggered by the user aiming at the current display data are obtained, and feedback information corresponding to the current display data is obtained. The user feedback may include, but is not limited to, a user stay time, a click operation, a browsing time, a browsing integrity, a closing operation, and the like, which is not limited in this embodiment.
And 405, determining satisfaction information corresponding to the feedback information based on the feedback information and a satisfaction judging model trained in advance.
In this embodiment, the satisfaction judging model trained in advance may be used to judge whether the feedback information indicates satisfaction with the current display data, and the satisfaction information determined based on the feedback information and the satisfaction judging model may include satisfaction with the current display data and dissatisfaction with the current display data. Optionally, the satisfaction degree discrimination model trained in advance may also be used to score the satisfaction degree of the feedback information, where the higher the obtained satisfaction degree score is, the more satisfied the current presentation data is, and the lower the obtained satisfaction degree score is, the less satisfied the current presentation data is. The satisfaction information determined based on the feedback information and the satisfaction judging model can be the satisfaction score.
Step 406, in response to detecting that the satisfaction information indicates dissatisfaction with the currently displayed data, determining that the feedback information satisfies a preset data switching condition, and reselecting the target data queue from the preset data queue set.
In this embodiment, when the satisfaction information is the satisfied current display data or the unsatisfied current display data, the executive body may directly analyze the satisfaction information to determine whether the satisfaction information indicates the unsatisfied current display data. In a case where the satisfaction information is the satisfaction score, the executing agent may compare the satisfaction score with a preset score threshold, and if the satisfaction score is lower than the preset score threshold, determine that the satisfaction information indicates dissatisfaction with the current data.
When the satisfaction degree information is detected to indicate that the current display data is not satisfied, the feedback information is determined to meet a preset data switching condition, and the target data queue is reselected from a preset data queue set to update the current display data based on the data in the target data queue. For a detailed description of the re-selecting of the target data queue, please refer to the detailed description of step 204, which is not described herein again.
In some optional implementations of this embodiment, the reselecting the target data queue from the preset data queue set includes: acquiring a queue sequence corresponding to each data queue in a preset data queue set; and reselecting the target data queue from the preset data queue set based on the queue sequence and the queue position of the target data queue in the preset data queue set.
In this implementation manner, at least one data queue in the preset data queue set has a corresponding queue order, and the execution main body may store the queue order corresponding to each data queue in advance. In the case of re-selecting the target data queue, the execution body may select a next queue of the queue positions of the target data queue as the re-selected target data queue according to a sequence from front to back of the queue sequence.
Optionally, based on the queue order and the queue position of the target data queue in the preset data queue set, reselecting the target data queue from the preset data queue set may include: in response to determining that the queue position of the target data queue in the preset data queue set is not the last queue in the queue order, selecting a queue one bit behind the queue position of the target data queue as a re-selected target data queue; and in response to determining that the queue position of the target data queue in the preset data queue set is the last queue in the queue order, updating the preset data queue set, and determining the queue in the first queue order in the updated data queue set as the target data queue.
In other optional implementations of this embodiment, the preset data queue set at least includes a basic data queue, a buffer data queue, and a regulating data queue; the queue order is that the basic data queue is prior to the buffer data queue, and the buffer data queue is prior to the regulating data queue; and reselecting the target data queue from the preset data queue set based on the queue order and the queue position of the target data queue in the preset data queue set, wherein the reselecting of the target data queue from the preset data queue set comprises the following steps: and in response to determining that the target data queue is the basic data queue, determining the buffered data queue as the reselected target data queue based on the queue order and the queue position of the basic data queue in the preset data queue set.
In this implementation, the base data queue may be a data queue that matches the user characteristics and conforms to the user preferences, the buffer data queue may be a data queue that approximates the user characteristics and infers the user preferences, and the adjustment data queue may be a data queue that is independent of the user characteristics and is distinct from the data types of the base data queue and the buffer data queue. Optionally, the buffered data queue may contain data in a portion of the base data queue.
Wherein adjusting the data queue may be determined based on real-time data heat. The execution body may determine data of a data type different from the data types of the base data queue and the buffer data queue, for which the real-time data is hot, as the data in the adjustment data queue.
And when the target data queue is reselected, if the current target data queue is the basic data queue, because the queue position of the basic data queue in the data queue set is not the last position, according to the queue sequence, determining the buffer data queue one position behind the basic data queue as the reselected target data queue.
In other optional implementations of this embodiment, reselecting the target data queue from the preset data queue set based on the queue order and the queue position of the target data queue in the preset data queue set includes: and in response to determining that the target data queue is a buffered data queue, determining the adjusted data queue as the reselected target data queue based on the queue order and the queue position of the buffered data queue in the preset data queue set.
In this implementation, when the target data queue is reselected, if the current target data queue is a buffered data queue, since the queue position of the buffered data queue in the data queue set is not the last position, the adjusted data queue one position after the buffered data queue is determined as the reselected target data queue according to the queue order.
In other optional implementations of this embodiment, reselecting the target data queue from the preset data queue set based on the queue order and the queue position of the target data queue in the preset data queue set includes: updating the basic data queue, the buffer data queue and the adjustment data queue based on the queue order and the queue position of the adjustment data queue in a preset data queue set in response to determining that the target data queue is the adjustment data queue; and determining the updated basic data queue as the reselected target data queue.
In this implementation, when the target data queue is reselected, if the current target data queue is the adjustment data queue, the execution body may update the data queue set because the queue position of the adjustment data queue in the data queue set is the last bit. Namely, update base data queues, buffer data queues and throttle data queues. And determining the updated basic data queue at the first position of the queue position as the reselected target data queue.
Optionally, the ways of updating the basic data queue, buffering the data queue, and adjusting the data queue may specifically be: acquiring a data type corresponding to a current adjusting data queue; selecting data different from the data type according to the sequence of the real-time data heat from high to low, and generating an updated basic data queue; determining a data type similar to the data type of the basic data queue; determining the data corresponding to the similar data type as the data in the updated buffer data queue; selecting different data types different from the historical data types of each queue according to the sequence of the real-time data heat degrees from high to low; and determining the data corresponding to the distinguished data types as the reselected regulating data queue.
Step 407, updating the current display data based on the reselected target data queue.
In this embodiment, the execution subject may determine the data in the reselected target data queue as the updated current presentation data. Optionally, the data in the target data queue may be sorted according to the real-time data heat. And in response to determining that the data display mode is batch display, selecting a preset number of data in the target data queue as updated current display data according to the sequence from high to low of the real-time data heat, and outputting the updated current display data. For the detailed description of step 407, please refer to the detailed description of step 204, and will not be described herein.
The method for processing data provided by the above embodiment of the present disclosure may further determine the satisfaction information corresponding to the feedback information by using a satisfaction discrimination model, so as to switch the data queue in time when the user is not satisfied with the data in the current data queue, implement real-time switching of the data queue, and further improve the flexibility of data display. And when the target data queue is reselected, the target data queue can be sequentially selected according to the queue sequence among the data queues, so that the selected target data queue is more in line with the user requirement, and the adaptability between the data display and the user is improved.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of an apparatus for processing data, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to electronic devices such as a terminal device, a server, and the like.
As shown in fig. 5, the apparatus 500 for processing data of the present embodiment includes: a request acquisition unit 501, a queue selection unit 502, a data determination unit 503, and a data update unit 504.
A request acquisition unit 501 configured to acquire data request information.
A queue selecting unit 502 configured to select a target data queue from a preset data queue set based on the data request information.
A data determining unit 503 configured to determine current presentation data based on the target data queue.
The data updating unit 504 is configured to update the current display data in response to detecting that the feedback information corresponding to the current display data meets a preset data switching condition.
In some optional implementations of the present embodiment, the data updating unit 504 is further configured to: in response to the fact that the feedback information corresponding to the current display data meets the preset data switching condition, reselecting the target data queue from the preset data queue set; and updating the current display data based on the reselected target data queue.
In some optional implementations of the present embodiment, the data updating unit 504 is further configured to: acquiring a queue sequence corresponding to each data queue in a preset data queue set; and reselecting the target data queue from the preset data queue set based on the queue sequence and the queue position of the target data queue in the preset data queue set.
In some optional implementations of this embodiment, the preset data queue set at least includes a basic data queue, a buffer data queue, and an adjustment data queue; the queue order is that the basic data queue is prior to the buffer data queue, and the buffer data queue is prior to the regulating data queue; and, the data update unit 504 is further configured to: and in response to determining that the target data queue is the basic data queue, determining the buffered data queue as the reselected target data queue based on the queue order and the queue position of the basic data queue in the preset data queue set.
In some optional implementations of the present embodiment, the data updating unit 504 is further configured to: and in response to determining that the target data queue is a buffered data queue, determining the adjusted data queue as the reselected target data queue based on the queue order and the queue position of the buffered data queue in the preset data queue set.
In some optional implementations of the present embodiment, the data updating unit 504 is further configured to: updating the basic data queue, the buffer data queue and the adjustment data queue based on the queue order and the queue position of the adjustment data queue in a preset data queue set in response to determining that the target data queue is the adjustment data queue; and determining the updated basic data queue as the reselected target data queue.
In some optional implementations of this embodiment, the method further includes: the switching judging unit is configured to acquire feedback information corresponding to the current display data; determining satisfaction information corresponding to the feedback information based on the feedback information and a satisfaction judging model trained in advance; and in response to detecting that the satisfaction information indicates dissatisfaction with the current presentation data, determining that the feedback information meets a preset data switching condition.
It should be understood that the units 501 to 504, which are described in the apparatus 500 for processing data, correspond to the respective steps in the method described with reference to fig. 2, respectively. Thus, the operations and features described above for the method for processing data are equally applicable to the apparatus 500 and the units included therein and will not be described again here.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Computing unit 601 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 performs the respective methods and processes described above, such as a method for processing data. For example, in some embodiments, the method for processing data may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into RAM603 and executed by the computing unit 601, one or more steps of the method for processing data described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured by any other suitable means (e.g. by means of firmware) to perform the method for processing data.
In the technical scheme of the disclosure, the processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the common customs of public order.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, causes the functions/acts specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server combining a blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.

Claims (17)

1. A method for processing data, comprising:
acquiring data request information;
selecting a target data queue from a preset data queue set based on the data request information;
determining current presentation data based on the target data queue;
and updating the current display data in response to the fact that the feedback information corresponding to the current display data meets a preset data switching condition.
2. The method according to claim 1, wherein the updating the current presentation data in response to detecting that the feedback information corresponding to the current presentation data meets a preset data switching condition comprises:
in response to the fact that the feedback information corresponding to the current display data meets the preset data switching condition, reselecting the target data queue from the preset data queue set;
and updating the current display data based on the reselected target data queue.
3. The method of claim 2, wherein said reselecting the target data queue from the predetermined set of data queues comprises:
acquiring a queue sequence corresponding to each data queue in the preset data queue set;
and based on the queue sequence and the queue position of the target data queue in the preset data queue set, reselecting the target data queue from the preset data queue set.
4. The method of claim 3, wherein the preset set of data queues includes at least a base data queue, a buffer data queue, and a throttle data queue; the queue order is that the basic data queue precedes the buffer data queue, and the buffer data queue precedes the regulating data queue; and
the reselecting the target data queue from the preset data queue set based on the queue order and the queue position of the target data queue in the preset data queue set includes:
and in response to determining that the target data queue is the basic data queue, determining the buffered data queue as the reselected target data queue based on the queue order and the queue position of the basic data queue in the preset data queue set.
5. The method of claim 4, wherein said reselecting the target data queue from the predetermined set of data queues based on the queue order and a queue position of the target data queue in the predetermined set of data queues comprises:
and in response to determining that the target data queue is the buffered data queue, determining the adjusted data queue as the reselected target data queue based on the queue order and a queue position of the buffered data queue in the preset data queue set.
6. The method of claim 4, wherein said reselecting the target data queue from the predetermined set of data queues based on the queue order and a queue position of the target data queue in the predetermined set of data queues comprises:
in response to determining that the target data queue is the adjustment data queue, updating the base data queue, the buffer data queue, and the adjustment data queue based on the queue order and a queue position of the adjustment data queue in the preset set of data queues;
and determining the updated basic data queue as the reselected target data queue.
7. The method of any of claims 1 to 6, further comprising:
acquiring the feedback information corresponding to the current display data;
determining satisfaction information corresponding to the feedback information based on the feedback information and a satisfaction judging model trained in advance;
in response to detecting that the satisfaction information indicates dissatisfaction with the current presentation data, determining that the feedback information satisfies the preset data switching condition.
8. An apparatus for processing data, comprising:
a request acquisition unit configured to acquire data request information;
a queue selection unit configured to select a target data queue from a preset data queue set based on the data request information;
a data determination unit configured to determine current presentation data based on the target data queue;
the data updating unit is configured to update the current display data in response to the fact that the feedback information corresponding to the current display data meets a preset data switching condition.
9. The apparatus of claim 8, wherein the data update unit is further configured to:
in response to the fact that the feedback information corresponding to the current display data meets the preset data switching condition, reselecting the target data queue from the preset data queue set;
and updating the current display data based on the reselected target data queue.
10. The apparatus of claim 9, wherein the data update unit is further configured to:
acquiring a queue sequence corresponding to each data queue in the preset data queue set;
and based on the queue sequence and the queue position of the target data queue in the preset data queue set, reselecting the target data queue from the preset data queue set.
11. The apparatus of claim 10, wherein the preset set of data queues comprises at least a base data queue, a buffered data queue, and a throttled data queue; the queue order is that the basic data queue precedes the buffer data queue, and the buffer data queue precedes the regulating data queue; and
the data update unit is further configured to:
and in response to determining that the target data queue is the basic data queue, determining the buffered data queue as the reselected target data queue based on the queue order and a queue position of the basic data queue in the preset data queue set.
12. The apparatus of claim 11, wherein the data update unit is further configured to:
and in response to determining that the target data queue is the buffered data queue, determining the adjusted data queue as the reselected target data queue based on the queue order and a queue position of the buffered data queue in the preset data queue set.
13. The apparatus of claim 11, wherein the data update unit is further configured to:
in response to determining that the target data queue is the adjustment data queue, updating the base data queue, the buffer data queue, and the adjustment data queue based on the queue order and a queue position of the adjustment data queue in the preset set of data queues;
and determining the updated basic data queue as the reselected target data queue.
14. The apparatus of any of claims 7 to 13, further comprising:
the switching judging unit is configured to acquire the feedback information corresponding to the current display data; determining satisfaction information corresponding to the feedback information based on the feedback information and a satisfaction judging model trained in advance; in response to detecting that the satisfaction information indicates dissatisfaction with the current presentation data, determining that the feedback information satisfies the preset data switching condition.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
16. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
17. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
CN202210425008.7A 2022-04-21 2022-04-21 Method, apparatus, device, medium and product for processing data Pending CN114722294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210425008.7A CN114722294A (en) 2022-04-21 2022-04-21 Method, apparatus, device, medium and product for processing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210425008.7A CN114722294A (en) 2022-04-21 2022-04-21 Method, apparatus, device, medium and product for processing data

Publications (1)

Publication Number Publication Date
CN114722294A true CN114722294A (en) 2022-07-08

Family

ID=82246012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210425008.7A Pending CN114722294A (en) 2022-04-21 2022-04-21 Method, apparatus, device, medium and product for processing data

Country Status (1)

Country Link
CN (1) CN114722294A (en)

Similar Documents

Publication Publication Date Title
JP6594534B2 (en) Text information processing method and device
CN114329201B (en) Training method of deep learning model, content recommendation method and device
US11120223B2 (en) Probabilistic word embeddings for text classification
US20200167429A1 (en) Efficient use of word embeddings for text classification
WO2023245938A1 (en) Object recommendation method and apparatus
CN114443989B (en) Ranking method, training method and device of ranking model, electronic equipment and medium
CN113190695A (en) Multimedia data searching method and device, computer equipment and medium
KR20230006601A (en) Alignment methods, training methods for alignment models, devices, electronic devices and media
CN115269989B (en) Object recommendation method, device, electronic equipment and storage medium
CN114722294A (en) Method, apparatus, device, medium and product for processing data
CN114035729B (en) Electronic voting method and device and terminal equipment
WO2023115831A1 (en) Application testing method and apparatus, electronic device and storage medium
US20200152202A1 (en) Distributed system for conversational agent
CN113596011B (en) Flow identification method and device, computing device and medium
JP6944594B2 (en) Dialogue device
CN115587228B (en) Object query method, object storage method and device
WO2018203510A1 (en) Question inference device
US11849006B2 (en) Method for reporting asynchronous data, electronic device and storage medium
CN115860055B (en) Performance determination method, performance optimization method, device, electronic equipment and medium
CN113408664B (en) Training method, classification method, device, electronic equipment and storage medium
CN114138397B (en) Page display method and device, electronic equipment and storage medium
CN113434432B (en) Performance test method, device, equipment and medium for recommendation platform
CN116662652A (en) Model training method, resource recommendation method, sample generation method and device
CN115936091A (en) Deep learning model training method and device, electronic equipment and storage medium
CN114329205A (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