CN110309401B - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN110309401B
CN110309401B CN201810150918.2A CN201810150918A CN110309401B CN 110309401 B CN110309401 B CN 110309401B CN 201810150918 A CN201810150918 A CN 201810150918A CN 110309401 B CN110309401 B CN 110309401B
Authority
CN
China
Prior art keywords
view
current application
interface
filtering
application window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810150918.2A
Other languages
Chinese (zh)
Other versions
CN110309401A (en
Inventor
曾慧琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201810150918.2A priority Critical patent/CN110309401B/en
Priority to PCT/CN2019/074973 priority patent/WO2019158089A1/en
Publication of CN110309401A publication Critical patent/CN110309401A/en
Application granted granted Critical
Publication of CN110309401B publication Critical patent/CN110309401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an information processing method and device, comprising the following steps: processing interface elements of the current application window according to preset filtering conditions, and determining interface elements required by the current application window; and displaying interface elements required by the current application window. According to the method and the device, the visibility of the interface elements is adjusted through the filtering conditions, so that the interface elements which are not needed by the current application window are not displayed in the original session scene, the filtering display function of the application interface is realized, and the application window in which the obtained information is located is reserved while the needed information is obtained.

Description

Information processing method and device
Technical Field
The present invention relates to, but not limited to, mobile communication technology, and in particular, to an information processing method and apparatus.
Background
With the widespread use of instant messaging applications, more and more users communicate with each other using such applications. The instant messaging applications send messages to each other in a one-to-one or multi-person-to-multi-person fashion. Wherein multiple people-to-multiple people messaging is typically presented in the form of a group chat session. That is, the messages sent by multiple persons are concentrated in the same display window and displayed in time sequence. This group chat session provides a space for users to cooperatively communicate with one another. Most message-type applications synchronize message data to the client side and then output and display the message data in the graphical user interface system in which the application is running. The display of such message-type applications is based on the display system framework of the graphical user interface system.
Although many instant messaging applications support multi-person sessions, most applications do not provide a function of filtering information of such multi-person sessions, and some messaging applications can search keywords for group chat information to obtain required information and display the search results in a list, but the search results are not an original session interface when displayed, that is, only the centralized display of the required information searched according to the keywords is displayed, but the original session situation where the required information is located cannot be displayed.
Disclosure of Invention
The application provides an information processing method and device, which can obtain required information and simultaneously reserve an application window scene where the obtained information is located.
The invention provides an information processing method, which comprises the following steps:
processing interface elements of the current application window according to preset filtering conditions, and determining interface elements required by the current application window;
and displaying interface elements required by the current application window.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any of the above-described information processing methods.
The application also provides an apparatus for implementing information processing, including a processor and a computer readable storage medium, where instructions are stored, and when the instructions are executed by the processor, implement a method for implementing information processing according to any of the above.
The present application further provides an information processing apparatus including: the processing module and the display module; wherein,
the processing module is used for processing the interface elements of the current application window according to preset filtering conditions and determining the interface elements required by the current application window;
and the display module is used for displaying interface elements required by the current application window.
The application also provides an information processing method, which comprises the following steps: when the filtering display is triggered, setting the filtering condition through the filtering setting interface of the current application;
processing the interface elements of the current application window according to the input filtering conditions, and determining the interface elements required by the current application window;
and displaying interface elements required by the current application window.
The application comprises the following steps: processing interface elements of the current application window according to preset filtering conditions, and determining interface elements required by the current application window; and displaying interface elements required by the current application window. According to the method and the device, the visibility of the interface elements is adjusted through the filtering conditions, so that the interface elements which are not needed by the current application window are not displayed under the original session scene, the filtering display function of the application interface is realized, and the application window where the obtained information is located, such as the original session scene, is reserved while the needed information is obtained.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the technical aspects of the present application, and are incorporated in and constitute a part of this specification, illustrate the technical aspects of the present application and together with the examples of the present application, and not constitute a limitation of the technical aspects of the present application.
FIG. 1 is a diagram of an exemplary view tree structure of a generic group chat interface;
FIG. 2 is an exemplary message diagram illustration;
FIG. 3 is a flow chart of the information processing method of the present application;
FIG. 4 is a schematic diagram of an embodiment of a selection interaction interface for applications requiring interface element filtering in the present application;
FIG. 5 is a schematic diagram of an embodiment of an application window for the application A to open the filter display function of the interface element;
FIG. 6 (a) is a schematic diagram of a first implementation of one embodiment of the filter settings interface settings of the present application;
FIG. 6 (b) is a process diagram illustrating a second implementation of one embodiment of the filter settings interface settings of the present application;
FIG. 6 (c) is a diagram showing the results of a second implementation of one embodiment of the filter settings interface settings of the present application;
FIG. 7 (a) is a schematic diagram of a first implementation of another embodiment of the filter settings interface settings of the present application;
FIG. 7 (b) is a schematic diagram of a second implementation of another embodiment of the filter settings interface settings of the present application;
FIG. 8 is a flow chart of an embodiment of the present application processing interface elements of a current application window;
FIG. 9 is a flow chart of a first embodiment of the present application for determining interface element visibility;
FIG. 10 is a flow chart of a second embodiment of the present application for determining interface element visibility;
FIG. 11 is a flow chart of an embodiment of a message view in a measurement application window of the present application;
FIG. 12 is a flow chart of an embodiment of a message view in a layout application window of the present application;
FIG. 13 is a schematic diagram showing the structural composition of an apparatus for implementing information processing according to the present application;
FIG. 14 is a schematic view showing the constitution of an information processing apparatus of the present application;
fig. 15 is a schematic diagram of a system architecture for implementing information processing in the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail hereinafter with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be arbitrarily combined with each other.
Currently, various instant messaging applications provide a function of multi-user instant messaging such as group chat, conference chat, etc. These applications are installed and run on various communication terminal operating systems, and the interface display functions thereof are developed based on a graphical user interface development interface provided by the operating system. The drawing and display of application interfaces and management require an application framework layer of the system to support.
The interactive interface presented by the application can be regarded as an integral view unit, called root view. The root view can in turn be seen as a group of several large view units, such a view comprising one or more sub-views being referred to as a view group. According to such a partitioning, a certain interactive interface of an application may be described by a tree structure consisting of views and view groups. FIG. 1 is a diagram of an exemplary view tree structure of a generic group chat interface, which can be seen as a root view as a whole, as shown in FIG. 1; the different areas of the session interface are sub-view groups under the root view, such as a group chat title area and a message display area; the different sub-view groups in turn consist of one to multiple sub-views or groups of attempts.
Interface elements on the interface are managed in the form of view units. View elements are of different types, text types, picture types, and various composite types. Although of different types, there are some common attributes and executable operations such as: all have the attribute of describing the visibility of the view, and one interface element can be controlled to be hidden or displayed on the interface by setting the visibility; and the following steps: all have properties describing the position and size, and by setting these properties, the display position and display size of an interface element in the window can be controlled. A view unit may be a most basic interface element such as a text, or may be a set of multiple interface elements, i.e., a view group formed by combining multiple view units. Fig. 2 is a diagram of a typical message view, including several sub-views, such as an avatar view, a time view, a name view, a message content view, etc. A message can be seen as a view group consisting of several sub-views. Some of these sub-views are text type for displaying text. The message view herein is a combined view, i.e. a view group. A message view may be made up of multiple sub-views, containing at least text.
The group chat of most messaging applications does not provide the functionality of the group chat session interface to "see only someone" or "not see someone" speaking information. In practice, the inventors have found that it is particularly useful for situations where a large amount of information is present in a group chat, if this is a function, when the user wants to see only what he is interested in or does not want to be disturbed by certain messages. In order to display the required information and keep the original interface information where the required information is located as far as possible, the application provides an information processing method.
FIG. 3 is a flowchart of the information processing method of the present application, as shown in FIG. 3, including:
step 300: and processing the interface elements of the current application window according to preset filtering conditions, and determining the interface elements required by the current application window.
Alternatively, the filtering conditions may include, but are not limited to: preset key information;
the determining the interface element needed by the current application window comprises the following steps:
determining the visibility of the interface element according to whether the interface element is matched with the key information;
and determining the interface element with visible visibility as the interface element required by the current application window.
Optionally, taking the interface element as an example of the message view, the steps include:
obtaining a view tree of a current application window, traversing the view tree by using a filtering condition to judge the visibility of each message view included in the view tree; an interface element with visible visibility is determined as an interface element required by the current application window. See the embodiment shown in fig. 8 below for a specific implementation.
Such as: when the filtering conditions are as follows: when only interface elements matched with the set key information are displayed, the traversed message view matched with the key information, such as a message view containing the key information, is visible, and the traversed message view not matched with the key information, such as a message view not containing the key information, is invisible;
and the following steps: when the filtering conditions are as follows: when the interface element matched with the set key information is shielded, the traversed message view matched with the key information, such as a message view containing the key information, is invisible, and the traversed message view not matched with the key information, such as a message view not containing the key information, is visible.
Optionally, obtaining the view tree of the current application window includes:
and acquiring a window of the current application by using a window management system of the operating system so as to acquire a root view and a whole view tree corresponding to the application window.
Optionally, after traversing the visibility of all message views, before step 301, the information processing method of the present application further includes:
and re-measuring the size of each message view of the whole view tree, and re-laying out the interface elements to be displayed in the current application window according to the measured size of each message view so as to continuously display the interface elements with visible visibility.
Step 301: and displaying interface elements required by the current application window.
Such as: taking the interface element as message information as an example, according to the processed view tree, the message information with the visible property determined according to the filtering condition is finally displayed to the user in the message session window, namely in the original session scene.
Alternatively, the interface element that is invisible to the determined visibility may be hidden from display or deleted directly.
According to the information processing method, the visibility of the interface elements is adjusted through the filtering conditions, so that the interface elements which are not needed by the current application window are not displayed in the original session scene, the filtering display function of the application interface is realized, and the original session scene in which the obtained information is located is reserved while the needed information is obtained.
The application also includes: and setting filtering conditions. Such as: the user can set the filtering conditions through a preset filtering setting interface of the current application.
Alternatively, the user may set the interface element filtering function of the current application to be turned on or off through a preset filtering setting interface of the current application, such as a preset filtering switch. Starting the interface element filtering function means that the current application can filter the interface elements in the current application window according to the set filtering conditions; closing the interface element filtering function means that the current application does not perform filtering processing on the interface elements in the current application window according to the set filtering conditions.
Optionally, before setting the filtering condition, the application further includes:
the user can set the application requiring interface element filtration through the preset application filtration setting interface, namely, the application with the filtration condition capable of being set.
For the application set as the application needing to filter the interface elements, when the application runs, the window of the application is provided with the filter setting interface. Such as: an application selection interface is provided for a user, and the user selects which applications need to start the filtering display function of the interface element, so that the filtering setting interface only appears in windows of the applications which the user needs to realize filtering, and the filtering setting interface is not displayed on the interface when the applications which do not need to filter the interface element run.
According to the method and the device, the interaction inlet of the filtering setting is provided on the application side, so that a user can set the filtering conditions and the application needing filtering. After the filtering setting conditions are obtained through the interaction entrance of the filtering setting, the display of the application is processed in the system level, and the display is independent of whether the individual application provides an information filtering function or not. By the information processing method, not only the information which is interested by the user is presented in the original session interface, but also the information which is not interested by the user is shielded.
FIG. 4 is a schematic diagram of an embodiment of a selection interactive interface for applications requiring interface element filtering, where a user selects which applications require message opening by providing an application filtering setup interface to the user. Thus, the filter setting interface will only appear in the windows of applications where the user desires to implement the filter, as shown in fig. 4, assuming that the user selects application a and presses the ok button, the filter setting interface will appear in the window of application a when application a is running.
Fig. 5 is a schematic diagram of an embodiment of an application window with an application a opening interface element filtering display function, where, as shown in the left window of fig. 5, a user opens an application a that needs to open the filtering display function, as selected in fig. 4, and a prompt icon with a filtering setting interface appears on the window of the application a, as shown in the upper right corner of the left window of fig. 5, and a message filtering suspension icon is shown in the upper right corner of the window of fig. 5. When the user wants to filter and display the group chat session interface of the current application A, clicking the filter suspension icon enters a filter setting interface shown in a window on the right side of FIG. 5. As shown in the right window of fig. 5, the filter setting interface in this embodiment provides two single options: one is to look at only messages that are of interest to the user, and the other is to mask messages that are not wanted to be seen by the user. The user selects a message filtering mode, clicks and confirms after inputting keywords in a corresponding input box, and the group chat session interface of the current application A displays the message according to filtering rules set by the user.
Fig. 6 (a) is a schematic diagram of a first implementation manner of an embodiment of the setting interface setting of the filtering setting interface of the present application, in this embodiment, a user selects a message only looking at key information, such as a keyword "wang two", in the filtering setting interface, after clicking and determining, the filtering setting interface is automatically closed and returns to the group chat session interface of the application a, at this time, only a message matching with the key information, such as the keyword "wang two", is displayed in the group chat session interface, and other messages not matching with the key information, such as the keyword "wang two", are not displayed in the group chat session interface.
Optionally, a filter switch for whether to enable the set filter conditions in the current application is also provided in the filter setting interface, as shown in fig. 6 (b). As shown in the left-hand diagram of fig. 6 (b), it is assumed that clicking on the filter hover icon shown on the application window in this embodiment will enter the filter setup interface shown in the middle diagram of fig. 6 (b) or illustrated in the right-hand diagram of fig. 6 (b). In the middle diagram of fig. 6 (b), the filter switch is in an off state, so that the set filter condition processes an uneditable state such as a gray state, and at this time, the filter switch is in an off state, and no matter whether the filter condition is set by the user or not, the information in the current application window is displayed in a filtering manner. In the right side view of fig. 6 (b), the filter switch is in an open state, and if the user previously set the filter conditions, the last filter setting is the default setting after the filter switch is opened. Of course, the user may modify the filtering condition, or may directly use the filtering condition set and stored previously. Only when the filter switch is in an on state and the user sets the filter condition, the current application window is filter-displayed, and as shown in fig. 6 (c), the user turns on the filter switch in the setting interface and sets to see only the message "wang two".
Fig. 7 (a) is a schematic diagram of a first implementation manner of another embodiment of the filtering setting interface setting in this embodiment, after a user selects a message with a keyword of "Zhang san" as shielding key information in the filtering setting interface, and clicks the message to determine, the filtering setting interface is automatically closed and returns to the group chat session interface of the application a, and at this time, all the messages including the key information, such as the keyword of "Zhang san", in the group chat session interface are no longer displayed.
Optionally, a filter switch for whether to enable the set filter condition in the current application is also set in the filter setting interface, as shown in fig. 7 (b), the user opens the filter switch in the setting interface, and sets a message of mask "Zhang Sanj".
Fig. 8 is a flowchart of an embodiment of processing an interface element of a current application window according to the present application, and as shown in fig. 8, in this embodiment, a group chat session application is described as an example, including:
step 800: and obtaining filtering conditions.
The filtering keywords set by the user can be used as filtering conditions in a preset filtering setting interface of the current application. The processing method by the filtering condition may be to display only the content matching the keyword, or may be set to mask the content matching the keyword.
Step 801: and acquiring the root view of the current application window.
The present step may obtain the root view of the currently running group chat session interface through a window management system in the related art.
After the root view of the current application window is obtained, all messages can be found and text keyword matching is carried out on all interface elements of the group chat session interface through traversing, so that the message visibility is controlled and managed.
Step 802: a message view node is obtained.
The step starts from the root view, each view node is traversed in the view tree, and for one message view node, node information is read and subsequent matching processing is carried out with filtering conditions.
Step 803: the visibility of the message node is determined using the filtering condition.
In this step, each sub-view under the message view node obtained in step 802 is obtained one by one, and the keywords obtained in step 800 are compared with the text of each sub-view one by one, so as to determine whether the message view under the sub-view is displayed or hidden.
Step 804: determining whether there is a next message view node, and if there is a next unprocessed message view node, returning to step 802 to continue processing the next message view; if the message view nodes have all been processed, step 805 is entered.
Step 805: the size of each message view in the view tree is measured.
The layout of interface elements on the group chat interface needs to be rearranged as some message views are hidden by filtering conditions. For example, the position originally occupied by the hidden message view is now free, and the position of the subsequent message can be adjusted forward. Therefore, before determining the position at which a message view to be displayed is displayed on the screen, the size of each message view needs to be measured by this step.
Step 806: the position of each message view in the view tree is calculated.
The location of the respective message views can be calculated sequentially in accordance with the layout order by the size of each view cell obtained in step 805.
Step 805 and step 806 are processes of readjusting the layout of the application interface, and by such adjustment, it is ensured that the display of the interface elements of the application window after the information processing of the present application is still continuous and attractive.
Fig. 9 is a flowchart of a first embodiment of determining the visibility of an interface element according to the present application, where, assuming that the filtering condition set by the user is to display only the content matching with the keyword, such as wang two, the processing for a certain message view node is as shown in fig. 9, and includes:
step 900: a sub-view of the message view is acquired.
Step 901: judging whether the message text of the sub-view is matched with a keyword such as Wang two, if so, namely, the text of the sub-view contains the keyword such as Wang two, indicating that the message is the message which the user wants to view, and entering step 902; if there is no keyword, such as Wang two, in the text of the non-matching, i.e. child view, step 903 is entered.
Step 902: the visibility of the message view node is set to visible. The present flow is ended.
Step 903: it is determined whether there is a next sub-view to continue traversing the view tree. If there are unprocessed child views, returning to step 900 to continue processing the next child view; if there are no child views to process, indicating that this message is not the message the user wants to see, step 904 is entered.
Step 904: the message view node is set to invisible.
In the first embodiment shown in fig. 9, if any of the child views' text can match the keywords in the upper filtering condition, the parent view to which that child view belongs is considered as the filtered view element. These sub-views are combined to be considered as one interface element, which is hidden or displayed in its entirety according to the filtering conditions.
Fig. 10 is a flowchart of a second embodiment of determining the visibility of an interface element according to the present application, where, assuming that the filtering condition set by the user is to mask the content matching with a keyword, such as Zhang San, the processing for a certain message view node is as shown in fig. 10, and includes:
step 1000: a sub-view of the message view is acquired.
Step 1001: judging whether the message text of the sub-view is matched with a keyword such as Zhang San, if the matching is that the text of the sub-view contains the keyword such as Zhang San, indicating that the message is the message which the user wants to shield, entering step 1002; if there is no keyword, such as Zhang three, in the text of the sub-view, which is a mismatch, step 1003 is entered.
Step 1002: the message view node is set to invisible. The present flow is ended.
Step 1003: it is determined whether there is a next sub-view to continue traversing the view tree. If there are unprocessed sub-views, returning to step 1000 to continue processing the next sub-view; if there are no child views to process, indicating that this message is not a message that the user wants to mask, even though the user wants to view, step 1004 is entered.
Step 1004: the message view node is set to visible.
In the second embodiment shown in fig. 10, if any of the child views' text can match the keywords in the upper filtering condition, the parent view to which that child view belongs is considered as the filtered view element. These sub-views are combined to be considered as one interface element, which is hidden or displayed in its entirety according to the filtering conditions.
Fig. 11 is a flowchart of an embodiment of a message view in a measurement application window, where, assuming that a user sets a content matching a keyword, processing for a certain message view node is shown in fig. 11, including:
step 1100: judging whether unprocessed message views exist or not, if not, indicating that all message views in the view tree are measured, and ending the measuring process; if there are more unprocessed message views, step 1101 is entered.
Step 1101: a message view is obtained.
Step 1102: judging whether the visibility of the message view is visible, if so, entering step 1103; if not, step 1104 is entered.
In this step, only the visibility attribute of the message view needs to be read to know whether the message view is visible or not.
Step 1103: the size of the view is calculated from the parameters of the message view and returns to step 1100. Here, how to calculate the size of the view belongs to a conventional technical means of those skilled in the art, and the specific implementation is not used to limit the protection scope of the present application, and is not described herein again.
Step 1104: the size of the message view is set directly to 0 and returns to step 1100.
FIG. 12 is a flow chart of an embodiment of a message view in a layout application window of the present application, as shown in FIG. 12, including:
step 1200: judging whether unprocessed message views exist or not, if not, indicating that all the message views in the view tree are processed, and ending the flow after the view position calculation is completed; if there are more unprocessed message views, step 1201 is entered.
Step 1201: a message view is obtained.
Step 1202: the starting coordinates of the current message view are calculated from the layout position of the immediately preceding message view.
If the current message view is the first message view, its starting position may start from the origin;
if the current message view is preceded by a message view, calculating the starting position of the current message view according to the starting position coordinate and the size of the last message view and other parameters.
Step 1203: calculating the end point coordinates of the current message view according to the size of the current message view; and (3) calculating the end position coordinates of the current message view according to the initial position obtained in the step 1202 and combining the parameters such as the size, the margin and the like of the message view.
This ultimately determines the display location and range of a message view in the application window.
The present application also proposes a computer-readable storage medium, on which a computer program is stored, which when being executed by a processor implements the steps of any one of the methods of implementing information processing described above.
Fig. 13 is a schematic structural diagram of an apparatus for implementing information processing in the present application, as shown in fig. 13, including a processor and a computer readable storage medium, where instructions are stored, and when the instructions are executed by the processor, implementing any one of the methods for implementing information processing described above.
Wherein the computer readable storage medium comprises any one or more of: flash Memory, hard disk, multimedia card, card Memory (e.g., secure digital card (SD card, secure Digital Memory Card) or Data Register (DX, data Register) Memory, etc.), random access Memory (RAM, random Access Memory), static random access Memory (SRAM, static Random Access Memory), read Only Memory (ROM), electrically erasable programmable Read Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), programmable Read Only Memory (PROM, programmable Read-Only Memory), magnetic Memory, magnetic disk, optical disk, etc.
The processor may be a central processing unit (CPU, central Processing Unit), a controller, a microcontroller, a microprocessor, or other data processing chip, or the like.
The application also provides an information processing method, which comprises the following steps:
when the filtering display is triggered, setting the filtering condition through the filtering setting interface of the current application;
processing the interface elements of the current application window according to the input filtering conditions, and determining the interface elements required by the current application window;
and displaying interface elements required by the current application window.
Optionally, before setting the filtering condition through the filtering setting interface of the current application, the method further includes:
and opening or closing the interface element filtering function of the current application through the filtering setting interface.
Optionally, before setting the filtering condition, or setting to turn on or off the filtering function of the interface element of the current application, the method further includes:
and setting an application needing interface element filtering through a preset application filtering setting interface.
Alternatively, different applications may correspond to different filter setting interfaces, i.e., each application has a filter setting interface corresponding to itself.
Fig. 14 is a schematic view of the composition structure of the information processing apparatus of the present application, and as shown in fig. 14, at least includes: the processing module and the display module; wherein,
the processing module is used for processing the interface elements of the current application window according to preset filtering conditions and determining the interface elements required by the current application window;
and the display module is used for displaying interface elements required by the current application window.
Optionally, the processing module is specifically configured to: determining the visibility of the interface element according to whether the interface element is matched with the key information; an interface element with visible visibility is determined as an interface element required by the current application window.
Optionally, when the interface element is a message view, the processing module is specifically configured to:
obtaining a view tree of a current application window, traversing the view tree by using a filtering condition to judge the visibility of each message view included in the view tree; an interface element with visible visibility is determined as an interface element required by the current application window.
Optionally, the processing module is further configured to:
and re-measuring the size of each message view of the whole view tree, and re-arranging the interface elements to be displayed in the current application window so that the interface elements with visible visibility are continuously displayed.
The information processing apparatus of the present application further includes: and the first setting module is used for setting the filtering conditions. Optionally, the first setting module is a filtering setting interface of the application, different applications may have different filtering setting interfaces, and the user may set the filtering condition through the filtering setting interface of the current application.
Optionally, the setting module is further configured to: the interface element filtering function of the current application is set to be turned on or turned off.
The present application further includes: and the second setting module is used for setting the application needing interface element filtering. Optionally, the second setting module is an application filtering setting interface, and the user can set an application needing to perform interface element filtering, namely, an application with a set filtering condition through the preset application filtering setting interface.
Fig. 15 is a schematic diagram of a system architecture for implementing information processing according to the present application, as shown in fig. 15, at least including: a message application and a filtering setting application at an application layer, a window management system and a view system at a system frame layer, and a display system; wherein,
messaging applications are various instant messaging type messaging applications running on an operating system, and are developed by different developers, such as group chat sessions and the like, which can provide instant messaging for multiple people.
The filter settings application, i.e. the interactive portal of the filter settings described above, through which the user sets the message filtering conditions. The core function of this interaction portal is to obtain the filtering conditions of the user. Optionally, it may be further set which applications are to be displayed filtered.
Both the message application and the filter settings application run at the application layer of the system.
The window management system is responsible for window management work, including adding and deleting, displaying and hiding of windows, management of focus windows and focus applications, and the like. The application program communicates interactive messages with the window through the window management system. Windows managed in the window management system relate the window to the view system by a link holding a root view. In the message processing method, the view tree of the current group chat session interface is acquired through the window management system, and the view tree of the session interface and sub views thereof are filtered one by one according to the filtering conditions set by the filtering setting application, so that the purpose of message filtering display is achieved.
View system, provide a set of mechanisms for managing control interface elements. In a view system, interface elements are managed in the form of view elements. According to the information processing method, the window management system acquires the text of the sub-view through the view system, and matches the text with the filtering condition, so that whether the text is the text matched with the filtering condition can be judged, and whether the message corresponding to the message view on the upper level of the text is the message to be filtered is further judged.
And the display system is used for displaying the filtered message view.
The foregoing is merely a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (17)

1. An information processing method, comprising:
processing interface elements of the current application window according to preset filtering conditions, and determining interface elements required by the current application window;
displaying interface elements required by a current application window;
wherein the interface element is a message view;
the determining the interface element needed by the current application window comprises the following steps:
obtaining a view tree of the current application window, and traversing the view tree by using the filtering condition to judge the visibility of each message view included in the view tree;
determining the interface element with visible visibility as the interface element required by the current application window;
the obtaining the view tree of the current application window comprises the following steps:
and acquiring the window of the current application by using a window management system of an operating system so as to acquire a root view and the view tree corresponding to the window of the current application.
2. The information processing method according to claim 1, wherein the filtering condition includes: preset key information;
the determining the interface element needed by the current application window comprises the following steps:
determining the visibility of the interface element according to whether the interface element is matched with the key information;
and determining the interface element with visible visibility as the interface element required by the current application window.
3. The information processing method according to claim 2, wherein the key information includes: preset keywords.
4. The information processing method according to claim 1, wherein the judging the visibility of each message view included in the view tree includes:
the traversed message view matched with the key information is visible, and the message view not matched with the key information is invisible; or,
the traversed message view matching the key information is invisible in the visibility, and the message view not matching the key information is visible in the visibility.
5. The information processing method according to claim 4, wherein after the judging the visibility of each message view included in the view tree, before the displaying the interface element required by the current application window, the method further comprises:
measuring the size of each message view in the view tree;
and re-laying out the interface elements to be displayed in the current application window according to the size of each message view so that the interface elements with visible visibility are continuously displayed.
6. A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the information processing method of any one of claims 1 to 5.
7. An apparatus for performing information processing, comprising a processor and a computer-readable storage medium having instructions stored therein that, when executed by the processor, perform the method for performing information processing of any one of claims 1 to 5.
8. An information processing apparatus comprising: the processing module and the display module; wherein,
the processing module is used for processing the interface elements of the current application window according to preset filtering conditions and determining the interface elements required by the current application window;
the display module is used for displaying interface elements required by the current application window;
wherein the interface element is a message view; the processing module is configured to:
obtaining a view tree of the current application window, and traversing the view tree by using the filtering condition to judge the visibility of each message view included in the view tree; determining the interface element with visible visibility as the interface element required by the current application window;
the obtaining the view tree of the current application window comprises the following steps:
and acquiring the window of the current application by using a window management system of an operating system so as to acquire a root view and the view tree corresponding to the application window.
9. The information processing apparatus according to claim 8, wherein the filter condition includes: preset key information;
the processing module is configured to: determining the visibility of the interface element according to whether the interface element is matched with the key information; and determining the interface element with visible visibility as the interface element required by the current application window.
10. The information processing apparatus of claim 8, the processing module further to:
measuring the size of each message view of the view tree; and re-laying out the interface elements to be displayed in the current application window according to the measurement result so that the interface elements with visible visibility are continuously displayed.
11. The information processing apparatus according to any one of claims 8 to 10, further comprising: the first setting module is a preset filtering setting interface aiming at the application and is used for setting the filtering condition.
12. The information processing apparatus according to claim 11, the setting module further operable to: the interface element filtering function of the current application is set to be turned on or turned off.
13. The information processing apparatus according to claim 11, further comprising: the second setting module is used for setting an interface for filtering the preset application and setting the application needing interface element filtering.
14. An information processing method, comprising:
when the filtering display is triggered, setting filtering conditions through a filtering setting interface applied currently;
processing the interface elements of the current application window according to the input filtering conditions, and determining the interface elements required by the current application window;
displaying interface elements required by a current application window;
wherein the interface element is a message view;
the determining the interface element needed by the current application window comprises the following steps:
obtaining a view tree of the current application window, and traversing the view tree by using the filtering condition to judge the visibility of each message view included in the view tree;
determining the interface element with visible visibility as the interface element required by the current application window;
the obtaining the view tree of the current application window comprises the following steps:
and acquiring the window of the current application by using a window management system of an operating system so as to acquire a root view and the view tree corresponding to the application window.
15. The information processing method according to claim 14, further comprising, before setting the filter condition through the filter setting interface that is currently applied:
and setting an interface element filtering function which is currently applied to be started or closed through a filtering switch in the filtering setting interface.
16. The information processing method according to claim 14 or 15, before the setting of the filtering condition, or the setting turns on or off an interface element filtering function of a current application, further comprising:
the method is used for setting the application needing interface element filtering through a preset application filtering setting interface.
17. The information processing method according to claim 14 or 15, wherein different applications correspond to different ones of the filter setting interfaces.
CN201810150918.2A 2018-02-13 2018-02-13 Information processing method and device Active CN110309401B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810150918.2A CN110309401B (en) 2018-02-13 2018-02-13 Information processing method and device
PCT/CN2019/074973 WO2019158089A1 (en) 2018-02-13 2019-02-13 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810150918.2A CN110309401B (en) 2018-02-13 2018-02-13 Information processing method and device

Publications (2)

Publication Number Publication Date
CN110309401A CN110309401A (en) 2019-10-08
CN110309401B true CN110309401B (en) 2023-12-22

Family

ID=67618902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810150918.2A Active CN110309401B (en) 2018-02-13 2018-02-13 Information processing method and device

Country Status (2)

Country Link
CN (1) CN110309401B (en)
WO (1) WO2019158089A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905890A (en) * 2021-03-04 2021-06-04 深信服科技股份有限公司 Method, device, equipment and storage medium for identifying window to be intercepted

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753573A (en) * 2009-12-25 2010-06-23 山东大学 RSS information recommendation method based on collaborative filtering
CN104102409A (en) * 2013-04-12 2014-10-15 三星电子(中国)研发中心 Scenario adaptation device and method for user interface
CN105630267A (en) * 2014-10-29 2016-06-01 阿里巴巴集团控股有限公司 View interface resource management method and apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007055614A1 (en) * 2005-11-14 2007-05-18 Intel Corporation Structural content filtration of hypotheses in a cognitive control framework
US10031968B2 (en) * 2012-10-11 2018-07-24 Veveo, Inc. Method for adaptive conversation state management with filtering operators applied dynamically as part of a conversational interface
KR102056189B1 (en) * 2012-12-05 2019-12-16 엘지전자 주식회사 Mobile terminal and method for controlling thereof
CN105630388B (en) * 2015-12-24 2019-02-05 珠海市魅族通讯设备有限公司 A kind of method and terminal of split screen display available
CN107122175B (en) * 2017-03-30 2018-11-09 腾讯科技(深圳)有限公司 Interface creating method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753573A (en) * 2009-12-25 2010-06-23 山东大学 RSS information recommendation method based on collaborative filtering
CN104102409A (en) * 2013-04-12 2014-10-15 三星电子(中国)研发中心 Scenario adaptation device and method for user interface
CN105630267A (en) * 2014-10-29 2016-06-01 阿里巴巴集团控股有限公司 View interface resource management method and apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Love00KG.QQ群里如何屏蔽某个人的发言.《百度经验》.2015, *
QQ群里如何屏蔽某个人的发言;Love00KG;《百度经验》;20150301;步骤1-6 *

Also Published As

Publication number Publication date
WO2019158089A1 (en) 2019-08-22
CN110309401A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN110262715B (en) Information processing method and device, computer readable storage medium and electronic equipment
KR101322821B1 (en) System and method for keyword searching in messenger and computer readable medium processing the method
KR101565665B1 (en) Promoting communicant interactions in a network communications environment
US7471646B2 (en) System and methods for inline property editing in tree view based editors
US9092413B1 (en) System and method for providing online data management services
US20190197088A9 (en) Systems and methods for anchoring content objects to structured documents
WO2017032235A1 (en) Method and device for generating mobile terminal theme
CN102801652B (en) The method of contact person, client and system is added by expression data
DE102013222290A1 (en) System and method for sharing discovery results data
US11797258B2 (en) Conversational analytics with data visualization snapshots
CN102984050A (en) Method, client and system for searching voices in instant messaging
CN108939556A (en) A kind of screenshot method and device based on gaming platform
CN107404428A (en) A kind of method of servicing, device and electronic equipment based on chat group
KR102311228B1 (en) Display control method, terminal, information-processing device, and recording medium in which program is recorded
US20140123053A1 (en) Display terminal device, display screen sharing system, and display screen sharing method
CN107408004A (en) A kind of graphic user interface on method, information processor, portable electric appts and the portable electric appts that information is presented in locking screen interface
WO2022135476A1 (en) Screenshot method and apparatus, and electronic device
CN111831815A (en) Questionnaire display control method and device, storage medium and electronic equipment
CN110309401B (en) Information processing method and device
CN112929494A (en) Information processing method, information processing apparatus, information processing medium, and electronic device
CN112861472A (en) Shared document display method, device, equipment and computer readable storage medium
CN114187416A (en) Conference room reservation method and device
CN107991895A (en) Multi-systematic control method, apparatus, computer equipment and storage medium
CN107733779B (en) Function expansion method and device based on contact persons
US10733676B2 (en) Automatic generation of expense data using facial recognition in digitally captured photographic images

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant