Page display method, device and apparatus
By displaying the target page in the current session interface and disabling input controls after the session ends, the problem of merchants sending marketing messages is solved, resulting in a better shopping experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TAOBAO CHINA SOFTWARE
- Filing Date
- 2022-09-22
- Publication Date
- 2026-06-26
Smart Images

Figure CN115456725B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a page display method, apparatus, and device. Background Technology
[0002] With the development of technologies such as the Internet and the Internet of Things, more and more consumers are choosing to shop online. During the online shopping process, consumers and merchants can interact through online chat tools.
[0003] In related technologies, businesses often use intelligent robots and other methods to send various advertisements and marketing information to consumers, resulting in a flood of marketing information, wasting a lot of consumers' time and energy, and leading to a poor shopping experience. Summary of the Invention
[0004] This application provides a page display method, apparatus, and device to reduce the sending of marketing messages, save consumers' time and effort, and improve the consumer shopping experience.
[0005] In a first aspect, embodiments of this application provide a page display method, including:
[0006] Determine the session state of the current session, which includes either a session in progress state or a session ended state;
[0007] If the session status is session ended, the target page is displayed in the current session interface; while the target page is displayed, the input controls in the current session interface are unavailable.
[0008] In response to a preset touch operation input on the target page, the target page is canceled from display, making the input control available.
[0009] In one possible implementation, displaying the target page in the current session interface includes:
[0010] In the current session interface, determine the first area occupied by the input control;
[0011] Based on the first region, a second region is determined in the current session interface; the second region covers the first region.
[0012] The target page is displayed in the second area of the current session interface.
[0013] In one possible implementation, displaying the target page in the second area of the current session interface includes:
[0014] Determine the first layer where the input control is located;
[0015] Based on the first layer, the second layer in which the target page is located is determined; the second layer is located above the first layer.
[0016] The target page is displayed in the second area of the current session interface according to the second layer.
[0017] In one possible implementation, displaying the target page in the current session interface includes:
[0018] In the current session interface, the target page is displayed and the input controls are set to an unavailable state.
[0019] In one possible implementation, setting the input control to an unavailable state includes:
[0020] In the current session interface, the input control is not displayed; or,
[0021] In the current session interface, the input control is set to a disabled state, and the input control is displayed according to a preset color corresponding to the disabled state; or,
[0022] In the current session interface, the input control is set to a disabled state, and a first preset prompt message is displayed in the input control.
[0023] In one possible implementation, the target page includes a target control; the step of canceling the display of the target page in response to a preset touch operation input on the target page includes:
[0024] In response to the preset touch operation input to the target control, the target page is canceled from display.
[0025] In one possible implementation, determining the session state of the current session includes:
[0026] Determine the time when the last message in the current session was sent;
[0027] If the time interval between the sending time and the current time is greater than or equal to a preset time threshold, the session state of the current session is determined to be the session end state.
[0028] In one possible implementation, the method further includes:
[0029] Extract the target link information from the historical chat records corresponding to the current session;
[0030] Determine the transaction status corresponding to the target link information;
[0031] The target link information and the transaction status are displayed on the target page.
[0032] In one possible implementation, the method further includes:
[0033] Display target keywords and / or a second preset prompt on the target page; the target keywords are extracted from the historical chat history of the current session; the second preset prompt includes the session status.
[0034] In one possible implementation, the method further includes:
[0035] The target page displays historical notes and notes input controls.
[0036] In response to an input operation on the remarks input control, the remarks information corresponding to the input operation is added to the historical remarks information.
[0037] Secondly, embodiments of this application provide a page display device, including:
[0038] The determination module is used to determine the session state of the current session, which includes a session in progress state or a session ended state.
[0039] The first display module is used to display a target page in the current session interface if the session state is a session end state; the target page is used to disable the input controls in the current session interface.
[0040] The second display module is used to cancel the display of the target page in response to a preset touch operation input on the target page, so that the input control is made available.
[0041] In one possible implementation, the first display module is specifically used for:
[0042] In the current session interface, determine the first area occupied by the input control;
[0043] Based on the first region, a second region is determined in the current session interface; the second region covers the first region.
[0044] The target page is displayed in the second area of the current session interface.
[0045] In one possible implementation, the first display module is specifically used for:
[0046] Determine the first layer where the input control is located;
[0047] Based on the first layer, the second layer in which the target page is located is determined; the second layer is located above the first layer.
[0048] The target page is displayed in the second area of the current session interface according to the second layer.
[0049] In one possible implementation, the first display module is specifically used for:
[0050] In the current session interface, the target page is displayed and the input controls are set to an unavailable state.
[0051] In one possible implementation, the first display module is specifically used for:
[0052] In the current session interface, the input control is not displayed; or,
[0053] In the current session interface, the input control is set to a disabled state, and the input control is displayed according to a preset color corresponding to the disabled state; or,
[0054] In the current session interface, the input control is set to a disabled state, and a first preset prompt message is displayed in the input control.
[0055] In one possible implementation, the target page includes a target control; the second display module is specifically used for:
[0056] In response to the preset touch operation input to the target control, the target page is canceled from display.
[0057] In one possible implementation, the determining module is specifically used for:
[0058] Determine the time when the last message in the current session was sent;
[0059] If the time interval between the sending time and the current time is greater than or equal to a preset time threshold, the session state of the current session is determined to be the session end state.
[0060] In one possible implementation, the device is further used for:
[0061] Extract the target link information from the historical chat records corresponding to the current session;
[0062] Determine the transaction status corresponding to the target link information;
[0063] The target link information and the transaction status are displayed on the target page.
[0064] In one possible implementation, the device is further used for:
[0065] Display target keywords and / or a second preset prompt on the target page; the target keywords are extracted from the historical chat history of the current session; the second preset prompt includes the session status.
[0066] In one possible implementation, the device is further used for:
[0067] The target page displays historical notes and notes input controls.
[0068] In response to an input operation on the remarks input control, the remarks information corresponding to the input operation is added to the historical remarks information.
[0069] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0070] The memory stores computer-executed instructions;
[0071] The processor executes computer execution instructions stored in the memory, causing the processor to perform the page display method according to any one of the first aspects.
[0072] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the page display method described in any of the first aspects.
[0073] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the page display method shown in any of the first aspects.
[0074] In this embodiment, the electronic device determines the session state of the current session, which includes a session in progress state or a session ended state. If the session state is an ended state, a target page is displayed on the current session interface. While the target page is displayed, the input controls on the current session interface are disabled. In response to a preset touch operation input on the target page, the display of the target page is canceled, making the input controls available. Thus, when the current session has ended, the electronic device displays the target page on the current session interface, making the input controls unavailable. After unlocking the device via a preset touch operation, the user can use the input controls normally. This avoids the situation where merchant customer service sends a large amount of marketing information through intelligent robots or other means, reducing the amount of marketing information, saving consumers' time and energy, and improving the consumer's shopping experience. Attached Figure Description
[0075] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0076] Figure 1 A schematic diagram illustrating an application scenario provided for an exemplary embodiment of this application;
[0077] Figure 2 A flowchart illustrating a page display method provided for an exemplary embodiment of this application;
[0078] Figure 3 A flowchart illustrating another page display method provided for an exemplary embodiment of this application;
[0079] Figure 4 This is a schematic diagram illustrating an exemplary embodiment of this application for canceling the display of a target page;
[0080] Figure 5 This is a schematic diagram illustrating the display of a target page, which is an exemplary embodiment of this application.
[0081] Figure 6 This is a schematic diagram illustrating another target page as an exemplary embodiment of this application.
[0082] Figure 7 A schematic diagram illustrating the display of a remarks input page, which is an exemplary embodiment of this application;
[0083] Figure 8 A logical diagram illustrating a page display as an exemplary embodiment of this application;
[0084] Figure 9 A schematic diagram of the structure of a page display device provided for an exemplary embodiment of this application;
[0085] Figure 10 This is a schematic diagram of the structure of an electronic device provided as an exemplary embodiment of this application. Detailed Implementation
[0086] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0087] In related technologies, during online shopping, the first user (consumer) often needs to interact with a second user (usually a merchant's customer service representative) within an e-commerce platform or application (APP) to determine information such as the price, functions, usage methods, and logistics of goods. This e-commerce application can include various customer service tools. The purpose of the second user's interaction with the first user is to answer questions and provide services; however, in order to increase the conversion rate, after the initial conversation, the second user often abuses the communication channel, frequently sending promotional advertisements and other marketing information unrelated to the first user's inquiry. Furthermore, the second user frequently uses automated chatbots and other auxiliary means to send marketing messages to the first user. These chatbots send large volumes and high frequencies of marketing messages, resulting in information overload, wasting the first user's time and energy, and harming the consumer's shopping experience.
[0088] Figure 1 This is a schematic diagram illustrating an application scenario provided for an exemplary embodiment of this application. For example... Figure 1 As shown, it includes an electronic device 101. The electronic device 101 can be a mobile phone, computer, smartwatch, or other devices.
[0089] In related technologies, such as Figure 1 As shown in (a), after the second user and the first user finish their conversation, the second user can still open the current conversation interface and use the intelligent robot to input and send marketing information normally based on the input control 1011, which causes significant interference to the first user.
[0090] In the embodiments of this application, such as Figure 1 As shown in (b), when the session between the second user and the first user ends, the target page 1012 is displayed on the current session interface of the electronic device 101. At this time, the input control 1011 in the current session interface is obscured and is in an unavailable state. After the second user performs an unlock operation on the target page 1012, for example... Figure 1 As shown in (b), when the user performs a slide-to-unlock operation, the electronic device 101 can cancel the display of the target page 1012, thus restoring the current session interface to the previous state. Figure 1 In step (a), the second user can then use the input control 1011 normally. By obscuring the input control 1011 through the target page 1012, the second user can use it normally after manually unlocking it. This avoids the second user sending a large amount of marketing information to the first user using bots or other technologies after the session ends, saving the user's time and effort and improving the consumer's shopping experience.
[0091] In this embodiment, the electronic device determines the session state of the current session, which includes a session in progress state or a session ended state. If the session state is an ended state, the target page is displayed in the current session interface. When the target page is displayed, the input controls in the current session interface are in an unavailable state. In response to a preset touch operation input on the target page, the display of the target page is canceled, making the input controls available. Thus, when the current session has ended, the electronic device displays the target page in the current session interface, making the input controls unavailable. After the second user unlocks the device through a preset touch operation, they can use the input controls normally. This avoids the situation where merchant customer service sends a large amount of marketing information through intelligent robots or other means, reducing the amount of marketing information, saving consumers' time and energy, and improving the consumer's shopping experience.
[0092] The technical solutions shown in this application will be described in detail below through specific embodiments. It should be noted that the following embodiments may exist independently or in combination with each other, and the same or similar content will not be described again in different embodiments.
[0093] Figure 2 This is a flowchart illustrating a page display method provided for an exemplary embodiment of this application. Please refer to [link / reference]. Figure 2 The method may include:
[0094] S201. Determine the session state of the current session. The session state includes the session in progress state or the session ended state.
[0095] The execution subject of this application embodiment can be an electronic device or a page display device installed in an electronic device. The page display device can be implemented by software or by a combination of software and hardware. For ease of understanding, the following description will use an electronic device as the execution subject.
[0096] In this embodiment, the current session refers to the session displayed on the foreground interface of the electronic device. The session state refers to the different stages of the current session between the first user (first user) and the second user (second user), specifically including a session in progress state or a session ended state. The session in progress state refers to a state where there is information interaction between the first user and the second user. The session ended state refers to a state where there is no information interaction between the first user and the second user.
[0097] Specifically, in this step, the electronic device can determine the session status of the current session based on whether the current session meets preset conditions. If the preset conditions are met, the session status of the current session is session ended; if the preset conditions are not met, the session status of the current session is session in progress. The preset conditions may refer to the second user and / or the first user not sending any more messages within a preset time threshold, or the current session containing a preset session end keyword, or the electronic device detecting that the first user and / or the second user has closed the current session interface, etc. Of course, other determination methods are also possible, and this embodiment does not limit them.
[0098] S202. If the session state is session ended, the target page is displayed in the current session interface; when the target page is displayed, the input controls in the current session interface are in an unavailable state.
[0099] In this embodiment, the target page can refer to a pop-up, overlay, or full-screen overlay, etc. A pop-up can refer to a pop-up bubble or window; an overlay can cover a portion of the screen or the entire screen, i.e., a full-screen overlay. This embodiment does not limit the specific form and display method of the target page. Input controls can refer to text input controls (text input boxes), voice input controls, emoticon input controls, and other types of information input controls in the current session interface. These input controls are typically located at the bottom of the current session interface.
[0100] Specifically, when the current session is in the session-end state, the electronic device can display the target page in the current session interface. At this time, the input controls in the current session interface are unavailable. There are two possible implementations: one is that the target page directly obscures or covers the input controls, making them unavailable; the other is that the target page does not obscure or cover the input controls, and the electronic device directly sets the input controls to an unavailable state. Of course, the electronic device can also use other methods to make the input controls unavailable when the target page is displayed; this application embodiment does not limit this approach.
[0101] S203. In response to a preset touch operation input on the target page, cancel the display of the target page and make the input control available.
[0102] In this embodiment, the preset touch operation refers to a pre-set input operation, specifically a click, double-click, or swipe, or it could be a fingerprint input, voice input, or facial image input. When the electronic device displays the target page in the current session interface, the input control is locked (in an unavailable state), preventing the second user from sending messages to the first user via the input control. When the second user performs an unlock operation, i.e., the preset touch operation, the electronic device can de-display the target page, making the input control available. At this time, the second user can normally use the input control to send messages to the first user. Thus, through the verification of the preset touch operation, human recognition can be achieved, preventing the second user from sending a large amount of marketing information to the first user via a smart robot, thereby reducing the amount of marketing information to some extent.
[0103] In this embodiment, the electronic device determines the session state of the current session, which includes a session in progress state or a session ended state. If the session state is an ended state, the target page is displayed on the current session interface. When the target page is displayed, the input controls on the current session interface are in an unavailable state. In response to a preset touch operation input on the target page, the display of the target page is canceled, making the input controls available. Thus, when the current session has ended, the electronic device displays the target page on the current session interface, making the input controls unavailable. After the user unlocks the device through a preset touch operation, they can use the input controls normally. This avoids situations where a second user sends a large amount of marketing information through intelligent robots or other means, reducing the amount of marketing information, saving the first user's time and effort, and improving the consumer's shopping experience.
[0104] The following Figure 2 Based on the illustrated embodiments, combined with Figure 3 The page display method will be explained in further detail.
[0105] Figure 3 A flowchart illustrating another page display method provided for an exemplary embodiment of this application. Please refer to... Figure 3 The method may include:
[0106] S301. Determine the sending time of the last message in the current session; if the time interval between the sending time and the current time is greater than or equal to a preset time threshold, determine the session state of the current session as the session end state.
[0107] In this embodiment of the application, the preset time threshold can refer to a pre-set time threshold, which can be 3 minutes, 5 minutes or 10 minutes, etc. The specific time threshold can be set according to actual needs, and this embodiment of the application does not limit it.
[0108] Specifically, at the current moment, the electronic device determines the sending time of the last message in the current session. This last message is usually sent by the second user, but it could also be sent by the first user. The electronic device then determines the time interval between the sending time of this last message and the current moment. If this time interval is greater than or equal to a preset time threshold, it can be determined that within the preset time threshold, there is no message interaction between the first and second users in the current session, and the current session is terminated; that is, the session state is session ended. In this step, after the preset time threshold following the cessation of speech by either the second or first user (e.g., 5 minutes after the second user stops speaking), the electronic device can determine that the current session has ended. This allows for rapid determination of the session state, and the judgment process is relatively simple.
[0109] Of course, electronic devices can also determine the session status of the current session through other means, and this application embodiment does not limit this. For example, the electronic device can obtain the chat history of the current session and perform corpus analysis. If keywords indicating the end of the session are extracted, such as "This session ends here", "Thank you for your service", or "Thank you, goodbye", the electronic device can determine that the current session is in a session-ended state.
[0110] S302. If the session state is session ended, the target page is displayed in the current session interface; when the target page is displayed, the input controls in the current session interface are unavailable.
[0111] In this embodiment, if the current session is in an ended state, when the second user opens the current session interface, the target page is displayed in the current session interface, and the input controls are unavailable, preventing the second user from using the input controls normally. It should be noted that since marketing information is often sent from the second user to the first user, the target page may only be displayed in the current session interface of the electronic device used by the second user.
[0112] Optionally, when displaying the target page, the electronic device may include the following two implementation methods:
[0113] Implementation Method 1: In the current session interface, determine the first area occupied by the input control; based on the first area, determine the second area in the current session interface; the second area covers the first area; display the target page in the second area of the current session interface.
[0114] In this embodiment, when displaying a target page, the electronic device can obscure or cover the input controls, rendering them unusable. Specifically, the electronic device can determine a first area occupied by the input controls within the current session interface, then determine a second area that can cover the first area. The area of the second area can be greater than or equal to the area of the first area. The target page is then displayed in the second area, ensuring that the target page completely covers the first area.
[0115] In one possible implementation, displaying the target page in the second area of the current session interface can be achieved through the following steps (1) to (3):
[0116] (1) Determine the first layer where the input control is located.
[0117] (2) Based on the first layer, determine the second layer where the target page is located; the second layer is located above the first layer.
[0118] (3) Based on the second layer, display the target page in the second area of the current session interface.
[0119] In this embodiment, the first layer can refer to the layer containing the input control. Since the input control is included in the current display interface, the first layer can also be the layer containing the current display interface. The second layer can refer to the layer containing the target page. This second layer is above the first layer, thus ensuring that the target page is displayed above the input control.
[0120] In this step, after determining the first and second areas, the electronic device can determine the first layer where the input control is located and the second layer of the target page, while ensuring that the second layer is above the first layer. This allows the target page to effectively obscure or cover the input control, ensuring that the second user cannot directly use the input control before unlocking when the session ends, thus reducing the sending of marketing information.
[0121] In addition, the transparency of the target page can be adjusted when displaying it, which can include the following steps:
[0122] Define the target page area that covers the input control; adjust the transparency of the target page area to the preset transparency so that the input control is visible.
[0123] In this embodiment, the target page area can refer to the portion of the target page that overlaps with the input controls. The preset transparency can refer to a pre-set transparency, such as 40% or 50%, and can be set based on actual needs; this embodiment does not limit this. When displaying the target page, the electronic device can adjust the transparency of the portion of the target page that overlaps with the input controls, i.e., the target page area, to make the input controls in the current session interface visible. This serves as a prompt to the second user and improves the user experience.
[0124] Method 2: Display the target page in the current session interface and disable the input controls.
[0125] In this embodiment of the application, when the electronic device displays the target page, the target page may not obscure the input controls. In this case, the electronic device sets the input controls to an unavailable state, which can improve the flexibility of the target page display.
[0126] In one possible implementation, setting the input control to an unavailable state on the electronic device can specifically include any of the following methods:
[0127] In the current session interface, disable the input control; or, in the current session interface, disable the input control and display it in the preset color corresponding to the disabled state; or, in the current session interface, disable the input control and display the first preset prompt message in the input control.
[0128] In this embodiment, the preset color can refer to the color of the control corresponding to the disabled state, such as gray. The first preset prompt information can refer to a pre-set prompt text, such as "Available after unlocking." In this step, the electronic device can set the input control to an unavailable state in several ways. Specifically, the electronic device can cancel the display of the input control in the current session interface, that is, it will not display the input control in the current session interface. The electronic device can also set the input control to a disabled state and display the input control according to the preset color corresponding to the disabled state, so that the second user can quickly know that the input control is in an unavailable state based on the preset color. The electronic device can also set the input control to a disabled state and display a prompt text, i.e., the first preset prompt information, in the input control, so that the second user can quickly know that the input control is in an unavailable state based on the first preset prompt information.
[0129] Of course, electronic devices can also use other methods to disable input controls. The specific settings can be flexibly configured based on actual needs, and this application does not limit this.
[0130] S303, The target page includes a target control; in response to a preset touch operation on the target control, the target page is canceled from display, making the input control available.
[0131] In this embodiment, the target control can refer to a touch button displayed on the target page for unlocking. When the current session is in a session-end state, when the second user opens the message window of the current session (i.e., the current session interface), the target page is displayed on the current session interface, and the input control is unavailable. At this time, the second user needs to manually unlock the device. This can be done by performing a preset touch operation on the target control, such as sliding a slider, drawing a pattern, dragging a pattern to the target position to complete a puzzle, or selecting a target object from several icons. In response to the preset touch operation performed by the second user on the target control, the electronic device can close the target page, making the input control available. In this way, the electronic device cancels the display of the target page in response to the preset touch operation, which can prevent the second user from sending marketing information through a robot through human recognition, blocking the robot from automatically sending marketing messages and reducing the amount of marketing information.
[0132] It should be noted that when the target page obscures or covers the input controls, after the second user manually unlocks the device, the electronic device will de-display the target page, and the input controls will then be displayed normally and available. When the target page does not obscure the input controls, but the electronic device disables them, the electronic device can make the input controls available after the second user manually unlocks the device. For example, the electronic device can redisplay the input controls or undisable them.
[0133] For example, Figure 4 This is a schematic diagram illustrating an exemplary embodiment of this application of canceling the display of a target page. Figure 4 As shown in (c), the target page 401 is displayed in the current session interface of the electronic device, including the target control 4011. At this time, the input control 402 is obscured by the target page 401 and is in an unavailable state. The electronic device responds to a preset touch operation on the target control 4011. Figure 4 (The middle is a slider), close the target page 401, such as... Figure 4 As shown in (d), the input control 402 can be displayed normally and is in a usable state.
[0134] Furthermore, in this embodiment, the electronic device can also use a preset algorithm to perform algorithmic identification on the message sent by the second user to determine whether the current message is marketing information. If so, the electronic device can block the message. In this way, by using the target page and algorithmic blocking, the amount of marketing information can be further reduced.
[0135] In this embodiment, the sending time of the last message in the current session is determined; if the time interval between the sending time and the current time is greater than or equal to a preset time threshold, the session state of the current session is determined to be a session end state; if the session state is a session end state, the target page is displayed in the current session interface; when the target page is displayed, the input controls in the current session interface are in an unavailable state; the target page includes the target control; in response to a preset touch operation on the target control input, the display of the target page is canceled, making the input control available. In this way, when the electronic device has ended the current session, displaying the target page in the current session interface makes the input controls unavailable. After the user unlocks the device through a preset touch operation, they can use the input controls normally. This avoids the situation where merchant customer service sends a large amount of marketing information through intelligent robots or other means, reducing the amount of marketing information, saving consumers' time and energy, and improving the consumer's shopping experience.
[0136] Based on any of the above embodiments, in one possible implementation, the page display method may further include the following steps (4) to (6):
[0137] (4) Extract the target link information from the historical chat records corresponding to the current session.
[0138] (5) Determine the transaction status corresponding to the target link information.
[0139] (6) Display the target link information and transaction status on the target page.
[0140] In this embodiment, the target link information can refer to a product link or an order link. The transaction status can refer to the transaction status corresponding to the current session, such as unpaid, paid, completed, or not completed. The electronic device can obtain and display the target link information and transaction status based on the historical chat history of the current session. This allows the second user to quickly and clearly understand the current order status of the first user, improving communication efficiency and saving the user's time.
[0141] Based on any of the above embodiments, in one possible implementation, the page display method may further include the following step (7):
[0142] (7) Display the target keyword and / or the second preset prompt information on the target page; the target keyword is extracted from the historical chat history of the current session; the second preset prompt information includes the session status.
[0143] In this embodiment, the target keyword can refer to dialogue keywords or dialogue summaries extracted from chat history that reflect the needs of the first user, such as "shipping" or "returning goods." The second preset prompt information can be used to guide the second user and may include the conversation status and promotional content, such as "the current conversation has ended," "the first user has left the conversation for 5 minutes," or "for the sake of the first user's experience, please do not send marketing information unrelated to the service." In this way, by displaying the target keyword, the second user can quickly identify the current communication status of the first user, improving communication efficiency; by displaying the second preset prompt information, the second user can be guided and educated to reduce the sending of marketing information, improving service quality and service level.
[0144] For example, Figure 5 This is a schematic diagram illustrating the display of a target page, as an exemplary embodiment of this application. For example... Figure 5 As shown, the target page 50 displayed on the current conversation interface of the electronic device includes a second preset prompt message 501, target link information 502, transaction status 503, and target keywords 504. The second preset prompt message 501 includes a prompt text that informs the second user that the current conversation has ended, guiding the second user to reduce the sending of marketing information. The target link information 502 is a product link or order link. The transaction status 503 includes the current transaction node, helping the second user quickly obtain transaction information and improve communication efficiency. The target keywords 504 include keywords determined based on corpus analysis from historical chat records, helping the second user quickly understand the conversation scenario and the first user's needs, quickly understand the communication partner, and further improve communication efficiency.
[0145] Based on any of the above embodiments, in one possible implementation, the page display method may further include the following steps (8) to (9):
[0146] (8) Display historical notes and notes input controls on the target page.
[0147] (9) In response to the input operation of the note input control, add the note information corresponding to the input operation to the historical note information.
[0148] In this embodiment, historical notes can refer to notes added by the second user, such as "the first user urged logistics once," etc. The note input control allows the second user to quickly add notes. The electronic device can receive input from the second user and add notes, further improving communication efficiency.
[0149] It should be understood that the sequence numbers in the embodiments of this application are only used for differentiation and are not intended to restrict the order of the steps. The order of the steps can be flexibly adjusted based on actual needs, and the embodiments of this application do not limit this.
[0150] For example, Figure 6 This is a schematic diagram illustrating another target page as an exemplary embodiment of this application. For example... Figure 6 As shown, the target page 60 displays historical notes information 601 and a notes input control 602. The historical notes information 601 displays historical notes, allowing the second user to quickly understand the first user's actual needs based on these notes. The notes input control 602 can be used to quickly input notes. The second user can input notes in the notes input control 602. Thus, through the historical notes information and the notes input control, this embodiment of the application can meet the needs of merchant customer service to quickly understand consumers, review historical conversations, and quickly make notes at the end of a conversation, improving subsequent communication efficiency.
[0151] In one possible implementation, adding remarks can be achieved in the following way:
[0152] In response to an input operation on the notes input control, a notes input page is displayed, which includes pre-set notes information; in response to a selection operation on the pre-set notes information, the target notes information is determined; in response to a touch operation on the save control input, the target notes information is saved and the notes input page is closed.
[0153] In this embodiment, the pre-set annotation information may refer to pre-defined possible annotation content. The target annotation information may refer to the annotation information determined by the electronic device based on the user's selection operation. The save control may refer to the save button on the annotation input page.
[0154] For example, Figure 7 This illustration shows a schematic diagram of a remarks input page according to an exemplary embodiment of this application. For example... Figure 7 As shown in (e), the electronic device displays a note input page 702 in response to an input operation on the note input control 701. Figure 7As shown in (f), the notes input page 702 includes a text input box 703, pre-set notes information 704, and a save control 705. After displaying the notes input page 702, the electronic device can, in one case, receive the target notes information entered by the second user in the text input box; in another case, in response to the second user's selection operation on the pre-set notes information 704, use the pre-set notes information selected by the second user as the target notes information, and then, in response to a touch operation on the save control, save the target notes information and close the notes input page 702, returning to the display of the target page. Thus, by using pre-set notes information, the efficiency and flexibility of notes input can be improved.
[0155] Based on any of the above embodiments, Figure 8 A logical diagram illustrating a page display according to an exemplary embodiment of this application is shown. For example... Figure 8 As shown, in related technologies, the input controls in the current session window remain normally displayed during and after the session between the second user and the first user, allowing the second user to send marketing messages to the first user. However, in this embodiment, a session state determination process is added, specifically, a preset time threshold is set starting from the time the last message is sent. Figure 8 If neither the first nor the second user speaks within 5 minutes, the electronic device can determine that the current session has ended. The electronic device can then display a target page on the current session interface, disabling the input controls. Once the second user manually unlocks the device (i.e., enters a preset touch operation), the electronic device closes the target page, making the input controls available again, allowing the second user to interact normally with the first user. In this way, by displaying the target page, the second user can only use the input controls after manually unlocking the device, preventing the second user from sending a large amount of marketing information to the first user via a bot. This reduces the amount of marketing information, saves users' time and effort, and improves the consumer shopping experience.
[0156] Figure 9 Please refer to the structural schematic diagram of a page display device provided for an exemplary embodiment of this application. Figure 9 The page display device includes:
[0157] The determination module 91 is used to determine the session state of the current session, which includes the session in progress state or the session end state.
[0158] The first display module 92 is used to display the target page in the current session interface if the session state is the session end state; the target page is used to make the input controls in the current session interface unavailable.
[0159] The second display module 93 is used to respond to a preset touch operation input on the target page, cancel the display of the target page, and make the input control available.
[0160] In one possible implementation, the first display module 92 is specifically used for:
[0161] In the current session interface, determine the first area occupied by the input control;
[0162] Based on the first region, determine the second region in the current session interface; the second region covers the first region;
[0163] Display the target page in the second area of the current session interface.
[0164] In one possible implementation, the first display module 92 is specifically used for:
[0165] Determine the first layer where the input control is located;
[0166] Based on the first layer, determine the second layer where the target page is located; the second layer is located above the first layer.
[0167] Based on the second layer, display the target page in the second area of the current session interface.
[0168] In one possible implementation, the first display module 92 is specifically used for:
[0169] In the current session interface, display the target page and disable the input controls.
[0170] In one possible implementation, the first display module 92 is specifically used for:
[0171] To hide the input controls in the current session interface; or,
[0172] In the current session interface, disable the input controls and display them in the preset color corresponding to the disabled state; or,
[0173] In the current session interface, disable the input controls and display the first preset prompt message in the input controls.
[0174] In one possible implementation, the target page includes a target control; the second display module 93 is specifically used for:
[0175] In response to a preset touch operation on the target control, the target page is canceled from display.
[0176] In one possible implementation, the determining module 91 is specifically used for:
[0177] Determine the time when the last message in the current session was sent;
[0178] If the time interval between the sending time and the current time is greater than or equal to a preset time threshold, the session status of the current session is determined to be session end status.
[0179] In one possible implementation, the device 90 is further used for:
[0180] Extract the target link information from the historical chat history corresponding to the current session;
[0181] Determine the transaction status corresponding to the target link information;
[0182] Display the target link information and transaction status on the target page.
[0183] In one possible implementation, the device 90 is further used for:
[0184] Display the target keyword and / or a second preset prompt on the target page; the target keyword is extracted from the historical chat history of the current session; the second preset prompt includes the session status.
[0185] In one possible implementation, the device 90 is further used for:
[0186] Display historical notes and note input controls on the target page;
[0187] In response to input operations on the notes input control, the corresponding notes information is added to the historical notes information.
[0188] The page display device 90 provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be repeated here.
[0189] Figure 10 For a schematic diagram of an electronic device provided as an exemplary embodiment of this application, please refer to [link / reference]. Figure 10 The electronic device 100 may include a processor 1001 and a memory 1002. Exemplarily, the processor 1001 and the memory 1002 are interconnected via a bus 1003.
[0190] Memory 1002 stores computer-executed instructions;
[0191] The processor 1001 executes computer execution instructions stored in the memory 1002, causing the processor 1001 to perform the page display method as shown in the above method embodiment.
[0192] Accordingly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the page display method of the above-described method embodiments.
[0193] Accordingly, embodiments of this application may also provide a computer program product, including a computer program, which, when executed by a processor, can implement the page display method shown in the above method embodiments.
[0194] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0195] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0196] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0197] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0198] In a typical configuration, a computing device includes one or more processors, input / output interfaces, network interfaces, and memory.
[0199] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0200] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0201] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0202] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A page display method, characterized in that, include: Determine the session state of the current session, which includes either a session in progress state or a session ended state; If the session state is a session end state, in the current session interface, determine the first area occupied by the input control in the current session interface, and determine the second area in the current session interface based on the first area; The second region covers the first region; The target page is displayed in the second area of the current session interface; When the target page is displayed, the input control is in an unavailable state; In response to a preset touch operation input on the target page, the target page is canceled from display, making the input control available. The method further includes: Extract the target link information from the historical chat records corresponding to the current session; Determine the transaction status corresponding to the target link information; The target link information and the transaction status are displayed on the target page. Displaying the target page in the second area of the current session interface includes: Determine the first layer where the input control is located; Based on the first layer, the second layer in which the target page is located is determined; the second layer is located above the first layer. The target page is displayed in the second area of the current session interface according to the second layer.
2. The method according to claim 1, characterized in that, Displaying the target page in the current session interface includes: In the current session interface, the target page is displayed and the input controls are set to an unavailable state.
3. The method according to claim 2, characterized in that, Setting the input control to an unavailable state includes: In the current session interface, the input control is not displayed; or, In the current session interface, the input control is set to a disabled state, and the input control is displayed according to a preset color corresponding to the disabled state; or, In the current session interface, the input control is set to a disabled state, and a first preset prompt message is displayed in the input control.
4. The method according to claim 1, characterized in that, The target page includes a target control; the step of canceling the display of the target page in response to a preset touch operation input on the target page includes: In response to the preset touch operation input to the target control, the target page is canceled from display.
5. The method according to any one of claims 1 to 4, characterized in that, Determining the session state of the current session includes: Determine the time when the last message in the current session was sent; If the time interval between the sending time and the current time is greater than or equal to a preset time threshold, the session state of the current session is determined to be the session end state.
6. The method according to any one of claims 1 to 4, characterized in that, The method further includes: Display target keywords and / or a second preset prompt on the target page; the target keywords are extracted from the historical chat history of the current session; the second preset prompt includes the session status.
7. The method according to any one of claims 1 to 4, characterized in that, The method further includes: The target page displays historical notes and notes input controls. In response to an input operation on the remarks input control, the remarks information corresponding to the input operation is added to the historical remarks information.
8. A page display device, characterized in that, include: The determination module is used to determine the session state of the current session, which includes a session in progress state or a session ended state. The first display module is configured to, if the session state is a session end state, determine a first area occupied by the input control in the current session interface, and determine a second area in the current session interface based on the first area; The second region covers the first region; The target page is displayed in the second area of the current session interface; the target page is used to disable the input control. The second display module is used to respond to a preset touch operation input on the target page, cancel the display of the target page, and make the input control available. The device is also used to extract target link information from the historical chat records corresponding to the current session; Determine the transaction status corresponding to the target link information; The target link information and the transaction status are displayed on the target page. The first display module is specifically used to determine the first layer where the input control is located; Based on the first layer, the second layer in which the target page is located is determined; the second layer is located above the first layer. The target page is displayed in the second area of the current session interface according to the second layer.
9. An electronic device, characterized in that, include: Memory and processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the page display method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the page display method according to any one of claims 1 to 7.
11. A computer program product comprising a computer program that, when executed by a processor, implements the page display method according to any one of claims 1 to 7.