WO2022088765A1 - Interaction processing method and computer device - Google Patents

Interaction processing method and computer device Download PDF

Info

Publication number
WO2022088765A1
WO2022088765A1 PCT/CN2021/106497 CN2021106497W WO2022088765A1 WO 2022088765 A1 WO2022088765 A1 WO 2022088765A1 CN 2021106497 W CN2021106497 W CN 2021106497W WO 2022088765 A1 WO2022088765 A1 WO 2022088765A1
Authority
WO
WIPO (PCT)
Prior art keywords
interaction
target
interface
interaction mode
video
Prior art date
Application number
PCT/CN2021/106497
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 WO2022088765A1 publication Critical patent/WO2022088765A1/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/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
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Definitions

  • the present disclosure relates to the field of computer technologies, and in particular, to an interaction processing method and computer device.
  • the terminal displays the application interface of the application program, and feedbacks the interactive operation on the application interface through the interface change, so as to realize the interface interaction.
  • the application is usually preset with an interaction mode.
  • the recommendation interface of the short video application is used to play a single short video, and the terminal responds to the operation of sliding up and plays the next short video in the recommendation interface.
  • an application program provides an interaction mode for all users of the application program.
  • Embodiments of the present disclosure provide an interaction processing method and a computer device, so as to improve the usability of human-computer interaction.
  • the technical solutions of the present disclosure are as follows:
  • an interaction processing method comprising:
  • determining a target interaction mode from a plurality of interaction modes the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
  • determining the target interaction mode from multiple interaction modes includes:
  • the interaction mode with the highest matching degree is determined as the target interaction mode.
  • the determining the degree of matching between each of the interaction modes and the at least one attribute information includes:
  • the weights of the attribute information corresponding to the same interaction mode are added to obtain the matching degree of the interaction mode and the at least one attribute information.
  • the acquiring at least one attribute information of the current login account includes:
  • the at least one attribute information from at least one of the geographical information, age information, gender information, channel information and device information,
  • the region information is used to indicate the region where the computer device displaying the target interface is located, the channel information is used to indicate the download channel of the application to which the target interface belongs, and the device information is used to indicate the display of the target interface.
  • the category of the computer device's operating system for the target interface is used to indicate the region where the computer device displaying the target interface is located.
  • the interaction processing method further includes:
  • the step of acquiring at least one attribute information of the current login account is performed in response to the current login account being the account for the first login.
  • the interaction processing method further includes:
  • the prompt interface including selection controls for the plurality of interaction modes
  • the step of acquiring at least one attribute information of the currently logged-in account is performed in response to not detecting a selection operation on the plurality of interactive mode selection controls.
  • the interaction processing method further includes:
  • the selected interaction mode is determined as the target interaction mode.
  • the displaying a prompt interface includes:
  • a demonstration animation of the multiple interaction modes is also displayed in the prompt interface, and each interaction mode in the multiple interaction modes is also displayed in the prompt interface.
  • the demonstration animation is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
  • the interaction processing method further includes:
  • the target interface is a video playback interface
  • the target interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface
  • the interaction processing method further includes:
  • the target interaction mode is replaced with the first interaction mode
  • the target playback event is used to indicate that the playback duration of a single video in the video playback interface is less than the duration threshold
  • the first interaction mode is used to indicate that in response to a click operation on the video in the video list interface, play all the videos. A video of what the click action will do.
  • the target interface is a video list interface
  • the target interaction mode is used to indicate that in response to a click operation on a video in the video list interface, the video acted by the click operation is played;
  • the interaction processing method further includes:
  • the target interaction mode is replaced by the second interaction mode
  • the proportion is the ratio of the first number to the second number
  • the first number is the number of videos acted on by the click operation in the video list interface
  • the second number is the videos in the video list interface
  • the second interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface.
  • an interaction processing apparatus comprising:
  • an acquisition unit configured to perform acquisition of at least one attribute information of the current login account, where the attribute information is used to represent the attribute of the user to which the current login account belongs;
  • the determining unit is configured to determine a target interaction mode from a plurality of interaction modes, the target interaction mode is matched with the at least one attribute information and is used to indicate the response mode of the target interaction operation, the target interaction operation is related to the target interaction mode. corresponding to the way in which the target interacts;
  • a response unit configured to perform, in response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
  • the determining unit includes:
  • a first determining subunit configured to perform determining the degree of matching of each of the interaction modes with the at least one attribute information
  • the second determining subunit is configured to perform determining the interaction mode with the highest matching degree as the target interaction mode.
  • the first determining subunit is configured to perform:
  • the weights of the attribute information corresponding to the same interaction mode are added to obtain the matching degree of the interaction mode and the at least one attribute information.
  • the acquiring unit is configured to acquire at least one of the region information, age information, gender information, channel information and device information of the currently logged in account, and convert the region information, age information, At least one of gender information, channel information and device information constitutes the at least one attribute information,
  • the region information is used to indicate the region where the computer device displaying the target interface is located, the channel information is used to indicate the download channel of the application to which the target interface belongs, and the device information is used to indicate the display of the target interface.
  • the category of the computer device's operating system for the target interface is used to indicate the region where the computer device displaying the target interface is located.
  • the obtaining unit is configured to obtain at least one attribute information of the current login account in response to the current login account being an account for the first login.
  • the interaction processing apparatus further includes:
  • a display unit configured to display a prompt interface, the prompt interface including the selection controls for the plurality of interaction modes
  • the obtaining unit is configured to obtain at least one attribute information of the currently logged-in account in response to not detecting a selection operation on the selection controls of the plurality of interaction modes.
  • the determining unit is further configured to perform a selection operation on an interaction mode selection control in the prompt interface, and determine the selected interaction mode as the target interaction mode.
  • the display unit is configured to perform, in addition to displaying the selection controls of the plurality of interaction modes in the prompt interface, a presentation of the plurality of interaction modes in the prompt interface Animation, the demonstration animation of each interaction mode in the multiple interaction modes is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
  • the interaction processing apparatus further includes:
  • a storage unit configured to execute and store the corresponding relationship between the current login account and the target interaction mode
  • the determining unit is further configured to perform, in response to a re-login operation based on the current login account, determining the target interaction mode based on the stored correspondence;
  • the response unit is further configured to perform, in response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
  • the target interface is a video playback interface
  • the target interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface
  • the interaction processing device further includes:
  • a first replacement unit configured to replace the target interaction mode with the first interaction mode when the occurrence frequency of the target playback event is greater than the frequency threshold
  • the target playback event is used to indicate that the playback duration of a single video in the video playback interface is less than the duration threshold
  • the first interaction mode is used to indicate that in response to a click operation on the video in the video list interface, play all the videos. A video of what the click action will do.
  • the target interface is a video list interface
  • the target interaction mode is used to indicate that in response to a click operation on a video in the video list interface, the video acted by the click operation is played;
  • the interaction processing device further includes:
  • the second replacement unit is configured to replace the target interaction mode with the second interaction mode when the proportion of the clicked video in the video list interface is greater than the proportion threshold
  • the proportion is the ratio of the first number to the second number
  • the first number is the number of videos acted on by the click operation in the video list interface
  • the second number is the videos in the video list interface
  • the second interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface.
  • a computer device comprising: one or more processors; memory for storing instructions executable by the processors; wherein the processors are configured To execute the instructions, to achieve the following steps:
  • determining a target interaction mode from a plurality of interaction modes the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
  • the processor is configured to execute the instructions to implement the steps of:
  • the interaction mode with the highest matching degree is determined as the target interaction mode.
  • the processor is configured to execute the instructions to implement the steps of:
  • the weights of the attribute information corresponding to the same interaction mode are added to obtain the matching degree of the interaction mode and the at least one attribute information.
  • the processor is configured to execute the instructions to implement the steps of:
  • the at least one attribute information from at least one of the geographical information, age information, gender information, channel information and device information,
  • the region information is used to indicate the region where the computer device displaying the target interface is located, the channel information is used to indicate the download channel of the application to which the target interface belongs, and the device information is used to indicate the display of the target interface.
  • the category of the computer device's operating system for the target interface is used to indicate the region where the computer device displaying the target interface is located.
  • the processor is configured to execute the instructions to implement the steps of:
  • At least one attribute information of the current login account is acquired.
  • the processor is configured to execute the instructions to implement the steps of:
  • the prompt interface including selection controls for the plurality of interaction modes
  • the processor is configured to execute the instructions to implement the steps of:
  • the selected interaction mode is determined as the target interaction mode.
  • the processor is configured to execute the instructions to implement the steps of:
  • a demonstration animation of the multiple interaction modes is also displayed in the prompt interface, and each interaction mode in the multiple interaction modes is also displayed in the prompt interface.
  • the demonstration animation is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
  • the processor is configured to execute the instructions to implement the steps of:
  • the target interface is a video playback interface
  • the target interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface
  • the processor is configured to execute the instructions to implement the steps of:
  • the target interaction mode is replaced with the first interaction mode
  • the target playback event is used to indicate that the playback duration of a single video in the video playback interface is less than the duration threshold
  • the first interaction mode is used to indicate that in response to a click operation on the video in the video list interface, play all the videos. A video of what the click action will do.
  • the processor is configured to execute the instructions to implement the steps of:
  • the target interaction mode is replaced by the second interaction mode
  • the proportion is the ratio of the first number to the second number
  • the first number is the number of videos acted on by the click operation in the video list interface
  • the second number is the videos in the video list interface
  • the second interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface.
  • a storage medium when the instructions in the storage medium are executed by a processor of a computer device, the computer device is caused to perform the following steps:
  • determining a target interaction mode from a plurality of interaction modes the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
  • a computer program product comprising a computer program/instruction, the computer program/instruction, when executed by a processor, implements the following steps:
  • determining a target interaction mode from a plurality of interaction modes the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
  • At least one attribute information of different accounts is used to reflect the interaction habits of different users, and then a target interaction mode that conforms to the user's interaction habits is determined from the provided multiple interaction modes. Perform interactive operations in response to meet the user's interactive needs and improve the usability of human-computer interaction.
  • FIG. 1 is a schematic diagram of an implementation environment according to an exemplary embodiment
  • FIG. 2 is a flowchart of an interaction processing method according to an exemplary embodiment
  • FIG. 3 is a flowchart of an interaction processing method according to an exemplary embodiment
  • FIG. 4 is a flowchart of an interaction processing method according to an exemplary embodiment
  • FIG. 5 is a block diagram of an interaction processing apparatus according to an exemplary embodiment
  • FIG. 6 is a block diagram of a terminal according to an exemplary embodiment.
  • Fig. 7 is a block diagram of a server according to an exemplary embodiment.
  • the terms “at least one”, “plurality”, “each”, at least one includes one, two or more, multiple includes two or more, and each refers to the corresponding each of the multiple.
  • the user information involved in this disclosure is the information authorized by the user or fully authorized by all parties.
  • FIG. 1 is a schematic diagram illustrating an implementation environment according to an exemplary embodiment.
  • the implementation environment includes a terminal 110, and the interaction processing method provided by the embodiment of the present disclosure is executed by the terminal 110.
  • the terminal 110 is a smartphone, tablet, smart watch, laptop or laptop, or the like.
  • various types of applications such as video viewing applications, audio playing applications, etc., are installed and run on the terminal 110 .
  • video viewing applications include short video applications, and users can perform corresponding interactive operations on the application interface of the short video application to watch the next short video, watch live broadcasts, or view other short videos by the author of the short video.
  • the terminal 110 generally refers to one of multiple terminals, and the embodiments of the present disclosure only use the terminal 110 as an example for illustration. Those skilled in the art know that the number of the above-mentioned terminals can be more or less. For example, the above-mentioned terminals are only a few, or the above-mentioned terminals are dozens or hundreds, or more, and the embodiments of the present disclosure do not limit the number of terminals and device types.
  • the implementation environment includes terminal 110 and server 120 .
  • the interaction processing method provided by the embodiment of the present disclosure is implemented through interaction between the terminal 110 and the server 120 .
  • the server 120 is a background server of an application program on the terminal, and provides background services for the application program.
  • the server 120 and the terminal 110 are directly or indirectly connected through wired or wireless communication.
  • the server 120 is a server, multiple servers, a cloud server, a cloud computing platform, or a virtualization center. The number of the foregoing servers may be larger or smaller, which is not limited in this embodiment of the present disclosure.
  • the server 120 also includes other functional servers in order to provide more comprehensive and diversified services.
  • the interaction processing method provided by the embodiments of the present disclosure is executed by a computer device.
  • the above implementation environment is described by taking the computer device including a terminal as an example.
  • the computer device is an interactive robot, a self-service ordering machine, or other interactive devices. The embodiment does not limit this.
  • Fig. 2 is a flowchart of an interaction processing method according to an exemplary embodiment. Referring to FIG. 2 , the interaction processing method is applied to a terminal, and includes the following steps.
  • step S201 the terminal acquires at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs.
  • the current login account is used to represent the user using the terminal.
  • the user can log in the user's account on the terminal, so that the terminal can provide the user with a more complete service.
  • the relevant information of the user can be saved with the account as an identifier for easy query and application.
  • the terminal acquires attribute information used to represent user attributes, and based on the analysis of the attribute information, recommends an interaction mode for the user that meets the interaction requirements of the user.
  • step S202 the terminal determines a target interaction mode from a plurality of interaction modes, the target interaction mode matches at least one attribute information and is used to indicate a response mode of the target interaction operation, and the target interaction operation corresponds to the target interaction mode.
  • Terminals offer several ways of interacting. For example, for a short video application, the terminal provides two interaction modes. One interaction mode is used to indicate that the video in the video playback interface is switched in response to a sliding operation on the video playback interface; Click operation of a video in the video list interface, and play the video effected by the click operation.
  • the terminal provides two interactive modes, one interactive mode is used to indicate that the lyrics are displayed in response to the operation of sliding to the left on the song playing interface; the other interactive mode is used to indicate that the song playing interface is responsive to Click on the button to display the lyrics.
  • the terminal infers the user's preferred interaction mode, and automatically sets a target interaction mode for the user that meets the user's interaction requirements.
  • step S203 in response to detecting the target interaction operation on the target interface, the terminal responds to the target interaction operation based on the target interaction mode.
  • the target interface is an interface that supports the target interaction method.
  • the target interface in response to a click operation on a video in the video list interface, the interaction method of playing the video effected by the click operation, the target interface is the video list interface, and the target interaction operation is a click operation.
  • the target interaction operation in response to the terminal detecting a click operation on the video list interface, and based on the target interaction mode corresponding to the click operation, play the video effected by the click operation.
  • the technical solutions provided by the embodiments of the present disclosure reflect the interaction habits of different users through at least one attribute information of different accounts, and then determine a target interaction mode that conforms to the user's interaction habits from the provided multiple interaction modes.
  • the interactive mode responds to the interactive operations performed by the user on the target interface to meet the user's interactive needs and improve the usability of human-computer interaction.
  • Fig. 3 is a flowchart of an interaction processing method according to an exemplary embodiment. The flow is described by taking the interaction between the terminal and the server as an example. Referring to FIG. 3 , the interaction processing method includes the following steps.
  • step S301 the terminal acquires at least one attribute information of the current login account, and the attribute information is used to indicate the attribute of the user to which the current login account belongs.
  • the at least one attribute information includes at least one of location information, age information, gender information, channel information, and device information.
  • the region information is used to indicate the region where the terminal is located, for example, the region information is Beijing, Wuhan, Shanghai, and the like.
  • the interaction mode in the embodiment of the present disclosure refers to the interaction mode of the operating system of the terminal; or, the interaction mode in the embodiment of the present disclosure refers to the interaction mode of the application program on the terminal. In the embodiments of the present disclosure, the interaction mode refers to the interaction mode of the application on the terminal as an example for description.
  • the above channel information is used to indicate the download channel of the application, for example, the download channel is an official application download platform provided by the terminal manufacturer or an application download platform provided by a third party.
  • the above device information is used to indicate the type of the operating system of the terminal, for example, the operating system of the terminal is Android (Android, an open source mobile operating system) or iOS (iPhone Operation System, a mobile operating system).
  • attribute information such as geographical information, age information, gender information, channel information, and device information can reflect the user's interaction habits to a certain extent, based on the at least one attribute information above, it is possible to determine the interaction method that meets the user's interaction needs. , to provide the user with a personalized interaction method and improve the usability of human-computer interaction.
  • the attribute information involved in the embodiments of the present disclosure is collected and processed after being authorized by the user.
  • the terminal has the acquisition and processing authority of attribute information, and the acquisition and processing authority of attribute information is authorized by the user.
  • the terminal when the user uses the application for the first time, the terminal prompts the user to complete attribute information such as age information, gender information, and location information.
  • the user can fill in attribute information such as age information, gender information, and location information in the attribute editing interface, and the terminal acquires and saves the attribute information input in the attribute editing interface.
  • the terminal can acquire gender information and age information based on the stored attribute information. For example, in the case where the gender information included in the stored attribute information is female, the terminal acquires from the stored attribute information that the gender information is female.
  • the terminal prompts the user to complete the attribute information including birthday information but not age information.
  • the terminal can acquire and save the birthday information input by the user, and determine the age information based on the birthday information and the current time. For example, when the birthday information included in the stored attribute information is January 1, 2000 and the current time is January 1, 2020, the terminal determines that the age information is 20 based on the birthday information and the current time.
  • the terminal includes a positioning component, and the terminal can locate the region information of the terminal through the positioning component, and store it in the location information buffer.
  • the terminal runs an application program, and in the case that the application program has the location acquisition authority, the terminal acquires regional information from the location information buffer.
  • the terminal in the case that the stored attribute information includes regional information, the terminal directly acquires the regional information in the attribute information.
  • the program file generated after the application program is installed includes the channel information of the application program, and the terminal obtains the channel information of the application program from the program file of the application program.
  • the terminal locally stores device information. The terminal runs an application, and in the case that the application has the right to acquire device information, the terminal acquires the locally stored device information.
  • the terminal when the user uses the application program for the first time, the terminal provides the user with an interaction mode that meets the user's interaction requirements by using the interaction processing method provided by the embodiments of the present disclosure.
  • the terminal When a user opens an application for the first time, it is usually necessary to register an account and input attribute information through the attribute editing interface, so that the background server of the application can provide the user with a more complete service based on the user's account.
  • the terminal performs the step of acquiring at least one attribute information of the current login account in response to the current login account being the account for the first login.
  • the above technical solution based on the attribute information of the new user, makes personalized recommendation of the interaction mode for the new user, so as to meet the interaction requirements of the new user, make the interaction mode conform to the interaction habits of the new user, improve the usability of human-computer interaction, and reduce the number of new users.
  • User churn increases user retention rate.
  • the terminal in the case that the current login account is not the account for the first login, the terminal obtains the historical interaction mode corresponding to the current login account, and based on the historical interaction mode, responds to the detected interaction operation, and does not perform step S301. Go to step S305.
  • step S302 the terminal sends an acquisition request to the server, where the acquisition request is used to request acquisition of a target interaction mode matching at least one attribute information.
  • the get request carries at least one attribute information.
  • the terminal sends an acquisition request to the server to acquire the target interaction mode that meets the interaction requirements of the user.
  • step S303 the server receives the acquisition request, and determines a target interaction mode from a plurality of interaction modes, and the target interaction mode matches at least one attribute information.
  • the target interaction mode is used to indicate the response mode of the target interaction operation, and the target interaction operation corresponds to the interaction mode.
  • the target interaction mode is used to indicate that the video in the video playback interface is switched in response to a sliding operation on the video playback interface, and the target interaction operation includes an upward sliding operation on the video playback interface and a downward sliding operation on the video playback interface
  • the response mode indicated by the target interaction mode includes: playing the next video in response to the upward sliding operation on the video playing interface; playing the previous video in response to the downward sliding operation on the video playing interface.
  • the server determines the degree of matching between each interaction mode and at least one attribute information; and determines the interaction mode with the highest matching degree as the target interaction mode.
  • the user by determining the interaction mode with the highest degree of matching with the user's attribute information as the target interaction mode, the user is provided with an interaction mode that conforms to the user's interaction habits, so as to satisfy the user's interaction needs as much as possible and improve the usability of human-computer interaction.
  • the step of the server determining the degree of matching between each interaction mode and the at least one attribute information includes: the server determining the interaction mode corresponding to each attribute information; the server acquiring the weight of each attribute information in the at least one attribute information, and the weight is used to represent the attribute The importance of the information for determining the corresponding interaction mode; and the server adds the weights of the attribute information corresponding to the same interaction mode to obtain the matching degree between the interaction mode and at least one attribute information.
  • the at least one attribute information includes region information, age information, gender information, channel information and device information.
  • the geographic information is city A; the age information is 50; the gender information is male; the channel information is channel a; and the device information is Android.
  • the weight of geographical information is 0.2; the weight of age information is 0.3; the weight of gender information is 0.2; the weight of channel information is 0.2; the weight of equipment information is 0.1.
  • the interaction method corresponding to city A is the second interaction method; the interaction method corresponding to age information between 40 and 60 is the second interaction method; the interaction method corresponding to gender information male is the first interaction method; the interaction method corresponding to channel a is the second interaction mode; the interaction mode corresponding to the device information Android is the first interaction mode.
  • the matching degree of the first interaction mode is 0.3; the matching degree of the second interaction mode is 0.7, and the terminal determines the second interaction mode as the target interaction mode.
  • attribute information is given a certain weight, so that attribute information that reflects the user's interaction habits with higher accuracy has a higher weight, and then the weights of attribute information corresponding to the same interaction mode are added to obtain the interaction mode and at least the attribute information.
  • a matching degree of attribute information can improve the accuracy of the matching degree, and then the interaction mode determined based on the matching degree can meet the user's interaction requirements and improve the usability of human-computer interaction.
  • the server stores the corresponding relationship between the attribute information and the interaction mode, and the server can determine the interaction mode corresponding to each attribute information according to the stored corresponding relationship between the attribute information and the interaction mode.
  • the server Before storing the corresponding relationship between the attribute information and the interaction mode, the server also determines the interaction mode corresponding to each attribute information based on historical interaction data of multiple accounts.
  • the step that the server determines the interaction mode corresponding to each attribute information based on the historical interaction data of the multiple accounts includes: the server determines, based on the historical interaction data of the multiple accounts with any one of the same attribute information, the number of accounts to which each interaction mode is applied ; Determine the interaction mode with the largest number of corresponding accounts as the interaction mode corresponding to the attribute information.
  • the number of accounts whose geographic information is city A is 10 million
  • the terminal provides a first interaction method and a second interaction method.
  • the number of accounts using the first interaction method is 2 million
  • the second interaction method is applied If the number of accounts in the interaction mode is 8 million, the interaction mode corresponding to the geographic information city A is the second interaction mode.
  • the server can also determine the interaction mode corresponding to the attribute information in other ways based on the historical interaction data of multiple accounts, which is not limited in this embodiment of the present disclosure.
  • the server predicts the target interaction mode matching the at least one attribute information through the interaction mode prediction model.
  • the step of the server determining the target interaction mode from the plurality of interaction modes includes: the server inputs at least one attribute information into the interaction mode prediction model to obtain the target interaction mode.
  • the interactive mode prediction model is obtained by training based on the machine learning method.
  • the server uses at least one attribute information of the sample account and the interaction mode applied to the sample account as training samples, and trains the interaction mode prediction model, so that the interaction mode prediction model has the ability to predict the interaction mode based on the attribute information.
  • the server after the server determines the target interaction mode from multiple interaction modes, the server also stores the corresponding relationship between the current login account and the target interaction mode, so that when the current login account is re-logged in, it can be directly based on the corresponding relationship. relationship, determine the target interaction mode. That is, in response to the re-login operation based on the current login account, the server determines the target interaction mode corresponding to the current login account based on the stored correspondence.
  • the current login account and the target interaction mode are also stored correspondingly, so that when the account is re-logged in, the target interaction corresponding to the account can be determined directly based on the stored correspondence.
  • the method improves the determination efficiency of the target interaction mode, reduces the computing resources consumed by re-determining the target interaction mode, and improves the resource utilization rate.
  • step S304 the server returns the target interaction mode to the terminal.
  • the server returns the determined target interaction mode to the terminal.
  • the above steps 302 to 304 are used for description by taking an example of an interaction manner in which a terminal acquires a target through interaction with a server.
  • the terminal can also locally execute the step of determining the interaction mode with the target from multiple interaction modes, and the process of determining the target interaction mode by the terminal from the multiple interaction modes and the server determine the process from the multiple interaction modes The same is true for the interaction method of outgoing targets, which will not be repeated here.
  • step S305 the terminal receives the target interaction mode, and responds to the target interaction operation based on the target interaction mode in response to the terminal detecting the target interaction operation on the target interface.
  • the target interface can support the implementation of the target interaction mode.
  • the target interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface.
  • the target interface is a video playing interface, and the video playing interface is used to play a single video.
  • the sliding operation is responded to based on the target interaction mode corresponding to the sliding operation, that is, in response to the terminal detecting the sliding operation on the target interface, the video playback interface is The video played on the screen is switched to another video.
  • the target interaction mode is used to instruct, in response to a click operation on a video in the video list interface, to play the video effected by the click operation.
  • the target interface is a video list interface.
  • the video list interface is used to display the cover of the video in two columns.
  • the video affected by the click operation is played in full screen.
  • the technical solutions provided by the embodiments of the present disclosure reflect the interaction habits of different users through at least one attribute information of different accounts, and then determine a target interaction mode that conforms to the user's interaction habits from the provided multiple interaction modes.
  • the interactive mode responds to the interactive operations performed by the user on the target interface to meet the user's interactive needs and improve the usability of human-computer interaction.
  • the terminal in the process of providing the user with the interactive service in the target interaction mode, can also adjust the target interaction mode based on the user's interaction data, so as to provide the user with an interaction mode suitable for the user.
  • the target interface is a video playback interface
  • the target interaction mode is used to instruct to switch videos in the video playback interface in response to a sliding operation on the video playback interface.
  • the step of adjusting the target interaction mode by the terminal includes: when the occurrence frequency of the target playback event is greater than the frequency threshold, the terminal replaces the target interaction mode with the first interaction mode; wherein, the target playback event is used to indicate that in the video playback interface
  • the playback duration of a single video is less than the duration threshold
  • the first interaction mode is used to instruct, in response to a click operation on the video in the video list interface, to play the video acted by the click operation.
  • the duration threshold is set based on the total duration of a single video. For example, the total duration of a single video is 11 seconds, and the duration threshold can be set to 2 seconds or 3 seconds.
  • the frequency threshold is a preset value between 0 and 1, for example, the frequency threshold is 0.8 or 0.9.
  • the terminal switches to the first interactive mode to provide interactive services for the user.
  • the total duration of a single video is 11 seconds
  • the duration threshold is 2 seconds
  • the frequency threshold is 0.8. If the playback duration of 80 videos is less than 2 seconds among the 100 videos viewed by the user, it indicates that the user is used to fast Switching the video in the video playback interface, it is more suitable for the user to quickly understand the interaction mode of the video information by viewing the cover of the video in the video list interface.
  • the interaction mode is changed. Converted to the interactive mode of playing the video acted by the click operation in response to the click operation on the video in the video list interface, so that the user can quickly understand the video information through the cover of the video in the video list interface, and then decide whether to click the cover to watch it
  • it is not necessary to switch videos through frequent sliding operations and understand the general information of the video which improves the efficiency of human-computer interaction, thereby further improving the usability of human-computer interaction.
  • the target interface is a video list interface
  • the target interaction mode is used to indicate that in response to a click operation on a video in the video list interface, the video acted by the click operation is played; accordingly, the step of adjusting the target interaction mode by the terminal includes: : The terminal responds that the proportion of the clicked video in the video list interface is greater than the proportion threshold, and replaces the target interaction mode with the second interaction mode; wherein, the proportion is the ratio of the first quantity to the second quantity, and the first quantity is The number of videos acted on by the click operation in the video list interface, the second number is the total number of videos in the video list interface, and the second interaction mode is used to indicate that the video in the video play interface is switched in response to the sliding operation on the video play interface .
  • the specific gravity threshold is a preset value between 0 and 1, for example, the specific gravity threshold is 0.8 or 0.9.
  • the terminal switches to the second interaction mode to provide the user with interactive services. For example, if the proportion threshold is 0.8, if the terminal recommends 100 videos for the user through the video list interface, and the user has watched at least 80 videos out of the above 100 videos through the click operation, it indicates that the user is accustomed to watching videos Most of the videos in the list interface, then switching videos by swiping operation is more suitable for this user.
  • the terminal before determining the target interaction mode through the above steps S301 to S304, the terminal also supports the user to independently select one of the multiple interaction modes as the target interaction mode. In the case where the user selects the interaction mode, the terminal responds to the user's interaction operation based on the target interaction mode selected by the user through the same process as step S305.
  • the terminal determines the target interaction mode through the above steps S301 to S304, that is, the terminal executes the acquisition of the current login account in response to not detecting the selection operation of the selection controls for multiple interaction modes of at least one attribute information step.
  • the process in which the terminal supports the user to independently select one of the multiple interaction modes as the target interaction mode includes the following steps S401 to S402 .
  • step S401 the terminal displays a prompt interface, where the prompt interface includes a plurality of interactive mode selection controls.
  • each interaction mode corresponds to a selection control.
  • the prompt interface includes an interaction introduction for each interaction mode and selection controls for each interaction mode.
  • the interaction method is to play the video effected by the click operation in response to the click operation on the video in the video list interface, and the interaction introduction of this interaction method is "double-column cover display"; the interaction method is to respond to the slide on the video playback interface. Operation, switch the video in the video playback interface, the interaction introduction of this interaction mode is "single-column up and down display", and the interaction introduction of the interaction mode is displayed in parallel with the selection controls of the interaction mode, so that users can view and select.
  • the selection control is a control in the form of a button.
  • the prompt interface further includes demonstration animations of multiple interaction modes.
  • step S401 includes: in addition to displaying the selection controls of multiple interaction modes in the prompt interface, displaying multiple interaction modes in the prompt interface The demonstration animation of each interaction mode in the multiple interaction modes is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
  • the terminal displays the demonstration animation in the prompt interface to vividly and intuitively display the interaction process of the interaction mode, which is convenient for users to understand, and can improve the human-machine efficiency when the user selects the interaction mode, thereby further improving the user experience.
  • step S402 the terminal determines the selected interaction mode as the target interaction mode in response to the selection operation on the selection control of the interaction mode in the prompt interface.
  • the terminal determines the interaction mode selected by the user as the target interaction mode, and responds to the interaction operation detected on the target interface based on the target interaction mode.
  • the interaction mode independently selected by the user is used as the target interaction mode, so as to provide interactive services for the user based on the interaction mode independently selected by the user, so that the interaction mode can meet the interaction needs of the user, thereby improving the usability of human-computer interaction.
  • the terminal after determining the target interaction mode, the terminal also sends a mode storage request to the server, where the mode storage request is used to request to store the corresponding relationship between the account and the target interaction mode, and the mode storage request carries the current login account and the target interaction mode , where the current login account is the account logged in by the terminal.
  • the server receives the mode storage request of the terminal, and stores the corresponding relationship between the current login account and the target interaction mode, so that when the account is re-logged in, it can directly determine the target interaction mode corresponding to the account based on the stored corresponding relationship, improving the The efficiency of determining the target interaction mode is reduced, the computing resources consumed by redetermining the target interaction mode are reduced, and the resource utilization rate is improved.
  • FIG. 5 is a block diagram of an interaction processing apparatus 500 according to an exemplary embodiment.
  • the apparatus 500 includes an acquisition unit 501 , a determination unit 502 and a response unit 503 .
  • the obtaining unit 501 is configured to obtain at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs.
  • the determining unit 502 is configured to determine a target interaction mode from a plurality of interaction modes, the target interaction mode is matched with at least one attribute information and is used to indicate a response mode of the target interaction operation, and the target interaction mode is an interaction operation corresponding to the target interaction mode .
  • the response unit 503 is configured to, in response to detecting the target interaction operation on the target interface, respond to the target interaction operation based on the target interaction manner.
  • the technical solutions provided by the embodiments of the present disclosure reflect the interaction habits of different users through at least one attribute information of different accounts, and then determine a target interaction mode that conforms to the user's interaction habits from the provided multiple interaction modes.
  • the interactive mode responds to the user's interactive operation on the target interface to meet the user's interactive needs and improve the usability of human-computer interaction.
  • the determining unit 502 includes: a first determining subunit configured to determine the degree of matching between each interaction mode and at least one attribute information, and a second determining subunit configured to determine the matching degree of the highest matching degree The interaction mode is determined as the target interaction mode.
  • the first determination subunit is configured to: determine an interaction mode corresponding to each attribute information, and obtain a weight of each attribute information in at least one attribute information, where the weight is used to indicate that the attribute information is used to determine the corresponding interaction The importance of the mode is added, and the weights of the attribute information corresponding to the same interaction mode are added to obtain the matching degree of the interaction mode and at least one attribute information.
  • the obtaining unit 501 is configured to obtain at least one of the region information, age information, gender information, channel information and device information of the currently logged-in account; and at least one of the device information constitute at least one attribute information.
  • the region information is used to indicate the region where the computer device displaying the target interface is located, the channel information is used to indicate the download channel of the application program to which the target interface belongs, and the device information is used to indicate the type of the operating system of the computer device displaying the target interface.
  • the obtaining unit 501 is configured to obtain at least one attribute information of the current login account in response to the current login account being an account for the first login.
  • the interaction processing apparatus 500 further includes: a display unit configured to display a prompt interface, where the prompt interface includes a plurality of interactive mode selection controls.
  • the obtaining unit 501 is further configured to obtain at least one attribute information of the current account in response to not detecting a selection operation on the selection controls of the plurality of interaction modes.
  • the determining unit 502 is further configured to determine the selected interaction mode as the target interaction mode in response to a selection operation on the selection control of the interaction mode in the prompt interface.
  • the display unit is further configured to, in addition to displaying the selection controls of the plurality of interaction modes in the prompt interface, also display the demonstration animations of the plurality of interaction modes in the prompt interface, each interaction in the plurality of interaction modes.
  • the demonstration animation of the mode is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
  • the interaction processing apparatus 500 further includes: a storage unit configured to store the corresponding relationship between the current login account and the target interaction mode.
  • the determining unit 502 is further configured to, in response to the re-login operation based on the current login account, and based on the stored correspondence, determine the target interaction mode; and the response unit 503 is further configured to respond to detecting the target interaction operation on the target interface, Based on the target interaction mode, the target interaction operation is responded to.
  • the target interface is a video playing interface
  • the target interaction mode is used to instruct to switch the video in the video playing interface in response to a sliding operation on the video playing interface.
  • the interaction processing apparatus 500 further includes: a first replacement unit, configured to replace the target interaction mode with the first interaction mode when the occurrence frequency of the target playback event is greater than the frequency threshold; wherein, the target playback event is used to represent a video The playback duration of a single video in the playback interface is less than the duration threshold, and the first interaction mode is used to instruct to play the video acted by the click operation in response to the click operation on the video in the video list interface.
  • a first replacement unit configured to replace the target interaction mode with the first interaction mode when the occurrence frequency of the target playback event is greater than the frequency threshold
  • the target playback event is used to represent a video
  • the playback duration of a single video in the playback interface is less than the duration threshold
  • the first interaction mode is used to instruct to play the video acted by the click operation in response to the click operation on the video in the video list interface.
  • the target interface is a video list interface
  • the target interaction mode is used to instruct, in response to a click operation on a video in the video list interface, to play the video acted by the click operation.
  • the interaction processing apparatus 500 further includes: a second replacement unit, configured to replace the target interaction mode with the second interaction mode when the proportion of the clicked video in the video list interface is greater than the proportion threshold; wherein the proportion of is the ratio of the first number to the second number, the first number is the number of videos acted on by the click operation in the video list interface, the second number is the total number of videos in the video list interface, and the second interaction mode is used to indicate the response to The sliding operation on the video playback interface switches the video in the video playback interface.
  • a second replacement unit configured to replace the target interaction mode with the second interaction mode when the proportion of the clicked video in the video list interface is greater than the proportion threshold; wherein the proportion of is the ratio of the first number to the second number, the first number is the number of videos acted on by the click operation in the video list interface, the second number is the total number of videos in the video list interface, and the second interaction mode is used to indicate the response to The sliding operation on the video playback interface switches the video in the video playback interface.
  • the computer device may be configured as at least one of a terminal and a server.
  • the terminal is used as the main body to implement the technical solutions provided by the embodiments of the present disclosure.
  • the server is used as the main body to implement the technical solutions provided by the embodiments of the present disclosure.
  • the technical solution provided by the present disclosure is implemented through the interaction between the terminal and the server, which is not limited in this embodiment of the present disclosure.
  • the steps of acquiring attribute information, displaying the target interface, detecting the target interactive operation based on the target interface, and responding to the target interactive operation based on the target interaction method are performed by the terminal, and the target is determined based on the attribute information.
  • the steps of the interactive mode are performed by the server.
  • FIG. 6 is a block diagram of a terminal 600 according to an exemplary embodiment.
  • the terminal 600 may be a smart phone, a tablet computer, a smart watch, or a laptop computer.
  • the terminal 600 may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal, and the like by other names.
  • the terminal 600 includes: a processor 601 and a memory 602 .
  • the processor 601 includes one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 601 is implemented by at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), and PLA (Programmable Logic Array, programmable logic array).
  • the processor 601 includes a main processor and a co-processor, and the main processor is a processor for processing data in a wake-up state, also referred to as a CPU (Central Processing Unit, central processing unit);
  • a coprocessor is a low-power processor for processing data in a standby state.
  • the processor 601 is integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
  • the processor 601 includes an AI (Artificial Intelligence, artificial intelligence) processor for processing computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • Memory 602 includes one or more computer-readable storage media that are non-transitory. Memory 602 also includes high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, a non-transitory computer-readable storage medium in the memory 602 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 601 to implement the interactive processing provided by the method embodiments of the present disclosure method.
  • the terminal 600 may further include: a peripheral device interface 603 and at least one peripheral device.
  • the processor 601, the memory 602 and the peripheral device interface 603 are connected through a bus or a signal line.
  • Each peripheral device is connected to the peripheral device interface 603 through a bus, a signal line or a circuit board.
  • the peripheral device includes at least one of a radio frequency circuit 604 , a display screen 605 , a camera assembly 606 , an audio circuit 607 , a positioning assembly 608 and a power supply 609 .
  • the peripheral device interface 603 can be used to connect at least one peripheral device related to I/O (Input/Output, input/output) to the processor 601 and the memory 602 .
  • processor 601, memory 602, and peripherals interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 601, memory 602, and peripherals interface 603 or The two can be implemented on a separate chip or circuit board, which is not limited by the embodiments of the present disclosure.
  • the radio frequency circuit 604 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 604 communicates with the communication network and other communication devices via electromagnetic signals.
  • the radio frequency circuit 604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.
  • the radio frequency circuit 604 communicates with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.
  • the radio frequency circuit 604 further includes a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in the present disclosure.
  • the display screen 605 is used for displaying UI (User Interface, user interface).
  • the UI includes graphics, text, icons, video, and any combination thereof.
  • display screen 605 is a touch display screen
  • display screen 605 also has the ability to acquire touch signals on or above the surface of display screen 605 .
  • the touch signal is input to the processor 601 as a control signal for processing.
  • the display screen 605 is also used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • the display screen 605 there is one display screen 605, which is arranged on the front panel of the terminal 600; in other embodiments, there are at least two display screens 605, which are respectively arranged on different surfaces of the terminal 600 or in a folded design; In some embodiments, the display screen 605 is a flexible display screen disposed on a curved or folded surface of the terminal 600 . Even, the display screen 605 is set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 605 is made of materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).
  • the camera assembly 606 is used to capture images or video.
  • camera assembly 606 includes a front-facing camera and a rear-facing camera.
  • the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal.
  • there are at least two rear cameras which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions.
  • camera assembly 606 includes a flash.
  • the flash is a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which is used for light compensation under different color temperatures.
  • Audio circuit 607 includes a microphone and a speaker.
  • the microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals and input them to the processor 601 for processing, or to the radio frequency circuit 604 to realize voice communication.
  • the microphones are array microphones or omnidirectional collection microphones.
  • the speaker is used to convert the electrical signal from the processor 601 or the radio frequency circuit 604 into sound waves.
  • the loudspeaker is a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker.
  • the loudspeaker is a piezoelectric ceramic loudspeaker
  • the loudspeaker can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as distance measurement.
  • the audio circuit 607 also includes a headphone jack.
  • the positioning component 608 is used to locate the regional information of the terminal 600 to implement navigation or LBS (Location Based Service).
  • the positioning component 608 is a positioning component based on the GPS (Global Positioning System, global positioning system) of the United States, the Beidou system of China or the Galileo system of Russia.
  • the power supply 609 is used to power various components in the terminal 600 .
  • the power source 609 is alternating current, direct current, a primary battery or a rechargeable battery.
  • the rechargeable battery is a wired rechargeable battery or a wireless rechargeable battery.
  • Wired rechargeable batteries are batteries that are charged through wired lines
  • wireless rechargeable batteries are batteries that are charged through wireless coils.
  • the rechargeable battery is also used to support fast charging technology.
  • terminal 600 also includes one or more sensors 610 .
  • the one or more sensors 610 include, but are not limited to, an acceleration sensor 611 , a gyro sensor 612 , a pressure sensor 613 , a fingerprint sensor 614 , an optical sensor 615 and a proximity sensor 616 .
  • the acceleration sensor 611 is used to detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 600 .
  • the acceleration sensor 611 is used to detect the components of the gravitational acceleration on the three coordinate axes.
  • the processor 601 controls the display screen 605 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 611 .
  • the acceleration sensor 611 is also used for game or user movement data collection.
  • the gyroscope sensor 612 detects the body direction and rotation angle of the terminal 600 , and the gyroscope sensor 612 cooperates with the acceleration sensor 611 to collect 3D actions of the user on the terminal 600 .
  • the processor 601 implements the following functions according to the data collected by the gyroscope sensor 612 : motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • the pressure sensor 613 is disposed on the side frame of the terminal 600 and/or the lower layer of the display screen 605 .
  • the pressure sensor 613 detects the user's holding signal of the terminal 600 , and the processor 601 performs left and right hand recognition or shortcut operations according to the holding signal collected by the pressure sensor 613 .
  • the processor 601 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 605.
  • the operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
  • the fingerprint sensor 614 is used to collect the user's fingerprint, and the processor 601 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 614, or the fingerprint sensor 614 identifies the user's identity according to the collected fingerprint. In the case that the identity of the user is identified as a trusted identity, the processor 601 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings.
  • the fingerprint sensor 614 is provided on the front, back or side of the terminal 600 . In the case where the terminal 600 is provided with a physical button or a manufacturer's logo, the fingerprint sensor 614 is integrated with the physical button or the manufacturer's logo.
  • Optical sensor 615 is used to collect ambient light intensity.
  • the processor 601 controls the display brightness of the display screen 605 according to the ambient light intensity collected by the optical sensor 615 . In some embodiments, when the ambient light intensity is high, the display brightness of the display screen 605 is increased; when the ambient light intensity is low, the display brightness of the display screen 605 is decreased. In another embodiment, the processor 601 dynamically adjusts the shooting parameters of the camera assembly 606 according to the ambient light intensity collected by the optical sensor 615 .
  • a proximity sensor 616 also called a distance sensor, is usually provided on the front panel of the terminal 600 .
  • the proximity sensor 616 is used to collect the distance between the user and the front of the terminal 600 .
  • the processor 601 controls the display screen 605 to switch from the bright screen state to the off screen state; 616
  • the processor 601 controls the display screen 605 to switch from the screen-off state to the screen-on state.
  • FIG. 6 does not constitute a limitation on the terminal 600, for example, it includes more or less components than the one shown, or combines some components, or adopts different component arrangements.
  • FIG. 7 is a block diagram of a server according to an exemplary embodiment.
  • the server 700 may vary greatly due to different configurations or performance, including one or more processing A processor (Central Processing Units, CPU) 701 and one or more memories 702, wherein the memory 702 is used to store executable instructions, and the processor 701 is configured to execute the above executable instructions, so as to implement the above-mentioned various method embodiments.
  • Interactive processing method the server also has components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server also includes other components for implementing device functions, which are not described here.
  • a storage medium including instructions such as a memory 702 including instructions, is also provided, and the above-mentioned instructions can be executed by the processor 701 of the server 700 to complete the above-mentioned interactive processing method.
  • the storage medium is a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium is ROM (Read-Only Memory, read only memory), RAM (Random Access Memory, random access memory) ), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk and optical data storage devices, etc.
  • a computer program product is also provided, when the instructions in the computer program product are executed by the processor of the computer device, the computer device can execute the interactive processing method in each of the above method embodiments.

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

An interaction processing method and a computer device, relating to the technical field of computer technologies. The method comprises: acquiring at least one piece of property information of a current login account, the property information representing the property of a user which the current login account belongs to; determining a target interaction mode from multiple interaction modes, the target interaction mode matching the at least once piece of property information and indicating a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; and in response to detecting the target interaction operation on a target interface, responding to the target interaction operation based on the target interaction mode.

Description

交互处理方法及计算机设备Interactive processing method and computer device
本公开基于申请号为202011157026.9、申请日为2020年10月26日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。The present disclosure is based on a Chinese patent application with application number 202011157026.9 and an application date of October 26, 2020, and claims the priority of the Chinese patent application, the entire contents of which are incorporated herein by reference.
技术领域technical field
本公开涉及计算机技术领域,尤其涉及一种交互处理方法及计算机设备。The present disclosure relates to the field of computer technologies, and in particular, to an interaction processing method and computer device.
背景技术Background technique
当前,终端对应用程序的应用界面进行显示,通过界面变化来反馈应用界面上的交互操作,实现界面交互。应用程序通常预设有一种交互方式,例如,短视频应用程序的推荐界面用于播放单个短视频,终端响应于向上滑动的操作,在推荐界面中播放下一个短视频。Currently, the terminal displays the application interface of the application program, and feedbacks the interactive operation on the application interface through the interface change, so as to realize the interface interaction. The application is usually preset with an interaction mode. For example, the recommendation interface of the short video application is used to play a single short video, and the terminal responds to the operation of sliding up and plays the next short video in the recommendation interface.
上述方案中,一个应用程序面向该应用程序的全部用户提供一种交互方式。In the above solution, an application program provides an interaction mode for all users of the application program.
发明内容SUMMARY OF THE INVENTION
本公开实施例提供了一种交互处理方法及计算机设备,以提高人机交互的可用性。本公开的技术方案如下:Embodiments of the present disclosure provide an interaction processing method and a computer device, so as to improve the usability of human-computer interaction. The technical solutions of the present disclosure are as follows:
根据本公开的一方面,提供了一种交互处理方法,所述方法包括:According to an aspect of the present disclosure, an interaction processing method is provided, the method comprising:
获取当前登录账号的至少一个属性信息,所述属性信息用于表示所述当前登录账号所属用户的属性;Obtain at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs;
从多个交互方式中确定出目标交互方式,所述目标交互方式与所述至少一个属性信息匹配并且用于指示目标交互操作的响应方式,所述目标交互操作与所述目标交互方式相对应;以及determining a target interaction mode from a plurality of interaction modes, the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
响应于在目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
在一些实施例中,所述从多个交互方式中确定出目标交互方式,包括:In some embodiments, determining the target interaction mode from multiple interaction modes includes:
确定每个所述交互方式与所述至少一个属性信息的匹配度;以及determining a degree of matching of each of the interaction modes with the at least one attribute information; and
将匹配度最高的交互方式确定为所述目标交互方式。The interaction mode with the highest matching degree is determined as the target interaction mode.
在一些实施例中,所述确定每个所述交互方式与所述至少一个属性信息的匹配度,包括:In some embodiments, the determining the degree of matching between each of the interaction modes and the at least one attribute information includes:
确定每个所述属性信息对应的交互方式;determining the interaction mode corresponding to each of the attribute information;
获取所述至少一个属性信息中每个所述属性信息的权重,所述权重用于表示所述属性信息对于确定所述对应的交互方式的重要程度;以及obtaining a weight of each of the attribute information in the at least one attribute information, where the weight is used to indicate the importance of the attribute information for determining the corresponding interaction mode; and
将对应于同一个交互方式的属性信息的权重相加,得到所述交互方式与所述至少一个属性信息的匹配度。The weights of the attribute information corresponding to the same interaction mode are added to obtain the matching degree of the interaction mode and the at least one attribute information.
在一些实施例中,所述获取当前登录账号的至少一个属性信息,包括:In some embodiments, the acquiring at least one attribute information of the current login account includes:
获取所述当前登录账号的地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个;Obtain at least one of the geographical information, age information, gender information, channel information and device information of the current login account;
将所述地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个组成所述至少一个属性信息,forming the at least one attribute information from at least one of the geographical information, age information, gender information, channel information and device information,
其中,所述地域信息用于表示显示所述目标界面的计算机设备所在的地域,所述渠道信息用于表示所述目标界面所属的应用程序的下载渠道,所述设备信息用于表示显示所述目标界面的计算机设备的操作系统的类别。The region information is used to indicate the region where the computer device displaying the target interface is located, the channel information is used to indicate the download channel of the application to which the target interface belongs, and the device information is used to indicate the display of the target interface. The category of the computer device's operating system for the target interface.
在一些实施例中,所述交互处理方法还包括:In some embodiments, the interaction processing method further includes:
响应于所述当前登录账号为首次登录的账号,执行所述获取当前登录账号的至少一个属性信息的步骤。The step of acquiring at least one attribute information of the current login account is performed in response to the current login account being the account for the first login.
在一些实施例中,所述交互处理方法还包括:In some embodiments, the interaction processing method further includes:
显示提示界面,所述提示界面包括所述多个交互方式的选择控件;以及displaying a prompt interface, the prompt interface including selection controls for the plurality of interaction modes; and
响应于未检测到对所述多个交互方式的选择控件的选中操作,执行所述获取当前登录账号的至少一个属性信息的步骤。The step of acquiring at least one attribute information of the currently logged-in account is performed in response to not detecting a selection operation on the plurality of interactive mode selection controls.
在一些实施例中,所述交互处理方法还包括:In some embodiments, the interaction processing method further includes:
响应于对所述提示界面中的交互方式的选择控件的选中操作,将被选中的所述交互方式确定为所述目标交互方式。In response to the selection operation on the selection control of the interaction mode in the prompt interface, the selected interaction mode is determined as the target interaction mode.
在一些实施例中,所述显示提示界面,包括:In some embodiments, the displaying a prompt interface includes:
除了在所述提示界面中显示所述多个交互方式的选择控件之外,还在所述提示界面中显示所述多个交互方式的演示动画,所述多个交互方式中的每个交互方式的演示动画用于展示基于所述交互方式,对所述交互方式对应的交互操 作进行响应的过程。In addition to displaying the selection controls of the multiple interaction modes in the prompt interface, a demonstration animation of the multiple interaction modes is also displayed in the prompt interface, and each interaction mode in the multiple interaction modes is also displayed in the prompt interface. The demonstration animation is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
在一些实施例中,所述交互处理方法还包括:In some embodiments, the interaction processing method further includes:
存储所述当前登录账号与所述目标交互方式的对应关系;storing the corresponding relationship between the current login account and the target interaction mode;
响应于基于所述当前登录账号的重新登录操作,基于已存储的所述对应关系,确定所述目标交互方式;以及determining the target interaction mode based on the stored correspondence in response to a re-login operation based on the current login account; and
响应于在所述目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
在一些实施例中,所述目标界面为视频播放界面,所述目标交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频;并且In some embodiments, the target interface is a video playback interface, and the target interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface; and
所述交互处理方法还包括:The interaction processing method further includes:
在目标播放事件的发生频率大于频率阈值的情况下,将所述目标交互方式替换为第一交互方式,In the case that the occurrence frequency of the target playback event is greater than the frequency threshold, the target interaction mode is replaced with the first interaction mode,
其中,所述目标播放事件用于表示所述视频播放界面中单个视频的播放时长小于时长阈值,所述第一交互方式用于指示响应于对所述视频列表界面中视频的点击操作,播放所述点击操作所作用的视频。Wherein, the target playback event is used to indicate that the playback duration of a single video in the video playback interface is less than the duration threshold, and the first interaction mode is used to indicate that in response to a click operation on the video in the video list interface, play all the videos. A video of what the click action will do.
在一些实施例中,所述目标界面为视频列表界面,所述目标交互方式用于指示响应于对所述视频列表界面中视频的点击操作,播放所述点击操作所作用的视频;并且In some embodiments, the target interface is a video list interface, and the target interaction mode is used to indicate that in response to a click operation on a video in the video list interface, the video acted by the click operation is played; and
所述交互处理方法还包括:The interaction processing method further includes:
在所述视频列表界面中被点击的视频所占的比重大于比重阈值的情况下,将所述目标交互方式替换为第二交互方式,In the case where the proportion of the clicked video in the video list interface is greater than the proportion threshold, the target interaction mode is replaced by the second interaction mode,
其中,所述比重为第一数量与第二数量的比值,所述第一数量为所述视频列表界面中点击操作所作用的视频的数量,所述第二数量为所述视频列表界面中视频的总数量,所述第二交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频。Wherein, the proportion is the ratio of the first number to the second number, the first number is the number of videos acted on by the click operation in the video list interface, and the second number is the videos in the video list interface The second interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface.
根据本公开的另一方面,提供了一种交互处理装置,所述装置包括:According to another aspect of the present disclosure, an interaction processing apparatus is provided, the apparatus comprising:
获取单元,被配置为执行获取当前登录账号的至少一个属性信息,所述属性信息用于表示所述当前登录账号所属用户的属性;an acquisition unit, configured to perform acquisition of at least one attribute information of the current login account, where the attribute information is used to represent the attribute of the user to which the current login account belongs;
确定单元,被配置为执行从多个交互方式中确定出目标交互方式,所述目 标交互方式与所述至少一个属性信息匹配并且用于指示目标交互操作的响应方式,所述目标交互操作与所述目标交互方式相对应;以及The determining unit is configured to determine a target interaction mode from a plurality of interaction modes, the target interaction mode is matched with the at least one attribute information and is used to indicate the response mode of the target interaction operation, the target interaction operation is related to the target interaction mode. corresponding to the way in which the target interacts; and
响应单元,被配置为执行响应于在目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。A response unit configured to perform, in response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
在一种实现方式中,所述确定单元,包括:In an implementation manner, the determining unit includes:
第一确定子单元,被配置为执行确定每个所述交互方式与所述至少一个属性信息的匹配度;以及a first determining subunit configured to perform determining the degree of matching of each of the interaction modes with the at least one attribute information; and
第二确定子单元,被配置为执行将匹配度最高的交互方式确定为所述目标交互方式。The second determining subunit is configured to perform determining the interaction mode with the highest matching degree as the target interaction mode.
在一些实施例中,所述第一确定子单元,被配置为执行:In some embodiments, the first determining subunit is configured to perform:
确定每个所述属性信息对应的交互方式;determining the interaction mode corresponding to each of the attribute information;
获取所述至少一个属性信息中每个所述属性信息的权重,所述权重用于表示所述属性信息对于确定所述对应的交互方式的重要程度;以及obtaining a weight of each of the attribute information in the at least one attribute information, where the weight is used to indicate the importance of the attribute information for determining the corresponding interaction mode; and
将对应于同一个交互方式的属性信息的权重相加,得到所述交互方式与所述至少一个属性信息的匹配度。The weights of the attribute information corresponding to the same interaction mode are added to obtain the matching degree of the interaction mode and the at least one attribute information.
在一些实施例中,所述获取单元,被配置为执行获取所述当前登录账号的地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个,将所述地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个组成所述至少一个属性信息,In some embodiments, the acquiring unit is configured to acquire at least one of the region information, age information, gender information, channel information and device information of the currently logged in account, and convert the region information, age information, At least one of gender information, channel information and device information constitutes the at least one attribute information,
其中,所述地域信息用于表示显示所述目标界面的计算机设备所在的地域,所述渠道信息用于表示所述目标界面所属的应用程序的下载渠道,所述设备信息用于表示显示所述目标界面的计算机设备的操作系统的类别。The region information is used to indicate the region where the computer device displaying the target interface is located, the channel information is used to indicate the download channel of the application to which the target interface belongs, and the device information is used to indicate the display of the target interface. The category of the computer device's operating system for the target interface.
在一些实施例中,所述获取单元,被配置为执行响应于所述当前登录账号为首次登录的账号,获取当前登录账号的至少一个属性信息。In some embodiments, the obtaining unit is configured to obtain at least one attribute information of the current login account in response to the current login account being an account for the first login.
在一些实施例中,所述交互处理装置还包括:In some embodiments, the interaction processing apparatus further includes:
显示单元,被配置为执行显示提示界面,所述提示界面包括所述多个交互方式的选择控件;a display unit configured to display a prompt interface, the prompt interface including the selection controls for the plurality of interaction modes;
所述获取单元,被配置为执行响应于未检测到对所述多个交互方式的选择控件的选中操作,获取当前登录账号的至少一个属性信息。The obtaining unit is configured to obtain at least one attribute information of the currently logged-in account in response to not detecting a selection operation on the selection controls of the plurality of interaction modes.
在一些实施例中,所述确定单元,还被配置为执行响应于对所述提示界面 中的交互方式的选择控件的选中操作,将被选中的所述交互方式确定为所述目标交互方式。In some embodiments, the determining unit is further configured to perform a selection operation on an interaction mode selection control in the prompt interface, and determine the selected interaction mode as the target interaction mode.
在一些实施例中,所述显示单元,被配置为执行除了在所述提示界面中显示所述多个交互方式的选择控件以外,还在所述提示界面中显示所述多个交互方式的演示动画,所述多个交互方式中的每个交互方式的演示动画用于展示基于所述交互方式,对所述交互方式对应的交互操作进行响应的过程。In some embodiments, the display unit is configured to perform, in addition to displaying the selection controls of the plurality of interaction modes in the prompt interface, a presentation of the plurality of interaction modes in the prompt interface Animation, the demonstration animation of each interaction mode in the multiple interaction modes is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
在一些实施例中,所述交互处理装置还包括:In some embodiments, the interaction processing apparatus further includes:
存储单元,被配置为执行存储所述当前登录账号与所述目标交互方式的对应关系;a storage unit, configured to execute and store the corresponding relationship between the current login account and the target interaction mode;
所述确定单元,还被配置为执行响应于基于所述当前登录账号的重新登录操作,基于已存储的所述对应关系,确定所述目标交互方式;以及The determining unit is further configured to perform, in response to a re-login operation based on the current login account, determining the target interaction mode based on the stored correspondence; and
所述响应单元,还被配置为执行响应于在所述目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。The response unit is further configured to perform, in response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
在一些实施例中,所述目标界面为视频播放界面,所述目标交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频;并且In some embodiments, the target interface is a video playback interface, and the target interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface; and
所述交互处理装置还包括:The interaction processing device further includes:
第一替换单元,被配置为执行在目标播放事件的发生频率大于频率阈值的情况下,将所述目标交互方式替换为第一交互方式,a first replacement unit, configured to replace the target interaction mode with the first interaction mode when the occurrence frequency of the target playback event is greater than the frequency threshold,
其中,所述目标播放事件用于表示所述视频播放界面中单个视频的播放时长小于时长阈值,所述第一交互方式用于指示响应于对所述视频列表界面中视频的点击操作,播放所述点击操作所作用的视频。Wherein, the target playback event is used to indicate that the playback duration of a single video in the video playback interface is less than the duration threshold, and the first interaction mode is used to indicate that in response to a click operation on the video in the video list interface, play all the videos. A video of what the click action will do.
在一些实施例中,所述目标界面为视频列表界面,所述目标交互方式用于指示响应于对所述视频列表界面中视频的点击操作,播放所述点击操作所作用的视频;并且,In some embodiments, the target interface is a video list interface, and the target interaction mode is used to indicate that in response to a click operation on a video in the video list interface, the video acted by the click operation is played; and,
所述交互处理装置还包括:The interaction processing device further includes:
第二替换单元,被配置为执行在所述视频列表界面中被点击的视频所占的比重大于比重阈值的情况下,将所述目标交互方式替换为第二交互方式,The second replacement unit is configured to replace the target interaction mode with the second interaction mode when the proportion of the clicked video in the video list interface is greater than the proportion threshold,
其中,所述比重为第一数量与第二数量的比值,所述第一数量为所述视频列表界面中点击操作所作用的视频的数量,所述第二数量为所述视频列表界面 中视频的总数量,所述第二交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频。Wherein, the proportion is the ratio of the first number to the second number, the first number is the number of videos acted on by the click operation in the video list interface, and the second number is the videos in the video list interface The second interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface.
根据本公开的另一方面,提供了一种计算机设备,所述计算机设备包括:一个或多个处理器;用于存储所述处理器可执行的指令的存储器;其中,所述处理器被配置为执行所述指令,以实现如下步骤:According to another aspect of the present disclosure, there is provided a computer device comprising: one or more processors; memory for storing instructions executable by the processors; wherein the processors are configured To execute the instructions, to achieve the following steps:
获取当前登录账号的至少一个属性信息,所述属性信息用于表示所述当前登录账号所属用户的属性;Obtain at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs;
从多个交互方式中确定出目标交互方式,所述目标交互方式与所述至少一个属性信息匹配并且用于指示目标交互操作的响应方式,所述目标交互操作与所述目标交互方式相对应;以及determining a target interaction mode from a plurality of interaction modes, the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
响应于在目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
在一些实施例中,所述处理器被配置为执行所述指令,以实现如下步骤:In some embodiments, the processor is configured to execute the instructions to implement the steps of:
确定每个所述交互方式与所述至少一个属性信息的匹配度;以及determining a degree of matching of each of the interaction modes with the at least one attribute information; and
将匹配度最高的交互方式确定为所述目标交互方式。The interaction mode with the highest matching degree is determined as the target interaction mode.
在一些实施例中,所述处理器被配置为执行所述指令,以实现如下步骤:In some embodiments, the processor is configured to execute the instructions to implement the steps of:
确定每个所述属性信息对应的交互方式;determining the interaction mode corresponding to each of the attribute information;
获取所述至少一个属性信息中每个所述属性信息的权重,所述权重用于表示所述属性信息对于确定所述对应的交互方式的重要程度;以及obtaining a weight of each of the attribute information in the at least one attribute information, where the weight is used to indicate the importance of the attribute information for determining the corresponding interaction mode; and
将对应于同一个交互方式的属性信息的权重相加,得到所述交互方式与所述至少一个属性信息的匹配度。The weights of the attribute information corresponding to the same interaction mode are added to obtain the matching degree of the interaction mode and the at least one attribute information.
在一些实施例中,所述处理器被配置为执行所述指令,以实现如下步骤:In some embodiments, the processor is configured to execute the instructions to implement the steps of:
获取所述当前登录账号的地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个;Obtain at least one of the geographical information, age information, gender information, channel information and device information of the current login account;
将所述地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个组成所述至少一个属性信息,forming the at least one attribute information from at least one of the geographical information, age information, gender information, channel information and device information,
其中,所述地域信息用于表示显示所述目标界面的计算机设备所在的地域,所述渠道信息用于表示所述目标界面所属的应用程序的下载渠道,所述设备信息用于表示显示所述目标界面的计算机设备的操作系统的类别。The region information is used to indicate the region where the computer device displaying the target interface is located, the channel information is used to indicate the download channel of the application to which the target interface belongs, and the device information is used to indicate the display of the target interface. The category of the computer device's operating system for the target interface.
在一些实施例中,所述处理器被配置为执行所述指令,以实现如下步骤:In some embodiments, the processor is configured to execute the instructions to implement the steps of:
响应于所述当前登录账号为首次登录的账号,获取当前登录账号的至少一个属性信息。In response to the current login account being an account for the first login, at least one attribute information of the current login account is acquired.
在一些实施例中,所述处理器被配置为执行所述指令,以实现如下步骤:In some embodiments, the processor is configured to execute the instructions to implement the steps of:
显示提示界面,所述提示界面包括所述多个交互方式的选择控件;以及displaying a prompt interface, the prompt interface including selection controls for the plurality of interaction modes; and
响应于未检测到对所述多个交互方式的选择控件的选中操作,获取当前登录账号的至少一个属性信息。Acquire at least one attribute information of the currently logged-in account in response to not detecting a selection operation on the plurality of interactive mode selection controls.
在一些实施例中,所述处理器被配置为执行所述指令,以实现如下步骤:In some embodiments, the processor is configured to execute the instructions to implement the steps of:
响应于对所述提示界面中的交互方式的选择控件的选中操作,将被选中的所述交互方式确定为所述目标交互方式。In response to the selection operation on the selection control of the interaction mode in the prompt interface, the selected interaction mode is determined as the target interaction mode.
在一些实施例中,所述处理器被配置为执行所述指令,以实现如下步骤:In some embodiments, the processor is configured to execute the instructions to implement the steps of:
除了在所述提示界面中显示所述多个交互方式的选择控件之外,还在所述提示界面中显示所述多个交互方式的演示动画,所述多个交互方式中的每个交互方式的演示动画用于展示基于所述交互方式,对所述交互方式对应的交互操作进行响应的过程。In addition to displaying the selection controls of the multiple interaction modes in the prompt interface, a demonstration animation of the multiple interaction modes is also displayed in the prompt interface, and each interaction mode in the multiple interaction modes is also displayed in the prompt interface. The demonstration animation is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
在一些实施例中,所述处理器被配置为执行所述指令,以实现如下步骤:In some embodiments, the processor is configured to execute the instructions to implement the steps of:
存储所述当前登录账号与所述目标交互方式的对应关系;storing the corresponding relationship between the current login account and the target interaction mode;
响应于基于所述当前登录账号的重新登录操作,基于已存储的所述对应关系,确定所述目标交互方式;以及determining the target interaction mode based on the stored correspondence in response to a re-login operation based on the current login account; and
响应于在所述目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
在一些实施例中,所述目标界面为视频播放界面,所述目标交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频;并且In some embodiments, the target interface is a video playback interface, and the target interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface; and
所述处理器被配置为执行所述指令,以实现如下步骤:The processor is configured to execute the instructions to implement the steps of:
在目标播放事件的发生频率大于频率阈值的情况下,将所述目标交互方式替换为第一交互方式,In the case that the occurrence frequency of the target playback event is greater than the frequency threshold, the target interaction mode is replaced with the first interaction mode,
其中,所述目标播放事件用于表示所述视频播放界面中单个视频的播放时长小于时长阈值,所述第一交互方式用于指示响应于对所述视频列表界面中视频的点击操作,播放所述点击操作所作用的视频。Wherein, the target playback event is used to indicate that the playback duration of a single video in the video playback interface is less than the duration threshold, and the first interaction mode is used to indicate that in response to a click operation on the video in the video list interface, play all the videos. A video of what the click action will do.
在一些实施例中,所述目标界面为视频列表界面,所述目标交互方式用于 指示响应于对所述视频列表界面中视频的点击操作,播放所述点击操作所作用的视频;并且and
所述处理器被配置为执行所述指令,以实现如下步骤:The processor is configured to execute the instructions to implement the steps of:
在所述视频列表界面中被点击的视频所占的比重大于比重阈值的情况下,将所述目标交互方式替换为第二交互方式,In the case where the proportion of the clicked video in the video list interface is greater than the proportion threshold, the target interaction mode is replaced by the second interaction mode,
其中,所述比重为第一数量与第二数量的比值,所述第一数量为所述视频列表界面中点击操作所作用的视频的数量,所述第二数量为所述视频列表界面中视频的总数量,所述第二交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频。Wherein, the proportion is the ratio of the first number to the second number, the first number is the number of videos acted on by the click operation in the video list interface, and the second number is the videos in the video list interface The second interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface.
根据本公开的另一方面,提供了一种存储介质,当所述存储介质中的指令由计算机设备的处理器执行时,使得所述计算机设备执行如下步骤:According to another aspect of the present disclosure, a storage medium is provided, when the instructions in the storage medium are executed by a processor of a computer device, the computer device is caused to perform the following steps:
获取当前登录账号的至少一个属性信息,所述属性信息用于表示所述当前登录账号所属用户的属性;Obtain at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs;
从多个交互方式中确定出目标交互方式,所述目标交互方式与所述至少一个属性信息匹配并且用于指示目标交互操作的响应方式,所述目标交互操作与所述目标交互方式相对应;以及determining a target interaction mode from a plurality of interaction modes, the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
响应于在目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
根据本公开的另一方面,提供了一种计算机程序产品,包括计算机程序/指令,所述计算机程序/指令被处理器执行时实现如下步骤:According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program/instruction, the computer program/instruction, when executed by a processor, implements the following steps:
获取当前登录账号的至少一个属性信息,所述属性信息用于表示所述当前登录账号所属用户的属性;Obtain at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs;
从多个交互方式中确定出目标交互方式,所述目标交互方式与所述至少一个属性信息匹配并且用于指示目标交互操作的响应方式,所述目标交互操作与所述目标交互方式相对应;以及determining a target interaction mode from a plurality of interaction modes, the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
响应于在目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
通过不同账号的至少一个属性信息,来反映不同用户的交互习惯,进而从所提供的多个交互方式中,确定出符合用户交互习惯的目标交互方式,按照目标交互方式,对用户在目标界面上执行的交互操作进行响应,以满足用户的交 互需求,提高人机交互的可用性。At least one attribute information of different accounts is used to reflect the interaction habits of different users, and then a target interaction mode that conforms to the user's interaction habits is determined from the provided multiple interaction modes. Perform interactive operations in response to meet the user's interactive needs and improve the usability of human-computer interaction.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。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是根据一示例性实施例示出的一种实施环境的示意图;FIG. 1 is a schematic diagram of an implementation environment according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种交互处理方法的流程图;FIG. 2 is a flowchart of an interaction processing method according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种交互处理方法的流程图;FIG. 3 is a flowchart of an interaction processing method according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种交互处理方法的流程图;FIG. 4 is a flowchart of an interaction processing method according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种交互处理装置的框图;5 is a block diagram of an interaction processing apparatus according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种终端的框图;以及FIG. 6 is a block diagram of a terminal according to an exemplary embodiment; and
图7是根据一示例性实施例示出的一种服务器的框图。Fig. 7 is a block diagram of a server according to an exemplary embodiment.
具体实施方式Detailed ways
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下能够互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。本公开实施例中的“多个”指两个或两个以上。It should be noted that the terms "first", "second" and the like in the description and claims of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims. The "plurality" in the embodiments of the present disclosure refers to two or more.
本公开所使用的术语“至少一个”、“多个”、“每个”,至少一个包括一个、两个或两个以上,多个包括两个或两个以上,而每个是指对应的多个中的每一个。本公开所涉及的用户信息为经用户授权或者经过各方充分授权的信息。As used in this disclosure, the terms "at least one", "plurality", "each", at least one includes one, two or more, multiple includes two or more, and each refers to the corresponding each of the multiple. The user information involved in this disclosure is the information authorized by the user or fully authorized by all parties.
图1是根据一示例性实施例示出的一种实施环境的示意图。参见图1,在一 种实现方式中,该实施环境包括终端110,本公开实施例提供的交互处理方法由终端110执行。在一些实施例中,终端110为智能手机、平板电脑、智能手表、手提电脑或者膝上型便携计算机等。在一些实施例中,终端110上安装并运行有各类应用程序,如视频观看类应用程序、音频播放类应用程序等。例如,视频观看类应用程序包括短视频应用程序,用户能够在短视频应用程序的应用界面上执行相应的交互操作,以观看下一个短视频、观看直播或者查看短视频作者的其他短视频等。FIG. 1 is a schematic diagram illustrating an implementation environment according to an exemplary embodiment. Referring to FIG. 1, in an implementation manner, the implementation environment includes a terminal 110, and the interaction processing method provided by the embodiment of the present disclosure is executed by the terminal 110. In some embodiments, the terminal 110 is a smartphone, tablet, smart watch, laptop or laptop, or the like. In some embodiments, various types of applications, such as video viewing applications, audio playing applications, etc., are installed and run on the terminal 110 . For example, video viewing applications include short video applications, and users can perform corresponding interactive operations on the application interface of the short video application to watch the next short video, watch live broadcasts, or view other short videos by the author of the short video.
其中,终端110泛指多个终端中的一个,本公开的实施例仅以终端110来举例说明。本领域技术人员知晓,上述终端的数量更多或更少均能实现。比如上述终端仅为几个,或者上述终端为几十个或几百个,或者更多数量,本公开实施例对终端的数量和设备类型均不加以限定。The terminal 110 generally refers to one of multiple terminals, and the embodiments of the present disclosure only use the terminal 110 as an example for illustration. Those skilled in the art know that the number of the above-mentioned terminals can be more or less. For example, the above-mentioned terminals are only a few, or the above-mentioned terminals are dozens or hundreds, or more, and the embodiments of the present disclosure do not limit the number of terminals and device types.
在一些实施例中,该实施环境包括终端110和服务器120。本公开实施例提供的交互处理方法通过终端110和服务器120之间的交互来实施。在一些实施例中,服务器120为终端上的应用程序的后台服务器,为应用程序提供后台服务。在一些实施例中,服务器120以及终端110通过有线或无线通信方式进行直接或间接地连接。在一些实施例中,服务器120为一台服务器、多台服务器、云服务器、云计算平台或者虚拟化中心。上述服务器的数量更多或更少均能实现,本公开实施例对此不加以限定。当然,服务器120还包括其他功能服务器,以便提供更全面且多样化的服务。In some embodiments, the implementation environment includes terminal 110 and server 120 . The interaction processing method provided by the embodiment of the present disclosure is implemented through interaction between the terminal 110 and the server 120 . In some embodiments, the server 120 is a background server of an application program on the terminal, and provides background services for the application program. In some embodiments, the server 120 and the terminal 110 are directly or indirectly connected through wired or wireless communication. In some embodiments, the server 120 is a server, multiple servers, a cloud server, a cloud computing platform, or a virtualization center. The number of the foregoing servers may be larger or smaller, which is not limited in this embodiment of the present disclosure. Of course, the server 120 also includes other functional servers in order to provide more comprehensive and diversified services.
本公开实施例提供的交互处理方法由计算机设备执行,上述实施环境以计算机设备包括终端为例进行说明,在一些实施例中,计算机设备是交互机器人、自助点餐机或者其他交互设备,本公开实施例对此不加以限定。The interaction processing method provided by the embodiments of the present disclosure is executed by a computer device. The above implementation environment is described by taking the computer device including a terminal as an example. In some embodiments, the computer device is an interactive robot, a self-service ordering machine, or other interactive devices. The embodiment does not limit this.
图2是根据一示例性实施例示出的一种交互处理方法的流程图。参见图2,该交互处理方法应用于终端,包括以下步骤。Fig. 2 is a flowchart of an interaction processing method according to an exemplary embodiment. Referring to FIG. 2 , the interaction processing method is applied to a terminal, and includes the following steps.
在步骤S201中,终端获取当前登录账号的至少一个属性信息,该属性信息用于表示当前登录账号所属用户的属性。In step S201, the terminal acquires at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs.
当前登录账号用于代表使用终端的用户。用户能够在终端上登录该用户的账号,以便终端为该用户提供更加完善的服务。用户的相关信息能够以账号为标识进行保存,以便于查询和应用。终端获取用于表示用户属性的属性信息,以基于对属性信息的分析,为用户推荐符合该用户的交互需求的交互方式。The current login account is used to represent the user using the terminal. The user can log in the user's account on the terminal, so that the terminal can provide the user with a more complete service. The relevant information of the user can be saved with the account as an identifier for easy query and application. The terminal acquires attribute information used to represent user attributes, and based on the analysis of the attribute information, recommends an interaction mode for the user that meets the interaction requirements of the user.
在步骤S202中,终端从多个交互方式中确定出目标交互方式,目标交互方式与至少一个属性信息匹配并且用于指示目标交互操作的响应方式,目标交互操作与该目标交互方式相对应。In step S202, the terminal determines a target interaction mode from a plurality of interaction modes, the target interaction mode matches at least one attribute information and is used to indicate a response mode of the target interaction operation, and the target interaction operation corresponds to the target interaction mode.
终端提供有多个交互方式。例如,对于短视频应用程序,终端提供有两个交互方式,一个交互方式用于指示响应于视频播放界面上的滑动操作,切换视频播放界面中的视频;另一交互方式用于指示响应于对视频列表界面中视频的点击操作,播放该点击操作所作用的视频。再如,对于歌曲播放应用程序,终端提供有两个交互方式,一个交互方式用于指示响应于歌曲播放界面上向左滑动的操作,显示歌词;另一交互方式用于指示响应于歌曲播放界面上的点击操作,显示歌词。Terminals offer several ways of interacting. For example, for a short video application, the terminal provides two interaction modes. One interaction mode is used to indicate that the video in the video playback interface is switched in response to a sliding operation on the video playback interface; Click operation of a video in the video list interface, and play the video effected by the click operation. For another example, for a song playing application, the terminal provides two interactive modes, one interactive mode is used to indicate that the lyrics are displayed in response to the operation of sliding to the left on the song playing interface; the other interactive mode is used to indicate that the song playing interface is responsive to Click on the button to display the lyrics.
终端根据用户的属性信息,推测用户倾向的交互方式,为该用户自动设置一个符合该用户的交互需求的目标交互方式。According to the user's attribute information, the terminal infers the user's preferred interaction mode, and automatically sets a target interaction mode for the user that meets the user's interaction requirements.
在步骤S203中,响应于在目标界面上检测到目标交互操作,终端基于该目标交互方式,对该目标交互操作进行响应。In step S203, in response to detecting the target interaction operation on the target interface, the terminal responds to the target interaction operation based on the target interaction mode.
目标界面为支持目标交互方式的界面,例如,对于响应于对视频列表界面中视频的点击操作,播放该点击操作所作用的视频的交互方式,目标界面为视频列表界面,目标交互操作为点击操作,响应于终端在视频列表界面上检测到点击操作,基于该点击操作对应的目标交互方式,播放该点击操作所作用的视频。The target interface is an interface that supports the target interaction method. For example, in response to a click operation on a video in the video list interface, the interaction method of playing the video effected by the click operation, the target interface is the video list interface, and the target interaction operation is a click operation. , in response to the terminal detecting a click operation on the video list interface, and based on the target interaction mode corresponding to the click operation, play the video effected by the click operation.
本公开实施例提供的技术方案,通过不同账号的至少一个属性信息,来反映不同用户的交互习惯,进而从所提供的多个交互方式中,确定出符合用户交互习惯的目标交互方式,按照目标交互方式,对用户在目标界面上执行的交互操作进行响应,以满足用户的交互需求,提高人机交互的可用性。The technical solutions provided by the embodiments of the present disclosure reflect the interaction habits of different users through at least one attribute information of different accounts, and then determine a target interaction mode that conforms to the user's interaction habits from the provided multiple interaction modes. The interactive mode responds to the interactive operations performed by the user on the target interface to meet the user's interactive needs and improve the usability of human-computer interaction.
图3是根据一示例性实施例示出的一种交互处理方法的流程图。该流程以终端和服务器之间的交互为例进行说明,参见图3,该交互处理方法包括以下步骤。Fig. 3 is a flowchart of an interaction processing method according to an exemplary embodiment. The flow is described by taking the interaction between the terminal and the server as an example. Referring to FIG. 3 , the interaction processing method includes the following steps.
在步骤S301中,终端获取当前登录账号的至少一个属性信息,属性信息用于表示当前登录账号所属用户的属性。In step S301, the terminal acquires at least one attribute information of the current login account, and the attribute information is used to indicate the attribute of the user to which the current login account belongs.
在一些实施例中,至少一个属性信息包括地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个。其中,地域信息用于表示终端所在的地域, 例如,地域信息为北京、武汉、上海等。在一些实施例中,本公开实施例中的交互方式是指终端的操作系统的交互方式;或者,本公开实施例中的交互方式是指终端上应用程序的交互方式。在本公开实施例中,以交互方式是指终端上应用程序的交互方式为例进行说明。上述渠道信息用于表示应用程序的下载渠道,例如,下载渠道为终端的厂商提供的官方的应用程序下载平台或者第三方提供的应用程序下载平台等。上述设备信息用于表示终端的操作系统的类别,例如,终端的操作系统为Android(安卓,一种开源的移动操作系统)或者iOS(iPhone Operation System,一种移动操作系统)等。In some embodiments, the at least one attribute information includes at least one of location information, age information, gender information, channel information, and device information. The region information is used to indicate the region where the terminal is located, for example, the region information is Beijing, Wuhan, Shanghai, and the like. In some embodiments, the interaction mode in the embodiment of the present disclosure refers to the interaction mode of the operating system of the terminal; or, the interaction mode in the embodiment of the present disclosure refers to the interaction mode of the application program on the terminal. In the embodiments of the present disclosure, the interaction mode refers to the interaction mode of the application on the terminal as an example for description. The above channel information is used to indicate the download channel of the application, for example, the download channel is an official application download platform provided by the terminal manufacturer or an application download platform provided by a third party. The above device information is used to indicate the type of the operating system of the terminal, for example, the operating system of the terminal is Android (Android, an open source mobile operating system) or iOS (iPhone Operation System, a mobile operating system).
由于上述地域信息、年龄信息、性别信息、渠道信息和设备信息等属性信息能够在一定程度上反映出用户的交互习惯,从而基于上述至少一个属性信息,能够确定出符合用户的交互需求的交互方式,为该用户提供个性化的交互方式,提高人机交互的可用性。Since the above attribute information such as geographical information, age information, gender information, channel information, and device information can reflect the user's interaction habits to a certain extent, based on the at least one attribute information above, it is possible to determine the interaction method that meets the user's interaction needs. , to provide the user with a personalized interaction method and improve the usability of human-computer interaction.
在一些实施例中,本公开实施例涉及的属性信息是经用户授权而采集并进行后续处理的。终端具有属性信息的获取和处理权限,且属性信息的获取和处理权限是经过用户授权的。In some embodiments, the attribute information involved in the embodiments of the present disclosure is collected and processed after being authorized by the user. The terminal has the acquisition and processing authority of attribute information, and the acquisition and processing authority of attribute information is authorized by the user.
在一些实施例中,在用户首次使用应用程序的情况下,终端提示用户完善年龄信息、性别信息、所在地信息等属性信息。用户能够在属性编辑界面中填写年龄信息、性别信息、所在地信息等属性信息,终端获取并保存属性编辑界面中被输入的属性信息。进而终端能够基于已存储的属性信息,获取性别信息和年龄信息。例如,在已存储的属性信息包括的性别信息为女的情况下,终端从已存储的属性信息中获取到性别信息为女。在一些实施例中,终端提示用户完善的属性信息包括生日信息,不包括年龄信息。终端能够获取并保存用户输入的生日信息,基于该生日信息和当前时间,确定出年龄信息。例如,在已存储的属性信息包括的生日信息为2000年1月1日并且当前时间为2020年1月1日的情况下,终端基于该生日信息和当前时间,确定年龄信息为20。In some embodiments, when the user uses the application for the first time, the terminal prompts the user to complete attribute information such as age information, gender information, and location information. The user can fill in attribute information such as age information, gender information, and location information in the attribute editing interface, and the terminal acquires and saves the attribute information input in the attribute editing interface. Furthermore, the terminal can acquire gender information and age information based on the stored attribute information. For example, in the case where the gender information included in the stored attribute information is female, the terminal acquires from the stored attribute information that the gender information is female. In some embodiments, the terminal prompts the user to complete the attribute information including birthday information but not age information. The terminal can acquire and save the birthday information input by the user, and determine the age information based on the birthday information and the current time. For example, when the birthday information included in the stored attribute information is January 1, 2000 and the current time is January 1, 2020, the terminal determines that the age information is 20 based on the birthday information and the current time.
在一些实施例中,终端包括定位组件,终端能够通过定位组件定位终端的地域信息,存储于位置信息缓冲区中。终端运行应用程序,在该应用程序具有位置获取权限的情况下,终端从位置信息缓冲区中获取地域信息。在另一些实施例中,在已存储的属性信息包括地域信息的情况下,终端直接获取属性信息中的地域信息。In some embodiments, the terminal includes a positioning component, and the terminal can locate the region information of the terminal through the positioning component, and store it in the location information buffer. The terminal runs an application program, and in the case that the application program has the location acquisition authority, the terminal acquires regional information from the location information buffer. In other embodiments, in the case that the stored attribute information includes regional information, the terminal directly acquires the regional information in the attribute information.
在一些实施例中,应用程序安装后生成的程序文件包括该应用程序的渠道信息,终端从该应用程序的程序文件中获取该应用程序的渠道信息。在一些实施例中,终端本地存储有设备信息。终端运行应用程序,在该应用程序具有设备信息的获取权限的情况下,终端获取本地存储的设备信息。In some embodiments, the program file generated after the application program is installed includes the channel information of the application program, and the terminal obtains the channel information of the application program from the program file of the application program. In some embodiments, the terminal locally stores device information. The terminal runs an application, and in the case that the application has the right to acquire device information, the terminal acquires the locally stored device information.
在一些实施例中,终端在用户首次使用应用程序的情况下,通过本公开实施例提供的交互处理方法,为该用户提供符合该用户的交互需求的交互方式。在用户首次打开应用程序的情况下,通常需要注册账号,并通过属性编辑界面输入属性信息,以便于应用程序的后台服务器基于该用户的账号为该用户提供较为完善的服务。相应地,终端响应于当前登录账号为首次登录的账号,执行获取当前登录账号的至少一个属性信息的步骤。In some embodiments, when the user uses the application program for the first time, the terminal provides the user with an interaction mode that meets the user's interaction requirements by using the interaction processing method provided by the embodiments of the present disclosure. When a user opens an application for the first time, it is usually necessary to register an account and input attribute information through the attribute editing interface, so that the background server of the application can provide the user with a more complete service based on the user's account. Correspondingly, the terminal performs the step of acquiring at least one attribute information of the current login account in response to the current login account being the account for the first login.
上述技术方案,基于新用户的属性信息,为新用户进行交互方式的个性化推荐,以满足新用户的交互需求,使得交互方式符合新用户的交互习惯,提高人机交互的可用性,进而减少新用户的流失,提高用户留存率。The above technical solution, based on the attribute information of the new user, makes personalized recommendation of the interaction mode for the new user, so as to meet the interaction requirements of the new user, make the interaction mode conform to the interaction habits of the new user, improve the usability of human-computer interaction, and reduce the number of new users. User churn increases user retention rate.
在一些实施例中,在当前登录账号不是首次登录的账号的情况下,终端获取该当前登录账号对应的历史交互方式,基于历史交互方式,对检测到的交互操作进行响应,不再执行步骤S301至步骤S305。In some embodiments, in the case that the current login account is not the account for the first login, the terminal obtains the historical interaction mode corresponding to the current login account, and based on the historical interaction mode, responds to the detected interaction operation, and does not perform step S301. Go to step S305.
在步骤S302中,终端向服务器发送获取请求,该获取请求用于请求获取与至少一个属性信息匹配的目标交互方式。In step S302, the terminal sends an acquisition request to the server, where the acquisition request is used to request acquisition of a target interaction mode matching at least one attribute information.
获取请求携带至少一个属性信息。终端通过向服务器发送获取请求,以获取符合用户的交互需求的目标交互方式。The get request carries at least one attribute information. The terminal sends an acquisition request to the server to acquire the target interaction mode that meets the interaction requirements of the user.
在步骤S303中,服务器接收获取请求,从多个交互方式中确定出目标交互方式,目标交互方式与至少一个属性信息匹配。In step S303, the server receives the acquisition request, and determines a target interaction mode from a plurality of interaction modes, and the target interaction mode matches at least one attribute information.
目标交互方式用于指示目标交互操作的响应方式,目标交互操作与交互方式相对应。例如,目标交互方式用于指示响应于视频播放界面上的滑动操作,切换视频播放界面中的视频,该目标交互操作包括视频播放界面上的向上滑动操作以及视频播放界面上的向下滑动操作,该目标交互方式所指示的响应方式包括:响应于视频播放界面上的向上滑动操作,播放下一个视频;响应于视频播放界面上的向下滑动操作,播放上一个视频。The target interaction mode is used to indicate the response mode of the target interaction operation, and the target interaction operation corresponds to the interaction mode. For example, the target interaction mode is used to indicate that the video in the video playback interface is switched in response to a sliding operation on the video playback interface, and the target interaction operation includes an upward sliding operation on the video playback interface and a downward sliding operation on the video playback interface, The response mode indicated by the target interaction mode includes: playing the next video in response to the upward sliding operation on the video playing interface; playing the previous video in response to the downward sliding operation on the video playing interface.
在一些实施例中,服务器确定每个交互方式与至少一个属性信息的匹配度;将匹配度最高的交互方式确定为目标交互方式。In some embodiments, the server determines the degree of matching between each interaction mode and at least one attribute information; and determines the interaction mode with the highest matching degree as the target interaction mode.
上述技术方案,通过将与用户的属性信息匹配度最高的交互方式确定为目标交互方式,为用户提供符合该用户交互习惯的交互方式,尽可能满足用户的交互需求,提高人机交互的可用性。In the above technical solution, by determining the interaction mode with the highest degree of matching with the user's attribute information as the target interaction mode, the user is provided with an interaction mode that conforms to the user's interaction habits, so as to satisfy the user's interaction needs as much as possible and improve the usability of human-computer interaction.
其中,服务器确定每个交互方式与至少一个属性信息的匹配度的步骤包括:服务器确定每个属性信息对应的交互方式;服务器获取至少一个属性信息中每个属性信息的权重,权重用于表示属性信息对于确定对应的交互方式的重要程度;以及服务器将对应于同一个交互方式的属性信息的权重相加,得到交互方式与至少一个属性信息的匹配度。Wherein, the step of the server determining the degree of matching between each interaction mode and the at least one attribute information includes: the server determining the interaction mode corresponding to each attribute information; the server acquiring the weight of each attribute information in the at least one attribute information, and the weight is used to represent the attribute The importance of the information for determining the corresponding interaction mode; and the server adds the weights of the attribute information corresponding to the same interaction mode to obtain the matching degree between the interaction mode and at least one attribute information.
例如,至少一个属性信息包括地域信息、年龄信息、性别信息、渠道信息和设备信息。其中,地域信息为城市A;年龄信息为50;性别信息为男;渠道信息为渠道a;设备信息为Android。地域信息的权重为0.2;年龄信息的权重为0.3;性别信息的权重为0.2;渠道信息的权重为0.2;设备信息的权重为0.1。城市A对应的交互方式为第二交互方式;位于40至60之间的年龄信息对应的交互方式为第二交互方式;性别信息男对应的交互方式为第一交互方式;渠道a对应的交互方式为第二交互方式;设备信息Android对应的交互方式为第一交互方式。相应地,第一交互方式的匹配度为0.3;第二交互方式的匹配度为0.7,终端将第二交互方式确定为目标交互方式。For example, the at least one attribute information includes region information, age information, gender information, channel information and device information. Among them, the geographic information is city A; the age information is 50; the gender information is male; the channel information is channel a; and the device information is Android. The weight of geographical information is 0.2; the weight of age information is 0.3; the weight of gender information is 0.2; the weight of channel information is 0.2; the weight of equipment information is 0.1. The interaction method corresponding to city A is the second interaction method; the interaction method corresponding to age information between 40 and 60 is the second interaction method; the interaction method corresponding to gender information male is the first interaction method; the interaction method corresponding to channel a is the second interaction mode; the interaction mode corresponding to the device information Android is the first interaction mode. Correspondingly, the matching degree of the first interaction mode is 0.3; the matching degree of the second interaction mode is 0.7, and the terminal determines the second interaction mode as the target interaction mode.
上述技术方案,赋予属性信息一定的权重,使反映用户的交互习惯准确度较高的属性信息的权重较高,进而将对应于同一交互方式的属性信息的权重相加,得到该交互方式与至少一个属性信息的匹配度,能够提高匹配度的准确性,进而基于该匹配度确定的交互方式能够符合用户的交互需求,提高了人机交互的可用性。In the above technical solution, attribute information is given a certain weight, so that attribute information that reflects the user's interaction habits with higher accuracy has a higher weight, and then the weights of attribute information corresponding to the same interaction mode are added to obtain the interaction mode and at least the attribute information. A matching degree of attribute information can improve the accuracy of the matching degree, and then the interaction mode determined based on the matching degree can meet the user's interaction requirements and improve the usability of human-computer interaction.
在一些实施例中,服务器存储有属性信息与交互方式的对应关系,服务器能够根据已存储的属性信息与交互方式的对应关系,确定每个属性信息对应的交互方式。服务器存储属性信息与交互方式的对应关系之前,还基于多个账号的历史交互数据,确定每个属性信息对应的交互方式。服务器基于多个账号的历史交互数据,确定每个属性信息对应的交互方式的步骤包括:服务器基于具有任一相同属性信息的多个账号的历史交互数据,确定应用每个交互方式的账号的数量;将对应账号的数量最多的交互方式确定为该属性信息对应的交互方式。In some embodiments, the server stores the corresponding relationship between the attribute information and the interaction mode, and the server can determine the interaction mode corresponding to each attribute information according to the stored corresponding relationship between the attribute information and the interaction mode. Before storing the corresponding relationship between the attribute information and the interaction mode, the server also determines the interaction mode corresponding to each attribute information based on historical interaction data of multiple accounts. The step that the server determines the interaction mode corresponding to each attribute information based on the historical interaction data of the multiple accounts includes: the server determines, based on the historical interaction data of the multiple accounts with any one of the same attribute information, the number of accounts to which each interaction mode is applied ; Determine the interaction mode with the largest number of corresponding accounts as the interaction mode corresponding to the attribute information.
例如,地域信息为城市A的账号数量为1000万,终端提供有第一交互方式和第二交互方式,其中,1000万个账号中应用第一交互方式的账号的数量为200万,应用第二交互方式的账号的数量为800万,则地域信息城市A对应的交互方式为第二交互方式。For example, the number of accounts whose geographic information is city A is 10 million, and the terminal provides a first interaction method and a second interaction method. Among the 10 million accounts, the number of accounts using the first interaction method is 2 million, and the second interaction method is applied If the number of accounts in the interaction mode is 8 million, the interaction mode corresponding to the geographic information city A is the second interaction mode.
在一些实施例中,服务器基于多个账号的历史交互数据,还能够通过其他方式确定出属性信息对应的交互方式,本公开实施例对此不加以限定。In some embodiments, the server can also determine the interaction mode corresponding to the attribute information in other ways based on the historical interaction data of multiple accounts, which is not limited in this embodiment of the present disclosure.
在一些实施例中,服务器通过交互方式预测模型,预测出与至少一个属性信息匹配的目标交互方式。相应地,服务器从多个交互方式中确定出目标交互方式的步骤包括:服务器将至少一个属性信息输入到交互方式预测模型中,得到目标交互方式。In some embodiments, the server predicts the target interaction mode matching the at least one attribute information through the interaction mode prediction model. Correspondingly, the step of the server determining the target interaction mode from the plurality of interaction modes includes: the server inputs at least one attribute information into the interaction mode prediction model to obtain the target interaction mode.
其中,交互方式预测模型是基于机器学习方法进行训练得到的。服务器将样本账号的至少一个属性信息以及样本账号所应用的交互方式作为训练样本,对交互方式预测模型进行训练,以使交互方式预测模型具有基于属性信息预测交互方式的能力。Among them, the interactive mode prediction model is obtained by training based on the machine learning method. The server uses at least one attribute information of the sample account and the interaction mode applied to the sample account as training samples, and trains the interaction mode prediction model, so that the interaction mode prediction model has the ability to predict the interaction mode based on the attribute information.
在一些实施例中,服务器从多个交互方式中确定出目标交互方式之后,还存储当前登录账号与目标交互方式的对应关系,以在该当前登录账号重新登录的情况下,能够直接基于该对应关系,确定出目标交互方式。也即是,服务器响应于基于当前登录账号的重新登录操作,基于已存储的对应关系,确定该当前登录账号对应的目标交互方式。In some embodiments, after the server determines the target interaction mode from multiple interaction modes, the server also stores the corresponding relationship between the current login account and the target interaction mode, so that when the current login account is re-logged in, it can be directly based on the corresponding relationship. relationship, determine the target interaction mode. That is, in response to the re-login operation based on the current login account, the server determines the target interaction mode corresponding to the current login account based on the stored correspondence.
上述技术方案,在确定出与目标交互方式之后,还对应存储当前登录账号与目标交互方式,从而在账号重新登录的情况下,能够直接基于已存储的对应关系,确定出该账号对应的目标交互方式,提高目标交互方式的确定效率,并且减少了重新确定目标交互方式所消耗的计算资源,提高了资源利用率。In the above technical solution, after the interaction mode with the target is determined, the current login account and the target interaction mode are also stored correspondingly, so that when the account is re-logged in, the target interaction corresponding to the account can be determined directly based on the stored correspondence. The method improves the determination efficiency of the target interaction mode, reduces the computing resources consumed by re-determining the target interaction mode, and improves the resource utilization rate.
在步骤S304中,服务器向终端返回目标交互方式。In step S304, the server returns the target interaction mode to the terminal.
服务器将确定出的目标交互方式返回给终端。The server returns the determined target interaction mode to the terminal.
需要说明的是,本公开实施例通过上述步骤302至步骤304,以终端通过与服务器的交互获取目标交互方式为例进行说明。在一些实施例中,终端也能够在本地执行从多个交互方式中确定出与目标交互方式的步骤,终端从多个交互方式中确定出目标交互方式的过程与服务器从多个交互方式中确定出目标交互方式同理,在此不再赘述。It should be noted that, in this embodiment of the present disclosure, the above steps 302 to 304 are used for description by taking an example of an interaction manner in which a terminal acquires a target through interaction with a server. In some embodiments, the terminal can also locally execute the step of determining the interaction mode with the target from multiple interaction modes, and the process of determining the target interaction mode by the terminal from the multiple interaction modes and the server determine the process from the multiple interaction modes The same is true for the interaction method of outgoing targets, which will not be repeated here.
在步骤S305中,终端接收目标交互方式,响应于终端在目标界面上检测到目标交互操作,基于目标交互方式,对目标交互操作进行响应。In step S305, the terminal receives the target interaction mode, and responds to the target interaction operation based on the target interaction mode in response to the terminal detecting the target interaction operation on the target interface.
目标界面能够支持目标交互方式的实施。例如,对于短视频应用程序,目标交互方式用于指示响应于视频播放界面上的滑动操作,切换视频播放界面中的视频。其中,目标界面为视频播放界面,视频播放界面用于播放单个视频。响应于终端在视频播放界面上检测到滑动操作,基于该滑动操作对应的目标交互方式,对该滑动操作进行响应,也即是,响应于终端在目标界面上检测到滑动操作,将视频播放界面上所播放的视频切换为其他视频。The target interface can support the implementation of the target interaction mode. For example, for a short video application, the target interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface. The target interface is a video playing interface, and the video playing interface is used to play a single video. In response to the terminal detecting the sliding operation on the video playback interface, the sliding operation is responded to based on the target interaction mode corresponding to the sliding operation, that is, in response to the terminal detecting the sliding operation on the target interface, the video playback interface is The video played on the screen is switched to another video.
再如,对于短视频应用程序,目标交互方式用于指示响应于对视频列表界面中视频的点击操作,播放点击操作所作用的视频。其中,目标界面为视频列表界面。在一些实施例中,该视频列表界面用于双列展示视频的封面。响应于终端在视频列表界面上检测到对视频的封面的点击操作,将该点击操作所作用的视频进行全屏播放。For another example, for a short video application, the target interaction mode is used to instruct, in response to a click operation on a video in the video list interface, to play the video effected by the click operation. The target interface is a video list interface. In some embodiments, the video list interface is used to display the cover of the video in two columns. In response to the terminal detecting a click operation on the cover of the video on the video list interface, the video affected by the click operation is played in full screen.
本公开实施例提供的技术方案,通过不同账号的至少一个属性信息,来反映不同用户的交互习惯,进而从所提供的多个交互方式中,确定出符合用户交互习惯的目标交互方式,按照目标交互方式,对用户在目标界面上执行的交互操作进行响应,以满足用户的交互需求,提高人机交互的可用性。The technical solutions provided by the embodiments of the present disclosure reflect the interaction habits of different users through at least one attribute information of different accounts, and then determine a target interaction mode that conforms to the user's interaction habits from the provided multiple interaction modes. The interactive mode responds to the interactive operations performed by the user on the target interface to meet the user's interactive needs and improve the usability of human-computer interaction.
在一些实施例中,终端以目标交互方式为用户提供交互服务的过程中,还能够基于用户的交互数据,对目标交互方式进行调整,以为用户提供适合该用户的交互方式。In some embodiments, in the process of providing the user with the interactive service in the target interaction mode, the terminal can also adjust the target interaction mode based on the user's interaction data, so as to provide the user with an interaction mode suitable for the user.
在一个示例中,目标界面为视频播放界面,目标交互方式用于指示响应于视频播放界面上的滑动操作,切换视频播放界面中的视频。相应地,终端调整目标交互方式的步骤包括:终端在目标播放事件的发生频率大于频率阈值的情况下,将目标交互方式替换为第一交互方式;其中,目标播放事件用于表示视频播放界面中单个视频的播放时长小于时长阈值,第一交互方式用于指示响应于对视频列表界面中视频的点击操作,播放点击操作所作用的视频。In one example, the target interface is a video playback interface, and the target interaction mode is used to instruct to switch videos in the video playback interface in response to a sliding operation on the video playback interface. Correspondingly, the step of adjusting the target interaction mode by the terminal includes: when the occurrence frequency of the target playback event is greater than the frequency threshold, the terminal replaces the target interaction mode with the first interaction mode; wherein, the target playback event is used to indicate that in the video playback interface The playback duration of a single video is less than the duration threshold, and the first interaction mode is used to instruct, in response to a click operation on the video in the video list interface, to play the video acted by the click operation.
其中,时长阈值是基于单个视频的总时长设置的。例如,单个视频的总时长为11秒,时长阈值可设为2秒或者3秒等。频率阈值为预先设置的0到1之间的数值,例如,频率阈值为0.8或者0.9等。The duration threshold is set based on the total duration of a single video. For example, the total duration of a single video is 11 seconds, and the duration threshold can be set to 2 seconds or 3 seconds. The frequency threshold is a preset value between 0 and 1, for example, the frequency threshold is 0.8 or 0.9.
上述技术方案也即是终端在用户通过滑动操作频繁切换视频的情况下,转 换为第一交互方式为用户提供交互服务。例如,单个视频的总时长为11秒,时长阈值为2秒,频率阈值为0.8,如果用户所浏览的100个视频中,有80个视频的播放时长是小于2秒的,则表明用户习惯快速切换视频播放界面中的视频,那么通过查看视频列表界面中视频的封面来快速了解视频信息的交互方式更适合该用户。The above technical solution is that when the user frequently switches videos through a sliding operation, the terminal switches to the first interactive mode to provide interactive services for the user. For example, the total duration of a single video is 11 seconds, the duration threshold is 2 seconds, and the frequency threshold is 0.8. If the playback duration of 80 videos is less than 2 seconds among the 100 videos viewed by the user, it indicates that the user is used to fast Switching the video in the video playback interface, it is more suitable for the user to quickly understand the interaction mode of the video information by viewing the cover of the video in the video list interface.
上述技术方案,在终端为用户提供响应于视频播放界面上的滑动操作,切换视频播放界面中的视频的交互方式,且该用户未对视频进行有效浏览就进行视频切换的情况下,将交互方式转换为响应于对视频列表界面中视频的点击操作,播放点击操作所作用的视频的交互方式,从而该用户能够通过视频列表界面中视频的封面来快速了解视频信息,再决定是否点击封面来观看视频,不需要通过频繁的滑动操作来切换视频以及了解视频的大致信息,提高了人机交互效率,从而进一步提高了人机交互的可用性。In the above technical solution, when the terminal provides the user with an interaction mode for switching the video in the video playback interface in response to a sliding operation on the video playback interface, and the user performs video switching without effectively browsing the video, the interaction mode is changed. Converted to the interactive mode of playing the video acted by the click operation in response to the click operation on the video in the video list interface, so that the user can quickly understand the video information through the cover of the video in the video list interface, and then decide whether to click the cover to watch it For video, it is not necessary to switch videos through frequent sliding operations and understand the general information of the video, which improves the efficiency of human-computer interaction, thereby further improving the usability of human-computer interaction.
在一些实施例中,目标界面为视频列表界面,目标交互方式用于指示响应于对视频列表界面中视频的点击操作,播放点击操作所作用的视频;相应地,终端调整目标交互方式的步骤包括:终端响应于视频列表界面中被点击的视频所占的比重大于比重阈值,将目标交互方式替换为第二交互方式;其中,该比重为第一数量与第二数量的比值,第一数量为视频列表界面中点击操作所作用的视频的数量,第二数量为视频列表界面中视频的总数量,第二交互方式用于指示响应于视频播放界面上的滑动操作,切换视频播放界面中的视频。其中,比重阈值为预先设置的0到1之间的数值,例如,比重阈值为0.8或者0.9等。In some embodiments, the target interface is a video list interface, and the target interaction mode is used to indicate that in response to a click operation on a video in the video list interface, the video acted by the click operation is played; accordingly, the step of adjusting the target interaction mode by the terminal includes: : The terminal responds that the proportion of the clicked video in the video list interface is greater than the proportion threshold, and replaces the target interaction mode with the second interaction mode; wherein, the proportion is the ratio of the first quantity to the second quantity, and the first quantity is The number of videos acted on by the click operation in the video list interface, the second number is the total number of videos in the video list interface, and the second interaction mode is used to indicate that the video in the video play interface is switched in response to the sliding operation on the video play interface . The specific gravity threshold is a preset value between 0 and 1, for example, the specific gravity threshold is 0.8 or 0.9.
上述技术方案,也即是终端在用户点击观看视频列表界面中的视频较多的情况下,转换为第二交互方式为用户提供交互服务。例如,比重阈值为0.8,在终端通过视频列表界面为用户推荐了100个视频的情况下,该用户通过点击操作对上述100个视频中的至少80个视频进行了观看,则表明用户习惯观看视频列表界面中的大多数视频,那么通过滑动操作切换视频的方式更适合该用户。In the above technical solution, that is, when the user clicks to watch more videos in the video list interface, the terminal switches to the second interaction mode to provide the user with interactive services. For example, if the proportion threshold is 0.8, if the terminal recommends 100 videos for the user through the video list interface, and the user has watched at least 80 videos out of the above 100 videos through the click operation, it indicates that the user is accustomed to watching videos Most of the videos in the list interface, then switching videos by swiping operation is more suitable for this user.
上述技术方案,在用户对视频列表界面中的大多数视频都进行了点击观看的情况下,转换为响应于视频播放界面上的滑动操作,切换视频播放界面中的视频的交互方式,为用户提供交互服务,从而该用户通过简单的滑动操作即可切换视频进行观看,不需要点击打开视频,观看后再退回到视频列表界面中点击下一个视频进行观看,能够提高人机交互效率,从而进一步提高了人机交互 的可用性。In the above technical solution, when the user has clicked and watched most of the videos in the video list interface, it is converted into an interactive mode of switching the videos in the video playback interface in response to the sliding operation on the video playback interface, so as to provide the user with the Interactive service, so that the user can switch videos to watch through a simple sliding operation, without clicking to open the video, and then return to the video list interface and click the next video to watch, which can improve the efficiency of human-computer interaction and further improve availability of human-computer interaction.
需要说明的另一点是,上述实施例以终端自动基于用户的属性信息,确定符合该用户的交互需求的目标交互方式为例进行说明。在一些实施例中,通过上述步骤S301至步骤S304确定目标交互方式之前,终端还支持用户自主选择多个交互方式中的一个作为目标交互方式。在用户对交互方式进行了选择的情况下,终端通过与步骤S305同理的过程,基于用户所选择的目标交互方式,对用户的交互操作做出响应。在用户未选择交互方式的情况下,终端通过上述步骤S301至步骤S304确定目标交互方式,也即是,终端响应于未检测到对多个交互方式的选择控件的选中操作,执行获取当前登录账号的至少一个属性信息的步骤。Another point that needs to be explained is that the above embodiment is described by taking the terminal automatically determining the target interaction mode that meets the interaction requirement of the user based on the attribute information of the user as an example. In some embodiments, before determining the target interaction mode through the above steps S301 to S304, the terminal also supports the user to independently select one of the multiple interaction modes as the target interaction mode. In the case where the user selects the interaction mode, the terminal responds to the user's interaction operation based on the target interaction mode selected by the user through the same process as step S305. In the case where the user does not select the interaction mode, the terminal determines the target interaction mode through the above steps S301 to S304, that is, the terminal executes the acquisition of the current login account in response to not detecting the selection operation of the selection controls for multiple interaction modes of at least one attribute information step.
参见图4,终端支持用户自主选择多个交互方式中的一个作为目标交互方式的过程包括以下步骤S401至步骤S402。Referring to FIG. 4 , the process in which the terminal supports the user to independently select one of the multiple interaction modes as the target interaction mode includes the following steps S401 to S402 .
在步骤S401中,终端显示提示界面,该提示界面包括多个交互方式的选择控件。In step S401, the terminal displays a prompt interface, where the prompt interface includes a plurality of interactive mode selection controls.
其中,每个交互方式对应一个选择控件。提示界面包括每个交互方式的交互简介以及每个交互方式的选择控件。例如,交互方式为响应于对视频列表界面中视频的点击操作,播放点击操作所作用的视频,该交互方式的交互简介为“双列封面展示”;交互方式为响应于视频播放界面上的滑动操作,切换视频播放界面中的视频,该交互方式的交互简介为“单列上下滑展示”,交互方式的交互简介与该交互方式的选择控件平行显示,以便于用户查看和选择。在一些实施例中,选择控件为按钮形式的控件。Among them, each interaction mode corresponds to a selection control. The prompt interface includes an interaction introduction for each interaction mode and selection controls for each interaction mode. For example, the interaction method is to play the video effected by the click operation in response to the click operation on the video in the video list interface, and the interaction introduction of this interaction method is "double-column cover display"; the interaction method is to respond to the slide on the video playback interface. Operation, switch the video in the video playback interface, the interaction introduction of this interaction mode is "single-column up and down display", and the interaction introduction of the interaction mode is displayed in parallel with the selection controls of the interaction mode, so that users can view and select. In some embodiments, the selection control is a control in the form of a button.
在一些实施例中,提示界面还包括多个交互方式的演示动画,相应地,步骤S401包括:除了在提示界面中显示多个交互方式的选择控件以外,还在提示界面中显示多个交互方式的演示动画,多个交互方式中的每个交互方式的演示动画用于展示基于交互方式,对交互方式对应的交互操作进行响应的过程。In some embodiments, the prompt interface further includes demonstration animations of multiple interaction modes. Correspondingly, step S401 includes: in addition to displaying the selection controls of multiple interaction modes in the prompt interface, displaying multiple interaction modes in the prompt interface The demonstration animation of each interaction mode in the multiple interaction modes is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
终端通过在提示界面中展示演示动画,以生动直观地展示交互方式的交互过程,便于用户理解,能够提高用户选择交互方式时的人机效率,进而进一步提升用户体验。The terminal displays the demonstration animation in the prompt interface to vividly and intuitively display the interaction process of the interaction mode, which is convenient for users to understand, and can improve the human-machine efficiency when the user selects the interaction mode, thereby further improving the user experience.
在步骤S402中,终端响应于对提示界面中的交互方式的选择控件的选中操作,将被选中的交互方式确定为目标交互方式。In step S402, the terminal determines the selected interaction mode as the target interaction mode in response to the selection operation on the selection control of the interaction mode in the prompt interface.
终端将用户选中的交互方式确定为目标交互方式,以基于该目标交互方式,对目标界面上检测到的交互操作进行响应。The terminal determines the interaction mode selected by the user as the target interaction mode, and responds to the interaction operation detected on the target interface based on the target interaction mode.
上述技术方案,将用户自主选择的交互方式作为目标交互方式,从而基于用户自主选择的交互方式,为用户提供交互服务,使得交互方式能够满足用户的交互需求,进而提高人机交互的可用性。In the above technical solution, the interaction mode independently selected by the user is used as the target interaction mode, so as to provide interactive services for the user based on the interaction mode independently selected by the user, so that the interaction mode can meet the interaction needs of the user, thereby improving the usability of human-computer interaction.
在一些实施例中,终端确定目标交互方式后,还向服务器发送方式存储请求,该方式存储请求用于请求存储账号与目标交互方式的对应关系,该方式存储请求携带当前登录账号和目标交互方式,其中,当前登录账号为终端所登录的账号。服务器接收终端的方式存储请求,对应存储当前登录账号与目标交互方式的对应关系,从而在账号重新登录的情况下,能够直接基于已存储的对应关系,确定出该账号对应的目标交互方式,提高目标交互方式的确定效率,并且减少了重新确定目标交互方式所消耗的计算资源,提高了资源利用率。In some embodiments, after determining the target interaction mode, the terminal also sends a mode storage request to the server, where the mode storage request is used to request to store the corresponding relationship between the account and the target interaction mode, and the mode storage request carries the current login account and the target interaction mode , where the current login account is the account logged in by the terminal. The server receives the mode storage request of the terminal, and stores the corresponding relationship between the current login account and the target interaction mode, so that when the account is re-logged in, it can directly determine the target interaction mode corresponding to the account based on the stored corresponding relationship, improving the The efficiency of determining the target interaction mode is reduced, the computing resources consumed by redetermining the target interaction mode are reduced, and the resource utilization rate is improved.
上述所有技术方案,能够采用任意结合形成本公开的实施例,在此不再一一赘述。All the above technical solutions can be combined arbitrarily to form the embodiments of the present disclosure, which will not be repeated here.
图5是根据一示例性实施例示出的一种交互处理装置500的框图。参见图5,该装置500包括获取单元501、确定单元502和响应单元503。FIG. 5 is a block diagram of an interaction processing apparatus 500 according to an exemplary embodiment. Referring to FIG. 5 , the apparatus 500 includes an acquisition unit 501 , a determination unit 502 and a response unit 503 .
获取单元501被配置为获取当前登录账号的至少一个属性信息,属性信息用于表示当前登录账号所属用户的属性。The obtaining unit 501 is configured to obtain at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs.
确定单元502被配置为从多个交互方式中确定出目标交互方式,目标交互方式与至少一个属性信息匹配并且用于指示目标交互操作的响应方式,目标交互操作与目标交互方式相对应的交互操作。The determining unit 502 is configured to determine a target interaction mode from a plurality of interaction modes, the target interaction mode is matched with at least one attribute information and is used to indicate a response mode of the target interaction operation, and the target interaction mode is an interaction operation corresponding to the target interaction mode .
响应单元503被配置为响应于在目标界面上检测到目标交互操作,基于目标交互方式,对目标交互操作进行响应。The response unit 503 is configured to, in response to detecting the target interaction operation on the target interface, respond to the target interaction operation based on the target interaction manner.
本公开实施例提供的技术方案,通过不同账号的至少一个属性信息,来反映不同用户的交互习惯,进而从所提供的多个交互方式中,确定出符合用户交互习惯的目标交互方式,按照目标交互方式,对用户在目标界面上的交互操作进行响应,以满足用户的交互需求,提高人机交互的可用性。The technical solutions provided by the embodiments of the present disclosure reflect the interaction habits of different users through at least one attribute information of different accounts, and then determine a target interaction mode that conforms to the user's interaction habits from the provided multiple interaction modes. The interactive mode responds to the user's interactive operation on the target interface to meet the user's interactive needs and improve the usability of human-computer interaction.
在一些实施例中,确定单元502,包括:第一确定子单元,被配置为确定每个交互方式与至少一个属性信息的匹配度,以及第二确定子单元,被配置为将匹配度最高的交互方式确定为目标交互方式。In some embodiments, the determining unit 502 includes: a first determining subunit configured to determine the degree of matching between each interaction mode and at least one attribute information, and a second determining subunit configured to determine the matching degree of the highest matching degree The interaction mode is determined as the target interaction mode.
在一些实施例中,第一确定子单元,被配置为:确定每个属性信息对应的交互方式,获取至少一个属性信息中每个属性信息的权重,权重用于表示属性信息对于确定对应的交互方式的重要程度,将对应于同一个交互方式的属性信息的权重相加,得到交互方式与至少一个属性信息的匹配度。In some embodiments, the first determination subunit is configured to: determine an interaction mode corresponding to each attribute information, and obtain a weight of each attribute information in at least one attribute information, where the weight is used to indicate that the attribute information is used to determine the corresponding interaction The importance of the mode is added, and the weights of the attribute information corresponding to the same interaction mode are added to obtain the matching degree of the interaction mode and at least one attribute information.
在一些实施例中,获取单元501,被配置为获取当前登录账号的地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个;并且将地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个组成至少一个属性信息。In some embodiments, the obtaining unit 501 is configured to obtain at least one of the region information, age information, gender information, channel information and device information of the currently logged-in account; and at least one of the device information constitute at least one attribute information.
其中,地域信息用于表示显示目标界面的计算机设备所在的地域,渠道信息用于表示目标界面所属的应用程序的下载渠道,设备信息用于表示显示目标界面的计算机设备的操作系统的类别。The region information is used to indicate the region where the computer device displaying the target interface is located, the channel information is used to indicate the download channel of the application program to which the target interface belongs, and the device information is used to indicate the type of the operating system of the computer device displaying the target interface.
在一些实施例中,获取单元501被配置为响应于当前登录账号为首次登录的账号,获取当前登录账号的至少一个属性信息。In some embodiments, the obtaining unit 501 is configured to obtain at least one attribute information of the current login account in response to the current login account being an account for the first login.
在一些实施例中,该交互处理装置500还包括:显示单元,被配置为显示提示界面,提示界面包括多个交互方式的选择控件。In some embodiments, the interaction processing apparatus 500 further includes: a display unit configured to display a prompt interface, where the prompt interface includes a plurality of interactive mode selection controls.
获取单元501还被配置为响应于未检测到对多个交互方式的选择控件的选中操作,获取当前账号的至少一个属性信息。The obtaining unit 501 is further configured to obtain at least one attribute information of the current account in response to not detecting a selection operation on the selection controls of the plurality of interaction modes.
在一些实施例中,确定单元502还被配置为响应于对提示界面中的交互方式的选择控件的选中操作,将被选中的交互方式确定为目标交互方式。In some embodiments, the determining unit 502 is further configured to determine the selected interaction mode as the target interaction mode in response to a selection operation on the selection control of the interaction mode in the prompt interface.
在一些实施例中,显示单元还被配置为除了在提示界面显示多个交互方式的选择控件之外,还在提示界面中显示多个交互方式的演示动画,多个交互方式中的每个交互方式的演示动画用于展示基于交互方式,对交互方式对应的交互操作进行响应的过程。In some embodiments, the display unit is further configured to, in addition to displaying the selection controls of the plurality of interaction modes in the prompt interface, also display the demonstration animations of the plurality of interaction modes in the prompt interface, each interaction in the plurality of interaction modes. The demonstration animation of the mode is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
在一些实施例中,该交互处理装置500还包括:存储单元,被配置为存储当前登录账号与目标交互方式的对应关系。确定单元502还被配置为响应于基于当前登录账号的重新登录操作,基于已存储的对应关系,确定目标交互方式;并且响应单元503还被配置为响应于在目标界面上检测到目标交互操作,基于目标交互方式,对目标交互操作进行响应。In some embodiments, the interaction processing apparatus 500 further includes: a storage unit configured to store the corresponding relationship between the current login account and the target interaction mode. The determining unit 502 is further configured to, in response to the re-login operation based on the current login account, and based on the stored correspondence, determine the target interaction mode; and the response unit 503 is further configured to respond to detecting the target interaction operation on the target interface, Based on the target interaction mode, the target interaction operation is responded to.
在一些实施例中,目标界面为视频播放界面,目标交互方式用于指示响应于视频播放界面上的滑动操作,切换视频播放界面中的视频。In some embodiments, the target interface is a video playing interface, and the target interaction mode is used to instruct to switch the video in the video playing interface in response to a sliding operation on the video playing interface.
该交互处理装置500还包括:第一替换单元,被配置为在目标播放事件的发生频率大于频率阈值的情况下,将目标交互方式替换为第一交互方式;其中,目标播放事件用于表示视频播放界面中单个视频的播放时长小于时长阈值,第一交互方式用于指示响应于对视频列表界面中视频的点击操作,播放点击操作所作用的视频。The interaction processing apparatus 500 further includes: a first replacement unit, configured to replace the target interaction mode with the first interaction mode when the occurrence frequency of the target playback event is greater than the frequency threshold; wherein, the target playback event is used to represent a video The playback duration of a single video in the playback interface is less than the duration threshold, and the first interaction mode is used to instruct to play the video acted by the click operation in response to the click operation on the video in the video list interface.
在一些实施例中,目标界面为视频列表界面,目标交互方式用于指示响应于对视频列表界面中视频的点击操作,播放点击操作所作用的视频。In some embodiments, the target interface is a video list interface, and the target interaction mode is used to instruct, in response to a click operation on a video in the video list interface, to play the video acted by the click operation.
该交互处理装置500还包括:第二替换单元,被配置为在视频列表界面中被点击的视频所占的比重大于比重阈值的情况下,将目标交互方式替换为第二交互方式;其中,比重为第一数量与第二数量的比值,第一数量为视频列表界面中点击操作所作用的视频的数量,第二数量为视频列表界面中视频的总数量,第二交互方式用于指示响应于视频播放界面上的滑动操作,切换视频播放界面中的视频。The interaction processing apparatus 500 further includes: a second replacement unit, configured to replace the target interaction mode with the second interaction mode when the proportion of the clicked video in the video list interface is greater than the proportion threshold; wherein the proportion of is the ratio of the first number to the second number, the first number is the number of videos acted on by the click operation in the video list interface, the second number is the total number of videos in the video list interface, and the second interaction mode is used to indicate the response to The sliding operation on the video playback interface switches the video in the video playback interface.
关于上述实施例中的装置,其中各个模块操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific operation of each module has been described in detail in the embodiment of the method, and will not be described in detail here.
在本公开实施例中,计算机设备可被配置为终端和服务器中的至少一个。在计算机设备被配置为终端的情况下,由终端作为主体来实施本公开实施例提供的技术方案。在计算机设备被配置为服务器的情况下,由服务器作为主体来实施本公开实施例提供的技术方案。在计算机设备被配置为终端和服务器的情况下,通过终端和服务器之间的交互来实施本公开提供的技术方案,本公开实施例对此不加以限定。其中,参见图3,属性信息的获取、目标界面的显示、基于目标界面对目标交互操作的检测、基于目标交互方式,对目标交互操作进行响应这些步骤由终端来执行,而基于属性信息确定目标交互方式的步骤由服务器来执行。In an embodiment of the present disclosure, the computer device may be configured as at least one of a terminal and a server. In the case where the computer device is configured as a terminal, the terminal is used as the main body to implement the technical solutions provided by the embodiments of the present disclosure. In the case where the computer device is configured as a server, the server is used as the main body to implement the technical solutions provided by the embodiments of the present disclosure. In the case where the computer device is configured as a terminal and a server, the technical solution provided by the present disclosure is implemented through the interaction between the terminal and the server, which is not limited in this embodiment of the present disclosure. 3 , the steps of acquiring attribute information, displaying the target interface, detecting the target interactive operation based on the target interface, and responding to the target interactive operation based on the target interaction method are performed by the terminal, and the target is determined based on the attribute information. The steps of the interactive mode are performed by the server.
在计算机设备被配置为终端的情况下,图6是根据一示例性实施例示出的一种终端600的框图。该终端600可以是智能手机、平板电脑、智能手表或者手提电脑等。终端600还可以被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。In the case where the computer device is configured as a terminal, FIG. 6 is a block diagram of a terminal 600 according to an exemplary embodiment. The terminal 600 may be a smart phone, a tablet computer, a smart watch, or a laptop computer. The terminal 600 may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal, and the like by other names.
通常,终端600包括有:处理器601和存储器602。Generally, the terminal 600 includes: a processor 601 and a memory 602 .
处理器601包括一个或多个处理核心,比如4核心处理器、8核心处理器等。 处理器601采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。在一些实施例中,处理器601包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器601集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。在一些实施例中,处理器601包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 601 includes one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 601 is implemented by at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), and PLA (Programmable Logic Array, programmable logic array). . In some embodiments, the processor 601 includes a main processor and a co-processor, and the main processor is a processor for processing data in a wake-up state, also referred to as a CPU (Central Processing Unit, central processing unit); A coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 601 is integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 601 includes an AI (Artificial Intelligence, artificial intelligence) processor for processing computing operations related to machine learning.
存储器602包括一个或多个计算机可读存储介质,该计算机可读存储介质是非暂态的。存储器602还包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器602中的非暂态的计算机可读存储介质用于存储至少一条指令,该至少一条指令用于被处理器601所执行以实现本公开中方法实施例提供的交互处理方法。 Memory 602 includes one or more computer-readable storage media that are non-transitory. Memory 602 also includes high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, a non-transitory computer-readable storage medium in the memory 602 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 601 to implement the interactive processing provided by the method embodiments of the present disclosure method.
在一些实施例中,终端600还可以包括有:外围设备接口603和至少一个外围设备。处理器601、存储器602和外围设备接口603之间通过总线或信号线相连。各个外围设备通过总线、信号线或电路板与外围设备接口603相连。在一些实施例中,外围设备包括:射频电路604、显示屏605、摄像头组件606、音频电路607、定位组件608和电源609中的至少一种。In some embodiments, the terminal 600 may further include: a peripheral device interface 603 and at least one peripheral device. The processor 601, the memory 602 and the peripheral device interface 603 are connected through a bus or a signal line. Each peripheral device is connected to the peripheral device interface 603 through a bus, a signal line or a circuit board. In some embodiments, the peripheral device includes at least one of a radio frequency circuit 604 , a display screen 605 , a camera assembly 606 , an audio circuit 607 , a positioning assembly 608 and a power supply 609 .
外围设备接口603可以用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器601和存储器602。在一些实施例中,处理器601、存储器602和外围设备接口603被集成在同一芯片或电路板上;在一些其他实施例中,处理器601、存储器602和外围设备接口603中的任意一个或两个能够在单独的芯片或电路板上实现,本公开的实施例对此不加以限定。The peripheral device interface 603 can be used to connect at least one peripheral device related to I/O (Input/Output, input/output) to the processor 601 and the memory 602 . In some embodiments, processor 601, memory 602, and peripherals interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 601, memory 602, and peripherals interface 603 or The two can be implemented on a separate chip or circuit board, which is not limited by the embodiments of the present disclosure.
射频电路604用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路604通过电磁信号与通信网络以及其他通信设备进行通信。射频电路604将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。在一些实施例中,射频电路604包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户 身份模块卡等等。射频电路604通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路604还包括NFC(Near Field Communication,近距离无线通信)有关的电路,本公开对此不加以限定。The radio frequency circuit 604 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. The radio frequency circuit 604 communicates with the communication network and other communication devices via electromagnetic signals. The radio frequency circuit 604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. In some embodiments, the radio frequency circuit 604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 604 communicates with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, Wireless Fidelity) network. In some embodiments, the radio frequency circuit 604 further includes a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in the present disclosure.
显示屏605用于显示UI(User Interface,用户界面)。该UI包括图形、文本、图标、视频及其它们的任意组合。在显示屏605是触摸显示屏的情况下,显示屏605还具有采集在显示屏605的表面或表面上方的触摸信号的能力。该触摸信号作为控制信号输入至处理器601进行处理。此时,显示屏605还用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏605为一个,设置在终端600的前面板;在另一些实施例中,显示屏605为至少两个,分别设置在终端600的不同表面或呈折叠设计;在另一些实施例中,显示屏605是柔性显示屏,设置在终端600的弯曲表面上或折叠面上。甚至,显示屏605设置成非矩形的不规则图形,也即异形屏。显示屏605采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。The display screen 605 is used for displaying UI (User Interface, user interface). The UI includes graphics, text, icons, video, and any combination thereof. Where display screen 605 is a touch display screen, display screen 605 also has the ability to acquire touch signals on or above the surface of display screen 605 . The touch signal is input to the processor 601 as a control signal for processing. At this time, the display screen 605 is also used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards. In some embodiments, there is one display screen 605, which is arranged on the front panel of the terminal 600; in other embodiments, there are at least two display screens 605, which are respectively arranged on different surfaces of the terminal 600 or in a folded design; In some embodiments, the display screen 605 is a flexible display screen disposed on a curved or folded surface of the terminal 600 . Even, the display screen 605 is set as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 605 is made of materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).
摄像头组件606用于采集图像或视频。在一些实施例中,摄像头组件606包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件606包括闪光灯。闪光灯是单色温闪光灯或者双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,用于不同色温下的光线补偿。The camera assembly 606 is used to capture images or video. In some embodiments, camera assembly 606 includes a front-facing camera and a rear-facing camera. Usually, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions. In some embodiments, camera assembly 606 includes a flash. The flash is a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which is used for light compensation under different color temperatures.
音频电路607包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器601进行处理,或者输入至射频电路604以实现语音通信。出于立体声采集或降噪的目的,麦克风为多个,分别设置在终端600的不同部位。在一些实施例中,麦克风是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器601或射频电路604的电信号转换为声波。 扬声器是传统的薄膜扬声器或者是压电陶瓷扬声器。在扬声器是压电陶瓷扬声器的情况下,扬声器不仅能够将电信号转换为人类可听见的声波,也能够将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路607还包括耳机插孔。 Audio circuit 607 includes a microphone and a speaker. The microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals and input them to the processor 601 for processing, or to the radio frequency circuit 604 to realize voice communication. For the purpose of stereo collection or noise reduction, there are multiple microphones, which are respectively disposed in different parts of the terminal 600 . In some embodiments, the microphones are array microphones or omnidirectional collection microphones. The speaker is used to convert the electrical signal from the processor 601 or the radio frequency circuit 604 into sound waves. The loudspeaker is a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker. In the case where the loudspeaker is a piezoelectric ceramic loudspeaker, the loudspeaker can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as distance measurement. In some embodiments, the audio circuit 607 also includes a headphone jack.
定位组件608用于定位终端600的地域信息,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件608是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统或俄罗斯的伽利略系统的定位组件。The positioning component 608 is used to locate the regional information of the terminal 600 to implement navigation or LBS (Location Based Service). The positioning component 608 is a positioning component based on the GPS (Global Positioning System, global positioning system) of the United States, the Beidou system of China or the Galileo system of Russia.
电源609用于为终端600中的各个组件进行供电。电源609是交流电、直流电、一次性电池或可充电电池。在电源609包括可充电电池的情况下,该可充电电池是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还用于支持快充技术。The power supply 609 is used to power various components in the terminal 600 . The power source 609 is alternating current, direct current, a primary battery or a rechargeable battery. Where the power source 609 includes a rechargeable battery, the rechargeable battery is a wired rechargeable battery or a wireless rechargeable battery. Wired rechargeable batteries are batteries that are charged through wired lines, and wireless rechargeable batteries are batteries that are charged through wireless coils. The rechargeable battery is also used to support fast charging technology.
在一些实施例中,终端600还包括有一个或多个传感器610。该一个或多个传感器610包括但不限于:加速度传感器611、陀螺仪传感器612、压力传感器613、指纹传感器614、光学传感器615以及接近传感器616。In some embodiments, terminal 600 also includes one or more sensors 610 . The one or more sensors 610 include, but are not limited to, an acceleration sensor 611 , a gyro sensor 612 , a pressure sensor 613 , a fingerprint sensor 614 , an optical sensor 615 and a proximity sensor 616 .
加速度传感器611用于检测以终端600建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器611用于检测重力加速度在三个坐标轴上的分量。处理器601根据加速度传感器611采集的重力加速度信号,控制显示屏605以横向视图或纵向视图进行用户界面的显示。加速度传感器611还用于游戏或者用户的运动数据的采集。The acceleration sensor 611 is used to detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 600 . For example, the acceleration sensor 611 is used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 601 controls the display screen 605 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 611 . The acceleration sensor 611 is also used for game or user movement data collection.
陀螺仪传感器612检测终端600的机体方向及转动角度,陀螺仪传感器612与加速度传感器611协同采集用户对终端600的3D动作。处理器601根据陀螺仪传感器612采集的数据,实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyroscope sensor 612 detects the body direction and rotation angle of the terminal 600 , and the gyroscope sensor 612 cooperates with the acceleration sensor 611 to collect 3D actions of the user on the terminal 600 . The processor 601 implements the following functions according to the data collected by the gyroscope sensor 612 : motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
压力传感器613设置在终端600的侧边框和/或显示屏605的下层。在压力传感器613设置在终端600的侧边框的情况下,压力传感器613检测用户对终端600的握持信号,由处理器601根据压力传感器613采集的握持信号进行左右手识别或快捷操作。在压力传感器613设置在显示屏605的下层的情况下,由处理器601根据用户对显示屏605的压力操作,实现对UI界面上的可操作性 控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 613 is disposed on the side frame of the terminal 600 and/or the lower layer of the display screen 605 . When the pressure sensor 613 is disposed on the side frame of the terminal 600 , the pressure sensor 613 detects the user's holding signal of the terminal 600 , and the processor 601 performs left and right hand recognition or shortcut operations according to the holding signal collected by the pressure sensor 613 . In the case where the pressure sensor 613 is arranged on the lower layer of the display screen 605, the processor 601 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 605. The operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
指纹传感器614用于采集用户的指纹,由处理器601根据指纹传感器614采集到的指纹识别用户的身份,或者,由指纹传感器614根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份的情况下,由处理器601授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器614被设置在终端600的正面、背面或侧面。在终端600上设置有物理按键或厂商Logo的情况下,指纹传感器614与物理按键或厂商Logo集成在一起。The fingerprint sensor 614 is used to collect the user's fingerprint, and the processor 601 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 614, or the fingerprint sensor 614 identifies the user's identity according to the collected fingerprint. In the case that the identity of the user is identified as a trusted identity, the processor 601 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 614 is provided on the front, back or side of the terminal 600 . In the case where the terminal 600 is provided with a physical button or a manufacturer's logo, the fingerprint sensor 614 is integrated with the physical button or the manufacturer's logo.
光学传感器615用于采集环境光强度。在一个实施例中,处理器601根据光学传感器615采集的环境光强度,控制显示屏605的显示亮度。在一些实施例中,在环境光强度较高的情况下,调高显示屏605的显示亮度;在环境光强度较低的情况下,调低显示屏605的显示亮度。在另一个实施例中,处理器601根据光学传感器615采集的环境光强度,动态调整摄像头组件606的拍摄参数。Optical sensor 615 is used to collect ambient light intensity. In one embodiment, the processor 601 controls the display brightness of the display screen 605 according to the ambient light intensity collected by the optical sensor 615 . In some embodiments, when the ambient light intensity is high, the display brightness of the display screen 605 is increased; when the ambient light intensity is low, the display brightness of the display screen 605 is decreased. In another embodiment, the processor 601 dynamically adjusts the shooting parameters of the camera assembly 606 according to the ambient light intensity collected by the optical sensor 615 .
接近传感器616,也称距离传感器,通常设置在终端600的前面板。接近传感器616用于采集用户与终端600的正面之间的距离。在一个实施例中,在接近传感器616检测到用户与终端600的正面之间的距离逐渐变小的情况下,由处理器601控制显示屏605从亮屏状态切换为息屏状态;在接近传感器616检测到用户与终端600的正面之间的距离逐渐变大的情况下,由处理器601控制显示屏605从息屏状态切换为亮屏状态。A proximity sensor 616 , also called a distance sensor, is usually provided on the front panel of the terminal 600 . The proximity sensor 616 is used to collect the distance between the user and the front of the terminal 600 . In one embodiment, when the proximity sensor 616 detects that the distance between the user and the front of the terminal 600 gradually decreases, the processor 601 controls the display screen 605 to switch from the bright screen state to the off screen state; 616 When it is detected that the distance between the user and the front of the terminal 600 is gradually increasing, the processor 601 controls the display screen 605 to switch from the screen-off state to the screen-on state.
本领域技术人员能够理解,图6中示出的结构并不构成对终端600的限定,例如,包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 6 does not constitute a limitation on the terminal 600, for example, it includes more or less components than the one shown, or combines some components, or adopts different component arrangements.
在计算机设备被配置为服务器的情况下,图7是根据一示例性实施例示出的一种服务器的框图,该服务器700可因配置或性能不同而产生比较大的差异,包括一个或一个以上处理器(Central Processing Units,CPU)701和一个或一个以上的存储器702,其中,存储器702用于存储可执行指令,处理器701被配置为执行上述可执行指令,以实现上述各个方法实施例提供的交互处理方法。当然,该服务器还具有有线或无线网络接口、键盘以及输入输出接口等部件,以便进行输入输出,该服务器还包括其他用于实现设备功能的部件,在此不做赘 述。In the case where the computer device is configured as a server, FIG. 7 is a block diagram of a server according to an exemplary embodiment. The server 700 may vary greatly due to different configurations or performance, including one or more processing A processor (Central Processing Units, CPU) 701 and one or more memories 702, wherein the memory 702 is used to store executable instructions, and the processor 701 is configured to execute the above executable instructions, so as to implement the above-mentioned various method embodiments. Interactive processing method. Of course, the server also has components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server also includes other components for implementing device functions, which are not described here.
在示例性实施例中,还提供了一种包括指令的存储介质,例如包括指令的存储器702,上述指令可由服务器700的处理器701执行以完成上述交互处理方法。在一些实施例中,存储介质是非临时性计算机可读存储介质,例如,非临时性计算机可读存储介质是ROM(Read-Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、CD-ROM(Compact Disc Read-Only Memory,只读光盘)、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a storage medium including instructions, such as a memory 702 including instructions, is also provided, and the above-mentioned instructions can be executed by the processor 701 of the server 700 to complete the above-mentioned interactive processing method. In some embodiments, the storage medium is a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium is ROM (Read-Only Memory, read only memory), RAM (Random Access Memory, random access memory) ), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk and optical data storage devices, etc.
在示例性实施例中,还提供了一种计算机程序产品,当计算机程序产品中的指令由计算机设备的处理器执行时,使得计算机设备能够执行上述各个方法实施例中的交互处理方法。In an exemplary embodiment, a computer program product is also provided, when the instructions in the computer program product are executed by the processor of the computer device, the computer device can execute the interactive processing method in each of the above method embodiments.
本公开所有实施例均能够单独被执行,也能够与其他实施例相结合被执行,均视为本公开要求的保护范围。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.

Claims (35)

  1. 一种交互处理方法,所述方法包括:An interactive processing method, the method comprising:
    获取当前登录账号的至少一个属性信息,所述属性信息用于表示所述当前登录账号所属用户的属性;Obtain at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs;
    从多个交互方式中确定出目标交互方式,所述目标交互方式与所述至少一个属性信息匹配并且用于指示目标交互操作的响应方式,所述目标交互操作与所述目标交互方式相对应;以及determining a target interaction mode from a plurality of interaction modes, the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
    响应于在目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
  2. 根据权利要求1所述的交互处理方法,其中,所述从多个交互方式中确定出目标交互方式,包括:The interaction processing method according to claim 1, wherein the determining the target interaction mode from a plurality of interaction modes comprises:
    确定每个所述交互方式与所述至少一个属性信息的匹配度;以及determining a degree of matching of each of the interaction modes with the at least one attribute information; and
    将匹配度最高的交互方式确定为所述目标交互方式。The interaction mode with the highest matching degree is determined as the target interaction mode.
  3. 根据权利要求2所述的交互处理方法,其中,所述确定每个所述交互方式与所述至少一个属性信息的匹配度,包括:The interaction processing method according to claim 2, wherein the determining the degree of matching between each of the interaction modes and the at least one attribute information comprises:
    确定每个所述属性信息对应的交互方式;determining the interaction mode corresponding to each of the attribute information;
    获取所述至少一个属性信息中每个所述属性信息的权重,所述权重用于表示所述属性信息对于确定所述对应的交互方式的重要程度;以及obtaining a weight of each of the attribute information in the at least one attribute information, where the weight is used to indicate the importance of the attribute information for determining the corresponding interaction mode; and
    将对应于同一个交互方式的属性信息的权重相加,得到所述交互方式与所述至少一个属性信息的匹配度。The weights of the attribute information corresponding to the same interaction mode are added to obtain the matching degree of the interaction mode and the at least one attribute information.
  4. 根据权利要求1所述的交互处理方法,其中,所述获取当前登录账号的至少一个属性信息,包括:The interaction processing method according to claim 1, wherein the acquiring at least one attribute information of the current login account comprises:
    获取所述当前登录账号的地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个;Obtain at least one of the geographical information, age information, gender information, channel information and device information of the current login account;
    将所述地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个组成所述至少一个属性信息,forming the at least one attribute information from at least one of the geographical information, age information, gender information, channel information and device information,
    其中,所述地域信息用于表示显示所述目标界面的计算机设备所在的地域,所述渠道信息用于表示所述目标界面所属的应用程序的下载渠道,所述设备信息用于表示显示所述目标界面的计算机设备的操作系统的类别。The region information is used to indicate the region where the computer device displaying the target interface is located, the channel information is used to indicate the download channel of the application to which the target interface belongs, and the device information is used to indicate the display of the target interface. The category of the computer device's operating system for the target interface.
  5. 根据权利要求1所述的交互处理方法,其中,所述交互处理方法还包括:The interaction processing method according to claim 1, wherein the interaction processing method further comprises:
    响应于所述当前登录账号为首次登录的账号,执行所述获取当前登录账号的至少一个属性信息的步骤。The step of acquiring at least one attribute information of the current login account is performed in response to the current login account being the account for the first login.
  6. 根据权利要求1所述的交互处理方法,其中,所述交互处理方法还包括:The interaction processing method according to claim 1, wherein the interaction processing method further comprises:
    显示提示界面,所述提示界面包括所述多个交互方式的选择控件;以及displaying a prompt interface, the prompt interface including selection controls for the plurality of interaction modes; and
    响应于未检测到对所述多个交互方式的选择控件的选中操作,执行所述获取当前登录账号的至少一个属性信息的步骤。The step of acquiring at least one attribute information of the currently logged-in account is performed in response to not detecting a selection operation on the plurality of interactive mode selection controls.
  7. 根据权利要求6所述的交互处理方法,其中,所述交互处理方法还包括:The interaction processing method according to claim 6, wherein the interaction processing method further comprises:
    响应于对所述提示界面中的交互方式的选择控件的选中操作,将被选中的所述交互方式确定为所述目标交互方式。In response to the selection operation on the selection control of the interaction mode in the prompt interface, the selected interaction mode is determined as the target interaction mode.
  8. 根据权利要求6或7所述的交互处理方法,其中,所述显示提示界面,包括:The interactive processing method according to claim 6 or 7, wherein the displaying a prompt interface comprises:
    除了在所述提示界面中显示所述多个交互方式的选择控件之外,还在所述提示界面中显示所述多个交互方式的演示动画,所述多个交互方式中的每个交互方式的演示动画用于展示基于所述交互方式,对所述交互方式对应的交互操作进行响应的过程。In addition to displaying the selection controls of the multiple interaction modes in the prompt interface, a demonstration animation of the multiple interaction modes is also displayed in the prompt interface, and each interaction mode in the multiple interaction modes is also displayed in the prompt interface. The demonstration animation is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
  9. 根据权利要求1所述的交互处理方法,其中,所述交互处理方法还包括:The interaction processing method according to claim 1, wherein the interaction processing method further comprises:
    存储所述当前登录账号与所述目标交互方式的对应关系;storing the corresponding relationship between the current login account and the target interaction mode;
    响应于基于所述当前登录账号的重新登录操作,基于已存储的所述对应关系,确定所述目标交互方式;以及determining the target interaction mode based on the stored correspondence in response to a re-login operation based on the current login account; and
    响应于在所述目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
  10. 根据权利要求1所述的交互处理方法,其中,所述目标界面为视频播放界面,所述目标交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频;并且The interaction processing method according to claim 1, wherein the target interface is a video playback interface, and the target interaction mode is used to indicate that in response to a sliding operation on the video playback interface, switching the video playback interface video; and
    所述交互处理方法还包括:The interaction processing method further includes:
    在目标播放事件的发生频率大于频率阈值的情况下,将所述目标交互方式替换为第一交互方式,In the case that the occurrence frequency of the target playback event is greater than the frequency threshold, the target interaction mode is replaced with the first interaction mode,
    其中,所述目标播放事件用于表示所述视频播放界面中单个视频的播放时长小于时长阈值,所述第一交互方式用于指示响应于对所述视频列表界面中视频的点击操作,播放所述点击操作所作用的视频。Wherein, the target playback event is used to indicate that the playback duration of a single video in the video playback interface is less than the duration threshold, and the first interaction mode is used to indicate that in response to a click operation on the video in the video list interface, play all the videos. A video of what the click action will do.
  11. 根据权利要求1所述的交互处理方法,其中,所述目标界面为视频列表界面,所述目标交互方式用于指示响应于对所述视频列表界面中视频的点击操作,播放所述点击操作所作用的视频;并且The interaction processing method according to claim 1, wherein the target interface is a video list interface, and the target interaction mode is used to indicate that in response to a click operation on a video in the video list interface, play the click operation. video of the action; and
    所述交互处理方法还包括:The interaction processing method further includes:
    在所述视频列表界面中被点击的视频所占的比重大于比重阈值的情况下,将所述目标交互方式替换为第二交互方式,In the case where the proportion of the clicked video in the video list interface is greater than the proportion threshold, the target interaction mode is replaced by the second interaction mode,
    其中,所述比重为第一数量与第二数量的比值,所述第一数量为所述视频列表界面中点击操作所作用的视频的数量,所述第二数量为所述视频列表界面中视频的总数量,所述第二交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频。Wherein, the proportion is the ratio of the first number to the second number, the first number is the number of videos acted on by the click operation in the video list interface, and the second number is the videos in the video list interface The second interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface.
  12. 一种交互处理装置,所述装置包括:An interactive processing device, the device comprising:
    获取单元,被配置为获取当前登录账号的至少一个属性信息,所述属性信息用于表示所述当前登录账号所属用户的属性;an obtaining unit, configured to obtain at least one attribute information of the current login account, where the attribute information is used to represent the attribute of the user to which the current login account belongs;
    确定单元,被配置为从多个交互方式中确定出目标交互方式,所述目标交互方式与所述至少一个属性信息匹配并且用于指示目标交互操作的响应方式,所述目标交互操作与所述目标交互方式相对应;以及a determining unit, configured to determine a target interaction mode from a plurality of interaction modes, the target interaction mode is matched with the at least one attribute information and is used to indicate a response mode of a target interaction operation, the target interaction operation is related to the target interaction; and
    响应单元,被配置为响应于在目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。A response unit, configured to respond to the target interaction operation based on the target interaction manner in response to detecting the target interaction operation on the target interface.
  13. 根据权利要求12所述的交互处理装置,其中,所述确定单元,包括:The interaction processing apparatus according to claim 12, wherein the determining unit comprises:
    第一确定子单元,被配置为确定每个所述交互方式与所述至少一个属性信息的匹配度;以及a first determination subunit configured to determine the degree of matching of each of the interaction modes with the at least one attribute information; and
    第二确定子单元,被配置为将匹配度最高的交互方式确定为所述目标交互方式。The second determining subunit is configured to determine the interaction mode with the highest matching degree as the target interaction mode.
  14. 根据权利要求13所述的交互处理装置,其中,所述第一确定子单元,被配置为:The interaction processing apparatus according to claim 13, wherein the first determination subunit is configured to:
    确定每个所述属性信息对应的交互方式;determining the interaction mode corresponding to each of the attribute information;
    获取所述至少一个属性信息中每个所述属性信息的权重,所述权重用于表示所述属性信息对于确定所述对应的交互方式的重要程度;以及obtaining a weight of each of the attribute information in the at least one attribute information, where the weight is used to indicate the importance of the attribute information for determining the corresponding interaction mode; and
    将对应于同一个交互方式的属性信息的权重相加,得到所述交互方式与所述至少一个属性信息的匹配度。The weights of the attribute information corresponding to the same interaction mode are added to obtain the matching degree of the interaction mode and the at least one attribute information.
  15. 根据权利要求12所述的交互处理装置,其中,所述获取单元,被配置为获取所述当前登录账号的地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个,将所述地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个组成所述至少一个属性信息,The interaction processing apparatus according to claim 12, wherein the obtaining unit is configured to obtain at least one of the region information, age information, gender information, channel information and device information of the currently logged-in account, and store the At least one of geographical information, age information, gender information, channel information and device information constitutes the at least one attribute information,
    其中,所述地域信息用于表示显示所述目标界面的计算机设备所在的地域,所述渠道信息用于表示所述目标界面所属的应用程序的下载渠道,所述设备信息用于表示显示所述目标界面的计算机设备的操作系统的类别。The region information is used to indicate the region where the computer device displaying the target interface is located, the channel information is used to indicate the download channel of the application to which the target interface belongs, and the device information is used to indicate the display of the target interface. The category of the computer device's operating system for the target interface.
  16. 根据权利要求12所述的交互处理装置,其中,所述获取单元,被配置为响应于所述当前登录账号为首次登录的账号,获取当前登录账号的至少一个属性信息。The interaction processing apparatus according to claim 12, wherein the acquiring unit is configured to acquire at least one attribute information of the current login account in response to the current login account being an account for the first login.
  17. 根据权利要求12所述的交互处理装置,其中,所述交互处理装置还包括:The interaction processing apparatus according to claim 12, wherein the interaction processing apparatus further comprises:
    显示单元,被配置为显示提示界面,所述提示界面包括所述多个交互方式的选择控件;以及a display unit configured to display a prompt interface, the prompt interface including selection controls for the plurality of interaction modes; and
    所述获取单元,被配置为响应于未检测到对所述多个交互方式的选择控件的选中操作,获取当前登录账号的至少一个属性信息。The acquiring unit is configured to acquire at least one attribute information of the current login account in response to not detecting a selection operation on the selection controls of the plurality of interaction modes.
  18. 根据权利要求17所述的交互处理装置,其中,所述确定单元,还被配置为响应于对所述提示界面中的交互方式的选择控件的选中操作,将被选中的所述交互方式确定为所述目标交互方式。The interaction processing apparatus according to claim 17, wherein the determining unit is further configured to, in response to a selection operation on a selection control for the interaction mode in the prompt interface, determine the selected interaction mode as The target interaction mode.
  19. 根据权利要求17或18所述的交互处理装置,其中,所述显示单元,被配置为除了在所述提示界面中显示所述多个交互方式的选择控件之外,还在所述提示界面中显示所述多个交互方式的演示动画,所述多个交互方式中的每个交互方式的演示动画用于展示基于所述交互方式,对所述交互方式对应的交互操作进行响应的过程。The interaction processing apparatus according to claim 17 or 18, wherein the display unit is configured to, in addition to displaying the selection controls for the plurality of interaction modes in the prompt interface, also display the prompt interface in the prompt interface Demonstration animations of the multiple interaction modes are displayed, and the demonstration animation of each interaction mode in the multiple interaction modes is used to show a process of responding to an interaction operation corresponding to the interaction mode based on the interaction mode.
  20. 根据权利要求12所述的交互处理装置,其中,所述交互处理装置还包括:The interaction processing apparatus according to claim 12, wherein the interaction processing apparatus further comprises:
    存储单元,被配置为存储所述当前登录账号与所述目标交互方式的对应关系;a storage unit, configured to store the corresponding relationship between the current login account and the target interaction mode;
    所述确定单元,还被配置为响应于基于所述当前登录账号的重新登录操作,基于已存储的所述对应关系,确定所述目标交互方式;以及The determining unit is further configured to, in response to a re-login operation based on the current login account, determine the target interaction mode based on the stored correspondence; and
    所述响应单元,还被配置为响应于在所述目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。The response unit is further configured to, in response to detecting the target interaction operation on the target interface, respond to the target interaction operation based on the target interaction manner.
  21. 根据权利要求12所述的交互处理装置,其中,所述目标界面为视频播放界面,所述目标交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频;并且The interaction processing apparatus according to claim 12, wherein the target interface is a video playback interface, and the target interaction mode is used to instruct to switch the video playback interface in response to a sliding operation on the video playback interface. video; and
    所述交互处理装置还包括:The interaction processing device further includes:
    第一替换单元,被配置为在目标播放事件的发生频率大于频率阈值的情况下,将所述目标交互方式替换为第一交互方式,a first replacement unit, configured to replace the target interaction mode with the first interaction mode when the occurrence frequency of the target playback event is greater than the frequency threshold,
    其中,所述目标播放事件用于表示所述视频播放界面中单个视频的播放时长小于时长阈值,所述第一交互方式用于指示响应于对所述视频列表界面中视频的点击操作,播放所述点击操作所作用的视频。Wherein, the target playback event is used to indicate that the playback duration of a single video in the video playback interface is less than the duration threshold, and the first interaction mode is used to indicate that in response to a click operation on the video in the video list interface, play all the videos. A video of what the click action will do.
  22. 根据权利要求12所述的交互处理装置,其中,所述目标界面为视频列表界面,所述目标交互方式用于指示响应于对所述视频列表界面中视频的点击操作,播放所述点击操作所作用的视频;并且The interaction processing apparatus according to claim 12, wherein the target interface is a video list interface, and the target interaction mode is used to indicate that in response to a click operation on a video in the video list interface, play the click operation. video of the action; and
    所述交互处理装置还包括:The interaction processing device further includes:
    第二替换单元,被配置为在所述视频列表界面中被点击的视频所占的比重大于比重阈值的情况下,将所述目标交互方式替换为第二交互方式,The second replacement unit is configured to replace the target interaction mode with the second interaction mode when the proportion of the clicked videos in the video list interface is greater than the proportion threshold,
    其中,所述比重为第一数量与第二数量的比值,所述第一数量为所述视频列表界面中点击操作所作用的视频的数量,所述第二数量为所述视频列表界面中视频的总数量,所述第二交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频。Wherein, the proportion is the ratio of the first number to the second number, the first number is the number of videos acted on by the click operation in the video list interface, and the second number is the videos in the video list interface The second interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface.
  23. 一种计算机设备,所述计算机设备包括:A computer device comprising:
    一个或多个处理器;one or more processors;
    用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
    其中,所述处理器被配置为执行所述指令,以实现如下步骤:Wherein, the processor is configured to execute the instructions to achieve the following steps:
    获取当前登录账号的至少一个属性信息,所述属性信息用于表示所述当前登录账号所属用户的属性;Obtain at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs;
    从多个交互方式中确定出目标交互方式,所述目标交互方式与所述至少一个属性信息匹配并且用于指示目标交互操作的响应方式,所述目标交互操作与所述目标交互方式相对应;以及determining a target interaction mode from a plurality of interaction modes, the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
    响应于在目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
  24. 根据权利要求23所述的计算机设备,其中,所述处理器被配置为执行所述指令,以实现如下步骤:24. The computer device of claim 23, wherein the processor is configured to execute the instructions to implement the steps of:
    确定每个所述交互方式与所述至少一个属性信息的匹配度;以及determining a degree of matching of each of the interaction modes with the at least one attribute information; and
    将匹配度最高的交互方式确定为所述目标交互方式。The interaction mode with the highest matching degree is determined as the target interaction mode.
  25. 根据权利要求24所述的计算机设备,其中,所述处理器被配置为执行所 述指令,以实现如下步骤:The computer device of claim 24, wherein the processor is configured to execute the instructions to implement the steps of:
    确定每个所述属性信息对应的交互方式;determining the interaction mode corresponding to each of the attribute information;
    获取所述至少一个属性信息中每个所述属性信息的权重,所述权重用于表示所述属性信息对于确定所述对应的交互方式的重要程度;以及obtaining a weight of each of the attribute information in the at least one attribute information, where the weight is used to indicate the importance of the attribute information for determining the corresponding interaction mode; and
    将对应于同一个交互方式的属性信息的权重相加,得到所述交互方式与所述至少一个属性信息的匹配度。The weights of the attribute information corresponding to the same interaction mode are added to obtain the matching degree of the interaction mode and the at least one attribute information.
  26. 根据权利要求23所述的计算机设备,其中,所述处理器被配置为执行所述指令,以实现如下步骤:24. The computer device of claim 23, wherein the processor is configured to execute the instructions to implement the steps of:
    获取所述当前登录账号的地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个;Obtain at least one of the geographical information, age information, gender information, channel information and device information of the current login account;
    将所述地域信息、年龄信息、性别信息、渠道信息和设备信息中的至少一个组成所述至少一个属性信息,forming the at least one attribute information from at least one of the geographical information, age information, gender information, channel information and device information,
    其中,所述地域信息用于表示显示所述目标界面的计算机设备所在的地域,所述渠道信息用于表示所述目标界面所属的应用程序的下载渠道,所述设备信息用于表示显示所述目标界面的计算机设备的操作系统的类别。The region information is used to indicate the region where the computer device displaying the target interface is located, the channel information is used to indicate the download channel of the application to which the target interface belongs, and the device information is used to indicate the display of the target interface. The category of the computer device's operating system for the target interface.
  27. 根据权利要求23所述的计算机设备,其中,所述处理器被配置为执行所述指令,以实现如下步骤:24. The computer device of claim 23, wherein the processor is configured to execute the instructions to implement the steps of:
    响应于所述当前登录账号为首次登录的账号,获取当前登录账号的至少一个属性信息。In response to the current login account being an account for the first login, at least one attribute information of the current login account is acquired.
  28. 根据权利要求23所述的计算机设备,其中,所述处理器被配置为执行所述指令,以实现如下步骤:24. The computer device of claim 23, wherein the processor is configured to execute the instructions to implement the steps of:
    显示提示界面,所述提示界面包括所述多个交互方式的选择控件;以及displaying a prompt interface, the prompt interface including selection controls for the plurality of interaction modes; and
    响应于未检测到对所述多个交互方式的选择控件的选中操作,获取当前登录账号的至少一个属性信息。Acquire at least one attribute information of the currently logged-in account in response to not detecting a selection operation on the plurality of interactive mode selection controls.
  29. 根据权利要求28所述的计算机设备,其中,所述处理器被配置为执行所述指令,以实现如下步骤:29. The computer device of claim 28, wherein the processor is configured to execute the instructions to implement the steps of:
    响应于对所述提示界面中的交互方式的选择控件的选中操作,将被选中的所述交互方式确定为所述目标交互方式。In response to the selection operation on the selection control of the interaction mode in the prompt interface, the selected interaction mode is determined as the target interaction mode.
  30. 根据权利要求28或29所述的计算机设备,其中,所述处理器被配置为执行所述指令,以实现如下步骤:A computer device according to claim 28 or 29, wherein the processor is configured to execute the instructions to implement the steps of:
    除了在所述提示界面中显示所述多个交互方式的选择控件之外,还在所述提示界面中显示所述多个交互方式的演示动画,所述多个交互方式中的每个交互方式的演示动画用于展示基于所述交互方式,对所述交互方式对应的交互操作进行响应的过程。In addition to displaying the selection controls of the multiple interaction modes in the prompt interface, a demonstration animation of the multiple interaction modes is also displayed in the prompt interface, and each interaction mode in the multiple interaction modes is also displayed in the prompt interface. The demonstration animation is used to show the process of responding to the interaction operation corresponding to the interaction mode based on the interaction mode.
  31. 根据权利要求23所述的计算机设备,其中,所述处理器被配置为执行所述指令,以实现如下步骤:24. The computer device of claim 23, wherein the processor is configured to execute the instructions to implement the steps of:
    存储所述当前登录账号与所述目标交互方式的对应关系;storing the corresponding relationship between the current login account and the target interaction mode;
    响应于基于所述当前登录账号的重新登录操作,基于已存储的所述对应关系,确定所述目标交互方式;以及determining the target interaction mode based on the stored correspondence in response to a re-login operation based on the current login account; and
    响应于在所述目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
  32. 根据权利要求23所述的计算机设备,其中,所述目标界面为视频播放界面,所述目标交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频;并且The computer device according to claim 23, wherein the target interface is a video playback interface, and the target interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface ;and
    所述处理器被配置为执行所述指令,以实现如下步骤:The processor is configured to execute the instructions to implement the steps of:
    在目标播放事件的发生频率大于频率阈值的情况下,将所述目标交互方式替换为第一交互方式,In the case that the occurrence frequency of the target playback event is greater than the frequency threshold, the target interaction mode is replaced with the first interaction mode,
    其中,所述目标播放事件用于表示所述视频播放界面中单个视频的播放时长小于时长阈值,所述第一交互方式用于指示响应于对所述视频列表界面中视频的点击操作,播放所述点击操作所作用的视频。Wherein, the target playback event is used to indicate that the playback duration of a single video in the video playback interface is less than the duration threshold, and the first interaction mode is used to indicate that in response to a click operation on the video in the video list interface, play all the videos. A video of what the click action will do.
  33. 根据权利要求23所述的计算机设备,其中,所述目标界面为视频列表界面,所述目标交互方式用于指示响应于对所述视频列表界面中视频的点击操作, 播放所述点击操作所作用的视频;并且The computer device according to claim 23, wherein the target interface is a video list interface, and the target interaction mode is used to indicate that in response to a click operation on a video in the video list interface, play the effect of the click operation 's video; and
    所述处理器被配置为执行所述指令,以实现如下步骤:The processor is configured to execute the instructions to implement the steps of:
    在所述视频列表界面中被点击的视频所占的比重大于比重阈值的情况下,将所述目标交互方式替换为第二交互方式,In the case where the proportion of the clicked video in the video list interface is greater than the proportion threshold, the target interaction mode is replaced by the second interaction mode,
    其中,所述比重为第一数量与第二数量的比值,所述第一数量为所述视频列表界面中点击操作所作用的视频的数量,所述第二数量为所述视频列表界面中视频的总数量,所述第二交互方式用于指示响应于所述视频播放界面上的滑动操作,切换所述视频播放界面中的视频。Wherein, the proportion is the ratio of the first number to the second number, the first number is the number of videos acted on by the click operation in the video list interface, and the second number is the videos in the video list interface The second interaction mode is used to instruct to switch the video in the video playback interface in response to a sliding operation on the video playback interface.
  34. 一种存储介质,当所述存储介质中的指令由计算机设备的处理器执行时,使得所述计算机设备执行如下步骤:A storage medium, when the instructions in the storage medium are executed by a processor of a computer device, the computer device is made to perform the following steps:
    获取当前登录账号的至少一个属性信息,所述属性信息用于表示所述当前登录账号所属用户的属性;Obtain at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs;
    从多个交互方式中确定出目标交互方式,所述目标交互方式与所述至少一个属性信息匹配并且用于指示目标交互操作的响应方式,所述目标交互操作与所述目标交互方式相对应;以及determining a target interaction mode from a plurality of interaction modes, the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
    响应于在目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
  35. 一种计算机程序产品,包括计算机指令,所述计算机指令被处理器执行时实现如下步骤:A computer program product, comprising computer instructions that, when executed by a processor, implement the following steps:
    获取当前登录账号的至少一个属性信息,所述属性信息用于表示所述当前登录账号所属用户的属性;Obtain at least one attribute information of the current login account, where the attribute information is used to indicate the attribute of the user to which the current login account belongs;
    从多个交互方式中确定出目标交互方式,所述目标交互方式与所述至少一个属性信息匹配并且用于指示目标交互操作的响应方式,所述目标交互操作与所述目标交互方式相对应;以及determining a target interaction mode from a plurality of interaction modes, the target interaction mode being matched with the at least one attribute information and used to indicate a response mode of a target interaction operation, the target interaction operation corresponding to the target interaction mode; as well as
    响应于在目标界面上检测到所述目标交互操作,基于所述目标交互方式,对所述目标交互操作进行响应。In response to detecting the target interaction operation on the target interface, responding to the target interaction operation based on the target interaction manner.
PCT/CN2021/106497 2020-10-26 2021-07-15 Interaction processing method and computer device WO2022088765A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011157026.9 2020-10-26
CN202011157026.9A CN112256181B (en) 2020-10-26 2020-10-26 Interaction processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022088765A1 true WO2022088765A1 (en) 2022-05-05

Family

ID=74261128

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/106497 WO2022088765A1 (en) 2020-10-26 2021-07-15 Interaction processing method and computer device

Country Status (2)

Country Link
CN (1) CN112256181B (en)
WO (1) WO2022088765A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118394608A (en) * 2024-06-28 2024-07-26 北京达佳互联信息技术有限公司 Problem monitoring method, device, electronic equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256181B (en) * 2020-10-26 2022-06-03 北京达佳互联信息技术有限公司 Interaction processing method and device, computer equipment and storage medium
CN114489441A (en) * 2022-01-21 2022-05-13 珠海格力电器股份有限公司 Recipe display method and device, electronic equipment and storage medium
CN114816181A (en) * 2022-03-08 2022-07-29 平安科技(深圳)有限公司 Human-computer interaction mode processing method and device based on machine learning and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140223361A1 (en) * 2013-02-07 2014-08-07 Google Inc. Mechanism to reduce accidental clicks on online content
CN108319485A (en) * 2018-01-29 2018-07-24 出门问问信息科技有限公司 Information interacting method, device, equipment and storage medium
CN109151548A (en) * 2018-08-31 2019-01-04 北京优酷科技有限公司 Interface alternation method and device
CN110109596A (en) * 2019-05-08 2019-08-09 芋头科技(杭州)有限公司 Recommended method, device and the controller and medium of interactive mode
CN112256181A (en) * 2020-10-26 2021-01-22 北京达佳互联信息技术有限公司 Interaction processing method and device, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106651357B (en) * 2016-11-16 2021-06-22 网易乐得科技有限公司 Payment mode recommendation method and device
CN110730387B (en) * 2019-11-13 2022-12-06 腾讯科技(深圳)有限公司 Video playing control method and device, storage medium and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140223361A1 (en) * 2013-02-07 2014-08-07 Google Inc. Mechanism to reduce accidental clicks on online content
CN108319485A (en) * 2018-01-29 2018-07-24 出门问问信息科技有限公司 Information interacting method, device, equipment and storage medium
CN109151548A (en) * 2018-08-31 2019-01-04 北京优酷科技有限公司 Interface alternation method and device
CN110109596A (en) * 2019-05-08 2019-08-09 芋头科技(杭州)有限公司 Recommended method, device and the controller and medium of interactive mode
CN112256181A (en) * 2020-10-26 2021-01-22 北京达佳互联信息技术有限公司 Interaction processing method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118394608A (en) * 2024-06-28 2024-07-26 北京达佳互联信息技术有限公司 Problem monitoring method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112256181B (en) 2022-06-03
CN112256181A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN112162671B (en) Live broadcast data processing method and device, electronic equipment and storage medium
CN109618212B (en) Information display method, device, terminal and storage medium
EP4007288A1 (en) Method for pre-loading content data, and electronic device and storage medium
CN109874312B (en) Method and device for playing audio data
WO2022088765A1 (en) Interaction processing method and computer device
CN110149557B (en) Video playing method, device, terminal and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN109144346B (en) Song sharing method and device and storage medium
CN113411680B (en) Multimedia resource playing method, device, terminal and storage medium
CN111836069A (en) Virtual gift presenting method, device, terminal, server and storage medium
CN111368114B (en) Information display method, device, equipment and storage medium
CN111782950B (en) Sample data set acquisition method, device, equipment and storage medium
CN111026992A (en) Multimedia resource preview method, device, terminal, server and storage medium
CN111796990B (en) Resource display method, device, terminal and storage medium
CN112616082A (en) Video preview method, device, terminal and storage medium
CN112100528A (en) Method, device, equipment and medium for training search result scoring model
EP4125274A1 (en) Method and apparatus for playing videos
CN111522483B (en) Multimedia data sharing method and device, electronic equipment and storage medium
CN111241334B (en) Method, device, system, equipment and storage medium for displaying song information page
CN109101166B (en) Audio control method, device and storage medium
CN113064537B (en) Media resource playing method, device, equipment, medium and product
CN114115660B (en) Media resource processing method, device, terminal and storage medium
CN113687902B (en) Resource display method, device, computer equipment and storage medium
CN114860363B (en) Content item display method and device and electronic equipment
CN113420172B (en) Picture sharing method and device, computer equipment and medium

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: 21884501

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 18.08.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21884501

Country of ref document: EP

Kind code of ref document: A1