CN106991156B - Communication record retrieval method and mobile terminal - Google Patents

Communication record retrieval method and mobile terminal Download PDF

Info

Publication number
CN106991156B
CN106991156B CN201710198604.5A CN201710198604A CN106991156B CN 106991156 B CN106991156 B CN 106991156B CN 201710198604 A CN201710198604 A CN 201710198604A CN 106991156 B CN106991156 B CN 106991156B
Authority
CN
China
Prior art keywords
rule attribute
keyword
matched
rule
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710198604.5A
Other languages
Chinese (zh)
Other versions
CN106991156A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710198604.5A priority Critical patent/CN106991156B/en
Publication of CN106991156A publication Critical patent/CN106991156A/en
Application granted granted Critical
Publication of CN106991156B publication Critical patent/CN106991156B/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/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • 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/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a communication record retrieval method and a mobile terminal, which are used for acquiring query information which is input by a user and comprises a symbol and a keyword, querying a rule attribute matched with the symbol in a communication record to obtain target communication information matched with the keyword, and displaying the target communication information in an interface of the terminal. Therefore, the target communication information to be searched can be quickly and accurately searched in a large number of redundant communication records, and the problem that the user cannot quickly find the target communication information because the user cannot remember the specific content of the target communication information is effectively solved.

Description

Communication record retrieval method and mobile terminal
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a communication record retrieval method and a mobile terminal.
Background
With the rapid development of communication technology, people increasingly use social software to chat, and a large amount of communication records are generated in the process of using the social software, especially in group chat. However, these communication records are often filled with a large amount of useless spam messages, and users want to search for important contents in the communication records, generally adopting keyword full matching, and opening and checking one by one from matching results to confirm whether the communication information is the communication information to be searched.
However, often, a user cannot accurately remember the corresponding keyword in the content to be searched, and thus a large number of records need to be browsed to find the communication information to be searched, which seriously affects the user experience of the user.
Therefore, how to improve the efficiency of searching the communication record and enable the user to conveniently and quickly find the target communication record from a large number of redundant communication records under the condition that the user cannot remember the specific content of the communication information becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a communication record retrieval method and a mobile terminal, aiming at solving the problem that target communication information cannot be rapidly and accurately retrieved from a large number of redundant communication records.
In one aspect, a communication record retrieval method is provided, and the method includes:
acquiring query information input by a user, wherein the query information comprises symbols and keywords;
inquiring the rule attribute matched with the symbol in the communication record to obtain target communication information matched with the keyword;
and displaying the target communication information in an interface of the terminal.
On the other hand, an embodiment of the present invention further provides a mobile terminal, including:
the query information acquisition module is used for acquiring query information input by a user, and the query information comprises symbols and keywords;
the query module is used for querying the rule attribute matched with the symbol in the communication record to obtain target communication information matched with the keyword;
and the display module is used for displaying the target communication information in an interface of the terminal.
To sum up, the embodiment of the present invention obtains the query information including the symbol and the keyword, queries the rule attribute matched with the symbol in the communication record, obtains the target communication information matched with the keyword, and displays the target communication information in the interface of the terminal for the user to view. Therefore, the target communication information to be searched can be quickly searched in a large number of redundant communication records, and the problem that the user cannot quickly find the target communication information because the user cannot remember the specific content of the target communication information is effectively solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart of a communication record retrieval method of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a communication record retrieval method of another mobile terminal according to an embodiment of the present invention;
fig. 3 is a flowchart of a communication record retrieving method of a mobile terminal according to another embodiment of the present invention;
FIG. 4 is a block diagram of a mobile terminal of an embodiment of the present invention;
FIG. 5 is a block diagram of another mobile terminal of an embodiment of the present invention;
FIG. 6 is a block diagram of yet another mobile terminal of an embodiment of the present invention;
fig. 7 is a block diagram of a mobile terminal according to a sixth embodiment of the present invention;
fig. 8 is a block diagram of a mobile terminal according to a seventh embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
Example one
Referring to fig. 1, a flowchart of a communication record retrieval method according to an embodiment of the present invention is shown, where the method provided in this embodiment may be executed by a mobile terminal, and the retrieval method includes:
step 101, obtaining query information input by a user.
Specifically, the query information may include symbols and keywords.
The symbol is a preset identifier for calling the corresponding query rule, different symbols correspond to different query rules, and each query rule is embodied as a rule attribute in the communication record, so that one rule attribute in the communication record can be uniquely determined through the symbol. The rule attribute refers to the information category stored in the communication record for matching with the corresponding query rule to query. For example, a query rule corresponding to a symbol "×" may be preset to retrieve the communication information within a specified time, and when the obtained query information includes the symbol "×", it indicates that the user needs to retrieve the communication information within the specified time. In order to complete the query, when the communication information is stored, corresponding information may be stored in the "time" rule attribute of the communication record in advance, so that when the symbol "x" is obtained, the search may be performed from the "time" rule attribute.
In addition, a keyword corresponding to the symbol can be obtained, and the keyword is query content matched with the query rule. After the rule attribute needing to be searched in the communication record is determined by the symbol, the rule attribute value in the rule attribute can be determined through the keyword, and then the searching result is determined. For example, if the query information is "2017.1.1", after the communication record is retrieved by the rule attribute of "time" determined by the symbol "x", the communication information with the time of 2017, 1 month and 1 day in the communication record can be retrieved by retrieving the keyword "2017.1.1" in the rule attribute of "time". The rule attribute value refers to information stored together with the communication information when each piece of communication information is stored as a communication record. And storing each rule attribute value according to the rule attribute to which the rule attribute value belongs. For example, when storing a piece of communication information, the name of the user who sent the piece of communication information, the user who the communication information specifies to be referred to, the time, place, and the like of sending the communication information may be stored at the same time. Specifically, the location related to the communication information can be obtained through GPS positioning or network positioning, and if the location is position information such as coordinates, the location can be converted into characters for storage, so that the user can conveniently search through the characters.
And 102, inquiring the rule attribute matched with the symbol to obtain target communication information matched with the keyword.
After the query information input by the user is obtained, the communication records can be retrieved according to the symbols and the keywords in the query information.
Specifically, the matched rule attribute in the communication record may be determined according to the symbol in the query information. And after the matched rule attribute is determined, determining the matched rule attribute value according to the keyword in the rule attribute. And determining corresponding target communication information according to the rule attribute value to obtain a result to be inquired. Wherein the rule attribute includes at least one of a user, a time, and a location.
For example, if the obtained query information is "2017.1.1", and the query rule corresponding to the symbol "is the communication information within the specified time of retrieval, the rule attribute matched in the communication record may be determined as" time "according to the symbol". The matching rule attribute value may then be determined in the rule attribute "time" according to the keyword "2017.1.1". Since each rule attribute value corresponds to one piece of communication information, if a rule attribute value matching the keyword "2017.1.1" exists, the corresponding communication information can be determined, and a corresponding search result, that is, the target communication information, can be obtained.
And 103, displaying the target communication information in an interface of the terminal.
After the target communication information corresponding to the query information is acquired, the terminal can load the target communication information into the instant communication application running in the foreground and display the target communication information to the user for viewing through a specific interface.
In summary, in the embodiment of the present invention, query information including a symbol and a keyword is obtained, a rule attribute matching the symbol is queried in a communication record, target communication information matching the keyword is obtained, and the target communication information is displayed in an interface of a terminal for a user to view. Therefore, the target communication information to be searched can be quickly searched in a large number of redundant communication records, and the problem that the user cannot quickly find the target communication information because the user cannot remember the specific content of the target communication information is effectively solved.
Example two
Referring to fig. 2, a flowchart of a communication record retrieval method of another mobile terminal according to an embodiment of the present invention is shown. The method provided by the embodiment can be executed by the mobile terminal, and the retrieval method comprises the following steps:
step 201, obtaining query information input by a user.
The obtained query information includes symbols and keywords. The symbol is a preset identifier for calling the corresponding query rule, that is, a code number of the query rule, and for convenience of user input, the symbol may be set to be a simple character with a certain distinction degree, such as @, #, &, or the like. Each symbol represents a query rule that matches a rule attribute in the communication record. The rule attribute matched with each character can be set by default of the system or can be set by the user according to personal habits.
Because different users have different habits when inputting keywords, different formats can be adopted for inputting when inputting keywords with the same meaning, so that different formats of the same type of keywords can be converted into preset standard formats firstly, and then query is carried out. For example, there are many expression forms on the same date, and various expression forms can be converted into the same standard format, and then the keyword in the standard format is used for searching.
Step 202, determining the matched rule attribute in the communication record according to the symbol.
Acquiring query information input by a user at different positions, wherein the query information can correspond to different query ranges, and if the query information is acquired in a single group communication environment, inquiring the rule attribute matched with the symbol in the communication record of the single group; and if the query information is acquired in the main interface, inquiring the rule attribute matched with the symbol in the communication records of the groups. That is to say, the query information input by the user is acquired in the main interface, and the target communication information matched with the query information in each group can be retrieved, so that the retrieval efficiency is greatly improved.
After the symbols in the query information input by the user are obtained, because different symbols correspond to different query rules and each symbol has a matched rule attribute in the communication record, the matched rule attribute of the obtained symbol in the communication record can be determined firstly. Wherein the rule attribute includes at least one of a user, a time, and a location. The users include the originating user and the designated user. Specifically, the originating user refers to a user who sends communication information, and the designated user refers to a user who is prompted to refer to information in a group communication environment, for example, in a group chat environment, the @ user is the designated user. The rule attribute of time may refer to at least one of time for sending the communication information, time for receiving the communication information, or other time related to the communication information, and similarly, the rule attribute of location may refer to at least one of time for sending the communication information, time for receiving the communication information, or other time related to the communication information, and may be set according to the user's requirements during the actual use process.
For example, if the rule attribute matched by the symbol "@" in the communication record is the designated user, the rule attribute matched by the symbol "@" in the communication record is the originating user, the rule attribute matched by the symbol "&" in the communication record is the location, and the rule attribute matched by the symbol "#" in the communication record is the designated time, the matched rule attribute in the communication record can be determined when any one of the @, #, &andthe symbol is acquired.
Step 203, in the rule attribute, determining a matched rule attribute value according to the keyword.
After the matched rule attribute in the communication record is determined according to the symbol, the matched rule attribute value can be determined in the corresponding rule attribute according to the keyword. Or determining the matched rule attribute value in the corresponding rule attribute according to the associated keyword. The associated keywords refer to words associated with the keywords, and retrieval is performed according to the associated keywords, so that retrieval results are more comprehensive, and a user is prevented from replacing the keywords to perform retrieval for multiple times.
Specifically, the associated keyword may be determined according to the acquired keyword. When the rule attribute corresponding to the keyword is the user, the associated keyword can be a remark name and/or an identity name of the keyword; when the rule attribute corresponding to the keyword is time, the associated keyword can be the time period of the keyword; when the rule attribute corresponding to the keyword is a place, the associated keyword may be a name of an area where the keyword is located.
For example, if the obtained query information is "@ aryls", not only can the matched rule attribute value be determined in the rule attribute of the user according to the keyword "aryls", but also the retrieval can be performed according to the remark name "xiafang" of the "aryls", and if the "aryls" are the name of the user himself, the retrieval can be performed according to the pre-agreed identity name "oneself" or "me". Because the names of the same users in different communication records are possibly different, the condition often easily exists when a plurality of groups are simultaneously inquired, retrieval is carried out according to the associated keywords, the comprehensiveness of retrieval results can be effectively improved, and the situation that the users replace the keywords to carry out retrieval for many times is avoided.
For another example, if the obtained query information is "# west lake", the matched rule attribute value may be determined in the rule attribute of the location according to the keyword "west lake", and the search may be performed according to the name "hangzhou" of the area where the "west lake" is located. When the user plays around the West lake, the position information obtained by positioning can determine the rule attribute value needing to be matched through the associated key words even if the position information is not in the West lake.
For another example, if the obtained query information is ". 10: 10", the matched rule attribute value may be determined in the rule attribute of time according to the keyword "10: 10", and the search may be performed according to the time period in which "10: 10" is located, where the range of the time period may be set in advance. Because the problems of network delay, non-uniform clock and the like often exist in the communication process, the time in the communication record is possibly inconsistent with the time memorized by a user, retrieval is carried out through the time period of the keyword, and even if the time specified by the keyword is not accurate enough, the rule attribute value needing to be matched can be determined through the associated keyword.
And step 204, determining corresponding target communication information according to the rule attribute value.
Each rule attribute value corresponds to one piece of communication information, so that after the matched rule attribute value is determined, the corresponding target communication information can be determined according to the rule attribute value. For example, if the communication record contains aromatic communication information A, C, D, the communication record contains explicit communication information B, E. When the query information ". multidot.aryls" is obtained, the user can be sent by querying the rule attribute matched with the symbol ". multidot.s" in the communication record, so that the communication information A, C, D matched with the keyword "aryls" is obtained, namely the target communication information obtained by searching by using the query information.
And step 205, displaying the target communication information in an interface of the terminal.
After the target communication information corresponding to the query information is acquired, the terminal can load the target communication information into an instant messaging application running in a foreground and display the target communication information to a user through a specific interface so that the user can check the target communication information.
In summary, in the embodiment of the present invention, by obtaining query information including a symbol and a keyword, in a communication record, a rule attribute matched in the communication record is determined according to the symbol, and in the rule attribute, a matched rule attribute value is determined according to the keyword, then a corresponding target communication information is determined according to the rule attribute value, and a corresponding target communication information is determined according to the rule attribute value. Therefore, the target communication information to be searched can be quickly, conveniently and accurately searched in a large number of redundant communication records, and the search is carried out through the associated keywords, so that the search result is more comprehensive, and the condition that a user replaces the keywords to carry out the search for many times is avoided.
EXAMPLE III
Referring to fig. 3, a flowchart of a communication record retrieving method of a mobile terminal according to another embodiment of the present invention is shown. When the query information has a plurality of symbols and a plurality of corresponding keywords, the retrieval method comprises the following steps:
step 301, obtaining query information input by a user.
The query information may include a plurality of symbols and a plurality of corresponding keywords, so that the obtained symbols and the corresponding keywords are simultaneously used to retrieve the communication record, that is, the communication information in the communication record is queried by using multiple limiting conditions. For example, if the obtained query message is "# aryls 2017.1.1", it indicates that the user needs to query the communication message sent by the aryls in month 1 of 2017.
Step 302, determining a plurality of rule attributes matched in the communication record according to a plurality of symbols.
In order to determine the target communication information meeting multiple conditions, a plurality of rule attributes matched in the communication record can be respectively determined according to the obtained plurality of symbols. For example, if the obtained query information is "# arylar 2017.1.1", the matched rule attribute may be determined as the originating user according to the symbol "#", the matched rule attribute may be determined as the time according to the symbol "#", and the two rule attributes, i.e., the originating user and the time in the communication record may be determined according to the two symbols.
And 303, determining a matched rule attribute value by respectively adopting the corresponding key words in each matched rule attribute, and acquiring a group of corresponding communication information to be selected.
Because the query information comprises a plurality of symbols and a plurality of corresponding keywords, namely, the search result needs to be determined from multiple aspects, the target communication information cannot be directly determined according to any symbol and corresponding keyword, in each matched rule attribute, the corresponding keyword is respectively adopted to determine the matched rule attribute value, and a corresponding group of communication information to be selected can be obtained. Since the candidate communication information does not have commonality, step 304 is performed to select the target communication information from each group of candidate communication information. For example, if the query information obtained is "# arene 2017.1.1", the candidate communication information obtained according to "# arene" alone is not necessarily all transmitted 2017.1.1, and the candidate communication information obtained according to "# 2017.1.1" alone is not necessarily arene. Two sets of communication information to be selected need to be processed, and the target communication information can be finally obtained.
And step 304, taking the intersection of each group of communication information to be selected as target communication information.
Because the conditions defined by a plurality of symbols and a plurality of corresponding keywords need to be met at the same time, the intersection of each group of communication information to be selected can be taken as the target communication information. For example, if the candidate communication information obtained solely according to "# aryls" is A, B, D and the candidate communication information obtained solely according to "# 2017.1.1" is A, C, D, the communication information A, D is regarded as the target communication information.
And 305, displaying the target communication information in an interface of the terminal.
In summary, in the embodiment of the present invention, query information including a plurality of symbols and a plurality of keywords is obtained, a plurality of rule attributes matched in a communication record are determined according to the plurality of symbols in the communication record, a corresponding keyword is respectively used to determine a matched rule attribute value in each matched rule attribute, a corresponding set of communication information to be selected is obtained, and an intersection of each set of communication information to be selected is used as target communication information. Therefore, the target communication information to be searched can be quickly searched in a large number of redundant communication records, and the obtained search result is more simplified.
Example four
Referring to fig. 4, a block diagram of a mobile terminal in an embodiment of the present invention is shown. The mobile terminal includes: a query information acquisition module 41, a query module 42 and a display module 43.
The query information acquiring module 41 is configured to acquire query information input by a user, where the query information includes a symbol and a keyword;
the query module 42 is configured to query the rule attribute matched with the symbol in the communication record to obtain target communication information matched with the keyword; wherein the rule attribute comprises at least one of a user, a time and a place;
and the display module 43 is configured to display the target communication information in an interface of the terminal for a user to view.
In summary, in the embodiment of the present invention, the query information obtaining module 41 obtains query information including a symbol and a keyword, the query module 42 queries the rule attribute matched with the symbol in the communication record to obtain target communication information matched with the keyword, and the display module 43 displays the target communication information in the interface of the terminal for the user to view. Therefore, the target communication information to be searched can be quickly searched in a large number of redundant communication records, and the problem that the user cannot quickly find the target communication information because the user cannot remember the specific content of the target communication information is effectively solved.
EXAMPLE five
Referring to fig. 5, in a preferred embodiment of the present invention, on the basis of fig. 4, the query module includes: a rule attribute determination submodule 421, a rule attribute value determination submodule 422, and a target communication information determination submodule 423.
The rule attribute determining submodule 421 is configured to determine a rule attribute matched in the communication record according to the symbol;
a rule attribute value determining sub-module 422, configured to determine a matched rule attribute value according to the keyword in the rule attribute;
the target communication information determining submodule 423 is used for determining corresponding target communication information according to the rule attribute value;
specifically, the query module 42 is further configured to query a rule attribute matched with the symbol in the communication record of the single group; or inquiring the rule attribute matched with the symbol in the communication records of a plurality of groups; the users comprise a calling user and a designated user, and the calling user and the designated user are respectively matched with different symbols.
In addition, the query module 42 is further configured to determine a plurality of rule attributes matched in the communication record according to the plurality of symbols; in each matched rule attribute, determining a matched rule attribute value by adopting a corresponding keyword respectively, and acquiring a corresponding group of communication information to be selected; and taking the intersection of each group of communication information to be selected as target communication information.
Referring to fig. 6, in a preferred embodiment of the present invention, on the basis of fig. 5, the rule attribute value determination submodule 422 includes: an association keyword determination unit 4221 and a rule attribute value determination unit 4222.
Specifically, the associated keyword determination unit 4221 is configured to determine an associated keyword according to the keyword;
a rule attribute value determination unit 4222, configured to determine a matched rule attribute value according to the associated keyword in the rule attribute;
when the rule attribute corresponding to the keyword is the user, the associated keyword comprises a remark name and/or an identity name of the keyword; when the rule attribute corresponding to the keyword is time, the associated keyword comprises a time period of the keyword; when the rule attribute corresponding to the keyword is a place, the associated keyword comprises the name of the area where the keyword is located.
In summary, in the embodiment of the present invention, the query information obtaining module 41 obtains the query information including the symbol and the keyword, and the query module 42 determines the rule attribute matched in the communication record according to the symbol by the rule attribute determining sub-module 421 in the communication record, determines the matched rule attribute value according to the keyword by the rule attribute value determining sub-module 422 in the rule attribute, and determines the corresponding target communication information according to the rule attribute value by the target communication information determining sub-module 423. Therefore, the target communication information to be searched can be quickly, conveniently and accurately searched in a large number of redundant communication records, and the search is carried out through the associated keywords, so that the search result is more comprehensive, and the condition that a user replaces the keywords to carry out the search for many times is avoided.
EXAMPLE six
Fig. 7 is a block diagram of a mobile terminal according to a sixth embodiment of the present invention. The mobile terminal 700 shown in fig. 7 includes: at least one processor 701, memory 702, at least one network interface 704, and other user interfaces 703. The various components in the mobile terminal 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 7 as the bus system 705.
The user interface 703 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is understood that the Memory 702 in embodiments of the present invention may be either volatile Memory or non-volatile Memory, or may include both volatile and non-volatile Memory, wherein non-volatile Memory may be Read-Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), or flash Memory volatile Memory may be Random Access Memory (RAM), which serves as external cache Memory, by way of example and not limitation, many forms of RAM are available, such as Static Random Access Memory (Static RAM, SRAM), Dynamic Random Access Memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic Random Access Memory (Double Data, ddrsted DRAM), Enhanced Synchronous DRAM (Enhanced DRAM), or SDRAM L, and any other types of RAM suitable for accessing the present invention, including but not limited to SDRAM, and SDRAM, and RAM, as well, and RAM, and other embodiments of the invention, and SDRAM, and RAM, and SDRAM, and.
In some embodiments, memory 702 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 7021 and application programs 7022.
The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
In the embodiment of the present invention, the processor 701 is configured to obtain query information including a symbol and a keyword by calling a program or an instruction stored in the memory 702, specifically, the program or the instruction stored in the application 7022, query a rule attribute matched with the symbol in a communication record to obtain target communication information matched with the keyword, and display the target communication information in an interface of the terminal, where the rule attribute includes at least one of a user, time, and place.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The Processor 701 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and performs the steps of the above method in combination with the hardware thereof.
For a hardware implementation, the processing units may be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital signal processing devices (DSP devices, DSPDs), Programmable logic devices (P L D), Field-Programmable Gate arrays (FPGAs), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions of the present Application, or a combination thereof.
For a software implementation, the techniques of an embodiment of the invention may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions of the embodiments of the invention. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 701 is further configured to: determining the matched rule attribute in the communication record according to the symbol; in the rule attribute, determining a matched rule attribute value according to the keyword; and determining corresponding target communication information according to the rule attribute value.
Optionally, the processor 701 is specifically configured to: determining related keywords according to the keywords; in the rule attribute, determining a matched rule attribute value according to the associated key words; when the rule attribute corresponding to the keyword is the user, the associated keyword comprises a remark name and/or an identity name of the keyword; when the rule attribute corresponding to the keyword is time, the associated keyword comprises a time period of the keyword; when the rule attribute corresponding to the keyword is a place, the associated keyword comprises the name of the area where the keyword is located.
Optionally, as another embodiment, the processor 701 is further configured to: when the rule attribute is a user, inquiring the rule attribute matched with the symbol in the communication record of the single group; or inquiring the rule attribute matched with the symbol in the communication records of a plurality of groups; the users comprise a calling user and a designated user, and the calling user and the designated user are respectively matched with different symbols.
Optionally, the processor 701 is further configured to: when the query information has a plurality of symbols and a plurality of corresponding keywords, determining a plurality of rule attributes matched in the communication record according to the symbols; in each matched rule attribute, determining a matched rule attribute value by adopting a corresponding keyword respectively, and acquiring a corresponding group of communication information to be selected; and taking the intersection of each group of communication information to be selected as target communication information.
The mobile terminal 700 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
In summary, in the mobile terminal according to the embodiment of the present invention, the processor 701 obtains query information including a symbol and a keyword, queries a rule attribute matched with the symbol in a communication record, obtains target communication information matched with the keyword, and displays the target communication information in an interface of the terminal for a user to view. Therefore, the target communication information to be searched can be quickly searched in a large number of redundant communication records, and the problem that the user cannot quickly find the target communication information because the user cannot remember the specific content of the target communication information is effectively solved.
EXAMPLE seven
Fig. 8 is a block diagram of a mobile terminal in a seventh embodiment of the present invention. Specifically, the mobile terminal in fig. 8 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal in fig. 8 includes a Radio Frequency (RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a processor 860, an audio circuit 870, a wifi (wireless fidelity) module 880, and a power supply 890.
The input unit 830 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal. Specifically, in the embodiment of the present invention, the input unit 830 may include a touch panel 831. The touch panel 831, also referred to as a touch screen, can collect touch operations performed by a user on or near the touch panel 831 (e.g., operations performed by the user on the touch panel 831 using a finger, a stylus, or any other suitable object or accessory), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 831 may include two portions, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 860, and can receive and execute commands sent by the processor 860. In addition, the touch panel 831 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 831, the input unit 830 may include other input devices 832, and the other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 840 may include a display panel 841, and the display panel 841 may be configured in the form of L CD or an Organic light Emitting Diode (O L ED), or the like, optionally.
It should be noted that the touch panel 831 can overlay the display panel 841 to form a touch display screen, which, when it detects a touch operation thereon or nearby, is passed to the processor 860 to determine the type of touch event, and then the processor 860 provides a corresponding visual output on the touch display screen according to the type of touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 860 is a control center of the mobile terminal, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the first memory 821 and calling data stored in the second memory 822, thereby performing overall monitoring of the mobile terminal. Optionally, processor 860 may include one or more processing units.
In the embodiment of the present invention, the processor 860 is configured to obtain query information including a symbol and a keyword by calling a software program and/or a module stored in the first memory 821 and/or data stored in the second memory 822, query a rule attribute matching the symbol in a communication record to obtain target communication information matching the keyword, and display the target communication information in an interface of the terminal, where the rule attribute includes at least one of a user, a time, and a place.
Optionally, the processor 860 is further configured to: determining the matched rule attribute in the communication record according to the symbol; in the rule attribute, determining a matched rule attribute value according to the keyword; and determining corresponding target communication information according to the rule attribute value.
Optionally, the processor 860 is specifically configured to: determining related keywords according to the keywords; in the rule attribute, determining a matched rule attribute value according to the associated key words; when the rule attribute corresponding to the keyword is the user, the associated keyword comprises a remark name and/or an identity name of the keyword; when the rule attribute corresponding to the keyword is time, the associated keyword comprises a time period of the keyword; when the rule attribute corresponding to the keyword is a place, the associated keyword comprises the name of the area where the keyword is located.
Optionally, as another embodiment, the processor 860 is further configured to: when the rule attribute is a user, inquiring the rule attribute matched with the symbol in the communication record of the single group; or inquiring the rule attribute matched with the symbol in the communication records of a plurality of groups; the users comprise a calling user and a designated user, and the calling user and the designated user are respectively matched with different symbols.
Optionally, the processor 860 is further configured to: when the query information has a plurality of symbols and a plurality of corresponding keywords, determining a plurality of rule attributes matched in the communication record according to the symbols; in each matched rule attribute, determining a matched rule attribute value by adopting a corresponding keyword respectively, and acquiring a corresponding group of communication information to be selected; and taking the intersection of each group of communication information to be selected as target communication information.
The mobile terminal can implement each process implemented by the mobile terminal in the foregoing embodiments, and details are not described here to avoid repetition.
It can be seen that, in the mobile terminal in the embodiment of the present invention, the processor 860 obtains query information including a symbol and a keyword, queries a rule attribute matching with the symbol in a communication record, obtains target communication information matching with the keyword, and displays the target communication information in an interface of the terminal for a user to view. Therefore, the target communication information to be searched can be quickly searched in a large number of redundant communication records, and the problem that the user cannot quickly find the target communication information because the user cannot remember the specific content of the target communication information is effectively solved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A method for retrieving a communication record, comprising:
acquiring query information input by a user, wherein the query information comprises symbols and keywords;
inquiring the rule attribute matched with the symbol in the communication record to obtain target communication information matched with the keyword; wherein the rule attribute comprises at least one of a user, a time, and a location;
displaying the target communication information in an interface of a terminal;
the location is a pre-stored location for sending communication information;
the step of inquiring the rule attribute matched with the symbol to obtain the target communication information matched with the keyword comprises the following steps:
determining the matched rule attribute in the communication record according to the symbol;
in the rule attribute, determining a matched rule attribute value according to the keyword;
determining corresponding target communication information according to the rule attribute value;
determining the matched rule attribute in the communication record according to the symbol, wherein the determining comprises: when the query information is acquired in the main interface, inquiring the rule attribute matched with the symbol in the communication records of the groups;
the step of determining the matched rule attribute value according to the keyword in the rule attribute comprises the following steps:
determining related keywords according to the keywords;
in the rule attribute, determining a matched rule attribute value according to the associated keyword;
when the rule attribute corresponding to the keyword is a user, the associated keyword comprises a remark name and/or an identity name of the keyword; when the rule attribute corresponding to the keyword is time, the associated keyword comprises a time period of the keyword; and when the rule attribute corresponding to the keyword is a place, the associated keyword comprises the name of the area where the keyword is located.
2. The method of claim 1, wherein when the rule attribute is a user, the step of querying the correspondence record for a rule attribute matching the symbol comprises:
inquiring the rule attribute matched with the symbol in the communication record of the single group; or
Inquiring the rule attribute matched with the symbol in the communication records of a plurality of groups;
the users comprise a transmitting user and a designated user, and the transmitting user and the designated user are respectively matched with different symbols.
3. The method according to claim 1, wherein when the query message has a plurality of symbols and a plurality of corresponding keywords, the step of querying rule attributes matching the symbols to obtain target communication messages matching the keywords comprises:
determining a plurality of rule attributes matched in the communication record according to the plurality of symbols;
in each matched rule attribute, determining a matched rule attribute value by adopting a corresponding keyword respectively, and acquiring a corresponding group of communication information to be selected;
and taking the intersection of each group of communication information to be selected as the target communication information.
4. A mobile terminal, comprising:
the query information acquisition module is used for acquiring query information input by a user, and the query information comprises symbols and keywords;
the query module is used for querying the rule attribute matched with the symbol in the communication record to obtain target communication information matched with the keyword; wherein the rule attribute comprises at least one of a user, a time, and a location;
the display module is used for displaying the target communication information in an interface of the terminal;
the location is a pre-stored location for sending communication information;
the query module comprises:
the rule attribute determining submodule is used for determining the matched rule attribute in the communication record according to the symbol;
the rule attribute value determining submodule is used for determining a matched rule attribute value according to the keyword in the rule attribute;
the target communication information determining submodule is used for determining corresponding target communication information according to the rule attribute value;
the rule attribute determining submodule is used for inquiring the rule attribute matched with the symbol in the communication records of a plurality of groups when the inquiry information is acquired in the main interface;
the rule attribute value determination submodule includes:
the related keyword determining unit is used for determining related keywords according to the keywords;
a rule attribute value determining unit, configured to determine, in the rule attribute, a matched rule attribute value according to the associated keyword;
when the rule attribute corresponding to the keyword is a user, the associated keyword comprises a remark name and/or an identity name of the keyword; when the rule attribute corresponding to the keyword is time, the associated keyword comprises a time period of the keyword; and when the rule attribute corresponding to the keyword is a place, the associated keyword comprises the name of the area where the keyword is located.
5. A mobile terminal according to claim 4, wherein when the rule attribute is a user,
the query module is also used for querying the rule attribute matched with the symbol in the communication record of the single group; or inquiring the rule attribute matched with the symbol in the communication records of a plurality of groups; the users comprise a transmitting user and a designated user, and the transmitting user and the designated user are respectively matched with different symbols.
6. The mobile terminal of claim 4, wherein when there are a plurality of symbols and a corresponding plurality of keywords in the query message,
the query module is further used for determining a plurality of rule attributes matched in the communication record according to the plurality of symbols; in each matched rule attribute, determining a matched rule attribute value by adopting a corresponding keyword respectively, and acquiring a corresponding group of communication information to be selected; and taking the intersection of each group of communication information to be selected as the target communication information.
CN201710198604.5A 2017-03-29 2017-03-29 Communication record retrieval method and mobile terminal Active CN106991156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710198604.5A CN106991156B (en) 2017-03-29 2017-03-29 Communication record retrieval method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710198604.5A CN106991156B (en) 2017-03-29 2017-03-29 Communication record retrieval method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106991156A CN106991156A (en) 2017-07-28
CN106991156B true CN106991156B (en) 2020-08-07

Family

ID=59411965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710198604.5A Active CN106991156B (en) 2017-03-29 2017-03-29 Communication record retrieval method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106991156B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110740209B (en) * 2018-07-19 2022-11-08 北京搜狗科技发展有限公司 Prompt message setting method, device, equipment and machine readable medium
CN111680208B (en) * 2020-04-22 2023-05-30 平安直通咨询有限公司 Cross-platform communication keyword retrieval method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9396264B2 (en) * 2013-06-13 2016-07-19 Tencent Technology (Shenzhen) Company Limited Methods and systems for information matching
CN105827500A (en) * 2015-07-30 2016-08-03 维沃移动通信有限公司 Method of instant communication and terminal equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10242028B2 (en) * 2002-11-11 2019-03-26 Transparensee Systems, Inc. User interface for search method and system
CN102930057B (en) * 2012-11-21 2016-08-24 北京奇虎科技有限公司 Search implementation method and device
CN104699378B (en) * 2013-12-04 2019-08-06 腾讯科技(深圳)有限公司 Information browsing method and system in more people's chats
CN105812231B (en) * 2014-12-29 2019-11-05 阿里巴巴集团控股有限公司 The method for quickly identifying and its device of chat record
CN104715010B (en) * 2014-12-31 2018-11-30 上海孩子国科教设备有限公司 The method, terminal and system of associated data are recalled using text
CN106470148B (en) * 2015-08-19 2019-12-13 腾讯科技(深圳)有限公司 Group chat content display method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9396264B2 (en) * 2013-06-13 2016-07-19 Tencent Technology (Shenzhen) Company Limited Methods and systems for information matching
CN105827500A (en) * 2015-07-30 2016-08-03 维沃移动通信有限公司 Method of instant communication and terminal equipment

Also Published As

Publication number Publication date
CN106991156A (en) 2017-07-28

Similar Documents

Publication Publication Date Title
CN106372110B (en) Recommendation method of application program and mobile terminal
CN107357574B (en) Operation method and mobile terminal
US20190324608A1 (en) Method and apparatus for homepage cluster system management based on tree structure
CN105928537B (en) Method and apparatus for enabling display of a location in a coordinate space
CN106131650B (en) Video processing method and mobile terminal
EP2632095B1 (en) Retrieval and presentation of contact data at an electronic device
CN107741820B (en) Input method keyboard display method and mobile terminal
US20120282950A1 (en) Mobile Geolocation String Building System And Methods Thereof
CN106446180B (en) Song identification method and mobile terminal
US8856676B1 (en) Pre-filling input fields using heuristic data
CN104217150A (en) Method and device for calling application
KR20160085776A (en) Remote control for displaying application data on dissimilar screens
CN107562473B (en) Application program display method and mobile terminal
WO2017142622A1 (en) Target selection on a small form factor display
US20110154257A1 (en) System and method for managing contact information
CN111125269A (en) Data management method, blood relationship display method and related device
CN113434075B (en) Information display method and device and electronic equipment
CN107332963B (en) Number setting method and terminal
CN107463644B (en) Music recommendation method and mobile terminal
KR20180004128A (en) Techniques that automatically associate content with people
CN106991156B (en) Communication record retrieval method and mobile terminal
US6895404B2 (en) System and method for electronically searching for information from a sorted data set
US9824163B2 (en) Method and apparatus for providing a search tool in connection with address management
EP3387556A1 (en) Providing automated hashtag suggestions to categorize communication
CN106446014B (en) File searching method and mobile terminal

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