Short message searching method and device
A technology of text messages and bills, applied in the field of information search, can solve the problems of wasting time and inaccuracy, and achieve the effects of fast and accurate search, increased flexibility, and increased pertinence
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] Short message search method of the present invention comprises the following steps:
[0029] Collect bills and feature text messages;
[0030] Carry out the preprocessing of removing spaces, punctuation marks and special symbols to the bill and the characteristic short message;
[0031] Matching judgment is performed on the preprocessed bill and the characteristic short message, and if they match, the search is successful.
[0032] In this embodiment, after the spaces, punctuation marks and special symbols in the call list and the characteristic short message are removed, the interference of non-text information is eliminated, and the efficiency and accuracy of subsequent matching judgment work are increased.
Embodiment 2
[0034] The difference between the present embodiment and the second embodiment is that the present embodiment has increased the step of screening through the dialogue list of the number segment, and after collecting the call list and the characteristic short message, prompts whether the call list needs to be screened, and if not, directly collects the call list If necessary, collect the number segment, compare the first seven digits of the bill number with the number segment, if they are the same, preprocess the call list and feature message, and if they are not the same, the search will fail.
[0035] In order to improve the matching efficiency, when the first seven digits of the bill number are compared with the number section, the comparison method is the red-black tree search method: the collected number section is loaded into the red-black tree, and the numbers are entered one by one in the red-black tree. Find whether there is a number segment that is the same as the firs...
Embodiment 3
[0039] When embodiment one and embodiment two carry out matching judgment on the dialog list and the characteristic short message, the matching method adopted is full matching, that is, when the content of the bill and the characteristic short message are completely identical, the two just match, that is, the search is successful, and this matching The method is relatively rigid. If the call list is not the same as the characteristic short message but contains the characteristic short message, it is still judged as a mismatch. Matching methods other than full matching and steps for selecting a matching method, such as figure 1 As described, the complete steps of this embodiment are as follows:
[0040] Step 101, reminding to set the storage path of the call list and the characteristic short message, and read the call list and the characteristic short message according to the storage path;
[0041] Step 102, remind whether it is necessary to screen the call list, if necessary,...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 