Short message processing method, device, electronic device and storage medium

By obtaining user tags and text message keywords, the characteristics of text messages are determined, the selection rate is estimated, and a recommendation list is generated, which solves the problem of low efficiency of text message search and improves the accuracy and efficiency of text message search.

CN112084406BActive Publication Date: 2024-09-24VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010930893.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-07
Publication Date
2024-09-24
Estimated Expiration
2040-09-07

AI Technical Summary

Technical Problem

When users search for text messages on their mobile phones, the search efficiency is low when the volume of text messages is large or contains spam text messages, and the search efficiency of text messages is low due to inaccurate keyword searches.

Method used

By obtaining user tags and text message keywords, the text message characteristics are determined, and the selection rate is estimated based on the characteristics, and a text message recommendation list is generated, which is displayed in a preset display mode to avoid users searching one by one or keyword search.

Benefits of technology

It improves the efficiency of text message search, reduces the user's search time in a large number of text messages, and ensures that users can obtain the required text messages accurately and efficiently.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112084406B
    Figure CN112084406B
Patent Text Reader

Abstract

The present application discloses a text message processing method, device, electronic device and storage medium, which belongs to the field of communication technology. In an embodiment of the present application, in response to a user's operation of searching for text messages, the user tag and the text message keywords corresponding to each text message can be obtained, and then the text message features corresponding to each text message are obtained according to the user tag and the text message keywords, and then the estimated selection rate corresponding to each text message is determined according to the text message features, and then the text message recommendation list is determined according to the estimated selection rate of the text message, and the text message recommendation list is displayed according to a preset display mode, so that when the user needs to obtain text messages, the text messages that the user may select can be estimated and recommended to the user, avoiding the problem of low efficiency of text message search caused by the user searching for text messages one by one in chronological order or inaccurate keyword search.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a text message processing method, device, electronic device and storage medium. Background Art

[0002] Currently, users can communicate and exchange information through SMS when using mobile phones, so as to avoid disturbing contacts' work, rest, etc. However, operators often deliver advertisements through SMS, so that users' mobile phones may receive a large number of junk SMS. Existing mobile phones usually sort and display SMS according to the time when SMS is received. Users search for SMS received at the corresponding time in the sorted SMS, or enter keywords to search for the corresponding SMS.

[0003] In the process of implementing this application, the applicant found that there are at least the following problems in the prior art:

[0004] When the user's mobile phone has a large amount of text messages, or contains many spam messages, it takes a long time and is inefficient for the user to find the corresponding text messages in the sorted and displayed text messages; when the user enters a keyword to search for text messages, if the keyword is inaccurate or there are many text messages associated with the keyword, the text messages searched may not correspond to the text messages the user needs to search for, so that the user needs to enter and search for multiple times to obtain the text messages needed for the search, and the efficiency of finding text messages is low. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a text message processing method, device, electronic device and storage medium, which can solve the current problem of low efficiency in text message searching.

[0006] In order to solve the above technical problems, this application is implemented as follows:

[0007] In a first aspect, an embodiment of the present application provides a method for processing a text message, the method comprising:

[0008] In response to a user's operation of searching for short messages, obtaining a user tag corresponding to the user and short message keywords corresponding to each short message;

[0009] Determine the SMS feature corresponding to each SMS according to the user tag and the SMS keyword;

[0010] Determine the estimated selection rate corresponding to each of the text messages according to the text message characteristics;

[0011] Determining a list of recommended text messages according to the estimated selection rate;

[0012] The SMS recommendation list is displayed in a preset display mode.

[0013] In a second aspect, an embodiment of the present application provides a short message processing device, the device comprising:

[0014] A data acquisition module, configured to obtain a user tag corresponding to the user and a text message keyword corresponding to each text message in response to a user's operation of searching for text messages;

[0015] A feature determination module, used to determine the SMS feature corresponding to each SMS according to the user tag and the SMS keyword;

[0016] A selection rate determination module, used to determine the estimated selection rate corresponding to each of the text messages according to the characteristics of the text messages;

[0017] A list generation module, used to determine a short message recommendation list according to the estimated selection rate;

[0018] The list display module is used to display the short message recommendation list in a preset display mode.

[0019] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0020] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0021] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0022] In an embodiment of the present application, in response to a user's operation of searching for text messages, the user tag and the text message keywords corresponding to each text message can be obtained, and then the text message features corresponding to each text message are obtained based on the user tag and the text message keywords, and then the estimated selection rate of each text message is determined based on the text message features, and then a text message recommendation list is determined based on the estimated selection rate of the text message, and the text message recommendation list is displayed according to a preset display method, so that when the user needs to obtain text messages, the text messages that the user may select can be estimated and recommended to the user, thereby avoiding the problem of low text message search efficiency caused by the user searching for text messages one by one in chronological order, or inaccurate keyword search. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 This is a flowchart of a method for processing text messages provided by an embodiment of the present application;

[0024] Figure 2 is a flowchart of another method for processing short messages provided in an embodiment of the present application;

[0025] Figure 3 It is a structural block diagram of a short message processing device provided in an embodiment of the present application;

[0026] Figure 4 is a structural block diagram of another short message processing device provided in an embodiment of the present application;

[0027] Figure 5 An electronic device provided by an embodiment of the present application;

[0028] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0030] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0031] The text message processing method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0032] Figure 1 is a flowchart of a method for processing short messages provided by an embodiment of the present application, such as Figure 1 As shown, the method may include:

[0033] Step 101: In response to a user's operation of searching for text messages, a user tag corresponding to the user and text message keywords corresponding to each text message are obtained.

[0034] The embodiments of the present application can be applied to electronic devices that store text messages. Optionally, the user's operation of searching for text messages can be determined based on the interaction logic of the electronic device, such as the user's selection operation on the search box in the text message display interface, or the user's input of a voice command of "text message search", or the user's input of a preset track on the touch screen of the electronic device. The embodiments of the present application do not limit the form of the user's operation of searching for text messages.

[0035] In an embodiment of the present application, in response to the user's operation of searching for text messages, a user tag corresponding to the user can be obtained, wherein the user tag can represent the user's behavioral habits, preferences, etc. Optionally, the user tag can be an attribute tag of the user, such as the user's gender, occupation, place of residence, etc., or it can be a behavioral tag of the user, such as the user's search keyword tag, music interest tag, web browsing tag, article reading tag, etc.; in response to the user's operation of searching for text messages, text message keywords corresponding to each text message can also be obtained, and the text message keywords can be used to identify different text messages. Optionally, the text message keywords can be related to the text sender, the text sending device, the text sending time, the text content, etc., such as the text sender is a mother, a classmate, a customer, etc., or the text sending device is a mobile phone, a tablet computer with text sending and receiving functions, etc., the text sending time is a weekday, a holiday, etc., and the text content is the body text content of the text message, the recognition text content of the picture, etc.

[0036] In an embodiment of the present application, a text message may correspond to at least one text message keyword. Optionally, the text message keywords corresponding to the text messages stored in the electronic device may be directly obtained, or the text messages stored in the electronic device may be filtered and some text messages, such as duplicate text messages and junk text messages, may be removed to obtain the text message keywords corresponding to each text message. The embodiment of the present application does not impose any specific restrictions on this.

[0037] Step 102: Determine the SMS features corresponding to each SMS according to the user tag and the SMS keyword.

[0038] In the embodiment of the present application, the SMS feature can be determined based on the user tag and the SMS keyword, and can represent the user's behavior habits, preferences, etc. and the corresponding relationship with the SMS. Optionally, the SMS feature corresponding to the SMS can be determined by the "and" relationship between the user tag and the SMS keyword. For example, when the user tag includes reading article A within a preset time period, and article A and the SMS keyword "haircut" appear at the same time, the SMS feature corresponding to the SMS is determined to be "haircut-article A"; or, the user tag can be vectorized, the SMS keyword can be vectorized, and then the SMS feature corresponding to the SMS can be determined by summing, dot product, multiplication, etc. between vectors. The embodiment of the present application does not limit the method of determining the SMS feature corresponding to the SMS based on the user tag and the SMS keyword. In addition, the article A and the SMS keyword "haircut" appear at the same time, which can be the keyword text of "haircut" appearing in article A, or it can be the content related to "haircut" included in article A, such as hair style evaluation, hair style recommendation, hair style tutorial, etc. included in article A.

[0039] Step 103: Determine the estimated selection rate corresponding to each of the text messages according to the text message characteristics.

[0040] In the embodiment of the present application, since the SMS features are obtained based on user tags and SMS keywords, they can represent the user's behavioral habits, preferences, and the correlation between the corresponding SMS. Therefore, the estimated selection rate corresponding to each SMS can be predicted based on the SMS features corresponding to the SMS, that is, the probability of the user selecting the SMS in the operation of searching for SMS can be estimated, wherein the user selecting the SMS can be the user clicking on the SMS in the display interface, or the user inputting the voice of "open XX SMS". Optionally, the SMS features corresponding to different SMS and the user's historical selection behavior data for SMS features corresponding to the SMS can be pre-determined, so as to train a preset model, and the preset model can be used to determine the estimated selection rate corresponding to each SMS based on the SMS features corresponding to each SMS determined in response to the user's operation of searching for SMS. Those skilled in the art can also determine the estimated selection rate based on the SMS features in other ways, and the embodiment of the present application does not impose specific restrictions on this.

[0041] Step 104: Determine a list of recommended text messages according to the estimated selection rate.

[0042] In an embodiment of the present application, a recommended SMS list can be determined based on the estimated selection rates corresponding to the SMS. Optionally, the SMS can be sorted from high to low or from low to high according to the estimated selection rates to determine the recommended SMS list. Alternatively, the SMS can be screened based on the relationship between the estimated selection rates and the preset selection rates, such as determining a recommended SMS list based on SMS whose estimated selection rates are greater than or equal to the preset selection rates. The embodiment of the present application does not specifically limit the method of determining the recommended SMS list based on the estimated selection rates.

[0043] In the embodiment of the present application, an interface for implementing the SMS recommendation list determination function in steps 102 to 104 can be set in the electronic device. In response to the user's operation of searching for SMS, the interface can be called to determine the SMS features corresponding to each SMS, and determine the estimated selection rate corresponding to the SMS based on the SMS features, and then determine the SMS recommendation list based on the estimated selection rate corresponding to the SMS. Optionally, the interface can implement the function of determining the SMS recommendation list through the server, or implement the SMS recommendation list recommendation function through the functional module in the electronic device. The embodiment of the present application does not limit the carrier for implementing the process of steps 102 to 104.

[0044] Step 105: Display the SMS recommendation list in a preset display mode.

[0045] In an embodiment of the present application, the preset display mode can be to preset the display content of the SMS recommendation list, such as the SMS sender, SMS sending time, SMS sending device, SMS sending location, SMS content summary, etc. of the SMS can be displayed in the SMS recommendation list; it can also be to preset the table style, size, position, etc. of the SMS recommendation list, such as the SMS recommendation list is displayed floating on the interface or embedded in the interface, the SMS recommendation list can fill the display area of ​​the entire interface, or it can occupy part of the display area of ​​the interface, the SMS recommendation list can be displayed in pages, each page displays a preset number of SMS messages, different pages can be switched by clicking the page, or by sliding the page, etc. The embodiment of the present application does not specifically limit the preset display mode.

[0046] In an embodiment of the present application, in response to a user's operation of searching for text messages, the user tag and the text message keywords corresponding to each text message can be obtained, and then the text message features corresponding to the text message are obtained based on the user tag and the text message keywords, and then the estimated selection rate of the text message is determined based on the text message features, and then a text message recommendation list is determined based on the estimated selection rate of the text message, and the text message recommendation list is displayed according to a preset display method, so that when the user needs to obtain text messages, the text messages that the user may select can be estimated and recommended to the user, thereby avoiding the problem of low text message search efficiency caused by the user searching for text messages one by one in chronological order, or inaccurate keyword search.

[0047] Figure 2 is a flowchart of another method for processing short messages provided in an embodiment of the present application. Figure 2 As shown, the method may include:

[0048] Step 201: In response to a user's operation of searching for text messages, a user tag corresponding to the user and text message keywords corresponding to each text message are obtained.

[0049] In the embodiment of the present application, the content of step 201 may correspond to the relevant description of step 101, and will not be repeated here to avoid repetition.

[0050] Optionally, in step 201, determining the SMS feature corresponding to each SMS according to the user tag and the SMS keyword respectively includes:

[0051] Step S11: Acquire the user tag corresponding to the user according to the historical behavior data of the user.

[0052] In an embodiment of the present application, historical behavior data may include behavior data generated by a user operating an electronic device that stores text messages, or other electronic devices associated with the electronic device, within a preset time period, such as search terms used by the user through the electronic device within a preset time period, songs played, web pages browsed, articles read, etc. Optionally, the user's historical behavior data can be obtained from the internal storage of the electronic device, or from a server associated with the electronic device. In this case, the historical behavior data can be stored in media such as Redis (RemoteDictionary Server) and Elasticsearch (distributed search engine). The embodiment of the present application does not specifically limit the method of storing the user's historical behavior data.

[0053] In the embodiment of the present application, the user's behavior habits, preferences, etc. can be determined through the user's historical behavior data, so as to obtain the user tag corresponding to the user. Optionally, the search words that the user has used for a preset number of times within a preset time period can be used as user tags, and the songs whose cumulative playback time reaches the preset playback time and / or the cumulative playback times reach the preset playback times can be used as user tags. The web pages whose cumulative browsing time reaches the preset browsing time and / or the cumulative browsing times reach the preset browsing times can also be used as user tags, and the articles whose cumulative reading time reaches the preset reading time and / or the cumulative reading times reach the preset reading times can also be used as user tags; or, the user's interest tags can also be determined according to the categories of search words used in the user's historical behavior data, the singers, albums, and music styles corresponding to the played songs, the types of web pages browsed such as news, technology, and beautiful pictures, and the platforms, journals, and book titles corresponding to the read articles, so as to obtain the user tag of the user according to the interest tags; or, the search words used in the user's historical behavior data, the songs played, the web pages browsed, the articles read, etc. can all be used as user tags, and the embodiment of the present application does not make specific limitations on this.

[0054] Step S12: acquiring the SMS keywords corresponding to each SMS according to the SMS text of each SMS.

[0055] In an embodiment of the present application, SMS text may include SMS sender information text, SMS sending device information text, SMS sending time information text, SMS content text, etc. Optionally, the keywords with the highest frequency of occurrence in all SMS texts of each SMS can be extracted separately as the SMS keywords corresponding to the SMS. SMS keywords can also be extracted according to preset weights of different SMS texts. For example, the preset weights in the SMS text correspond to the SMS content text, SMS sender information text, SMS sending time information text and SMS sending device text from large to small. At this time, the keywords with the highest frequency of occurrence in the SMS content text and the SMS sender information text with larger weights can be extracted as the SMS keywords corresponding to the SMS.

[0056] Optionally, the step S12 includes:

[0057] Step S121: extract candidate SMS keywords from the SMS text corresponding to each SMS message.

[0058] Step S122: Obtain a first frequency of the candidate SMS keyword in the SMS text corresponding to each SMS message.

[0059] Step S123: Obtain the second frequency of the candidate SMS keyword in all the SMS texts.

[0060] Step S124: Determine the SMS keyword corresponding to each SMS from the candidate SMS keywords according to the first frequency and the second frequency.

[0061] In the embodiment of the present application, TF-IDF (Term Frequency-Inverse Document Frequency) can be used to extract SMS keywords from SMS, where TF-IDF is a statistical method used to evaluate the importance of keywords to one of the documents in a corpus. The importance of a word increases in direct proportion to the number of times it appears in the document, but at the same time decreases in inverse proportion to the frequency of its appearance in the corpus. Optionally, in the embodiment of the present application, candidate SMS keywords in the SMS text can be obtained first, where the candidate SMS keywords can include all the segmented words in the SMS text after segmentation, and can also include the segmented words after filtering the modal particles, auxiliary words, punctuation marks, emoticons, etc. in the segmented words.

[0062] In an embodiment of the present application, a first frequency corresponding to a candidate SMS keyword in a SMS message can be obtained, and the first frequency can be the number of times the candidate SMS keyword appears in a SMS message; a second frequency corresponding to the candidate SMS keyword in the SMS text of all SMS messages can also be obtained, wherein the second frequency can be the number of SMS messages in which the candidate SMS keyword appears, or the number of times the candidate SMS keyword appears in the SMS text of all SMS messages. Optionally, all SMS messages can be all SMS messages stored in the electronic device, or can be all SMS messages stored in the electronic device after being screened.

[0063] In the embodiment of the present application, the first weight corresponding to the candidate SMS keyword can be determined according to the first frequency of the candidate SMS keyword, wherein the first frequency is positively correlated with the first weight; the second weight of the candidate SMS keyword can be determined according to the second frequency of the candidate SMS keyword, wherein the second frequency is negatively correlated with the second weight, and the third weight of the candidate SMS keyword relative to the SMS can be determined by the first weight and the second weight, and optionally, the candidate SMS keyword with a third weight greater than or equal to the preset weight can be used as the keyword corresponding to the SMS. Wherein, determining the third weight by the first weight and the second weight can be to add the first weight and the second weight, or to multiply the first weight and the second weight, and the embodiment of the present application does not impose specific restrictions on this.

[0064] Step 202: construct cross features corresponding to each of the text messages according to the user tag and the text message keywords corresponding to each of the text messages.

[0065] In an embodiment of the present application, user tags can be converted into a preset feature form, such as converting user tags into a feature vector of sparse representation, such as the sparse representation includes article a with serial number 1, article b with serial number 2, article c with serial number 3, article d with serial number 4, and interest tag "Star A" with serial number 100000, a total of five-dimensional features, and the user tag includes article a, article b, article d and interest tag "Star A", then the user tag can be represented as "1:1, 2:1, 3:0, 4:1, 100000:1", where each dimension of feature can be separated by a comma, and in each dimension of feature, the left side of the colon is the feature serial number, and the right side of the colon is the feature value. Optionally, when the feature value is 1, it means that the user tag includes the feature, and when the feature value is 0, it means that the user tag does not include the feature, thereby obtaining a feature vector of sparse representation. In an embodiment of the present application, there is no restriction on the source, type and number of features included in the sparse representation, which can be a predetermined search term, song, web page, article, etc.

[0066] In the embodiment of the present application, the SMS keywords can also be converted into a preset feature form. The process of converting the SMS keywords can correspond to the conversion process of the above-mentioned user tags. To avoid repetition, it will not be repeated here.

[0067] In the embodiment of the present application, the cross-features corresponding to each text message can be constructed respectively according to the user tags and text message keywords in the preset feature form. The cross-features are features obtained by the feature synthesis method of feature cross-feature, and nonlinear fitting can be performed on the multi-feature data set. Optionally, the cross-features of the user tags and the text message keywords can be obtained by calculating the direct product, inner product and outer product of the user tags and the text message keywords.

[0068] Step 203: Perform an affine transformation on at least one of the user tag, the SMS keyword and the cross feature to obtain an affine transformation feature corresponding to each of the SMS messages, wherein the SMS keyword and the cross feature correspond to the same SMS message respectively.

[0069] In the embodiment of the present application, affine transformation refers to performing a linear transformation in a vector space followed by a translation, thereby transforming into another vector space. Optionally, affine transformation can be performed using the following formula (1):

[0070] y=wx··························(1)

[0071] In formula (1), x is at least one of a user tag, a text message keyword, and a cross feature in a preset feature form, wherein the text message keyword and the cross feature correspond to the same text message, w is the first parameter matrix, y is the affine transformation feature, and affine transformation is performed on x by taking the dot product of w and x to obtain y.

[0072] For example, through matrix representation, x is a cross feature of size 100,000*1, w is a first parameter matrix of size 128*100,000, and y is an affine transformation feature of size 128*1. Optionally, different y can be named group1, group2, etc. There are N cross features, and N affine transformation features can be obtained, wherein the dimensions of the affine transformation features are consistent. Here, for the convenience of description, the dimension of the affine transformation feature can be defined as 128 dimensions, and those skilled in the art can define other dimensions.

[0073] Step 204: focus the SMS keywords corresponding to each SMS message respectively by using a preset focusing algorithm to obtain a focusing vector corresponding to each SMS message.

[0074] In the embodiment of the present application, a preset focusing algorithm can be used to focus on the SMS keywords in a preset feature form to obtain a focusing vector corresponding to each SMS message. Optionally, the preset focusing algorithm includes the following formulas (2) and (3):

[0075] z=max(0.2·w0x,w0x)····················(2)

[0076]

[0077] In formula (2), x is the SMS keyword in the preset feature form, w0 is the second parameter matrix, and z is the vector whose dimension corresponds to the dimension of the second parameter matrix; in formula (3), focus is the focus vector whose dimension corresponds to the number of affine transformation features, and focus i is the value of the i-th dimension, w 1i is the i-th third parameter matrix among the N third parameter matrices.

[0078] For example, through matrix representation, x is a text message keyword vector of size 100,000*1, w0 is a second parameter matrix of size 8*100,000, and z is an 8-dimensional vector; w 1i is the third parameter matrix of the i-th size of N*8, thereby obtaining the N-dimensional focus. Among them, 8 can be set to other values.

[0079] Step 205: weighting the affine transformation feature by using the focus vector to obtain a text message feature corresponding to each of the text messages, wherein the focus vector and the affine transformation feature correspond to the same text message.

[0080] In the embodiment of the present application, after obtaining the focus vector and the affine transformation feature, the affine transformation feature can be weighted by the focus vector, wherein the focus vector is obtained by the SMS keyword. In the process of weighting the affine transformation feature, the proportion of the affine transformation feature related to the SMS keyword in the SMS feature can be increased, thereby improving the accuracy of the selection rate estimation based on the SMS feature. Optionally, the weighted processing can be multiplying the focus vector and the affine transformation feature of the same SMS to obtain the SMS feature corresponding to the SMS, such as weighting the affine transformation feature by the following formula (4):

[0081]

[0082] In formula (4), vf is a vector obtained after weighted processing, which can be used as the SMS feature corresponding to the SMS. i Refers to the i-th dimension of the focus vector, group i Refers to the i-th dimension of the affine transformation feature. Each group is transformed by formula (4) i Multiply by the corresponding focus i Weighted processing is performed to obtain the SMS features corresponding to the SMS.

[0083] Step 206: According to the SMS features, the estimated selection rate corresponding to each SMS is determined by a pre-trained SMS prediction model.

[0084] In the embodiment of the present application, the SMS prediction model can be a neural network model, which is an algorithmic mathematical model that imitates the behavioral characteristics of animal neural networks and performs distributed parallel information processing. Optionally, the pre-training of the SMS prediction model can be based on the SMS features of different SMS messages obtained in advance, so as to determine the corresponding training samples and train the SMS prediction model, wherein the training samples may include (click|"Traffic Fine_Traffic Police"...), (do not click|"Traffic Fine_Traffic Police"...), (click|"Traffic Fine_Traffic Police"...), (do not click|"Traffic Fine_Video Member"...), (do not click|"Traffic Fine_Video Member"...), five items, wherein "click" and "do not click" on the left side of "|" refer to the user's click behavior data on the SMS in the scenario where the SMS corresponding to the SMS feature on the right side of "|" is exposed, and the right side is the SMS feature. The SMS prediction model is pre-trained according to the training samples, so that the probability of the SMS corresponding to the SMS feature being selected can be predicted. In the embodiment of the present application, the number of training samples can reach hundreds of millions or billions, and the model learning is more sufficient through a sufficient number of samples.

[0085] Step 207: Determine a SMS recommendation list according to the estimated selection rate.

[0086] In the embodiment of the present application, step 207 may correspond to the relevant description of step 104, and will not be described again here to avoid repetition.

[0087] Step 208: Determine a target display area in the display interface according to the operation frequency of the display interface.

[0088] In an embodiment of the present application, the operation frequency of each display area in the display interface can be counted, wherein the operation frequency refers to the frequency of operations performed by the user on each area of ​​the display interface on the electronic device when the user uses the electronic device. Optionally, the display interface can be divided into more than two display areas, and the operation frequencies of the users on different display areas can be counted. Optionally, a display area with an operation frequency greater than or equal to a preset operation frequency can be determined as a target display area. Alternatively, the operation frequency distribution of different coordinates on the display interface can be directly counted, and an area with an operation frequency greater than or equal to the preset operation frequency and densely distributed can be determined as a target display area. The embodiment of the present application does not impose any restrictions on this.

[0089] Step 209: Display the SMS recommendation list in the target display area.

[0090] In the embodiment of the present application, the SMS recommendation list can be displayed in the target display area. Since the target display area is a display area with an operation frequency greater than or equal to a preset operation frequency, it means that the user has a high operation frequency in the target display area. Therefore, displaying the SMS recommendation list in the target display area can be in line with the user's habit of performing selection operations and improve the efficiency of SMS search. Optionally, the order of SMS in the SMS recommendation list can also be adjusted according to the distribution of operation frequencies in the target display area. SMS with a relatively high estimated selection rate can be displayed at a position with a relatively high operation frequency, and SMS with a relatively low estimated selection rate can be displayed at a position with a relatively low operation frequency. The SMS in the SMS recommendation list is displayed by the operation frequency, so that the SMS that the user may select is further displayed at a position with a high operation frequency, thereby improving the efficiency of the user in selecting SMS.

[0091] Step 210: When a selection operation on the SMS recommendation list is received, the selected SMS in the SMS recommendation list is marked as a positive sample, and the unselected SMS is marked as a negative sample.

[0092] Step 211: When no selection operation on the SMS recommendation list is received, mark the SMS in the SMS recommendation list as negative samples.

[0093] Step 212: Update the SMS prediction model according to the positive sample or the negative sample.

[0094] In the embodiment of the present application, positive samples or negative samples can also be determined according to the user's selection operation on the SMS recommendation list, and the SMS prediction model can be updated according to the positive samples or negative samples, so as to ensure the accuracy of the estimated accuracy rate corresponding to the SMS in the subsequent determination of the SMS prediction model according to the SMS features. Optionally, all selected SMS in the SMS recommendation list can be marked as positive samples, and all unselected SMS can be marked as negative samples; or, in order to avoid the user selecting a SMS and determining in the SMS display interface that the SMS is not the target SMS the user is looking for, the SMS in the SMS recommendation list that is selected and enters the SMS display interface and is displayed on the SMS display interface for a time period exceeding the preset display time can be marked as a positive sample, or, because the user selects a SMS, the SMS display interface determines that the SMS is the target SMS the user is looking for and usually exits the SMS search, therefore, the last SMS selected by the user before exiting the SMS search operation can be marked as a positive sample, and the other SMS in the SMS recommendation list can be marked as negative samples, and the embodiment of the present application does not make specific restrictions on this. In addition, in the case where the selection operation on the SMS recommendation list is not received, all SMS in the SMS recommendation list can be marked as negative samples.

[0095] In an embodiment of the present application, in response to a user's operation of searching for text messages, the user tag and the text message keywords corresponding to each text message can be obtained, and then the text message features corresponding to each text message are obtained based on the user tag and the text message keywords, and then the estimated selection rate of each text message is determined based on the text message features, and then a text message recommendation list is determined based on the estimated selection rate of the text message, and the text message recommendation list is displayed according to a preset display method, so that when the user needs to obtain text messages, the text messages that the user may select can be estimated and recommended to the user, thereby avoiding the problem of low text message search efficiency caused by the user searching for text messages one by one in chronological order, or inaccurate keyword search.

[0096] It should be noted that the execution subject of the SMS processing method provided in the embodiment of the present application may be a SMS processing device, or a control module in the SMS processing device for executing the SMS processing method. In the embodiment of the present application, the SMS processing device provided in the embodiment of the present application is illustrated by taking the execution of the SMS processing method by the SMS processing device as an example.

[0097] Figure 3 is a structural block diagram of a short message processing device provided in an embodiment of the present application, such as Figure 3 As shown, the device may include:

[0098] The data acquisition module 301 is used to obtain a user tag corresponding to the user and a text message keyword corresponding to each text message in response to a user's operation of searching for text messages;

[0099] A feature determination module 302, configured to determine a message feature corresponding to each message according to the user tag and the message keyword;

[0100] A selection rate determination module 303, used to determine the estimated selection rate corresponding to each of the text messages according to the text message characteristics;

[0101] A list generation module 304, configured to determine a short message recommendation list according to the estimated selection rate;

[0102] The list display module 305 is used to display the short message recommendation list in a preset display mode.

[0103] In an embodiment of the present application, in response to a user's operation of searching for text messages, the user tag and the text message keywords corresponding to each text message can be obtained, and then the text message features corresponding to each text message are obtained based on the user tag and the text message keywords, and then the estimated selection rate of each text message is determined based on the text message features, and then a text message recommendation list is determined based on the estimated selection rate of the text message, and the text message recommendation list is displayed according to a preset display method, so that when the user needs to obtain text messages, the text messages that the user may select can be estimated and recommended to the user, thereby avoiding the problem of low text message search efficiency caused by the user searching for text messages one by one in chronological order, or inaccurate keyword search.

[0104] Figure 4 is a structural block diagram of another short message processing device provided in an embodiment of the present application, such as Figure 4 As shown, in Figure 3 On the basis of, optionally, the feature determination module 302 includes:

[0105] A feature cross submodule 3021 is used to construct a cross feature corresponding to each of the text messages according to the user tag and the text message keyword corresponding to each of the text messages;

[0106] A feature affine submodule 3022 is used to perform an affine transformation on at least one of the user tag, the SMS keyword and the cross feature to obtain an affine transformation feature corresponding to each of the SMS messages, wherein the SMS keyword and the cross feature respectively correspond to the same SMS message;

[0107] The feature focusing submodule 3023 is used to focus on the SMS keywords corresponding to each SMS by using a preset focusing algorithm to obtain a focusing vector corresponding to each SMS;

[0108] The feature weighting submodule 3024 is used to perform weighted processing on the affine transformation feature through the focus vector to obtain the SMS feature corresponding to each SMS, and the focus vector and the affine transformation feature correspond to the same SMS respectively.

[0109] Optionally, the data acquisition module 301 includes:

[0110] A user tag acquisition submodule 3011 is used to acquire the user tag corresponding to the user according to the historical behavior data of the user;

[0111] The SMS keyword acquisition submodule 3012 is used to acquire the SMS keyword corresponding to each SMS according to the SMS text of each SMS.

[0112] Optionally, the SMS keyword acquisition submodule 3012 includes:

[0113] A candidate keyword extraction unit, used to extract candidate SMS keywords from the SMS text corresponding to each SMS;

[0114] A first frequency acquisition unit, used to acquire a first frequency of the candidate SMS keyword in the SMS text corresponding to each SMS;

[0115] A second frequency acquisition unit, used to acquire a second frequency of the candidate SMS keyword in all the SMS texts;

[0116] The SMS keyword determining unit is used to determine the SMS keyword corresponding to each of the SMS from the candidate SMS keywords according to the first frequency and the second frequency.

[0117] Optionally, the list display module 305 includes:

[0118] A target area determination submodule 3051 is used to determine a target display area in the display interface according to the operation frequency of the display interface;

[0119] The list display submodule 3052 is used to display the short message recommendation list in the target display area.

[0120] Optionally, the selection rate determination module 303 is specifically used to determine the estimated selection rate corresponding to each of the text messages according to the text message features through a pre-trained text message prediction model.

[0121] Optionally, the device further comprises:

[0122] A sample marking module 306 is used for marking the selected SMS in the SMS recommendation list as a positive sample and marking the unselected SMS in the SMS recommendation list as a negative sample when receiving a selection operation on the SMS recommendation list;

[0123] The sample marking module 306 is further configured to mark the SMS in the SMS recommendation list as negative samples when no selection operation on the SMS recommendation list is received;

[0124] The model updating module 307 is used to update the SMS prediction model according to the positive sample or the negative sample.

[0125] In an embodiment of the present application, in response to a user's operation of searching for text messages, the user tag and the text message keywords corresponding to each text message can be obtained, and then the text message features corresponding to each text message are obtained based on the user tag and the text message keywords, and then the estimated selection rate of each text message is determined based on the text message features, and then a text message recommendation list is determined based on the estimated selection rate of the text message, and the text message recommendation list is displayed according to a preset display method, so that when the user needs to obtain text messages, the text messages that the user may select can be estimated and recommended to the user, thereby avoiding the problem of low text message search efficiency caused by the user searching for text messages one by one in chronological order, or inaccurate keyword search.

[0126] The SMS processing device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0127] The short message processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0128] The SMS processing device provided in the embodiment of the present application can realize Figure 1 to Figure 2 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0129] Optional, such as Figure 5 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501, a memory 502, and a program or instruction stored in the memory 502 and executable on the processor 501. When the program or instruction is executed by the processor 501, each process of the above-mentioned SMS processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0130] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0131] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0132] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.

[0133] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0134] Among them, the processor 610 is used to respond to the user's operation of searching for text messages, obtain the user tag corresponding to the user and the text message keywords corresponding to each text message; determine the text message features corresponding to each of the text messages according to the user tag and the text message keywords; determine the estimated selection rate corresponding to each of the text messages according to the text message features; and determine a text message recommendation list according to the estimated selection rate.

[0135] The display unit 606 is used to display the short message recommendation list in a preset display mode.

[0136] In an embodiment of the present application, in response to a user's operation of searching for text messages, the user tag and the text message keywords corresponding to each text message can be obtained, and then the text message features corresponding to each text message are obtained based on the user tag and the text message keywords, and then the estimated selection rate of each text message is determined based on the text message features, and then a text message recommendation list is determined based on the estimated selection rate of the text message, and the text message recommendation list is displayed according to a preset display method, so that when the user needs to obtain text messages, the text messages that the user may select can be estimated and recommended to the user, thereby avoiding the problem of low text message search efficiency caused by the user searching for text messages one by one in chronological order, or inaccurate keyword search.

[0137] Optionally, the processor 610 is used to construct cross-features corresponding to each of the text messages based on the user tag and the text message keywords corresponding to each of the text messages; perform affine transformation on at least one of the user tag, the text message keywords and the cross-features to obtain affine transformation features corresponding to each of the text messages, and the text message keywords and the cross-features correspond to the same text message; focus on the text message keywords corresponding to each of the text messages through a preset focusing algorithm to obtain a focusing vector corresponding to each of the text messages; perform weighted processing on the affine transformation features through the focusing vector to obtain text message features corresponding to each of the text messages, and the focusing vector and the affine transformation features correspond to the same text message.

[0138] Optionally, the processor 610 is used to obtain the user tag corresponding to the user according to the historical behavior data of the user; and obtain the SMS keywords corresponding to each SMS according to the SMS text of each SMS.

[0139] Optionally, the processor 610 is used to extract candidate SMS keywords from the SMS text corresponding to each SMS message; obtain a first frequency of the candidate SMS keywords in the SMS text corresponding to each SMS message; obtain a second frequency of the candidate SMS keywords in all the SMS texts; and determine, based on the first frequency and the second frequency, the SMS keywords corresponding to each SMS message from the candidate SMS keywords.

[0140] Optionally, the display unit 606 is used to determine a target display area in the display interface according to the operation frequency of the display interface; and display the SMS recommendation list in the target display area.

[0141] Optionally, the processor 610 is specifically configured to determine, according to the features of the text messages, an estimated selection rate corresponding to each of the text messages using a pre-trained text message prediction model.

[0142] Optionally, the processor 610 is further used to, when receiving a selection operation on the SMS recommendation list, mark the selected SMS in the SMS recommendation list as positive samples and the unselected SMS as negative samples; when not receiving a selection operation on the SMS recommendation list, mark the SMS in the SMS recommendation list as negative samples; and update the SMS prediction model based on the positive samples or the negative samples.

[0143] In an embodiment of the present application, in response to a user's operation of searching for text messages, the user tag and the text message keywords corresponding to each text message can be obtained, and then the text message features corresponding to each text message are obtained based on the user tag and the text message keywords, and then the estimated selection rate of each text message is determined based on the text message features, and then a text message recommendation list is determined based on the estimated selection rate of the text message, and the text message recommendation list is displayed according to a preset display method, so that when the user needs to obtain text messages, the text messages that the user may select can be estimated and recommended to the user, thereby avoiding the problem of low text message search efficiency caused by the user searching for text messages one by one in chronological order, or inaccurate keyword search.

[0144] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 609 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 610 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 610.

[0145] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned SMS processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0146] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0147] The present application also provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the above xxx The various processes of the method embodiments can achieve the same technical effect, and will not be described again here to avoid repetition.

[0148] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0149] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0150] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0151] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for processing short messages, characterized in that: The method comprises: In response to a user's operation of searching for short messages, obtaining a user tag corresponding to the user and short message keywords corresponding to each short message; Determine the SMS feature corresponding to each SMS according to the user tag and the SMS keyword; Determine the estimated selection rate corresponding to each of the text messages according to the text message characteristics; Determining a list of recommended text messages according to the estimated selection rate; Display the recommended text message list in a preset display mode; The determining the SMS feature corresponding to each SMS according to the user tag and the SMS keyword includes: Constructing cross features corresponding to each of the text messages according to the user tag and the text message keywords corresponding to each of the text messages; Performing an affine transformation on at least one of the user tag, the SMS keyword and the cross feature to obtain an affine transformation feature corresponding to each of the SMS messages, wherein the SMS keyword and the cross feature respectively correspond to the same SMS message; Focusing the SMS keywords corresponding to each SMS respectively by a preset focusing algorithm to obtain a focusing vector corresponding to each SMS; The affine transformation feature is weightedly processed by the focus vector to obtain the SMS feature corresponding to each SMS, and the focus vector and the affine transformation feature correspond to the same SMS respectively.

2. The method according to claim 1, characterized in that The obtaining of the user tag corresponding to the user and the SMS keywords corresponding to each SMS message includes: Acquire the user tag corresponding to the user according to the historical behavior data of the user; According to the text of each of the text messages, the text message keywords corresponding to each of the text messages are obtained.

3. The method according to claim 2, characterized in that The acquiring the SMS keywords corresponding to each SMS according to the SMS text of each SMS includes: Extracting candidate SMS keywords from the SMS text corresponding to each SMS; Obtaining a first frequency of the candidate SMS keyword in the SMS text corresponding to each SMS; Obtaining a second frequency of the candidate SMS keyword in all the SMS texts; The SMS keyword corresponding to each of the SMS messages is determined from the candidate SMS keywords according to the first frequency and the second frequency.

4. The method according to claim 1, characterized in that: The displaying of the recommended short message list in a preset display mode includes: Determining a target display area in the display interface according to a frequency of operation on the display interface; The short message recommendation list is displayed in the target display area.

5. The method according to claim 1, characterized in that The step of determining the estimated selection rate corresponding to each of the text messages according to the text message characteristics includes: According to the features of the text messages, the estimated selection rate corresponding to each of the text messages is determined respectively through a pre-trained text message prediction model.

6. The method according to claim 5, characterized in that After displaying the short message recommendation list in a preset display mode, the method further includes: When a selection operation on the recommended text message list is received, the selected text messages in the recommended text message list are marked as positive samples, and the unselected text messages are marked as negative samples; In the case where no selection operation on the SMS recommendation list is received, marking the SMS in the SMS recommendation list as negative samples; The SMS prediction model is updated according to the positive sample or the negative sample.

7. A short message processing device, characterized in that: The device comprises: A data acquisition module, configured to obtain a user tag corresponding to the user and a text message keyword corresponding to each text message in response to a user's operation of searching for text messages; A feature determination module, used to determine the SMS feature corresponding to each SMS according to the user tag and the SMS keyword; A selection rate determination module, used to determine the estimated selection rate corresponding to each of the text messages according to the characteristics of the text messages; A list generation module, used to determine a short message recommendation list according to the estimated selection rate; A list display module, used to display the short message recommendation list in a preset display mode; The feature determination module comprises: A feature cross submodule, used to construct a cross feature corresponding to each of the text messages according to the user tag and the text message keywords corresponding to each of the text messages; A feature affine submodule, used for performing affine transformation on at least one of the user tag, the SMS keyword and the cross feature to obtain an affine transformation feature corresponding to each of the SMS, wherein the SMS keyword and the cross feature respectively correspond to the same SMS; A feature focusing submodule, used to focus on the SMS keywords corresponding to each SMS by using a preset focusing algorithm, and obtain a focusing vector corresponding to each SMS; The feature weighting submodule is used to perform weighted processing on the affine transformation feature through the focus vector to obtain the SMS feature corresponding to each SMS, and the focus vector and the affine transformation feature correspond to the same SMS respectively.

8. The device according to claim 7, characterized in that The data acquisition module comprises: A user tag acquisition submodule, used to acquire the user tag corresponding to the user according to the historical behavior data of the user; The SMS keyword acquisition submodule is used to acquire the SMS keyword corresponding to each SMS according to the SMS text of each SMS.

9. The device according to claim 8, characterized in that The SMS keyword acquisition submodule includes: A candidate keyword extraction unit, used to extract candidate SMS keywords from the SMS text corresponding to each SMS; A first frequency acquisition unit, used to acquire a first frequency of the candidate SMS keyword in the SMS text corresponding to each SMS; A second frequency acquisition unit, used to acquire a second frequency of the candidate SMS keyword in all the SMS texts; The SMS keyword determining unit is used to determine the SMS keyword corresponding to each of the SMS from the candidate SMS keywords according to the first frequency and the second frequency.

10. The device according to claim 7, characterized in that The list display module includes: A target area determination submodule, used to determine a target display area in the display interface according to the operation frequency of the display interface; The list display submodule is used to display the recommended short message list in the target display area.

11. The device according to claim 7, characterized in that The selection rate determination module is specifically used to determine the estimated selection rate corresponding to each of the text messages according to the text message features through a pre-trained text message prediction model.

12. The device according to claim 11, characterized in that The device also includes: A sample marking module, for marking the selected SMS in the SMS recommendation list as positive samples and the unselected SMS in the SMS recommendation list as negative samples when receiving a selection operation on the SMS recommendation list; The sample labeling module is further configured to label the SMS in the SMS recommendation list as negative samples when no selection operation on the SMS recommendation list is received; The model updating module is used to update the SMS prediction model according to the positive sample or the negative sample.

13. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the SMS processing method as described in any one of claims 1 to 6.

14. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the text message processing method according to any one of claims 1 to 6 are implemented.