CN113051485A - Group searching method, device, terminal and storage medium - Google Patents

Group searching method, device, terminal and storage medium Download PDF

Info

Publication number
CN113051485A
CN113051485A CN202110326595.XA CN202110326595A CN113051485A CN 113051485 A CN113051485 A CN 113051485A CN 202110326595 A CN202110326595 A CN 202110326595A CN 113051485 A CN113051485 A CN 113051485A
Authority
CN
China
Prior art keywords
group
search
mark
terminal
history
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.)
Granted
Application number
CN202110326595.XA
Other languages
Chinese (zh)
Other versions
CN113051485B (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110326595.XA priority Critical patent/CN113051485B/en
Publication of CN113051485A publication Critical patent/CN113051485A/en
Application granted granted Critical
Publication of CN113051485B publication Critical patent/CN113051485B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/9536Search customisation based on social or collaborative filtering
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The disclosure relates to a group search method, a group search device, a group search terminal and a storage medium, and relates to the technical field of internet. The method comprises the following steps: responding to group search operation, and acquiring search keywords; based on the search keyword, executing the group search operation in the current mark of each group in the group set to which the current account belongs to obtain a search result, wherein the current account is the account initiating the group search operation; if the search result indicates that a group matched with the search keyword is not searched, determining the history mark of each group in the group set; and performing the group search operation in the history marks of all groups in the group set based on the search key words. Therefore, even if the user does not know the current mark of the group and uses the historical mark to search, the group can be searched, and the efficiency of group searching is improved.

Description

Group searching method, device, terminal and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a group search method, an apparatus, a terminal, and a storage medium.
Background
At present, office software supports a group chat function, that is, employees in the same department or the same project can establish a group and chat in the group. Each group has a group name, and when a user wants to chat in a group, a group search can be performed based on the group name of the group to locate the group. However, if the group name of the group is changed, the user still uses the original group name to perform group search, and the group cannot be searched, which results in low efficiency of group search.
Disclosure of Invention
The present disclosure provides a group search method, apparatus, terminal, and storage medium, which can improve efficiency of group search. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a group search method, including:
responding to group search operation, and acquiring search keywords;
based on the search keyword, executing the group search operation in the current mark of each group in the group set to which the current account belongs to obtain a search result, wherein the current account is the account initiating the group search operation;
if the search result indicates that a group matched with the search keyword is not searched, determining the history mark of each group in the group set;
and performing the group search operation in the history marks of all groups in the group set based on the search key words.
In some embodiments, the performing the group search operation in the history labels of the groups in the group set based on the search keyword includes:
determining a history mark matched with the search keyword from the history marks of all groups;
and determining the group corresponding to the history mark in the group set as a target group matched with the search keyword.
In some embodiments, the method further comprises:
and displaying the viewing inlet of the target group in a search interface.
In some embodiments, the method further comprises:
showing a current tag and a historical tag of the target group on the view portal.
In some embodiments, said presenting a current tag and a historical tag of said target group on said viewing portal comprises:
displaying the current mark of the target group in a first display style and displaying the historical mark of the target group in a second display style on the viewing inlet; alternatively, the first and second electrodes may be,
and displaying change information on the viewing portal, wherein the change information is used for changing the mark representing the target group from the historical mark to the current mark.
In some embodiments, the determining historical indicia for each group in the set of groups comprises:
based on the group identification of each group in the group set, acquiring the history mark of each group from local.
In some embodiments, the determining historical indicia for each group in the set of groups comprises:
sending a mark acquisition request to a server, wherein the mark acquisition request carries the group identification of each group in the group set, and the mark acquisition request is used for requesting the server to acquire the history mark of each group;
and receiving the history marks of the groups sent by the server.
According to a second aspect of the embodiments of the present disclosure, there is provided a group search apparatus including:
an acquisition unit configured to execute a search keyword in response to a group search operation;
the first searching unit is configured to execute the group searching operation in the current mark of each group in the group set to which the current account belongs based on the searching keyword to obtain a searching result, wherein the current account is the account initiating the group searching operation;
the determining unit is configured to determine the history mark of each group in the group set if the search result indicates that the group matched with the search keyword is not searched;
a second search unit configured to perform the group search operation in the history flag of each group in the group set based on the search keyword.
In some embodiments, the second search unit includes:
a first determining subunit configured to perform determining a history flag matching the search keyword from among the history flags of the respective groups;
and the second determining subunit is configured to determine a group corresponding to the history mark in the group set as a target group matched with the search keyword.
In some embodiments, the apparatus further comprises:
the first presentation unit is configured to execute presentation of the viewing entries of the target group in a search interface.
In some embodiments, the apparatus further comprises:
a second presentation unit configured to perform presentation of the current tag and the historical tag of the target group on the view portal.
In some embodiments, the second presentation unit is configured to perform presentation of the current mark of the target group in a first presentation style on the viewing portal, and to present the historical mark of the target group in a second presentation style; alternatively, the first and second electrodes may be,
a second presentation unit configured to perform presentation of change information on the viewing portal, the change information being used for indicating that the mark of the target group is changed from the history mark to the current mark.
In some embodiments, the determining unit is configured to perform locally obtaining the history flag of each group based on the group identifier of each group in the group set.
In some embodiments, the determining unit includes:
the request subunit is configured to execute sending a mark acquisition request to a server, where the mark acquisition request carries a group identifier of each group in the group set, and the mark acquisition request is used to request the server to acquire a history mark of each group;
a receiving subunit configured to perform receiving the history flag of each group sent by the server.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the group search method as described in the above embodiments.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, in which instructions, when executed by a processor of a terminal, enable the terminal to perform the group search method according to the above embodiments.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program/instructions which, when executed by a processor, implements the group search method of the above embodiments.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the embodiment of the disclosure, when a user searches a group, the input search keyword may be a history mark of the group, and therefore, when a matching group is not searched in the current mark of each group in the group set to which the current account belongs based on the search keyword, the group search is performed in the history mark, so that even if the user does not know the current mark of the group and performs the search using the history mark, the group can be searched, and further, the efficiency of the group search is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic diagram illustrating an implementation environment of a group search method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a group search method according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a group search method according to an exemplary embodiment.
Fig. 4 is a diagram illustrating a group search method according to an example embodiment.
Fig. 5 is a diagram illustrating a group search method according to an example embodiment.
Fig. 6 is a diagram illustrating a group search method according to an example embodiment.
Fig. 7 is a block diagram illustrating a group search apparatus according to an example embodiment.
Fig. 8 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic diagram of an implementation environment of a group search method according to an exemplary embodiment, and referring to fig. 1, the implementation environment includes: a server 10 and a plurality of terminals 20. Each terminal 20 and the server 10 are connected through a wireless or wired network.
Each terminal 20 has installed thereon a target application served by the server 10, and each terminal 20 can implement functions such as data transmission, information interaction, and the like through the target application. In some embodiments, the accounts registered in the target applications of the plurality of terminals 20 are in the same group, and the accounts registered in the target applications of the plurality of terminals 20 are in the group for chatting, handling operation items, video conference, voice conference, and the like. In addition, the account registered in the target application of any terminal 20 needs to be located in the group based on the group mark before performing the above-mentioned items in the group. The group tag may be a group name, etc.
In some embodiments, the target application is an application in the operating system of the terminal 20, or an application provided by a third party. In some embodiments, the target application is any application with group functionality, e.g., the target application is a social application or an office application, etc.
In some embodiments, the terminal 20 is at least one of a smartphone, a tablet, a laptop, or a desktop. The server 10 may be at least one of a server, a server cluster composed of a plurality of servers, a cloud server, a cloud computing platform, and a virtualization center.
Fig. 2 is a flowchart illustrating a group search method according to an exemplary embodiment, which is used in a terminal, as shown in fig. 2, and includes the following steps.
In step S21, in response to the group search operation, a search keyword is acquired;
in step S22, based on the search keyword, the group search operation is performed in the current tag of each group in the group set to which the current account belongs, so as to obtain a search result, where the current account is an account initiating the group search operation;
in step S23, if the search result indicates that no group matching the search keyword is searched, determining a history flag of each group in the group set;
in step S24, the group search operation is performed in the history flag of each group in the group set based on the search keyword.
In some embodiments, the performing the group search operation in the history labels of the groups in the group set based on the search keyword includes:
determining a history mark matched with the search keyword from the history marks of each group;
and determining the group corresponding to the history mark in the group set as a target group matched with the search keyword.
In some embodiments, the method further comprises:
and displaying the viewing inlet of the target group in a search interface.
In some embodiments, the method further comprises:
and displaying the current mark and the historical mark of the target group on the viewing portal.
In some embodiments, the presenting the current tag and the historical tag of the target group on the view portal comprises:
displaying the current mark of the target group in a first display style on the viewing inlet, and displaying the historical mark of the target group in a second display style; alternatively, the first and second electrodes may be,
and showing change information on the viewing portal, wherein the change information is used for indicating that the mark of the target group is changed from the historical mark to the current mark.
In some embodiments, the determining the historical indicia for each group in the set of groups comprises:
based on the group identification of each group in the group set, acquiring the history mark of each group from local.
In some embodiments, the determining the historical indicia for each group in the set of groups comprises:
sending a mark acquisition request to a server, wherein the mark acquisition request carries the group identification of each group in the group set, and the mark acquisition request is used for requesting the server to acquire the history mark of each group;
and receiving the history marks of the groups sent by the server.
In the embodiment of the disclosure, when a user searches a group, the input search keyword may be a history mark of the group, and therefore, when a matching group is not searched in the current mark of each group in the group set to which the current account belongs based on the search keyword, the group search is performed in the history mark, so that even if the user does not know the current mark of the group and performs the search using the history mark, the group can be searched, and further, the efficiency of the group search is improved.
Fig. 3 is a flowchart illustrating a group search method, as shown in fig. 3, for use in a terminal, according to an exemplary embodiment, the method including the following steps.
In step S31, the terminal acquires a search keyword in response to the group search operation.
The terminal is provided with a target application, and a user can trigger an icon of the target application to trigger the terminal to display a main interface of the target application; and the terminal responds to the display operation triggered based on the icon of the target application and displays the main interface of the target application. In some embodiments, a group search entry is displayed in the main interface, and accordingly, a user may trigger the group search entry in the main interface, input a search keyword in the group search entry, perform a group search operation, and obtain the search keyword input by the user in response to the group search operation triggered based on the input search entry by the terminal.
In other embodiments, a search jump button is displayed in the main interface for jumping from the main interface to a search interface in which group search entries are displayed. Correspondingly, the user can trigger the search jump button in the main interface, the terminal responds to the jump operation triggered based on the search jump button and jumps to the search interface from the main interface, a group search entry is displayed in the search interface, the user inputs a search keyword in the group search entry to perform group search operation, and the terminal responds to the group search operation triggered based on the input search entry to obtain the search keyword input by the user.
The display style of the group search entry in the main interface and the display style of the group search entry in the search interface may be the same or different, which is not specifically limited in the embodiment of the present disclosure. In the embodiment of the present disclosure, a search skip button is shown in a main interface, where the search skip button is used to skip from the main interface to a search interface, and a group search entry is shown in the search interface as an example for explanation. Referring to fig. 4, the display style of the search jump button in the main interface is a search icon, the display style of the group search entry in the search interface is a search box, the user can trigger the search icon in the main interface, the terminal displays the search interface, and the user inputs a search keyword "test group" in the search box of the search interface.
In the embodiment of the present disclosure, after the terminal responds to the acquisition of the search keyword, the terminal performs the operation of step S32 to perform the search of the group mark.
In step S32, the terminal performs the group search operation in the current tag of each group in the group set to which the current account belongs based on the search keyword, and obtains a search result, where the current account is the account initiating the group search operation.
Wherein the group mark comprises a current mark and a history mark. The group mark may be a group name, for example, the group mark is "test group", "product design group", or "personnel administration group", etc.
In some embodiments, the terminal stores in advance the current mark of each group in the group set to which the current account belongs, and the implementation manner of this step may be: the terminal obtains the current mark of each group in the group set to which the current account belongs to obtain at least one current mark, and determines the current mark matched with the search keyword in the at least one current mark to obtain a search result.
In this embodiment, since the user may not completely input the group tag of the group when inputting the search keyword, that is, the search keyword is not completely consistent with the group tag of the group; for example, the group is labeled "test group" and the search keyword entered by the user is "test". Therefore, the implementation manner of the terminal determining the current tag matching the search keyword in the at least one current tag may be: for each current mark, the terminal determines the matching degree of the current mark and the search keyword; under the condition that the matching degree of the current mark and the search keyword is greater than a matching threshold value, the terminal determines that the current mark is a group mark matched with the search keyword; and under the condition that the matching degree of the current mark and the search keyword is not greater than the matching threshold value, the terminal determines that the current mark is not the current mark matched with the search keyword.
Wherein, the matching threshold can be set and changed according to the need, which is not specifically limited by the present disclosure; for example, the matching threshold is 75%, 80%.
For example, the search keyword is "test", and at least one current label is "work big group", "function test", and "test group", respectively, and it can be seen that the current labels including the "test" word matching the search keyword are "function test" and "test group", and thus, the terminal determines the current labels matching the search keyword as "function test" and "test group".
In this embodiment, if a current tag matching the search keyword is searched for in the at least one current tag, the terminal determines that the search result indicates that a group matching the search keyword is searched for; otherwise, the terminal determines that the search result indicates that the group matched with the search keyword is not searched.
In other embodiments, the current mark of each group in the group set to which the current account belongs may also be stored by the server, so that the terminal may perform the operation of step S32 by using the server, and accordingly, this step may be implemented by:
the terminal sends a mark searching request to the server, and the mark searching request carries the searching keyword; the server receives the mark searching request, acquires the current mark of each group in the group set to which the current account belongs to obtain at least one current mark, and determines the current mark matched with the searching keyword in the at least one current mark; obtaining a search result and sending the search result to a terminal; the terminal receives the search result.
In this embodiment, if a current tag matching the search keyword is searched in the at least one current tag, the server determines that the search result indicates that a group matching the search keyword is searched; otherwise, the server determines that the search result indicates that a group matching the search keyword is not searched.
In the embodiment of the disclosure, if the search result indicates that a group matched with the search keyword is searched, the terminal directly determines the group as a target group, and displays a viewing entry of the target group in a search interface.
The number of target groups may be one or more. In the first case, in the case that the number of the target groups is one, the terminal directly displays the viewing entries of the target groups in the search interface.
In the second case, that is, in the case that the number of the target group is multiple, the implementation manner of the terminal displaying the view entry of the target group in the search interface may be: the terminal can sort a plurality of target groups; and displaying the viewing entries of the plurality of target groups in the search interface based on the arrangement sequence of each target group.
The implementation manner of sequencing the plurality of target groups by the terminal at least comprises the following implementation manners:
the first implementation mode comprises the following steps: the terminal sorts the target groups based on the matching degree of the current mark of each target group and the search keyword; for example, the terminal may sort the plurality of target groups in an order from a large matching degree of the current mark of each target group to a small matching degree of the current mark of each target group.
The second implementation mode comprises the following steps: the terminal sorts the plurality of target groups based on the creation time of each target group. For example, the terminal may sort the plurality of target groups in order of a time interval between the creation time of each target group and the current time from small to large.
The third implementation mode comprises the following steps: and the terminal sorts the plurality of target groups based on the sending time of the latest session message in each target group. For example, the terminal may rank the plurality of target groups in order from near to far of the sending time of the last session message in each target group.
It should be noted that the implementation manner of ordering the plurality of target groups by the terminal is not limited to the above three implementation manners, and the disclosure does not specifically limit this.
Based on the arrangement order of each target group, the terminal can display the viewing entries of the plurality of target groups in the search interface in the following manner: the terminal displays the viewing entries of each target group in a search interface based on the arrangement sequence of each target group; or the terminal displays the view entries of the first preset number of target groups in the search interface. The first preset number can be set and changed as required, and the disclosure does not specifically limit this; for example, the first predetermined number is 3, 4, or 5, etc.
In other embodiments, if the search result indicates that no group matching the search keyword is searched, the terminal continues to perform the operations of steps S33-S34 to search in the history flag.
In step S33, if the search result indicates that no group matching the search keyword is searched, the terminal determines the history flag of each group in the group set.
In some embodiments, since the history flag of each group in the group set may be stored on the terminal side, this step may be implemented in a manner that: and the terminal acquires the history mark of each group from local based on the group identifier of each group in the group set.
The group ID is used to uniquely identify the group, for example, the group ID may be an ID (Identity Document) of the group.
In the embodiment of the present disclosure, since the history flag of each group is directly stored at the terminal side, the efficiency of acquiring the history flag is high.
In this embodiment, since the group tag may be changed for a group in the group set to which the current account belongs, and only the group with the changed group tag has the history tag, accordingly, the implementation manner of this step may be: the terminal determines the groups with the group marks changed historically in the group set; and acquiring the historical mark of the group with the historical change mark to obtain at least one historical mark.
Since the group id of the second target group may be changed many times, the terminal needs to acquire the group id used in each history of the second target group.
In the embodiment of the disclosure, the groups with the history changed group marks are screened out first, and then the history mark of each group is determined, so that each group in the group set does not need to be acquired, the operation time is saved, and the acquisition operation efficiency is high.
In this step, since the terminal needs to store the group identifier of each group in the group set to which the current account belongs, when the group identifier is modified each time, the group identifier before modification needs to be stored, and accordingly, the implementation manner of storing the group identifier of each group by the terminal may be: for each group, the terminal responds to the mark modification operation of the group mark of the group, modifies the group mark of the group, and takes the group mark before the group modification as the history mark of the group; a history tag for the group is stored.
For example, if the current mark of the group is "product design big group" and the modified group is "marketing plan", the group mark before modification "product design big group" is used as the history mark, and the current mark of the group is updated to "marketing plan".
In the embodiment of the disclosure, since the mark modification operation of the group mark of each group can be recorded, the terminal can store the group mark before modification each time, and data support is provided for subsequent determination of history marks.
In other embodiments, the group mark of each group in the group set may be stored on the server side, and accordingly, the terminal may perform the operation of step S33 by means of the server, and this step may be implemented by: the terminal sends a mark acquisition request to the server, wherein the mark acquisition request carries the group identification of each group in the group set, and the mark acquisition request is used for requesting the server to acquire the historical mark of each group; and receiving the history marks of the groups sent by the server.
In this embodiment, the implementation manner of the server obtaining the history flag is similar to the implementation manner of the terminal obtaining the history flag in the previous embodiment, and details are not repeated here.
The implementation manner of sending the history flag of each group to the terminal by the server may be: the server respectively sends the history marks corresponding to each group to the terminal; or, the server packages and sends the history marks corresponding to the groups to the terminal.
In the embodiment of the disclosure, since the server stores the history flag of each group, the terminal does not need to store locally, thereby saving local storage resources.
In step S34, the terminal determines a history flag matching the search keyword from among the history flags of the respective groups.
In some embodiments, the implementation manner of the terminal determining the history token matching the search keyword from the history tokens of each group is similar to the implementation manner of the terminal determining the current token matching the search keyword from the current tokens of each group in step S32, and details are not repeated here.
In the first case where there is a history flag matching the search keyword among the history flags of each group, the number of the history flags may be plural or one, and the terminal performs the operation of step S35, and for each history flag, determines a group corresponding to the history flag.
In the second case, in the case that there is no history mark matching the search keyword among the history marks of the groups, the terminal presents a prompt message in the search interface, the prompt message being used to indicate that the group matching the search keyword is not searched. The present disclosure does not specifically limit the display manner of the prompting message, for example, the prompting message is displayed below the group search entry.
In step S35, the terminal determines the group corresponding to the history flag in the group set as the target group matching the search keyword.
And the group corresponding to the historical mark is provided with a current mark and the historical mark. For example, the search keyword is "test", the history is labeled "product test group", and the current label is "product plan group".
In the embodiment of the disclosure, the history mark matched with the search keyword is determined from the history marks, and then the target group matched with the search keyword is determined, so that the range of group search is expanded, and the accuracy of group search is improved.
In some embodiments, after the terminal determines the target group, the target group needs to be displayed in the search interface, and accordingly, the terminal continues to perform the operation of step S36.
In step S36, the terminal presents the view entry of the target group in the search interface.
And the terminal directly displays the viewing entries of the target groups in the search interface under the condition that the number of the target groups is one.
Under the condition that the number of the target groups is multiple, the terminal can display the viewing entry of each target group in a search interface; or, in order to save display resources, the terminal may display view entries of a preset number of target groups in the search interface.
The implementation manner of displaying the view entry of the target group in the search interface by the terminal is similar to the implementation manner of displaying the view entry of the target group in the search interface by the terminal in step S32, and details are not repeated here.
In the embodiment of the disclosure, the target group obtained by searching is displayed on the search interface, so that the user can visually check the target group, and the visualization is better.
In step S37, the terminal presents the current tag and the history tag of the target group on the viewing portal.
In some embodiments, the terminal may only present the current tab or only present the history tab on the viewing portal to conserve display resources of the search interface.
In other embodiments, the terminal may present the current tag and the historical tag on the viewing portal simultaneously to facilitate the user in identifying the viewing portal for each target group.
In the embodiment of the disclosure, the current mark and the historical mark are displayed on the viewing entry, so that a user can quickly identify whether a group corresponding to the viewing entry is a desired group, the visualization effect of a group search result is improved, and the convenience of group search is high.
In one possible implementation manner, the terminal may present the current mark and the historical mark of the target group in different presentation styles. Correspondingly, the implementation manner of this step may be: and the terminal displays the current mark of the target group on the viewing inlet in a first display mode and displays the historical mark of the target group in a second display mode.
For example, referring to fig. 5, a viewing entry a is shown in the search interface, the current label "product planning group" is shown in a font style with a larger font size, and the historical label "product testing group" is shown in a font style with a smaller font size, wherein keywords in the historical labels matching the search keywords are shown in bold.
In the embodiment of the disclosure, different display styles are set for the historical mark and the current mark, so that a user can clearly distinguish the current mark and the historical mark of a group, and the visualization effect of a group search result is improved.
In another possible implementation manner, the terminal presents change information on the viewing portal, wherein the change information is used for indicating that the mark of the target group is changed from the historical mark to the current mark.
Wherein, the change information can be displayed in the form of a change track. For example, referring to fig. 6, a viewing entry B is shown in the search interface, the display position of the current mark "product planning group" is above the display position of the historical mark "product testing group", a change track identifier "inverted triangle" is shown between the two marks, and keywords matching the historical mark and the search keyword are displayed in a bold manner.
In the embodiment of the disclosure, the change information of the group mark of the target group is displayed on the viewing entry, so that the user can view the modification record of the group mark of the target group, and then the user can quickly identify whether the group corresponding to the viewing entry is a desired group, and the convenience of group search is high.
Fig. 7 is a block diagram illustrating a group search apparatus according to an example embodiment. Referring to fig. 7, the apparatus 70 includes an acquisition unit 701, a first search unit 702, a determination unit 703, and a second search unit 704.
An acquisition unit 701 configured to perform acquisition of a search keyword in response to a group search operation;
a first searching unit 702, configured to execute, based on the search keyword, the group search operation in the current tag of each group in the group set to which the current account belongs, to obtain a search result, where the current account is an account initiating the group search operation;
a determining unit 703 configured to determine history labels of groups in the group set if the search result indicates that no group matching the search keyword is searched;
and a second searching unit 704 configured to perform the group searching operation in the history tag of each group in the group set based on the search keyword.
In some embodiments, the second searching unit 704 includes:
a first determining subunit configured to perform determining a history flag matching the search keyword from among the history flags of the respective groups;
and the second determining subunit is configured to determine a group corresponding to the history mark in the group set as a target group matched with the search keyword.
In some embodiments, the apparatus 70 further comprises:
and the first presentation unit is configured to execute presentation of the viewing entry of the target group in the search interface.
In some embodiments, the apparatus 70 further comprises:
a second presentation unit configured to perform presentation of the current tag and the history tag of the target group on the viewing portal.
In some embodiments, the second presentation unit is configured to perform presentation of the current mark of the target group in a first presentation style on the viewing portal, and to present the historical mark of the target group in a second presentation style; alternatively, the first and second electrodes may be,
a second presentation subunit configured to perform presentation of change information on the view entry, the change information indicating that the mark of the target group is changed from the history mark to the current mark.
In some embodiments, the determining unit 703 is configured to perform locally obtaining the history flag of each group in the group set based on the group identifier of each group.
In some embodiments, the determining unit 703 includes:
the request subunit is configured to execute sending a mark acquisition request to the server, where the mark acquisition request carries a group identifier of each group in the group set, and the mark acquisition request is used to request the server to acquire a history mark of each group;
and the receiving subunit is configured to execute receiving the history marks of the groups sent by the server.
In the embodiment of the disclosure, when a user searches a group, the input search keyword may be a history mark of the group, and therefore, when a matching group is not searched in the current mark of each group in the group set to which the current account belongs based on the search keyword, the group search is performed in the history mark, so that even if the user does not know the current mark of the group and performs the search using the history mark, the group can be searched, and further, the efficiency of the group search is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating a structure of a terminal 20 according to an exemplary embodiment. In some embodiments, the terminal 20 may be: smart phones, tablet computers, notebook computers, desktop computers, or the like. The terminal 20 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, the terminal 20 includes: a processor 201 and a memory 202.
In some embodiments, the processor 201 includes one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. In some embodiments, the processor 201 is implemented in hardware using at least one of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). In some embodiments, the processor 201 also includes a main processor and a coprocessor, the main processor is a processor for Processing data in the wake state, also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 201 is integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 201 further includes an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
In some embodiments, memory 202 includes one or more computer-readable storage media that are non-transitory. In some embodiments, memory 202 also includes high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 202 is used to store at least one instruction for execution by processor 201 to implement the group search method provided by the method embodiments of the present disclosure.
In some embodiments, the terminal 20 may further include: a peripheral interface 203 and at least one peripheral. In some embodiments, the processor 201, memory 202, and peripheral interface 203 are connected by buses or signal lines. In some embodiments, various peripheral devices are connected to peripheral interface 203 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 204, a display screen 205, a camera assembly 206, an audio circuit 207, a positioning assembly 208, and a power supply 209.
The peripheral interface 203 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 201 and the memory 202. In some embodiments, the processor 201, memory 202, and peripheral interface 203 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 201, the memory 202, and the peripheral interface 203 are implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 204 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 204 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 204 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. In some embodiments, the radio frequency circuitry 204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. In some embodiments, the radio frequency circuitry 204 communicates with other terminals through at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 204 further includes NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display screen 205 is used to display a UI (User Interface). In some embodiments, the UI includes graphics, text, icons, video, and any combination thereof. When the display screen 205 is a touch display screen, the display screen 205 also has the ability to capture touch signals on or over the surface of the display screen 205. In some embodiments, the touch signal is input to the processor 201 as a control signal for processing. In this case, the display 205 is also used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 205 is one, and is disposed on the front panel of the terminal 20; in other embodiments, the display screens 205 are at least two, respectively disposed on different surfaces of the terminal 20 or in a folded design; in other embodiments, the display 205 is a flexible display disposed on a curved surface or a folded surface of the terminal 20. Even more, the display screen 205 is arranged in a non-rectangular irregular figure, i.e. a shaped screen. In some embodiments, the Display 205 is made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
Camera assembly 206 is used to capture images or video. In some embodiments, camera assembly 206 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and a VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, camera assembly 206 also includes a flash. In some embodiments, the flash is a single color temperature flash, and in some embodiments, the flash is a dual color temperature flash. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp and is used for light compensation under different color temperatures.
In some embodiments, the audio circuitry 207 includes a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals into the processor 201 for processing or inputting the electric signals into the radio frequency circuit 204 to realize voice communication. In some embodiments, the microphones are multiple and are disposed at different locations of the terminal 20 for stereo sound capture or noise reduction purposes. In some embodiments, the microphone is an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 201 or the radio frequency circuitry 204 into sound waves. In some embodiments, the speaker is a conventional membrane speaker, and in some embodiments, the speaker is a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to human, but also the electric signal can be converted into a sound wave inaudible to human for use in distance measurement or the like. In some embodiments, audio circuitry 207 also includes a headphone jack.
The positioning component 208 is used to locate the current geographic Location of the terminal 20 to implement navigation or LBS (Location Based Service). In some embodiments, the Positioning component 207 is a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, or the russian galileo System.
The power supply 209 is used to supply power to the various components in the terminal 20. In some embodiments, the power supply 209 is alternating current, direct current, a disposable battery, or a rechargeable battery. When the power supply 209 includes a rechargeable battery, the rechargeable battery is a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery is also used to support fast charge technology.
In some embodiments, the terminal 20 also includes one or more sensors 120. The one or more sensors 120 include, but are not limited to: acceleration sensor 211, gyro sensor 212, pressure sensor 213, fingerprint sensor 214, optical sensor 215, and proximity sensor 216.
In some embodiments, the acceleration sensor 211 detects acceleration magnitudes on three coordinate axes of a coordinate system established with the terminal 20. For example, the acceleration sensor 211 is configured to detect components of the gravitational acceleration in three coordinate axes. In some embodiments, the processor 201 controls the display screen 205 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 211. In some embodiments, the acceleration sensor 211 is also used for the acquisition of motion data of the game or the user.
In some embodiments, the gyroscope sensor 212 detects the body direction and the rotation angle of the terminal 20, and the gyroscope sensor 212 and the acceleration sensor 211 cooperate to acquire the 3D motion of the user on the terminal 20. The processor 201 can realize the following functions according to the data collected by the gyroscope sensor 212: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
In some embodiments, pressure sensors 213 are disposed on the side bezel of terminal 20 and/or underlying display screen 205. When the pressure sensor 213 is disposed on the side frame of the terminal 20, the holding signal of the user to the terminal 20 can be detected, and the processor 201 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 213. When the pressure sensor 213 is disposed at the lower layer of the display screen 205, the processor 201 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 205. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 214 is used for collecting a fingerprint of the user, and the processor 201 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 214, or the fingerprint sensor 214 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 201 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. In some embodiments, the fingerprint sensor 214 is disposed on the front, back, or side of the terminal 20. When a physical button or vendor Logo is provided on the terminal 20, the fingerprint sensor 214 is integrated with the physical button or vendor Logo.
The optical sensor 215 is used to collect the ambient light intensity. In one embodiment, the processor 201 controls the display brightness of the display screen 205 based on the ambient light intensity collected by the optical sensor 215. Specifically, when the ambient light intensity is high, the display brightness of the display screen 205 is increased; when the ambient light intensity is low, the display brightness of the display screen 205 is reduced. In another embodiment, processor 201 also dynamically adjusts the shooting parameters of camera head assembly 206 based on the ambient light intensity collected by optical sensor 215.
A proximity sensor 216, also known as a distance sensor, is typically provided on the front panel of the terminal 20. The proximity sensor 216 is used to collect the distance between the user and the front surface of the terminal 20. In one embodiment, when the proximity sensor 216 detects that the distance between the user and the front surface of the terminal 20 gradually decreases, the processor 201 controls the display screen 205 to switch from the bright screen state to the dark screen state; when the proximity sensor 216 detects that the distance between the user and the front surface of the terminal 20 is gradually increased, the display screen 205 is controlled by the processor 201 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 8 is not intended to be limiting of terminal 20, and can include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, there is also provided a computer-readable storage medium in which instructions, when executed by a processor of a terminal, enable the terminal to perform the group search method in the above-described embodiments.
In an exemplary embodiment, there is also provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the group search method in the above-described embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A group search method, comprising:
responding to group search operation, and acquiring search keywords;
based on the search keyword, executing the group search operation in the current mark of each group in the group set to which the current account belongs to obtain a search result, wherein the current account is the account initiating the group search operation;
if the search result indicates that a group matched with the search keyword is not searched, determining the history mark of each group in the group set;
and performing the group search operation in the history marks of all groups in the group set based on the search key words.
2. The group search method of claim 1, wherein performing the group search operation in the history tag of each group in the group set based on the search keyword comprises:
determining a history mark matched with the search keyword from the history marks of all groups;
and determining the group corresponding to the history mark in the group set as a target group matched with the search keyword.
3. The group search method of claim 2, further comprising:
and displaying the viewing inlet of the target group in a search interface.
4. The group search method of claim 3, further comprising:
showing a current tag and a historical tag of the target group on the view portal.
5. The group search method of claim 4, wherein said presenting the current tag and the historical tag of the target group on the view portal comprises:
displaying the current mark of the target group in a first display style and displaying the historical mark of the target group in a second display style on the viewing inlet; alternatively, the first and second electrodes may be,
and displaying change information on the viewing portal, wherein the change information is used for changing the mark representing the target group from the historical mark to the current mark.
6. The group search method of claim 1, wherein said determining historical indicia for each group in the set of groups comprises:
based on the group identification of each group in the group set, acquiring the history mark of each group from local.
7. A group search apparatus, comprising:
an acquisition unit configured to execute a search keyword in response to a group search operation;
the first searching unit is configured to execute the group searching operation in the current mark of each group in the group set to which the current account belongs based on the searching keyword to obtain a searching result, wherein the current account is the account initiating the group searching operation;
the determining unit is configured to determine the history mark of each group in the group set if the search result indicates that the group matched with the search keyword is not searched;
a second search unit configured to perform the group search operation in the history flag of each group in the group set based on the search keyword.
8. A terminal, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the group search method of any one of claims 1 to 7.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of a terminal, enable the terminal to perform the group search method of any one of claims 1 to 7.
10. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the group search method of any of claims 1 to 7.
CN202110326595.XA 2021-03-26 2021-03-26 Group searching method, device, terminal and storage medium Active CN113051485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110326595.XA CN113051485B (en) 2021-03-26 2021-03-26 Group searching method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110326595.XA CN113051485B (en) 2021-03-26 2021-03-26 Group searching method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113051485A true CN113051485A (en) 2021-06-29
CN113051485B CN113051485B (en) 2023-08-22

Family

ID=76515649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110326595.XA Active CN113051485B (en) 2021-03-26 2021-03-26 Group searching method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113051485B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115334030A (en) * 2022-08-08 2022-11-11 阿里健康科技(中国)有限公司 Voice message display method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674662A (en) * 2008-09-11 2010-03-17 中兴通讯股份有限公司 Method for establishing temporary group in digital trunking system
CN104361092A (en) * 2014-11-18 2015-02-18 百度在线网络技术(北京)有限公司 Searching method and device
WO2015081792A1 (en) * 2013-12-03 2015-06-11 北京奇虎科技有限公司 Method, device, and system for correlative and personalized extended search
US20150286687A1 (en) * 2014-04-07 2015-10-08 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and recording medium
CN107103082A (en) * 2017-04-26 2017-08-29 努比亚技术有限公司 Data processing method, client and computer-readable recording medium
CN110785752A (en) * 2017-08-31 2020-02-11 深圳市欢太科技有限公司 Resource searching method and related product
CN111475725A (en) * 2020-04-01 2020-07-31 百度在线网络技术(北京)有限公司 Method, apparatus, device, and computer-readable storage medium for searching for content
CN112087371A (en) * 2020-09-10 2020-12-15 北京百度网讯科技有限公司 Instant messaging group searching method, device, equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674662A (en) * 2008-09-11 2010-03-17 中兴通讯股份有限公司 Method for establishing temporary group in digital trunking system
WO2015081792A1 (en) * 2013-12-03 2015-06-11 北京奇虎科技有限公司 Method, device, and system for correlative and personalized extended search
US20150286687A1 (en) * 2014-04-07 2015-10-08 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and recording medium
CN104361092A (en) * 2014-11-18 2015-02-18 百度在线网络技术(北京)有限公司 Searching method and device
WO2016078533A1 (en) * 2014-11-18 2016-05-26 百度在线网络技术(北京)有限公司 Search method, apparatus, and device and non-volatile computer storage medium
CN107103082A (en) * 2017-04-26 2017-08-29 努比亚技术有限公司 Data processing method, client and computer-readable recording medium
CN110785752A (en) * 2017-08-31 2020-02-11 深圳市欢太科技有限公司 Resource searching method and related product
CN111475725A (en) * 2020-04-01 2020-07-31 百度在线网络技术(北京)有限公司 Method, apparatus, device, and computer-readable storage medium for searching for content
CN112087371A (en) * 2020-09-10 2020-12-15 北京百度网讯科技有限公司 Instant messaging group searching method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115334030A (en) * 2022-08-08 2022-11-11 阿里健康科技(中国)有限公司 Voice message display method and device
CN115334030B (en) * 2022-08-08 2023-09-19 阿里健康科技(中国)有限公司 Voice message display method and device

Also Published As

Publication number Publication date
CN113051485B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN107885533B (en) Method and device for managing component codes
CN110288689B (en) Method and device for rendering electronic map
CN111104402A (en) Method, device, electronic equipment and medium for searching data
CN112052354A (en) Video recommendation method, video display method and device and computer equipment
CN109995804B (en) Target resource information display method, information providing method and device
CN113051485B (en) Group searching method, device, terminal and storage medium
CN111563201A (en) Content pushing method, device, server and storage medium
CN113837709A (en) Online processing method and device of business process, terminal and readable storage medium
CN110990728A (en) Method, device and equipment for managing point of interest information and storage medium
CN114329292A (en) Resource information configuration method and device, electronic equipment and storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN113836426A (en) Information pushing method and device and electronic equipment
CN109918566B (en) Query method, query device, electronic equipment and medium
CN109618018B (en) User head portrait display method, device, terminal, server and storage medium
CN110928867B (en) Data fusion method and device
CN110851435B (en) Data storage method and device
CN113064981A (en) Group head portrait generation method, device, equipment and storage medium
CN111125095A (en) Data prefix adding method and device, electronic equipment and medium
CN110569064A (en) interface identifier generation method, device, equipment and storage medium
CN115134316B (en) Topic display method, device, terminal and storage medium
CN114071119B (en) Resource testing method and device, electronic equipment and storage medium
CN111007969B (en) Method, device, electronic equipment and medium for searching application
CN110544108B (en) Social user classification method and device, electronic equipment and medium
CN111897765A (en) Method and device for generating bookmark, electronic equipment and medium
CN114218107A (en) Interface detection method, device, equipment and storage medium

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