Page interaction method and device, equipment, storage medium and program product
By receiving user operations and updating operation logs, determining the layout type of interactive pages, the problem of excessive screen space occupied by smart assistants and navigation bars is solved, dynamic adjustment of page layout is achieved, and user experience and page efficiency are improved.
Patent Information
- Application Number
- CN202411943335.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-01
AI Technical Summary
When existing Internet pages include smart assistants and navigation bars, they take up too much screen space, resulting in poor user experience, and the smart assistants and navigation bars cannot be linked, affecting the page display efficiency.
By receiving the user's operations on the specified area of the interactive page, updating the operation type in the operation log, determining the layout type of the interactive page, and adjusting the page size and layout according to the screen size, to achieve dynamic page adjustment.
It improves the user's interactive page experience, dynamically adjusts the page layout, optimizes the utilization of screen space, and enhances the efficiency of page display.
Smart Images

Figure CN119739451A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of artificial intelligence and Internet technology, and more specifically, to a method, device, electronic device, computer-readable storage medium, and computer program product for page interaction. Background Art
[0002] In current Internet businesses, there are some scenarios where real-time adjustments to interactive pages are required in response to user requests. For example, current Internet pages often come with smart assistant tools to provide some consultation, quick Q&A and other help. Taking a search page with a smart assistant as an example, in order to display the corresponding content, the search directory and the smart assistant need to be expanded, but the search directory and the smart assistant will occupy the display space of the remaining area, and the display content in other areas will be limited. In the related art, the directory and the smart assistant occupy too much screen space, resulting in a poor user experience. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for page interaction is provided. The method includes: receiving a first operation of a user on a designated area in an interactive page; updating the operation type recorded in an operation log for the designated area according to the operation type of the first operation and a preset update condition; determining a layout type of the interactive page after the change according to the updated recorded operation type; and adjusting the page size and layout of the interactive page based on the changed layout type and the screen size of an interactive device for presenting the interactive page.
[0004] In a second aspect of the present disclosure, a device for page interaction is provided. The device includes: an acquisition module configured to receive a first operation of a user on a specified area in an interactive page; an update module configured to update the operation type recorded in the operation log for the specified area according to the operation type of the first operation and a preset update condition; a determination module configured to determine the layout type of the interactive page after the change according to the updated recorded operation type; and an adjustment module configured to adjust the page size and layout of the interactive page based on the changed layout type and the screen size of the interactive device used to present the interactive page.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the electronic device executes the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the medium, and when the computer program is executed by a processor, the method of the first aspect is implemented.
[0007] In a fifth aspect of the present disclosure, a computer program product is provided, which includes a computer program, wherein when the computer program is executed by a processor, the method according to the first aspect of the present disclosure is implemented.
[0008] It should be understood that the content described in this section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In the following, in conjunction with the accompanying drawings and with reference to the following detailed description, the above and other features, advantages and aspects of various implementations of the present disclosure will become more apparent. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0010] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0011] Figure 2 A schematic diagram of a page interaction system according to some embodiments of the present disclosure is shown;
[0012] FIG. 3A to FIG. 3C A schematic diagram of an interactive page according to some embodiments of the present disclosure is shown;
[0013] Figure 4A A schematic diagram showing an operation status update process according to some embodiments of the present disclosure is shown;
[0014] Figure 4B A schematic diagram showing a page update process according to some embodiments of the present disclosure is shown;
[0015] Figure 5 A schematic diagram showing a process of page interaction according to some embodiments of the present disclosure;
[0016] Figure 6 A schematic structural block diagram of an apparatus for page interaction according to some embodiments of the present disclosure is shown; and
[0017] Figure 7 A block diagram of a computing device is shown in which one or more embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION
[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0019] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0020] It should be noted that the acquisition, storage and application of user personal information involved in the technical solution of the present disclosure are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0021] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0022] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information, so that the user can independently choose whether to provide personal information to software or hardware such as electronic devices, applications, servers or storage media that execute operations of the technical solution of the present disclosure based on the prompt message.
[0023] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information is sent to the user in a manner such as a pop-up window, in which the prompt information can be presented in text form. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0024] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation to the embodiments of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the embodiments of the present disclosure.
[0025] As used herein, the term "model" can learn the association between the corresponding input and output from the training data, so that after the training is completed, the corresponding output can be generated for a given input. The generation of the model can be based on machine learning technology. Deep learning is a machine learning algorithm that processes inputs and provides corresponding outputs by using multi-layer processing units. A neural network model is an example of a model based on deep learning. In this article, "model" may also be referred to as "machine learning model", "learning model", "machine learning network" or "learning network", and these terms are used interchangeably in this article.
[0026] A "neural network" is a machine learning network based on deep learning. A neural network is capable of processing inputs and providing corresponding outputs, and typically includes an input layer and an output layer and one or more hidden layers between the input layer and the output layer. Neural networks used in deep learning applications typically include many hidden layers, thereby increasing the depth of the network. The layers of a neural network are connected in sequence so that the output of the previous layer is provided as input to the next layer, where the input layer receives the input of the neural network and the output of the output layer serves as the final output of the neural network. Each layer of a neural network includes one or more nodes (also called processing nodes or neurons), each of which processes input from the previous layer.
[0027] In some scenarios, an interactive page including a smart assistant and a navigation bar can be provided. In an example scenario, the smart assistant and the navigation bar are located on the left and right sides of the interactive page, respectively, and other content is displayed in the central area of the interactive page, and both the smart assistant and the navigation bar include an expanded state and a closed state. When the navigation bar is expanded, the proportion of the central area in the interactive page is reduced accordingly; when the smart assistant is turned on, the proportion of the central area in the interactive page is also reduced accordingly. At the same time, since the smart assistant and the navigation bar are placed in different document environments, the smart assistant and the navigation bar cannot interact with each other. In another example scenario, when the smart assistant is expanded, it will cover other content displayed in the central area. The smart assistant and the page are not in the same hierarchical structure, and it is not easy to achieve the linkage between the navigation bar and the smart assistant.
[0028] In such an interactive scenario, the smart assistant and the navigation bar will occupy display space in other areas on the one hand, and on the other hand they cannot be linked, resulting in low page display efficiency and affecting the user's interactive experience.
[0029] The embodiment of the present disclosure provides a page interaction scheme. According to the scheme, a first operation of a user on a designated area in an interactive page is received; the operation type recorded in the operation log for the designated area is updated according to the operation type of the first operation and a preset update condition; the layout type of the interactive page after the change is determined according to the updated recorded operation type; and the page size and layout of the interactive page are adjusted based on the changed layout type and the screen size of the interactive device used to present the interactive page.
[0030] Therefore, the embodiments of the present disclosure can provide a page interaction solution for page interaction, so that the interactive page can be adaptively adjusted according to the user's operation, thereby improving the user experience when using the interactive page.
[0031] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, the example environment 100 may include an electronic device 110. The electronic device 110 may run an application 120 that supports page interaction. The application 120 may be any appropriate type of application that supports page interaction, and examples thereof may include, but are not limited to, other appropriate types of applications such as e-commerce platforms, search platforms, and question-and-answer service platforms, and the embodiments of the present disclosure are not limited in this regard. The user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices.
[0032] In the example environment 100 , if the application 120 is active, the electronic device 110 may present an interface 150 for supporting page interaction through the application 120 .
[0033] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio receiver, an e-book device, a game device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).
[0034] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports content presentation in the electronic device 110.
[0035] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.
[0036] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.
[0037] Figure 2 1 shows a schematic diagram of a page interaction system 200 according to some embodiments of the present disclosure. The page interaction system 200 can be run at the electronic device 110 to implement the page interaction function of the application 120. For ease of discussion, reference will be made to Figure 1 The system 200 is described with reference to the environment 100 of FIG.
[0038] like Figure 2 As shown, the page interaction system 200 includes a client 210 and a server 220 .
[0039] like Figure 2 As shown, the client 210 can be configured to provide an interactive page, obtain user operation information on the interactive page, obtain layout information of the current page, and obtain operation logs from the server 220, obtain smart assistant chat records, and obtain updated page layouts.
[0040] In some embodiments, the client 210 can present an interactive page to the user, and the user can operate the interactive page by clicking the corresponding button with the mouse or touching the corresponding area of the display screen with the finger. The client 210 can obtain the user's operation information on the interactive page (i.e., the first operation) and the screen size of the client 210, and send the operation information and the screen size to the server 220 to receive the page layout calculated by the server 220. After the client 210 renders the calculated page layout (i.e., the updated page layout), it presents the updated interactive page to the user. If the user opens the smart assistant, the historical chat records between the user and the smart assistant will also be presented on the smart assistant interface.
[0041] like Figure 2 As shown, the server 220 can be configured to obtain operation records from the client 210 and store them in the operation log, obtain smart assistant chat records from the client 210, query operation records from the operation log, and calculate the layout of the interactive page based on the latest operation and send it to the client 210.
[0042] In some embodiments, the server 220 can determine the user's latest operation (i.e., the updated recorded operation record) according to the user's operation information and the operation log, and determine the content to be displayed in the interactive page based on the latest operation in the operation log: the content to be displayed in the designated area and the non-designated area. Further, the server 220 calculates the page layout according to the screen size of the client 210 and sends it to the client 210 for display.
[0043] The following will further combine FIG. 3A to FIG. 3C To describe the interaction process of the interactive interface in detail. Figure 3A An interactive interface 300A is shown according to some embodiments of the present disclosure.
[0044] like Figure 3A As shown, the interactive interface 300A can be, for example, an e-commerce platform interface, which can provide a navigation bar 310 (i.e., a designated area) and a display area 315. The navigation bar 310 can provide a switch label for switching the displayed content. The interactive page 300A can switch between different page layouts by switching labels. As an example, the navigation bar 310 includes a display area and a switch label. For example, the content displayed in the current display area of the navigation bar 310 in the interactive interface 300A includes a global search directory 320, a retract button 325 corresponding to the currently displayed content in the retracted navigation bar, and a wake-up button 330 of the smart assistant. For example, the user can also switch to the smart assistant by clicking the label corresponding to the wake-up button 330 of the smart assistant.
[0045] refer to Figure 2As described, the electronic device 110 can display the interface 300A of the application 120, and in response to the user's operation information, display the navigation bar 310 and the display area 315 in the interactive interface. The page layout of the navigation bar 310 and the display area 315 is calculated by the server 220.
[0046] like Figure 3A As shown, the navigation bar 310 may be associated with the global search directory 320, for example, and the electronic device 110 may load the search results and display the display area 315 according to the search results.
[0047] In some embodiments, the electronic device 110 may receive a user's selection to switch tabs to trigger a layout change of the interactive page 300A, such as a change of the navigation bar 310. Figure 3B As shown, when the user clicks the corresponding switch tag, the electronic device 110 can update the page layout and display the interactive interface 300B based on the user's operation type.
[0048] like Figure 3B As shown, the electronic device 110 can switch the display of the navigation bar 310 through the user's selection. Figure 3B The smart assistant interface 335 and the display area 315 shown. The electronic device 110 can reduce the occupancy of the display area 315 by replacing the global search directory 320 with the smart assistant interface 335.
[0049] Additionally, in some embodiments, the size of the intelligent assistant interface 335 may be equal to the size of the search directory 320. In this case, the area of the display area 315 in the switched interactive page 300B remains unchanged. At this time, when the page layout is switched from 300A to 300B, only the navigation bar 310 needs to be switched. In other embodiments, the size of the intelligent assistant interface 335 may be different from the size of the global search directory 320. In this case, the server 130 recalculates the page layout according to the latest operation in the electronic device 110 and sends the calculation result to the electronic device 110. The electronic device 110 displays the page 300B according to the calculation result of the page layout.
[0050] In some embodiments, the smart assistant interface 335 can display the chat history between the user and the smart assistant, and the chat history can be stored in the server 130. In response to the user opening the smart assistant interface 335, the electronic device 110 reads the chat history of the corresponding user from the server 130 and displays the chat history in the smart assistant interface 335.
[0051] In some embodiments, the smart assistant interface 335 further includes a retract button 325. The electronic device 110 can retract the smart assistant interface 335 by receiving a user's operation on the retract button 325. After the smart assistant 335 interface is retracted, the interactive page 300B can switch to the interactive page 300A or the interactive page 300C in response to the layout calculated by the server 130.
[0052] In some embodiments, Figure 3C As shown, the electronic device displays a local search directory 340 and an expansion button 345 in the navigation bar 310 of the interactive interface 300C. When the electronic device 110 displays the interactive interface as shown in 300C, the display area 315 in the interactive interface 300C is larger than that in 300A and 300B, so the electronic device 110 needs to obtain the page layout from the server and then display it.
[0053] In some embodiments, the electronic device 110 can switch the interactive page 300C to the interactive page 300A or the interactive page 300B by receiving the user's operation on the expansion button 345. The specific display result is determined by the calculation result of the page layout in the server 130. The calculation result of the page layout is related to the operation log in the server 130.
[0054] Thus, the embodiment of the present disclosure can display different contents in the navigation bar 310 to reduce the occupation of the display area 315 and improve the user's browsing experience. At the same time, the display content in the navigation bar 310 can be intelligently switched according to the user's operation to meet the user's use of the navigation bar 310 and the smart assistant interface 335.
[0055] Figure 4A A schematic diagram of an operation status update process 400A according to some embodiments of the present disclosure is shown. Figure 4B The process 400A shown may be implemented in Figure 1 In the electronic device 110 shown.
[0056] In block 410 , the electronic device 110 obtains an operation type of a first operation performed by a user on a navigation bar.
[0057] In box 415, the electronic device 110 determines whether the operation type of the first operation is an expansion operation. The expansion operation may include an expansion operation corresponding to the intelligent assistant and an expansion operation corresponding to the global search directory. The corresponding expansion operation is a folding operation, which includes a folding operation corresponding to the intelligent assistant and a folding operation corresponding to the global search directory. If the first operation is an expansion operation, jump to box 425; if the first operation is a folding operation, jump to box 420.
[0058] In block 420, if the first operation is a collapse operation, the expansion operation corresponding to the first operation is deleted from the operation log. For example, if the current operation is a collapse operation of the smart assistant, the expansion operation of the smart assistant is also deleted from the operation log.
[0059] In box 425, if the first operation is an expansion operation, the first operation is added to the operation record. For example, if the first operation is an expansion operation of the intelligent assistant, the expansion operation of the intelligent assistant is added to the operation log.
[0060] In block 430 , the operation type of the latest operation in the operation log is used as a parameter for calculating the page layout.
[0061] In some embodiments, the operation log stores at most two operation records. Since there are three display states in the navigation bar, including two expansion states, when the operation log does not store the operation corresponding to the collapse operation, there are at most two operation records. When the latest operation log in the operation log is the assistant expansion operation, the final display result of the navigation bar is the assistant expansion. The page layout can be calculated based on the page layout when the assistant is expanded.
[0062] Figure 4B FIG. 4 is a schematic diagram showing a page update process 400B according to some embodiments of the present disclosure. Figure 4B The process 400B shown may be implemented in Figure 1 In the electronic device 110 shown.
[0063] In block 435, the electronic device 110 obtains the latest operation in the operation log. As can be seen from the above, the latest operation is an expansion operation.
[0064] In box 440, the electronic device 110 determines the page layout according to the display content corresponding to the expansion operation (i.e., determines whether to display the global search directory or the smart assistant in the navigation bar, and the proportion of the display area).
[0065] In block 445, the electronic device 110 determines whether the expansion operation is an intelligent assistant expansion operation. If it is an intelligent assistant expansion operation, the chat history with the intelligent assistant needs to be displayed in the electronic device 110. If it is not an intelligent assistant expansion operation, the electronic device 110 directly calculates the size of the page according to the page layout and the screen size of the electronic device 110, and sets the size of the display area and the navigation bar in the interactive page according to the corresponding ratio.
[0066] In box 450, when the expansion operation is an intelligent assistant expansion operation, the electronic device 110 obtains the chat record between the user and the intelligent assistant, and loads the chat record into the intelligent assistant interface.
[0067] In box 455, the electronic device 110 also calculates the page size according to the page layout and the size of the display of the electronic device 110, and sets the size of the display area and the navigation bar in the interactive page according to the corresponding ratio.
[0068] In box 460, the electronic device 110 refreshes the page layout according to the size of the interactive page and displays the final result.
[0069] Figure 5 A schematic diagram of a page interaction process 500 according to some embodiments of the present disclosure is shown. The process 500 may be implemented or executed in the electronic device 110.
[0070] In box 510, the electronic device 110 receives a first operation of a user on a designated area in an interactive page.
[0071] In block 520 , the electronic device 110 updates the operation type that has been recorded in the operation log for the designated area according to the operation type of the first operation and a preset update condition.
[0072] In box 530, the electronic device 110 determines the layout type of the interactive page after the change according to the updated recorded operation type.
[0073] In block 540 , the electronic device 110 adjusts the page size and layout of the interactive page based on the changed layout type and the screen size of the interactive device used to present the interactive page.
[0074] In some embodiments, receiving a user's first operation on a specified area in an interactive page includes: obtaining click behaviors on expand buttons and close buttons of an assistant interface, a first menu interface, and a second menu interface to obtain the user's first operation on the specified area.
[0075] In some embodiments, according to the operation type of the first operation and the preset update condition, updating the operation type already recorded in the operation log for the designated area includes: in response to the operation type of the first operation being an expansion operation, storing the first operation in the operation log. Or in response to the operation type of the first operation being a closing operation, according to the designated area corresponding to the first operation, deleting the operation record of the expansion operation of the designated area corresponding to the first operation from the operation log.
[0076] In some embodiments, determining the layout type after the interactive page is changed includes: determining the expansion state of the designated area according to the updated recorded operation type, and calling the layout type corresponding to the expansion state of the designated area according to the expansion state of the designated area.
[0077] In some embodiments, adjusting the page size and layout includes: obtaining the screen size of an interactive device used to present the interactive page; adjusting the page size of the interactive page according to the screen size; and adjusting the layout of the interactive page according to the layout type.
[0078] In some embodiments, the first operation further includes: returning data query results according to the query operation, and displaying the data query results on the interactive interface.
[0079] In some embodiments, the process 500 further includes: in response to the expansion state of the designated area being the assistant interface expansion, retrieving the assistant's historical interaction data, and loading the historical dialog box in the assistant interface according to the historical interaction data.
[0080] In some embodiments, only two operation records are retained in the operation log in process 500 .
[0081] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 6 A schematic structural block diagram of an apparatus 600 for page interaction according to some embodiments of the present disclosure is shown. The apparatus 600 may be implemented as or included in the electronic device 110. Each module / component in the apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.
[0082] like Figure 6 As shown, the device 600 includes:
[0083] The acquisition module 610 is configured to receive a first operation of a user on a designated area in an interactive page.
[0084] The updating module 620 is configured to update the operation type that has been recorded in the operation log for the designated area according to the operation type of the first operation and a preset updating condition.
[0085] The determination module 630 is configured to determine the layout type of the interactive page after the change according to the updated recorded operation type.
[0086] The adjustment module 640 is configured to adjust the page size and layout of the interactive page based on the changed layout type and the screen size of the interactive device used to present the interactive page.
[0087] In some embodiments, the device 600 is also configured to obtain click behaviors on the expand button and the close button of the assistant interface, the first menu interface, and the second menu interface to obtain the user's first operation on the designated area.
[0088] In some embodiments, the device 600 is further configured to, in response to the operation type of the first operation being an expansion operation, store the first operation in an operation log. Or, in response to the operation type of the first operation being a closing operation, delete the operation record of the expansion operation of the designated area corresponding to the first operation from the operation log according to the designated area corresponding to the first operation.
[0089] In some embodiments, the apparatus 600 is further configured to determine the expansion state of the designated area according to the updated recorded operation type, and to retrieve the layout type corresponding to the expansion state of the designated area according to the expansion state of the designated area.
[0090] In some embodiments, the apparatus 600 is further configured to obtain a screen size of an interactive device used to present the interactive page, adjust the page size of the interactive page according to the screen size, and adjust the layout of the interactive page according to the layout type.
[0091] In some embodiments, the apparatus 600 is further configured to return data query results according to the query operation and display the data query results on the interactive interface.
[0092] In some embodiments, the device 600 is further configured to retrieve historical interaction data of the assistant in response to the expansion state of the designated area being the expansion of the assistant interface, and load a historical dialog box in the assistant interface according to the historical interaction data.
[0093] In some embodiments, the device 600 is also configured to retain only two operation records in the operation log.
[0094] The units and / or modules included in the device 600 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units and / or modules can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units and / or modules in the device 600 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0095] It should be understood that one or more steps in the above method can be performed by a suitable electronic device or a combination of electronic devices. Such an electronic device or a combination of electronic devices may include, for example, Figure 1 The electronic device 110 in.
[0096] Figure 71 shows a block diagram of an electronic device 700 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 7 The electronic device 700 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 7 The electronic device 700 shown can be used to implement Figure 1 Electronic device 110 or Figure 6 Device 600.
[0097] like Figure 7 As shown, the electronic device 700 is in the form of a general electronic device. The components of the electronic device 700 may include, but are not limited to, one or more processors or processing units 710, a memory 720, a storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. The processing unit 710 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 720. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 700.
[0098] The electronic device 700 typically includes a plurality of computer storage media. Such media can be any available media accessible to the electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 720 can be a volatile memory (e.g., register, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory) or some combination thereof. The storage device 730 can be a removable or non-removable medium, and can include a machine-readable medium, such as a flash drive, a disk, or any other medium, which can be used to store information and / or data and can be accessed within the electronic device 700.
[0099] The electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 7 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 720 may include a computer program product 725 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0100] The communication unit 740 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 700 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 700 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0101] The input device 750 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 760 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 700 may also communicate with one or more external devices (not shown) through the communication unit 740 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 700, or communicate with any device that allows the electronic device 700 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0102] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0103] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0104] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0105] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0106] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0107] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A page interaction method, comprising: Receiving a first operation of a user on a designated area in an interactive page; According to the operation type of the first operation and a preset update condition, updating the operation type recorded in the operation log for the designated area; Determining a layout type of the interactive page after the change according to the updated recorded operation type; as well as The page size and layout of the interactive page are adjusted based on the changed layout type and the screen size of the interactive device used to present the interactive page.
2. The method according to claim 1, wherein the designated area comprises one of an assistant interface, a first menu interface, and a second menu interface, and wherein receiving the first operation of the user on the designated area in the interactive page comprises: Acquire the click behavior of the expansion button and the close button of the assistant interface, the first menu interface and the second menu interface to obtain the first operation of the user on the designated area.
3. The method according to claim 1, wherein updating the operation type already recorded in the operation log for the designated area comprises: In response to the operation type of the first operation being an expansion operation, storing the first operation in the operation log; or In response to the operation type of the first operation being a closing operation, an operation record of an expanding operation of the designated area corresponding to the first operation is deleted from the operation log according to the designated area corresponding to the first operation.
4. The method according to claim 1, wherein determining the layout type of the interactive page after the change comprises: Determining the expansion state of the designated area according to the updated recorded operation type; as well as According to the expansion state of the designated area, a layout type corresponding to the expansion state of the designated area is retrieved.
5. The method of claim 4, wherein adjusting the page size and layout comprises: Acquire the screen size of the interactive device used to present the interactive page; Adjusting the page size of the interactive page according to the screen size; as well as According to the layout type, the layout of the interactive page is adjusted.
6. The method according to claim 1, wherein the first operation further comprises: According to the query operation, return the data query result; The data query result is displayed on the interactive interface.
7. The method according to claim 2, further comprising: In response to the expansion state of the designated area being that the assistant interface is expanded, retrieving historical interaction data of the assistant; as well as According to the historical interaction data, a historical dialog box is loaded in the assistant interface.
8. The method according to claim 1, wherein only two operation records are retained in the operation log.
9. A device for page interaction, comprising: An acquisition module is configured to receive a first operation of a user on a designated area in an interactive page; An updating module, configured to update the operation type already recorded in the operation log for the designated area according to the operation type of the first operation and a preset update condition; A determination module, configured to determine a layout type of the interactive page after the change according to the updated recorded operation type; as well as The adjustment module is configured to adjust the page size and layout of the interactive page based on the changed layout type and the screen size of the interactive device used to present the interactive page.
10. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 8 when executed by the at least one processing unit.
11. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 8.
12. A computer program product tangibly stored in a computer storage medium and comprising computer executable instructions which, when executed by a device, cause the device to perform the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Interaction method and device, equipment and storage medium
CN116339591A
Method and device for interaction, equipment and medium
CN116820304A
Page display method and device, storage medium and electronic equipment
CN117742854A
Cited By
Page layout configuration
US20250238594A1