Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a flowchart of a method of an embodiment of a group chat log query method according to the present application. Although the present application provides method operational steps or apparatus configurations as illustrated in the following examples or figures, more or fewer operational steps or module configurations may be included in the method or apparatus based on conventional or non-inventive efforts. In the case of steps or structures where there is no logically necessary cause-and-effect relationship, the execution order of the steps or the block structure of the apparatus is not limited to the execution order or the block structure provided in the embodiments of the present application. When the described method or module structure is applied in an actual device or end product, the method or module structure according to the embodiment or shown in the drawings can be executed sequentially or in parallel (for example, in the environment of parallel processors or multi-thread processing, even in the environment of distributed processing).
Specifically, as shown in fig. 1, a method for querying a group chat record provided in an embodiment of the present application may include:
s1: and acquiring at least one target object selected by a user in the attention object.
And acquiring a target object selected by a user in the concerned objects of the query interface.
In the scheme of the embodiment of the application, a user can select a plurality of target objects needing to be queried. The specific way of selecting the target object may include selecting one or more buddies to be queried from a buddy list in a check manner, or directly selecting one or more members from group members displayed in a group chat interface as the target object to be queried in a group chat record in a "ctrl + single click" manner. In an embodiment provided by the application, a check query interface can be provided for a user, and can be an independent query interface, or a chat record query module, component, unit or the like in a group chat application, so that a check interface for a focus object can be provided for the user. The user can select one or more target objects needing to be queried in the attention objects provided by the check query interface. The attention object can be defined and set according to the same attention type. The present application may be described in an example application scenario in which a contact of interest is located in a group. Specifically, in the implementation process of this embodiment, the concerned object may include a concerned contact preset by the user, and when the conversation record query is actually performed, the concerned contact may be selected from a plurality of contacts concerned by the user, and the selected contact is used as a target object of the group chat record query. In other embodiments, the focus object may be set as all members of the target group to be queried currently by default, and then the user queries the chat records of several people to select a focus contact from the default check interface including all members of the target group, and takes the selected focus contact as the selected target object.
Of course, in other embodiments, the interested object may also be other information related to the content of the group chat record, such as interested hotspot information, seller or buyer information, and the like. The setting can be performed according to the actual scene requirement.
In the embodiment of the application, a multi-selection attention object check interface can be provided for a user, and the user can directly select one or more attention contacts in the check interface based on default or pre-added and defined settings. Therefore, compared with the mode of inputting the name of the contact person to be inquired one by one, the user can determine the contact person to be inquired more quickly and conveniently, the chat record information of a plurality of contact persons can be inquired conveniently and subsequently at one time, the inquiry efficiency of the chat records of the plurality of contact persons in the group can be improved, and the user experience is improved.
S2: determining an attention dimension to which the target object belongs and a target group to be inquired, and inquiring the chat record information of the target object in the attention dimension in the historical conversation record of the target group.
In the application scenario of the embodiment of the application, the concerned contact person can be used for inquiring the group chat records of the concerned object, so that the inquiry of the dialogue records of a plurality of contact persons concerned by the user is realized. However, the application is not limited to the query of the group chat records by using the contact as the concerned dimension, and in other embodiments, the hot spot key words may be provided for the user, and the query of the group chat records may be performed by using one or more hot spot keys selected by the user. Therefore, in the embodiment of the present application, the attention categories of the target objects may be divided, and attention dimensions to which the attention categories belong may be set for the attention objects with different dimensions. In this way, the chat log query is executed in the group chat log according to the concerned dimension to which the concerned object actually belongs.
Specifically, in an embodiment of the group chat record query method according to the present application, the object of interest may include:
s201: the method comprises the steps that preset concerned contacts are set, a user can select a target object from the concerned contacts, and accordingly, the concerned dimension of the target object is the contact. Correspondingly, when the concerned dimension to which the target object belongs is a contact, the querying, in the historical conversation record of the target group, the chat record information of the target object in the concerned dimension includes: and searching the historical conversation records of the target group for the chat record information issued in the target group by the target contact selected from the concerned contacts by the user.
The preset concerned contact persons may include one or more contact persons which are added to the concerned list in advance by the user, and the contact person of the concerned list selected at this time is used as the target contact person of the group chat record query at this time. In other embodiments, the preset interested contacts may also include all members of the target group that are set as the current query by default, and correspondingly, the target contacts include the contacts queried by the group chat log that selects the interested contact from all members of the target group by default.
In the actual implementation process of the chat log query, the recorded group chat log information generally includes information such as the ID of the chat log publisher and publication time. Therefore, the chat record information issued to the target group by the ID of the target contact can be searched in the group chat records according to the ID of the target contact selected by the user. Of course, this application does not exclude embodiments that query the chat history information of the target object in other ways.
In the application, the concerned dimension to which the target object belongs and the target group to be inquired can be determined, and the chatting record information of the target object in the concerned dimension is inquired in the historical dialogue record of the target group.
S3: and displaying the inquired chat record information of the target object.
If the chat record information of the target object selected by the user is inquired, the chat record information can be displayed at a display position appointed in advance by the inquiry interface, so that the user can check the inquiry result.
Fig. 2 is a schematic view of a query interface of an application for implementing the group chat log query method of the present application. As shown in fig. 2, in the embodiment of the present application, dropdown can be implemented by combining breadcrumbs and parent-child association (single selection is performed before, and multiple selection is performed after the contact concerned). Specific implementation languages include, but are not limited to, programming design languages C + +, C #, page programming and scripting languages html, javascript, functional component design languages, etc. used for application development design, and are implemented in combination with necessary hardware. Of course, the setting, display, arrangement mode and the like of the specific chat record display position can be set according to the actual application scene and the design requirement, and the application is not limited to this. In the embodiment shown in fig. 2, the user can select a person to be queried through the contact provided by the query interface, and then can directly perform chat log query. Meanwhile, a plurality of concerned contacts can be selected through the concerned contact check interface which can be selected more, and the simultaneous query of the concerned contact dialogue records in the target group is realized. Therefore, in an embodiment of the group chat record query method according to the present application, the acquiring at least one target object selected by the user from the objects of interest may include:
displaying a preset check query interface based on a query trigger instruction of a user, and acquiring at least one target object selected by the user in the objects of interest displayed on the check query interface.
In other embodiments of the group chat record query method according to the present application, a group scope selection may be provided for a user in a check query interface, and specifically, the group scope selection may also be implemented in a drop-down single-selection or multi-item box manner. The user can further select the chat records of one or more concerned contacts in one or more groups, more and more accurate query range selection can be provided for the user, the query requirement of the user is met, and the query experience of the chat records of the user group is provided. Therefore, in another embodiment of the method for querying a group chat record in the present application, the target group includes a group determined in the following manner:
providing a group range query option of the chat records for the user in a preset check query interface according to the group information added by the user, and taking the group selected by the user in the query interface as a target group of the query range of the chat records.
Therefore, the user can select the conversation records of the target object in different group ranges according to the requirement, the user can conveniently and quickly position and inquire, and the user experience of inquiring the group chat records of the user is improved.
According to the group chat record query method, the user can directly select the target objects (a plurality of concerned contacts queried at the time) to be queried in the group chat records in the provided query interface, and compared with the method of manually inputting the names of the query objects one by one, the query efficiency can be greatly improved, and the simultaneous query of a plurality of target objects can be supported. Furthermore, the chat record information of the target object can be inquired according to the attention category to which the selected target object belongs, and then the inquired chat record information can be displayed to the user at the appointed position of the inquiry interface. According to the method and the system for inquiring the contact persons, the user can directly select a plurality of concerned contact persons needing to be inquired in the inquiry interface, the instant, quick and multi-selection dialogue records of the concerned contact persons in the inquiry group are realized, a convenient dialogue record inquiry mode is provided for the user, the user requirements are met, and the user experience is improved.
The group chat record query method provided by the embodiment can be applied to an application scene that a user quickly selects a contact through a query interface to query chat record information of the contact in a target group. In another application scenario of the embodiment of the group chat record query method, a chat record query mode with the dimension of hot keywords can be provided for a user in a query interface. The user can select one or more hot keywords to be queried from the provided hot keywords as target objects, and then query relevant chat record information of the selected hot keywords in the target group. The hot keywords may include keywords provided for the user regarding recent social focus events, keywords customized for the user according to the attributes of the group (e.g., hot keywords of a car group may include "thinking", "maintenance", "insurance", etc. related to car news). Therefore, in another embodiment of the method for querying a group chat record in the present application:
s202: the attention object comprises a hotspot keyword provided for a user;
correspondingly, when the concerned dimension to which the target object belongs is a hotspot keyword, the querying, in the historical conversation record of the target group, the chat record information of the target object in the concerned dimension includes: and searching the historical conversation records of the target group for the chat record information containing the target keywords selected by the user from the provided hot keywords.
Of course, the hot keywords may also be set by the user in a customized manner, for example, the user may set some types of vehicles concerned in the added vehicle group as the hot keywords. The user can select the inquired target object to inquire all recent chatting record information related to the concerned vehicle types in the group at one time, so that the convenience of inquiring the chatting record of the user is greatly improved, and the user experience is improved. Therefore, in another embodiment of the method of the present application, the hotspot keyword may include:
s2021: and the user self-defines the query key words which are displayed on the check query interface in advance.
In another embodiment of the group chat record query method, the keyword statistical screening can be performed according to the historical chat record information of the group, and the hot topics discussed in a period of time in the group are calculated. The statistically screened keywords can then be used as the focus objects for the user to select the query-related dialog records. Therefore, in another embodiment of the method of the present application, the hotspot keyword may include:
s2022: and after the keyword screening statistics is carried out on the historical conversation records of the target group in the preset time period, the selected keywords displayed to the user in the query interface are selected.
Fig. 3 is a schematic view of another query interface for implementing the group chat log query method of the present application, and of course, in a specific implementation process, historical conversation logs in a recent three-day period of a certain group may be selected, and then statistics and screening are performed on the historical conversation logs, and top keywords with the highest occurrence frequency are selected as hot keywords to be displayed in the query interface, so as to provide a target object option for a user to perform a conversation log query. Obviously, the embodiment provided by the embodiment can show the hotspot problem concerned by member conversation in a group in a certain time period for the user, can help the user to quickly know the conversation record content, search the related group chat record, and improve the use experience of user group and group chat record query.
Of course, in some other embodiments, the hotspot keyword may also adopt an implementation mode including at least one setting mode, such as a user-defined query keyword, a keyword counted based on a group history dialog record, and the like.
Based on the above implementation of the group chat record query method, the application provides a group chat record query device. Fig. 4 is a schematic block structure diagram of an embodiment of a group chat log query apparatus provided in the present application, and as shown in fig. 4, the apparatus may include:
the queryobject selection module 101 may acquire at least one target object selected by a user from the attention objects in the query interface;
theinformation query module 102 may be configured to determine an attention dimension to which the target object belongs and a target group to be queried, and query chat record information of the target object in the attention dimension in a historical conversation record of the target group;
the queryresult display module 103 may be configured to display the queried chat record information of the target object.
In the device provided by the embodiment of the application, a user can directly select a plurality of concerned contact persons needing to be inquired in the inquiry interface, the instant, quick and multi-selection dialogue records of the concerned contact persons in the inquiry group are realized, a convenient dialogue record inquiry mode is provided for the user, the user requirements are met, and the user experience is improved.
In one embodiment provided by the application, a check query interface can be provided for a user. The check query interface can be an independent query interface, or a chat record query module, a component, a unit and the like in a group chat application, and is realized by providing a check interface of an attention object for a user. The user can select one or more target objects needing to be queried in the attention objects provided by the check query interface. Specifically, in another embodiment provided in this embodiment, the query object selecting module may include:
the query interface display unit is used for displaying a preset check query interface based on a query trigger instruction of a user;
and the target acquisition unit is used for acquiring at least one target object selected by the user from the attention objects displayed on the check query interface.
In another embodiment of the apparatus for querying group chat records according to the present application, the queryobject selection module 101 may provide a contact selection interface set by a user for attention, and the user may query the session records of one or more contacts selected from the group in theselection module 101. Therefore, in another embodiment of the apparatus for querying a group chat log according to the present application, the queryobject selecting module 101 may include:
a contactperson selecting module 1011, which may be configured to provide a selection interface with a preset contact person of interest as an object of interest;
correspondingly, when the concerned dimension to which the target object belongs is a contact, thequerying module 102 queries the chat record information of the target object in the concerned dimension in the historical dialog records of the target group, including: theinformation query module 102 searches the historical conversation records of the target group for the chat record information issued by the target contact selected by the user from the concerned contacts in the target group.
Of course, as mentioned above, in another embodiment of the apparatus for querying a group chat log according to the present application, the queryobject selecting module 101 may include:
akeyword selection module 1012, configured to provide a selection interface for providing a hotspot keyword provided for a user as an attention object;
correspondingly, when the attention category to which the target object belongs is a hotspot keyword, the querying of the chat record information of the target object in the attention dimension in the historical dialog record of the target group by theinformation querying module 102 includes: theinformation query module 102 searches the historical dialog records of the target group for the chat record information containing the target keyword selected by the user from the provided hot keywords.
The user can select one or more hot keywords to be queried from the provided hot keywords as target objects, and then query relevant chat record information of the selected hot keywords in the target group. The hot keywords may include keywords provided for the user regarding recent social focus events, and keywords customized for the user according to the attributes of the group. Or, the keyword statistic screening can be performed according to the historical chat record information of the group, and the hot topics discussed by the members in the group in a period of time are calculated. The statistically screened keywords can then be used as the focus objects for the user to select the query-related dialog records. Therefore, in another embodiment of the apparatus of the present application, the hot keyword includes at least one of the following setting modes:
the user self-defines the preset query key words displayed on the check query interface in advance;
and after the keyword screening statistics is carried out on the historical conversation records of the target group in the preset time period, the selected keywords displayed to the user in the query interface are selected.
The embodiment can show the hotspot problem concerned by member conversation in a group in a certain time period for the user, can help the user to quickly know the conversation record content, search the related group chat record, and improve the use experience of user group and group chat record query.
Fig. 5 is a schematic block structure diagram of another embodiment of a group chat record query device provided in the present application, and as shown in fig. 5, the device may include a contactperson selection module 1011 and akeyword selection module 1012 at the same time, so as to provide a multidimensional group chat record query for a user, and improve user experience.
Fig. 6 is a schematic block structure diagram of another embodiment of a group chat log query apparatus provided by the present application, and as shown in fig. 6, in another embodiment of the group chat log query apparatus provided by the present application, the querypair selection module 101 may further include agroup selection module 1013, which is configured to provide a group range query option of a chat log for a user in a preset query interface according to group information added by the user.
Of course, as described above, the user can select a plurality of target objects to be queried from the device provided by the present application to query the conversation records in the group chat records, which is convenient for the user to operate, and realizes fast and convenient query of the chat records of multiple users at the same time.
The user can further select the chat records of one or more concerned contacts in one or more groups, more and more accurate query range selection can be provided for the user, the query requirement of the user is met, and the query experience of the chat records of the user group is provided. Fig. 7 is a schematic block structure diagram of another embodiment of a group chat history query apparatus according to the present application.
The query interface setting modes, the keyword setting, the statistics display modes, the specific check interfaces, the chat record query result display and the like of different query dimensions described in the device embodiment may be set with reference to the related description of the method embodiment and in combination with the actual application scenario or design requirements, which is not described herein again. According to the group chat record query device, a user can directly select one or more target objects for group chat record query, and compared with the mode that the names of the query objects are manually input one by one, the query efficiency can be greatly improved, and multiple target objects can be simultaneously queried. Furthermore, the chat record information of the target object can be inquired according to the attention category to which the selected target object belongs, and then the inquired chat record information can be displayed to the user at the appointed position of the inquiry interface. According to the method and the system for inquiring the contact persons, the user can directly select a plurality of concerned contact persons needing to be inquired in the inquiry interface, the instant, quick and multi-selection dialogue records of the concerned contact persons in the inquiry group are realized, a convenient dialogue record inquiry mode is provided for the user, the user requirements are met, and the user experience is improved.
The method and the device for inquiring the group chat records can be used for inquiring the group chat records in instant messaging applications on various electronic equipment terminals such as a mobile communication terminal, a PC (personal computer), a tablet, a server, an autonomous service platform, web page communication and the like, can realize that a user can quickly and conveniently search the conversation records of a plurality of concerned contacts in a group, meet the requirements of the user, improve the use experience of the instant messaging applications and the conversation record inquiry in the applications of the user, and improve the integral application use perception of the user. Accordingly, the present application provides an electronic device that installs a communication application having a group chat log query module;
the group chat record query module in the communication application is set to be used for displaying a preset check query interface based on a query trigger instruction of a user and acquiring at least one target object selected by the user in the objects of interest displayed on the check query interface; the system is also used for determining an attention dimension to which the target object belongs and a target group to be inquired, and inquiring the chatting record information of the target object in the attention dimension in the historical conversation record of the target group; and the chat server is also used for displaying the inquired chat record information of the target object.
In another embodiment, the electronic device may be configured such that the check query interface includes at least one of a selection interface for providing a contact with a preset attention as an attention object and a selection interface for providing a hotspot keyword provided for the user as an attention object.
According to the group chat record query method, the group chat record query device and the electronic equipment, a user can select a plurality of target objects (a plurality of concerned contacts queried at this time) to be queried in the group chat record, and compared with the method that names of the query objects are manually input one by one, the query efficiency can be greatly improved, and the simultaneous query of the target objects can be supported. Furthermore, the chat record information of the target object can be inquired according to the attention category to which the selected target object belongs, and then the inquired chat record information can be displayed to the user at the appointed position of the inquiry interface. According to the method and the system for inquiring the contact persons, the user can directly select a plurality of concerned contact persons needing to be inquired in the inquiry interface, conversation records of the concerned contact persons in the inquiry group which are instant, quick and multiple to select are achieved, a convenient mode of simultaneously inquiring a plurality of conversation records is provided for the user, the user requirements are met, and the user terminal and application use experience are improved.
Although the description of the contact and hot keyword dimension of chat log query, dropdown combining the design of query interface with breadcrumb and parent-child association, cluster history dialog statistics screening, top sorting, and other query dimensions, interface settings, data statistics, and information interaction methods are mentioned in the present disclosure, the present disclosure is not limited to the description that is necessarily in accordance with the editing interface design language, the industry processing standard, or the embodiment. Certain industry standards, or implementations modified slightly from those described using custom modes or examples, may also achieve the same, equivalent, or similar, or other, contemplated implementations of the above-described examples. The data processing method, information interaction, interface design method, etc. after applying these modifications or variations may still fall within the scope of the alternative embodiments of the present application.
Although the present application provides method steps as described in an embodiment or flowchart, more or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
The units, devices or modules illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, in implementing the present application, the functions of each module may be implemented in one or more software and/or hardware, or a module implementing the same function may be implemented by a combination of a plurality of sub-modules or sub-units, and the like.
Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may therefore be considered as a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for enabling a computer device (which may be a personal computer, a mobile terminal, a server, or a network device) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same or similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
While the present application has been described with examples, those of ordinary skill in the art will appreciate that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.