Search

CN-115794281-B - Page interaction method and device, electronic equipment and storage medium

CN115794281BCN 115794281 BCN115794281 BCN 115794281BCN-115794281-B

Abstract

The method comprises the step of responding to a first trigger operation aiming at a first area of an interactive page, updating a display style of second subareas in second areas according to a preset sequence, wherein each second subarea comprises a plurality of objects belonging to at least one object type, and one object type corresponds to one interaction result. And responding to a second trigger operation for a third area of the interaction page, and determining a second sub-area which is currently hit by the update operation as a target sub-area. The target object is determined from the objects included in the target subregion. And displaying the interaction result corresponding to the object type to which the target object belongs. According to the technical scheme provided by the embodiment of the disclosure, the target subarea is selected from the second subareas with updated multiple display styles, and the target subareas determined in different page interaction processes can be different, so that the page interaction processes are diversified.

Inventors

  • HUANG YURUN
  • Peng Zhongrui

Assignees

  • 北京达佳互联信息技术有限公司

Dates

Publication Date
20260512
Application Date
20221124

Claims (9)

  1. 1. A method of page interaction, the method comprising: Responding to a first triggering operation aiming at a first area of the interactive page, and updating a display style of second subareas in second areas according to a preset sequence, wherein each second subarea comprises a plurality of objects belonging to at least one object type, and one object type corresponds to one interactive result; responding to a second triggering operation aiming at a third area of the interactive page, and determining a second sub-area which is currently hit by the updating operation as a target sub-area; determining a target object according to the objects included in the target subregion; displaying an interaction result corresponding to the object type of the target object; the method further comprises the steps of: Determining an update duration based on user information of a target account, wherein the target account is a user account executing the first trigger operation; the updating operation of the display style of the second subregion in the second region according to the preset sequence comprises the following steps: Taking the first and second subareas indicated by the preset sequence as subareas to be adjusted, and updating the display style of the subareas to be adjusted into a designated style; And after the updating duration time is elapsed, taking the next second sub-region of the sub-region to be adjusted indicated by the preset sequence as a new sub-region to be adjusted, and re-executing the operation of updating the display pattern of the sub-region to be adjusted to the designated pattern.
  2. 2. The method of claim 1, wherein the predetermined sequence comprises at least one of a left-to-right sequence, a right-to-left sequence, and a sequence from a second subregion at the middle to a second subregion at the first end, and then to a second subregion at the second end; The second subregion of first end and the second subregion of second end are respectively the second subregion that is located the second regional both ends.
  3. 3. The method according to claim 1, wherein said determining a target object from objects included in said target subregion comprises: based on a corresponding relation between a predetermined object type and the probability, determining probabilities of a plurality of objects included in the target subarea respectively; and determining a target object from the objects based on the determined probabilities that the objects respectively correspond.
  4. 4. A method according to any one of claims 1 to 3, wherein prior to said responding to the first trigger operation for the first region of the interaction page, the method further comprises: determining the object type of the object included in each second sub-region to be generated and the number of the objects of each object type in the plurality of second sub-regions to be generated; Generating a plurality of second sub-regions based on the object types of the objects included in the plurality of second sub-regions to be generated and the number of objects of each object type; the generated plurality of second sub-regions are presented in the second region.
  5. 5. The method of claim 4, wherein determining the number of objects in the plurality of second sub-regions to be generated, each second sub-region to be generated comprising the object type of the object and the object type of each object type, comprises: Setting sub-region types for the second sub-regions to be generated, wherein the number of the second sub-regions belonging to the same sub-region type in the plurality of second sub-regions to be generated is matched with the preset number corresponding to the sub-region types, and the preset number corresponding to at least two sub-region types is different; And for any second sub-region to be generated, determining the object type of the object included in the second sub-region to be generated and the number of the objects of each object type according to the sub-region type of the second sub-region to be generated.
  6. 6. A method according to any one of claims 1 to 3, wherein the displaying the interaction result corresponding to the object type to which the target object belongs includes: And displaying the target object in a fourth area of the interaction page, and displaying an interaction result corresponding to the object type of the target object in a fifth area of the interaction page.
  7. 7. A page interaction device, the device comprising: The first trigger operation response module is configured to execute a first trigger operation for responding to a first area of the interaction page, and update the display style of second subareas in the second area according to a preset sequence, wherein each second subarea comprises a plurality of objects belonging to at least one object type, and one object type corresponds to one interaction result; a second trigger operation response module configured to perform a second trigger operation in response to a third region of the interaction page, determining a second sub-region currently hit by the update operation as a target sub-region; a target object determination module configured to perform determining a target object from objects included in the target subregion; the interaction result display module is configured to display the interaction result corresponding to the object type of the target object; the apparatus further comprises: the time length determining module is configured to execute the user information based on a target account, and determine the updating time length; The first trigger operation response module is specifically configured to perform: Taking the first and second subareas indicated by the preset sequence as subareas to be adjusted, and updating the display style of the subareas to be adjusted into a designated style; And after the updating duration time is elapsed, taking the next second sub-region of the sub-region to be adjusted indicated by the preset sequence as a new sub-region to be adjusted, and re-executing the operation of updating the display pattern of the sub-region to be adjusted to the designated pattern.
  8. 8. An electronic device, comprising: A processor; a memory for storing the processor-executable instructions; Wherein the processor is configured to execute the instructions to implement the page interaction method of any of claims 1 to 6.
  9. 9. A storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the page interaction method of any of claims 1-6.

Description

Page interaction method and device, electronic equipment and storage medium Technical Field The disclosure relates to the technical field of data processing, and in particular relates to a page interaction method, a page interaction device, electronic equipment and a storage medium. Background With the increasing popularity of terminals, users can watch videos, characters or participate in interactive tasks through the terminals so as to meet the demands of work or life. In the process of participating in an interactive task, the terminal generally generates and displays an interactive page so that the user participates in the interaction through the interactive page. In the related art, an interactive page displayed by a terminal is generally fixed, and a process of a user participating in interaction through the interactive page is single. Disclosure of Invention In order to solve the above technical problems in the related art, an embodiment of the present disclosure provides a method, an apparatus, an electronic device, and a storage medium for page interaction, where the technical scheme of the present disclosure is as follows: In a first aspect, an embodiment of the present disclosure provides a page interaction method, where the method includes: Responding to a first triggering operation aiming at a first area of the interactive page, and updating a display style of second subareas in second areas according to a preset sequence, wherein each second subarea comprises a plurality of objects belonging to at least one object type, and one object type corresponds to one interactive result; responding to a second triggering operation aiming at a third area of the interactive page, and determining a second sub-area which is currently hit by the updating operation as a target sub-area; determining a target object according to the objects included in the target subregion; and displaying the interaction result corresponding to the object type of the target object. Optionally, the method further comprises: Determining an update duration based on user information of a target account, wherein the target account is a user account executing the first trigger operation; the updating operation of the display style of the second subregion in the second region according to the preset sequence comprises the following steps: Taking the first and second subareas indicated by the preset sequence as subareas to be adjusted, and updating the display style of the subareas to be adjusted into a designated style; And after the updating duration time is elapsed, taking the next second sub-region of the sub-region to be adjusted indicated by the preset sequence as a new sub-region to be adjusted, and re-executing the operation of updating the display pattern of the sub-region to be adjusted to the designated pattern. Optionally, the preset sequence includes at least one of a left-to-right sequence, a right-to-left sequence, and a sequence from the second subregion at the middle to the second subregion at the first end, and then to the second subregion at the second end; The second subregion of first end and the second subregion of second end are respectively the second subregion that is located the second regional both ends. Optionally, the determining the target object according to the object included in the target subarea includes: based on a corresponding relation between a predetermined object type and the probability, determining probabilities of a plurality of objects included in the target subarea respectively; and determining a target object from the objects based on the determined probabilities that the objects respectively correspond. Optionally, before the responding to the first trigger operation for the first area of the interaction page, the method further includes: determining the object type of the object included in each second sub-region to be generated and the number of the objects of each object type in the plurality of second sub-regions to be generated; Generating a plurality of second sub-regions based on the object types of the objects included in the plurality of second sub-regions to be generated and the number of objects of each object type; the generated plurality of second sub-regions are presented in the second region. Optionally, the determining the object type of the object included in each of the plurality of second sub-areas to be generated and the number of the objects of each object type includes: Setting sub-region types for the second sub-regions to be generated, wherein the number of the second sub-regions belonging to the same sub-region type in the plurality of second sub-regions to be generated is matched with the preset number corresponding to the sub-region types, and the preset number corresponding to at least two sub-region types is different; And for any second sub-region to be generated, determining the object type of the object included in the second sub-region to be generated and