A data processing method, device and computer readable storage medium
By switching the main window in the instant messaging application to a multi-window page and displaying multiple sub-windows simultaneously, the problem of users frequently switching session windows is solved, the message browsing efficiency is improved and the data browsing method is enriched.
Patent Information
- Application Number
- CN201910527257.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-18
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2039-09-26
AI Technical Summary
In existing instant messaging applications, users need to frequently switch session windows to view messages from multiple friends, resulting in inefficient and single message browsing.
By responding to the main window trigger operation in the target application, the business data of multiple business objects is obtained, and sub-windows are generated for each business object. Switch the main window page to a multi-window page to realize the simultaneous display of multiple sub-windows.
It supports users to browse business data in multiple sub-windows at the same time in one application page, improves the browsing efficiency of multiple business object data, and enriches the way of data browsing.
Smart Images

Figure CN112099617B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and in particular to a data processing method, device and computer-readable storage medium. Background Art
[0002] With the continuous development of computer networks, users are more and more inclined to communicate with others through instant messaging applications. As time goes by, users accumulate more and more friends. Therefore, higher requirements are put forward on how to quickly communicate with multiple friends through instant messaging applications. Among them, effectively improving the ability of users to view messages from multiple friends can also greatly improve the communication efficiency between users and multiple friends.
[0003] Currently, users are supported to first enter the conversation window with friend A, and then view the messages sent to them by friend A. When the user wants to view the messages sent to him by friend B, he needs to first exit the conversation window with friend A, and then enter the conversation window with friend B again to view the messages sent to him by friend B.
[0004] It can be seen that when a user needs to view messages sent to him by multiple friends, he needs to constantly switch the conversation windows between different friends, which leads to low message browsing efficiency and a single message browsing method. Summary of the invention
[0005] The present application provides a data processing method, device and computer-readable storage medium, which can enrich the browsing mode of business data and improve the browsing efficiency of business data.
[0006] On one hand, the present application provides a data processing method, including:
[0007] In response to a trigger operation in a main window of a target application, business data of a plurality of business objects in the target application are acquired;
[0008] Obtaining a sub-window corresponding to each business object; each sub-window is used to browse the business data of the business object;
[0009] The page where the main window is located is switched to a multi-window page, and each sub-window is displayed synchronously in the multi-window page.
[0010] On one hand, the present application provides a data processing device, including:
[0011] A first acquisition module, configured to respond to a trigger operation in a main window of a target application and acquire business data of a plurality of business objects in the target application;
[0012] A second acquisition module is used to acquire a sub-window corresponding to each business object; each sub-window is used to browse the business data of the business object;
[0013] The switching display module is used to switch the page where the main window is located to a multi-window page, and perform multi-window synchronous display on each sub-window in the multi-window page.
[0014] Wherein, the second acquisition module includes:
[0015] A first acquisition unit is used to acquire a sub-window template; the sub-window template is used to generate the sub-window;
[0016] An adding unit, used for adding the business data corresponding to each business object to the sub-window template respectively, and obtaining the business window corresponding to each business object according to the sub-window template to which the business data has been added;
[0017] The setting unit is used to set browsing authority for each service window respectively, and determine the service window with the browsing authority as the sub-window corresponding to the service object.
[0018] Wherein, the first acquisition module includes:
[0019] A detection unit, configured to detect the object status of all business objects in the target application in response to a trigger operation in the main window of the target application; the object status includes a message unread status and a message read status;
[0020] The second acquisition unit is used to acquire the business data of the business object whose object status is the message unread status.
[0021] Wherein, the switching display module includes:
[0022] An order determination unit, used to obtain a message receiving timestamp of each business object, and determine an arrangement order of sub-windows corresponding to each business object according to the message receiving timestamp;
[0023] An array adding unit, used for adding the sub-window corresponding to each business object to the first object array according to the arrangement order;
[0024] An output unit is used to output each sub-window in the first object array to the multi-window page in sequence, and to perform multi-window synchronous display on each sub-window in the first object array in the multi-window page.
[0025] Wherein, the business object also includes an object of interest;
[0026] The output unit comprises:
[0027] The priority subunit is used to set the arrangement priority of the subwindow corresponding to the concerned object to the first priority, and set the arrangement priority of the subwindows corresponding to the remaining business objects to the second priority; the remaining business objects refer to the business objects whose object status is the message unread status except the concerned object;
[0028] an array updating subunit, configured to update the arrangement order of each sub-window in the first object array according to the first priority and the second priority to obtain a second object array;
[0029] The output sub-unit is used to output each sub-window in the second object array to the multi-window page in sequence, and to perform multi-window synchronous display on each sub-window in the second object array in the multi-window page.
[0030] The multi-window page includes a first display area and a second display area; the first display area is used to display a sub-window in a selected state; the second display area is used to display a sub-window in a to-be-selected state; the data processing device further includes:
[0031] The first area switching module is used to respond to the switching operation on the multi-window page, jump and switch the sub-window in the first display area to display in the second display area, obtain the sub-window selected based on the switching operation, and jump and switch the selected sub-window from the second display area to display in the first display area.
[0032] The switching operation includes a sliding switching operation; the first area switching module includes:
[0033] a sliding response unit, configured to respond to a sliding switching operation on the multi-window page, obtain a sliding track corresponding to the sliding switching operation, and obtain sliding information corresponding to the sliding track; the sliding information includes a sliding distance, a sliding speed, and a sliding direction;
[0034] A parameter determination unit, configured to determine animation switching parameters for the sub-window according to the sliding information;
[0035] A first area switching unit, configured to slide and switch the sub-window in the first display area to display in the second display area according to the animation switching parameter;
[0036] The second area switching unit is used to obtain the sub-window selected based on the sliding track, and according to the animation switching parameter, slide and switch the selected sub-window from the second display area to the first display area.
[0037] Wherein, the data processing device further includes:
[0038] A setting module, used to set the object identifier of the business object corresponding to each sub-window respectively;
[0039] An association module, used for associating each object identifier with the sub-window to which it belongs; after the state association, the object identifier is consistent with the selection state of the sub-window to which it belongs; the selection state includes a selected state and a to-be-selected state;
[0040] The identification display module is used to display the object identifications that have been associated with the state in the identification display area corresponding to the sub-window to which each object identification belongs in the multi-window page.
[0041] The multi-window page includes a first display area and a second display area; the first display area is used to display a sub-window in a selected state; the second display area is used to display a sub-window in a to-be-selected state; the data processing device further includes:
[0042] an identification selection module, configured to, in response to a selection operation on the object identification, switch and display the sub-window in the first display area to the second display area;
[0043] A second area switching module, used for acquiring a sub-window selected based on the selection operation, and switching the selected sub-window from the second display area to the first display area for display;
[0044] The return switching module is used to respond to the return switching operation on the sub-window in the first display area, and switch the multi-window page to display the page where the session window of the business object corresponding to the sub-window in the first display area is located.
[0045] Wherein, the object identifier includes the number of unread messages; the number of unread messages is the number of unread messages in the business data corresponding to the business object; the sub-window in the first display area is the target sub-window;
[0046] The data processing device further includes:
[0047] A browsing response module, used for responding to a message browsing operation on the target sub-window and scrolling and displaying the messages in the target sub-window;
[0048] The first identification updating module is used to update the message status of each message in the target sub-window according to the scrolling display result, and update the number of unread messages in the object identification corresponding to the target sub-window based on the updated message status; the message status includes a read status and an unread status.
[0049] Wherein, the data processing device further includes:
[0050] A message acquisition module, used for acquiring the update message corresponding to each business object when in the multi-window page; the message status of the update message is all unread;
[0051] The second identification updating module is used to output the update messages to the corresponding sub-windows respectively, and update the number of unread messages in the corresponding object identification according to the number of messages of the update messages.
[0052] In one aspect, the present invention provides a data processing device, comprising: a processor and a memory;
[0053] The processor is connected to a memory, wherein the memory is used to store a computer program, and the processor is used to call the computer program to execute a method in one aspect of the present application.
[0054] In one aspect, the present application provides a computer-readable storage medium storing a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the method in the above aspect.
[0055] This application obtains the business data of multiple business objects in the target application by responding to the trigger operation in the main window of the target application; obtains the sub-windows corresponding to each business object; each sub-window is used to browse the business data of the business object; switches the page where the main window is located to a multi-window page, and performs multi-window synchronous display of each sub-window in the multi-window page. It can be seen that the method proposed in this application can realize the simultaneous display of multiple sub-windows on a multi-window page under a target application, support users to browse the business data in multiple sub-windows at the same time, that is, browse the business data of multiple business objects at the same time, enrich the browsing method of business data, and improve the browsing efficiency of business data. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0057] Figure 1 It is a schematic diagram of a system architecture provided by this application;
[0058] Figure 2 It is a flowchart of a data processing method provided by this application;
[0059] Figure 3a This is a schematic diagram of a page jump interface provided by this application;
[0060] Figure 3b This is another interface diagram of terminal page jump provided by this application;
[0061] Figure 3c This is another interface diagram of terminal page jump provided by this application;
[0062] Figure 4 It is a flowchart of another data processing method provided by the present application;
[0063] Figure 5 It is a flowchart of a method for setting a logo provided by the present application;
[0064] Figure 6 It is a schematic diagram of a scenario for generating a sub-window provided by the present application;
[0065] Figure 7 It is a flowchart of an interface operation method provided by this application;
[0066] Figure 8 It is a flowchart of another interface operation method provided by the present application;
[0067] Figure 9a This is a schematic diagram of a multi-window page interface provided by this application;
[0068] Figure 9b This is another interface diagram of a multi-window page provided by the present application;
[0069] Fig.9c This is another interface diagram of a multi-window page provided by the present application;
[0070] Fig.10 It is a structural schematic diagram of a data processing device provided by the present application;
[0071] Fig.11 It is a structural schematic diagram of another data processing device provided by the present application. DETAILED DESCRIPTION
[0072] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0073] See also Figure 1, is a schematic diagram of a system architecture provided by this application. Figure 1 As shown, it includes a server 100, a terminal 200a, a terminal 200b and a terminal 200c. Among them, the server 100 can communicate with the terminal 200a, the terminal 200b and the terminal 200c. Here, the communication between the terminal 200a and the server 100 is used as an example to describe the present application. When the server 100 obtains the acquisition request for the multi-window page in the target application sent by the terminal 200a, the server 100 can obtain the business data of the business object in the target application according to the acquisition request, generate a sub-window of the business object according to the acquired business data, and send the generated sub-window of the business object to the terminal 200a. The sub-window generated by the server 100 is used for users to browse the business data of the business object. The terminal 200a can switch the display from the original main window page to the multi-window page in the target application, and display the sub-window sent by the server 100 received in the multi-window page in a multi-window synchronous manner, that is, display the received multiple sub-windows simultaneously in the multi-window page. For example, when the target application is an instant messaging application corresponding to the first user, the acquired business object may be a friend of the first user in the instant messaging application whose message status is unread. The sub-window generated by the server 100 may be a conversation sub-window corresponding to each of the first user and each acquired friend. The terminal 200a simultaneously displays the conversation sub-window of each acquired friend on the multi-window page of the target application, so that the first user can quickly browse the unread messages and historical messages sent to him by multiple friends on the multi-window page at the same time, thereby improving the efficiency of the first user in viewing the messages sent to him by multiple friends.
[0074] Optionally, the sub-window of the above-mentioned business object can be generated by the server 100 according to the acquired business data, or the server 100 sends the acquired business data of the business object to the terminal 200a, and the terminal 200a generates it according to the received business data of the business object. The specific generation method of the sub-window is determined according to the actual application scenario and is not limited here. Among them, the above-mentioned sub-windows (such as session sub-windows) can be created based on AIO (all in one). Among them, the main idea of AIO is to allow the process to initiate many I / O operations (referring to the operation of the interface circuit connecting the device to the central processing unit) without blocking or waiting for any operation to be completed. In combination with the present application, the business data corresponding to multiple business objects can be obtained at the same time, and the sub-window corresponding to each business object can be obtained based on the acquired business data, and then each sub-window can be displayed synchronously in multiple windows.
[0075] Through the method provided by the present application, it is realized that multiple sub-windows corresponding to multiple business data in a target application are displayed simultaneously under one target application. It supports users to browse the business data in multiple sub-windows at the same time on the multi-window page of the target application, which improves the efficiency of users browsing the business data of multiple business objects. At the same time, by synchronously displaying multiple sub-windows containing business data on a multi-window page, the display method of business data corresponding to multiple business objects is enriched, and at the same time, the browsing method of users browsing the business data of multiple business objects is enriched.
[0076] See also Figure 2 , is a flow chart of a data processing method provided by this application, such as Figure 2 As shown, the method may include:
[0077] Step S101, in response to a trigger operation in a main window of a target application, obtaining business data of a plurality of business objects in the target application;
[0078] Specifically, in response to a trigger operation in the main window of the target application, business data of multiple business objects in the target application are obtained. The trigger operation is an operation of requesting to display a multi-window page. The target application may be an instant messaging application corresponding to the first user, the multiple business objects obtained may be multiple friends corresponding to the first user, and the business data of the multiple business objects may be messages sent by the multiple friends to the first user. The target application may be a reading application, the multiple business objects obtained may be multiple books in the reading application, and the business data of the multiple business objects may be chapter contents of the multiple books obtained. The target application may be a game application, the multiple business objects obtained may be multiple games in the game application, and the business data of the multiple business objects may be game data of the multiple games obtained. The target application may be a video application, the multiple business objects obtained may be multiple videos in the game application, and the business data of the multiple business objects may be video data of the multiple videos obtained. The target application may be an application containing multiple mini-programs, the multiple business objects obtained may be multiple mini-programs in the target application, and the business data of the multiple business objects may be mini-program data of the multiple mini-programs obtained.
[0079] Step S102, obtaining a sub-window corresponding to each business object; each sub-window is used to browse the business data of the business object;
[0080] Specifically, a subwindow corresponding to each business object is obtained. The subwindow may be a subwindow generated by the server sent by the terminal and obtained by the terminal, or a subwindow generated by the terminal itself. The subwindow is used to browse the business data of the business object, that is, the business data of the business object is displayed in the subwindow. When the target application is an instant messaging application corresponding to the first user, the subwindow of the business object may be a conversation subwindow for browsing friend messages. When the target application is a reading application, the subwindow of the business object may be a reading subwindow for reading books. When the target application is a game application, the subwindow of the business object may be a game subwindow for playing games. When the target application is a video application, the subwindow of the business object may be a video subwindow for watching videos. When the target application is an application containing multiple mini-programs, the subwindow of the business object may be a mini-program subwindow for using mini-programs. Among them, the mini-program is an application that can be used without downloading and installing. It realizes the dream of "apps within reach". Users can open the application by scanning or searching. It also embodies the concept of "use it and go". Users do not need to worry about whether too many applications are installed. Applications will be ubiquitous and available at any time, but there is no need to install or uninstall.
[0081] Step S103, switching the page where the main window is located to a multi-window page, and performing multi-window synchronous display on each sub-window in the multi-window page;
[0082] Specifically, the page where the main window of the current target application is located is switched to a multi-window page, and the sub-windows obtained are displayed synchronously in the multi-window page, that is, the multiple sub-windows obtained are displayed simultaneously in the multi-window page. This supports users to browse and operate business data in multiple sub-windows in the same application page at the same time.
[0083] This application obtains the business data of multiple business objects in the target application by responding to the trigger operation in the main window of the target application; obtains the sub-windows corresponding to each business object; each sub-window is used to browse the business data of the business object; switches the page where the main window is located to a multi-window page, and performs multi-window synchronous display of each sub-window in the multi-window page. It can be seen that the method proposed in this application can realize the simultaneous display of multiple sub-windows on a multi-window page under a target application, support users to browse the business data in multiple sub-windows at the same time, that is, browse the business data of multiple business objects at the same time, enrich the browsing method of business data, and improve the browsing efficiency of business data.
[0084] See also Figure 3a , is a schematic diagram of a page jump interface provided by this application. Take the instant messaging application corresponding to the first user as an example for explanation. Figure 3aAs shown, page a1 is the page where a main window in the target application is located. The message bar list on page a1 consists of the message bars of 3 friends of the first user, including the message bar of friend "Yiyi", the message bar of friend "Erer", and the message bar of friend "Sansen". Among them, the message bar of friend "Yiyi" includes area b1. In area b1, the time when the latest message from friend "Yiyi" was received is 9:01, and area b1 also includes the number 2 of unread messages in the messages sent by friend "Yiyi" to the first user. Correspondingly, the message bars of friend "Erer" and friend "Sansen" also include areas of the same type as area b1. Among them, the time when the first user received the latest message from friend "Erer" is 9:02, and the number of unread messages of the first user for friend "Erer" is 3. Among them, the time when the first user received the latest message from friend "Sansen" is 9:03, and the number of unread messages of the first user for friend "Sansen" is 4. Among them, the message bars of the above-mentioned friend "Yiyi", friend "Erer", and friend "Sansen" also respectively include the avatars of friend "Yiyi", friend "Erer", and friend "Sansen". On the page where the message bar list is located on page a1, there is also a message button b2, and the user can enter a trigger operation into the terminal through this message button b2. The acquisition method of the trigger operation can be double-clicking the message button b2, long-pressing the message button b2, or holding and sliding the message button b2. The specific acquisition method of the trigger operation is determined according to the actual application scenario and is not restricted here. When the terminal acquires the trigger operation on the message button b2, the main window page a1 where the message list is located can be switched to display as a multi-window page a2. Among them, the business object acquired by the above terminal can be the friend corresponding to the unread message of the first user. Here, the friends "Yiyi", "Erer", and "Sansen" with unread messages are taken as examples for illustration. Page a2 includes the conversation sub-window b4 of friend "Yiyi", the conversation sub-window b5 of friend "Erer", and the conversation sub-window of friend "Sansen". Among them, the conversation sub-window of friend "Sansen" is hidden on page a2. Page a2 also includes the object identifier corresponding to each sub-window, that is, the object identifier corresponding to each sub-window in area b3. Here, the object identifier corresponding to each sub-window is the avatar of its affiliated business object, that is, the object identifier of sub-window b4 is the avatar of friend "Yiyi", the object identifier of sub-window b5 is the avatar of friend "Erer", and the object identifier of the sub-window corresponding to friend "Sansen" is the avatar of friend "Sansen". Among them, in each avatar in area b3 on page a2, there is also the number of unread messages of the friend corresponding to each sub-window, that is, the number of unread messages of friend "Yiyi" is 2, the number of unread messages of friend "Erer" is 3, and the number of unread messages of friend "Sansen" is 4.When the trigger operation is obtained through the message button b2, the arrangement order of the sub-windows in page a2 is the arrangement order of the message bars in the message bar list in page a1, which are the sub-window b4 of friend "one-one", the sub-window b5 of friend "two-two" and the sub-window of friend "three-three". The arrangement order of the object identifiers in area b3 is consistent with the arrangement order of the sub-windows in page a2.
[0085] See also Figure 3b , is another interface diagram of terminal page jump provided by this application. Figure 3b As shown, page a3 is Figure 3a Page a1 in. Page a3 includes a message bar b6 of friend "Er Er", and the user can enter a trigger operation to the terminal through the message bar b6. The way to obtain the trigger operation can be double-clicking the message bar b6, long pressing the message bar b6, or pressing and sliding the message bar b6. The specific way to obtain the trigger operation depends on the actual application scenario and is not limited here. When the terminal obtains the trigger operation on the message bar b6, the page a3 where the main window of the message list is located can be switched to display the multi-window page a4. When the trigger operation is obtained through the message bar b6, the arrangement order of the sub-windows in page a4 is: the first sub-window is the sub-window of the friend "Er Er" in the message bar b6 for obtaining the trigger operation, and the arrangement order of the sub-windows except the first sub-window is the arrangement order of the message bar in page a3, which is the sub-window b7 of the friend "Er Er", the sub-window b8 of the friend "Yi Yi" and the sub-window of the friend "San San", and the arrangement order of the object identifiers in area b9 is consistent with the arrangement order of the sub-windows in page a4. Among them, the sub-window of friend "San San" is hidden in page a4.
[0086] See also Figure 3c , is another interface diagram of terminal page jump provided by this application. Figure 3cAs shown, page a5 is the page where another main window in the target application is located, and page a5 is the main window of the conversation between the first user and his friend "San San". The user can enter the above trigger operation in page a5, and the trigger operation can be obtained by long pressing a blank position in page a5. The trigger operation can also be obtained through the edge of page a5, for example, by sliding from the edge of page a5 toward the center of the page in the direction indicated in area b13. The trigger operation can also be obtained by long pressing a blank position in page a5 and then sliding up or down, and the long pressing and sliding process is uninterrupted. The specific method of obtaining the trigger operation is determined according to the actual application scenario and is not limited here. When the terminal obtains the trigger operation in page a5, the page a5 where the main window of the conversation between the first user and his friend "San San" is located can be switched to display as a multi-window page a6. When the trigger operation is obtained through page a5 where the main window of the conversation with friend "San San" is located, the arrangement order of the sub-windows in page a6 is: the first sub-window is the sub-window b11 corresponding to the friend "San San" in the main window of the conversation for obtaining the trigger operation, and the other sub-windows can also be arranged according to the order in the message bar list, namely, the sub-window b11 of friend "San San", the sub-window b12 of friend "Yi Yi" and the sub-window of friend "Er Er". The arrangement order of the object identifiers in area b10 is consistent with the arrangement order of the sub-windows in page a6.
[0087] Above Figure 3a , Figure 3b as well as Figure 3c Three methods of switching from the main window page to the multi-window page are described respectively. The specific method of switching the multi-window page depends on the actual application scenario and is not limited here. Among them, when the "return" instruction is obtained on the multi-window page, the display can jump to the corresponding application page according to the method of obtaining the trigger operation. For example, when the "return" instruction is obtained on the multi-window page, the display can jump to the corresponding application page according to the method of obtaining the trigger operation. Figure 3a and Figure 3b When the described method obtains the trigger operation, you can jump to the page where the message bar list is located through the "return" instruction. Figure 3c When the described method obtains the trigger operation, the page where the main window of the conversation with the friend "San San" is located can be jumped through the "return" instruction.
[0088] See also Figure 4 , is a flow chart of another data processing method provided by the present application. Figure 4 The data processing method provided is described by taking the target application as the instant messaging application corresponding to the first user as an example. Figure 4 As shown, the method may include:
[0089] Step S201, in response to a trigger operation in a main window of a target application, detecting the object status of all business objects in the target application; the object status includes a message unread status and a message read status;
[0090] The specific implementation process of step S201 can be found in the above Figure 2 The description of step S101 in the corresponding embodiment will not be repeated here.
[0091] Step S202, obtaining the business data of the business object whose object status is the message unread status;
[0092] Specifically, the friends in the target application who have sent new messages to the first user (which may also include strangers who have the authority to send new messages to the first user) are filtered out, and the first user has unread messages for the filtered friends. Each business object in the target application (which may refer to all friends of the first user in the target application) corresponds to an object state, and the object state of the business object with unread messages is determined to be the message unread state, and the object state of the business object without unread messages is determined to be the message read state. The business data of the business object whose object state in the target application is the above-mentioned message unread state is obtained. When obtaining the business data of the business object, the business data of the business object set to the blacklist by the first user can be filtered out. Among them, the business data of the business object obtained above may include the business object's avatar, account name (such as the user's nickname), account number, device information (such as device name) and account status (including the account's online status, invisible status and offline status), etc.
[0093] Step S203, obtaining a sub-window template; the sub-window template is used to generate the sub-window;
[0094] Specifically, a sub-window template is obtained, the sub-window template includes frame information for generating a sub-window, and the sub-window template is used to generate a sub-window. That is, the sub-window template is a window structure uniformly owned by sub-windows of different business objects.
[0095] Optionally, different types of sub-window templates may be used for the first user according to the user identity level of the first user. For example, when the user identity level of the first user is an aristocratic identity level, a sub-window template that conforms to the aristocratic identity level may be configured for the first user, or a variety of advanced sub-window templates may be provided for the first user to choose from. The sub-window template corresponding to the aristocratic identity level may add some cool special effects or special widgets to the sub-window template, or the frame of the sub-window may be a variety of photo frames, etc. When the identity level of the first user is an ordinary identity level, a sub-window template that conforms to the ordinary identity level, such as an ordinary sub-window template, may be configured for the first user.
[0096] Step S204, adding the business data corresponding to each business object to the sub-window template respectively, and obtaining the business window corresponding to each business object according to the sub-window template to which the business data has been added;
[0097] Specifically, the business data corresponding to each acquired business object is added to the sub-window template respectively. For example, the business data of the business object acquired are the avatars, account names, account numbers, device information and account status corresponding to multiple friends respectively. Then, the sub-window template may correspond to the avatar display position, the account name display position, the device information display position and the account status display position. Each business object may correspond to a sub-window template. The avatar of the business object may be added to the avatar display position, the account name of the business object may be added to the account name display position, the device information of the business object may be added to the device information display position, and the account status of the business object may be added to the account status display position. The sub-window templates to which the business data of the business object has been added are respectively used as the business windows of the business objects to which they belong.
[0098] Step S205, setting browsing authority for each service window, and determining the service window with the browsing authority as a sub-window corresponding to the service object;
[0099] Specifically, a browsing permission is set for each business window corresponding to each business object. The business window with browsing permission can obtain and display new messages sent to the first user by the business object to which it belongs in real time. At the same time, the business window with browsing permission supports the first user to browse the business data to which the business window belongs in the business window (for example, browse messages sent to him by friends, including new messages and historical messages). The business window with browsing permission is called a sub-window of the business object.
[0100] Step S206, obtaining a message receiving timestamp of each business object, and determining an arrangement order of sub-windows corresponding to each business object according to the message receiving timestamp;
[0101] Specifically, the message receiving timestamp of each business object is obtained, and the message receiving timestamp may be the receiving time of the latest message sent by the friend to the first user, that is, the latest receiving time of the message. The sub-windows corresponding to each business object are sorted according to the message receiving timestamp, and the sub-windows corresponding to each business object are sorted according to the time sequence of the receiving time from early to late, that is, the arrangement order of the sub-windows corresponding to each business object is the same as the time sequence of the latest receiving time of the message.
[0102] Step S207, adding the sub-window corresponding to each business object to the first object array according to the arrangement order;
[0103] Specifically, according to the arrangement order of the sub-windows obtained above, the sub-window corresponding to each business object is added to the first object array, that is, the first object array contains the arrangement order of the sub-windows corresponding to each business object. Based on the above steps, the process of encapsulating the business data of each business object is realized, that is, the business data of each business object is encapsulated in the sub-window, and then the sub-windows that have been encapsulated with data are assembled into the above-mentioned first object array.
[0104] Step S208, outputting each sub-window in the first object array to the multi-window page in sequence, and performing multi-window synchronous display on each sub-window in the first object array in the multi-window page;
[0105] Specifically, each sub-window in the first object array is output to the multi-window page in sequence, that is, the sub-window corresponding to each business object is output to the multi-window page according to the arrangement order of the sub-windows corresponding to each business object contained in the first object array. In the multi-window page, each sub-window in the first object array is displayed synchronously in multiple windows according to the arrangement order of the sub-windows, that is, the sub-window corresponding to each business object is displayed simultaneously on the multi-window page. The first user is supported to browse the messages sent to him by multiple friends at the same time and quickly, which improves the browsing efficiency of the first user for the new messages sent to him by his friends, and also enriches the display method of the new messages of multiple friends. Among them, the above sub-window can be a conversation sub-window between the first user and the friend, and the conversation sub-window includes all the conversation data between the first user and the friend.
[0106] Step S209, when the business object includes a concerned object, setting the arrangement priority of the sub-window corresponding to the concerned object to the first priority, and setting the arrangement priority of the sub-windows corresponding to the remaining business objects to the second priority;
[0107] Specifically, it supports the first user to set special attention to a friend. The friend who is set to special attention is called a concerned friend (a business object with special attention is set, i.e., a concerned object). When obtaining the business data of the business object, the object state of the concerned object is not concerned. The business data of the concerned object will be obtained each time, and a sub-window corresponding to the concerned object will be generated. The arrangement priority of the sub-window corresponding to the concerned object can be set to the first priority, and the arrangement priority of the sub-window corresponding to other business objects except the concerned object in the obtained business objects can be set to the second priority. The first priority is superior to the second priority.
[0108] Step S210, updating the arrangement order of each sub-window in the first object array according to the first priority and the second priority to obtain a second object array;
[0109] Specifically, the arrangement order of each sub-window in the first object array is updated according to the first priority and the second priority. Since the first priority is higher than the second priority, when determining the arrangement order of the sub-windows, the sub-window corresponding to the first priority can be arranged in front of the position of the sub-window corresponding to the second priority. Among them, when there are multiple sub-windows corresponding to the first priority, the arrangement order of each sub-window within the multiple sub-windows corresponding to the first priority can be determined according to the intimacy between the concerned friend to which the sub-window belongs and the first user. Among them, the intimacy can be the frequency of conversations between the first user and the concerned friend, or it can be the intimacy set by the first user for each concerned friend. The arrangement order of each sub-window within the multiple sub-windows corresponding to the second priority can be determined according to the order of the latest receiving time of each business object message received above. According to the arrangement order of the sub-windows determined by the above process, the arrangement order of each sub-window in the first object array is updated to obtain the second object array. The second object array includes the arrangement order of the sub-windows corresponding to the first priority and the sub-windows corresponding to the second priority.
[0110] Step S211, outputting each sub-window in the second object array to the multi-window page in sequence, and performing multi-window synchronous display on each sub-window in the second object array in the multi-window page;
[0111] Specifically, each sub-window in the second object array is output to the multi-window page in sequence, that is, the sub-window corresponding to each business object is output to the multi-window page according to the arrangement order of the sub-windows corresponding to each business object contained in the second object array. In the multi-window page, each sub-window in the second object array is displayed synchronously in multiple windows according to the arrangement order of the sub-windows, that is, the sub-window corresponding to each business object is displayed simultaneously on the multi-window page.
[0112] This application obtains the business data of multiple business objects in the target application by responding to the trigger operation in the main window of the target application; obtains the sub-windows corresponding to each business object; each sub-window is used to browse the business data of the business object; switches the page where the main window is located to a multi-window page, and performs multi-window synchronous display of each sub-window in the multi-window page. It can be seen that the method proposed in this application can realize the simultaneous display of multiple sub-windows on a multi-window page under a target application, support users to browse the business data in multiple sub-windows at the same time, that is, browse the business data of multiple business objects at the same time, enrich the browsing method of business data, and improve the browsing efficiency of business data.
[0113] See also Figure 5 , is a flowchart of a method for setting a logo provided by this application, such as Figure 5As shown, the method may include:
[0114] Step S301, respectively setting the object identifier of the business object corresponding to each sub-window;
[0115] Specifically, the object identifier of the business object corresponding to each sub-window is set respectively, that is, when the target application is an instant messaging application, the object identifier of the business object corresponding to the sub-window can be set to the user's avatar; when the target application is a video application, the object identifier of the business object corresponding to the sub-window can be set to the video cover; when the target application is a reading application, the object identifier of the business object corresponding to the sub-window can be set to the cover or name of the book; when the target application is a game application, the object identifier of the business object corresponding to the sub-window can be set to the game icon; when the target application is an application containing multiple mini-programs, the object identifier of the business object corresponding to the sub-window can be set to the mini-program icon.
[0116] Step S302, associating each object identifier with the sub-window to which it belongs; the object identifier after the state association is consistent with the selection state of the sub-window to which it belongs; the selection state includes a selected state and a to-be-selected state;
[0117] Specifically, each of the above object identifiers is associated with the sub-window to which it belongs, and the object identifier after the state association is consistent with the selection state of the sub-window to which it belongs, that is, the object identifier after the state association and the selection state of the sub-window to which it belongs are both selected states or both to be selected states.
[0118] Step S303, displaying the object identifiers that have been associated with the state in the identifier display area corresponding to the sub-window to which each object identifier belongs in the multi-window page;
[0119] Specifically, the object identifiers that have been associated with the state are displayed in the identifier display area corresponding to the sub-window to which each object identifier belongs in the multi-window page. When the sub-window is slid or switched, the object identifier corresponding to the sub-window is also slid or switched, that is, the sub-window and its corresponding object identifier are linked.
[0120] See also Figure 6 , is a schematic diagram of a scenario for generating a sub-window provided by the present application. The target application is an instant messaging application as an example for explanation. Figure 6As shown, first, data encapsulation is performed, and the specific content of the data encapsulation includes the avatar, user status and account number corresponding to the business object. The message corresponding to the business object can be loaded in the local message database through the account number of the business object. Among them, when loading the message corresponding to the business object, the message pre-loading can be performed, and for the sub-window of the friend to be presented in the multi-window page, the message of the friend is pre-loaded in the local database through the account number corresponding to the friend. Among them, the sub-window of the friend to be presented in the multi-window page can be a sub-window corresponding to the friend with a new message. A time period can also be set, and the messages of all friends in the target application or multiple friends with high intimacy are pre-loaded in the local data intermittently according to the time period. By pre-loading the message, the message display performance in the multi-window page can be optimized and the message display rate in the multi-window page can be improved. After the message is pre-loaded, a message list of each business object loaded can be obtained. The business data corresponding to the business object obtained by the above encapsulation and the loaded message list can be used to draw the sub-window corresponding to the business object, that is, the display of the interface of the sub-window is realized. Among them, when the sub-window is displayed on the multi-window page, the arrangement order of the sub-window corresponding to each business object needs to be determined. Among them, the order of each business object for data encapsulation can be determined. The order of each business object is used to determine the order of arrangement of the sub-windows corresponding to each subsequent business object, and the order of each business object can be determined according to the latest sending time of the message sent corresponding to each business object. According to the order of arrangement of the sub-windows corresponding to each business object, the business data of each business object (or directly the sub-windows corresponding to each business object) can be assembled into an array, and the array contains the order of arrangement of the sub-windows corresponding to each business object. Based on this, the drawing of the sub-windows corresponding to each business object and the order of arrangement of each sub-window obtained by drawing have been realized. A window list can be obtained according to the order of arrangement of each sub-window, and the window list includes the order of arrangement of the sub-windows. Gesture detection is performed on the page where the main window of the target application is located. After the corresponding gesture is detected, a callback can be performed through the sensor of the terminal to trigger the entry into the multi-window page. The detected gesture may include a long press gesture and a 3D Touch (hit) heavy pressure gesture. The sub-windows in the window list are output to the multi-window page in turn to display the sub-windows. At the same time, the corresponding gesture information can also be obtained in the multi-window page, and the obtained gesture information can be called back. The distance and speed of the gesture movement can be obtained according to the gesture information. The obtained gesture movement distance and speed can be used to perform window animation processing on the sub-windows in the multi-window page, that is, the window moves following the gesture.
[0121] See also Figure 7, which is a schematic flowchart of an interface operation method provided by this application. Taking the instant messaging application corresponding to the first user as the target application as an example for illustration, Figure 7 The corresponding instant messaging application is the above Figure 3a-3c The corresponding instant messaging application, such as Figure 7 As shown, the method may include:
[0122] Step S401, in response to a switching operation for the multi-window page, jump and switch the sub-window in the first display area to the second display area, obtain the sub-window selected based on the switching operation, and jump and switch the selected sub-window from the second display area to the first display area;
[0123] Specifically, among them, the first display area is used to display the sub-windows with the selection state being the selected state, and the second display area is used to display the sub-windows with the selection state being the to-be-selected state. Here, the sub-window in page c1 with the selected state is the sub-window corresponding to the first user's friend "Er Er", and the sub-windows in the to-be-selected state are the sub-windows corresponding to the first user's friend "Yi Yi" and the first user's friend "San San". Among them, each friend's sub-window also corresponds to the avatar of the belonging friend (i.e., the object identifier corresponding to the sub-window), and the selection state of each friend's sub-window is the same as that of the avatar of the belonging friend, that is, both are in the selected state or both are in the to-be-selected state. In response to the switching operation for the multi-window page, for example, in response to the left-right sliding switching operation in the multi-window page (such as the operation shown in area d3), jump and switch the sub-window in the first display area to the second display area. For example, jump and switch the sub-window in the first display area to the area that is hidden or partially hidden in the multi-window page. Obtain the sub-window selected based on the switching operation, and jump and switch the selected sub-window from the second display area to the first display area. Here, if the selected sub-window obtained based on the sliding operation for page c1 is the sub-window corresponding to the friend "Yi Yi", then page c1 can be displayed as page c2, as Figure 7 As shown, in page c2, the selected sub-window corresponding to the friend "Yi Yi" has been jumped and switched from the second display area to the first display area. At this time, the sub-window in page c2 with the selected state is the sub-window corresponding to the first user's friend "Yi Yi", and the sub-windows in the to-be-selected state are the sub-windows corresponding to the first user's friend "Er Er" and the first user's friend "San San".
[0124] Among them, the sliding trajectory corresponding to the sliding switching operation on page c1 can be obtained, and this sliding trajectory refers to the trajectory of the gesture sliding. The sliding information corresponding to this sliding trajectory and the selected sub-window can be obtained. Here, the selected sub-window is the sub-window corresponding to the friend "YiYi". Among them, the sliding information includes the sliding distance, sliding speed, and sliding direction. According to the obtained sliding information, the animation switching parameters for the sub-window can be determined. According to the animation switching parameters, the sub-window corresponding to the friend "ErEr" originally in the first display area is slid and switched to be displayed in the second display area, and the selected sub-window corresponding to the friend "YiYi" originally in the second display area is slid and switched to be displayed in the first display area. The speed, distance, and direction during the sliding switch are the same as the sliding speed, sliding distance, and sliding direction in the obtained sliding information. That is, the sliding information can be obtained based on the gesture information, and then the sub-window can be animated for movement and scaling according to the sliding information. Among them, the size of the sub-window in the first display area can be slightly larger than the size of the sub-window in the second display area. When the sub-window in the first display area is slid and switched to the second display area, there can be an animation effect of the sub-window gradually becoming smaller. When the sub-window in the second display area is slid and switched to the first display area, there can be an animation effect of the sub-window gradually becoming larger, so as to achieve the effect of the sub-window following the gesture sliding and scaling. The sliding switching process of the sub-window corresponding to the friend "ErEr" being switched to the sub-window corresponding to the friend "ErEr" is a continuous process without interruption. Among them, when the sub-window is slid and switched for display, the friend avatar corresponding to the sub-window also slides accordingly, and the sub-window and its affiliated friend avatar remain in the same selected state or the same to-be-selected state.
[0125] Step S402, in response to the selection operation for the object identifier, jump and switch the sub-window in the first display area to be displayed in the second display area; obtain the sub-window selected based on the selection operation, and jump and switch the selected sub-window from the second display area to be displayed in the first display area;
[0126] Specifically, in response to a selection operation for an object identifier, for example, in response to a click operation on the avatar of the friend "Yi Yi" on page c1, the sub-window selected by this click operation is obtained. Here, the selected sub-window is the sub-window corresponding to the friend "Yi Yi". The sub-window corresponding to the friend "Er Er" originally in the first display area is jump-switched to the second display area, and the sub-window corresponding to the friend "Yi Yi" originally in the second display area is jump-switched to the first display area, that is, the sub-window corresponding to the friend "Er Er" is jump-switched to the sub-window corresponding to the friend "Yi Yi". Among them, when switching and displaying sub-windows by clicking on a friend's avatar, it can be slid to switch in the sub-window list, that is, slid to the selected sub-window, or it can be jump-switched, that is, directly jump to display the selected sub-window. Through the click operation on the avatar of the friend "Yi Yi" on page c1, it can also be displayed on page c2.
[0127] Step S403, in response to a return-switching operation for the sub-window in the first display area, jump-switch the multi-window page to the page where the conversation window of the business object corresponding to the sub-window in the first display area is located;
[0128] Specifically, in response to a return-switching operation for the sub-window in the first display area, the multi-window page can be jump-switched to the page where the conversation window of the business object corresponding to the sub-window in the first display area is located. For example, in response to a click operation on the conversation box d1 on page c2, the multi-window page c2 can be jump-switched to the page c3 where the conversation window of the friend "Yi Yi" in the selected state is located. Since the return-switching operation is obtained in the conversation box d1, correspondingly, an input box d2 can be popped up on page c3 to facilitate the first user to quickly enter a reply message to the friend "Yi Yi".
[0129] Optionally, when a click operation on the avatar of the friend "Yi Yi" on page c1 is obtained, it can directly jump to display the page c3 where the conversation window of the friend "Yi Yi" is located. At this time, the input box d2 can be popped up, or the input box d2 may not be popped up. In addition, when a click operation on the dialog box d1 on page c2 is obtained, a reply message can be directly entered and sent in the sub-window corresponding to the friend "Yi Yi" in the multi-window page, and this process can be completed一直在多窗口页面中完成.
[0130] It should be noted that there is an incorrect expression "此间过程可以一直在多窗口页面中完成" in the original text which is not clear. I translated it as "this process can be completed一直在多窗口页面中完成", and you may need to correct this part according to the actual situation.This application obtains the business data of multiple business objects in the target application by responding to the trigger operation in the main window of the target application; obtains the sub-windows corresponding to each business object; each sub-window is used to browse the business data of the business object; switches the page where the main window is located to a multi-window page, and performs multi-window synchronous display of each sub-window in the multi-window page. It can be seen that the method proposed in this application can realize the simultaneous display of multiple sub-windows on a multi-window page under a target application, support users to browse the business data in multiple sub-windows at the same time, that is, browse the business data of multiple business objects at the same time, enrich the browsing method of business data, and improve the browsing efficiency of business data.
[0131] See also Figure 8 , is a flowchart of another interface operation method provided by the present application, such as Figure 8 As shown, the method may include:
[0132] Step S404, in response to the message browsing operation on the target sub-window, scrolling and displaying the messages in the target sub-window; updating the message status of each message in the target sub-window according to the scrolling display result, and updating the number of unread messages in the object identifier corresponding to the target sub-window based on the updated message status;
[0133] Specifically, the subwindow in the first display area is called the target subwindow, and can respond to the message browsing operation for the target subwindow. For example, the target subwindow here is the subwindow corresponding to the friend "22", and can respond to the up and down sliding operation for the subwindow corresponding to the friend "22" shown in area d6. According to the up and down sliding operation, the messages in the subwindow corresponding to the friend "22" are scrolled and displayed. The message status of each message in the target subwindow can be updated according to the scrolling display result. For example, after the up and down sliding operation, the message status of the new message that has been scrolled and displayed in the subwindow is set to the read state, and the message status of the new message that has not been scrolled and displayed in the subwindow is set to the unread state. The number of messages in the new messages with an unread status is obtained in real time, and the obtained number of messages in the unread status is used to update the number of unread messages in the object identifier corresponding to the target sub-window, that is, by sliding up and down in page c4 to scroll and display the messages in the sub-window corresponding to the friend "Er Er", since the three new messages "La La La", "Xi Xi Xi" and "Ha Ha Ha" have been scrolled and displayed, the number of messages in the sub-window corresponding to the friend "Er Er" with an unread status is 0, then the number of unread messages in the avatar of the friend "Er Er" in page c5 is 0, and the number of unread messages does not need to be displayed when it is 0.
[0134] Optionally, when a message browsing operation in the target sub-window (the sub-window corresponding to the friend "Er Er" in page c4) is obtained, start timing. For example, when performing a vertical scrolling operation on the sub-window corresponding to the friend "Er Er" in c4, start timing to obtain the timing duration. When the timing duration reaches the timing duration threshold, the unread message count in the object identifier corresponding to the target sub-window can be cancelled. That is, when a message browsing operation is obtained, after a certain period of time, the status of all new messages is directly set to the read status. At this time, the number of messages with the unread status in the new messages is 0 and can be not displayed and directly cancelled, as Figure 8 shown, the object identifier in area d3 becomes the object identifier in area d4.
[0135] Step S405, when in the multi-window page, obtain the update messages corresponding to each service object; the message status of the update messages is all unread; output the update messages to the corresponding sub-windows respectively, and update the unread message count in the corresponding object identifier according to the message count of the update messages;
[0136] Specifically, when in the multi-window page, new messages corresponding to each service can be obtained in real time. For example, new messages of each friend are obtained, and the new messages are called update messages. The message status of the obtained update messages is all unread, and the obtained update messages can be output to their corresponding sub-windows. And according to the number of update messages output to the sub-window, the unread message count in the corresponding object identifier is updated. For example, at this time in page c5, an update message "Dangdangdang" sent by the friend "Er Er" to the first user is obtained, then page c6 can be displayed, and the update message "Dangdangdang" sent by the friend "Er Er" to the first user has been output and displayed in the sub-window corresponding to the friend "Er Er" in page c6. And since 1 update message sent by the friend "Er Er" to the first user is received, therefore, the unread message count in the avatar of the friend "Er Er" in page c6 changes from 0 to 1, and the unread message count 1 can be eliminated through the browsing operation of the first user in the sub-window corresponding to the friend "Er Er". In addition, in page c6, the friend "Yi Yi" also sent 1 update message to the first user. Correspondingly, the unread message count in the avatar of the friend "Yi Yi" also changes from 2 to 3. At the same time, in page c6, the friend "San San" also sent 2 update messages to the first user. Correspondingly, the unread message count in the avatar of the friend "San San" also changes from 4 to 6, refer to Figure 8As shown, the object identifier in area d4 becomes the object identifier in area d5. By acquiring new messages sent by friends to the first user in real time in the multi-window interface and displaying the acquired new messages in the sub-window to which the new messages belong, the first user can view new messages sent by friends to him in real time even in the multi-window page without delaying the time of viewing the new messages. During the entire process of the above multi-window page display, the multi-window page is dynamic, dynamically acquires new messages, and displays new messages in real time.
[0137] Step S406, in response to a return switch operation on the sub-window in the first display area, the multi-window page is switched and displayed as a page where the session window of the business object corresponding to the sub-window in the first display area is located;
[0138] Specifically, in response to the return switching operation for the target sub-window (i.e., the sub-window displayed in the first display area), the multi-window page jumps and switches to display the page where the session window of the business object corresponding to the target sub-window is located. For example, in response to the return switching operation in the sub-window corresponding to the friend "Er Er" in page c6, the acquisition method can be long pressing a blank position in the sub-window corresponding to the friend "Er Er", double-clicking a blank position in the sub-window corresponding to the friend "Er Er", or long pressing and sliding a blank position in the sub-window corresponding to the friend "Er Er". The specific acquisition method of the return switching operation is determined according to the actual application scenario and is not limited here. Among them, when the return switching operation in page c6 is obtained, the multi-window page c6 can be jumped and switched to display page c7, and page c7 is the page where the session window of the friend "Er Er" is located.
[0139] This application obtains the business data of multiple business objects in the target application by responding to the trigger operation in the main window of the target application; obtains the sub-windows corresponding to each business object; each sub-window is used to browse the business data of the business object; switches the page where the main window is located to a multi-window page, and performs multi-window synchronous display of each sub-window in the multi-window page. It can be seen that the method proposed in this application can realize the simultaneous display of multiple sub-windows on a multi-window page under a target application, support users to browse the business data in multiple sub-windows at the same time, that is, browse the business data of multiple business objects at the same time, enrich the browsing method of business data, and improve the browsing efficiency of business data.
[0140] See also Figure 9a , is a schematic diagram of a multi-window page interface provided by this application. Figure 9aAs shown, the multi-window page y1 includes 5 sub-windows, namely sub-window 1, sub-window 2, sub-window 3, sub-window 4 and sub-window 5. The number of sub-windows is determined according to the actual application scenario and is not limited here. Among them, the object identifiers of the 5 sub-windows are ①, ②, ③, ④ and ⑤ respectively. The object identifiers of the 5 sub-windows can be displayed in the area x1 in the multi-window page in sequence. In addition to the above Figure 7 as well as Figure 8 In addition to the sub-windows described above being displayed horizontally in a multi-window page, they can also be displayed as Figure 9a The vertical overlay display shown in . The user can slide the multi-window page up and down to switch the display of the sub-windows in the multi-window page. Each sub-window also includes a close button. For example, sub-window 1 includes a close button g. When a click operation on close button g is obtained, the click operation can be responded to and sub-window 1 can be removed from the multi-window page y1, that is, sub-window 1 is closed. For example, when the multi-window page y1 is slid down, it can be displayed as page y2. At this time, the selected sub-window is changed from sub-window 1 to sub-window 2, and the corresponding selected object identifier is also changed from object identifier ① to object identifier ②, as shown in FIG. Figure 9a As shown, the border of the selected object icon changes from a circle to a square. When sliding up and down to switch the sub-window in the multi-window page y1, the object identifier corresponding to the sub-window, that is, the object identifier in area x1, will also scroll left and right. That is, by sliding up and down on the multi-window page y1, the object identifier in area x1 in y1 can be displayed as the object identifier in area x2 in the multi-window page y2. The linkage between the sub-window and the object identifier to which it belongs is maintained, that is, the selection state is kept as the selected state or the selection state is kept as the to-be-selected state.
[0141] See also Figure 9b , is another schematic diagram of the interface of a multi-window page provided by this application. Figure 9b As shown, the multi-window page y3 includes 5 sub-windows, namely sub-window 1, sub-window 2, sub-window 3, sub-window 4 and sub-window 5. The number of sub-windows is determined according to the actual application scenario and is not limited here. Among them, the object identifiers of the 5 sub-windows are ①, ②, ③, ④ and ⑤ respectively. The object identifiers of the 5 sub-windows can be displayed in the area x3 in the multi-window page in sequence. Among them, the multi-window page y3 can also be slid up and down to switch the display of the sub-window. When sliding up and down to switch the sub-windows in the multi-window page y3, the object identifier corresponding to the sub-window, that is, the object identifier in the area x3 will also scroll up and down, that is, by sliding up and down on the multi-window page y3, the object identifier in the area x3 in y3 can be displayed as the object identifier in the area x4 in the multi-window page y4. Maintain the linkage between the sub-window and the object identifier to which it belongs, that is, keep the selection state as the selected state or include the selection state as the to-be-selected state.
[0142] See also Fig.9c , is another schematic diagram of the interface of a multi-window page provided by this application. Fig.9c As shown, the multi-window page y5 includes 5 sub-windows, namely sub-window 1, sub-window 2, sub-window 3, sub-window 4 and sub-window 5. The number of sub-windows is determined according to the actual application scenario and is not limited here. Figure 7 , Figure 8 , Figure 9a as well as Figure 9b In addition to the sub-window display method described in the multi-window page, you can also Fig.9c As shown in , the sub-windows are displayed in sequence, rather than being superimposed, that is, the sub-windows do not block each other. By sliding the multi-window page y5 up and down, different sub-windows can also be switched in the multi-window page. For example, when sliding the multi-window page y5 up, the multi-window page y5 can be displayed as a multi-window page y6, as shown in FIG. Figure 9a As shown in the figure, the border of the selected object icon changes from a circle to a square.
[0143] See also Fig.10 , is a schematic diagram of the structure of a data processing device provided by the present application. Fig.10 As shown, the data processing device 1 may include: a first acquisition module 101, a second acquisition module 102 and a switching display module 103;
[0144] A first acquisition module 101 is used to respond to a trigger operation in a main window of a target application and acquire business data of multiple business objects in the target application;
[0145] The second acquisition module 102 is used to acquire a sub-window corresponding to each business object; each sub-window is used to browse the business data of the business object;
[0146] The switching display module 103 is used to switch the page where the main window is located to a multi-window page, and perform multi-window synchronous display on each sub-window in the multi-window page.
[0147] The specific functional implementation of the first acquisition module 101, the second acquisition module 102 and the switching display module 103 can be found in Figure 2 Steps S101 to S103 in the corresponding embodiment will not be described in detail here.
[0148] The second acquisition module 102 includes a first acquisition unit 1021, an adding unit 1022 and a setting unit 1023:
[0149] A first acquisition unit 1021 is used to acquire a sub-window template; the sub-window template is used to generate the sub-window;
[0150] An adding unit 1022, configured to add the business data corresponding to each business object to the sub-window template, and obtain the business window corresponding to each business object according to the sub-window template to which the business data has been added;
[0151] The setting unit 1023 is used to set browsing authority for each service window respectively, and determine the service window with the browsing authority as the sub-window corresponding to the corresponding service object.
[0152] The specific functional implementation of the first acquisition unit 1021, the adding unit 1022 and the setting unit 1023 can be found in Figure 4 Steps S203 to S205 in the corresponding embodiment will not be described in detail here.
[0153] The first acquisition module 101 includes a detection unit 1011 and a second acquisition unit 1012:
[0154] A detection unit 1011 is used to detect the object status of all business objects in the target application in response to a trigger operation in the main window of the target application; the object status includes a message unread status and a message read status;
[0155] The second acquisition unit 1012 is used to acquire the business data of the business object whose object status is the message unread status.
[0156] The specific functional implementation of the detection unit 1011 and the second acquisition unit 1012 can be found in Figure 4 Steps S201 and S202 in the corresponding embodiment will not be described in detail here.
[0157] The switching display module 103 includes a sequence determination unit 1031, an array adding unit 1032 and an output unit 1033:
[0158] The order determination unit 1031 is used to obtain a message receiving timestamp of each business object, and determine an arrangement order of sub-windows corresponding to each business object according to the message receiving timestamp;
[0159] An array adding unit 1032, configured to add the sub-window corresponding to each business object to the first object array according to the arrangement order;
[0160] The output unit 1033 is used to output each sub-window in the first object array to the multi-window page in sequence, and perform multi-window synchronous display on each sub-window in the first object array in the multi-window page.
[0161] The specific functional implementation of the sequence determination unit 1031, the array adding unit 1032 and the output unit 1033 can be found in Figure 4 Steps S206 to S208 in the corresponding embodiment will not be described in detail here.
[0162] Wherein, the business object also includes an object of interest;
[0163] The output unit 1033 includes a priority subunit 10331, an array update subunit 10332 and an output subunit 10333:
[0164] The priority subunit 10331 is used to set the arrangement priority of the subwindow corresponding to the concerned object to the first priority, and set the arrangement priority of the subwindows corresponding to the remaining business objects to the second priority; the remaining business objects refer to the business objects whose object status is the message unread status except the concerned object;
[0165] An array updating subunit 10332 is used to update the arrangement order of each sub-window in the first object array according to the first priority and the second priority to obtain a second object array;
[0166] The output sub-unit 10333 is used to output each sub-window in the second object array to the multi-window page in sequence, and perform multi-window synchronous display on each sub-window in the second object array in the multi-window page.
[0167] The specific functional implementation of the priority subunit 10331, array update subunit 10332 and output subunit 10333 can be found in Figure 4 Steps S209 to S211 in the corresponding embodiment will not be described in detail here.
[0168] The multi-window page includes a first display area and a second display area; the first display area is used to display a sub-window in a selected state; the second display area is used to display a sub-window in a to-be-selected state; the data processing device 1 further includes a first area switching module 104:
[0169] The first area switching module 104 is used to respond to the switching operation on the multi-window page, jump and switch the sub-window in the first display area to display in the second display area, obtain the sub-window selected based on the switching operation, and jump and switch the selected sub-window from the second display area to display in the first display area.
[0170] The specific functional implementation of the first area switching module 104 can be found in Figure 7 The corresponding step S401 in the embodiment will not be described in detail here.
[0171] The switching operation includes a sliding switching operation; the first area switching module 104 includes a sliding response unit 1041, a parameter determination unit 1042, a first area switching unit 1043 and a second area switching unit 1044:
[0172] The sliding response unit 1041 is used to respond to the sliding switching operation on the multi-window page, obtain the sliding track corresponding to the sliding switching operation, and obtain the sliding information corresponding to the sliding track; the sliding information includes the sliding distance, the sliding speed and the sliding direction;
[0173] A parameter determination unit 1042, configured to determine animation switching parameters for the sub-window according to the sliding information;
[0174] A first area switching unit 1043, configured to slide and switch the sub-window in the first display area to display in the second display area according to the animation switching parameter;
[0175] The second area switching unit 1044 is used to obtain the sub-window selected based on the sliding track, and slide and switch the selected sub-window from the second display area to the first display area according to the animation switching parameters.
[0176] The specific functional implementation of the sliding response unit 1041, the parameter determination unit 1042, the first area switching unit 1043 and the second area switching unit 1044 can be found in Figure 7 The corresponding step S401 in the embodiment will not be described in detail here.
[0177] The data processing device 1 further includes a setting module 105, an association module 106 and an identification display module 107:
[0178] A setting module 105, used to set the object identifier of the business object corresponding to each sub-window;
[0179] The association module 106 is used to associate the state of each object identifier with the sub-window to which it belongs; after the state association, the object identifier is consistent with the selection state of the sub-window to which it belongs; the selection state includes a selected state and a to-be-selected state;
[0180] The identification display module 107 is used to display the object identifications that have been associated with the status in the identification display area corresponding to the sub-window to which each object identification belongs in the multi-window page.
[0181] The specific functional implementation of the setting module 105, the association module 106 and the identification display module 107 can be found in Figure 5 Steps S301 to S303 in the corresponding embodiment will not be described in detail here.
[0182] The multi-window page includes a first display area and a second display area; the first display area is used to display a sub-window in a selected state; the second display area is used to display a sub-window in a to-be-selected state; the data processing device 1 further includes an identification selection module 108, a second area switching module 109 and a return switching module 110:
[0183] The identification selection module 108 is used for switching the sub-window in the first display area to the second display area in response to the selection operation on the object identification;
[0184] A second area switching module 109, configured to obtain a sub-window selected based on the selection operation, and switch the selected sub-window from the second display area to the first display area for display;
[0185] The return switching module 110 is used to respond to the return switching operation on the sub-window in the first display area, and switch the multi-window page to display the page where the session window of the business object corresponding to the sub-window in the first display area is located.
[0186] The specific functional implementation of the identification selection module 108, the second area switching module 109 and the return switching module 110 can be found in Figure 7 The corresponding step S402 in the embodiment will not be described in detail here.
[0187] Wherein, the object identifier includes the number of unread messages; the number of unread messages is the number of unread messages in the business data corresponding to the business object; the sub-window in the first display area is the target sub-window;
[0188] The data processing device 1 further includes a browsing response module 111 and a first identification updating module 112:
[0189] A browsing response module 111 is used to respond to a message browsing operation on the target sub-window and scroll and display the messages in the target sub-window;
[0190] The first identification updating module 112 is used to update the message status of each message in the target sub-window according to the scrolling display result, and update the number of unread messages in the object identification corresponding to the target sub-window based on the updated message status; the message status includes a read status and an unread status.
[0191] The specific functional implementation of the browsing response module 111 and the first identification update module 112 can be found in Figure 8 The corresponding step S404 in the embodiment will not be described in detail here.
[0192] The data processing device 1 further includes a message acquisition module 113 and a second identification update module 114:
[0193] The message acquisition module 113 is used to acquire the update message corresponding to each business object when in the multi-window page; the message status of the update message is unread;
[0194] The second identification updating module 114 is used to output the update messages to the corresponding sub-windows respectively, and update the number of unread messages in the corresponding object identification according to the number of the update messages.
[0195] The specific functional implementation of the message acquisition module 113 and the second identification update module 114 can be found in Figure 8 The corresponding step S405 in the embodiment will not be described in detail here.
[0196] This application obtains the business data of multiple business objects in the target application by responding to the trigger operation in the main window of the target application; obtains the sub-windows corresponding to each business object; each sub-window is used to browse the business data of the business object; switches the page where the main window is located to a multi-window page, and performs multi-window synchronous display of each sub-window in the multi-window page. It can be seen that the method proposed in this application can realize the simultaneous display of multiple sub-windows on a multi-window page under a target application, support users to browse the business data in multiple sub-windows at the same time, that is, browse the business data of multiple business objects at the same time, enrich the browsing method of business data, and improve the browsing efficiency of business data.
[0197] See also Fig.11 , is a schematic diagram of the structure of another data processing device provided by the present application. Fig.11As shown, the data processing device 1000 may include: a processor 1001, a network interface 1004 and a memory 1005. In addition, the data processing device 1000 may also include: a user interface 1003, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally be at least one storage device located away from the aforementioned processor 1001. As Fig.11 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.
[0198] exist Fig.11 In the data processing device 1000 shown, the network interface 1004 can provide a network communication function; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:
[0199] In response to a trigger operation in a main window of a target application, business data of a plurality of business objects in the target application are acquired;
[0200] Obtaining a sub-window corresponding to each business object; each sub-window is used to browse the business data of the business object;
[0201] The page where the main window is located is switched to a multi-window page, and each sub-window is displayed synchronously in the multi-window page.
[0202] It should be understood that the data processing device 1000 described in the present application can execute the above Figure 2 and Figure 4 The description of the data processing method in any of the corresponding embodiments may also be performed as described above. Fig.10 The description of the data processing device 1 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.
[0203] In addition, it should be pointed out here that: the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the data processing device 1 mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the above-mentioned Figure 2 and Figure 4 The description of the data processing method in any of the corresponding embodiments of the present invention is omitted here. In addition, the description of the beneficial effects of the same method is omitted here. For technical details not disclosed in the computer storage medium embodiment of the present invention, please refer to the description of the method embodiment of the present invention.
[0204] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0205] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A data processing method, characterized in that: include: In response to a trigger operation in a main window of a target application, business data of a plurality of business objects in the target application are acquired; Get the sub-window corresponding to each business object; The sub-windows are created based on AIO, each sub-window is used to browse the business data of the business object, and each sub-window corresponds to a session window between the first user and a business object; Switch the page where the main window is located to a multi-window page, and perform multi-window synchronous display of each sub-window in the multi-window page; the multi-window page includes a first display area and a second display area, the first display area is used to display the sub-window in the selected state, and the second display area is used to display the sub-window in the to-be-selected state; When in the multi-window page, the update message corresponding to each business object is obtained in real time, and the message status of the update message is unread; Outputting the update messages to the corresponding sub-windows respectively; In response to a return switch operation on the sub-window in the first display area, the multi-window page is switched and displayed as a page where the session window of the business object corresponding to the sub-window in the first display area is located.
2. The method according to claim 1, characterized in that The obtaining of the sub-windows corresponding to each business object includes: Obtaining a sub-window template; the sub-window template is used to generate the sub-window; Adding the business data corresponding to each business object to the sub-window template respectively, and obtaining the business window corresponding to each business object according to the sub-window template to which the business data has been added; Browsing authority is set for each service window respectively, and the service window with the browsing authority is determined as a sub-window corresponding to the service object.
3. The method according to claim 1, characterized in that The response is to a trigger operation in a main window of a target application, and business data of a plurality of business objects in the target application are obtained, including: In response to a trigger operation in a main window of a target application, detecting the object status of all business objects in the target application; the object status includes a message unread status and a message read status; The business data of the business object whose object status is the message unread status is obtained.
4. The method according to claim 3, characterized in that The step of switching the page where the main window is located to a multi-window page and performing multi-window synchronous display on each sub-window in the multi-window page includes: Obtaining a message receiving timestamp of each business object, and determining an arrangement order of sub-windows corresponding to each business object according to the message receiving timestamp; According to the arrangement order, adding the sub-window corresponding to each business object to the first object array; Output each sub-window in the first object array to the multi-window page in sequence, and perform multi-window synchronous display on each sub-window in the first object array in the multi-window page.
5. The method according to claim 4, characterized in that The business objects also include attention objects; Outputting each sub-window in the first object array to the multi-window page in sequence, and performing multi-window synchronous display on each sub-window in the multi-window page, comprises: The arrangement priority of the sub-window corresponding to the concerned object is set to the first priority, and the arrangement priority of the sub-windows corresponding to the remaining business objects is set to the second priority; the remaining business objects refer to the business objects whose object status is the message unread status except the concerned object; updating the arrangement order of each sub-window in the first object array according to the first priority and the second priority to obtain a second object array; Output each sub-window in the second object array to the multi-window page in sequence, and perform multi-window synchronous display on each sub-window in the second object array in the multi-window page.
6. The method according to claim 1, characterized in that The method further comprises: In response to a switching operation on the multi-window page, the sub-window in the first display area is switched and displayed in the second display area, a sub-window selected based on the switching operation is obtained, and the selected sub-window is switched and displayed from the second display area to the first display area.
7. The method according to claim 6, characterized in that The switching operation includes a sliding switching operation; the responding to the switching operation on the multi-window page, switching and displaying the sub-window in the first display area to the second display area, acquiring the sub-window selected based on the switching operation, and switching and displaying the selected sub-window from the second display area to the first display area, comprises: In response to a sliding switching operation on the multi-window page, obtaining a sliding track corresponding to the sliding switching operation, and obtaining sliding information corresponding to the sliding track; the sliding information includes a sliding distance, a sliding speed, and a sliding direction; Determining animation switching parameters for the sub-window according to the sliding information; According to the animation switching parameter, slidingly switching the sub-window in the first display area to be displayed in the second display area; The sub-window selected based on the sliding track is obtained, and the selected sub-window is slid and switched from the second display area to the first display area according to the animation switching parameters.
8. The method according to claim 1, characterized in that Also includes: Set the object ID of the business object corresponding to each sub-window respectively; Associating each object ID with the state of the sub-window to which it belongs; The object identifier after state association is consistent with the selection state of the corresponding sub-window; the selection state includes a selected state and a to-be-selected state; The object identifiers that have been associated with the states are displayed in the identifier display area corresponding to the sub-window to which each object identifier belongs in the multi-window page.
9. The method according to claim 8, characterized in that The method further comprises: In response to a selection operation on the object identifier, switching and displaying the sub-window in the first display area to the second display area; The sub-window selected based on the selection operation is obtained, and the selected sub-window is switched and displayed from the second display area to the first display area.
10. The method according to claim 8, characterized in that The object identifier includes the number of unread messages; the number of unread messages is the number of unread messages in the business data corresponding to the business object; The sub-window in the first display area is a target sub-window; Also includes: In response to a message browsing operation on the target sub-window, scrolling and displaying the messages in the target sub-window; The message status of each message in the target subwindow is updated according to the scrolling display result, and the number of unread messages in the object identifier corresponding to the target subwindow is updated based on the updated message status; the message status includes a read status and an unread status.
11. The method according to claim 9 or 10, characterized in that: Also includes: According to the number of messages of the update message, the number of unread messages in the corresponding object identifier is updated.
12. A data processing device, characterized in that: include: A first acquisition module, configured to respond to a trigger operation in a main window of a target application and acquire business data of a plurality of business objects in the target application; The second acquisition module is used to acquire the sub-window corresponding to each business object; The sub-windows are created based on AIO, each sub-window is used to browse the business data of the business object, and each sub-window corresponds to a session window between the first user and a business object; a switching display module, used for switching the page where the main window is located to a multi-window page, and performing multi-window synchronous display of each sub-window in the multi-window page; the multi-window page includes a first display area and a second display area, the first display area is used for displaying a sub-window in a selected state, and the second display area is used for displaying a sub-window in a state to be selected; A message acquisition module, used for acquiring, in real time when in the multi-window page, the update message corresponding to each business object, wherein the message status of the update message is all unread; A second identification updating module, used for outputting the update messages to the corresponding sub-windows respectively; The return switching module is used to respond to the return switching operation on the sub-window in the first display area, and switch the multi-window page to display the page where the session window of the business object corresponding to the sub-window in the first display area is located.
13. The device according to claim 12, characterized in that The second acquisition module includes: A first acquisition unit is used to acquire a sub-window template; the sub-window template is used to generate the sub-window; An adding unit, used for adding the business data corresponding to each business object to the sub-window template respectively, and obtaining the business window corresponding to each business object according to the sub-window template to which the business data has been added; The setting unit is used to set browsing authority for each service window respectively, and determine the service window with the browsing authority as the sub-window corresponding to the service object.
14. A data processing device, characterized in that: include: Processor and memory; The processor is connected to a memory, wherein the memory is used to store a computer program, and the processor is used to call the computer program to execute the method according to any one of claims 1-11.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 11 is executed.
Citation Information
Patent Citations
Providing Enhanced Message Management User Interfaces
US20150113436A1
Simplified message grouping and display
US9913114B1