WO2022033228A1 - Data processing method and apparatus - Google Patents

Data processing method and apparatus Download PDF

Info

Publication number
WO2022033228A1
WO2022033228A1 PCT/CN2021/104094 CN2021104094W WO2022033228A1 WO 2022033228 A1 WO2022033228 A1 WO 2022033228A1 CN 2021104094 W CN2021104094 W CN 2021104094W WO 2022033228 A1 WO2022033228 A1 WO 2022033228A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
user
display area
preference
data
Prior art date
Application number
PCT/CN2021/104094
Other languages
French (fr)
Chinese (zh)
Inventor
汤晓
Original Assignee
北京达佳互联信息技术有限公司
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 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Publication of WO2022033228A1 publication Critical patent/WO2022033228A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Definitions

  • the present disclosure relates to the technical field of data processing, and in particular, to a data processing method, apparatus, electronic device, and storage medium.
  • personalized recommendation refers to user behavior data representing the user's preference for recommendation, and the user behavior data is obtained by monitoring various interactive operations performed by the user in the real area.
  • user behavior data representing the user's preference for recommendation
  • user behavior data is obtained by monitoring various interactive operations performed by the user in the real area.
  • the present disclosure provides a data processing method, apparatus, electronic device and storage medium.
  • the technical solutions of the present disclosure are as follows:
  • a data processing method characterized by comprising:
  • the preference analysis auxiliary data corresponding to the content is obtained, and the preference analysis auxiliary data performs at least one of the actions on the content according to the data related to the switching operation and the user's face.
  • preference is determined for the content corresponding to the switching instruction.
  • acquiring the preference analysis auxiliary data corresponding to the content includes:
  • the preference analysis auxiliary data is obtained according to the position of the switching operation in the display area.
  • the obtaining the preference analysis auxiliary data according to the position of the switching operation in the display area includes:
  • the target area to which the location belongs is determined from the display area, the preference data corresponding to the target area is used as the preference analysis auxiliary data, the display area is divided into at least two areas, and the at least two areas are At least one area indicates that the user likes the content, other areas indicate that the user does not like the content, and the target area is one of the at least two areas.
  • the obtaining the preference analysis auxiliary data according to the position of the switching operation in the display area includes:
  • the movement trajectory formed by the switching operation in the display area is obtained, the bending direction of the movement trajectory is determined, and the preference data corresponding to the bending direction is used as the preference Analyse auxiliary data.
  • the obtaining the preference analysis auxiliary data according to the position of the switching operation in the display area includes:
  • the movement track formed by the switching operation in the display area is obtained, and the target control that the switching operation has drawn is determined according to the movement track, and according to the target control
  • the identification of the control obtains the preference analysis auxiliary data, at least two controls are provided in the display area, at least one of the at least two controls represents the content that the user likes, the other controls represent the content that the user does not like, and the target
  • the control is one of the at least two controls, the at least two controls are located at different positions in the display area, and the at least two controls are invisible to the user.
  • the areas or controls in the display area that represent the content the user likes are marked with reasons for liking the content, and the areas or controls in the display area that represent the content that the user does not like are marked with reasons for disliking the content.
  • acquiring the preference analysis auxiliary data corresponding to the content includes:
  • user feature data is obtained, the user feature data is used to represent one of a specific action made by the user and the user's emotion, and one of the user's action and the user's emotion is used for Characterize the user's preference for the content.
  • the obtaining, in response to the switching instruction for the content, the auxiliary data of preference analysis corresponding to the content further includes:
  • feature data representing the content is extracted from the content, historical feature data matching the feature data in the historical content is determined, and a preference tag of the historical content to which the historical feature data belongs is obtained.
  • the method further includes:
  • prompt information is output, where the prompt information is used to prompt the user to like one of the currently switched content and to prompt the user to dislike the currently switched content.
  • the method further includes:
  • the content corresponding to the switching instruction is marked with a favorite label.
  • a data processing apparatus comprising:
  • a display unit configured to perform displaying content in the display area
  • an acquisition unit configured to perform a switching operation made by the acquisition user for the content in the display area
  • a response unit configured to execute a switching instruction corresponding to the switching operation, and acquire preference analysis auxiliary data corresponding to the content, the preference analysis auxiliary data according to the data related to the switching operation and the user's face At least one of performing actions on the content obtains;
  • the processing unit is configured to analyze the auxiliary data according to the preference, and perform preference determination on the content corresponding to the switching instruction.
  • the response unit includes:
  • a response subunit configured to execute and respond to the switching instruction, to obtain the position of the switching operation in the display area
  • the obtaining subunit is configured to execute the position in the display area according to the switching operation to obtain the preference analysis auxiliary data.
  • the obtaining subunit is configured to determine a target area to which the position belongs from the display area, and use preference data corresponding to the target area as the preference analysis auxiliary data, and the display
  • the area is divided into at least two areas, at least one of the at least two areas represents the content that the user likes, and the other areas represent the content that the user does not like, and the target area is one of the at least two areas.
  • the obtaining subunit is configured to obtain a movement track formed by the switching operation in the display area according to the position of the switching operation in the display area, and determine the movement The bending direction of the track, and the preference data corresponding to the bending direction is used as preference analysis auxiliary data.
  • the obtaining sub-unit is configured to execute a position in the display area according to the switching operation, obtain a movement track formed by the switching operation in the display area, and according to the movement The track determines the target control crossed by the switching operation, and the preference analysis auxiliary data is obtained according to the identification of the target control, and at least two controls are provided in the display area, and at least one of the at least two controls is provided. Indicates that the user likes the content, the other controls represent that the user does not like the content, the target control is one of the at least two controls, the at least two controls are located at different positions in the display area, and the at least two controls are paired with each other. User invisible.
  • the areas or controls in the display area that represent the content the user likes are marked with reasons for liking the content, and the areas or controls in the display area that represent the content that the user does not like are marked with reasons for disliking the content.
  • the responding unit is configured to perform responding to the switching instruction, and collect multimedia data related to the user through the collecting device; obtain user characteristic data according to the multimedia data, and the user characteristic data is used for Characterizing one of a specific action made by the user and the user's emotion, one of the user's action and the user's emotion being used to characterize the user's preference for the content.
  • the responding unit is further configured to execute responding to the switching instruction, and obtain the staying duration of the content before responding to the switching instruction;
  • feature data representing the content is extracted from the content, historical feature data matching the feature data in the historical content is determined, and a preference tag of the historical content to which the historical feature data belongs is obtained.
  • the apparatus further includes: an output unit configured to execute, in response to the switching instruction, output prompt information, where the prompt information is used to prompt the user to like the currently switched content and to prompt the user to not like the currently switched content. one of the content.
  • the apparatus further includes: a labeling unit, configured to perform, after the switching of the displayed content in the display area is completed, according to the preference determination of the content corresponding to the switching instruction, to perform the switching instruction corresponding to the switching instruction.
  • the content is marked with preference tags.
  • an electronic device comprising: a processor;
  • a memory for storing the processor-executable instructions
  • the processor is configured to execute the instructions to implement the above data processing method.
  • a storage medium that stores instructions, and when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the above data processing method.
  • a computer program product which, when executed on an electronic device, is adapted to execute a program initialized with the steps of the data processing method described above.
  • Display the content in the display area obtain the switching operation made by the user for the content in the display area, respond to the switching instruction corresponding to the switching operation, obtain the preference analysis auxiliary data corresponding to the content, analyze the auxiliary data according to the preference, and analyze the auxiliary data corresponding to the switching instruction.
  • the preference is determined for the content, wherein the preference analysis auxiliary data is obtained according to at least one of the data related to the switching operation and the user's face acting on the content, so if the preference analysis auxiliary data is obtained according to the data related to the switching operation, in During the content switching process, the user only needs to perform a switching operation on the content, so that the user does not need to perform other interactive operations in the display area during the switching operation, simplifying the interactive operation in the process of content preference determination, and in the process of switching content. The switching process will not be affected by the user's interactive operations on the display area, so that the content switching can be carried out smoothly.
  • the preference analysis auxiliary data is determined according to the actions made by the user's face on the content, it is also not necessary to perform other interactive operations in the display area during the switching operation, which simplifies the interactive operations in the process of content preference determination. In addition, during the content switching process, the switching process will not be affected by the user's interactive operation on the display area, so that the content switching can be performed smoothly and smoothly.
  • FIG. 1 is a flowchart of a data processing method according to an exemplary embodiment
  • FIG. 2 is a flowchart of another data processing method shown according to an exemplary embodiment
  • FIG. 3 is a schematic diagram of a display area divided area and display content according to an exemplary embodiment
  • FIG. 4 is a schematic diagram illustrating switching operations in the same direction corresponding to different bending directions according to an exemplary embodiment
  • FIG. 5 is a schematic diagram showing a display area display control according to an exemplary embodiment
  • FIG. 6 is a schematic diagram of an application of a data processing method according to an exemplary embodiment
  • FIG. 7 is an application schematic diagram of another data processing method shown according to an exemplary embodiment
  • FIG. 8 is a flowchart of still another data processing method according to an exemplary embodiment
  • FIG. 9 is a flowchart of still another data processing method according to an exemplary embodiment.
  • Fig. 10 is a block diagram of a data processing apparatus according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a data processing method according to an exemplary embodiment.
  • the data processing method is used in an electronic device, and the electronic device may be, but not limited to, a mobile phone, a tablet computer, etc. for users Devices for viewing content such as video, text, images, etc., these electronic devices can display the content in the display area.
  • the data processing method shown in Figure 1 includes the following steps:
  • step S11 the content is displayed in the display area
  • one of the display methods is: displaying the content in the entire area of the display area, that is, the currently displayed content will occupy the entire area of the display area, and the type of the content displayed in the display area can be
  • the display area can display a piece of content during each content display process, such as displaying a piece of video, and the content displayed in the display area can be switched by a switching operation.
  • step S12 the switching operation performed by the user on the content in the display area is acquired.
  • the switching operation can be, but is not limited to, a sliding operation performed by the user in the display area.
  • the sliding operation can correspond to at least one sliding direction, and the content to be switched to is indicated by the corresponding sliding direction. If the sliding operation corresponds to a sliding direction, the sliding operation can be performed by sliding The direction indicates switching to the next content. If the sliding operation corresponds to two sliding directions, one of the two sliding directions indicates switching to the next content, and the other sliding direction indicates switching to the previous content.
  • the sliding direction of the sliding operation It can be determined according to the position formed in the display area when the user performs the sliding operation, which will not be described in detail here.
  • the electronic device After acquiring the switching operation, the electronic device generates a switching instruction corresponding to the switching operation, so as to switch the content displayed in the display area by executing the switching instruction.
  • step S13 in response to the switching instruction corresponding to the switching operation, the preference analysis auxiliary data corresponding to the content is acquired.
  • the preference analysis auxiliary data is obtained according to at least one of the data related to the switching operation and the action of the user's face with respect to the content.
  • the action made by the user's face on the content is an action that can represent the user's preference for the content currently displayed in the display area.
  • the user's face can make an action that the user likes the currently displayed content or does not like the currently displayed content.
  • Action For example, the smiling action indicates that the user likes the currently displayed content, and the shaking action indicates that the user does not like the currently displayed content, so as to obtain the preference analysis auxiliary data indicating whether the user likes the currently displayed content through the action of the user's face on the content, such as Actions made by the user's face can be used as preference analysis auxiliary data.
  • the action of the user's face on the content can reflect the user's emotion
  • the auxiliary data for preference analysis can be obtained according to the user's emotion.
  • the user's emotion can reflect the user's preference for the currently displayed content, such as If the user's emotion is happy, it indicates that the user likes the currently displayed content. If the user's emotion is indifferent, it indicates that the user likes the currently displayed content. Therefore, the user's emotion can be used as auxiliary data for preference analysis.
  • the process of acquiring preference analysis auxiliary data for the user's face to act on the content is as follows:
  • the multimedia data related to the user is collected by the collecting device; according to the multimedia data, the user characteristic data is obtained, and the user characteristic data is used to represent one of the specific actions made by the user and the user's emotion, the user's action and the user's emotion.
  • One of the emotions is used to characterize the user's preference for content.
  • the multimedia data may include at least one of video data and audio data
  • the collection device includes at least one of a camera device and an audio collection device (such as a microphone)
  • the video data is collected by the camera device
  • the audio data is collected by the audio collection device.
  • At least one of the collected video data and audio data obtains preference analysis auxiliary data. For example, user characteristic data is obtained according to at least one of the collected video data and audio data, and the user characteristic data is determined as preference analysis auxiliary data.
  • extracting key frames from video data performing image analysis on the key frames to obtain user feature data, such as identifying at least one of actions and emotions from the key frames as user feature data, and/or converting audio data to obtain Text data
  • identify the text data to obtain user feature data such as analyzing the text data through at least one of semantic understanding and sentiment analysis, and obtain the key content corresponding to the text data.
  • the key content can indicate actions and emotions, so Key content can be used as user feature data.
  • the embodiments of the present disclosure do not limit the acquisition timing of video data and audio data.
  • at least one of video data and audio data may be acquired before responding to the switching instruction, or acquired during the process of responding to the switching instruction.
  • step S14 the auxiliary data is analyzed according to the preference, and preference is determined for the content corresponding to the switching instruction. If the preference analysis auxiliary data indicates that the user likes the content, it is determined that the content corresponding to the switching instruction is the content that the user likes.
  • the data processing method displays the content in the display area, obtain the switching operation made by the user for the content in the display area, respond to the switching instruction corresponding to the switching operation, obtain the preference analysis auxiliary data corresponding to the content, and analyze the auxiliary data according to the preference,
  • the preference is determined for the content corresponding to the switching instruction, wherein the preference analysis auxiliary data is obtained according to at least one of the data related to the switching operation and the user's face acting on the content, so that if the preference analysis is obtained according to the data related to the switching operation
  • Auxiliary data in the process of switching the content, the user can perform a switching operation on the content, so that the user does not need to perform other interactive operations in the display area during the switching operation, simplifying the interactive operation in the process of content preference determination.
  • the switching process will not be affected by the user's interactive operation on the display area, so that the content switching can be carried out smoothly and smoothly, and the problem of switching lag caused by the interactive operation is solved.
  • the preference analysis auxiliary data is determined according to the actions made by the user's face on the content, it is also not necessary to perform other interactive operations in the display area during the switching operation, which simplifies the interactive operations in the process of content preference determination.
  • the switching process will not be affected by the user's interactive operation on the display area, so that the content switching can be carried out smoothly and smoothly, and the problem of switching lag caused by the interactive operation is solved.
  • Fig. 2 is a flowchart of another data processing method according to an exemplary embodiment.
  • the data processing method is used in an electronic device, and the electronic device may be, but not limited to, a mobile phone, a tablet computer, etc.
  • a device used by a user to watch content such as video, text, images, etc., these electronic devices can display the content in the display area.
  • the data processing method shown in Figure 2 includes the following steps:
  • step S21 the content is displayed in the display area.
  • step S22 the switching operation performed by the user on the content in the display area is acquired.
  • step S23 in response to the switching instruction corresponding to the switching operation, the preference analysis auxiliary data corresponding to the content is acquired.
  • the above-mentioned data related to the switching operation can include the position of the switching operation in the display area, so as to obtain the auxiliary data of preference analysis according to the position of the switching operation in the display area, and the feasible ways of obtaining the auxiliary data of preference analysis include but are not limited to the following three: ways:
  • step S231 Determine the target area to which the position belongs from the display area, and use the preference data corresponding to the target area as the preference analysis auxiliary data.
  • the display area is divided into at least two areas, at least one of the at least two areas represents the content that the user likes, the other areas represent the content that the user does not like, and the target area is one of the at least two areas.
  • the display area is divided into two areas: the left area and the right area.
  • the left area represents the content that the user likes
  • the right area represents the content that the user does not like, that is, the corresponding relationship between the divided area and whether the user likes the content is set. If a preference flag is set for the divided region, the preference flag indicates whether the corresponding region likes the content or dislikes the content.
  • the display area is divided into two areas: the left area and the right area, for content, a complete content will occupy the entire area of the display area, that is, the display area will display the content in full screen, and the display area is divided into two areas Invisible to the user, the solid line area as shown in FIG. 3 is the display area visible to the user, and the dotted line area is to divide the display area into two areas in the background.
  • multiple coordinate points an embodiment of the position formed in the display area during the execution of the switching operation are acquired.
  • the coordinate area can determine the target area to which multiple coordinate points belong, because the corresponding relationship between the divided area and whether the user likes the content can be set.
  • the preference type of the target area is used as the preference analysis auxiliary data, or the divided area corresponds to the preference identifier, and the preference indicator of the target area can be used as the preference analysis auxiliary data.
  • the target area is the left area, indicating that the user performs the switching operation in the left area, and then the preference analysis auxiliary data representing the user's favorite content is obtained.
  • the display area may be divided into multiple areas, such as three or more areas, and the multiple areas may have at least one area representing the content that the user likes, and other areas representing the content that the user does not like .
  • the embodiments of the present disclosure can also mark reasons for different areas in the display area, such as the areas in the display area that represent the user's favorite content Mark the reason for liking the content, and mark the reason for disliking the content in the display area that represents the content that the user does not like, so that while judging the content, you can also know the reason, and make personalized and accurate recommendations for the reason why the user likes the content , and can adjust the content according to the reason why the user does not like the content.
  • the embodiment of the present disclosure can also determine the liking degree according to the reason for liking the content and the disliking degree according to the reason for disliking the content, so as to recommend the content with a high liking degree according to the liking degree, so that the recommendation The content more in line with the user's preferences, to achieve personalized and accurate recommendation.
  • step S232 according to the position of the switching operation in the display area, obtain the movement track formed by the switching operation in the display area, determine the bending direction of the movement track, and use the favorite data corresponding to the bending direction as the preference analysis auxiliary data .
  • the user can present different bending directions during the switching operation in the same direction.
  • the movement track formed in the display area is displayed during the right sliding operation. It can be bent upward (as shown by the solid line in Figure 4) or downward (as shown by the dashed line in Figure 4).
  • the corresponding relationship between the bending direction and the favorite data can be set.
  • a favorite flag corresponding to the bending direction can be set. The favorite flag is used to indicate that the user likes the content or does not like the content.
  • the favorite data corresponding to the bending direction can be obtained according to the bending direction of the movement track corresponding to the current switching operation, and the favorite data corresponding to the bending direction can be used as the auxiliary data for preference analysis.
  • the embodiment of the present disclosure can preset the reason for liking the content or the content of disliking the content corresponding to the bending degree, so that the content that you like can be known according to the bending degree. reason or dislike the content of the content.
  • step S233 according to the position of the switching operation in the display area, obtain the movement track formed by the switching operation in the display area, determine the target control that the switching operation crosses according to the movement track, and obtain the preference according to the identification of the target control.
  • Analyze the auxiliary data at least two controls are set in the display area, at least one of the at least two controls represents the content that the user likes, the other controls represent the content that the user does not like, and the target control is one of the at least two controls, and at least two The controls are located at different positions in the display area, and at least two controls are invisible to the user. For example, at least two controls are displayed in a transparent state, so that the controls can be passed during the switching operation, but the controls do not affect the display of the content.
  • the position of the control in the display area is not limited in the embodiments of the present disclosure, but the position of the control in the display area needs to satisfy one point: during the switching operation, the switching operation cannot pass through two controls that characterize different content preferences, as shown in the figure.
  • the display of the controls in the display area shown in 5, the display area shown in FIG. 5 includes four controls, which are respectively denoted as control 1, control 2, control 3 and control 4, and the four controls are invisible to the user (such as 5 The dotted line in the middle indicates invisible), control 1 and control 2 represent the content that the user likes, and control 3 and control 4 represent the content that the user does not like.
  • at least two controls that represent different content preferences cannot be passed through at the same time. , such as control 1 and control 3 cannot be passed at the same time, because the two controls correspond to likes and dislikes respectively.
  • the identifier of the target control can be used to uniquely indicate the control, and the target control can represent whether the content is liked or not. Therefore, the embodiment of the present disclosure can use the identifier of the target control as auxiliary data for preference analysis, or use the preference data corresponding to the target control (that is, the pointer). data on whether you like the content) as auxiliary data for preference analysis. As shown in FIG. 5 , the switching operation crosses control 1, and control 1 indicates that the user likes the content, then the identifier of control 1 (such as the number of control 1) or the preference data of control 1 representing the content that the user likes is used as preference analysis auxiliary data.
  • the user needs to know the position of the control in the display area.
  • the size of the display area of different types of electronic devices will be different, so in the process of displaying the control, the position of the control It may change according to the size of the display area, so that the position of the control in the display area is not fixed, so that the operation fails, and the above-mentioned method of determining the preference analysis auxiliary data according to the target area and the bending direction, you can know the difference between the area and the favorite data.
  • the corresponding relationship and the corresponding relationship between the bending direction and the favorite data are sufficient, which is convenient for the user to perform the switching operation and reduces the probability of operation failure.
  • the embodiments of the present disclosure can also mark reasons for different controls in the display area, for example, mark the reasons for liking the content for the controls in the display area that represent the content that the user likes, and mark the reasons for the content that you don't like for the controls in the display area that represent the content that the user does not like , so that while judging the content's preference, the reason can also be obtained, personalized and accurate recommendation can be made according to the reason why the user likes the content, and the content can be adjusted according to the reason why the user does not like the content.
  • the embodiment of the present disclosure can also determine the degree of liking according to the reason for liking the content and the degree of disliking the content according to the reason for disliking the content, so as to recommend the content with a high degree of liking according to the liking degree, so that the recommended content More in line with user preferences, to achieve personalized and accurate recommendations.
  • step S24 the auxiliary data is analyzed according to the preference, and preference is determined for the content corresponding to the switching instruction.
  • steps S21-S24 are the same as steps S11-S14 in the embodiment shown in FIG. 1 of the present disclosure, and are not repeated here.
  • preference analysis auxiliary data may be obtained through at least one of steps S231-S233.
  • the above data processing method displays the content in the display area, obtain the switching operation made by the user for the content in the display area, respond to the switching instruction corresponding to the switching operation, and obtain the preferences corresponding to the content according to the position of the switching operation in the display area.
  • Analyze auxiliary data analyze auxiliary data according to preference, and determine preference for the content corresponding to the switching instruction, wherein preference analysis auxiliary data is obtained according to at least one of the data related to the switching operation and the user's face acting on the content, so that if The auxiliary data for preference analysis is obtained according to the data related to the switching operation.
  • the user only needs to perform a switching operation on the content, so that the user does not need to perform other interactive operations in the display area during the switching operation, which simplifies the process of switching the content.
  • the content performs interactive operations in the process of preference determination, and the user's interactive operations on the display area will not affect the switching process during the content switching process, so that the content switching can be performed smoothly and smoothly, and the problem of switching lag caused by interactive operations is solved.
  • the preference analysis auxiliary data is determined according to the actions made by the user's face on the content, it is also not necessary to perform other interactive operations in the display area during the switching operation, which simplifies the interactive operations in the process of content preference determination.
  • the switching process will not be affected by the user's interactive operation on the display area, so that the content switching can be carried out smoothly and smoothly, and the problem of switching lag caused by the interactive operation is solved.
  • the display area is divided into two areas, and the process of determining content preference by switching the position in the display area will be described.
  • the display area of the electronic device shown in FIG. 6 displays a video, and the electronic device monitors the process of displaying the video.
  • the user makes a sliding operation in the display area, it indicates that the user wants to switch the video in the display area to display other videos.
  • the position of the sliding operation in the display area is obtained, and the target area to which it belongs is determined according to the position.
  • the preference data corresponding to the upper part area indicates that the user likes the content, thus indicating that the user likes the current display (that is, before the switching instruction).
  • Display video, by determining whether the user likes the video according to the data related to the switching operation (such as location), this process does not require the user to perform operations other than the switching operation, simplifies the interactive operation and solves the switching caused by the interactive operation.
  • the text content is displayed in the display area of the electronic device shown in FIG. 7.
  • the electronic device detects that the user makes a sliding operation in the display area, indicating that the user needs to switch the text in the display area to display other text content.
  • the video data containing the user's face information is collected by the camera in the electronic device before the sliding operation is performed, and the action of the user ignoring the text content is obtained by analyzing the video data, it means that the user does not care about the displayed text content. , so that it can be determined that the currently displayed text content is not liked.
  • the video data containing the user's face information can be obtained without the user's perception during the process of displaying the text content, so as to automatically determine whether the currently displayed text content is liked through the video data. text content.
  • the data processing method provided by the embodiments of the present disclosure may further include: after completing the switching of the displayed content in the display area, determining the preference for the content corresponding to the switching instruction according to the preference of the content corresponding to the switching instruction.
  • the content corresponding to the instruction is marked with a favorite tag, and the content viewed by the user is classified through the favorite tag, so that matching content can be recommended to the user according to the content corresponding to the favorite tag.
  • the way of labeling the favorite tag for the content corresponding to the switching instruction includes, but is not limited to: taking the favorite tag as an attribute of the content, establishing a corresponding relationship between the content and the favorite tag, adding a tag to the content At least one of the favorite tags.
  • the user can withdraw the switching operation, and the user's action of withdrawing the switching operation can be monitored by the electronic device.
  • Fig. 8 is a flow chart showing still another data processing method according to still another exemplary embodiment. As shown in Fig. 8, the data processing method includes the following steps:
  • step S81 the content is displayed in the display area.
  • step S82 the switching operation performed by the user on the content in the display area is acquired.
  • step S83 in response to the switching instruction corresponding to the switching operation, the preference analysis auxiliary data corresponding to the content is acquired.
  • the preference analysis auxiliary data in addition to obtaining the preference analysis auxiliary data according to at least one of the data related to the switching operation and the user's face acting on the content, can also be obtained in other ways, including but It is not limited to the following two ways: in step S834, in response to the switching instruction, obtain the staying time of the content before responding to the switching instruction.
  • the dwell time is the length of time from when the display area starts to display the content until the switching operation switches the current content. The longer the dwell time, the longer the user has been watching the content, which means that the user may be more interested in the content; the shorter the dwell time, the more the user is watching the content. The shorter the content time is, it means that the user may not be interested in the content.
  • the auxiliary data of preference analysis can include the staying time.
  • step S835 in response to the switching instruction, the feature data representing the content is extracted from the content, the historical feature data matching the feature data in the historical content is determined, and the favorite tag of the historical content to which the historical feature data belongs is obtained.
  • the feature data is different when the type of the currently displayed content is different.
  • the feature data is the data that reflects the storyline of the video, such as at least one key frame that reflects the storyline in the video; if the currently displayed content is a video
  • the feature data is the feature data that can reflect the content contained in the image.
  • it can be the object that occupies the main body in the currently displayed image. Any one of the prominent objects, such as a football on the grass in an image, the football is the most prominent display in the whole image, and the football is used as the feature data at this time;
  • the feature Data is a keyword that can reflect the main idea of the text content. For example, if the text content is the chapter content of a novel, the feature data is the keyword that reflects the storyline of the chapter content.
  • the historical content is the content for which preference determination has been made
  • the historical feature data is the feature data extracted from the historical content that characterizes the historical content.
  • the embodiment of the present disclosure compares the feature data with the historical feature data (such as similarity calculation) , the matching historical feature data can be determined, and the historical content to which the historical feature data belongs has been subjected to preference determination, which means that the historical content corresponds to a preference tag, so the preference analysis auxiliary data can include the historical content to which the matching historical feature data belongs. .
  • the preference analysis auxiliary data includes the duration of stay, the preference tag of the historical content to which the matched historical feature data belongs, and data obtained from at least one of data related to switching operations and actions on the content by the user's face, these There may be data representing the content that the user likes and data representing the content that the user does not like.
  • the determination of content preference is two opposite determination results. For this reason, the embodiment of the present disclosure can set preference determination conditions, according to the preference determination conditions and The preference analysis auxiliary data including a variety of data indicating whether the user likes the content, and the preference determination is performed on the content.
  • the determination result of the preference determination for the content is obtained, and the preference determination condition can be The determination result that occupies the majority of the multiple determination results is used as the content preference determination result. If three types of determination results in the determination results obtained from the above four kinds of data represent the favorite content, the content preference determination result is the favorite content.
  • the preference judgment condition can also be a calculation formula of the preference judgment result. The calculation formula takes the judgment result of the above data as input, and obtains the preference judgment result according to the output value. For example, the output value is greater than the threshold value, and the preference judgment representing the user's favorite content is obtained. As a result, conversely, a preference determination result indicating that the user does not like the content is obtained.
  • step S84 the auxiliary data is analyzed according to the preference, and preference is determined for the content corresponding to the switching instruction.
  • steps S81-S84 are the same as steps S11-S14 in the embodiment shown in FIG. 1 of the present disclosure, and details are not repeated here.
  • preference analysis auxiliary data may be obtained through at least one of steps S834-S835.
  • At least one of the above-mentioned stay duration, the preference tag of the historical content to which the matched historical feature data belongs, the data obtained according to at least one of the data related to the switching operation and the action on the content by the user's face may interact with each other.
  • the combination obtains the auxiliary data of preference analysis, and the embodiment of the present disclosure does not describe the combination method one by one.
  • Fig. 9 is a flowchart of still another data processing method according to still another exemplary embodiment. As shown in Fig. 9 , the data processing method includes the following steps: In step S91, content is displayed in a display area.
  • step S92 the switching operation performed by the user on the content in the display area is acquired.
  • step S93 in response to the switching instruction corresponding to the switching operation, the preference analysis auxiliary data corresponding to the content is acquired.
  • step S94 the auxiliary data is analyzed according to the preference, and preference is determined for the content corresponding to the switching instruction.
  • step S95 in response to the switching instruction, output prompt information, the prompt information is used to prompt the user to like one of the currently switched content and prompt the user to dislike the currently switched content, so as to inform the electronic device that the user likes the content determined by the prompt information.
  • the content of the current switch still does not like the content of the current switch.
  • the currently switched content is the content displayed in the display area during the process of generating the switching instruction, and the user is prompted through prompt information that the content may be liked or disliked, and the content displayed in the display area is being switched.
  • the prompt information can be output by at least one of voice and text, and the prompt information may affect the display of the content in the display area during the process of output in text mode. Therefore, the embodiment of the present disclosure can be set to output in text mode The transparency of the prompt information, so that even if the prompt information is displayed on the content, the content under the prompt information can still be viewed through the prompt information, or the area in the display area that is not occupied by the displayed content can be monitored. A prompt is displayed in the .
  • steps S91-S94 are the same as steps S11-S14 in the embodiment shown in FIG. 1 of the present disclosure, and details are not repeated here.
  • the above data processing method prompts the user's preference for the content currently switched by the method of outputting prompt information, and informs the user through the prompt information. If the user determines that the preference for the content is incorrectly determined through the prompt information, the switching operation can be immediately cancelled. . For example, the user performs the switching operation in the left area of the display area, and the prompt message prompts the user to like the current switching content. If the user finds that he does not like the current switching content, the switching operation is cancelled. The user can perform the switching operation in the right area of the display area, and get Judgment results in line with user preferences.
  • Fig. 10 is a block diagram of a data processing apparatus according to an exemplary embodiment. 10 , the apparatus includes a display unit 100 , an acquisition unit 200 , a response unit 300 and a processing unit 400 .
  • the display unit 100 is configured to perform displaying content in the display area.
  • the acquisition unit 200 is configured to perform acquisition of a switching operation performed by a user on the content in the display area.
  • the response unit 300 is configured to execute a switching instruction corresponding to the switching operation, and obtain auxiliary data of preference analysis corresponding to the content, and the auxiliary data of preference analysis is configured to perform at least one of the actions on the content according to the data related to the switching operation and the user's face. kind of get.
  • the processing unit 400 is configured to analyze the auxiliary data according to the preference, and perform preference determination on the content corresponding to the switching instruction.
  • the structure of the response unit 300 in one embodiment is that the response unit 300 includes: a response subunit and an obtaining subunit.
  • the response subunit is configured to execute the response switching instruction to obtain the position of the switching operation in the display area;
  • the obtaining subunit is configured to execute the position of the switching operation in the display area to obtain the preference analysis auxiliary data.
  • the obtaining subunit is configured to determine the target area to which the position belongs from the display area, use the preference data corresponding to the target area as the preference analysis auxiliary data, and divide the display area into at least two areas. At least one area indicates that the user likes the content, other areas indicate that the user does not like the content, and the target area is one of the at least two areas.
  • the obtaining subunit is configured to execute the position of the switching operation in the display area, obtain the movement track formed by the switching operation in the display area, determine the bending direction of the moving track, and use the preference data corresponding to the bending direction as Preference for analyzing auxiliary data.
  • the obtaining subunit is configured to execute the position in the display area according to the switching operation, obtain the movement track formed by the switching operation in the display area, determine the target control crossed by the switching operation according to the movement track, and according to the target control
  • At least two controls are set in the display area, at least one of the at least two controls represents the content that the user likes, the other controls represent the content that the user does not like, and the target control is one of the at least two controls. controls, at least two controls are located at different positions in the display area, and at least two controls are not visible to the user.
  • the area or control representing the content that the user likes is marked with the reason for liking the content
  • the area or control in the display area representing the content that the user does not like is marked with the reason for disliking the content.
  • the response unit 300 responds to obtain the preference analysis auxiliary data corresponding to the content according to the data related to the switching operation, and the response unit 300 makes an action according to the user's face for the content to obtain the preference analysis auxiliary data as follows:
  • the response unit 300 is configured to execute the response switching instruction, and collect multimedia data related to the user through the collection device; obtain user characteristic data according to the multimedia data, and the user characteristic data is used to represent a specific action made by the user and one of the user's emotions.
  • One of the user's actions and the user's emotion is used to characterize the user's preference for content.
  • the response unit 300 is further configured to execute the response switching instruction, and obtain the staying time of the content before the response switching instruction; and/or, in response to the switching instruction, extract feature data representing the content from the content, and determine the history For the historical feature data in the content that matches the feature data, the preference tag of the historical content to which the historical feature data belongs is obtained.
  • the data processing apparatus further includes: an output unit configured to execute the response switching instruction and output prompt information, where the prompt information is used to prompt the user to like the currently switched content and prompt the user to not like the currently switched content. kind.
  • the data processing apparatus further includes: a labeling unit, configured to perform a preference label for the content corresponding to the switching instruction according to the preference judgment of the content corresponding to the switching instruction after the switching of the displayed content in the display area is completed. callout.
  • the above-mentioned data processing device displays content in a display area, obtains a switching operation made by a user for the content in the display area, responds to a switching instruction corresponding to the switching operation, obtains preference analysis auxiliary data corresponding to the content, and analyzes auxiliary data according to preference,
  • the preference is determined for the content corresponding to the switching instruction, wherein the preference analysis auxiliary data is obtained according to at least one of the data related to the switching operation and the user's face acting on the content, so that the preference analysis auxiliary data is obtained according to the data related to the switching operation. data, and then during the process of switching the content, the user can perform a switching operation on the content.
  • an electronic device comprising: a processor and a memory for storing instructions executable by the processor.
  • the processor is configured to execute the instructions to implement the data processing method provided by any of the foregoing exemplary embodiments.
  • a storage medium including instructions such as a memory including instructions, is also provided, and the instructions can be executed by a processor of an electronic device to complete the above data processing method.
  • the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage equipment, etc.
  • a computer program product when executed on an electronic device, adapted to execute a program initialized with the steps of the data processing method described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A data processing method and apparatus. The method comprises: displaying content in a display area (S11); acquiring a switching operation performed in the display area by a user with respect to the content (S12); in response to a switching instruction corresponding to the switching operation, acquiring auxiliary preference analysis data corresponding to the content (S13); and according to the auxiliary preference analysis data, performing preference determination on the content corresponding to the switching instruction (S14), wherein the auxiliary preference analysis data is obtained according to at least one of data related to the switching operation and an action performed by the face of the user with respect to the content.

Description

一种数据处理方法及装置A data processing method and device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2020年08月10日提交的、中国专利申请号“202010795619.1”的优先权。This application claims the priority of Chinese Patent Application No. "202010795619.1" filed on August 10, 2020.
技术领域technical field
本公开涉及数据处理技术领域,尤其涉及一种数据处理方法、装置、电子设备及存储介质。The present disclosure relates to the technical field of data processing, and in particular, to a data processing method, apparatus, electronic device, and storage medium.
背景技术Background technique
相关技术中,个性化推荐参照表征用户喜好的用户行为数据进行推荐,用户行为数据通过监测用户在现实区域作出的多种交互操作来获取,一般有如下获取方式:In the related art, personalized recommendation refers to user behavior data representing the user's preference for recommendation, and the user behavior data is obtained by monitoring various interactive operations performed by the user in the real area. Generally, there are the following ways of obtaining:
在切换显示区域现实的内容过程中,监测用户针对显示区域作出的交互操作,如若监测到在显示区域中作出长按操作且监测到从显示区域中输出的选项中选择一条选项,说明用户不喜欢显示区域显示的内容,若监测到在显示区域中作出双击点赞操作,说明用户喜欢显示区域显示的内容,通过用户针对显示区域作出的操作得到用户行为数据。In the process of switching the actual content of the display area, monitor the user's interactive operations on the display area. If a long-press operation is detected in the display area and an option is selected from the output options in the display area, it means that the user does not like it. For the content displayed in the display area, if a double-click and like operation is detected in the display area, it means that the user likes the content displayed in the display area, and the user behavior data is obtained through the operation performed by the user on the display area.
发明内容SUMMARY OF THE INVENTION
本公开提供一种数据处理方法、装置、电子设备及存储介质。本公开的技术方案如下:The present disclosure provides a data processing method, apparatus, electronic device and storage medium. The technical solutions of the present disclosure are as follows:
根据本公开的一些实施例,提供一种数据处理方法,其特征在于,包括:According to some embodiments of the present disclosure, a data processing method is provided, characterized by comprising:
在显示区域中显示内容;display content in the display area;
获取用户在显示区域中针对内容作出的切换操作;Obtain the switching operation made by the user for the content in the display area;
响应与所述切换操作对应的切换指令,获取与所述内容对应的喜好分析辅助数据,所述喜好分析辅助数据根据与所述切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到;In response to the switching instruction corresponding to the switching operation, the preference analysis auxiliary data corresponding to the content is obtained, and the preference analysis auxiliary data performs at least one of the actions on the content according to the data related to the switching operation and the user's face. a get;
根据所述喜好分析辅助数据,对所述切换指令对应的内容进行喜好判定。According to the preference analysis auxiliary data, preference is determined for the content corresponding to the switching instruction.
在一些实施例中,所述响应与所述切换操作对应的切换指令,获取与所述内容对应的喜好分析辅助数据包括:In some embodiments, in response to the switching instruction corresponding to the switching operation, acquiring the preference analysis auxiliary data corresponding to the content includes:
响应所述切换指令,获取所述切换操作在所述显示区域中的位置;In response to the switching instruction, obtain the position of the switching operation in the display area;
根据所述切换操作在所述显示区域中的位置,得到所述喜好分析辅助数据。The preference analysis auxiliary data is obtained according to the position of the switching operation in the display area.
在一些实施例中,所述根据所述切换操作在所述显示区域中的位置,得到所述喜好分析辅助数据包括:In some embodiments, the obtaining the preference analysis auxiliary data according to the position of the switching operation in the display area includes:
从所述显示区域中确定所述位置所属目标区域,将所述目标区域对应的喜好数据作为所述喜好分析 辅助数据,所述显示区域划分成至少两个区域,所述至少两个区域中的至少一个区域表征用户喜欢内容,其他区域表征用户不喜欢内容,所述目标区域为所述至少两个区域中的一个区域。The target area to which the location belongs is determined from the display area, the preference data corresponding to the target area is used as the preference analysis auxiliary data, the display area is divided into at least two areas, and the at least two areas are At least one area indicates that the user likes the content, other areas indicate that the user does not like the content, and the target area is one of the at least two areas.
在一些实施例中,所述根据切换操作在所述显示区域中的位置,得到所述喜好分析辅助数据包括:In some embodiments, the obtaining the preference analysis auxiliary data according to the position of the switching operation in the display area includes:
根据所述切换操作在所述显示区域中的位置,获取所述切换操作在所述显示区域中形成的移动轨迹,确定所述移动轨迹的弯曲方向,将所述弯曲方向对应的喜好数据作为喜好分析辅助数据。According to the position of the switching operation in the display area, the movement trajectory formed by the switching operation in the display area is obtained, the bending direction of the movement trajectory is determined, and the preference data corresponding to the bending direction is used as the preference Analyse auxiliary data.
在一些实施例中,所述根据切换操作在所述显示区域中的位置,得到所述喜好分析辅助数据包括:In some embodiments, the obtaining the preference analysis auxiliary data according to the position of the switching operation in the display area includes:
根据所述切换操作在所述显示区域中的位置,获取所述切换操作在所述显示区域中形成的移动轨迹,根据所述移动轨迹确定所述切换操作划过的目标控件,根据所述目标控件的标识得到所述喜好分析辅助数据,所述显示区域中设置有至少两个控件,所述至少两个控件中的至少一个控件表征用户喜欢内容,其他控件表征用户不喜欢内容,所述目标控件为所述至少两个控件中的一个控件,所述至少两个控件位于显示区域的不同位置,且所述至少两个控件对用户不可见。According to the position of the switching operation in the display area, the movement track formed by the switching operation in the display area is obtained, and the target control that the switching operation has drawn is determined according to the movement track, and according to the target control The identification of the control obtains the preference analysis auxiliary data, at least two controls are provided in the display area, at least one of the at least two controls represents the content that the user likes, the other controls represent the content that the user does not like, and the target The control is one of the at least two controls, the at least two controls are located at different positions in the display area, and the at least two controls are invisible to the user.
在一些实施例中,所述显示区域中表征用户喜欢内容的区域或控件标注有喜欢内容的理由,所述显示区域中表征用户不喜欢内容的区域或控件标注有不喜欢内容的理由。In some embodiments, the areas or controls in the display area that represent the content the user likes are marked with reasons for liking the content, and the areas or controls in the display area that represent the content that the user does not like are marked with reasons for disliking the content.
在一些实施例中,所述响应与切换操作对应的切换指令,获取与所述内容对应的喜好分析辅助数据包括:In some embodiments, in response to the switching instruction corresponding to the switching operation, acquiring the preference analysis auxiliary data corresponding to the content includes:
响应所述切换指令,通过采集装置采集与用户相关的多媒体数据;In response to the switching instruction, collecting multimedia data related to the user through the collecting device;
根据所述多媒体数据,得到用户特征数据,所述用户特征数据用于表征用户作出的特定动作和用户的情绪中的一种,所述用户的动作和所述用户的情绪中的一种用于表征用户对所述内容的喜好。According to the multimedia data, user feature data is obtained, the user feature data is used to represent one of a specific action made by the user and the user's emotion, and one of the user's action and the user's emotion is used for Characterize the user's preference for the content.
在一些实施例中,所述响应针对内容的切换指令,获取与所述内容对应的喜好分析辅助数据还包括:In some embodiments, the obtaining, in response to the switching instruction for the content, the auxiliary data of preference analysis corresponding to the content further includes:
响应所述切换指令,获取在响应所述切换指令前所述内容的停留时长;In response to the switching instruction, obtain the staying time of the content before responding to the switching instruction;
和/或and / or
响应所述切换指令,从所述内容中提取表征所述内容的特征数据,确定历史内容中与所述特征数据匹配的历史特征数据,获取历史特征数据所属历史内容的喜好标签。In response to the switching instruction, feature data representing the content is extracted from the content, historical feature data matching the feature data in the historical content is determined, and a preference tag of the historical content to which the historical feature data belongs is obtained.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
响应所述切换指令,输出提示信息,所述提示信息用于提示用户喜欢当前切换的内容和提示用户不喜欢当前切换的内容中的一种。In response to the switching instruction, prompt information is output, where the prompt information is used to prompt the user to like one of the currently switched content and to prompt the user to dislike the currently switched content.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
在完成所述显示区域中显示内容的切换后,根据所述切换指令对应的内容的喜好判定,对所述切换指令对应的内容进行喜好标签的标注。After the switching of the displayed content in the display area is completed, according to the preference determination of the content corresponding to the switching instruction, the content corresponding to the switching instruction is marked with a favorite label.
根据本公开的一些实施例,提供一种数据处理装置,包括:According to some embodiments of the present disclosure, there is provided a data processing apparatus, comprising:
显示单元,被配置为执行在显示区域中显示内容;a display unit configured to perform displaying content in the display area;
获取单元,被配置为执行获取用户在显示区域中针对内容作出的切换操作;an acquisition unit, configured to perform a switching operation made by the acquisition user for the content in the display area;
响应单元,被配置为执行响应与所述切换操作对应的切换指令,获取与所述内容对应的喜好分析辅助数据,所述喜好分析辅助数据根据与所述切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到;a response unit, configured to execute a switching instruction corresponding to the switching operation, and acquire preference analysis auxiliary data corresponding to the content, the preference analysis auxiliary data according to the data related to the switching operation and the user's face At least one of performing actions on the content obtains;
处理单元,被配置为执行根据所述喜好分析辅助数据,对所述切换指令对应的内容进行喜好判定。The processing unit is configured to analyze the auxiliary data according to the preference, and perform preference determination on the content corresponding to the switching instruction.
在一些实施例中,所述响应单元包括:In some embodiments, the response unit includes:
响应子单元,被配置为执行响应所述切换指令,获取所述切换操作在所述显示区域中的位置;A response subunit, configured to execute and respond to the switching instruction, to obtain the position of the switching operation in the display area;
获得子单元,被配置为执行根据所述切换操作在所述显示区域中的位置,得到所述喜好分析辅助数据。The obtaining subunit is configured to execute the position in the display area according to the switching operation to obtain the preference analysis auxiliary data.
在一些实施例中,所述获得子单元,被配置为执行从所述显示区域中确定所述位置所属目标区域,将所述目标区域对应的喜好数据作为所述喜好分析辅助数据,所述显示区域划分成至少两个区域,所述至少两个区域中的至少一个区域表征用户喜欢内容,其他区域表征用户不喜欢内容,所述目标区域为所述至少两个区域中的一个区域。In some embodiments, the obtaining subunit is configured to determine a target area to which the position belongs from the display area, and use preference data corresponding to the target area as the preference analysis auxiliary data, and the display The area is divided into at least two areas, at least one of the at least two areas represents the content that the user likes, and the other areas represent the content that the user does not like, and the target area is one of the at least two areas.
在一些实施例中,所述获得子单元,被配置为执行根据所述切换操作在所述显示区域中的位置,获取所述切换操作在所述显示区域中形成的移动轨迹,确定所述移动轨迹的弯曲方向,将所述弯曲方向对应的喜好数据作为喜好分析辅助数据。In some embodiments, the obtaining subunit is configured to obtain a movement track formed by the switching operation in the display area according to the position of the switching operation in the display area, and determine the movement The bending direction of the track, and the preference data corresponding to the bending direction is used as preference analysis auxiliary data.
在一些实施例中,所述获得子单元,被配置为执行根据所述切换操作在所述显示区域中的位置,获取所述切换操作在所述显示区域中形成的移动轨迹,根据所述移动轨迹确定所述切换操作划过的目标控件,根据所述目标控件的标识得到所述喜好分析辅助数据,所述显示区域中设置有至少两个控件,所述至少两个控件中的至少一个控件表征用户喜欢内容,其他控件表征用户不喜欢内容,所述目标控件为所述至少两个控件中的一个控件,所述至少两个控件位于显示区域的不同位置,且所述至少两个控件对用户不可见。In some embodiments, the obtaining sub-unit is configured to execute a position in the display area according to the switching operation, obtain a movement track formed by the switching operation in the display area, and according to the movement The track determines the target control crossed by the switching operation, and the preference analysis auxiliary data is obtained according to the identification of the target control, and at least two controls are provided in the display area, and at least one of the at least two controls is provided. Indicates that the user likes the content, the other controls represent that the user does not like the content, the target control is one of the at least two controls, the at least two controls are located at different positions in the display area, and the at least two controls are paired with each other. User invisible.
在一些实施例中,所述显示区域中表征用户喜欢内容的区域或控件标注有喜欢内容的理由,所述显示区域中表征用户不喜欢内容的区域或控件标注有不喜欢内容的理由。In some embodiments, the areas or controls in the display area that represent the content the user likes are marked with reasons for liking the content, and the areas or controls in the display area that represent the content that the user does not like are marked with reasons for disliking the content.
在一些实施例中,所述响应单元,被配置为执行响应所述切换指令,通过采集装置采集与用户相关的多媒体数据;根据所述多媒体数据,得到用户特征数据,所述用户特征数据用于表征用户作出的特定动作和用户的情绪中的一种,所述用户的动作和所述用户的情绪中的一种用于表征用户对所述内容的喜好。In some embodiments, the responding unit is configured to perform responding to the switching instruction, and collect multimedia data related to the user through the collecting device; obtain user characteristic data according to the multimedia data, and the user characteristic data is used for Characterizing one of a specific action made by the user and the user's emotion, one of the user's action and the user's emotion being used to characterize the user's preference for the content.
在一些实施例中,所述响应单元,还被配置为执行响应所述切换指令,获取在响应所述切换指令前所述内容的停留时长;In some embodiments, the responding unit is further configured to execute responding to the switching instruction, and obtain the staying duration of the content before responding to the switching instruction;
和/或and / or
响应所述切换指令,从所述内容中提取表征所述内容的特征数据,确定历史内容中与所述特征数据匹配的历史特征数据,获取历史特征数据所属历史内容的喜好标签。In response to the switching instruction, feature data representing the content is extracted from the content, historical feature data matching the feature data in the historical content is determined, and a preference tag of the historical content to which the historical feature data belongs is obtained.
在一些实施例中,所述装置还包括:输出单元,被配置为执行响应所述切换指令,输出提示信息,所述提示信息用于提示用户喜欢当前切换的内容和提示用户不喜欢当前切换的内容中的一种。In some embodiments, the apparatus further includes: an output unit configured to execute, in response to the switching instruction, output prompt information, where the prompt information is used to prompt the user to like the currently switched content and to prompt the user to not like the currently switched content. one of the content.
在一些实施例中,所述装置还包括:标注单元,被配置为执行在完成所述显示区域中显示内容的切换后,根据所述切换指令对应的内容的喜好判定,对所述切换指令对应的内容进行喜好标签的标注。In some embodiments, the apparatus further includes: a labeling unit, configured to perform, after the switching of the displayed content in the display area is completed, according to the preference determination of the content corresponding to the switching instruction, to perform the switching instruction corresponding to the switching instruction. The content is marked with preference tags.
根据本公开的一些实施例,提供一种电子设备,所述电子设备包括:处理器;According to some embodiments of the present disclosure, there is provided an electronic device, the electronic device comprising: a processor;
用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
其中,所述处理器被配置为执行所述指令,以实现上述数据处理方法。Wherein, the processor is configured to execute the instructions to implement the above data processing method.
根据本公开的一些实施例,提供一种存储介质,所述存储介质中存储有指令,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行上述数据处理方法。According to some embodiments of the present disclosure, there is provided a storage medium that stores instructions, and when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the above data processing method.
根据本公开的一些实施例,提供一种计算机程序产品,当在电子设备上执行时,适于执行初始化有上述数据处理方法的步骤的程序。According to some embodiments of the present disclosure, there is provided a computer program product which, when executed on an electronic device, is adapted to execute a program initialized with the steps of the data processing method described above.
在显示区域中显示内容,获取用户在显示区域中针对内容作出的切换操作,响应与切换操作对应的切换指令,获取与内容对应的喜好分析辅助数据,根据喜好分析辅助数据,对切换指令对应的内容进行喜好判定,其中喜好分析辅助数据根据与切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到,这样若根据与切换操作相关的数据得到喜好分析辅助数据,在对内容进行切换过程中用户针对内容作出切换操作即可,使得用户无需在作出切换操作的过程中在显示区域中作出其他交互操作,简化对内容进行喜好判定过程中的交互操作,并且在切换内容过程中不会出现因用户针对显示区域的交互操作影响切换进程,使得内容切换可流畅顺利进行。若喜好分析辅助数据根据用户的脸部针对所述内容作出的动作确定,同样不需要在作出切换操作的过程中在显示区域中作出其他交互操作,简化对内容进行喜好判定过程中的交互操作,并且在切换内容过程中不会出现因用户针对显示区域的交互操作影响切换进程,使得内容切换可流畅顺利进行。Display the content in the display area, obtain the switching operation made by the user for the content in the display area, respond to the switching instruction corresponding to the switching operation, obtain the preference analysis auxiliary data corresponding to the content, analyze the auxiliary data according to the preference, and analyze the auxiliary data corresponding to the switching instruction. The preference is determined for the content, wherein the preference analysis auxiliary data is obtained according to at least one of the data related to the switching operation and the user's face acting on the content, so if the preference analysis auxiliary data is obtained according to the data related to the switching operation, in During the content switching process, the user only needs to perform a switching operation on the content, so that the user does not need to perform other interactive operations in the display area during the switching operation, simplifying the interactive operation in the process of content preference determination, and in the process of switching content. The switching process will not be affected by the user's interactive operations on the display area, so that the content switching can be carried out smoothly. If the preference analysis auxiliary data is determined according to the actions made by the user's face on the content, it is also not necessary to perform other interactive operations in the display area during the switching operation, which simplifies the interactive operations in the process of content preference determination. In addition, during the content switching process, the switching process will not be affected by the user's interactive operation on the display area, so that the content switching can be performed smoothly and smoothly.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理,并不构成对本公开的不当限定。The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the principles of the present disclosure and do not unduly limit the present disclosure.
图1是根据一示例性实施例示出的一种数据处理方法的流程图;1 is a flowchart of a data processing method according to an exemplary embodiment;
图2是根据一示例性实施例示出的另一种数据处理方法的流程图;FIG. 2 is a flowchart of another data processing method shown according to an exemplary embodiment;
图3是根据一示例性实施例示出的显示区域划分区域与显示内容的示意图;FIG. 3 is a schematic diagram of a display area divided area and display content according to an exemplary embodiment;
图4是根据一示例性实施例示出的同一方向的切换操作对应不同弯曲方向的示意图;FIG. 4 is a schematic diagram illustrating switching operations in the same direction corresponding to different bending directions according to an exemplary embodiment;
图5是根据一示例性实施例示出的显示区域显示控件的示意图;FIG. 5 is a schematic diagram showing a display area display control according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种数据处理方法的应用示意图;6 is a schematic diagram of an application of a data processing method according to an exemplary embodiment;
图7是根据一示例性实施例示出的另一种数据处理方法的应用示意图;FIG. 7 is an application schematic diagram of another data processing method shown according to an exemplary embodiment;
图8是根据一示例性实施例示出的再一种数据处理方法的流程图;FIG. 8 is a flowchart of still another data processing method according to an exemplary embodiment;
图9是根据一示例性实施例示出的再一种数据处理方法的流程图;FIG. 9 is a flowchart of still another data processing method according to an exemplary embodiment;
图10是根据一示例性实施例示出的一种数据处理装置的框图。Fig. 10 is a block diagram of a data processing apparatus according to an exemplary embodiment.
具体实施方式detailed description
图1是根据一示例性实施例示出的一种数据处理方法的流程图,如图1所示,数据处理方法用于电子设备中,电子设备可以是但不限于是手机、平板电脑等供用户观看视频、文本、图像等内容的设备,这些电子设备可将内容显示在显示区域。图1所示数据处理方法包括以下步骤:FIG. 1 is a flowchart of a data processing method according to an exemplary embodiment. As shown in FIG. 1 , the data processing method is used in an electronic device, and the electronic device may be, but not limited to, a mobile phone, a tablet computer, etc. for users Devices for viewing content such as video, text, images, etc., these electronic devices can display the content in the display area. The data processing method shown in Figure 1 includes the following steps:
在步骤S11中,在显示区域中显示内容,其中一种显示方式是:在显示区域的全部区域中显示内容,即当前显示的内容会占用显示区域的全部区域,显示区域显示的内容的类型可为视频、图像和文本中的任意一种,在每次显示内容过程中显示区域可以显示一条内容,如显示一条视频,通过切换操作来切换显示区域中显示的内容。In step S11, the content is displayed in the display area, and one of the display methods is: displaying the content in the entire area of the display area, that is, the currently displayed content will occupy the entire area of the display area, and the type of the content displayed in the display area can be For any one of video, image and text, the display area can display a piece of content during each content display process, such as displaying a piece of video, and the content displayed in the display area can be switched by a switching operation.
在步骤S12中,获取用户在显示区域中针对内容作出的切换操作。切换操作可以是但不限于是用户在显示区域中作出的滑动操作,滑动操作可对应至少一个滑动方向,通过对应的滑动方向指示要切换到的内容,如若滑动操作对应一个滑动方向,则通过滑动方向指示切换到下一条内容,若滑动操作对应两个滑动方向,则两个滑动方向中的一个滑动方向指示切换到下一条内容,另一个滑动方向指示切换到上一条内容,滑动操作的滑动方向可根据用户在作出滑动操作时在显示区域中形成的位置确定,此处不再详述。In step S12, the switching operation performed by the user on the content in the display area is acquired. The switching operation can be, but is not limited to, a sliding operation performed by the user in the display area. The sliding operation can correspond to at least one sliding direction, and the content to be switched to is indicated by the corresponding sliding direction. If the sliding operation corresponds to a sliding direction, the sliding operation can be performed by sliding The direction indicates switching to the next content. If the sliding operation corresponds to two sliding directions, one of the two sliding directions indicates switching to the next content, and the other sliding direction indicates switching to the previous content. The sliding direction of the sliding operation It can be determined according to the position formed in the display area when the user performs the sliding operation, which will not be described in detail here.
在获取到切换操作后,电子设备生成与切换操作对应的切换指令,以通过执行切换指令切换显示区域中显示的内容。After acquiring the switching operation, the electronic device generates a switching instruction corresponding to the switching operation, so as to switch the content displayed in the display area by executing the switching instruction.
在步骤S13中,响应与切换操作对应的切换指令,获取与内容对应的喜好分析辅助数据。In step S13, in response to the switching instruction corresponding to the switching operation, the preference analysis auxiliary data corresponding to the content is acquired.
其中喜好分析辅助数据根据与切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到。用户的脸部针对内容作出的动作是能够表征用户对显示区域当前显示的内容的喜好的动作,如用户的脸部可作出用户喜欢当前显示的内容的动作或不喜欢当前显示的内容的动作,如微笑动作说明用户喜欢当前显示的内容,摇头动作说明用户不喜欢当前显示的内容,以通过用户的脸部针对内容作出的动作,得到表征用户是否喜欢当前显示的内容的喜好分析辅助数据,如可以将用户的脸部作出的动作作为喜好分析辅助数据。The preference analysis auxiliary data is obtained according to at least one of the data related to the switching operation and the action of the user's face with respect to the content. The action made by the user's face on the content is an action that can represent the user's preference for the content currently displayed in the display area. For example, the user's face can make an action that the user likes the currently displayed content or does not like the currently displayed content. Action, For example, the smiling action indicates that the user likes the currently displayed content, and the shaking action indicates that the user does not like the currently displayed content, so as to obtain the preference analysis auxiliary data indicating whether the user likes the currently displayed content through the action of the user's face on the content, such as Actions made by the user's face can be used as preference analysis auxiliary data.
在本公开的实施例中,用户的脸部针对内容作出的动作可以体现用户的情绪,喜好分析辅助数据可根据用户的情绪得到,用户的情绪能够体现出用户对当前显示的内容的喜好,如用户的情绪为开心表明用户喜欢当前显示的内容,若用户的情绪为冷漠表明用户喜欢当前显示的内容,由此可将当不限于将用户的情绪作为喜好分析辅助数据。In the embodiment of the present disclosure, the action of the user's face on the content can reflect the user's emotion, and the auxiliary data for preference analysis can be obtained according to the user's emotion. The user's emotion can reflect the user's preference for the currently displayed content, such as If the user's emotion is happy, it indicates that the user likes the currently displayed content. If the user's emotion is indifferent, it indicates that the user likes the currently displayed content. Therefore, the user's emotion can be used as auxiliary data for preference analysis.
上述仅是列举用户的脸部作出的动作以及用户的情绪的一些示例,其他能够区分用户是否喜欢当前显示的内容、区分喜欢内容的程度和不喜欢内容的程度的动作和情绪都属于本公开的实施例保护范围,对于用户的脸部针对内容作出动作获取喜好分析辅助数据的过程如下:The above are just some examples of the actions made by the user's face and the user's emotions. Other actions and emotions that can distinguish whether the user likes the currently displayed content, the degree of liking the content and the degree of disliking the content belong to the present disclosure. In the protection scope of the embodiment, the process of acquiring preference analysis auxiliary data for the user's face to act on the content is as follows:
响应切换指令,通过采集装置采集与用户相关的多媒体数据;根据多媒体数据,得到用户特征数据,用户特征数据用于表征用户作出的特定动作和用户的情绪中的一种,用户的动作和用户的情绪中的一种用于表征用户对内容的喜好。In response to the switching instruction, the multimedia data related to the user is collected by the collecting device; according to the multimedia data, the user characteristic data is obtained, and the user characteristic data is used to represent one of the specific actions made by the user and the user's emotion, the user's action and the user's emotion. One of the emotions is used to characterize the user's preference for content.
多媒体数据可包括视频数据和音频数据中的至少一种,采集装置包括摄像装置和音频采集装置(如麦克风)中的至少一种,通过摄像装置采集视频数据,通过音频采集装置采集音频数据,根据采集到的视频数据和音频数据中的至少一种得到喜好分析辅助数据。如根据采集到的视频数据和音频数据中的至少一种得到用户特征数据,将用户特征数据确定为喜好分析辅助数据。The multimedia data may include at least one of video data and audio data, the collection device includes at least one of a camera device and an audio collection device (such as a microphone), the video data is collected by the camera device, and the audio data is collected by the audio collection device. At least one of the collected video data and audio data obtains preference analysis auxiliary data. For example, user characteristic data is obtained according to at least one of the collected video data and audio data, and the user characteristic data is determined as preference analysis auxiliary data.
如从视频数据中提取关键帧,对关键帧进行图像分析得到用户特征数据,如从关键帧中识别出动作和情绪中的至少一种作为用户特征数据,和/或,对音频数据进行转换得到文本数据,对文本数据进行识别得到用户特征数据,如通过语义理解和情感分析中的至少一种技术对文本数据进行分析,得到文本数据对应的关键内容,关键内容可以指示出动作和情绪,因此关键内容可以作为用户特征数据。For example, extracting key frames from video data, performing image analysis on the key frames to obtain user feature data, such as identifying at least one of actions and emotions from the key frames as user feature data, and/or converting audio data to obtain Text data, identify the text data to obtain user feature data, such as analyzing the text data through at least one of semantic understanding and sentiment analysis, and obtain the key content corresponding to the text data. The key content can indicate actions and emotions, so Key content can be used as user feature data.
对于视频数据和音频数据的获取时机,本公开的实施例不进行限定,如视频数据和音频数据中的至少一种可在响应切换指令之前获取,或者在响应切换指令过程中获取。The embodiments of the present disclosure do not limit the acquisition timing of video data and audio data. For example, at least one of video data and audio data may be acquired before responding to the switching instruction, or acquired during the process of responding to the switching instruction.
在步骤S14中,根据喜好分析辅助数据,对切换指令对应的内容进行喜好判定。如喜好分析辅助数据表征用户喜欢内容,则判定切换指令对应的内容为用户喜欢的内容,若喜好分析辅助数据表征用户不喜欢内容,则判定切换指令对应的内容为用户不喜欢的内容。In step S14, the auxiliary data is analyzed according to the preference, and preference is determined for the content corresponding to the switching instruction. If the preference analysis auxiliary data indicates that the user likes the content, it is determined that the content corresponding to the switching instruction is the content that the user likes.
上述数据处理方法在显示区域中显示内容后,获取用户在显示区域中针对内容作出的切换操作,响应与切换操作对应的切换指令,获取与内容对应的喜好分析辅助数据,根据喜好分析辅助数据,对切换指令对应的内容进行喜好判定,其中喜好分析辅助数据根据与切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到,这样若根据与切换操作相关的数据得到喜好分析辅助数据,在对内容进行切换过程中用户针对内容作出切换操作即可,使得用户无需在作出切换操作的过程中在显示区域中作出其他交互操作,简化对内容进行喜好判定过程中的交互操作,并且在切换内容过程中不会出现因用户针对显示区域的交互操作影响切换进程,使得内容切换可流畅顺利进行,解决因交互操作引起的切换滞后问题。若喜好分析辅助数据根据用户的脸部针对所述内容作出的动作确定,同样不需要在作出切换操作的过程中在显示区域中作出其他交互操作,简化对内容进行喜好判定过程中的交互操作,并且在切换内容过程中不会出现因用户针对显示区域的交互操作影响切换进程,使得内容切换可流畅顺利进行,解决因交互操作引起的切换滞后问题。After the above-mentioned data processing method displays the content in the display area, obtain the switching operation made by the user for the content in the display area, respond to the switching instruction corresponding to the switching operation, obtain the preference analysis auxiliary data corresponding to the content, and analyze the auxiliary data according to the preference, The preference is determined for the content corresponding to the switching instruction, wherein the preference analysis auxiliary data is obtained according to at least one of the data related to the switching operation and the user's face acting on the content, so that if the preference analysis is obtained according to the data related to the switching operation Auxiliary data, in the process of switching the content, the user can perform a switching operation on the content, so that the user does not need to perform other interactive operations in the display area during the switching operation, simplifying the interactive operation in the process of content preference determination. And in the process of switching content, the switching process will not be affected by the user's interactive operation on the display area, so that the content switching can be carried out smoothly and smoothly, and the problem of switching lag caused by the interactive operation is solved. If the preference analysis auxiliary data is determined according to the actions made by the user's face on the content, it is also not necessary to perform other interactive operations in the display area during the switching operation, which simplifies the interactive operations in the process of content preference determination. And in the process of switching content, the switching process will not be affected by the user's interactive operation on the display area, so that the content switching can be carried out smoothly and smoothly, and the problem of switching lag caused by the interactive operation is solved.
图2是根据一示例性实施例示出的另一种数据处理方法的流程图,如图2所示,数据处理方法用于 电子设备中,电子设备可以是但不限于是手机、平板电脑等供用户观看视频、文本、图像等内容的设备,这些电子设备可将内容显示在显示区域。图2所示数据处理方法包括以下步骤:Fig. 2 is a flowchart of another data processing method according to an exemplary embodiment. As shown in Fig. 2, the data processing method is used in an electronic device, and the electronic device may be, but not limited to, a mobile phone, a tablet computer, etc. A device used by a user to watch content such as video, text, images, etc., these electronic devices can display the content in the display area. The data processing method shown in Figure 2 includes the following steps:
在步骤S21中,在显示区域中显示内容。In step S21, the content is displayed in the display area.
在步骤S22中,获取用户在显示区域中针对内容作出的切换操作。In step S22, the switching operation performed by the user on the content in the display area is acquired.
在步骤S23中,响应与切换操作对应的切换指令,获取与内容对应的喜好分析辅助数据。In step S23, in response to the switching instruction corresponding to the switching operation, the preference analysis auxiliary data corresponding to the content is acquired.
上述与切换操作相关的数据可包括切换操作在显示区域中的位置,以根据切换操作在显示区域中的位置,得到喜好分析辅助数据,其得到喜好分析辅助数据的可行方式包括但不限于如下三种方式:The above-mentioned data related to the switching operation can include the position of the switching operation in the display area, so as to obtain the auxiliary data of preference analysis according to the position of the switching operation in the display area, and the feasible ways of obtaining the auxiliary data of preference analysis include but are not limited to the following three: ways:
一种方式是,步骤S231:从显示区域中确定位置所属目标区域,将目标区域对应的喜好数据作为喜好分析辅助数据。显示区域划分成至少两个区域,至少两个区域中的至少一个区域表征用户喜欢内容,其他区域表征用户不喜欢内容,目标区域为至少两个区域中的一个区域。One way is, step S231: Determine the target area to which the position belongs from the display area, and use the preference data corresponding to the target area as the preference analysis auxiliary data. The display area is divided into at least two areas, at least one of the at least two areas represents the content that the user likes, the other areas represent the content that the user does not like, and the target area is one of the at least two areas.
如图3所示,显示区域被划分成左区域和右区域两个区域,左区域表征用户喜欢内容,右区域表征用户不喜欢内容,即设置被划分的区域与用户是否喜欢内容的对应关系,如为被划分的区域设置喜好标识,喜好标识指示对应的区域是喜欢内容还是不喜欢内容。虽然显示区域被划分成左区域和右区域两个区域,但是对于内容来说,一个完整内容会占用显示区域的全部区域,即显示区域会全屏显示内容,且显示区域所划分成的两个区域对于用户不可见,如图3所述的实线区域是用户可看到的显示区域,虚线区域则是在后台将显示区域划分成两个区域。As shown in Figure 3, the display area is divided into two areas: the left area and the right area. The left area represents the content that the user likes, and the right area represents the content that the user does not like, that is, the corresponding relationship between the divided area and whether the user likes the content is set. If a preference flag is set for the divided region, the preference flag indicates whether the corresponding region likes the content or dislikes the content. Although the display area is divided into two areas: the left area and the right area, for content, a complete content will occupy the entire area of the display area, that is, the display area will display the content in full screen, and the display area is divided into two areas Invisible to the user, the solid line area as shown in FIG. 3 is the display area visible to the user, and the dotted line area is to divide the display area into two areas in the background.
本公开的实施例在获取到切换操作后,获取到执行切换操作过程中在显示区域中形成的多个坐标点(位置的一种体现),通过多个坐标点以及显示区域中两个区域的坐标区域可确定多个坐标点所属目标区域,因为设置被划分的区域与用户是否喜欢内容的对应关系,根据对应关系可确定目标区域是喜欢内容的区域还是不喜欢内容的区域,从而将确定的目标区域的喜好类型作为喜好分析辅助数据,又或者被划分的区域对应喜好标识,可以将目标区域的喜好标识作为喜好分析辅助数据。In the embodiments of the present disclosure, after the switching operation is acquired, multiple coordinate points (an embodiment of the position) formed in the display area during the execution of the switching operation are acquired. The coordinate area can determine the target area to which multiple coordinate points belong, because the corresponding relationship between the divided area and whether the user likes the content can be set. The preference type of the target area is used as the preference analysis auxiliary data, or the divided area corresponds to the preference identifier, and the preference indicator of the target area can be used as the preference analysis auxiliary data.
例如针对图3所示显示区域根据切换操作在显示区域中的位置,可知目标区域为左区域,说明用户在左区域中作出切换操作,则得到表征用户喜欢内容的喜好分析辅助数据。For example, according to the position of the display area shown in FIG. 3 in the display area according to the switching operation, it can be known that the target area is the left area, indicating that the user performs the switching operation in the left area, and then the preference analysis auxiliary data representing the user's favorite content is obtained.
在本公开的实施例中,显示区域可以被划分成多个区域,如三个及三个以上区域,这多个区域中可具有至少一个表征用户喜欢内容的区域,其他区域表征用户不喜欢内容。在显示区域被划分成两个区域、三个区域及三个以上区域的情况下,本公开的实施例还可以对显示区域中的不同区域标注理由,如对显示区域中表征用户喜欢内容的区域标注喜欢内容的理由,对显示区域中表征用户不喜欢内容的区域标注不喜欢内容的理由,从而在对内容进行喜好判定的同时还能够获知理由,以针对用户喜欢内容的理由进行个性化精准推荐,且能够根据用户不喜欢内容的理由对内容进行调整。In the embodiment of the present disclosure, the display area may be divided into multiple areas, such as three or more areas, and the multiple areas may have at least one area representing the content that the user likes, and other areas representing the content that the user does not like . In the case where the display area is divided into two areas, three areas, or more than three areas, the embodiments of the present disclosure can also mark reasons for different areas in the display area, such as the areas in the display area that represent the user's favorite content Mark the reason for liking the content, and mark the reason for disliking the content in the display area that represents the content that the user does not like, so that while judging the content, you can also know the reason, and make personalized and accurate recommendations for the reason why the user likes the content , and can adjust the content according to the reason why the user does not like the content.
当然对于显示区域划分的区域来说,本公开的实施例还可根据喜欢内容的理由确定喜欢程度和根据不喜欢内容的理由确定不喜欢程度,以根据喜欢程度推荐喜欢程度高的内容,使得推荐的内容更加符合用户的喜好,实现个性化精准推荐。Of course, for the area divided by the display area, the embodiment of the present disclosure can also determine the liking degree according to the reason for liking the content and the disliking degree according to the reason for disliking the content, so as to recommend the content with a high liking degree according to the liking degree, so that the recommendation The content more in line with the user's preferences, to achieve personalized and accurate recommendation.
另一种方式是,步骤S232:根据切换操作在显示区域中的位置,获取切换操作在显示区域中形成的移动轨迹,确定移动轨迹的弯曲方向,将弯曲方向对应的喜欢数据作为喜好分析辅助数据。Another way is, step S232: according to the position of the switching operation in the display area, obtain the movement track formed by the switching operation in the display area, determine the bending direction of the movement track, and use the favorite data corresponding to the bending direction as the preference analysis auxiliary data .
可以理解的是:用户在作出同一方向的切换操作过程中可呈现不同的弯曲方向,如图4所示作为切换操作的向右滑动操作,在向右滑动操作过程中显示区域中形成的移动轨迹可向上弯曲(如图4中的实线所示)或向下弯曲(如图4中的虚线所示)。在本公开的实施例中可设置弯曲方向与喜欢数据的对应关系,如设置弯曲方向对应的喜欢标识,喜欢标识用于指示用户喜欢内容或不喜欢内容,这样在获取当针对当前显示内容的切换操作后,可根据当前切换操作对应的移动轨迹的弯曲方向,得到弯曲方向对应的喜欢数据,将弯曲方向对应的喜欢数据作为喜好分析辅助数据。It can be understood that the user can present different bending directions during the switching operation in the same direction. As shown in Figure 4, as the right sliding operation of the switching operation, the movement track formed in the display area is displayed during the right sliding operation. It can be bent upward (as shown by the solid line in Figure 4) or downward (as shown by the dashed line in Figure 4). In the embodiment of the present disclosure, the corresponding relationship between the bending direction and the favorite data can be set. For example, a favorite flag corresponding to the bending direction can be set. The favorite flag is used to indicate that the user likes the content or does not like the content. After the operation, the favorite data corresponding to the bending direction can be obtained according to the bending direction of the movement track corresponding to the current switching operation, and the favorite data corresponding to the bending direction can be used as the auxiliary data for preference analysis.
对于具有相同弯曲方向的切换操作来说,其弯曲程度可以不同,为此本公开的实施例可预先设置弯曲程度对应的喜欢内容的理由或不喜欢内容的内容,从而可根据弯曲程度获知喜欢内容的理由或不喜欢内容的内容。For switching operations with the same bending direction, the degree of bending may be different. For this reason, the embodiment of the present disclosure can preset the reason for liking the content or the content of disliking the content corresponding to the bending degree, so that the content that you like can be known according to the bending degree. reason or dislike the content of the content.
再一种方式是,步骤S233:根据切换操作在显示区域中的位置,获取切换操作在显示区域中形成的移动轨迹,根据移动轨迹确定切换操作划过的目标控件,根据目标控件的标识得到喜好分析辅助数据,显示区域中设置有至少两个控件,至少两个控件中的至少一个控件表征用户喜欢内容,其他控件表征用户不喜欢内容,目标控件为至少两个控件中的一个控件,至少两个控件位于显示区域的不同位置,且至少两个控件对用户不可见,如至少两个控件以透明状态显示,这样在执行切换操作过程中可经过控件但是控件又不影响内容的显示。Another way is, step S233: according to the position of the switching operation in the display area, obtain the movement track formed by the switching operation in the display area, determine the target control that the switching operation crosses according to the movement track, and obtain the preference according to the identification of the target control. Analyze the auxiliary data, at least two controls are set in the display area, at least one of the at least two controls represents the content that the user likes, the other controls represent the content that the user does not like, and the target control is one of the at least two controls, and at least two The controls are located at different positions in the display area, and at least two controls are invisible to the user. For example, at least two controls are displayed in a transparent state, so that the controls can be passed during the switching operation, but the controls do not affect the display of the content.
控件在显示区域中的位置本公开的实施例不进行限定,但是控件在显示区域中的位置需要满足一点:在执行切换操作过程中切换操作不能经过表征对内容喜好不同的两个控件,如图5所示的显示区域中控件的显示,图5所示显示区域中包括四个控件,分别记为控件1、控件2、控件3和控件4,四个控件对用户来说不可见(如5中以虚线表示不可见),控件1和控件2表征用户喜欢内容,控件3和控件4表征用户不喜欢内容,在执行切换操作过程中不能同时经过两个表征对内容喜好不同的至少两个控件,如不能同时经过控件1和控件3,因为两个控件分别对应喜欢和不喜欢。The position of the control in the display area is not limited in the embodiments of the present disclosure, but the position of the control in the display area needs to satisfy one point: during the switching operation, the switching operation cannot pass through two controls that characterize different content preferences, as shown in the figure. The display of the controls in the display area shown in 5, the display area shown in FIG. 5 includes four controls, which are respectively denoted as control 1, control 2, control 3 and control 4, and the four controls are invisible to the user (such as 5 The dotted line in the middle indicates invisible), control 1 and control 2 represent the content that the user likes, and control 3 and control 4 represent the content that the user does not like. During the switching operation, at least two controls that represent different content preferences cannot be passed through at the same time. , such as control 1 and control 3 cannot be passed at the same time, because the two controls correspond to likes and dislikes respectively.
目标控件的标识可用于唯一指示出控件,且目标控件能够表征是否喜欢内容,因此本公开的实施例可将目标控件的标识作为喜好分析辅助数据,又或者将目标控件对应的喜好数据(即表针是否喜欢内容的数据)作为喜好分析辅助数据。如图5中切换操作划过控件1,控件1表示用户喜欢内容,则将控件1的标识(如控件1的编号)或控件1表征用户喜欢内容的喜好数据作为喜好分析辅助数据。The identifier of the target control can be used to uniquely indicate the control, and the target control can represent whether the content is liked or not. Therefore, the embodiment of the present disclosure can use the identifier of the target control as auxiliary data for preference analysis, or use the preference data corresponding to the target control (that is, the pointer). data on whether you like the content) as auxiliary data for preference analysis. As shown in FIG. 5 , the switching operation crosses control 1, and control 1 indicates that the user likes the content, then the identifier of control 1 (such as the number of control 1) or the preference data of control 1 representing the content that the user likes is used as preference analysis auxiliary data.
若根据划过的目标控件得到喜好分析辅助数据需要用户获知控件在显示区域中的位置,相关技术中,不同类型电子设备的显示区域的尺寸会有不同,那么在显示控件过程中,控件的位置可能会根据显示区域的尺寸发生变化,使得控件在显示区域中的位置不固定,从而出现操作失败的情况,而上述根据目标区域和弯曲方向确定喜好分析辅助数据的方式,获知区域与喜欢数据的对应关系和弯曲方向与喜欢数据的对应关系即可,便于用户执行切换操作且降低出现操作失败的几率。If the preference analysis auxiliary data is obtained according to the swiped target control, the user needs to know the position of the control in the display area. In the related art, the size of the display area of different types of electronic devices will be different, so in the process of displaying the control, the position of the control It may change according to the size of the display area, so that the position of the control in the display area is not fixed, so that the operation fails, and the above-mentioned method of determining the preference analysis auxiliary data according to the target area and the bending direction, you can know the difference between the area and the favorite data. The corresponding relationship and the corresponding relationship between the bending direction and the favorite data are sufficient, which is convenient for the user to perform the switching operation and reduces the probability of operation failure.
本公开的实施例还可以对显示区域中不同控件标注理由,如对显示区域中表征用户喜欢内容的控件标注喜欢内容的理由,对显示区域中表征用户不喜欢内容的控件标注不喜欢内容的理由,从而在对内容进行喜好判定的同时还能够获知理由,以针对用户喜欢内容的理由进行个性化精准推荐,且能够根据用户不喜欢内容的理由对内容进行调整。The embodiments of the present disclosure can also mark reasons for different controls in the display area, for example, mark the reasons for liking the content for the controls in the display area that represent the content that the user likes, and mark the reasons for the content that you don't like for the controls in the display area that represent the content that the user does not like , so that while judging the content's preference, the reason can also be obtained, personalized and accurate recommendation can be made according to the reason why the user likes the content, and the content can be adjusted according to the reason why the user does not like the content.
当然对于显示区域中的控件,本公开的实施例还可根据喜欢内容的理由确定喜欢程度和根据不喜欢内容的理由确定不喜欢程度,以根据喜欢程度推荐喜欢程度高的内容,使得推荐的内容更加符合用户的喜好,实现个性化精准推荐。Of course, for the controls in the display area, the embodiment of the present disclosure can also determine the degree of liking according to the reason for liking the content and the degree of disliking the content according to the reason for disliking the content, so as to recommend the content with a high degree of liking according to the liking degree, so that the recommended content More in line with user preferences, to achieve personalized and accurate recommendations.
在步骤S24中,根据喜好分析辅助数据,对切换指令对应的内容进行喜好判定。In step S24, the auxiliary data is analyzed according to the preference, and preference is determined for the content corresponding to the switching instruction.
需要说明的是,步骤S21-S24与本公开图1所示实施例中的步骤S11-S14相同,在此不再赘述。It should be noted that, steps S21-S24 are the same as steps S11-S14 in the embodiment shown in FIG. 1 of the present disclosure, and are not repeated here.
可以理解的是,在本公开的实施例中,可以通过步骤S231-S233中的至少一个得到喜好分析辅助数据。It can be understood that, in the embodiment of the present disclosure, preference analysis auxiliary data may be obtained through at least one of steps S231-S233.
上述数据处理方法在显示区域中显示内容后,获取用户在显示区域中针对内容作出的切换操作,响应与切换操作对应的切换指令,根据切换操作在显示区域中的位置,获取与内容对应的喜好分析辅助数据,根据喜好分析辅助数据,对切换指令对应的内容进行喜好判定,其中喜好分析辅助数据根据与切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到,这样若根据与切换操作相关的数据得到喜好分析辅助数据,在对内容进行切换过程中用户针对内容作出切换操作即可,使得用户无需在作出切换操作的过程中在显示区域中作出其他交互操作,简化对内容进行喜好判定过程中的交互操作,并且在切换内容过程中不会出现因用户针对显示区域的交互操作影响切换进程,使得内容切换可流畅顺利进行,解决因交互操作引起的切换滞后问题。若喜好分析辅助数据根据用户的脸部针对所述内容作出的动作确定,同样不需要在作出切换操作的过程中在显示区域中作出其他交互操作,简化对内容进行喜好判定过程中的交互操作,并且在切换内容过程中不会出现因用户针对显示区域的交互操作影响切换进程,使得内容切换可流畅顺利进行,解决因交互操作引起的切换滞后问题。After the above data processing method displays the content in the display area, obtain the switching operation made by the user for the content in the display area, respond to the switching instruction corresponding to the switching operation, and obtain the preferences corresponding to the content according to the position of the switching operation in the display area. Analyze auxiliary data, analyze auxiliary data according to preference, and determine preference for the content corresponding to the switching instruction, wherein preference analysis auxiliary data is obtained according to at least one of the data related to the switching operation and the user's face acting on the content, so that if The auxiliary data for preference analysis is obtained according to the data related to the switching operation. During the switching of the content, the user only needs to perform a switching operation on the content, so that the user does not need to perform other interactive operations in the display area during the switching operation, which simplifies the process of switching the content. The content performs interactive operations in the process of preference determination, and the user's interactive operations on the display area will not affect the switching process during the content switching process, so that the content switching can be performed smoothly and smoothly, and the problem of switching lag caused by interactive operations is solved. If the preference analysis auxiliary data is determined according to the actions made by the user's face on the content, it is also not necessary to perform other interactive operations in the display area during the switching operation, which simplifies the interactive operations in the process of content preference determination. And in the process of switching content, the switching process will not be affected by the user's interactive operation on the display area, so that the content switching can be carried out smoothly and smoothly, and the problem of switching lag caused by the interactive operation is solved.
下面以显示区域划分成两个区域,通过切换操作在显示区域中的位置进行内容喜好判定的过程进行说明,图6所示电子设备的显示区域中显示一条视频,在显示视频过程中电子设备监测到用户在显示区域中作出滑动操作,表明用户要对显示区域进行视频切换,以显示其他视频,在这一过程中,获取滑动操作在显示区域中的位置,并根据位置确定所属目标区域为上部分区域,说明用户在上部分区域作出滑动操作,通过显示区域中各区域与喜好数据的对应关系可知上部分区域对应的喜好数据表明用户喜欢内容,由此说明用户喜欢当前显示(即切换指令前显示)的视频,通过根据切换操作相关的数据(如位置)确定出用户是否喜欢视频,这一过程中不需要用户作出除切换操作之外的操作,简化交互操作且解决因交互操作引起的切换滞后问题。In the following, the display area is divided into two areas, and the process of determining content preference by switching the position in the display area will be described. The display area of the electronic device shown in FIG. 6 displays a video, and the electronic device monitors the process of displaying the video. When the user makes a sliding operation in the display area, it indicates that the user wants to switch the video in the display area to display other videos. During this process, the position of the sliding operation in the display area is obtained, and the target area to which it belongs is determined according to the position. Part of the area, indicating that the user has made a sliding operation in the upper part of the area, through the corresponding relationship between each area in the display area and the preference data, it can be known that the preference data corresponding to the upper part area indicates that the user likes the content, thus indicating that the user likes the current display (that is, before the switching instruction). Display) video, by determining whether the user likes the video according to the data related to the switching operation (such as location), this process does not require the user to perform operations other than the switching operation, simplifies the interactive operation and solves the switching caused by the interactive operation. Lag problem.
同样的图7所示电子设备的显示区域中显示文本内容,在显示文本内容过程中电子设备监测到用户在显示区域中作出滑动操作,表明用户要对显示区域进行文本切换,以显示其他文本内容,在这一过程 中如作出滑动操作前通过电子设备中的摄像头采集到包含用户脸部信息的视频数据,通过对视频数据分析得到表征用户忽视文本内容的动作,说明用户不关系显示的文本内容,从而可判定出不喜欢当前显示的文本内容,这样通过在显示文本内容过程中在用户无感情况下获取到包含用户脸部信息的视频数据,以通过视频数据自动判定出是否喜欢当前显示的文本内容。Similarly, the text content is displayed in the display area of the electronic device shown in FIG. 7. During the process of displaying the text content, the electronic device detects that the user makes a sliding operation in the display area, indicating that the user needs to switch the text in the display area to display other text content. In this process, if the video data containing the user's face information is collected by the camera in the electronic device before the sliding operation is performed, and the action of the user ignoring the text content is obtained by analyzing the video data, it means that the user does not care about the displayed text content. , so that it can be determined that the currently displayed text content is not liked. In this way, the video data containing the user's face information can be obtained without the user's perception during the process of displaying the text content, so as to automatically determine whether the currently displayed text content is liked through the video data. text content.
在判定出对切换指令对应的内容的喜好之后,本公开的实施例提供的数据处理方法还可以包括:在完成显示区域中显示内容的切换后,根据切换指令对应的内容的喜好判定,对切换指令对应的内容进行喜好标签的标注,通过喜好标签实现对用户观看的内容的分类,由此可根据喜好标签对应的内容向用户推荐相匹配的内容。After determining the preference for the content corresponding to the switching instruction, the data processing method provided by the embodiments of the present disclosure may further include: after completing the switching of the displayed content in the display area, determining the preference for the content corresponding to the switching instruction according to the preference of the content corresponding to the switching instruction. The content corresponding to the instruction is marked with a favorite tag, and the content viewed by the user is classified through the favorite tag, so that matching content can be recommended to the user according to the content corresponding to the favorite tag.
在本公开的实施例中,对切换指令对应的内容进行喜好标签的标注的方式包括但不限于:将喜好标签作为内容的一种属性、建立内容与喜好标签的对应关系、在内容中添加上喜好标签中的至少一种。In the embodiment of the present disclosure, the way of labeling the favorite tag for the content corresponding to the switching instruction includes, but is not limited to: taking the favorite tag as an attribute of the content, establishing a corresponding relationship between the content and the favorite tag, adding a tag to the content At least one of the favorite tags.
在针对内容作出切换操作过程中,用户可撤回切换操作,用户撤回切换操作的动作可被电子设备监测到,其中切换操作撤回具有两种情况,第一种情况是在用户完成切换操作之前将切换操作撤回,第二种情况是用户完成切换操作之后撤回,类似于微信中的消息撤回,若在用户完成切换操作之前将切换操作撤回,可暂停对内容进行喜好判定,若用户完成切换操作之后撤回,可撤销内容的喜好标签。During the switching operation for the content, the user can withdraw the switching operation, and the user's action of withdrawing the switching operation can be monitored by the electronic device. There are two situations in which the switching operation is withdrawn. The first situation is to switch the switching operation before the user finishes the switching operation. The operation is withdrawn. The second case is that the user withdraws after completing the switching operation, which is similar to the message withdrawal in WeChat. If the switching operation is withdrawn before the user completes the switching operation, the content preference determination can be suspended. If the user withdraws after completing the switching operation , to revoke the favorite tag for the content.
图8是根据再一示例性实施例示出的再一种数据处理方法的流程图,如图8所示数据处理方法包括以下步骤:Fig. 8 is a flow chart showing still another data processing method according to still another exemplary embodiment. As shown in Fig. 8, the data processing method includes the following steps:
在步骤S81中,在显示区域中显示内容。In step S81, the content is displayed in the display area.
在步骤S82中,获取用户在显示区域中针对内容作出的切换操作。In step S82, the switching operation performed by the user on the content in the display area is acquired.
在步骤S83中,响应与切换操作对应的切换指令,获取与内容对应的喜好分析辅助数据。In step S83, in response to the switching instruction corresponding to the switching operation, the preference analysis auxiliary data corresponding to the content is acquired.
在一些实施例中,阐述除根据与切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到喜好分析辅助数据之外,还能够通过其他方式得到喜好分析辅助数据,包括但不限于如下两种方式:在步骤S834中,响应切换指令,获取在响应切换指令前内容的停留时长。停留时长是显示区域开始显示内容到切换操作对当前内容进行切换的时长,停留时长越长说明用户观看内容的时间越长,意味着用户对内容可能会比较感兴趣;停留时长越短说明用户观看内容的时间越短,意味着用户对内容可能不感兴趣,基于此停留时长可体现出用户是否喜欢当前显示的内容,由此喜好分析辅助数据可包括停留时长。In some embodiments, it is stated that in addition to obtaining the preference analysis auxiliary data according to at least one of the data related to the switching operation and the user's face acting on the content, the preference analysis auxiliary data can also be obtained in other ways, including but It is not limited to the following two ways: in step S834, in response to the switching instruction, obtain the staying time of the content before responding to the switching instruction. The dwell time is the length of time from when the display area starts to display the content until the switching operation switches the current content. The longer the dwell time, the longer the user has been watching the content, which means that the user may be more interested in the content; the shorter the dwell time, the more the user is watching the content. The shorter the content time is, it means that the user may not be interested in the content. Based on the staying time, it can reflect whether the user likes the currently displayed content. Therefore, the auxiliary data of preference analysis can include the staying time.
在步骤S835中,响应切换指令,从内容中提取表征内容的特征数据,确定历史内容中与特征数据匹配的历史特征数据,获取历史特征数据所属历史内容的喜好标签。In step S835, in response to the switching instruction, the feature data representing the content is extracted from the content, the historical feature data matching the feature data in the historical content is determined, and the favorite tag of the historical content to which the historical feature data belongs is obtained.
特征数据在当前显示的内容的类型不同时有所不同,例如当前显示的内容为视频,则特征数据是体现视频的故事情节的数据,如视频中体现故事情节的至少一个关键帧;若当前显示的内容为图像,则特征数据是可体现图像中含有内容的特征数据,如可以是当前显示图像中占主体的对象,所谓主体可以是在图像中占用的面积最大的对象、在图像中显示最为突出的对象等任意一种,例如一张图像为草地上有 一个足球,则足球在整张图像中的显示最为突出,此时将足球作为特征数据;若当前显示的内容为文本内容,则特征数据是可体现文本内容的主旨思想的关键词,如文本内容是小说的章节内容,则特征数据是体现章节内容的故事情节的关键词。The feature data is different when the type of the currently displayed content is different. For example, if the currently displayed content is a video, the feature data is the data that reflects the storyline of the video, such as at least one key frame that reflects the storyline in the video; if the currently displayed content is a video If the content is an image, the feature data is the feature data that can reflect the content contained in the image. For example, it can be the object that occupies the main body in the currently displayed image. Any one of the prominent objects, such as a football on the grass in an image, the football is the most prominent display in the whole image, and the football is used as the feature data at this time; if the currently displayed content is text content, the feature Data is a keyword that can reflect the main idea of the text content. For example, if the text content is the chapter content of a novel, the feature data is the keyword that reflects the storyline of the chapter content.
历史内容是已经进行喜好判定的内容,历史特征数据则是从历史内容中提取出的表征历史内容的特征数据,本公开的实施例通过特征数据与历史特征数据的比对(如相似度计算),可确定出匹配的历史特征数据,而历史特征数据所属历史内容已经进行喜好判定,意味着历史内容对应有喜好标签,由此喜好分析辅助数据可包括匹配的历史特征数据所属历史内容的喜好标签。The historical content is the content for which preference determination has been made, and the historical feature data is the feature data extracted from the historical content that characterizes the historical content. The embodiment of the present disclosure compares the feature data with the historical feature data (such as similarity calculation) , the matching historical feature data can be determined, and the historical content to which the historical feature data belongs has been subjected to preference determination, which means that the historical content corresponds to a preference tag, so the preference analysis auxiliary data can include the historical content to which the matching historical feature data belongs. .
在喜好分析辅助数据包括停留时长、匹配的历史特征数据所属历史内容的喜好标签、根据与切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到的数据的情况下,这些数据中可能存在表征用户喜欢内容的数据以及表征用户不喜欢内容的数据,对于内容的喜好判定是两个相反的判定结果,为此本公开的实施例可设置喜好判定条件,根据喜好判定条件和包括多种表征用户是否喜好内容的数据的喜好分析辅助数据,对内容进行喜好判定,如根据喜好分析辅助数据中的任意一种数据,得到对内容进行喜好判定的判定结果,喜好判定条件可以是将多个判定结果中占据多数的判定结果作为内容的喜好判定结果,如上述四种数据得到的判定结果中有三种数据的判定结果表征喜欢内容,则内容的喜好判定结果是喜欢内容。当然喜好判定条件还可以是喜好判定结果的计算公式,该计算公式以上述数据的判定结果为输入,根据输出的数值得到喜好判定结果,例如输出的数值大于阈值,得到表征用户喜欢内容的喜好判定结果,反之得到表征用户不喜欢内容的喜好判定结果。In the case where the preference analysis auxiliary data includes the duration of stay, the preference tag of the historical content to which the matched historical feature data belongs, and data obtained from at least one of data related to switching operations and actions on the content by the user's face, these There may be data representing the content that the user likes and data representing the content that the user does not like. The determination of content preference is two opposite determination results. For this reason, the embodiment of the present disclosure can set preference determination conditions, according to the preference determination conditions and The preference analysis auxiliary data including a variety of data indicating whether the user likes the content, and the preference determination is performed on the content. For example, according to any data in the preference analysis auxiliary data, the determination result of the preference determination for the content is obtained, and the preference determination condition can be The determination result that occupies the majority of the multiple determination results is used as the content preference determination result. If three types of determination results in the determination results obtained from the above four kinds of data represent the favorite content, the content preference determination result is the favorite content. Of course, the preference judgment condition can also be a calculation formula of the preference judgment result. The calculation formula takes the judgment result of the above data as input, and obtains the preference judgment result according to the output value. For example, the output value is greater than the threshold value, and the preference judgment representing the user's favorite content is obtained. As a result, conversely, a preference determination result indicating that the user does not like the content is obtained.
在步骤S84中,根据喜好分析辅助数据,对切换指令对应的内容进行喜好判定。In step S84, the auxiliary data is analyzed according to the preference, and preference is determined for the content corresponding to the switching instruction.
需要说明的是,步骤S81-S84与本公开图1所示实施例中的步骤S11-S14相同,在此不再赘述。It should be noted that steps S81-S84 are the same as steps S11-S14 in the embodiment shown in FIG. 1 of the present disclosure, and details are not repeated here.
可以理解的是,在本公开的实施例中,可以通过步骤S834-S835中的至少一个得到喜好分析辅助数据。It can be understood that, in the embodiment of the present disclosure, preference analysis auxiliary data may be obtained through at least one of steps S834-S835.
在本公开的实施例中,上述停留时长、匹配的历史特征数据所属历史内容的喜好标签、根据与切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到的数据可相互组合得到喜好分析辅助数据,本公开的实施例不对组合方式进行一一说明。In the embodiment of the present disclosure, at least one of the above-mentioned stay duration, the preference tag of the historical content to which the matched historical feature data belongs, the data obtained according to at least one of the data related to the switching operation and the action on the content by the user's face may interact with each other. The combination obtains the auxiliary data of preference analysis, and the embodiment of the present disclosure does not describe the combination method one by one.
图9是根据再一示例性实施例示出的再一种数据处理方法的流程图,如图9所示数据处理方法,包括以下步骤:在步骤S91中,在显示区域中显示内容。Fig. 9 is a flowchart of still another data processing method according to still another exemplary embodiment. As shown in Fig. 9 , the data processing method includes the following steps: In step S91, content is displayed in a display area.
在步骤S92中,获取用户在显示区域中针对内容作出的切换操作。In step S92, the switching operation performed by the user on the content in the display area is acquired.
在步骤S93中,响应与切换操作对应的切换指令,获取与内容对应的喜好分析辅助数据。In step S93, in response to the switching instruction corresponding to the switching operation, the preference analysis auxiliary data corresponding to the content is acquired.
在步骤S94中,根据喜好分析辅助数据,对切换指令对应的内容进行喜好判定。In step S94, the auxiliary data is analyzed according to the preference, and preference is determined for the content corresponding to the switching instruction.
在步骤S95中,响应切换指令,输出提示信息,提示信息用于提示用户喜欢当前切换的内容和提示用户不喜欢当前切换的内容中的一种,以通过提示信息告知电子设备确定出的用户喜欢当前切换的内容 还是不喜欢当前切换的内容。当前切换的内容是生成切换指令过程中显示区域显示的内容,通过提示信息提示用户可能喜欢该内容或者不喜欢该内容,且正在切换显示区域中显示的内容。In step S95, in response to the switching instruction, output prompt information, the prompt information is used to prompt the user to like one of the currently switched content and prompt the user to dislike the currently switched content, so as to inform the electronic device that the user likes the content determined by the prompt information. The content of the current switch still does not like the content of the current switch. The currently switched content is the content displayed in the display area during the process of generating the switching instruction, and the user is prompted through prompt information that the content may be liked or disliked, and the content displayed in the display area is being switched.
其中提示信息可通过语音和文本等方式中的至少一种方式输出,在以文本方式输出过程中提示信息可能会影响显示区域中内容的显示,为此本公开的实施例可以设置以文本方式输出的提示信息的透明度,这样即便提示信息显示在内容之上,透过提示信息仍可以观看到位于提示信息之下的内容,或者可监测显示区域中没有被显示的内容占用的区域,在该区域中显示提示信息。The prompt information can be output by at least one of voice and text, and the prompt information may affect the display of the content in the display area during the process of output in text mode. Therefore, the embodiment of the present disclosure can be set to output in text mode The transparency of the prompt information, so that even if the prompt information is displayed on the content, the content under the prompt information can still be viewed through the prompt information, or the area in the display area that is not occupied by the displayed content can be monitored. A prompt is displayed in the .
需要说明的是,步骤S91-S94与本公开图1所示实施例中的步骤S11-S14相同,在此不再赘述。It should be noted that, steps S91-S94 are the same as steps S11-S14 in the embodiment shown in FIG. 1 of the present disclosure, and details are not repeated here.
上述数据处理方法通过输出提示信息的方式,对用户当前切换的内容的喜好进行提示,以通过提示信息的方式告知用户,如果用户通过提示信息确定对内容的喜好判定有误,可即时撤销切换操作。例如用户在显示区域的左区域执行切换操作,提示信息提示用户喜欢当前切换的内容,用户发现其不喜欢当前切换的内容,则撤销切换操作,用户可以在显示区域的右区域执行切换操作,得到符合用户喜好的判定结果。The above data processing method prompts the user's preference for the content currently switched by the method of outputting prompt information, and informs the user through the prompt information. If the user determines that the preference for the content is incorrectly determined through the prompt information, the switching operation can be immediately cancelled. . For example, the user performs the switching operation in the left area of the display area, and the prompt message prompts the user to like the current switching content. If the user finds that he does not like the current switching content, the switching operation is cancelled. The user can perform the switching operation in the right area of the display area, and get Judgment results in line with user preferences.
图10是根据一示例性实施例示出的一种数据处理装置的框图。参照图10,该装置包括显示单元100,获取单元200,响应单元300和处理单元400。Fig. 10 is a block diagram of a data processing apparatus according to an exemplary embodiment. 10 , the apparatus includes a display unit 100 , an acquisition unit 200 , a response unit 300 and a processing unit 400 .
显示单元100,被配置为执行在显示区域中显示内容。The display unit 100 is configured to perform displaying content in the display area.
获取单元200,被配置为执行获取用户在显示区域中针对内容作出的切换操作。The acquisition unit 200 is configured to perform acquisition of a switching operation performed by a user on the content in the display area.
响应单元300,被配置为执行响应与切换操作对应的切换指令,获取与内容对应的喜好分析辅助数据,喜好分析辅助数据根据与切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到。The response unit 300 is configured to execute a switching instruction corresponding to the switching operation, and obtain auxiliary data of preference analysis corresponding to the content, and the auxiliary data of preference analysis is configured to perform at least one of the actions on the content according to the data related to the switching operation and the user's face. kind of get.
处理单元400,被配置为执行根据喜好分析辅助数据,对切换指令对应的内容进行喜好判定。The processing unit 400 is configured to analyze the auxiliary data according to the preference, and perform preference determination on the content corresponding to the switching instruction.
其中,响应单元300在一种实施方式中的结构是,响应单元300包括:响应子单元和获得子单元。响应子单元,被配置为执行响应切换指令,获取切换操作在显示区域中的位置;获得子单元,被配置为执行根据切换操作在显示区域中的位置,得到喜好分析辅助数据。获得子单元的几种实施方式如下:The structure of the response unit 300 in one embodiment is that the response unit 300 includes: a response subunit and an obtaining subunit. The response subunit is configured to execute the response switching instruction to obtain the position of the switching operation in the display area; the obtaining subunit is configured to execute the position of the switching operation in the display area to obtain the preference analysis auxiliary data. Several implementations of obtaining subunits are as follows:
一种方式,获得子单元,被配置为执行从显示区域中确定位置所属目标区域,将目标区域对应的喜好数据作为喜好分析辅助数据,显示区域划分成至少两个区域,至少两个区域中的至少一个区域表征用户喜欢内容,其他区域表征用户不喜欢内容,目标区域为至少两个区域中的一个区域。In one way, the obtaining subunit is configured to determine the target area to which the position belongs from the display area, use the preference data corresponding to the target area as the preference analysis auxiliary data, and divide the display area into at least two areas. At least one area indicates that the user likes the content, other areas indicate that the user does not like the content, and the target area is one of the at least two areas.
另一种方式,获得子单元,被配置为执行根据切换操作在显示区域中的位置,获取切换操作在显示区域中形成的移动轨迹,确定移动轨迹的弯曲方向,将弯曲方向对应的喜好数据作为喜好分析辅助数据。In another way, the obtaining subunit is configured to execute the position of the switching operation in the display area, obtain the movement track formed by the switching operation in the display area, determine the bending direction of the moving track, and use the preference data corresponding to the bending direction as Preference for analyzing auxiliary data.
再一种方式,获得子单元,被配置为执行根据切换操作在显示区域中的位置,获取切换操作在显示区域中形成的移动轨迹,根据移动轨迹确定切换操作划过的目标控件,根据目标控件的标识得到喜好分析辅助数据,显示区域中设置有至少两个控件,至少两个控件中的至少一个控件表征用户喜欢内容,其他控件表征用户不喜欢内容,目标控件为至少两个控件中的一个控件,至少两个控件位于显示区域的不 同位置,且至少两个控件对用户不可见。In another way, the obtaining subunit is configured to execute the position in the display area according to the switching operation, obtain the movement track formed by the switching operation in the display area, determine the target control crossed by the switching operation according to the movement track, and according to the target control At least two controls are set in the display area, at least one of the at least two controls represents the content that the user likes, the other controls represent the content that the user does not like, and the target control is one of the at least two controls. controls, at least two controls are located at different positions in the display area, and at least two controls are not visible to the user.
上述显示区域中表征用户喜欢内容的区域或控件标注有喜欢内容的理由,显示区域中表征用户不喜欢内容的区域或控件标注有不喜欢内容的理由。In the above-mentioned display area, the area or control representing the content that the user likes is marked with the reason for liking the content, and the area or control in the display area representing the content that the user does not like is marked with the reason for disliking the content.
上述是响应单元300根据与切换操作相关的数据响应获取与内容对应的喜好分析辅助数据,响应单元300根据用户的脸部针对内容作出动作得到喜好分析辅助数据的方式如下:The above is that the response unit 300 responds to obtain the preference analysis auxiliary data corresponding to the content according to the data related to the switching operation, and the response unit 300 makes an action according to the user's face for the content to obtain the preference analysis auxiliary data as follows:
响应单元300,被配置为执行响应切换指令,通过采集装置采集与用户相关的多媒体数据;根据多媒体数据,得到用户特征数据,用户特征数据用于表征用户作出的特定动作和用户的情绪中的一种,用户的动作和用户的情绪中的一种用于表征用户对内容的喜好。The response unit 300 is configured to execute the response switching instruction, and collect multimedia data related to the user through the collection device; obtain user characteristic data according to the multimedia data, and the user characteristic data is used to represent a specific action made by the user and one of the user's emotions. One of the user's actions and the user's emotion is used to characterize the user's preference for content.
在一些实施例中,响应单元300,还被配置为执行响应切换指令,获取在响应切换指令前内容的停留时长;和/或,响应切换指令,从内容中提取表征内容的特征数据,确定历史内容中与特征数据匹配的历史特征数据,获取历史特征数据所属历史内容的喜好标签。In some embodiments, the response unit 300 is further configured to execute the response switching instruction, and obtain the staying time of the content before the response switching instruction; and/or, in response to the switching instruction, extract feature data representing the content from the content, and determine the history For the historical feature data in the content that matches the feature data, the preference tag of the historical content to which the historical feature data belongs is obtained.
针对上述数据处理装置,数据处理装置还包括:输出单元,被配置为执行响应切换指令,输出提示信息,提示信息用于提示用户喜欢当前切换的内容和提示用户不喜欢当前切换的内容中的一种。For the above data processing apparatus, the data processing apparatus further includes: an output unit configured to execute the response switching instruction and output prompt information, where the prompt information is used to prompt the user to like the currently switched content and prompt the user to not like the currently switched content. kind.
针对上述数据处理装置,数据处理装置还包括:标注单元,被配置为执行在完成显示区域中显示内容的切换后,根据切换指令对应的内容的喜好判定,对切换指令对应的内容进行喜好标签的标注。With respect to the above data processing apparatus, the data processing apparatus further includes: a labeling unit, configured to perform a preference label for the content corresponding to the switching instruction according to the preference judgment of the content corresponding to the switching instruction after the switching of the displayed content in the display area is completed. callout.
关于上述实施例中的数据处理装置,其中各个单元执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the data processing apparatus in the above embodiments, the specific manner in which each unit performs operations has been described in detail in the embodiments of the method, and will not be described in detail here.
上述数据处理装置,在显示区域中显示内容,获取用户在显示区域中针对内容作出的切换操作,响应与切换操作对应的切换指令,获取与内容对应的喜好分析辅助数据,根据喜好分析辅助数据,对切换指令对应的内容进行喜好判定,其中喜好分析辅助数据根据与切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到,这样根据与切换操作相关的数据得到喜好分析辅助数据,再对内容进行切换过程中用户针对内容作出切换操作即可。The above-mentioned data processing device displays content in a display area, obtains a switching operation made by a user for the content in the display area, responds to a switching instruction corresponding to the switching operation, obtains preference analysis auxiliary data corresponding to the content, and analyzes auxiliary data according to preference, The preference is determined for the content corresponding to the switching instruction, wherein the preference analysis auxiliary data is obtained according to at least one of the data related to the switching operation and the user's face acting on the content, so that the preference analysis auxiliary data is obtained according to the data related to the switching operation. data, and then during the process of switching the content, the user can perform a switching operation on the content.
在示例性实施例中,还提供一种电子设备,包括:处理器和用于存储处理器可执行指令的存储器。其中,处理器被配置为执行指令,以实现上述任一示例性实施例提供的数据处理方法。In an exemplary embodiment, there is also provided an electronic device comprising: a processor and a memory for storing instructions executable by the processor. The processor is configured to execute the instructions to implement the data processing method provided by any of the foregoing exemplary embodiments.
在示例性实施例中,还提供了一种包括指令的存储介质,例如包括指令的存储器,上述指令可由电子设备的处理器执行以完成上述数据处理方法。可选地,存储介质可以是非临时性计算机可读存储介质,例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a storage medium including instructions, such as a memory including instructions, is also provided, and the instructions can be executed by a processor of an electronic device to complete the above data processing method. Alternatively, the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage equipment, etc.
在示例性实施例中,还提供一种计算机程序产品,当在电子设备上执行时,适于执行初始化有上述数据处理方法的步骤的程序。In an exemplary embodiment, there is also provided a computer program product, when executed on an electronic device, adapted to execute a program initialized with the steps of the data processing method described above.
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。All the embodiments of the present disclosure can be implemented independently or in combination with other embodiments, which are all regarded as the protection scope required by the present disclosure.
本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (22)

  1. 一种数据处理方法,包括:A data processing method comprising:
    在显示区域中显示内容;display content in the display area;
    获取用户在显示区域中针对内容作出的切换操作;Obtain the switching operation made by the user for the content in the display area;
    响应与所述切换操作对应的切换指令,获取与所述内容对应的喜好分析辅助数据,所述喜好分析辅助数据根据与所述切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到;In response to the switching instruction corresponding to the switching operation, the preference analysis auxiliary data corresponding to the content is obtained, and the preference analysis auxiliary data performs at least one of the actions on the content according to the data related to the switching operation and the user's face. a get;
    根据所述喜好分析辅助数据,对所述切换指令对应的内容进行喜好判定。According to the preference analysis auxiliary data, preference is determined for the content corresponding to the switching instruction.
  2. 根据权利要求1所述的方法,所述响应与所述切换操作对应的切换指令,获取与所述内容对应的喜好分析辅助数据包括:The method according to claim 1, wherein, in response to a switching instruction corresponding to the switching operation, acquiring auxiliary data of preference analysis corresponding to the content comprises:
    响应所述切换指令,获取所述切换操作在所述显示区域中的位置;In response to the switching instruction, obtain the position of the switching operation in the display area;
    根据所述切换操作在所述显示区域中的位置,得到所述喜好分析辅助数据。The preference analysis auxiliary data is obtained according to the position of the switching operation in the display area.
  3. 根据权利要求2所述的方法,所述根据所述切换操作在所述显示区域中的位置,得到所述喜好分析辅助数据包括:The method according to claim 2, wherein obtaining the preference analysis auxiliary data according to the position of the switching operation in the display area comprises:
    从所述显示区域中确定所述位置所属目标区域,将所述目标区域对应的喜好数据作为所述喜好分析辅助数据,所述显示区域划分成至少两个区域,所述至少两个区域中的至少一个区域表征用户喜欢内容,其他区域表征用户不喜欢内容,所述目标区域为所述至少两个区域中的一个区域。The target area to which the location belongs is determined from the display area, the preference data corresponding to the target area is used as the preference analysis auxiliary data, the display area is divided into at least two areas, and the at least two areas are At least one area indicates that the user likes the content, other areas indicate that the user does not like the content, and the target area is one of the at least two areas.
  4. 根据权利要求2所述的方法,所述根据切换操作在所述显示区域中的位置,得到所述喜好分析辅助数据包括:The method according to claim 2, wherein obtaining the preference analysis auxiliary data according to the position of the switching operation in the display area comprises:
    根据所述切换操作在所述显示区域中的位置,获取所述切换操作在所述显示区域中形成的移动轨迹,确定所述移动轨迹的弯曲方向,将所述弯曲方向对应的喜好数据作为喜好分析辅助数据。According to the position of the switching operation in the display area, the movement trajectory formed by the switching operation in the display area is obtained, the bending direction of the movement trajectory is determined, and the preference data corresponding to the bending direction is used as the preference Analyze secondary data.
  5. 根据权利要求2所述的方法,所述根据切换操作在所述显示区域中的位置,得到所述喜好分析辅助数据包括:The method according to claim 2, wherein obtaining the preference analysis auxiliary data according to the position of the switching operation in the display area comprises:
    根据所述切换操作在所述显示区域中的位置,获取所述切换操作在所述显示区域中形成的移动轨迹,根据所述移动轨迹确定所述切换操作划过的目标控件,根据所述目标控件的标识得到所述喜好分析辅助数据,所述显示区域中设置有至少两个控件,所述至少两个控件中的至少一个控件表征用户喜欢内容,其他控件表征用户不喜欢内容,所述目标控件为所述至少两个控件中的一个控件,所述至少两个控件位于显示区域的不同位置,且所述至少两个控件对用户不可见。According to the position of the switching operation in the display area, the movement track formed by the switching operation in the display area is obtained, and the target control that the switching operation has drawn is determined according to the movement track, and according to the target control The identification of the control obtains the preference analysis auxiliary data, at least two controls are provided in the display area, at least one of the at least two controls represents the content that the user likes, the other controls represent the content that the user does not like, and the target The control is one of the at least two controls, the at least two controls are located at different positions in the display area, and the at least two controls are invisible to the user.
  6. 根据权利要求2所述的方法,所述显示区域中表征用户喜欢内容的区域或控件标注有喜欢内容的理由,所述显示区域中表征用户不喜欢内容的区域或控件标注有不喜欢内容的理由。The method according to claim 2, wherein an area or control in the display area representing the content that the user likes is marked with the reason for liking the content, and the area or control in the display area representing the content that the user does not like is marked with the reason for disliking the content .
  7. 根据权利要求1所述的方法,所述响应与切换操作对应的切换指令,获取与所述内容对应的喜好分析辅助数据包括:The method according to claim 1, wherein in response to the switching instruction corresponding to the switching operation, acquiring the auxiliary data of preference analysis corresponding to the content comprises:
    响应所述切换指令,通过采集装置采集与用户相关的多媒体数据;In response to the switching instruction, collecting multimedia data related to the user through the collecting device;
    根据所述多媒体数据,得到用户特征数据,所述用户特征数据用于表征用户作出的特定动作和用户的情绪中的一种,所述用户的动作和所述用户的情绪中的一种用于表征用户对所述内容的喜好。According to the multimedia data, user feature data is obtained, the user feature data is used to represent one of a specific action made by the user and the user's emotion, and one of the user's action and the user's emotion is used for Characterize the user's preference for the content.
  8. 根据权利要求1至7中任意一项所述的方法,所述响应针对内容的切换指令,获取与所述内容对应的喜好分析辅助数据还包括:The method according to any one of claims 1 to 7, wherein, in response to a switching instruction for content, acquiring auxiliary data for preference analysis corresponding to the content further comprises:
    响应所述切换指令,获取在响应所述切换指令前所述内容的停留时长;In response to the switching instruction, obtain the staying time of the content before responding to the switching instruction;
    和/或and / or
    响应所述切换指令,从所述内容中提取表征所述内容的特征数据,确定历史内容中与所述特征数据匹配的历史特征数据,获取历史特征数据所属历史内容的喜好标签。In response to the switching instruction, feature data representing the content is extracted from the content, historical feature data matching the feature data in the historical content is determined, and a preference tag of the historical content to which the historical feature data belongs is obtained.
  9. 根据权利要求1至7中任意一项所述的方法,所述方法还包括:The method according to any one of claims 1 to 7, further comprising:
    响应所述切换指令,输出提示信息,所述提示信息用于提示用户喜欢当前切换的内容和提示用户不喜欢当前切换的内容中的一种。In response to the switching instruction, prompt information is output, where the prompt information is used to prompt the user to like one of the currently switched content and to prompt the user to dislike the currently switched content.
  10. 根据权利要求1至7中任意一项所述的方法,所述方法还包括:The method according to any one of claims 1 to 7, further comprising:
    根据所述切换指令对应的内容的喜好判定,对所述切换指令对应的内容进行喜好标签的标注。According to the preference determination of the content corresponding to the switching instruction, the content corresponding to the switching instruction is marked with a preference tag.
  11. 一种数据处理装置,包括:A data processing device, comprising:
    显示单元,被配置为执行在显示区域中显示内容;a display unit configured to perform displaying content in the display area;
    获取单元,被配置为执行获取用户在显示区域中针对内容作出的切换操作;an acquisition unit, configured to perform a switching operation made by the acquisition user for the content in the display area;
    响应单元,被配置为执行响应与所述切换操作对应的切换指令,获取与所述内容对应的喜好分析辅助数据,所述喜好分析辅助数据根据与所述切换操作相关的数据和用户的脸部针对内容作出动作中的至少一种得到;a response unit, configured to execute a switching instruction corresponding to the switching operation, and acquire preference analysis auxiliary data corresponding to the content, the preference analysis auxiliary data according to the data related to the switching operation and the user's face At least one of performing actions on the content obtains;
    处理单元,被配置为执行根据所述喜好分析辅助数据,对所述切换指令对应的内容进行喜好判定。The processing unit is configured to analyze the auxiliary data according to the preference, and perform preference determination on the content corresponding to the switching instruction.
  12. 根据权利要求11所述的装置,其中,所述响应单元包括:The apparatus of claim 11, wherein the response unit comprises:
    响应子单元,被配置为执行响应所述切换指令,获取所述切换操作在所述显示区域中的位置;A response subunit, configured to execute and respond to the switching instruction, to obtain the position of the switching operation in the display area;
    获得子单元,被配置为执行根据所述切换操作在所述显示区域中的位置,得到所述喜好分析辅助数据。The obtaining subunit is configured to execute the position in the display area according to the switching operation to obtain the preference analysis auxiliary data.
  13. 根据权利要求12所述的装置,其中,所述获得子单元,被配置为执行从所述显示区域中确定所述位置所属目标区域,将所述目标区域对应的喜好数据作为所述喜好分析辅助数据,所述显示区域划分成至少两个区域,所述至少两个区域中的至少一个区域表征用户喜欢内容,其他区域表征用户不喜欢内容,所述目标区域为所述至少两个区域中的一个区域。The apparatus according to claim 12, wherein the obtaining subunit is configured to perform determining a target area to which the position belongs from the display area, and use the preference data corresponding to the target area as the preference analysis aid Data, the display area is divided into at least two areas, at least one area in the at least two areas represents the content that the user likes, and the other areas represent the content that the user does not like, and the target area is one of the at least two areas. an area.
  14. 根据权利要求12所述的装置,其中,所述获得子单元,被配置为执行根据所述切换操作在所述显示区域中的位置,获取所述切换操作在所述显示区域中形成的移动轨迹,确定所述移动轨迹的弯曲方向,将所述弯曲方向对应的喜好数据作为喜好分析辅助数据。The apparatus according to claim 12, wherein the obtaining subunit is configured to obtain a movement track formed by the switching operation in the display area according to the position of the switching operation in the display area , determine the bending direction of the moving track, and use the preference data corresponding to the bending direction as the preference analysis auxiliary data.
  15. 根据权利要求12所述的装置,其中,所述获得子单元,被配置为执行根据所述切换操作在所述显示区域中的位置,获取所述切换操作在所述显示区域中形成的移动轨迹,根据所述移动轨迹确定所述切换操作划过的目标控件,根据所述目标控件的标识得到所述喜好分析辅助数据,所述显示区域中设置有至少两个控件,所述至少两个控件中的至少一个控件表征用户喜欢内容,其他控件表征用户不喜欢内容,所述目标控件为所述至少两个控件中的一个控件,所述至少两个控件位于显示区域的不同位置,且所述至少两个控件对用户不可见。The apparatus according to claim 12, wherein the obtaining subunit is configured to obtain a movement track formed by the switching operation in the display area according to the position of the switching operation in the display area , determining the target control that the switching operation has crossed according to the movement track, obtaining the preference analysis auxiliary data according to the identifier of the target control, and at least two controls are provided in the display area, and the at least two controls are At least one of the controls indicates that the user likes the content, the other controls indicate that the user does not like the content, the target control is one of the at least two controls, the at least two controls are located at different positions in the display area, and the At least two controls are invisible to the user.
  16. 根据权利要求12所述的装置,其中,所述显示区域中表征用户喜欢内容的区域或控件标注有喜欢内容的理由,所述显示区域中表征用户不喜欢内容的区域或控件标注有不喜欢内容的理由。The device according to claim 12, wherein an area or control in the display area representing the content that the user likes is marked with the reason for liking the content, and the area or control in the display area representing the content that the user does not like is marked with the disliked content reason.
  17. 根据权利要求11所述的装置,其中,所述响应单元,被配置为执行响应所述切换指令,通过采集装置采集与用户相关的多媒体数据;根据所述多媒体数据,得到用户特征数据,所述用户特征数据用于表征用户作出的特定动作和用户的情绪中的一种,所述用户的动作和所述用户的情绪中的一种用于表征用户对所述内容的喜好。The device according to claim 11, wherein the response unit is configured to execute the response to the switching instruction, and collect multimedia data related to the user through a collecting device; obtain user characteristic data according to the multimedia data, and the The user characteristic data is used to characterize one of a specific action made by the user and the user's emotion, and one of the user's action and the user's emotion is used to characterize the user's preference for the content.
  18. 根据权利要求11至17中任意一项所述的装置,其中,所述响应单元,还被配置为执行响应所述切换指令,获取在响应所述切换指令前所述内容的停留时长;The apparatus according to any one of claims 11 to 17, wherein the responding unit is further configured to execute responding to the switching instruction, and obtain the staying duration of the content before responding to the switching instruction;
    和/或and / or
    响应所述切换指令,从所述内容中提取表征所述内容的特征数据,确定历史内容中与所述特征数据匹配的历史特征数据,获取历史特征数据所属历史内容的喜好标签。In response to the switching instruction, feature data representing the content is extracted from the content, historical feature data matching the feature data in the historical content is determined, and a preference tag of the historical content to which the historical feature data belongs is obtained.
  19. 根据权利要求11至17中任意一项所述的装置,所述装置还包括:输出单元,被配置为执行响应所述切换指令,输出提示信息,所述提示信息用于提示用户喜欢当前切换的内容和提示用户不喜欢当前切换的内容中的一种。The apparatus according to any one of claims 11 to 17, the apparatus further comprising: an output unit configured to execute, in response to the switching instruction, output prompt information, where the prompt information is used to prompt the user to like the current switching One of content and prompting the user to dislike the content of the current switch.
  20. 根据权利要求11至17中任意一项所述的装置,所述装置还包括:标注单元,被配置为执行在完成所述显示区域中显示内容的切换后,根据所述切换指令对应的内容的喜好判定,对所述切换指令对应的内容进行喜好标签的标注。The device according to any one of claims 11 to 17, further comprising: a labeling unit configured to perform, after switching of the displayed content in the display area is completed, the content corresponding to the switching instruction according to the switching instruction. For preference determination, the content corresponding to the switching instruction is marked with a preference label.
  21. 一种电子设备,所述电子设备包括:处理器;An electronic device, the electronic device comprising: a processor;
    用于存储所述处理器可执行指令的存储器;memory for storing instructions executable by the processor;
    其中,所述处理器被配置为执行所述指令,以实现如权利要求1至10中任意一项所述的数据处理方法。Wherein, the processor is configured to execute the instructions to implement the data processing method according to any one of claims 1 to 10.
  22. 一种非易失性计算机可读存储介质,所述存储介质中存储有指令,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行如权利要求1至10中任意一项所述的数据处理方法。A non-volatile computer-readable storage medium, storing instructions in the storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can perform the execution as in claims 1 to 10 Any one of the data processing methods.
PCT/CN2021/104094 2020-08-10 2021-07-01 Data processing method and apparatus WO2022033228A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010795619.1 2020-08-10
CN202010795619.1A CN111897466A (en) 2020-08-10 2020-08-10 Data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022033228A1 true WO2022033228A1 (en) 2022-02-17

Family

ID=73246302

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/104094 WO2022033228A1 (en) 2020-08-10 2021-07-01 Data processing method and apparatus

Country Status (2)

Country Link
CN (1) CN111897466A (en)
WO (1) WO2022033228A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897466A (en) * 2020-08-10 2020-11-06 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN115278333B (en) * 2022-07-11 2024-05-31 上海连尚网络科技有限公司 Method, device, medium and program product for playing video

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150150032A1 (en) * 2013-11-27 2015-05-28 Sony Corporation Computer ecosystem with automatic "like" tagging
WO2017114287A1 (en) * 2015-12-29 2017-07-06 Huawei Technologies Co., Ltd. System and method for user-behavior based content recommendations
CN107562349A (en) * 2017-09-11 2018-01-09 广州酷狗计算机科技有限公司 A kind of method and apparatus for performing processing
CN109521938A (en) * 2018-11-26 2019-03-26 北京达佳互联信息技术有限公司 Determination method, apparatus, electronic equipment and the storage medium of data evaluation information
CN111107400A (en) * 2019-12-30 2020-05-05 深圳Tcl数字技术有限公司 Data collection method and device, smart television and computer readable storage medium
CN111897466A (en) * 2020-08-10 2020-11-06 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914243A (en) * 2013-01-08 2014-07-09 联想(北京)有限公司 Information processing method and electronic equipment
CN105389114A (en) * 2015-11-10 2016-03-09 北京新美互通科技有限公司 Content input method and device
CN105872763A (en) * 2015-12-09 2016-08-17 乐视网信息技术(北京)股份有限公司 Device control method and device
CN106658086B (en) * 2016-09-22 2020-05-19 广州华多网络科技有限公司 Live broadcast room switching method and device
CN109739414B (en) * 2018-12-29 2021-12-14 努比亚技术有限公司 Picture processing method, mobile terminal and computer readable storage medium
CN110889366A (en) * 2019-11-22 2020-03-17 成都市映潮科技股份有限公司 Method and system for judging user interest degree based on facial expression
CN111079016A (en) * 2019-12-17 2020-04-28 北京奇艺世纪科技有限公司 Short video recommendation method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150150032A1 (en) * 2013-11-27 2015-05-28 Sony Corporation Computer ecosystem with automatic "like" tagging
WO2017114287A1 (en) * 2015-12-29 2017-07-06 Huawei Technologies Co., Ltd. System and method for user-behavior based content recommendations
CN107562349A (en) * 2017-09-11 2018-01-09 广州酷狗计算机科技有限公司 A kind of method and apparatus for performing processing
CN109521938A (en) * 2018-11-26 2019-03-26 北京达佳互联信息技术有限公司 Determination method, apparatus, electronic equipment and the storage medium of data evaluation information
CN111107400A (en) * 2019-12-30 2020-05-05 深圳Tcl数字技术有限公司 Data collection method and device, smart television and computer readable storage medium
CN111897466A (en) * 2020-08-10 2020-11-06 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111897466A (en) 2020-11-06

Similar Documents

Publication Publication Date Title
US11191342B2 (en) Techniques for identifying skin color in images having uncontrolled lighting conditions
CN111310019B (en) Information recommendation method, information processing method, system and equipment
CN108319723B (en) Picture sharing method and device, terminal and storage medium
CN107818180B (en) Video association method, video display device and storage medium
TWI742300B (en) Method and system for interfacing with a user to facilitate an image search for a person-of-interest
US9176987B1 (en) Automatic face annotation method and system
CN106020448B (en) Man-machine interaction method and system based on intelligent terminal
US20210218696A1 (en) Method and device for commenting on multimedia resource
WO2022033228A1 (en) Data processing method and apparatus
JP6369470B2 (en) Information processing system
US20110117537A1 (en) Usage estimation device
CN113779381B (en) Resource recommendation method, device, electronic equipment and storage medium
US10650814B2 (en) Interactive question-answering apparatus and method thereof
US11126822B2 (en) Method and apparatus for obtaining painting
JP6334767B1 (en) Information processing apparatus, program, and information processing method
KR20130088493A (en) Method for providing user interface and video receving apparatus thereof
CN109286848B (en) Terminal video information interaction method and device and storage medium
JP2016200969A (en) Image processing apparatus, image processing method, and program
US20210182566A1 (en) Image pre-processing method, apparatus, and computer program
CN112464031A (en) Interaction method, interaction device, electronic equipment and storage medium
KR20220026470A (en) Method for extracting video clip, apparatus for extracting video clip, and storage medium
McDuff et al. Large-scale affective content analysis: Combining media content features and facial reactions
CN111353519A (en) User behavior recognition method and system, device with AR function and control method thereof
CN113869063A (en) Data recommendation method and device, electronic equipment and storage medium
KR100827848B1 (en) Method and system for recognizing person included in digital data and displaying image by using data acquired during visual telephone conversation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21855281

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.06.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21855281

Country of ref document: EP

Kind code of ref document: A1