WO2023143051A1 - 交互方法、装置、电子设备、存储介质和计算机程序产品 - Google Patents

交互方法、装置、电子设备、存储介质和计算机程序产品 Download PDF

Info

Publication number
WO2023143051A1
WO2023143051A1 PCT/CN2023/071574 CN2023071574W WO2023143051A1 WO 2023143051 A1 WO2023143051 A1 WO 2023143051A1 CN 2023071574 W CN2023071574 W CN 2023071574W WO 2023143051 A1 WO2023143051 A1 WO 2023143051A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
target user
personal homepage
target
trigger operation
Prior art date
Application number
PCT/CN2023/071574
Other languages
English (en)
French (fr)
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 WO2023143051A1 publication Critical patent/WO2023143051A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Definitions

  • Embodiments of the present disclosure relate to the field of computer technology, for example, to an interaction method, device, electronic equipment, storage medium, and computer program product.
  • users can publish multimedia content such as videos for other users to view, view multimedia content posted by other users, and express their attitudes towards the viewed multimedia content, such as liking, commenting, or forwarding the multimedia content.
  • the interaction mode of the personal homepage is relatively single, which cannot meet the diverse interaction needs of users, resulting in poor user experience.
  • Embodiments of the present disclosure provide an interaction method, device, electronic equipment, storage medium, and computer program product.
  • an embodiment of the present disclosure provides an interaction method, including:
  • the current page is switched from the personal homepage to an object display page, and the object received by the target user is displayed on the object display page.
  • an embodiment of the present disclosure further provides an interaction device, including:
  • the first receiving module is configured to receive the first trigger operation acting on the personal homepage of the target user
  • the first display module is configured to switch the current page from the personal homepage to an object display page in response to the first trigger operation, and display the object received by the target user on the object display page.
  • an embodiment of the present disclosure also provides an electronic device, including:
  • processors one or more processors
  • memory arranged to store one or more programs
  • the one or more processors are made to implement the interaction method described in the embodiments of the present disclosure.
  • the embodiments of the present disclosure further provide a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the interaction method described in the embodiments of the present disclosure is implemented.
  • the embodiments of the present disclosure further provide a computer program product, when the computer program product is executed by a computer, the computer implements the interaction method as described in the embodiments of the present disclosure.
  • FIG. 1 is a schematic flowchart of an interaction method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic display diagram of a personal homepage provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of an object display page provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of another interaction method provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic display diagram of another personal homepage provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic display diagram of a first object panel provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic display diagram of another first object panel provided by an embodiment of the present disclosure.
  • FIG. 8 is a structural block diagram of an interaction device provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” is “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • Fig. 1 is a schematic flowchart of an interaction method provided by an embodiment of the present disclosure.
  • the method can be executed by an interactive device, wherein the device can be implemented by software and/or hardware, and can be configured in an electronic device, for example, a mobile phone or a tablet computer.
  • the interaction method provided by the embodiments of the present disclosure is applicable to the scenario where the current user interacts with the target user on the target user's personal homepage.
  • the interaction method provided in this embodiment may include:
  • S101 Receive a first trigger operation acting on a personal homepage of a target user.
  • the target user may be a user currently viewing its personal homepage, that is, the user to whom the currently displayed personal homepage belongs, and the personal homepage is the personal homepage of the target user.
  • the first trigger operation may be an operation instructing the terminal device to display the object received by the target user in the target user's object display page, such as triggering a control with a corresponding function in the personal homepage or other trigger operations.
  • the first triggering operation is a sliding operation with a sliding direction along a preset direction, so that there is no need to set a control with this function on the personal homepage, and the number of set controls can be reduced.
  • the terminal device displays the personal homepage of the target user, and the background image of the personal homepage of the target user is displayed in the background image display area 20 of the personal homepage. Therefore, when the current user wants to view the object received by the target user on the object display homepage, the first trigger operation can be performed, such as sliding down on the personal homepage, and sliding to a distance greater than or equal to the first distance threshold When the distance is reached, end the swipe.
  • the object display page can be a full-screen display page, which can be obtained by enlarging the object display area of the personal homepage to the full screen.
  • the object received by the target user can be an interactive object sent to the target user by other users except the target user, and the specific type of the object can be set according to needs, such as the object can be an emoticon image, and of course it is not limited thereto. It can also be other objects that can be used by other users (viewing users) to interact with the target user. Correspondingly, other users can interact with the target user by sending emoticon images to the target user, such as expressing their love for the target user.
  • the object is an emoticon image as an example for description.
  • the terminal device may determine whether the current user's sliding distance is greater than or equal to the first distance threshold when receiving the first trigger operation, such as detecting that the current user's sliding distance is greater than or equal to the first distance threshold, and if it determines that the current user's sliding distance is greater than or is equal to the first distance threshold, then determine the sliding operation as the first trigger operation, switch the current page from the personal home page to the object display page, and display the object received by the target user on the object display page, as shown in Figure 3 .
  • the terminal device can also control the content displayed on the personal homepage to move down synchronously with the current user's sliding during the current user's sliding down, and restore the content displayed on the personal homepage to its original position when the user's sliding ends.
  • the original display position for the current user's sliding distance is less than the first distance threshold
  • switch the personal homepage to the object display page for the current user's sliding distance greater than or equal to the first distance threshold.
  • corresponding prompt information may be displayed in the background image display area to prompt the user to switch to the object display page by stopping sliding.
  • the object received by the target user when the object received by the target user is displayed on the object display page, the object received by the target user can be directly displayed in a static manner, that is, the object received by the target user is directly displayed on the object display page, and Does not control the movement of the object.
  • the object received by the target user when the object received by the target user is displayed, the object can be controlled to move under the action of gravity and/or elastic force until both its speed and acceleration are reduced to zero, so as to increase the speed when the object is displayed.
  • displaying the object received by the target user includes: when a preset condition is met, controlling the object received by the target user to move according to a preset control factor, wherein the preset control factor includes a terminal device At least one of the current inclination angle, gravity, and the preset elastic coefficient of the object.
  • the terminal device may be a device that displays the object, such as a computer device that executes the interaction method provided in this embodiment.
  • the current tilt angle of the terminal device may be the tilt angle of the terminal device relative to the horizontal plane at the current moment, which may be detected by a gyroscope configured in the terminal device.
  • the object received by the target user may first be displayed at the set boundary of the object display page (such as the upper boundary of the object display page);
  • the coefficients control the movement of the object until both its velocity and acceleration drop to zero.
  • an object control for instructing the terminal device to display the first object panel/second object panel may also be displayed at the set boundary, and according to the terminal device
  • the object control's current tilt angle, gravity, and/or the object control's preset spring rate control the object control's motion until its velocity and acceleration both drop to zero
  • the gravity component of gravity in the display plane of the terminal device can be determined according to the tilt angle of the terminal device at the current moment, and the object control/object can be controlled to move within the preset display area according to the gravity component ;
  • the elastic force received by the object control/object can be determined according to its motion speed at the current moment and the preset elastic coefficient, and the object control/object can be controlled according to the elastic force and the gravity Take control.
  • the initial speed of the object controls and objects can be set to zero or other speed values, for example, it can be set to a speed value greater than zero to ensure that when the display plane of the terminal device is parallel to the horizontal plane, the Object controls and objects can still be moved within the preset display area.
  • the direction of the initial velocity may be a downward direction perpendicular to the upper boundary.
  • the gravity component of gravity in the display plane of the terminal device can be calculated in real time according to the changed tilt angle, and the object can be adjusted according to the gravity component controls/objects.
  • the tilt angle of the terminal device changes such as if the user shakes the mobile phone
  • the object control/object displayed in the preset display area can be controlled to follow the user's shaking. Shake and collide in the preset display area, and the mobile phone can be controlled to vibrate.
  • the interaction method provided in this embodiment receives the first trigger operation acting on the personal homepage of the target user; in response to the first trigger operation, switches the current page from the personal homepage to the object display page, and displays the The object received by the target user.
  • the objects sent by other users to the target user are displayed on the object display page, which can not only enrich the interaction mode of the personal homepage; It can also display more comprehensive information, so that the current user can view the objects sent by other users to the target user, thereby providing the current user with a new scene for viewing and interacting with the target user, and increasing the interaction between the current user and the target user Atmosphere, improve the interactive experience between current users and target users.
  • Fig. 4 is a schematic flowchart of another interaction method provided by an embodiment of the present disclosure.
  • the solution in this embodiment can be combined with one or more example solutions in the above-mentioned embodiments.
  • the interaction method provided in this embodiment further includes: receiving a second trigger operation acting on the personal homepage of the target user; in response to the second trigger operation, displaying the target user in the object display area of the personal homepage received object.
  • the method further includes: switching the current page from the object display page to The personal home page.
  • the method further includes: switching the current page from the object display page to The personal homepage, and display the object received by the target user in the object display area of the personal homepage.
  • the method further includes: canceling display of the object in response to a third trigger operation acting on the personal homepage.
  • the interaction method provided in this embodiment further includes: in response to the object sending request, displaying the target object corresponding to the object sending request in the object display area of the personal homepage and/or the object display page.
  • the interaction method provided in this embodiment may include:
  • S201 Receive a first trigger operation acting on a personal homepage of a target user.
  • the first control may be a control that instructs the terminal device to stop displaying the object received by the target user, such as the close control displayed on the object display page.
  • the terminal device displays the first control 30 on the object display page while displaying the object received by the target user on the object display page. Therefore, when the current user finishes viewing and wants to instruct the terminal device to stop displaying the object received by the target user, the first control 30 can be triggered.
  • the terminal device detects that the current user triggers the first control 30 displayed on the object display page, it can display the personal homepage of the target user and not continue to display the object received by the target user on the personal homepage, as in The background image is displayed in the background image display area 20 of the personal homepage, but the object received by the target user is not displayed in the background image display area 20 , as shown in FIG. 2 .
  • the second trigger operation may be a trigger operation that instructs the terminal device to display the object received by the target user in the personal homepage of the target user when the terminal device does not currently display the object received by the target user, such as triggering a personal The operation of controls with corresponding functions in the home page or other trigger operations, etc.
  • the first trigger operation may be a sliding operation along a preset direction, such as a sliding operation along a preset direction, and the sliding distance is greater than or equal to the second distance threshold and smaller than the first distance threshold, so that there is no need to Setting the control with this function can realize the display of the object received by the target user, which can reduce the number of set controls.
  • the first trigger operation and the second trigger operation have the same sliding direction
  • the sliding distance of the first trigger operation is greater than or equal to a first distance threshold and less than a second distance threshold
  • the first trigger operation The sliding distance of the second trigger operation is greater than or equal to the second distance threshold.
  • the first distance threshold and the second distance threshold can be set according to needs, which is not limited in this embodiment; the preset direction can be flexibly set according to needs, for example, the preset direction can be upward, downward, or leftward or right etc.
  • the object display area can be an area on the personal homepage for displaying objects received by the target user, and it can be a background image display area or other areas located on the target user's personal homepage, and the background image display area can be used to display the target user's personal information.
  • the background image of the homepage, the background image area of the personal page in the related art usually displays the image set by the target user or the image showing the system configuration (also called the initial background image).
  • the background image area of the present disclosure can also display the object image received by the target user in response to the user's interactive operation (it can be superimposed and displayed directly on the initial background image, or it can be displayed instead of the initial background image).
  • the interactive mode of the background image of the personal homepage can be enriched, the diverse needs of the users can be met, and the user experience can be improved.
  • the default direction is downward
  • the object display area is the background image display area of the personal homepage as an example for illustration.
  • the terminal device displays the personal homepage of the target user, displays a background image in the background image display area 20 of the personal homepage, and may display a summary of objects received by the target user on the upper layer of the background image. quantity. Therefore, when the current user wants to view the object received by the target user on the personal homepage, he can slide down on the personal homepage, and when sliding to a certain distance between the second distance threshold and the first distance threshold, End swipe.
  • the terminal device when the terminal device detects that the current user's swipe ends, it determines whether the current user's swipe distance is greater than or equal to the second distance threshold and less than the first distance threshold, and if it is determined that the current user's swipe distance is greater than or equal to the second distance threshold and If it is smaller than the first distance threshold, the background image displayed in the background image display area 20 is switched to the object received by the target user, as shown in FIG. 5 .
  • the background image may continue to be displayed in the background image display area 20 .
  • the terminal device can display corresponding prompt information in the background image display area to remind the user to stop. Swipe to view the objects received by the target user in the profile.
  • the objects received by the target user can be displayed on different pages, so that the different viewing needs of the user can be met through a simple sliding operation, without the need to click on the personal home page
  • the special configuration controls in the middle can reduce the changes to the layout of the personal homepage and simplify the operations that the user needs to perform while meeting the viewing needs of the user.
  • the first trigger operation and the second trigger operation may also have different sliding directions, for example, the first trigger operation may be that the sliding direction is the first preset direction and the sliding distance is greater than or equal to The sliding operation of the first preset distance threshold; the second triggering operation may be a sliding operation in which the sliding direction is the second preset direction and the sliding distance is greater than or equal to the second preset distance threshold.
  • the first preset direction and the second preset direction may be different, and the first preset distance threshold and the second preset distance threshold may be the same or different.
  • the second control may be a control that instructs the terminal device to stop displaying the object received by the target user on the object display page, such as a return control displayed on the object display page.
  • the terminal device displays the second control 31 on the object display page while displaying the object received by the target user on the object display page. Therefore, when the current user wants to instruct the terminal device to stop displaying the object received by the target user on the object display page, the second control 31 can be triggered.
  • the terminal device detects that the current user triggers the second control 31 displayed on the object display page, it can display the personal homepage of the target user, and display the object received by the target user in the object display area of the personal homepage.
  • the object display page is reduced to the background image display area 20 of the personal homepage, and the objects received by the target user are displayed in the background image display area 20 .
  • this embodiment is not limited to switching the currently displayed object display page to a personal home page by triggering the first control/second control.
  • the gesture is triggered by default, the currently displayed object display page will be switched to the personal homepage.
  • the object sending request may be a request to send a certain object to the target user.
  • the target object can be the object requested by the object sending request, such as the emoticon image requested by the object sending request, which can be sent by the current user through the object sending request on the target user's personal homepage or object display page to send.
  • the terminal device when the current user intends to send an object to the target user, he may instruct the terminal device to generate an object sending request through a corresponding trigger operation (such as triggering the object identifier of the object).
  • a trigger operation such as triggering the object identifier of the object
  • the terminal device when the terminal device detects that the current user requests to send a trigger operation of an object, it can generate an object sending request, and in response to the object sending request, display the object display area and/or object display page of the personal homepage.
  • the target object requested by the object sending request if the current page is a personal homepage, the target object requested to be sent by the object sending request can be displayed in the object display area of the personal master; if the current page is an object display page, it can be displayed in the The object display page displays the target object requested to be sent by the request sending operation.
  • the current user can not only view the objects received by the target user, but also send corresponding objects to the target user.
  • the current user can not only view the emoticon images sent by other users to the target user, but also send them to the target user Emoticon images, thus, can provide a new scene for the current user to view and interact with the target user, increase the interactive atmosphere between the current user and the target user (especially between fans and publishers of multimedia content), and improve the current user experience. Interaction experience with target users.
  • the target object corresponding to the object sending request in the object display area of the personal homepage and/or the object display page in response to the object sending request it further includes: responding to the object sending request
  • the object display area of the personal homepage and/or the trigger operation of the object control displayed on the object display page displays a first object panel, wherein a plurality of different object identifiers are displayed in the first object panel;
  • displaying the target object corresponding to the object sending request in the object display area of the personal homepage and/or the object display page includes: responding to the The first object identified by the target object sends a request to display the target object corresponding to the target object ID in the object display area of the personal homepage and/or the object display page.
  • the first object panel can be understood as an object identification display panel for displaying multiple different object identifications.
  • the first object sending request may be generated in response to a trigger for a certain object identification displayed in the first object panel.
  • the target object identifier may be an object identifier triggered by the current user.
  • the object identifier is used to trigger the sending of the object corresponding to the object identifier.
  • the object identifier may be an interactive image or text identifier corresponding to the object, such as a thumbnail icon.
  • the object identifier is an emoticon identifier, such as an interactive emoticon icon.
  • the terminal device displays the object received by the target user and the object control 32 on the object display page or in the object display area of the personal homepage.
  • the object control 32 can be triggered.
  • the terminal device detects that the current user triggers the object control 32, it can display the first object panel 60, as shown in FIG. 6 and FIG. out). Therefore, when the current user intends to send a certain object to the target user, the object identifier of the object displayed in the first object panel 60 may be triggered.
  • the terminal device when the terminal device detects that the current user triggers an object identifier displayed in the first object panel 60, it may generate a first object sending request, and respond to the first object sending request, on the object display page or in the
  • the object corresponding to the object identifier is displayed in the object display area of the personal homepage, for example, the object corresponding to the object identifier is displayed on the object display page or in the object display area of the personal homepage.
  • the terminal device may display in the object display area of the personal homepage or on the object display page Multiple emoticon images received by user B.
  • user A wants to send an emoticon to user B, he can trigger the corresponding emoticon mark in the first emoticon panel. Therefore, when the terminal device detects that user A triggers a certain emoticon in the first emoticon panel, it can send the emoticon image corresponding to the emoticon to the target user, and add and display the emoticon image on the object display of the personal homepage. displayed on the area or object display page.
  • the target object corresponding to the object sending request in the object display area of the personal homepage and/or the object display page in response to the object sending request it further includes: responding A second object panel is displayed by triggering an operation on the object display area of the personal homepage and/or the object control displayed on the object display page, wherein multiple identical object identifiers are displayed in the second object panel;
  • displaying the target object corresponding to the object sending request in the object display area of the personal homepage and/or the object display page includes: responding to the multiple identical object identifiers
  • the second object identified by the type of the target object sends a request, determines the target object corresponding to the target object ID based on a random algorithm, and displays the target object in the object display area of the personal homepage and/or the object display page.
  • the second object panel can be understood as an object identification display panel for displaying multiple identical object identifications.
  • the second object send request may be generated in response to a trigger for a certain object identification displayed in the second object panel.
  • the target object identifier may be an object identifier triggered by the current user.
  • the terminal device displays the object received by the target user and the object control 32 on the object display page or in the object display area of the personal homepage.
  • the object control 32 may be triggered.
  • the terminal device detects that the current user triggers the object control 32, it may display the second object panel, and display multiple identical object identifiers in the second object panel. Therefore, when the current user intends to send an object to the target user, a certain object identifier displayed in the second object panel may be triggered.
  • the terminal device when it detects that the current user triggers an object identifier displayed in the second object panel, it may generate a second object sending request, and randomly select an object as the target object in response to the second object sending request , to display the target object on the object display page or in the object display area of the personal homepage, such as adding and displaying the target object in the object display page or in the object display area of the personal homepage.
  • the target object is sent to the target user, it is also possible to stop displaying the first object panel/second object panel, and/or send an object notification to the target user through the server to notify the target user that the current user has sent the target object to the target user. object.
  • the interaction method provided by this embodiment further includes: when multiple objects collide or at least one object moves to the personal homepage When the boundary of the object display area and/or the boundary of the object display page is played, the collision animation is played.
  • the third trigger operation may be to instruct the terminal device to cancel the registration of the object received by the target user when the terminal device has displayed the object received by the target user in the object display area of the personal homepage. is displayed, which may or may not be the same operation as the second trigger operation.
  • the second trigger operation can be used to instruct the terminal device to display the target user on the personal homepage of the target user when the terminal device currently does not display the object received by the target user In addition to the received object, it can also be used to instruct the terminal device to cancel the display of the object received by the target user when the terminal device currently displays the object received by the target user, that is, if there is no To display the object received by the target user, the terminal device may display the object received by the target user on the personal homepage when receiving the second trigger operation; if the object received by the target user has already been displayed on the personal homepage, Then, when receiving the second trigger operation, the terminal device may stop displaying the object received by the target user on the personal homepage.
  • the terminal device displays the object received by the target user in the object display area of the personal homepage of the target user. Therefore, when the current user wants to instruct the terminal device to stop displaying the object received by the target user, he may perform a third trigger operation, such as sliding down a certain distance between the second distance threshold and the first distance threshold. Correspondingly, when the terminal device detects that the user performs the third trigger operation, it may stop displaying the object received by the target user, such as switching the object received by the target user displayed in the object display area to the background image of the personal homepage ,as shown in picture 2.
  • a third trigger operation such as sliding down a certain distance between the second distance threshold and the first distance threshold.
  • the terminal device detects that the user performs the third trigger operation, it may stop displaying the object received by the target user, such as switching the object received by the target user displayed in the object display area to the background image of the personal homepage ,as shown in picture 2.
  • the interaction method provided by this embodiment can display the objects received by the target user on different pages based on different trigger operations of the user, or stop displaying the objects received by the target user, so as to meet the different viewing needs of the users and improve the user experience. experience.
  • Fig. 8 is a structural block diagram of an interaction device provided by an embodiment of the present disclosure.
  • the device can be realized by software and/or hardware, can be configured in electronic equipment, for example, can be configured in a mobile phone or a tablet computer, and can realize interaction between different users by executing an interaction method.
  • the interaction device provided in this embodiment may include: a first receiving module 801 and a first display module 802, wherein,
  • the first receiving module 801 is configured to receive a first trigger operation acting on the personal homepage of the target user;
  • the first display module 802 is configured to switch the current page from the personal homepage to an object display page in response to the first trigger operation, and display the object received by the target user on the object display page.
  • the first receiving module receives the first trigger operation acting on the personal homepage of the target user; the first display module switches the current page from the personal homepage to The object display page, and the object received by the target user is displayed on the object display page.
  • the objects sent by other users to the target user are displayed on the object display page, which can not only enrich the interaction mode of the personal homepage; It can also display more comprehensive information, so that the current user can view the objects sent by other users to the target user, thereby providing the current user with a new scene for viewing and interacting with the target user, and increasing the interaction between the current user and the target user Atmosphere, improve the interactive experience between current users and target users.
  • the interaction device may further include: a second receiving module configured to receive a second trigger operation acting on the personal homepage of the target user; a second display module configured to respond to the second trigger operation , displaying the object received by the target user in the object display area of the personal homepage.
  • the first trigger operation and the second trigger operation may be sliding operations, the first trigger operation and the second trigger operation may have the same sliding direction, and the first trigger operation
  • the sliding distance may be greater than or equal to a first distance threshold, and the sliding distance of the second trigger operation may be greater than or equal to a second distance threshold and smaller than the first distance threshold.
  • the interaction device provided in this embodiment may further include: a first page switching module, configured to respond to the first page on the object display page after the object display page displays the object received by the target user.
  • the trigger operation of the control switches the current page from the object display page to the personal home page.
  • the interaction device provided in this embodiment may further include: a second page switching module, configured to respond to the second page switching module on the object display page after the object display page displays the object received by the target user.
  • the trigger operation of the control switches the current page from the object display page to the personal homepage, and displays the objects received by the target user in the object display area of the personal homepage.
  • the interaction device provided in this embodiment may further include: a cancel display module, configured to respond to the first action in the personal homepage after the object received by the target user is displayed in the object display area of the personal homepage Three trigger operations that cancel the display of the object.
  • a cancel display module configured to respond to the first action in the personal homepage after the object received by the target user is displayed in the object display area of the personal homepage Three trigger operations that cancel the display of the object.
  • the interaction device provided in this embodiment may further include: a target object display module, configured to display the object corresponding to the object sending request in the object display area of the personal homepage and/or the object display page in response to the object sending request. target audience.
  • a target object display module configured to display the object corresponding to the object sending request in the object display area of the personal homepage and/or the object display page in response to the object sending request. target audience.
  • the interaction device may further include: a first panel display module configured to display the Before the object sends the target object corresponding to the request, in response to a trigger operation on the object display area of the personal homepage and/or the object control displayed on the object display page, a first object panel is displayed, wherein the first object There are a plurality of different object identifications displayed in the panel; the target object display module can be set to: in response to the first object sending request for the target object identification in the plurality of different object identifications, on the personal home page The object display area and/or the object display page displays the target object corresponding to the target object identifier.
  • a first panel display module configured to display the Before the object sends the target object corresponding to the request, in response to a trigger operation on the object display area of the personal homepage and/or the object control displayed on the object display page, a first object panel is displayed, wherein the first object There are a plurality of different object identifications displayed in the panel; the target object display module can be set to: in response to the first object sending request
  • the interaction device may further include: a first panel display module configured to display the Before the object sends the target object corresponding to the request, in response to a trigger operation on the object display area of the personal home page and/or the object control displayed on the object display page, displaying a second object panel, wherein the second object There are multiple identical object identifiers displayed in the panel; the target object display module may be configured to: in response to a second object sending request for a target object type identifier in the multiple identical object identifiers, determine the target object identifier based on a random algorithm The target object identifies the corresponding target object, and displays the target object in the object display area of the personal homepage and/or the object display page.
  • a first panel display module configured to display the Before the object sends the target object corresponding to the request, in response to a trigger operation on the object display area of the personal home page and/or the object control displayed on the object display page, displaying a second object panel, wherein the second object There are multiple identical object identifiers displayed in
  • displaying the object received by the target user may include: when a preset condition is met, controlling the object received by the target user to move according to a preset control factor, wherein the preset control factor It includes at least one of the current inclination angle of the terminal device, the gravity, and the preset elastic coefficient of the object.
  • the interaction device may further include: a dynamic effect playing module, configured to display a dynamic effect when multiple objects collide or at least one object moves to the boundary of the object display area of the personal homepage and/or the object display When at the border of the page, play the collision animation.
  • a dynamic effect playing module configured to display a dynamic effect when multiple objects collide or at least one object moves to the boundary of the object display area of the personal homepage and/or the object display When at the border of the page, play the collision animation.
  • the interaction device provided by the embodiments of the present disclosure can execute the interaction method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the interaction method.
  • the interaction method provided in any embodiment of the present disclosure can execute the interaction method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the interaction method.
  • FIG. 9 it shows a schematic structural diagram of an electronic device (such as a terminal device) 900 suitable for implementing an embodiment of the present disclosure.
  • the terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like.
  • the electronic device shown in FIG. 9 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
  • an electronic device 900 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 901, which may be randomly accessed according to a program stored in a read-only memory (ROM) 902 or loaded from a storage device 908.
  • a processing device such as a central processing unit, a graphics processing unit, etc.
  • RAM read-only memory
  • various appropriate actions and processes are executed by programs in the memory (RAM) 903 .
  • RAM 903 In the RAM 903, various programs and data necessary for the operation of the electronic device 900 are also stored.
  • the processing device 901, ROM 902, and RAM 903 are connected to each other through a bus 904.
  • An input/output (I/O) interface 905 is also connected to the bus 904 .
  • the following devices can be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration an output device 907 such as a computer; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909.
  • the communication means 909 may allow the electronic device 900 to perform wireless or wired communication with other devices to exchange data. While FIG. 9 shows electronic device 900 having various means, it is to be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means 909, or from storage means 908, or from ROM 902.
  • the processing device 901 When the computer program is executed by the processing device 901, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the client and the server can communicate using any currently known or future network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium
  • HTTP HyperText Transfer Protocol
  • the communication eg, communication network
  • Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives the first trigger operation acting on the personal homepage of the target user; responds to the The first trigger operation is to switch the current page from the personal homepage to an object display page, and display the object received by the target user on the object display page.
  • Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of the module does not constitute a limitation of the unit itself under certain circumstances.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • Example 1 provides an interaction method, including:
  • the current page is switched from the personal homepage to an object display page, and the object received by the target user is displayed on the object display page.
  • Example 2 according to the method described in Example 1, further includes:
  • the object received by the target user is displayed in the object display area of the personal homepage.
  • Example 3 is according to the method described in Example 2, the first trigger operation and the second trigger operation are slide operations, and the first trigger operation and the second trigger operation The operations have the same sliding direction, the sliding distance of the first triggering operation is greater than or equal to a first distance threshold, and the sliding distance of the second triggering operation is greater than or equal to a second distance threshold and smaller than the first distance threshold.
  • the current page is switched from the object display page to the personal homepage.
  • Example 6 According to the method described in any one of Examples 2-5, after displaying the object received by the target user in the object display area of the personal homepage, it further includes:
  • Example 7 is according to the method described in any one of Examples 2-5, further comprising:
  • the target object corresponding to the object sending request is displayed in the object display area of the personal homepage and/or the object display page.
  • Example 8 is based on the method described in Example 7, and in the response to the object sending request, the object display area of the personal homepage and/or the object display page displays the Before the object sends the target object corresponding to the request, it also includes:
  • displaying the target object corresponding to the object sending request in the object display area of the personal homepage and/or the object display page includes:
  • Example 9 is based on the method described in Example 7, in the response to the object sending request, the object display area of the personal homepage and/or the object display page displays the Before the object sends the target object corresponding to the request, it also includes:
  • a second object panel is displayed, wherein a plurality of identical objects are displayed in the second object panel logo;
  • displaying the target object corresponding to the object sending request in the object display area of the personal homepage and/or the object display page includes:
  • Example 10 displays the object received by the target user according to the method described in any one of Examples 2-5, including:
  • the object received by the target user is controlled to move according to the preset control factor, wherein the preset control factor includes the current tilt angle of the terminal device, gravity and the preset elastic coefficient of the object At least one of the .
  • Example 11 The method according to Example 10, further comprising:
  • the collision animation is played.
  • Example 11 provides an interactive device, including:
  • the first receiving module is configured to receive the first trigger operation acting on the personal homepage of the target user
  • the first display module is configured to switch the current page from the personal homepage to an object display page in response to the first trigger operation, and display the object received by the target user on the object display page.
  • Example 13 provides an electronic device, comprising:
  • processors one or more processors
  • memory arranged to store one or more programs
  • the one or more processors are made to implement the interaction method described in any one of Examples 1-11.
  • Example 14 provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the interaction described in any one of Examples 1-11 is realized. method.
  • Example 15 provides a computer program product.
  • the computer program product When the computer program product is executed by a computer, the computer implements the interaction method described in any one of Examples 1-11.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开实施例提供了一种交互方法、装置、电子设备、存储介质和计算机程序产品。该方法包括:接收作用于目标用户的个人主页中的第一触发操作;响应于所述第一触发操作,将当前页面由所述个人主页切换为对象显示页面,并在所述对象显示页面显示所述目标用户接收到的对象。

Description

交互方法、装置、电子设备、存储介质和计算机程序产品
本申请要求在2022年1月29日提交中国专利局、申请号为202210113020.4的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开实施例涉及计算机技术领域,例如涉及一种交互方法、装置、电子设备、存储介质和计算机程序产品。
背景技术
目前,用户可以发布视频等多媒体内容供其他用户查看,查看其他用户发布的多媒体内容,并可以针对所查看的多媒体内容表达自己的态度,如对多媒体内容进行点赞、评论或者转发等。
然而,相关技术中,个人主页的交互方式比较单一,无法满足用户多样化的交互需求,导致用户体验不佳。
发明内容
本公开实施例提供一种交互方法、装置、电子设备、存储介质和计算机程序产品。
第一方面,本公开实施例提供了一种交互方法,包括:
接收作用于目标用户的个人主页中的第一触发操作;
响应于所述第一触发操作,将当前页面由所述个人主页切换为对象显示页面,并在所述对象显示页面显示所述目标用户接收到的对象。
第二方面,本公开实施例还提供了一种交互装置,包括:
第一接收模块,设置为接收作用于目标用户的个人主页中的第一触发操作;
第一显示模块,设置为响应于所述第一触发操作,将当前页面由所述个人主页切换为对象显示页面,并在所述对象显示页面显示所述目标用户接收到的对象。
第三方面,本公开实施例还提供了一种电子设备,包括:
一个或多个处理器;
存储器,设置为存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开实施例所述的交互方法。
第四方面,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开实施例所述的交互方法。
第五方面,本公开实施例还提供了一种计算机程序产品,当所述计算机程序产品被计算机执行,使得所述计算机实现如本公开实施例所述的交互方法。
附图说明
贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开实施例提供的一种交互方法的流程示意图;
图2为本公开实施例提供的一种个人主页的显示示意图;
图3为本公开实施例提供的一种对象显示页面示意图;
图4为本公开实施例提供的另一种交互方法的流程示意图;
图5为本公开实施例提供的另一种个人主页的显示示意图;
图6为本公开实施例提供的一种第一对象面板的显示示意图;
图7为本公开实施例提供的另一种第一对象面板的显示示意图;
图8为本公开实施例提供的一种交互装置的结构框图;
图9为本公开实施例提供的一种电子设备的结构示意图。
具体实施方式
应当理解,本公开的方法实施方式中记载的多个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
图1为本公开实施例提供的一种交互方法的流程示意图。该方法可以由交互装置执行,其中,该装置可以由软件和/或硬件实现,可配置于电子设备中,例如,可以配置在手机或平板电脑中。本公开实施例提供的交互方法适用于当前用户在目标用户的个人主页中与目标用户进行互动的场景。如图1所示,本实施例提供的交互方法可以包括:
S101、接收作用于目标用户的个人主页中的第一触发操作。
其中,目标用户可以为当前查看其个人主页的用户,即当前显示的个人主页所属于的用户,个人主页为目标用户的个人主页。第一触发操作可以为指示终端设备在目标用户的对象显示页面内显示目标用户所接收到的对象的操作,如触发个人主页中具有相应功能的控件的操作或其他触发操作等。例如,该第一触发操作为滑动方向沿预设方向的滑动操作,从而无需在个人主页中设置具有该功能的控件,能够减少所设置的控件的数量。
示例性的,如图2所示,终端设备显示目标用户的个人主页,在个人主页的背景图显示区域20中显示目标用户的个人主页的背景图。从而,当前用户欲在对象显示主页中查看目标用户所接收到的对象时,可以执行第一触发操作,如在个人主页中向下滑动,并在滑动至大于或等于第一距离阈值的某一距离时,结束滑动。
S102、响应于所述第一触发操作,将当前页面由所述个人主页切换为对象显示页面,并 在所述对象显示页面显示所述目标用户接收到的对象。
其中,对象显示页面可以为全屏显示页面,其可以由个人主页的对象显示区域放大至全屏得到。目标用户所接收到的对象可以为除目标用户之外的其他用户向目标用户发送的交互对象,该对象的具体类型可以根据需要进行设置,如该对象可以为表情图像,当然并不仅限于此,也可以是其他可用于其他用户(观看用户)与目标用户进行互动的对象。相应的,其他用户可以通过向目标用户发送表情图像的方式与目标用户进行交互,如表达自己对目标用户的喜爱之情等。以下以对象为表情图像为例进行说明。
示例性的,终端设备可以在接收到第一触发操作时,如在检测到当前用户滑动结束时,判断当前用户的滑动距离是否大于或等于第一距离阈值,如果判定当前用户的滑动距离大于或等于第一距离阈值,则将该滑动操作确定为第一触发操作,将当前页面由个人主页切换为对象显示页面,并在对象显示页面中显示目标用户所接收到的对象,如图3所示。
此外,终端设备还可以在当前用户向下滑动的过程中,控制个人主页中显示的内容随当前用户的滑动同步向下移动,并在用户滑动结束时,将个人主页中显示的内容恢复至其原始的显示位置(针对当前用户的滑动距离小于第一距离阈值的情况),或者,将个人主页切换为对象显示页面(针对当前用户的滑动距离大于或等于第一距离阈值的情况)。当当前用户的滑动距离达到第一距离阈值时,可以在背景图显示区域中显示相应的提示信息,以提示用户其停止滑动即可切换进入对象显示页面。
在一个实施方式中,当在对象显示页面显示目标用户接收到的对象时,可以直接以静态的方式显示目标用户接收到的对象,即直接在对象显示页面中显示目标用户接收到的对象,而并不控制对象进行运动。
在另一个实施方式中,当显示目标用户接收到的对象时,可以控制该对象在重力和/或弹力的作用下进行运动,直至其速度和加速度均降为零为止,以增加对象显示时的趣味性。此时,显示所述目标用户接收到的对象,包括:当满足预设条件时,按照预设控制因子控制所述目标用户接收到的对象进行运动,其中,所述预设控制因子包括终端设备的当前倾斜角度、重力以及所述对象的预设弹性系数中的至少一项。
其中,终端设备可以为显示该对象的设备,如执行本实施例所提供的交互方法的计算机设备。终端设备的当前倾斜角度可以为终端设备在当前时刻相对于水平面的倾斜角度,其可以由终端设备内所配置的陀螺仪检测得到。
例如,可以首先在对象显示页面的设定边界处(如对象显示页面的上边界处)显示目标用户所接收到的对象;然后根据终端设备的当前倾斜角度、重力和/或对象的预设弹力系数控制对象进行运动,直至其速度和加速度均降为零为止。
此外,当在设定边界处显示目标用户所接收到的对象时,还可以在该设定边界处显示用于指示终端设备显示第一对象面板/第二对象面板的对象控件,并根据终端设备的当前倾斜角度、重力和/或对象控件的预设弹力系数控制该对象控件进行运动,直至其速度和加速度均降为零为止
在根据终端设备的当前倾斜角度、重力和/或对象控件与对象的预设弹力系数控制该对象控件和对象进行运动的过程中,当对象控件/对象未与其他物体(如其他对象或者对象显示页面的边界等)发生碰撞时,可以根据终端设备在当前时刻的倾斜角度确定重力在终端设备的显示平面内的重力分量,根据该重力分量控制该对象控件/对象在预设显示区域内进行运动; 当对象控件/对象与其他物体发生碰撞时,可以根据其在当前时刻的运动速度以及预设弹力系数确定该对象控件/对象所受到的弹力,根据该弹力以及该重力对该对象控件/对象进行控制。
在此,显示对象控件和对象时,对象控件和对象的初始速度可以设置为零或其他速度值,例如可以设置为大于零的速度值,以确保当终端设备的显示平面与水平面平行时,该对象控件和对象仍然可以在预设显示区域中进行运动。当设定边界为上边界时,该初始速度的方向可以为垂直于该上边界向下的方向。
此外,在控制对象控件/对象进行运动的过程中,如果终端设备的倾斜角度发生变化,可以实时根据变化后的倾斜角度计算重力在终端设备显示平面内的重力分量,并根据该重力分量对对象控件/对象进行控制。当对象控件/对象的速度和加速度均降为零之后,如果终端设备的倾斜角度发生变化,如如果用户摇动手机,则可以控制预设显示区域内所显示的对象控件/对象随用户的摇动在预设显示区域内进行摇晃碰撞,并可以控制手机进行震动。
本实施例提供的交互方法,接收作用于目标用户的个人主页中的第一触发操作;响应于该第一触发操作,将当前页面由个人主页切换为对象显示页面,并在该对象显示页面显示目标用户接收到的对象。本实施例通过采用上述技术方案,基于当前用户在目标用户的个人主页中的第一触发操作,在对象显示页面中显示显示其他用户向目标用户发送的对象,不仅能够丰富个人主页的交互方式;还能够展示更为全面的信息,使得当前用户能够查看其他用户向目标用户发送的对象,从而为当前用户提供一个查看并与目标用户进行互动的全新场景,增加当前用户与目标用户之间的互动氛围,提高当前用户与目标用户的互动体验。
图4为本公开实施例提供的另一种交互方法的流程示意图。本实施例中的方案可以与上述实施例中的一个或多个示例方案组合。例如,本实施例提供的交互方法还包括:接收作用于目标用户的个人主页中的第二触发操作;响应于所述第二触发操作,在所述个人主页的对象显示区域显示所述目标用户接收到的对象。
例如,在所述对象显示页面显示所述目标用户接收到的对象之后,还包括:响应于针对所述对象显示页面中的第一控件的触发操作,将当前页面由所述对象显示页面切换为所述个人主页。
例如,在所述对象显示页面显示所述目标用户接收到的对象之后,还包括:响应于针对所述对象显示页面中的第二控件的触发操作,将当前页面由所述对象显示页面切换为所述个人主页,并在所述个人主页的对象显示区域显示所述目标用户接收到的对象。
例如,在所述个人主页的对象显示区域显示所述目标用户接收到的对象之后,还包括:响应于作用在所述个人主页内的第三触发操作,取消对所述对象的显示。
例如,本实施例提供的交互方法还包括:响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象。
相应的,如图4所示,本实施例提供的交互方法可以包括:
S201、接收作用于目标用户的个人主页中的第一触发操作。
S202、响应于所述第一触发操作,将当前页面由所述个人主页切换为对象显示页面,并在所述对象显示页面显示所述目标用户接收到的对象,执行S203、S206或S207。
S203、响应于针对所述对象显示页面中的第一控件的触发操作,将当前页面由所述对象显示页面切换为所述个人主页。
其中,第一控件可以为指示终端设备停止显示目标用户所接收到的对象的控件,如对象 显示页面中所显示的关闭控件。
例如,如图3所示,终端设备在对象显示页面中显示目标用户所接收到的对象的同时,在对象显示页面中显示第一控件30。从而,当前用户在查看完毕,欲指示终端设备停止显示目标用户所接收到的对象时,可以触发该第一控件30。相应的,终端设备在检测到当前用户触发对象显示页面中所显示的第一控件30时,可以显示目标用户的个人主页,且不在该个人主页中继续显示目标用户所接收到的对象,如在该个人主页的背景图显示区域20中显示背景图,而并不在该背景图显示区域20中显示目标用户所接收到的对象,如图2所示。
S204、接收作用于目标用户的个人主页中的第二触发操作。
S205、响应于所述第二触发操作,在所述个人主页的对象显示区域显示所述目标用户接收到的对象,执行S207或S208。
其中,第二触发操作可以为在终端设备当前未显示目标用户所接收到的对象的情况下,指示终端设备在目标用户的个人主页内显示目标用户所接收到的对象的触发操作,如触发个人主页中具有相应功能的控件的操作或其他触发操作等。例如,该第一触发操作可以为沿预设方向的滑动操作,如沿预设方向,且,滑动距离大于或等于第二距离阈值且小于第一距离阈值的滑动操作,从而无需在个人主页中设置具有该功能的控件即可实现对目标用户所接收到的对象的显示,能够减少所设置的控件的数量。此时,例如,所述第一触发操作和所述第二触发操作具有相同的滑动方向,所述第一触发操作的滑动距离大于或等于第一距离阈值且小于第二距离阈值,所述第二触发操作的滑动距离大于或等于第二距离阈值。在此,该第一距离阈值和第二距离阈值可以根据需要进行设置,本实施例不对此进行限制;该预设方向可以根据需要灵活设置,如预设方向可以为向上、向下、向左或向右等。对象显示区域可以为个人主页中用于显示目标用户所接收到的对象的区域,其可以为位于目标用户个人主页中的背景图显示区域或其他区域,该背景图显示区域可用于显示目标用户个人主页的背景图,相关技术中的个人页背景图区域通常是展示目标用户设置的图像或者显示系统配置的图像(也称初始背景图像)。本公开背景图区域除了显示初始背景图像还可以响应于用户的交互操作,显示目标用户收到的对象图像(可以直接在初始背景图像上叠加展示,也可以替换初始背景图像进行展示),此外还可以响应于用户的交互操作扩展为全屏展示以满足用户的互动需求。从而能够丰富个人主页背景图的互动方式,满足用户多样化的需求,提升用户体验。
以下以预设方向为向下、对象显示区域为个人主页中的背景图显示区域为例进行说明。
示例性的,如图2所示,终端设备显示目标用户的个人主页,在个人主页的背景图显示区域20中显示背景图,并可以在该背景图的上层显示目标用户接收到的对象的总量。从而,当前用户欲在个人主页中查看目标用户所接收到的对象时,可以在个人主页中向下滑动,并在滑动至位于第二距离阈值和第一距离阈值之间的某一距离时,结束滑动。相应的,终端设备在检测到当前用户滑动结束时,判断当前用户的滑动距离是否大于或等于第二距离阈值且小于第一距离阈值,如果判定当前用户的滑动距离大于或等于第二距离阈值且小于第一距离阈值,则将背景图显示区域20中所显示的背景图切换为目标用户收到的对象,如图5所示。相应的,如果判定当前用户的滑动距离小于第二距离阈值,则可以继续在背景图显示区域20中显示背景图。
此外,在当前用户滑动的过程中,当当前用户的滑动距离达到第二距离阈值且小于第一距离可阈值时,终端设备可以在背景图显示区域中显示相应的提示信息,以提示用户其停止 滑动即可在个人主页中查看目标用户所接收到的对象。
在本实施例中,当用户向下滑动不同距离时,可以在不同的页面中显示目标用户所接收到的对象,从而,通过简单的滑动操作即可以满足用户的不同查看需求,无需在个人主页中格外配置控件,能够在满足用户的查看需求的前提下,减少对个人主页布局的改动,并简化用户所需执行的操作。
需要说明的是,当均为滑动操作时,第一触发操作和第二触发操作也可以具有不同的滑动方向,如第一触发操作可以为滑动方向为第一预设方向且滑动距离大于或等于第一预设距离阈值的滑动操作;第二触发操作可以为滑动方向为第二预设方向且滑动距离大于或等于第二预设距离阈值的滑动操作。此时,该第一预设方向和该第二预设方向可以不相同,该第一预设距离阈值和该第二预设距离阈值可以相同或不相同。
S206、响应于针对所述对象显示页面中的第二控件的触发操作,将当前页面由所述对象显示页面切换为所述个人主页,并在所述个人主页的对象显示区域显示所述目标用户接收到的对象,执行S207或S208。
其中,第二控件可以为指示终端设备停止在对象显示页面中显示目标用户所接收到的对象的控件,如对象显示页面中所显示的返回控件。
例如,如图3所示,终端设备在对象显示页面中显示目标用户所接收到的对象的同时,在对象显示页面中显示第二控件31。从而,当前用户在欲指示终端设备停止在对象显示页面中显示目标用户所接收到的对象时,可以触发该第二控件31。相应的,终端设备在检测到当前用户触发对象显示页面中所显示的第二控件31时,可以显示目标用户的个人主页,并在该个人主页的对象显示区域中显示目标用户所接收到的对象,如图5所示,如将对象显示页面缩小为个人主页的背景图显示区域20,并在该背景图显示区域20显示目标用户所接收到的对象。
可以理解的是,本实施例并不限于通过触发第一控件/第二控件将当前所显示的对象显示页面切换为个人主页,例如,也可以在接收到预设触发操作时,如在接收到预设触发手势时,将当前所显示的对象显示页面切换为个人主页。
S207、响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象。
其中,对象发送请求可以为向目标用户向目标用户发送某一对象的请求。相应的,目标对象可以为该对象发送请求所请求发送的对象,如该对象发送请求所请求发送的表情图像等,其可以由当前用户在目标用户的个人主页或对象显示页面中通过对象发送请求进行发送。
例如,当前用户在欲向目标用户发送某一对象时,可以通过相应的触发操作(如触发该对象的对象标识)指示终端设备生成对象发送请求。相应的,终端设备在检测到当前用户的请求发送某一对象的触发操作时,可以生成对象发送请求,并响应于该对象发送请求,在个人主页的对象显示区域和/或对象显示页面显示该对象发送请求所请求发送的目标对象,如若当前页面为个人主页,则可以在个人主的对象显示区域中显示该对象发送请求所请求发送的目标对象;若当前页面为对象显示页面,则可以在该对象显示页面中显示该请求发送操作所请求发送的目标对象。
在本实施例中,当前用户不仅可以查看目标用户接收到的对象,还能够向目标用户发送相应的对象,如当前用户不仅可以查看其他用户向目标用户发送的表情图像,还能够向目标 用户发送表情图像,从而,能够为当前用户提供一个查看并与目标用户进行互动的全新场景,增加当前用户与目标用户之间(尤其是粉丝与多媒体内容的发布者之间)的互动氛围,提高当前用户与目标用户的互动体验。
在一个实施方式中,在所述响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象之前,还包括:响应于对所述个人主页的对象显示区域和/或所述对象显示页面中显示的对象控件的触发操作,显示第一对象面板,其中,所述第一对象面板中显示有多个不同的对象标识;所述响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象,包括:响应于针对所述多个不同的对象标识中的目标对象标识的第一对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述目标对象标识对应的目标对象。
其中,第一对象面板可理解为用于显示多个不同的对象标识的对象标识显示面板。第一对象发送请求可以响应于针对第一对象面板中所显示的某一对象标识的触发所生成的对象发送请求。相应的,目标对象标识可以为当前用户所触发的对象标识。所述对象标识用于触发发送所述对象标识对应的对象,例如,所述对象标识可以为可交互的与所述对象对应的图像或文字标识,例如可以是缩略图标,在所述对象为表情时,所述对象标识为表情标识,例如可交互的表情图标。
例如,如图3和图5所示,终端设备在对象显示页面或者在个人主页的对象显示区域中显示目标用户接收到的对象以及对象控件32。当前用户欲向目标用户发送对象时,可以触发该对象控件32。终端设备在检测到当前用户触发对象控件32时,可以显示第一对象面板60,如图6和图7所示,并在第一对象面板60中显示多个不同的对象标识(图中未示出)。从而,当前用户欲向目标用户发送某一对象时,可以触发该第一对象面板60中所显示的该对象的对象标识。相应的,终端设备在检测到当前用户触发第一对象面板60中所显示的某一对象标识时,可以生成第一对象发送请求,并响应于该第一对象发送请求,在对象显示页面或者在个人主页的对象显示区域中显示该对象标识对应的对象,如在对象显示页面或者个人主页的对象显示区域中增加显示该对象标识对应的对象。
示例性的,假设当前用户为用户A,目标用户为用户B,当用户A查看用户B的个人主页或者对象显示页面时,终端设备可以在该个人主页的对象显示区域或者在该对象显示页面显示用户B收到的多个表情图像。用户A在欲向用户B发送表情时,可以触发第一表情面板中的相应表情标识。从而,终端设备在检测到用户A触发第一表情面板中的某一表情标识时,可以将该表情标识对应的表情图像发送给目标用户,并将该表情图像增加显示于该个人主页的对象显示区域或者对象显示页面中进行显示。
在另一个实施方式中,在所述响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象之前,还包括:响应于对所述个人主页的对象显示区域和/或所述对象显示页面中显示的对象控件的触发操作,显示第二对象面板,其中,所述第二对象面板中显示有多个相同的对象标识;所述响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象,包括:响应于针对所述多个相同的对象标识中的目标对象类型标识的第二对象发送请求,基于随机算法确定所述目标对象标识对应的目标对象,并在所述个人主页的对象显示区 域和/或所述对象显示页面显示所述目标对象。由此,丰富互动的方式,提升用户的体验。
其中,第二对象面板可理解为用于显示多个相同的对象标识的对象标识显示面板。第二对象发送请求可以响应于针对第二对象面板中所显示的某一对象标识的触发所生成的对象发送请求。相应的,目标对象标识可以为当前用户所触发的对象标识。
例如,如图3和图5所示,终端设备在对象显示页面或者在个人主页的对象显示区域中显示目标用户接收到的对象以及对象控件32。当前用户欲向目标用户发送对象时,可以触发该对象控件32。终端设备在检测到当前用户触发对象控件32时,可以显示第二对象面板,并在第二对象面板中显示多个相同的对象标识。从而,当前用户欲向目标用户发送对象时,可以触发该第二对象面板中所显示的某一对象标识。相应的,终端设备在检测到当前用户触发第二对象面板中所显示的某一对象标识时,可以生成第二对象发送请求,并响应于该第二对象发送请求,随机选择一个对象作为目标对象,在对象显示页面或者在个人主页的对象显示区域中显示该目标对象,如在对象显示页面或者个人主页的对象显示区域中增加显示该目标对象。
此外,当将目标对象发送给目标用户之后,还可以停止显示第一对象面板/第二对象面板,和/或,通过服务器向目标用户发送对象通知,以通知目标用户当前用户向其发送了目标对象。
在个人主页的对象显示区域和/或对象显示页面显示某一个对象(包括目标对象)时,若该对象与其他对象发生碰撞,或者,该对象运动至个人主页的对象显示区域的边界处和/或对象显示页面的边界处,可以播放碰撞动效,以对当前用户进行提醒,此时,本实施例提供的交互方法还包括:当多个对象发生碰撞或者至少一个对象运动至所述个人主页的对象显示区域的边界处和/或所述对象显示页面的边界处时,播放碰撞动效。
S208、响应于作用在所述个人主页内的第三触发操作,取消对所述对象的显示。
在本实施例中,第三触发操作可以为用于在终端设备已在个人主页的对象显示区域显示目标用户所接收到的对象的情况下,指示终端设备取消对目标用户所接收到的对象的显示,其可以为与第二触发操作相同或不相同的操作。当与第二触发操作为相同的操作时,第二触发操作除可以用于在终端设备当前未显示目标用户所接收到的对象的情况下,指示终端设备在目标用户的个人主页内显示目标用户所接收到的对象之外,还可以用于在终端设备当前已显示目标用户所接收到的对象的情况下,指示终端设备取消对目标用户所接收到的对象的显示,即如果个人主页中未显示目标用户所接收到的对象,则终端设备在接收到该第二触发操作时,可以在个人主页中显示目标用户所接收到的对象;如果个人主页中已显示目标用户所接收到的对象,则终端设备在接收到该第二触发操作时,可以停止在个人主页中显示目标用户所接收到的对象。
例如,如图5所示,终端设备在目标用户的个人主页的对象显示区域中显示目标用户所接收到的对象。从而,当前用户在欲指示终端设备停止对目标用户所接收到的对象的显示时,可以执行第三触发操作,如向下滑动位于第二距离阈值和第一距离阈值之间的某一距离。相应的,终端设备在检测到用户执行第三触发操作时,可以停止显示目标用户所接收到的对象,如将对象显示区域中所显示的目标用户所接收到的对象切换为个人主页的背景图,如图2所示。
本实施例提供的交互方法,能够基于用户的不同触发操作,在不同页面中显示目标用户所接收到的对象,或者,停止显示目标用户所接收到的对象,满足用户不同的查看需求,提 高用户的体验。
图8为本公开实施例提供的一种交互装置的结构框图。该装置可以由软件和/或硬件实现,可配置于电子设备中,例如,可以配置在手机或平板电脑中,可通过执行交互方法实现不同用户之间的互动。如图8所示,本实施例提供的交互装置可以包括:第一接收模块801和第一显示模块802,其中,
第一接收模块801,设置为接收作用于目标用户的个人主页中的第一触发操作;
第一显示模块802,设置为响应于所述第一触发操作,将当前页面由所述个人主页切换为对象显示页面,并在所述对象显示页面显示所述目标用户接收到的对象。
本实施例提供的交互装置,通过该第一接收模块接收作用于目标用户的个人主页中的第一触发操作;通过第一显示模块响应于该第一触发操作,将当前页面由个人主页切换为对象显示页面,并在该对象显示页面显示目标用户接收到的对象。本实施例通过采用上述技术方案,基于当前用户在目标用户的个人主页中的第一触发操作,在对象显示页面中显示显示其他用户向目标用户发送的对象,不仅能够丰富个人主页的交互方式;还能够展示更为全面的信息,使得当前用户能够查看其他用户向目标用户发送的对象,从而为当前用户提供一个查看并与目标用户进行互动的全新场景,增加当前用户与目标用户之间的互动氛围,提高当前用户与目标用户的互动体验。
例如,本实施例提供的交互装置还可以包括:第二接收模块,设置为接收作用于目标用户的个人主页中的第二触发操作;第二显示模块,设置为响应于所述第二触发操作,在所述个人主页的对象显示区域显示所述目标用户接收到的对象。
在上述方案中,所述第一触发操作和所述第二触发操作可以为滑动操作,所述第一触发操作和所述第二触发操作可以具有相同的滑动方向,所述第一触发操作的滑动距离可以大于或等于第一距离阈值,所述第二触发操作的滑动距离可以大于或等于第二距离阈值且小于所述第一距离阈值。
例如,本实施例提供的交互装置还可以包括:第一页面切换模块,设置为在所述对象显示页面显示所述目标用户接收到的对象之后,响应于针对所述对象显示页面中的第一控件的触发操作,将当前页面由所述对象显示页面切换为所述个人主页。
例如,本实施例提供的交互装置还可以包括:第二页面切换模块,设置为在所述对象显示页面显示所述目标用户接收到的对象之后,响应于针对所述对象显示页面中的第二控件的触发操作,将当前页面由所述对象显示页面切换为所述个人主页,并在所述个人主页的对象显示区域显示所述目标用户接收到的对象。
例如,本实施例提供的交互装置还可以包括:取消显示模块,设置为在所述个人主页的对象显示区域显示所述目标用户接收到的对象之后,响应于作用在所述个人主页内的第三触发操作,取消对所述对象的显示。
例如,本实施例提供的交互装置还可以包括:目标对象显示模块,设置为响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象。
例如,本实施例提供的交互装置还可以包括:第一面板显示模块,设置为在所述响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象之前,响应于对所述个人主页的对象显示区域和/或所述对象显示页面中显 示的对象控件的触发操作,显示第一对象面板,其中,所述第一对象面板中显示有多个不同的对象标识;所述目标对象显示模块可以设置为:响应于针对所述多个不同的对象标识中的目标对象标识的第一对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述目标对象标识对应的目标对象。
例如,本实施例提供的交互装置还可以包括:第一面板显示模块,设置为在所述响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象之前,响应于对所述个人主页的对象显示区域和/或所述对象显示页面中显示的对象控件的触发操作,显示第二对象面板,其中,所述第二对象面板中显示有多个相同的对象标识;所述目标对象显示模块可以设置为:响应于针对所述多个相同的对象标识中的目标对象类型标识的第二对象发送请求,基于随机算法确定所述目标对象标识对应的目标对象,并在所述个人主页的对象显示区域和/或所述对象显示页面显示所述目标对象。
在上述方案中,显示所述目标用户接收到的对象,可以包括:当满足预设条件时,按照预设控制因子控制所述目标用户接收到的对象进行运动,其中,所述预设控制因子包括终端设备的当前倾斜角度、重力以及所述对象的预设弹性系数中的至少一项。
例如,本实施例提供的交互装置还可以包括:动效播放模块,设置为在多个对象发生碰撞或者至少一个对象运动至所述个人主页的对象显示区域的边界处和/或所述对象显示页面的边界处时,播放碰撞动效。
本公开实施例提供的交互装置可执行本公开任意实施例提供的交互方法,具备执行交互方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本公开任意实施例所提供的交互方法。
下面参考图9,其示出了适于用来实现本公开实施例的电子设备(例如终端设备)900的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图9示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图9所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储装置908加载到随机访问存储器(RAM)903中的程序而执行多种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的多种程序和数据。处理装置901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置908;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有多种装置的电子设备900,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计 算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置908被安装,或者从ROM 902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:接收作用于目标用户的个人主页中的第一触发操作;响应于所述第一触发操作,将当前页面由所述个人主页切换为对象显示页面,并在所述对象显示页面显示所述目标用户接收到的对象。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个 模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,示例1提供了一种交互方法,包括:
接收作用于目标用户的个人主页中的第一触发操作;
响应于所述第一触发操作,将当前页面由所述个人主页切换为对象显示页面,并在所述对象显示页面显示所述目标用户接收到的对象。
根据本公开的一个或多个实施例,示例2根据示例1所述的方法,还包括:
接收作用于目标用户的个人主页中的第二触发操作;
响应于所述第二触发操作,在所述个人主页的对象显示区域显示所述目标用户接收到的对象。
根据本公开的一个或多个实施例,示例3根据示例2所述的方法,所述第一触发操作和所述第二触发操作为滑动操作,所述第一触发操作和所述第二触发操作具有相同的滑动方向,所述第一触发操作的滑动距离大于或等于第一距离阈值,所述第二触发操作的滑动距离大于或等于第二距离阈值且小于所述第一距离阈值。
根据本公开的一个或多个实施例,示例4根据示例2所述的方法,在所述对象显示页面显示所述目标用户接收到的对象之后,还包括:
响应于针对所述对象显示页面中的第一控件的触发操作,将当前页面由所述对象显示页面切换为所述个人主页。
根据本公开的一个或多个实施例,示例5根据示例2所述的方法,在所述对象显示页面显示所述目标用户接收到的对象之后,还包括:
响应于针对所述对象显示页面中的第二控件的触发操作,将当前页面由所述对象显示页 面切换为所述个人主页,并在所述个人主页的对象显示区域显示所述目标用户接收到的对象。
根据本公开的一个或多个实施例,示例6根据示例2-5任一所述的方法,在所述个人主页的对象显示区域显示所述目标用户接收到的对象之后,还包括:
响应于作用在所述个人主页内的第三触发操作,取消对所述对象的显示。
根据本公开的一个或多个实施例,示例7根据示例2-5任一所述的方法,还包括:
响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象。
根据本公开的一个或多个实施例,示例8根据示例7所述的方法,在所述响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象之前,还包括:
响应于对所述个人主页的对象显示区域和/或所述对象显示页面中显示的对象控件的触发操作,显示第一对象面板,其中,所述第一对象面板中显示有多个不同的对象标识;
所述响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象,包括:
响应于针对所述多个不同的对象标识中的目标对象标识的第一对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述目标对象标识对应的目标对象。
根据本公开的一个或多个实施例,示例9根据示例7所述的方法,在所述响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象之前,还包括:
响应于对所述个人主页的对象显示区域和/或所述对象显示页面中显示的对象控件的触发操作,显示第二对象面板,其中,所述第二对象面板中显示有多个相同的对象标识;
所述响应于对象发送请求,在所述个人主页的对象显示区域和/或所述对象显示页面显示所述对象发送请求对应的目标对象,包括:
响应于针对所述多个相同的对象标识中的目标对象类型标识的第二对象发送请求,基于随机算法确定所述目标对象标识对应的目标对象,并在所述个人主页的对象显示区域和/或所述对象显示页面显示所述目标对象。
根据本公开的一个或多个实施例,示例10根据示例2-5任一所述的方法,显示所述目标用户接收到的对象,包括:
当满足预设条件时,按照预设控制因子控制所述目标用户接收到的对象进行运动,其中,所述预设控制因子包括终端设备的当前倾斜角度、重力以及所述对象的预设弹性系数中的至少一项。
根据本公开的一个或多个实施例,示例11根据示例10所述的方法,还包括:
当多个对象发生碰撞或者至少一个对象运动至所述个人主页的对象显示区域的边界处和/或所述对象显示页面的边界处时,播放碰撞动效。
根据本公开的一个或多个实施例,示例11提供了一种交互装置,包括:
第一接收模块,设置为接收作用于目标用户的个人主页中的第一触发操作;
第一显示模块,设置为响应于所述第一触发操作,将当前页面由所述个人主页切换为对象显示页面,并在所述对象显示页面显示所述目标用户接收到的对象。
根据本公开的一个或多个实施例,示例13提供了一种电子设备,包括:
一个或多个处理器;
存储器,设置为存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如示例1-11中任一所述的交互方法。
根据本公开的一个或多个实施例,示例14提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如示例1-11中任一所述的交互方法。
根据本公开的一个或多个实施例,示例15提供了一种计算机程序产品,当所述计算机程序产品被计算机执行,使得所述计算机实现如示例1-11任一所述的交互方法。
此外,虽然采用特定次序描绘了多种操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的多种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。

Claims (15)

  1. 一种交互方法,包括:
    接收作用于目标用户的个人主页中的第一触发操作;
    响应于所述第一触发操作,将当前页面由所述个人主页切换为对象显示页面,并在所述对象显示页面显示所述目标用户接收到的对象。
  2. 根据权利要求1所述的方法,还包括:
    接收作用于目标用户的个人主页中的第二触发操作;
    响应于所述第二触发操作,在所述个人主页的对象显示区域显示所述目标用户接收到的对象。
  3. 根据权利要求2所述的方法,其中,所述第一触发操作和所述第二触发操作为滑动操作,所述第一触发操作和所述第二触发操作具有相同的滑动方向,所述第一触发操作的滑动距离大于或等于第一距离阈值,所述第二触发操作的滑动距离大于或等于第二距离阈值且小于所述第一距离阈值。
  4. 根据权利要求2所述的方法,在所述对象显示页面显示所述目标用户接收到的对象之后,还包括:
    响应于针对所述对象显示页面中的第一控件的触发操作,将当前页面由所述对象显示页面切换为所述个人主页。
  5. 根据权利要求2所述的方法,在所述对象显示页面显示所述目标用户接收到的对象之后,还包括:
    响应于针对所述对象显示页面中的第二控件的触发操作,将当前页面由所述对象显示页面切换为所述个人主页,并在所述个人主页的对象显示区域显示所述目标用户接收到的对象。
  6. 根据权利要求2-5任一所述的方法,在所述个人主页的对象显示区域显示所述目标用户接收到的对象之后,还包括:
    响应于作用在所述个人主页内的第三触发操作,取消对所述对象的显示。
  7. 根据权利要求2-5任一所述的方法,还包括:
    响应于对象发送请求,在所述个人主页的对象显示区域和所述对象显示页面中的至少之一显示所述对象发送请求对应的目标对象。
  8. 根据权利要求7所述的方法,在所述响应于对象发送请求,在所述个人主页的对象显示区域和所述对象显示页面中的至少之一显示所述对象发送请求对应的目标对象之前,还包括:
    响应于对所述个人主页的对象显示区域和所述对象显示页面中的至少之一显示的对象控件的触发操作,显示第一对象面板,其中,所述第一对象面板中显示有多个不同的对象标识;
    所述响应于对象发送请求,在所述个人主页的对象显示区域和所述对象显示页面中的至少之一显示所述对象发送请求对应的目标对象,包括:
    响应于针对所述多个不同的对象标识中的目标对象标识的第一对象发送请求,在所述个人主页的对象显示区域和所述对象显示页面中的至少之一显示所述目标对象标识对应的目标对象。
  9. 根据权利要求7所述的方法,在所述响应于对象发送请求,在所述个人主页的对象显示区域和所述对象显示页面中的至少之一显示所述对象发送请求对应的目标对象之前,还包括:
    响应于对所述个人主页的对象显示区域和所述对象显示页面中的至少之一显示的对象控件的触发操作,显示第二对象面板,其中,所述第二对象面板中显示有多个相同的对象标识;
    所述响应于对象发送请求,在所述个人主页的对象显示区域和所述对象显示页面中的至少之一显示所述对象发送请求对应的目标对象,包括:
    响应于针对所述多个相同的对象标识中的目标对象标识的第二对象发送请求,基于随机 算法确定所述目标对象标识对应的目标对象,并在所述个人主页的对象显示区域和所述对象显示页面中的至少之一显示所述目标对象。
  10. 根据权利要求2-5任一所述的方法,其中,所述显示所述目标用户接收到的对象,包括:
    响应于确定满足预设条件,按照预设控制因子控制所述目标用户接收到的对象进行运动,其中,所述预设控制因子包括终端设备的当前倾斜角度、重力以及所述对象的预设弹性系数中的至少一项。
  11. 根据权利要求10所述的方法,还包括:
    响应于确定多个对象发生碰撞,或者至少一个对象运动至所述个人主页的对象显示区域的边界处和所述对象显示页面中至少之一的边界处,播放碰撞动效。
  12. 一种交互装置,包括:
    第一接收模块,设置为接收作用于目标用户的个人主页中的第一触发操作;
    第一显示模块,设置为响应于所述第一触发操作,将当前页面由所述个人主页切换为对象显示页面,并在所述对象显示页面显示所述目标用户接收到的对象。
  13. 一种电子设备,包括:
    一个或多个处理器;
    存储器,设置为存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-11中任一所述的交互方法。
  14. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-11中任一所述的交互方法。
  15. 一种计算机程序产品,当所述计算机程序产品被计算机执行,使得所述计算机实现如权利要求1-11任一所述的交互方法。
PCT/CN2023/071574 2022-01-29 2023-01-10 交互方法、装置、电子设备、存储介质和计算机程序产品 WO2023143051A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210113020.4 2022-01-29
CN202210113020.4A CN115576632A (zh) 2022-01-29 2022-01-29 交互方法、装置、电子设备、存储介质和计算机程序产品

Publications (1)

Publication Number Publication Date
WO2023143051A1 true WO2023143051A1 (zh) 2023-08-03

Family

ID=84578641

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/071574 WO2023143051A1 (zh) 2022-01-29 2023-01-10 交互方法、装置、电子设备、存储介质和计算机程序产品

Country Status (2)

Country Link
CN (1) CN115576632A (zh)
WO (1) WO2023143051A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115576632A (zh) * 2022-01-29 2023-01-06 北京字跳网络技术有限公司 交互方法、装置、电子设备、存储介质和计算机程序产品
CN116383547A (zh) * 2023-06-06 2023-07-04 北京达佳互联信息技术有限公司 信息展示方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170329493A1 (en) * 2016-05-10 2017-11-16 International Business Machines Corporation Interactive video generation
CN111898058A (zh) * 2019-05-06 2020-11-06 阿里巴巴集团控股有限公司 个人主页信息处理方法、装置及电子设备
CN112596849A (zh) * 2020-12-30 2021-04-02 支付宝(杭州)信息技术有限公司 页面交互方法、装置及电子设备
CN115576632A (zh) * 2022-01-29 2023-01-06 北京字跳网络技术有限公司 交互方法、装置、电子设备、存储介质和计算机程序产品

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170329493A1 (en) * 2016-05-10 2017-11-16 International Business Machines Corporation Interactive video generation
CN111898058A (zh) * 2019-05-06 2020-11-06 阿里巴巴集团控股有限公司 个人主页信息处理方法、装置及电子设备
CN112596849A (zh) * 2020-12-30 2021-04-02 支付宝(杭州)信息技术有限公司 页面交互方法、装置及电子设备
CN115576632A (zh) * 2022-01-29 2023-01-06 北京字跳网络技术有限公司 交互方法、装置、电子设备、存储介质和计算机程序产品

Also Published As

Publication number Publication date
CN115576632A (zh) 2023-01-06

Similar Documents

Publication Publication Date Title
WO2023143051A1 (zh) 交互方法、装置、电子设备、存储介质和计算机程序产品
CN113110783B (zh) 控件的显示方法、装置、电子设备和存储介质
WO2023274354A1 (zh) 视频共享方法、装置、设备及介质
WO2023169340A1 (zh) 信息展示方法、装置、电子设备、存储介质和程序产品
WO2023160416A1 (zh) 信息展示方法、装置、电子设备、存储介质和程序产品
US11825177B2 (en) Methods, systems, and media for presenting interactive elements within video content
WO2023134492A1 (zh) 页面的显示方法、装置、电子设备、存储介质和程序产品
WO2021098537A1 (zh) 用于目标设备的视图调整方法、装置、电子设备和介质
WO2023103956A1 (zh) 数据交互方法、装置、电子设备、存储介质和程序产品
WO2023216936A1 (zh) 视频播放方法、装置、电子设备、存储介质和程序产品
WO2023155728A1 (zh) 页面显示方法、装置、电子设备、存储介质和程序产品
WO2023071606A1 (zh) 交互方法、装置、电子设备和存储介质
WO2023202460A1 (zh) 页面显示方法、装置、电子设备、存储介质和程序产品
WO2023174139A1 (zh) 作品的显示方法、装置、电子设备、存储介质和程序产品
WO2023116479A1 (zh) 视频的发布方法、装置、电子设备、存储介质和程序产品
WO2023125164A1 (zh) 页面显示方法、装置、电子设备和存储介质
CN115113790A (zh) 一种交互方法、装置、电子设备和存储介质
WO2024037563A1 (zh) 内容展示方法、装置、设备及存储介质
WO2024055836A1 (zh) 播放控制方法、装置、电子设备和存储介质
WO2024060942A1 (zh) 会话列表的显示方法、装置、电子设备和存储介质
WO2023246859A1 (zh) 交互方法、装置、电子设备和存储介质
WO2023138529A1 (zh) 动画的展示方法、装置、电子设备、介质和程序产品
WO2024027689A1 (zh) 媒体内容的控制方法、装置、电子设备和存储介质
WO2023142767A1 (zh) 虚拟对象的控制方法、装置、可读介质和电子设备
WO2023155708A1 (zh) 视角的切换方法、装置、电子设备、存储介质和程序产品

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

Country of ref document: EP

Kind code of ref document: A1