TWI597964B - Message storing method and device, and communication terminal - Google Patents
Message storing method and device, and communication terminal Download PDFInfo
- Publication number
- TWI597964B TWI597964B TW103132162A TW103132162A TWI597964B TW I597964 B TWI597964 B TW I597964B TW 103132162 A TW103132162 A TW 103132162A TW 103132162 A TW103132162 A TW 103132162A TW I597964 B TWI597964 B TW I597964B
- Authority
- TW
- Taiwan
- Prior art keywords
- message
- specific
- communication
- description
- voice
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/107—Computer-aided management of electronic mailing [e-mailing]
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Entrepreneurship & Innovation (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- Computer Hardware Design (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Data Mining & Analysis (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Description
本發明係關於通訊技術領域,特別有關一種訊息儲存方法、裝置及通訊終端。 The present invention relates to the field of communication technologies, and in particular, to a message storage method, apparatus, and communication terminal.
文本訊息是人們日常通訊中最常使用的訊息載體之一,其通常包括諸如電話號碼、郵件地址和網頁連結等訊息,為了方便後續使用這些訊息,用戶需要終端對這些訊息進行儲存。 Text messages are one of the most commonly used message carriers in daily communication. They usually include messages such as phone numbers, email addresses, and web links. To facilitate subsequent use of these messages, users need to store these messages.
常見的一種訊息儲存方法包括如下:第一、終端檢測文本訊息中的特定字串,將該特定字串按照‘下劃線+藍色字體’的方式與其他訊息進行區別顯示;第二、終端接收對該特定字串進行選取的選擇訊號,並在彈出的視窗中提供與該特定字串的類型相對應的操作,例如,當該特定字串為電話號碼時,與電話號碼對應的操作可為新建連絡人、撥打電話或發送簡訊等;以及第三、終端接收作用於新建連絡人的選項上的選擇訊號,並在跳轉至連絡人新建頁面後,根據該特定字串以及用戶輸入的姓名等訊息來創建連絡人訊息。 A common method for storing a message includes the following steps: First, the terminal detects a specific string in the text message, and displays the specific string differently from other messages according to an 'underscore + blue font'; second, the terminal receives the pair. The specific string performs the selected selection signal, and provides an operation corresponding to the type of the specific string in the pop-up window. For example, when the specific string is a phone number, the operation corresponding to the phone number may be newly created. Contact person, make a call or send a newsletter, etc.; and third, the terminal receives a selection signal on the option of the new contact, and after jumping to the new page of the contact, according to the specific string and the name entered by the user, etc. To create a contact message.
在訊息儲存的過程中,終端需要在接收到用戶的選擇訊號並且經過多次跳轉之後,才會進入到新建連絡人的介面,並且在接收到用戶輸入的姓名之類的訊息後,才能進行儲存,故存在儲存效率低的問題。 In the process of storing the message, the terminal needs to enter the interface of the newly created contact after receiving the user's selection signal and after multiple jumps, and can only store after receiving the message such as the name entered by the user. Therefore, there is a problem of low storage efficiency.
本發明提供一種訊息儲存方法、訊息儲存裝置及通訊終端,以解決習知技術中訊息儲存方法儲存效率低的問題。 The present invention provides a message storage method, a message storage device, and a communication terminal to solve the problem of low storage efficiency of the message storage method in the prior art.
本發明一方面提供一種訊息儲存方法,其包括步驟:識別通訊訊息中的特定訊息;接收指示保存該特定訊息的觸發訊號;當接收到該觸發訊號時,根據該通訊訊息產生該特定訊息的描述訊息;以及儲存該特定訊息和該描述訊息。 An aspect of the present invention provides a message storage method, including the steps of: identifying a specific message in a communication message; receiving a trigger signal indicating that the specific message is saved; and when receiving the trigger signal, generating a description of the specific message according to the communication message a message; and storing the particular message and the description message.
在一種可能的實現方式中,識別該通訊訊息中的特定訊息的步驟包括:若該通訊訊息中包括文本訊息,則透過預定的識別方式識別該文本訊息中的特定字串以及該特定字串的類型,將該特定字串作為該特定訊息,並將該特定字串的類型作為該特定訊息的類型;若該通訊訊息中包括圖片訊息,則將該圖片訊息作為該特定訊息,並將圖片作為該特定訊息的類型;若該通訊訊息中包括語音訊息,則將該語音訊息作為該特定訊息,並將語音作為該特定訊息的類型;以及若該通訊訊息中包括視訊訊息,則將該視訊訊息作為該特定訊息,並將視訊作為該特定訊息的類型。 In a possible implementation, the step of identifying a specific message in the communication message includes: if the message includes a text message, identifying a specific string in the text message and the specific string by using a predetermined identification manner Type, the specific string is used as the specific message, and the type of the specific string is used as the type of the specific message; if the communication message includes an image message, the image message is used as the specific message, and the image is used as the The type of the specific message; if the communication message includes a voice message, the voice message is used as the specific message, and the voice is used as the type of the specific message; and if the communication message includes a video message, the video message is included As the specific message, and video as the type of the specific message.
在一種可能的實現方式中,根據該通訊訊息產生該特定訊息的描述訊息的步驟包括: 若該特定訊息為該特定字串,則根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息以及該特定訊息的類型中的至少一種產生該特定字串的描述訊息; 若該特定訊息為該圖片訊息,則根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過光學字元識別對該圖片訊息辨識出的文字以及該特定訊息的類型中的至少一種產生該圖片訊息的描述訊息; 若該特定訊息為該語音訊息,則根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別對該語音訊息進行辨識而獲取的文字以及該特定訊息的類型中的至少一種產生該語音訊息的描述訊息;以及 若該特定訊息為該視訊訊息,則根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別及/或光學字元識別對該視訊訊息進行辨識而獲取的文字、透過該視訊訊息的連結而獲取的文字以及該特定訊息的類型中的至少一種產生該視訊訊息的描述訊息。 In a possible implementation, the step of generating a description message of the specific message according to the communication message includes: If the specific message is the specific string, the time corresponding to the communication of the communication message, the identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, and the type of the specific message At least one of the following generates a description message for the particular string; If the specific message is the picture message, the time corresponding to the time when the communication message is sent and received, the identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, and the optical character identification pair At least one of the text recognized by the picture message and the type of the specific message generates a description message of the picture message; If the specific message is the voice message, the voice message is sent according to the time corresponding to the time of sending and receiving the communication message, the identity of the communication terminal that sends the communication message, the content of the communication message, the context message of the communication message, and the voice recognition. At least one of the text obtained by the identification of the message and the type of the specific message generates a description message of the voice message; If the specific message is the video message, the time corresponding to the communication message, the identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, the voice recognition and/or The optical character identifies the text obtained by identifying the video message, the text obtained by the link of the video message, and at least one of the types of the specific message to generate a description message of the video message.
在一種可能的實現方式中,儲存該特定訊息和該描述訊息的步驟包括: 若該描述訊息中包括電話號碼、即時通訊號碼、郵件地址和住宅地址中的至少一者,則將該特定訊息及該描述訊息保存到通訊錄;若該描述訊息中包括網址,則將該特定訊息及該描述訊息保存到網址收藏夾、網址快速訪問、稍後閱讀、捷徑方式以及筆記中的至少一種;以及若該描述訊息中包括圖片、語音或視訊,則將該特定訊及該描述訊息保存到指定路徑下。 In a possible implementation, the step of storing the specific message and the description message includes: If the description message includes at least one of a phone number, an instant messaging number, an email address, and a residential address, saving the specific message and the description message to the address book; if the description message includes the URL, the specific The message and the description message are saved to at least one of a URL favorites, a URL quick access, a later reading, a shortcut method, and a note; and if the description message includes a picture, voice, or video, the specific message and the description message are Save to the specified path.
在一種可能的實現方式中,儲存該特定訊息和該描述訊息的步驟包括:若該描述訊息中包括電話號碼、即時通訊號碼和郵件地址中的至少一者,又包括網址、圖片、語音或視訊,則將該特定訊息及該描述訊息保存到通訊錄;以及若該描述訊息中包括網址,又包括圖片、語音或視訊,則將該特定訊息及該描述訊息保存到網址收藏夾、網址快速訪問、稍後閱讀、捷徑方式以及筆記中的至少一種。 In a possible implementation, the step of storing the specific message and the description message includes: if the description message includes at least one of a phone number, an instant messaging number, and a mail address, and includes a web address, a picture, a voice, or a video message. And saving the specific message and the description message to the address book; and if the description message includes a website address, including a picture, a voice or a video message, saving the specific message and the description message to a URL favorite, a URL quick access At least one of later reading, shortcuts, and notes.
在一種可能的實現方式中,在接收指示保存該特定訊息的觸發訊號的步驟之前,該方法還包括:在該特定訊息的預定位置處顯示指示保存該特定訊息的快捷按鈕,該預定位置包括在該特定訊息之前、之後、上方、下方、左上角、左下角、右上角以及右下角中的任一位置;其中接收指示保存該特定訊息的觸發訊號的步驟包括:接收作用於該快捷按鈕上的觸發訊號。 In a possible implementation manner, before receiving the step of indicating a trigger signal for saving the specific message, the method further includes: displaying, at a predetermined position of the specific message, a shortcut button indicating that the specific message is saved, where the predetermined location is included in Any one of the previous, the following, the upper, the lower, the upper left corner, the lower left corner, the upper right corner, and the lower right corner of the specific message; wherein the step of receiving the trigger signal indicating that the specific message is saved includes: receiving the action on the shortcut button Trigger signal.
本發明另一方面提供一種訊息儲存裝置,其包括:一訊息識別模組,用於識別通訊訊息中的特定訊息;一訊號接收模組,用於接收指示保存該訊息識別模組識別得到的該特定訊息的觸發訊號;一訊息產生模組,用於當該訊號接收模組接收到該觸發訊號時,根據該通訊訊息產生該特定訊息的描述訊息;以及一訊息儲存模組,用於儲存該訊息識別模組識別得到的該特定訊息和該訊息產生模組產生的該描述訊息。 Another aspect of the present invention provides a message storage device, including: a message recognition module for identifying a specific message in a communication message; and a signal receiving module for receiving the indication that the message recognition module is saved a message generating module for generating a description message of the specific message according to the communication message when the signal receiving module receives the trigger signal; and a message storage module for storing the The message recognition module identifies the specific message and the description message generated by the message generation module.
在一種可能的實現方式中,該訊息識別模組包括:一第一識別單元,用於在該通訊訊息中包括文本訊息時,透過預定的識別方式識別該文本訊息中的特定字串以及該特定字串的類型,將該特定字串作為該特定訊息,並將該特定字串的類型作為該特定訊息的類型;一第二識別單元,用於在該通訊訊息中包括圖片訊息時,將該圖片訊息作為該特定訊息,並將圖片作為該特定訊息的類型;一第三識別單元,用於在該通訊訊息中包括語音訊息時,將該語音訊息作為該特定訊息,並將語音作為該特定訊息的類型;以及一第四識別單元,用於在該通訊訊息中包括視訊訊息時,將該視訊訊息作為該特定訊息,並將視訊作為該特定訊息的類型。 In a possible implementation, the message identification module includes: a first identification unit, configured to identify a specific string in the text message and the specific identifier by using a predetermined identification manner when the text message is included in the communication message The type of the string, the specific string is used as the specific message, and the type of the specific string is used as the type of the specific message; a second identifying unit is configured to include the image message in the communication message, The picture message is used as the specific message, and the picture is used as the type of the specific message; a third identification unit is configured to use the voice message as the specific message when the voice message is included in the communication message, and use the voice as the specific message a type of the message; and a fourth identifying unit, configured to use the video message as the specific message when the video message is included in the communication message, and use the video as the type of the specific message.
在一種可能的實現方式中,該訊息產生模組包括:一第一產生單元,用於在該特定訊息為該特定字串時,根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息以及該特定訊息的類型中的至少一種產生該特定字串的描述訊息;一第二產生單元,用於在該特定訊息為該圖片訊息時,根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過光學字元辨識對該圖片訊息識別出的文字以及該特定訊息的類型中的至少一種產生該圖片訊息的描述訊息;一第三產生單元,用於在該特定訊息為該語音訊息時,根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別對該語音訊息進行辨識而獲取的文字以及該特定訊息的類型中的至少一種產生該語音訊息的描述訊息;以及一第四產生單元,用於在該特定訊息為該視訊訊息時,根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別及/或光學字元識別對該視訊訊息進行辨識而獲取的文字、透過該視訊訊息的連結而獲取的文字以及 該特定訊息的類型中的至少一種產生該視訊訊息的描述訊息。 In a possible implementation, the message generating module includes: a first generating unit, configured to: when the specific message is the specific string, send the communication message according to a time corresponding to sending and receiving the communication message At least one of the identifier of the peer, the content of the communication message, the context message of the communication message, and the type of the specific message generates a description message of the specific string; a second generating unit is configured to: The picture message, according to the time corresponding to receiving and transmitting the communication message, the identity of the communication peer transmitting the communication message, the content of the communication message, the context message of the communication message, and the identification of the picture message through optical character recognition At least one of the text and the type of the specific message generates a description message of the picture message; a third generating unit is configured to send the communication according to the time corresponding to the sending and receiving of the communication message when the specific message is the voice message The identity of the communication peer of the message, the content of the communication message, and the context of the communication message At least one of the text obtained by recognizing the voice message by voice recognition and the type of the specific message generates a description message of the voice message; and a fourth generating unit configured to use the video message in the specific message The video message is identified according to the time corresponding to the sending and receiving of the communication message, the identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, and the voice recognition and/or optical character recognition. The text obtained by the identification, the text obtained through the link of the video message, and At least one of the types of the particular message generates a description message for the video message.
在一種可能的實現方式中,該訊息儲存模組包括:一第一儲存單元,用於在該描述訊息中包括電話號碼、即時通訊號碼、郵件地址和住宅地址中的至少一者時,將該特定訊息及該描述訊息保存到通訊錄;一第二儲存單元,用於在該描述訊息中包括網址時,將該特定訊息及該描述訊息保存到網址收藏夾、網址快速訪問、稍後閱讀、捷徑方式以及筆記中的至少一種;以及一第三儲存單元,用於在該描述訊息中包括圖片、語音或視訊時,將該特定訊息及該描述訊息保存到指定路徑下。 In a possible implementation, the message storage module includes: a first storage unit, when the description message includes at least one of a phone number, an instant messaging number, a mail address, and a home address, The specific message and the description message are saved to the address book; a second storage unit is configured to save the specific message and the description message to the URL favorites, the URL quick access, and the later reading, when the description message includes the website address, At least one of a shortcut method and a note; and a third storage unit, configured to save the specific message and the description message to the specified path when the description message includes a picture, a voice, or a video.
在一種可能的實現方式中,該訊息儲存模組包括:一第四儲存單元,用於在該描述訊息中包括電話號碼、即時通訊號碼和郵件地址中的至少一者,且包括網址、圖片、語音或視訊時,將該特定訊息及該描述訊息保存到通訊錄;以及一第五儲存單元,用於在該描述訊息中包括網址,且包括圖片、語音或視訊時,將該特定訊息及該描述訊息保存到網址收藏夾、網址快速訪問、稍後閱讀、捷徑方式以及筆記中的至少一種。 In a possible implementation manner, the message storage module includes: a fourth storage unit, configured to include at least one of a phone number, an instant messaging number, and a mail address in the description message, and includes a web address, a picture, The specific message and the description message are saved to the address book during voice or video; and a fifth storage unit is configured to include the website address in the description message, and includes the picture, voice or video, the specific message and the The description message is saved to at least one of a URL favorite, a URL quick access, a later read, a shortcut, and a note.
在一種可能的實現方式中,該訊息儲存裝置還包括:一按鈕顯示模組,用於在該特定訊息的預定位置處顯示指示保存該特定訊息的快捷按鈕,該預定位置包括在該特定訊息之前、之後、上方、下方、左上角、左下角、右上角以及右下角中的任一位置;其中該訊號接收模組用於接收作用於該按鈕顯示模組顯示的該快捷按鈕上的觸發訊號。 In a possible implementation manner, the message storage device further includes: a button display module, configured to display, at a predetermined position of the specific message, a shortcut button indicating that the specific message is saved, the predetermined location being included before the specific message Any one of the rear, the upper, the lower, the upper left, the lower left, the upper right, and the lower right corner; wherein the signal receiving module is configured to receive a trigger signal applied to the shortcut button displayed by the button display module.
本發明再一方面提供一種通訊終端,其包括本發明另一方面提供的訊息儲存裝置及其各種可能的實現方式中任一者的訊息儲存裝置。 A further aspect of the present invention provides a communication terminal comprising a message storage device according to another aspect of the present invention and a message storage device of any of the various possible implementations.
本發明實施例提供的技術內容所產生的有益效果描述如下。透過識別通訊訊息中的特定訊息,在接收到指示保存該特定訊息的觸發訊號之後,根據該通訊訊息產生該特定訊息的描述訊息,從而儲存該特定訊息和該描述訊息。本實施例解決了習知技術中訊息儲存方法儲存效率低的問題,達到在接收到觸發訊號之後,可以根據通訊訊息自動保存特定訊息,提高了訊息儲存之效率。 The beneficial effects produced by the technical content provided by the embodiments of the present invention are described below. After identifying the specific message in the communication message, after receiving the trigger signal indicating that the specific message is saved, the description message of the specific message is generated according to the communication message, thereby storing the specific message and the description message. This embodiment solves the problem of low storage efficiency of the message storage method in the prior art. After receiving the trigger signal, the specific message can be automatically saved according to the communication message, thereby improving the efficiency of message storage.
101‧‧‧識別通訊訊息中的特定訊息 101‧‧‧ Identify specific messages in communication messages
102‧‧‧接收指示保存該特定訊息的觸發訊號 102‧‧‧ Receive trigger signal to save the specific message
103‧‧‧當接收到該觸發訊號時,根據該通訊訊息產生該特定訊息的描述訊息 103‧‧‧ When receiving the trigger signal, the description message of the specific message is generated according to the communication message
104‧‧‧儲存該特定訊息和該描述訊息 104‧‧‧Save the specific message and the description message
201‧‧‧識別通訊訊息中的特定訊息 201‧‧‧ Identify specific messages in communication messages
202‧‧‧在該特定訊息的預定位置處顯示指示保存該特定訊息的快捷按鈕 202‧‧‧ Display a shortcut button indicating the saving of the specific message at the predetermined location of the particular message
203‧‧‧接收作用於該快捷按鈕上的觸發訊號 203‧‧‧ Receiving the trigger signal acting on the shortcut button
204‧‧‧當接收到該觸發訊號時,根據該通訊訊息產生該特定訊息的描述訊息 204‧‧‧ When receiving the trigger signal, generating a description message of the specific message according to the communication message
205‧‧‧儲存該特定訊息和該描述訊息3 205‧‧‧Save the specific message and the description message 3
310‧‧‧訊息識別模組 310‧‧‧Message Identification Module
311‧‧‧第一識別單元 311‧‧‧First identification unit
312‧‧‧第二識別單元 312‧‧‧Second identification unit
313‧‧‧第三識別單元 313‧‧‧ Third identification unit
314‧‧‧第四識別單元 314‧‧‧Four identification unit
320‧‧‧訊號接收模組 320‧‧‧Signal receiving module
330‧‧‧訊息產生模組 330‧‧‧Information Generation Module
331‧‧‧第一產生單元 331‧‧‧First production unit
332‧‧‧第二產生單元 332‧‧‧Second generation unit
333‧‧‧第三產生單元 333‧‧‧ third generation unit
334‧‧‧第四產生單元 334‧‧‧fourth generation unit
340‧‧‧訊息儲存模組 340‧‧‧Message Storage Module
341‧‧‧第一儲存單元 341‧‧‧First storage unit
342‧‧‧第二儲存單元 342‧‧‧Second storage unit
343‧‧‧第三儲存單元 343‧‧‧ third storage unit
344‧‧‧第四儲存單元 344‧‧‧fourth storage unit
345‧‧‧第五儲存單元 345‧‧‧ fifth storage unit
350‧‧‧按鈕顯示模組 350‧‧‧Button display module
400‧‧‧通訊終端 400‧‧‧Communication terminal
410‧‧‧RF電路 410‧‧‧RF circuit
420‧‧‧儲存器 420‧‧‧Storage
430‧‧‧輸入單元 430‧‧‧ input unit
431‧‧‧觸控面板 431‧‧‧Touch panel
432‧‧‧其它輸入設備 432‧‧‧Other input devices
440‧‧‧顯示單元 440‧‧‧Display unit
441‧‧‧顯示面板 441‧‧‧ display panel
450‧‧‧傳感器 450‧‧‧ sensor
460‧‧‧音訊電路 460‧‧‧ audio circuit
470‧‧‧WiFi模組 470‧‧‧WiFi module
480‧‧‧處理器 480‧‧‧ processor
482‧‧‧電源 482‧‧‧Power supply
490‧‧‧攝影鏡頭 490‧‧‧Photographic lens
為了清楚說明本發明實施例中的技術內容,下面將對描述實施例所需使用的圖式作簡單地介紹,如下描述的圖式顯然只是本發明的一些實施例,對於所屬技術領域中具有通常知識者來說,在不脫離本發明之精神的情況下,還可以根據這些圖式獲得其他的圖式。 In order to clearly illustrate the technical contents in the embodiments of the present invention, the drawings used to describe the embodiments will be briefly described below. The following descriptions are obviously only some embodiments of the present invention, and are generally common in the art. Those skilled in the art can also obtain other figures from these figures without departing from the spirit of the invention.
第1圖顯示本發明的一個實施例提供的訊息儲存方法的方法流程圖。 FIG. 1 is a flow chart showing a method of a message storage method according to an embodiment of the present invention.
第2A圖顯示本發明另一實施例提供的訊息儲存方法的方法流程圖。 FIG. 2A is a flowchart of a method for storing a message according to another embodiment of the present invention.
第2B圖顯示本發明另一實施例提供的終端顯示快捷按鈕的示意圖。 FIG. 2B is a schematic diagram showing a terminal display shortcut button according to another embodiment of the present invention.
第2C圖顯示本發明另一實施例提供的用戶與好友聊天記錄的示意圖。 FIG. 2C is a schematic diagram showing a chat history between a user and a friend according to another embodiment of the present invention.
第2D圖顯示本發明另一實施例提供的終端接收到圖片訊息的示意圖。 FIG. 2D is a schematic diagram of a terminal receiving a picture message according to another embodiment of the present invention.
第2E圖顯示本發明另一實施例提供的終端儲存特定字串及描述訊息的一個示意圖。 FIG. 2E is a schematic diagram showing a terminal storing a specific string and a description message according to another embodiment of the present invention.
第2F圖顯示本發明另一實施例提供的終端儲存特定字串及描述訊息的另一個示意圖。 FIG. 2F is another schematic diagram of a terminal storing a specific string and a description message according to another embodiment of the present invention.
第2G圖顯示本發明另一實施例提供的終端儲存特定字串及描述訊息的再一個示意圖。 FIG. 2G is a schematic diagram showing another terminal storing a specific string and a description message according to another embodiment of the present invention.
第3圖顯示本發明的一個實施例提供的訊息儲存裝置的結構方塊圖。 FIG. 3 is a block diagram showing the structure of a message storage device according to an embodiment of the present invention.
第4圖顯示本發明另一實施例提供的訊息儲存裝置的結構方塊圖。 FIG. 4 is a block diagram showing the structure of a message storage device according to another embodiment of the present invention.
第5圖顯示本發明實施例提供的通訊終端的結構方塊圖。 FIG. 5 is a block diagram showing the structure of a communication terminal according to an embodiment of the present invention.
以下各實施例的說明是參考所附圖式,用以例示本發明可用以實施的特定實施例。文中所描述的實施例僅僅是本發明一部份的實施例,而不是全部的實施例。所屬技術領域中具有通常知識者在本發明實施例之揭示下所獲得的其它實施例,都屬於本發明保護的範圍。 The following description of the various embodiments is intended to illustrate the specific embodiments The embodiments described herein are merely a part of the embodiments of the invention, and not all of the embodiments. Other embodiments obtained by those skilled in the art from the disclosure of the present invention are within the scope of the present invention.
請參閱第1圖,其顯示本發明的一個實施例提供的訊息儲存方法的方法流程圖,該訊息儲存方法可用於諸如手機、平板電腦、個人數位助理(PDA)、個人電腦和筆記型電腦之類的通訊終端中,該訊息儲存方法包括如下步驟:在步驟101中,識別通訊訊息中的特定訊息;在步驟102中,接收指示保存該特定訊息的觸發訊號;在步驟103中,當接收到該觸發訊號時,根據該通訊訊息產生該特定訊息的描述訊息;以及在步驟104中,儲存該特定訊息和該描述訊息。 Please refer to FIG. 1 , which is a flowchart of a method for storing a message according to an embodiment of the present invention. The message storage method can be used in, for example, a mobile phone, a tablet computer, a personal digital assistant (PDA), a personal computer, and a notebook computer. In the communication terminal of the class, the message storage method includes the following steps: in step 101, identifying a specific message in the communication message; in step 102, receiving a trigger signal indicating that the specific message is saved; in step 103, when receiving When the trigger signal is generated, a description message of the specific message is generated according to the communication message; and in step 104, the specific message and the description message are stored.
綜上,本實施例提供的訊息儲存方法係透過識別通訊訊息中的特定訊息,在接收到指示保存該特定訊息的觸發訊號之後,根據該通訊訊息產生該特定訊息的描述訊息,從而儲存該特定訊息和該描述訊息。本實施例解決了習知技術中訊息儲存方法儲存效率低的問題,達到在接收到觸發訊號之後,可以根據通訊訊息自動保存特定訊息,提高了訊息儲存之效率。 In summary, the message storage method provided in this embodiment generates a description message of the specific message according to the communication message after receiving the trigger signal indicating that the specific message is saved by identifying the specific message in the communication message, thereby storing the specific message. Message and the description message. This embodiment solves the problem of low storage efficiency of the message storage method in the prior art, and after receiving the trigger signal, the specific message can be automatically saved according to the communication message, thereby improving the efficiency of message storage.
請參閱第2A圖,其顯示本發明另一實施例提供的訊息儲存方法的方法流程圖,該訊息儲存方法可用於諸如手機、平板電腦、個人數位助理(PDA)、個人電腦和筆記型電腦之類的終端中,該訊息儲存方法包括如下步驟。 Please refer to FIG. 2A, which is a flowchart of a method for storing a message according to another embodiment of the present invention. The message storage method can be used in, for example, a mobile phone, a tablet computer, a personal digital assistant (PDA), a personal computer, and a notebook computer. In the terminal of the class, the message storage method includes the following steps.
在步驟201,識別通訊訊息中的特定訊息。 At step 201, a particular message in the communication message is identified.
人們在日常生活中可以透過諸如手機、平板電腦、個人數位助理、個人電腦和者筆記型電腦之類的終端與好友進行通訊,並且在通訊過程中用戶可以透過終端接收來自通訊對端的通訊訊息。通訊訊息中經常包括諸如電話號碼、即時通訊號碼、郵件地址、網頁連結、語音、圖片和視訊之類的重要訊息,為了使得這些訊息能夠被用戶使用,在終端接收到通訊訊息之後,終端可以識別出該通訊訊息中的 特定訊息,其中該通訊訊息可包括文本訊息、圖片訊息、語音訊息以及視訊訊息中的至少一種。 In daily life, people can communicate with friends through terminals such as mobile phones, tablet computers, personal digital assistants, personal computers, and notebook computers, and users can receive communication messages from the communication peers through the terminal during communication. Communication messages often include important information such as phone numbers, instant messaging numbers, email addresses, web links, voice, pictures, and video. In order for these messages to be used by the user, the terminal can recognize the terminal after receiving the communication message. Out of the newsletter The specific message, wherein the communication message may include at least one of a text message, a picture message, a voice message, and a video message.
具體地,根據通訊訊息所包括的訊息類別的不 同,前述之終端識別該通訊訊息中的特定訊息的步驟可分別包括如下。 Specifically, depending on the type of message included in the communication message Similarly, the steps of the foregoing terminal for identifying a specific message in the communication message may include the following respectively.
第一、若通訊訊息中包括文本訊息,則透過預定 的識別方式識別該文本訊息中的特定字串以及該特定字串的類型,將該特定字串作為該特定訊息,並將該特定字串的類型作為該特定訊息的類型。 First, if the communication message includes a text message, then The identification method identifies a specific string in the text message and the type of the specific string, uses the specific string as the specific message, and uses the type of the specific string as the type of the specific message.
不同類別的通訊訊息在實際傳輸時使用的資料 格式有所不同,故在終端接收到通訊訊息之後,終端可以根據接收到的通訊訊息的資料格式來判斷通訊訊息的類別。當判斷結果為通訊訊息中包括文本訊息時,終端可以透過預定的識別方式識別該文本訊息中的特定字串以及該特定字串的類型,從而將識別得到的特定字串作為該特定訊息,將該特定字串的類型作為該特定訊息的類型。 Information used by different types of communication messages during actual transmission The format is different, so after the terminal receives the communication message, the terminal can judge the type of the communication message according to the data format of the received communication message. When the result of the judgment is that the text message is included in the communication message, the terminal may identify the specific string in the text message and the type of the specific string by using a predetermined identification manner, so that the identified specific string is used as the specific message. The type of the particular string is the type of the particular message.
該預定的識別方式可以是透過正則表達式來進 行識別的方式,並且不同的正則表達式可以識別得到不同類型的特定字串。 The predetermined recognition method can be through regular expressions. The way lines are recognized, and different regular expressions can identify different types of specific strings.
舉例如下,當終端使用的正則表達式為 \d{3}-\d{8}|\d{4}-\d{7}時,終端可以識別得到形式為0510-4405222或者021-87888822的電話號碼。 For example, the following is the regular expression used by the terminal. When \d{3}-\d{8}|\d{4}-\d{7}, the terminal can recognize the phone number in the form 0510-4405222 or 021-87888822.
當終端使用的正則表達式為[1-9][0-9]{4,}時,終端可以識別得到諸如‘QX’之類的即時通訊號碼。 When the terminal uses a regular expression of [1-9][0-9]{4,}, the terminal can recognize an instant messaging number such as ‘QX’.
當終端使用的正則表達式為\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*時,終端可以識別得到郵件地址。 When the terminal uses the regular expression \w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*, the terminal can recognize Get the email address.
當終端使用的正則表達式為[a-zA-z]+://[^\s]* 時,終端可以識別得到網頁連結。 The regular expression used by the terminal is [a-zA-z]+://[^\s]* When the terminal can recognize the web link.
因此,終端在使用上述正則表達式對文本訊息進 行匹配識別時,終端可以識別得到特定字串,並且根據識別時使用的正則表達式,終端可以識別得到該特定字串的類型。在終端識別得到特定字串和該特定字串的類型之後,終端可以將該特定字串作為特定訊息,將該特定字串的類型作為該特定訊息的類型。 Therefore, the terminal is using the above regular expression to enter the text message. When the line matches the recognition, the terminal can recognize the specific string, and according to the regular expression used in the recognition, the terminal can recognize the type of the specific string. After the terminal recognizes the specific string and the type of the specific string, the terminal can use the specific string as a specific message, and the type of the specific string is the type of the specific message.
需要說明的是,本實施例僅以透過正則表達式來 識別文本訊息中的特定字串為例,在實際的實現過程中,還可以透過其它識別方式進行識別,本實施例並不對其具體的識別方式做限定。 It should be noted that this embodiment only uses regular expressions. The specific character string in the text message is taken as an example. In the actual implementation process, the identification may be performed by other identification methods. This embodiment does not limit the specific identification manner.
同時,本實施例在進行識別時,僅以上述正則表 達式為例,在實際的實現過程中,可能還會存在不同形式的表達式來識別相同類型的字串。本實施例旨在識別得到通訊訊息中的特定字串,並且得到該特定字串的類型,並不對其具體的識別方法做限定。並且,本實施例僅以特定字串為電話號碼、即時通訊號碼、郵件地址和網頁連結為例,在實際的實現過程中,特定字串還可為諸如郵政編號、身份證字號、IP位址之類的字串,在此不再一一說明。 At the same time, in the present embodiment, only the above regular table is used for identification. As an example, in the actual implementation process, there may be different forms of expressions to identify the same type of string. This embodiment aims to identify a specific string in a communication message, and obtain the type of the specific string, and does not limit its specific identification method. Moreover, in this embodiment, only a specific string is used as a telephone number, an instant messaging number, an email address, and a webpage link. In an actual implementation process, the specific string may also be a postal number, an ID number, or an IP address. Such strings are not explained here.
第二、若該通訊訊息中包括圖片訊息,則將該圖片訊息作為該特定訊息,並將圖片作為該特定訊息的類型。 Second, if the communication message includes a picture message, the picture message is used as the specific message, and the picture is used as the type of the specific message.
當終端檢測到通訊訊息中包括圖片訊息時,用戶很可能會因為圖片精美或者圖片中包括重要訊息而需要保存該圖片訊息,終端可以將該圖片訊息作為特定訊息,並將圖片作為該特定訊息的類型。 When the terminal detects that the communication message includes a picture message, the user may need to save the picture message because the picture is beautiful or the picture contains important information, and the terminal can use the picture message as a specific message and use the picture as the specific message. Types of.
舉例來說,小張在逛街時發現某公司正在進行招聘,而好友‘小明’目前正在找工作,所以小張就將招聘海報用 手機拍下來,並透過即時通訊應用軟體諸如‘微X’將拍攝到的招聘海報發送給小明,相應地小明使用的終端在檢測到所接收到的通訊訊息為圖片訊息時,終端就可以將該圖片訊息作為特定訊息,並將圖片作為該特定訊息的類型。 For example, Xiao Zhang found that a company is hiring while shopping, and his friend ‘Xiao Ming’ is currently looking for a job, so Xiao Zhang will use the poster for recruitment. The mobile phone takes a picture and sends the recruited poster to Xiao Ming through an instant messaging application such as 'Micro X'. Accordingly, when the terminal used by Xiao Ming detects the received communication message as a picture message, the terminal can The picture message is used as a specific message and the picture is used as the type of the particular message.
第三、若該通訊訊息中包括語音訊息,則將該語音訊息作為該特定訊息,並將語音作為該特定訊息的類型。 Third, if the communication message includes a voice message, the voice message is used as the specific message, and the voice is used as the type of the specific message.
類似地,當終端檢測到通訊訊息中包括語音訊息時,該語音訊息中可能包括電話號碼、即時通訊號碼、郵件地址、網頁連結等重要訊息,為了方便之後查看,用戶可能會選擇保存該語音訊息,終端可以將該語音訊息作為特定訊息,並將語音作為該特定訊息的類型。 Similarly, when the terminal detects that the communication message includes a voice message, the voice message may include important information such as a phone number, an instant message number, an email address, and a web link. For convenience, the user may choose to save the voice message. The terminal can use the voice message as a specific message and use the voice as the type of the specific message.
第四、若該通訊訊息中包括視訊訊息,則將該視訊訊息作為該特定訊息,並將視訊作為該特定訊息的類型。 Fourth, if the communication message includes a video message, the video message is used as the specific message, and the video is used as the type of the specific message.
當終端檢測到通訊訊息中包括視訊訊息時,觀看該視訊訊息可能會佔用大量時間,為了能及時回覆好友,用戶很可能需要將該視訊訊息進行保存,之後空閒時再進行查看,終端可以將該視訊訊息作為特定訊息,並將視訊作為該特定訊息的類型。 When the terminal detects that the communication message includes a video message, viewing the video message may take a lot of time. In order to reply the friend in time, the user may need to save the video message, and then view it when idle, the terminal may The video message is a specific message and the video is used as the type of the particular message.
在步驟202中,在該特定訊息的預定位置處顯示指示保存該特定訊息的快捷按鈕。 In step 202, a shortcut button indicating the saving of the particular message is displayed at a predetermined location of the particular message.
在終端識別到通訊訊息中的特定訊息之後,終端可以在該特定訊息的預定位置處顯示指示保存該特定訊息的快捷按鈕,其中該預定位置包括在該特定訊息之前、之後、上方、下方、左上角、左下角、右上角、右下角、上部以及下部中的任一位置。 After the terminal recognizes the specific message in the communication message, the terminal may display a shortcut button indicating that the specific message is saved at a predetermined position of the specific message, where the predetermined location is included before, after, above, below, and above the specific message. Any of the corner, lower left corner, upper right corner, lower right corner, upper and lower.
舉例來說,請參閱第2B圖,以終端接收到的通訊訊息為透過即時通訊應用軟體‘微X’接收到的內容為‘李四的電話是:13815674236’的文本訊息為例,終端在識別到特定 字串‘13815674236’之後,終端可以在該特定字串之‘字串後’的位置顯示一個表示‘一鍵儲存’的快捷按鈕。類似地,若終端接收到的通訊訊息中包括圖片訊息、語音訊息或視訊訊息等特定訊息,則終端同樣可以在該特定訊息的預定位置處顯示快捷按鈕,在此不再一一舉例。 For example, please refer to Figure 2B. The communication message received by the terminal is the text message received by the instant messaging application software 'micro X', and the text of the phone number of Li Si is: 13815674236. The terminal is identifying. To specific After the string '13815674236', the terminal can display a shortcut button indicating 'one-click storage' at the position of the 'behind the string' of the specific string. Similarly, if the communication message received by the terminal includes a specific message such as a picture message, a voice message, or a video message, the terminal can also display a shortcut button at a predetermined position of the specific message, which will not be exemplified herein.
需要說明的是,在終端識別到通訊訊息中的特定 字串之後,終端可以將該特定字串與通訊訊息中的其它訊息進行區別顯示,例如將該特定字串進行加粗顯示、加下劃線顯示、用特殊字體顯示、用特殊顏色顯示等,本實施例並不對此進行限定。 It should be noted that the terminal recognizes the specificity in the communication message. After the string, the terminal can display the specific string differently from other messages in the communication message, for example, the specific string is boldly displayed, underlined, displayed in a special font, displayed in a special color, etc., the implementation The example does not limit this.
需要說明的是,在終端顯示該特定字串之後,終 端可以接收用戶作用於該特定字串上的選擇指令,從而根據用戶的選擇指令向用戶提供對應於該特定字串的操作類型。 舉例來說,當該特定字串為手機號碼時,終端在接收到用戶的選擇指令之後,可以提供撥打電話、發送簡訊、新建連絡人等選單項目給用戶,從而根據用戶的選擇執行對應操作,在此不再贅述。 It should be noted that after the terminal displays the specific string, the end The terminal can receive a selection instruction that the user acts on the particular string to provide the user with the type of operation corresponding to the particular string in accordance with the user's selection instruction. For example, when the specific string is a mobile phone number, after receiving the user's selection instruction, the terminal may provide a menu item such as making a call, sending a short message, or creating a new contact to the user, thereby performing a corresponding operation according to the user's selection. I will not repeat them here.
在步驟203中,接收作用於該快捷按鈕上的觸發訊號。 In step 203, a trigger signal is applied to the shortcut button.
當用戶需要保存通訊訊息中的特定訊息時,用戶可以點擊顯示介面中的快捷按鈕。相應地,終端可以接收到用戶所輸入的作用於該快捷按鈕上的觸發訊號。 When the user needs to save a specific message in the communication message, the user can click the shortcut button in the display interface. Correspondingly, the terminal can receive the trigger signal input by the user and act on the shortcut button.
舉例來說,當特定訊息為特定字串,且該特定字串為電話號碼時,為了以後能夠方便使用該電話號碼,用戶可以點擊顯示介面中位於該電話號碼之預定位置處的快捷按鈕。相應地,終端可以接收到作用於該快捷按鈕上的觸發訊號。 For example, when a specific message is a specific string and the specific string is a phone number, in order to conveniently use the phone number in the future, the user can click a shortcut button in the display interface at a predetermined position of the phone number. Correspondingly, the terminal can receive the trigger signal acting on the shortcut button.
當特定訊息為圖片訊息時,用戶發現該圖片訊息 中有重要訊息例如招聘訊息,此時用戶可以點擊顯示介面中位於該圖片訊息之預定位置處的快捷按鈕。相應地,終端可以接收到作用於該快捷按鈕上的觸發訊號。 When a specific message is an image message, the user finds the image message There are important messages such as job postings, in which case the user can click on the shortcut button in the display interface at the predetermined location of the picture message. Correspondingly, the terminal can receive the trigger signal acting on the shortcut button.
當特定訊息為語音訊息時,在用戶收聽該語音訊 息之後,發現該語音訊息中包括以後可能會再次使用的訊息,則用戶會點擊該語音訊息之預定位置處的快捷按鈕。舉例來說,小明向好友張三詢問李四的電話號碼後,張三回覆李四的電話號碼給小明,則小明會想將此包括李四之電話號碼的語音訊息保存起來。相應地,終端可以接收到作用於該快捷按鈕上的觸發訊號。 When the specific message is a voice message, the user listens to the voice message. After the message is found, the voice message includes a message that may be used again in the future, and the user clicks the shortcut button at the predetermined location of the voice message. For example, after Xiao Ming asked his friend Zhang San about Li Si’s phone number, Zhang San replied to Li Si’s phone number to Xiao Ming, and Xiao Ming would like to save the voice message including Li Si’s phone number. Correspondingly, the terminal can receive the trigger signal acting on the shortcut button.
當特定訊息為視訊訊息時,用戶知道該視訊訊息 的時間長度較長,而目前還有其它事情需要處理,此時用戶可以選擇保存該視訊訊息。相應地,終端可以接收到作用於該快捷按鈕上的觸發訊號。 When a specific message is a video message, the user knows the video message. The length of time is longer, and there are other things that need to be processed. At this time, the user can choose to save the video message. Correspondingly, the terminal can receive the trigger signal acting on the shortcut button.
在步驟204中,當接收到該觸發訊號時,根據該 通訊訊息產生該特定訊息的描述訊息。 In step 204, when the trigger signal is received, according to the The communication message generates a description message for the particular message.
在終端接收到觸發訊號之後,終端可以根據通訊 訊息產生特定訊息的描述訊息。在實際的實現過程中,終端產生不同之特定訊息的描述訊息的產生方式有所不同,具體可以包括如下方式。 After the terminal receives the trigger signal, the terminal can communicate according to the communication. The message produces a description of the particular message. In the actual implementation process, the description information generated by the terminal to generate different specific messages is different, and may specifically include the following manners.
第一、若該特定訊息為該特定字串,則根據收發 該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息以及該特定訊息的類型中的至少一種產生該特定字串的描述訊息。 First, if the specific message is the specific string, then according to the sending and receiving At least one of the time corresponding to the communication message, the identity of the communication peer transmitting the communication message, the content of the communication message, the context message of the communication message, and the type of the specific message generates a description message of the specific string.
具體地,終端產生特定字串的描述訊息的步驟可 包括如下。 Specifically, the step of the terminal generating the description message of the specific string may be Includes the following.
(1)根據該通訊訊息的內容、該通訊訊息的上下 文訊息、收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識以及該特定字串的類型中的至少一種產生該特定字串的名稱。 (1) According to the content of the communication message, the upper and lower of the communication message At least one of a text message, a time corresponding to receiving and transmitting the communication message, an identity of the communication peer transmitting the communication message, and a type of the specific string generates a name of the specific string.
具體地,由於通訊訊息的內容或通訊訊息的上下 文訊息中極有可能包括該特定字串所對應的用戶的姓名,因此終端優選地可以透過關鍵詞識別的方式對通訊訊息的內容、通訊訊息的上下文訊息或兩者的組合進行關鍵詞識別,從而在識別出姓名之後將識別得到的姓名作為該特定字串的名稱,其中終端進行關鍵詞識別的具體方式可以包括如下。 Specifically, due to the content of the communication message or the upper and lower of the communication message It is highly probable that the name of the user corresponding to the specific string is included in the text message, so the terminal preferably can identify the content of the communication message, the context message of the communication message, or a combination of the two by keyword recognition. Therefore, the recognized name is used as the name of the specific string after the name is recognized, and the specific manner in which the terminal performs keyword recognition may include the following.
終端將通訊訊息的內容、通訊訊息的上下文訊息 或兩者的組合與預先設置的‘百家姓資料庫’進行匹配,在匹配得到‘姓氏’之後,提取位於‘姓氏’之前或之後的一位至兩位文字,將提取得到的文字與姓氏按照現有的排列方式作為姓名。例如,以將文本訊息中‘姓氏’之後一位文字與姓氏組合為例,在第2B圖所示的場景下,終端可以識別得到電話號碼的名稱為‘李四’。 The terminal will communicate the content of the message and the context message of the communication message. Or a combination of the two matches the pre-set 'Hundred Family Name Database'. After matching the 'last name', extract one to two characters before or after the 'last name', and extract the extracted text and last name. Follow the existing arrangement as the name. For example, in the scenario shown in FIG. 2B, the terminal can recognize that the name of the telephone number is “Li Si” in the scenario shown in FIG. 2B.
然而,當終端透過關鍵詞識別姓名失敗時,終端 可以根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識以及該特定字串的類型中的至少一種產生該特定字串的名稱。 However, when the terminal fails to identify the name by keyword, the terminal The name of the specific string may be generated according to at least one of a time corresponding to receiving and transmitting the communication message, an identity of the communication peer transmitting the communication message, and a type of the specific string.
舉例來說,終端可以將收發該通訊訊息所對應的 時間以及該特定字串的類型按照預定格式作為該特定字串的名稱,如‘2013年9月20號接收到的電話號碼’。或者,終端將發送該通訊訊息的通訊對端的身份標識以及該特定字串的類型作為該特定字串的名稱,如‘小明發送的電話號碼’或者‘小明-電話號碼’。或者,終端將收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識以及該特定字串 的類型三者按照預定格式作為該特定字串的名稱,如‘2013年9月20號-小明發送的電話號碼’等,在此不再一一舉例。 For example, the terminal can send and receive the corresponding communication message. The time and the type of the particular string are in the predetermined format as the name of the particular string, such as 'phone number received on September 20, 2013'. Alternatively, the terminal sends the identity of the communication peer of the communication message and the type of the specific string as the name of the specific string, such as 'small phone number sent by Xiao Ming' or 'Xiaoming-phone number'. Or the time when the terminal sends and receives the communication message, the identity of the communication peer that sends the communication message, and the specific string. The types of the three are in the predetermined format as the name of the specific string, such as 'September 20, 2013 - Phone number sent by Xiao Ming', etc., and will not be exemplified here.
需要說明的是,在實際的實現過程中,該特定字 串的名稱可能會受到字數的限制,終端可以選擇所對應的時間、發送該通訊訊息的通訊對端的身份標識以及該特定字串的類型中的其中一種來產生該特定字串的名稱,本實施例並不對此進行限定。 It should be noted that in the actual implementation process, the specific word The name of the string may be limited by the number of words, and the terminal may select one of the corresponding time, the identity of the communication peer that sent the communication message, and the type of the specific string to generate the name of the specific string. The embodiment does not limit this.
(2)根據該通訊訊息的內容及/或該通訊訊息的 上下文訊息產生該特定字串的備註訊息。 (2) according to the content of the communication message and / or the communication message The context message produces a comment message for that particular string.
為了使得用戶在查看該特定字串時,能夠更加清 晰地分辨該特定字串的用途,從而更好地使用該特定字串,終端還可以根據該通訊訊息的內容、該通訊訊息的上下文訊息或兩者的組合來產生該特定字串的備註訊息,其中上下文訊息包括來自同一通訊對端的所有訊息中位於通訊訊息之前及/或之後預定個數的訊息。 In order to make the user see the specific string, it can be more clear Clearly distinguishing the purpose of the specific string to better use the specific string, the terminal may also generate a comment message of the specific string according to the content of the communication message, the context message of the communication message, or a combination of the two. , wherein the context message includes a predetermined number of messages from all messages of the same communication peer before and/or after the communication message.
舉例來說,用戶與好友小明的聊天記錄如第2C 圖所示,終端接收到觸發訊號之後,終端可以將與小明的聊天記錄中在通訊訊息之前兩條和之後一條的訊息作為電話號碼‘13815674236’的備註訊息。 For example, the user and friend Xiao Ming's chat record is like 2C As shown in the figure, after the terminal receives the trigger signal, the terminal can use the message two and the last one of the communication messages in the chat record with Xiao Ming as the comment message of the telephone number ‘13815674236’.
需要說明的是,在實際的實現過程中,終端可以 直接根據上述內容產生一個訊息,並將產生的訊息作為描述訊息,本實施例僅以產生的描述訊息包括名稱和備註訊息為例,並不對其具體的實現方式進行限定。 It should be noted that in the actual implementation process, the terminal can A message is generated according to the above content, and the generated message is used as a description message. In this embodiment, only the generated description message includes a name and a comment message as an example, and the specific implementation manner is not limited.
第二、若該特定訊息為該圖片訊息,則根據收發 該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過光學字元識別(Optical Character Recognition,OCR)對該 圖片訊息辨識出的文字以及該特定訊息的類型中的至少一種產生該圖片訊息的描述訊息。 Second, if the specific message is the picture message, it is sent and received according to The time corresponding to the communication message, the identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, and the optical character recognition (OCR) At least one of the text recognized by the picture message and the type of the specific message generates a description message of the picture message.
如果該特定訊息為圖片訊息,終端可以根據收發 該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過OCR對該圖片訊息辨識出的文字以及該特定訊息的類型中的至少一種產生該圖片訊息的描述訊息。 If the specific message is a picture message, the terminal can send and receive according to the message. The time corresponding to the communication message, the identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, the text recognized by the OCR for the picture message, and the type of the specific message. At least one description message that produces the picture message.
透過OCR對該圖片訊息識別出文字的步驟可以 是在終端接收到觸發訊號之後。透過OCR識別從該圖片訊息中識別得到的文字,也可以是終端透過OCR識別從該圖片訊息中識別得到文字之後,再透過預定的識別方式如正則表達式從文字訊息中提取的特定字串,本實施例並不對此進行限定。舉例來說,終端接收到的圖片訊息如第2D圖所示,終端可以透過OCR識別得到圖片訊息中的內容為‘招才納士;銷售員:數名;性別要求:男;學歷要求:大學以上;連絡人:李女士;聯絡電話:138XXXXXXXX;XXX有限公司’的文字訊息。並且,終端可以透過正則表達式識別出上述文字訊息中的特定字串‘138XXXXXXXX’以及該特定字串的類型‘電話號碼’,在終端進行上述識別之後,終端可以執行產生描述訊息的步驟。 The step of identifying the text by the OCR can be After the terminal receives the trigger signal. The OCR recognizes the text recognized from the picture message, and may also be a specific string that the terminal extracts from the picture message after recognizing the text from the picture message through the OCR, and then extracts the text message through a predetermined recognition manner, such as a regular expression. This embodiment does not limit this. For example, the picture message received by the terminal is as shown in FIG. 2D, and the terminal can obtain the content of the picture message through OCR identification as 'sportsman; salesperson: several names; gender requirement: male; academic requirement: university Above; contact person: Ms. Li; contact number: 138XXXXXXXX; XXX Co., Ltd.'s text message. Moreover, the terminal can identify the specific string '138XXXXXXXX' in the text message and the type 'phone number' of the specific string through the regular expression. After the terminal performs the above identification, the terminal can perform the step of generating the description message.
在實際的實現過程中,終端可以將識別得到的文 字訊息中之前預定個數的文字或者第一個標點符號之前的文字作為名稱,而根據其它內容產生的訊息作為備註訊息。舉例來說,在第2D圖所示的圖片訊息中,終端產生的圖片訊息的名稱為‘招才納士’,該圖片訊息的描述訊息為‘招才納士;銷售員:數名;性別要求:男;學歷要求:大學以上;連絡人:李女士;聯絡電話:138XXXXXXXX;XXX有限公司’。 當然,也可以採用與產生該特定字串的描述訊息類似的方式來產生該圖片訊息的描述訊息,在此不再贅述。 In the actual implementation process, the terminal can identify the obtained text. The word in the word message is a predetermined number of words or the text before the first punctuation mark, and the message generated based on other contents is used as a comment message. For example, in the picture message shown in FIG. 2D, the name of the picture message generated by the terminal is 'Celebrity', and the description message of the picture message is 'Careers'; salesperson: several names; gender Requirements: Male; Education requirements: above university; contact person: Ms. Li; contact number: 138XXXXXXXX; XXX Co., Ltd.'. Of course, the description message of the picture message may also be generated in a manner similar to the description message that generates the specific string, and details are not described herein again.
第三、若該特定訊息為該語音訊息,則根據收發 該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別對該語音訊息進行辨識而獲取的文字以及該特定訊息的類型中的至少一種產生該語音訊息的描述訊息。 Third, if the specific message is the voice message, it is sent and received according to The time corresponding to the communication message, the identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, the text obtained by recognizing the voice message through voice recognition, and the specific message At least one of the types produces a description message for the voice message.
當該特定訊息為語音訊息時,終端可以根據收發 該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別對該語音訊息進行辨識而獲取的文字以及該特定訊息的類型中的至少一種產生該語音訊息的描述訊息。 When the specific message is a voice message, the terminal can send and receive according to the message. The time corresponding to the communication message, the identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, the text obtained by recognizing the voice message through voice recognition, and the specific message At least one of the types produces a description message for the voice message.
透過語音識別對該語音訊息進行辨識而獲取的 文字可以是透過語音識別將該語音訊息轉換為文本訊息之後的文字,也可以是指終端透過語音識別將該語音訊息轉換為文字之後,透過預定的識別技術如正則表達式從文字訊息中提取的關鍵詞,本實施例並不對此進行限定。 Obtained by voice recognition to identify the voice message The text may be a text after the voice message is converted into a text message by voice recognition, or may be obtained after the terminal converts the voice message into text through voice recognition, and is extracted from the text message by a predetermined recognition technique such as a regular expression. Keywords, this embodiment does not limit this.
在實際的實現過程中,終端可以將識別得到的文 字訊息中之前預定個數的文字或者第一個標點符號之前的文字作為名稱,而根據其它內容產生的訊息作為備註訊息。當然,也可以採用與產生該特定字串的描述訊息類似的方式來產生該語音訊息的描述訊息,在此不再贅述。 In the actual implementation process, the terminal can identify the obtained text. The word in the word message is a predetermined number of words or the text before the first punctuation mark, and the message generated based on other contents is used as a comment message. Certainly, the description message of the voice message may also be generated in a manner similar to the description message that generates the specific string, and details are not described herein again.
第四、若該特定訊息為該視訊訊息,則根據收發 該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別及/或光學字元識別對該視訊訊息進行辨識而獲取的文字、透過該視訊訊息的連結而獲取的文字以及該特定訊息的類型中的至少一種產生該視訊訊息的描述訊息。 Fourth, if the specific message is the video message, then according to the transceiver The time corresponding to the communication message, the identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, and the identification of the video message by voice recognition and/or optical character recognition The text, the text obtained through the link of the video message, and at least one of the types of the specific message generate a description message of the video message.
如果該特定訊息為視訊訊息,則終端可以根據收 發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別及/或光學字元識別對該視訊訊息進行辨識而獲取的文字、透過該視訊訊息的連結而獲取的文字以及該特定訊息的類型中的至少一種產生該視訊訊息的描述訊息。 If the specific message is a video message, the terminal can receive the message. The time corresponding to the communication message, the identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, and the identification of the video message through voice recognition and/or optical character recognition The obtained text, the text obtained through the link of the video message, and at least one of the types of the specific message generate a description message of the video message.
由於視訊訊息是由多個訊框的圖片以及對應的 語音訊息同時組成,因此終端可以透過語音識別、OCR識別或兩者的結合來獲取該視訊訊息中的文字,在此對其具體的技術細節不再贅述。此外,透過語音識別獲取的文字可以是終端直接將該視訊訊息中的語音進行轉換之後的文字,也可以是終端先根據語音識別獲取到文字之後,再透過預定的識別技術如正則表達式從文字訊息中提取的特定字串。類似地,終端透過OCR識別獲取到的文字,可以是終端透過OCR識別對該視訊訊息中的每一框圖像進行識別後獲取到的文字,也可以是透過預定的識別技術如正則表達式對透過OCR識別後的文字進行提取所得到的特定字串,本實施例並不對此進行限定。 Since the video message is a picture of multiple frames and corresponding The voice message is composed at the same time, so the terminal can obtain the text in the video message through voice recognition, OCR recognition or a combination of the two, and the specific technical details thereof will not be described herein. In addition, the text obtained by the voice recognition may be the text after the terminal directly converts the voice in the video message, or the terminal may first obtain the text according to the voice recognition, and then use a predetermined recognition technology such as a regular expression from the text. The specific string extracted from the message. Similarly, the terminal can recognize the acquired text through the OCR, and the terminal can recognize the text obtained by recognizing each frame image in the video message through the OCR, or can use a predetermined recognition technology such as a regular expression pair. The specific character string obtained by extracting the OCR-recognized text is not limited in this embodiment.
在實際的實現過程中,終端可以將識別得到的文 字訊息中之前預定個數的文字或者第一個標點符號之前的文字作為名稱,而根據其它內容產生的訊息作為備註訊息。當然,也可以採用與產生該特定字串的描述訊息類似的方式來產生該視訊訊息的描述訊息,在此不再贅述。 In the actual implementation process, the terminal can identify the obtained text. The word in the word message is a predetermined number of words or the text before the first punctuation mark, and the message generated based on other contents is used as a comment message. Certainly, the description message of the video message may also be generated in a manner similar to the description message that generates the specific string, and details are not described herein again.
在步驟205中,儲存該特定訊息和該描述訊息。 In step 205, the specific message and the description message are stored.
在終端產生該特定訊息的描述訊息之後,終端可以儲存該特定訊息和該描述訊息。具體地,對於不同的描述訊息,終端儲存該特定訊息和該描述訊息的儲存方式也有所不同,以下將分別對其進行詳細描述。 After the terminal generates the description message of the specific message, the terminal may store the specific message and the description message. Specifically, for different description messages, the manner in which the terminal stores the specific message and the description message is different, which will be described in detail below.
第一、若該描述訊息中包括電話號碼、即時通訊 號碼、郵件地址和住宅地址中的至少一者,則將該特定訊息及該描述訊息保存到通訊錄。 First, if the description message includes a phone number, instant messaging The at least one of the number, the email address, and the residential address saves the specific message and the description message to the address book.
具體地,當終端產生的描述訊息中包括電話號 碼、即時通訊號碼、郵件地址和住宅地址中的至少一者時,用戶再次使用該特定訊息的一個很重要的原因可能是會使用到電話號碼,因此為了方便用戶之後能夠查看對應的特定訊息,終端可以將該特定訊息及該描述訊息保存到通訊錄。 Specifically, the phone number is included in the description message generated by the terminal. When at least one of the code, instant messaging number, email address, and home address is used, a very important reason for the user to use the specific message again may be that the phone number is used, so that the user can view the corresponding specific message later. The terminal can save the specific message and the description message to the address book.
舉例來說,以特定訊息為特定字串 ‘13815674236’為例,終端可以將特定字串和描述訊息按照第2E圖或第2F圖所示的格式儲存至電話號碼通訊錄中。 For example, a specific message is a specific string For example, 13815674236', the terminal can store the specific string and the description message into the phone number address book according to the format shown in FIG. 2E or FIG. 2F.
第二、若該描述訊息中包括網址,則將該特定訊 息及該描述訊息保存到網址收藏夾、網址快速訪問、稍後閱讀、捷徑方式以及筆記中的至少一種。 Second, if the description message includes a web address, the specific message will be The description message is saved to at least one of a URL favorites, a quick URL access, a later read, a shortcut, and a note.
具體地,當描述訊息中包括網址時,用戶之後再 次查看該特定訊息的一個很大的原因是為了查看該特定訊息中網址所對應的頁面內容,因此為了方便用戶使用,終端可以將特定字串及其描述訊息保存到網址收藏夾、網址快速訪問、稍後閱讀以及捷徑方式中的至少一種。 Specifically, when the description message includes a URL, the user then One of the big reasons for viewing this particular message is to view the page content corresponding to the URL in the specific message, so for the convenience of the user, the terminal can save the specific string and its description message to the URL favorites, URL quick access. At least one of the later reading and shortcut methods.
第三、若該描述訊息中包括圖片、語音或視訊,則將該特定訊及該描述訊息保存到指定路徑下。 Third, if the description message includes a picture, a voice, or a video, the specific message and the description message are saved to the specified path.
具體地,當描述訊息中包括圖片、語音或視訊時,終端可以將該特定訊息及該描述訊息保存到指定路徑下,例如保存到終端之桌面上,或者保存到儲存所接收到之通訊訊息的應用程序的根目錄下,本實施例並不對此進行限定。 Specifically, when the description message includes a picture, a voice, or a video, the terminal may save the specific message and the description message to a specified path, for example, to a desktop of the terminal, or save the stored communication message. In the root directory of the application, this embodiment does not limit this.
第四、若該描述訊息中包括電話號碼、即時通訊 號碼和郵件地址中的至少一者,又包括網址、圖片、語音或視訊,則將該特定訊息及該描述訊息保存到通訊錄。 Fourth, if the description message includes a phone number, instant messaging At least one of the number and the email address, including the URL, picture, voice or video, saves the specific message and the description message to the address book.
具體地,當描述訊息中既包括電話號碼、即時通 訊號碼或郵件地址,又包括網址、圖片、語音或視訊時,用戶再次使用該特定訊息很可能是因為需要使用其中的電話號碼、即時通訊號碼或郵件地址,因此此時終端可以優先將該特定訊息及該描述訊息儲存至通訊錄。 Specifically, when the description message includes both a phone number and an instant message When the number or email address, including the URL, picture, voice or video, the user re-uses the specific message, it is likely that the phone number, instant message number or email address is needed, so the terminal can prioritize the specific The message and the description message are stored in the address book.
在實際的實現過程中,當描述訊息中既包括電話 號碼、即時通訊號碼或郵件地址,又包括網址、圖片、語音或視訊時,該特定訊息可以為圖片訊息、語音訊息或視訊訊息,終端將該特定訊息及該描述訊息儲存至通訊錄的步驟可以包括:終端將電話號碼、即時通訊號碼或郵件地址作為內容,將圖片訊息、語音訊息或視訊訊息的名稱作為名稱;以及將該特定訊息的其它描述訊息作為備註訊息。進一步地,當描述訊息中包括圖片時,終端還可以將此圖片作為頭像。 In the actual implementation process, when the description message includes both the phone The number, the instant message number, or the email address, including the URL, the picture, the voice, or the video, may be a picture message, a voice message, or a video message, and the terminal may save the specific message and the description message to the address book. The terminal includes the phone number, the instant messaging number or the email address as the content, the name of the picture message, the voice message or the video message as the name, and other description messages of the specific message as the comment message. Further, when the description message includes a picture, the terminal may also use the picture as an avatar.
舉例來說,以描述訊息中同時包括電話號碼和圖 片為例,終端可以將圖片訊息作為頭像,將圖片訊息的名稱‘招才納士’作為名稱,將電話號碼作為內容,將圖片訊息的描述訊息作為備註訊息,具體請參閱第2G圖。 For example, to include both the phone number and the map in the description message For example, the terminal can use the picture message as an avatar, the name of the picture message ‘招才纳士’ as the name, the phone number as the content, and the description message of the picture message as the comment message. For details, please refer to the 2G picture.
第五、若該描述訊息中包括網址,又包括圖片、 語音或視訊,則將該特定訊息及該描述訊息保存到網址收藏夾、網址快速訪問、稍後閱讀、捷徑方式以及筆記中的至少一種。 Fifth, if the description message includes a web address, it also includes a picture, Voice or video, save the specific message and the description message to at least one of a URL favorite, a quick URL access, a later read, a shortcut, and a note.
當描述訊息中既包括網址,又包括圖片、語音或 視訊時,用戶再次查看該特定訊息的目的很可能是需要查看該特定訊息中網址所對應的頁面內容,因此此時終端可以優先將該特定訊息及該描述訊息儲存至至網址收藏夾、網址快 速訪問、稍後閱讀、捷徑方式以及筆記中的至少一種,在此不再贅述。 When the description message includes both the URL and the image, voice or During video browsing, the purpose of the user to view the specific message again is likely to be to view the content of the page corresponding to the URL in the specific message, so the terminal can preferentially store the specific message and the description message to the URL favorites, and the URL is fast. At least one of speed access, later reading, shortcut method, and notes will not be described here.
綜上,本實施例提供的訊息儲存方法係透過識別 通訊訊息中的特定訊息,在接收到指示保存該特定訊息的觸發訊號之後,根據該通訊訊息產生該特定訊息的描述訊息,從而儲存該特定訊息和該描述訊息。本實施例解決了習知技術中訊息儲存方法儲存效率低的問題,達到在接收到觸發訊號之後,可以根據通訊訊息自動保存特定訊息,提高了訊息儲存之效率。同時,本實施例透過對不同類型的特定訊息產生不同的描述訊息,並將特定訊息按照描述訊息中具體包括的類型分別進行儲存,達到了用戶之後可以很容易地透過終端儲存的內容查詢到需要的訊息,提高查詢之效率。 In summary, the message storage method provided in this embodiment is transparently identified. The specific message in the communication message, after receiving the trigger signal indicating that the specific message is saved, generates a description message of the specific message according to the communication message, thereby storing the specific message and the description message. This embodiment solves the problem of low storage efficiency of the message storage method in the prior art, and after receiving the trigger signal, the specific message can be automatically saved according to the communication message, thereby improving the efficiency of message storage. In the meantime, the present embodiment generates different description messages for different types of specific messages, and stores the specific messages according to the types specifically included in the description message, so that the content that can be easily stored by the terminal can be easily found after the user needs to be queried. The message to improve the efficiency of the query.
請參閱第3圖,其顯示本發明的一個實施例提供的訊息儲存裝置的結構方塊圖,該訊息儲存裝置可透過軟體、硬體或兩者的結合實現,成為通訊終端中的全部或部分。該訊息儲存裝置可包括一訊息識別模組310、一訊號接收模組320、一訊息產生模組330和一訊息儲存模組340,各模組之作用如下。 Please refer to FIG. 3, which is a block diagram showing the structure of a message storage device according to an embodiment of the present invention. The message storage device can be implemented by software, hardware or a combination of the two to become all or part of the communication terminal. The message storage device can include a message recognition module 310, a signal receiving module 320, a message generating module 330, and a message storage module 340. The functions of the modules are as follows.
訊息識別模組310,用於識別通訊訊息中的特定訊息;訊號接收模組320,用於接收指示保存訊息識別模組310識別得到的該特定訊息的觸發訊號;訊息產生模組330,用於當訊息接收模組320接收到該觸發訊號時,根據該通訊訊息產生該特定訊息的描述訊息;以及訊息儲存模組330,用於儲存訊息識別模組310識別得到的該特定訊息和訊息產生模組330產生的該描述訊息。 The message recognition module 310 is configured to identify a specific message in the communication message, and the signal receiving module 320 is configured to receive a trigger signal for indicating the specific message identified by the message recognition module 310. The message generation module 330 is configured to: When the message receiving module 320 receives the trigger signal, the description message of the specific message is generated according to the communication message; and the message storage module 330 is configured to store the specific message and the message generating mode identified by the message recognition module 310. The description message generated by group 330.
綜上,本實施例提供的訊息儲存裝置係透過識別 通訊訊息中的特定訊息,在接收到指示保存該特定訊息的觸發訊號之後,根據該通訊訊息產生該特定訊息的描述訊息,從而儲存該特定訊息和該描述訊息。本實施例解決了習知技術中訊息儲存方法儲存效率低的問題,達到在接收到觸發訊號之後,可以根據通訊訊息自動保存特定訊息,提高了訊息儲存之效率。 In summary, the message storage device provided in this embodiment is transparently identified. The specific message in the communication message, after receiving the trigger signal indicating that the specific message is saved, generates a description message of the specific message according to the communication message, thereby storing the specific message and the description message. This embodiment solves the problem of low storage efficiency of the message storage method in the prior art, and after receiving the trigger signal, the specific message can be automatically saved according to the communication message, thereby improving the efficiency of message storage.
請參閱第4圖,其顯示本發明另一實施例提供的 訊息儲存裝置的結構方塊圖,該訊息儲存裝置可透過軟體、硬體或兩者的結合實現,成為通訊終端中的全部或部分。該訊息儲存裝置可包括一訊息識別模組310、一訊號接收模組320、一訊息產生模組330和一訊息儲存模組340,各模組之作用如下。 Please refer to FIG. 4, which shows another embodiment of the present invention. A block diagram of a message storage device that can be implemented in software, hardware, or a combination of both to become all or part of a communication terminal. The message storage device can include a message recognition module 310, a signal receiving module 320, a message generating module 330, and a message storage module 340. The functions of the modules are as follows.
訊息識別模組310,用於識別通訊訊息中的特定訊息;訊號接收模組320,用於接收指示保存訊息識別模組310識別得到的該特定訊息的觸發訊號;訊息產生模組330,用於當訊號接收模組320接收到該觸發訊號時,根據該通訊訊息產生該特定訊息的描述訊息;以及訊息儲存模組330,用於儲存訊息識別模組310識別得到的該特定訊息和訊息產生模組330產生的該描述訊息。 The message recognition module 310 is configured to identify a specific message in the communication message, and the signal receiving module 320 is configured to receive a trigger signal for indicating the specific message identified by the message recognition module 310. The message generation module 330 is configured to: When the signal receiving module 320 receives the trigger signal, the description message of the specific message is generated according to the communication message; and the message storage module 330 is configured to store the specific message and the message generating mode identified by the message recognition module 310. The description message generated by group 330.
在本實施例的一種可能的實現方式中,訊息識別模組310包括:一第一識別單元311,用於在該通訊訊息中包括文本訊息時,透過預定的識別方式識別該文本訊息中的特定字串以 及該特定字串的類型,將該特定字串作為該特定訊息,並將該特定字串的類型作為該特定訊息的類型;一第二識別單元312,用於在該通訊訊息中包括圖片訊息時,將該圖片訊息作為該特定訊息,並將圖片作為該特定訊息的類型;一第三識別單元313,用於在該通訊訊息中包括語音訊息時,將該語音訊息作為該特定訊息,並將語音作為該特定訊息的類型;以及一第四識別單元314,用於在該通訊訊息中包括視訊訊息時,將該視訊訊息作為該特定訊息,並將視訊作為該特定訊息的類型。 In a possible implementation manner of the embodiment, the message recognition module 310 includes: a first identification unit 311, configured to identify a specific one of the text messages by using a predetermined identification manner when the text message is included in the communication message. String And the type of the specific string, the specific string is used as the specific message, and the type of the specific string is used as the type of the specific message; a second identifying unit 312 is configured to include the image message in the communication message. The picture message is used as the specific message, and the picture is used as the type of the specific message; a third identifying unit 313 is configured to use the voice message as the specific message when the voice message is included in the communication message, and The voice is used as the type of the specific message; and a fourth identifying unit 314 is configured to use the video message as the specific message when the video message is included in the communication message, and use the video as the type of the specific message.
在本實施例的一種可能的實現方式中,訊息產生模組330包括:一第一產生單元331,用於在該特定訊息為該特定字串時,根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息以及該特定訊息的類型中的至少一種產生該特定字串的描述訊息;一第二產生單元332,用於在該特定訊息為該圖片訊息時,根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過光學字元辨識對該圖片訊息識別出的文字以及該特定訊息的類型中的至少一種產生該圖片訊息的描述訊息; 一第三產生單元333,用於在該特定訊息為該語音訊息時,根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別對該語音訊息進行辨識而獲取的文字以及該特定訊息的類型中的至少一種產生該語音訊息的描述訊息;以及一第四產生單元334,用於在該特定訊息為該視訊訊息時,根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別及/或光學字元識別對該視訊訊息進行辨識而獲取的文字、透過該視訊訊息的連結而獲取的文字以及該特定訊息的類型中的至少一種產生該視訊訊息的描述訊息。 In a possible implementation manner of the embodiment, the message generating module 330 includes: a first generating unit 331, configured to send, according to the time corresponding to sending and receiving the communication message, when the specific message is the specific string. The at least one of the identity of the communication peer, the content of the communication message, the context message of the communication message, and the type of the specific message generates a description message of the specific string; a second generating unit 332 is configured to: When the specific message is the picture message, according to the time corresponding to sending and receiving the communication message, the identity of the communication peer that sends the communication message, the content of the communication message, the context message of the communication message, and the identification through the optical character At least one of the text recognized by the picture message and the type of the specific message generates a description message of the picture message; a third generating unit 333, configured to: when the specific message is the voice message, according to the time corresponding to the sending and receiving of the communication message, the identity of the communication peer that sends the communication message, the content of the communication message, and the communication message a context message, a text obtained by recognizing the voice message by voice recognition, and at least one of a type of the specific message generating a description message of the voice message; and a fourth generating unit 334, configured to: The video message is based on the time corresponding to receiving and transmitting the communication message, the identity of the communication peer transmitting the communication message, the content of the communication message, the context message of the communication message, and the recognition by voice recognition and/or optical character recognition. The text obtained by the identification of the video message, the text obtained through the link of the video message, and at least one of the types of the specific message generate a description message of the video message.
在本實施例的一種可能的實現方式中,訊息儲存模組340包括:一第一儲存單元341,用於在該描述訊息中包括電話號碼、即時通訊號碼、郵件地址和住宅地址中的至少一者時,將該特定訊息及該描述訊息保存到通訊錄;一第二儲存單元342,用於在該描述訊息中包括網址時,將該特定訊息及該描述訊息保存到網址收藏夾、網址快速訪問、稍後閱讀、捷徑方式以及筆記中的至少一種;以及一第三儲存單元343,用於在該描述訊息中包括圖片、語音或視訊時,將該特定訊息及該描述訊息保存到指定路徑下。 In a possible implementation manner of the embodiment, the message storage module 340 includes: a first storage unit 341, configured to include at least one of a phone number, an instant messaging number, a mail address, and a residential address in the description message. The specific message and the description message are saved to the address book; a second storage unit 342 is configured to save the specific message and the description message to the URL favorite when the website includes the website address, and the website address is fast At least one of accessing, reading later, shortcut mode, and notes; and a third storage unit 343 for saving the specific message and the description message to the specified path when the description message includes a picture, a voice, or a video under.
在本實施例的一種可能的實現方式中,訊息儲存模組340包括:一第四儲存單元344,用於在該描述訊息中包括電話號碼、即時通訊號碼和郵件地址中的至少一者,且包括網址、圖片、語音或視訊時,將該特定訊息及該描述訊息保存到通訊錄;以及一第五儲存單元345,用於在該描述訊息中包括網址,且包括圖片、語音或視訊時,將該特定訊息及該描述訊息保存到網址收藏夾、網址快速訪問、稍後閱讀、捷徑方式以及筆記中的至少一種。 In a possible implementation manner of the embodiment, the message storage module 340 includes: a fourth storage unit 344, configured to include at least one of a phone number, an instant messaging number, and a mail address in the description message, and The specific message and the description message are saved to the address book when the website address, the picture, the voice or the video is included, and a fifth storage unit 345 is configured to include the website address in the description message, and includes the picture, voice or video. Save the specific message and the description message to at least one of a URL favorite, a quick URL access, a later read, a shortcut, and a note.
在本實施例的一種可能的實現方式中,該訊息儲存裝置還包括:一按鈕顯示模組350,用於在該特定訊息的預定位置處顯示指示保存該特定訊息的快捷按鈕,該預定位置包括在該特定訊息之前、之後、上方、下方、左上角、左下角、右上角以及右下角中的任一位置;其中訊號接收模組320用於接收作用於按鈕顯示模組350顯示的該快捷按鈕上的觸發訊號。 In a possible implementation manner of the embodiment, the message storage device further includes: a button display module 350, configured to display, at a predetermined position of the specific message, a shortcut button indicating that the specific message is saved, the predetermined location includes Any one of the front, the back, the top, the bottom, the upper left corner, the lower left corner, the upper right corner, and the lower right corner of the specific message; wherein the signal receiving module 320 is configured to receive the shortcut button that is displayed on the button display module 350 Trigger signal on.
綜上,本實施例提供的訊息儲存裝置係透過識別通訊訊息中的特定訊息,在接收到指示保存該特定訊息的觸發訊號之後,根據該通訊訊息產生該特定訊息的描述訊息,從而儲存該特定訊息和該描述訊息。本實施例解決了習知技術中訊息儲存方法儲存效率低的問題,達到在接收到觸發訊號之後,可以根據通訊訊息自動保存特定訊息,提高了訊息儲存之效率。 In summary, the message storage device provided in this embodiment generates a description message of the specific message according to the communication message after receiving the trigger signal indicating that the specific message is saved by identifying the specific message in the communication message, thereby storing the specific message. Message and the description message. This embodiment solves the problem of low storage efficiency of the message storage method in the prior art, and after receiving the trigger signal, the specific message can be automatically saved according to the communication message, thereby improving the efficiency of message storage.
請參閱第5圖,其顯示本發明實施例提供的通訊 終端的結構方塊圖,該通訊終端用於實施上述實施例所提供的訊息儲存方法。本實施例中的通訊終端可包括一個或多個如下組成部分:用於執行計算機程序指令以完成各種流程和方法的處理器、用於訊息程序指令和儲存程序指令的隨機存取儲存器(RAM)和只讀儲存器(ROM)、用於儲存資料和訊息的儲存器、I/O設備、介面和天線等。 Please refer to FIG. 5, which shows the communication provided by the embodiment of the present invention. A block diagram of the terminal, which is used to implement the message storage method provided by the foregoing embodiment. The communication terminal in this embodiment may include one or more of the following components: a processor for executing computer program instructions to perform various processes and methods, a random access memory for message program instructions and stored program instructions (RAM) ) and read-only memory (ROM), storage for storing data and messages, I/O devices, interfaces, and antennas.
具體地,通訊終端400可包括RF(Radio Frequency,射頻)電路410、儲存器420、輸入單元430、顯示單元440、傳感器450、音訊電路460、WiFi(Wireless Fidelity,無線保真)模組470、處理器480、電源482、攝影鏡頭490等部件。所屬技術領域中具有通常知識者可以理解,第5圖所示的通訊終端之結構並不構成對終端的限定,可以包括比第5圖所顯示的更多或更少的部件,或者組合某些部件,或者不同的部件佈置。 Specifically, the communication terminal 400 may include RF (Radio) Frequency (RF) circuit 410, memory 420, input unit 430, display unit 440, sensor 450, audio circuit 460, WiFi (Wireless Fidelity) module 470, processor 480, power supply 482, photographic lens 490, etc. component. It will be understood by those of ordinary skill in the art that the structure of the communication terminal shown in FIG. 5 does not constitute a limitation to the terminal, and may include more or less components than those shown in FIG. 5, or may be combined with some Parts, or different parts.
下面結合第5圖,對通訊終端400的各個構成部 件進行具體介紹。 In the following, in conjunction with FIG. 5, the components of the communication terminal 400 are combined. The article is specifically introduced.
RF電路410可用於收發訊息或通話過程中,訊號的接收和發送,特別地,將基地台的下行訊息接收後,交由處理器480進行處理;另外,將上行的資料發送給基地台。通常,RF電路410包括但不限於:天線、至少一個放大器、收發信機、耦合器、LNA(Low Noise Amplifier,低雜訊放大器)、雙工器等。此外,RF電路410還可以透過無線通訊與無線網路和其他設備通訊。該無線通訊可以使用任一通訊標準或協議,包括但不限於:GSM(Global System of Mobile Communication,全球行動通訊系統)、GPRS(General Packet Radio Service,通用封包無線服務)、CDMA(Code Division Multiple Access,碼分多工)、WCDMA(Wideband Code Division Multiple Access,寬頻碼分多工)、LTE(Long Term Evolution,長期演進)、電子郵件、SMS(Short Messaging Service,簡訊服務)等。 The RF circuit 410 can be used for receiving and transmitting signals during the transmission or reception of a message or a call. Specifically, after receiving the downlink message of the base station, it is processed by the processor 480. In addition, the uplink data is sent to the base station. Generally, the RF circuit 410 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuit 410 can communicate with wireless networks and other devices via wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to: GSM (Global System of Mobile Communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access) , code division multiplexing), WCDMA (Wideband Code Division) Multiple Access, LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and so on.
儲存器420可用於儲存軟體程序以及模組,處理器480透過運行儲存在儲存器420的軟體程序以及模組,從而執行通訊終端400的各種功能、應用以及資料處理。儲存器420主要可包括儲存程序區和儲存資料區,其中儲存程序區可儲存操作系統、至少一個功能所需的應用程序(例如聲音播放功能、圖像播放功能等)等;儲存資料區可儲存根據通訊終端400使用所創建的資料(比如音訊資料、電話簿等)。此外,儲存器420可以包括高速隨機存取儲存器,還可以包括非揮發性儲存器,例如至少一個磁碟儲存器件、快閃記憶體器件、或其他揮發性固態儲存器件。 The storage unit 420 can be used to store software programs and modules. The processor 480 executes various functions, applications, and data processing of the communication terminal 400 by running software programs and modules stored in the storage unit 420. The storage unit 420 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the storage data area can be stored. The created data (such as audio material, phone book, etc.) is used according to the communication terminal 400. In addition, the storage 420 can include a high speed random access memory, and can also include non-volatile storage, such as at least one disk storage device, flash memory device, or other volatile solid state storage device.
輸入單元430可用於接收輸入的數字或字符訊息,以及產生與通訊終端400的用戶設置及功能控制有關的訊號輸入。具體地,輸入單元430可包括觸控面板431以及其他輸入設備432。觸控面板431也稱為觸控螢幕,其可收集用戶在其上或附近的觸摸操作(比如用戶使用手指、觸控筆等任何適合的物體或附件在觸控面板431上或在觸控面板431附近的操作),並根據預先設定的程式驅動相應的連接裝置。可選的,觸控面板431可包括觸控檢測裝置和觸控控制器兩個部分。觸控檢測裝置檢測用戶的觸摸方位,並檢測觸摸操作帶來的訊號,將訊號傳送給觸控控制器;觸控控制器從觸控檢測裝置上接收觸摸訊息,並將它轉換成觸點坐標,再送給處理器480,並能接收處理器480發來的命令並加以執行。此外,可以採用電阻式、電容式、紅外線以及表面聲波等多種類型實現觸控面板431。除了觸控面板431外,輸入單元430還可以包括其他輸入設備432。具體地,其他輸入設備 432可以包括但不限於:物理鍵盤、功能鍵(比如音量控制按鍵、開關按鍵等)、軌跡球、滑鼠、搖桿等中的一種或多種。 The input unit 430 can be configured to receive an input digital or character message and to generate a signal input related to user settings and function control of the communication terminal 400. Specifically, the input unit 430 may include a touch panel 431 and other input devices 432. The touch panel 431 is also referred to as a touch screen, and can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 431 or on the touch panel. The operation near 431), and the corresponding connection device is driven according to a preset program. Optionally, the touch panel 431 can include two parts: a touch detection device and a touch controller. The touch detection device detects the touch orientation of the user, detects the signal from the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch message from the touch detection device and converts it into contact coordinates. And then sent to the processor 480, and can receive the command sent by the processor 480 and execute it. In addition, the touch panel 431 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 431, the input unit 430 may also include other input devices 432. Specifically, other input devices 432 may include, but is not limited to, a physical keyboard, one or more of a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, a rocker, and the like.
顯示單元440可用於顯示由用戶輸入的訊息或 提供給用戶的訊息以及終端400的各種選單。顯示單元440可包括顯示面板441,可選的,可以採用LCD(Liquid Crystal Display,液晶顯示器)、OLED(Organic Light-Emitting Diode,有機發光二極體)等形式來配置顯示面板441。進一步地,觸控面板431可覆蓋顯示面板441,當觸控面板431檢測到在其上或附近的觸摸操作後,傳送給處理器480以確定觸摸事件的類型,隨後處理器480根據觸摸事件的類型在顯示面板441上提供相應的視覺輸出。雖然在第5圖中,觸控面板431與顯示面板441是作為兩個獨立的部件來實現通訊終端400的輸入和輸出功能,但是在某些實施例中,可以將觸控面板431與顯示面板441集成而實現通訊終端400的輸入和輸出功能。 The display unit 440 can be used to display a message input by a user or The message provided to the user and the various menus of the terminal 400. The display unit 440 may include a display panel 441. Alternatively, the display panel 441 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch panel 431 can cover the display panel 441. When the touch panel 431 detects a touch operation on or near the touch panel 431, it transmits to the processor 480 to determine the type of the touch event, and then the processor 480 according to the touch event. The type provides a corresponding visual output on display panel 441. Although in FIG. 5, the touch panel 431 and the display panel 441 function as two independent components to implement the input and output functions of the communication terminal 400, in some embodiments, the touch panel 431 and the display panel may be The 441 is integrated to implement the input and output functions of the communication terminal 400.
通訊終端400還可包括至少一種傳感器450,例 如陀螺儀傳感器、磁感應傳感器、光傳感器、運動傳感器以及其他傳感器。具體地,光傳感器可包括環境光傳感器及接近傳感器,其中環境光傳感器可根據環境光線的明暗來調節顯示面板441的亮度,接近傳感器可在通訊終端400移動到耳邊時,關閉顯示面板441和/或背光。作為運動傳感器的一種,加速度傳感器可檢測各個方向上(一般為三軸)加速度的大小,可檢測出重力的大小及方向,可用於辨識終端之姿態的應用(比如橫豎屏切換、相關遊戲、磁力計姿態校準)、振動識別相關功能(比如計步器、敲擊)等;至於通訊終端400還可配置氣壓計、濕度計、溫度計、紅外線傳感器等其他傳感器,在此不再贅述。 The communication terminal 400 may further include at least one sensor 450, for example Such as gyro sensors, magnetic induction sensors, light sensors, motion sensors and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 441 according to the brightness of the ambient light, and the proximity sensor may close the display panel 441 when the communication terminal 400 moves to the ear. / or backlight. As a kind of motion sensor, the acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes), can detect the magnitude and direction of gravity, and can be used to identify the attitude of the terminal (such as horizontal and vertical screen switching, related games, magnetic force The position recognition calibration function, the vibration recognition related function (such as a pedometer, a tap), etc.; as for the communication terminal 400, other sensors such as a barometer, a hygrometer, a thermometer, an infrared sensor, and the like may be disposed, and details are not described herein again.
音訊電路460、揚聲器及傳聲器可提供用戶與通 訊終端400之間的音訊介面。音訊電路460可將接收到的音 訊資料轉換後的電訊號,傳輸到揚聲器,由揚聲器轉換為聲音訊號輸出;另一方面,傳聲器將收集的聲音訊號轉換為電訊號,由音訊電路460接收後轉換為音訊資料,再將音訊資料輸出至處理器480處理後,經RF電路410發送給例如另一終端,或者將音訊資料輸出至儲存器420以便進一步處理。 Audio circuit 460, speaker and microphone can provide users and communication The audio interface between the terminals 400. The audio circuit 460 can receive the received sound The converted electrical signal is transmitted to the speaker and converted into an audio signal output by the speaker. On the other hand, the microphone converts the collected audio signal into a telecommunication signal, which is received by the audio circuit 460 and converted into audio data, and then the audio data is converted. The output is processed by the processor 480, sent to the other terminal via the RF circuit 410, or the audio data is output to the storage 420 for further processing.
WiFi屬於短距離無線傳輸技術,通訊終端400 透過WiFi模組470可以幫助用戶收發電子郵件、瀏覽網頁和訪問串流式媒體等,它為用戶提供了無線的寬頻網際網路訪問。雖然第5圖顯示出了WiFi模組470,但是可以理解的是,其並不屬於通訊終端400的必備構成,完全可以根據需要在不改變發明之精神的情況下而省略。 WiFi is a short-range wireless transmission technology, communication terminal 400 The WiFi module 470 can help users to send and receive emails, browse web pages, and access streaming media, etc., which provides users with wireless broadband Internet access. Although FIG. 5 shows the WiFi module 470, it can be understood that it does not belong to the essential configuration of the communication terminal 400, and can be omitted as needed without changing the spirit of the invention.
處理器480是通訊終端400的控制中心,利用各 種埠和線路連接整個通訊終端400的各個部分,透過運行或執行儲存在儲存器420內的軟體程序和/或模組,以及調用儲存在儲存器420內的資料,執行通訊終端400的各種功能和處理資料,從而對通訊終端400進行整體監控。可選的,處理器480可包括一個或多個處理核心;優選的,處理器480可集成應用處理器和調製解調處理器,其中應用處理器主要處理操作系統、用戶界面和應用程序等,調製解調處理器主要處理無線通訊。可以理解的是,上述調製解調處理器也可以不集成到處理器480中。 The processor 480 is a control center of the communication terminal 400, and utilizes each The various lines of the communication terminal 400 are connected to the various parts of the communication terminal 400, and various functions of the communication terminal 400 are executed by running or executing software programs and/or modules stored in the storage unit 420 and calling data stored in the storage unit 420. And processing the data to thereby perform overall monitoring of the communication terminal 400. Optionally, the processor 480 may include one or more processing cores; preferably, the processor 480 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 480.
通訊終端400還包括為各個部件供電的電源482 (例如電池),優選的,電源可以透過電源管理系統與處理器480邏輯相連,從而透過電源管理系統實現充電、放電管理以及功耗管理等功能。 The communication terminal 400 also includes a power supply 482 that supplies power to the various components. (For example, a battery), preferably, the power source can be logically connected to the processor 480 through the power management system, thereby implementing functions such as charging, discharging management, and power management through the power management system.
攝影鏡頭490一般由鏡頭、圖像傳感器、埠、數 位訊號處理器、CPU以及顯示螢幕等組成,其中鏡頭固定在圖像傳感器的上方,可以透過手動調節鏡頭來改變聚焦;圖 像傳感器相當於傳統相機的“底片”,是攝影鏡頭採集圖像的心臟;埠用於把攝影鏡頭利用排線、板對板連接器、彈簧式連接方式與終端主機板連接,將採集的圖像發送給儲存器420;數位訊號處理器透過數學運算對採集的圖像進行處理,將採集到的類比圖像訊號轉換為數位圖像,並透過埠發送給儲存器420。 The photographic lens 490 is generally composed of a lens, an image sensor, a cymbal, and a number A bit signal processor, a CPU, and a display screen, wherein the lens is fixed above the image sensor, and the focus can be changed by manually adjusting the lens; The image sensor is equivalent to the "film" of the traditional camera, and is the heart of the image taken by the photographic lens; 埠 is used to connect the photographic lens with the cable, the board-to-board connector, and the spring-type connection to the terminal motherboard. The image is sent to the storage unit 420. The digital signal processor processes the acquired image through mathematical operations, converts the collected analog image signal into a digital image, and transmits the image to the storage device 420 through the UI.
儘管未示出的,通訊終端400還可以包括藍牙模組及其它模組,在此不再贅述。 Although not shown, the communication terminal 400 may further include a Bluetooth module and other modules, and details are not described herein again.
通訊終端400除了包括一個或多個處理器外,還包括有儲存器以及一個或多個模組或程序,其中一個或多個模組或程序儲存於該儲存器中,並被配置成由一個或多個處理器執行,上述一個或多個模組或程序具有如下功能:識別通訊訊息中的特定訊息;接收指示保存該特定訊息的觸發訊號;當接收到該觸發訊號時,根據該通訊訊息產生該特定訊息的描述訊息;以及儲存該特定訊息和該描述訊息。 The communication terminal 400 includes, in addition to one or more processors, a storage and one or more modules or programs, wherein one or more modules or programs are stored in the storage and configured to be configured by one Or a plurality of processors, the one or more modules or programs having the following functions: identifying a specific message in the communication message; receiving a trigger signal indicating that the specific message is saved; and receiving the trigger signal according to the communication message Generating a description message for the particular message; and storing the particular message and the description message.
在本實施例的一種可能的實現方式中,識別該通訊訊息中的特定訊息的模組或程序包括:若該通訊訊息中包括文本訊息,則透過預定的識別方式識別該文本訊息中的特定字串以及該特定字串的類型,將該特定字串作為該特定訊息,並將該特定字串的類型作為該特定訊息的類型;若該通訊訊息中包括圖片訊息,則將該圖片訊息作為該特定訊息,並將圖片作為該特定訊息的類型; 若該通訊訊息中包括語音訊息,則將該語音訊息作為該特定訊息,並將語音作為該特定訊息的類型;以及若該通訊訊息中包括視訊訊息,則將該視訊訊息作為該特定訊息,並將視訊作為該特定訊息的類型。 In a possible implementation manner of the embodiment, the module or the program for identifying the specific message in the communication message includes: if the communication message includes a text message, identifying a specific word in the text message by using a predetermined identification manner The string and the type of the specific string, the specific string is used as the specific message, and the type of the specific string is used as the type of the specific message; if the communication message includes a picture message, the picture message is used as the a specific message and the image as the type of the particular message; If the communication message includes a voice message, the voice message is used as the specific message, and the voice is used as the type of the specific message; and if the communication message includes a video message, the video message is used as the specific message, and Use video as the type of this particular message.
在本實施例的一種可能的實現方式中,根據該通訊訊息產生該特定訊息的描述訊息的模組或程序包括:若該特定訊息為該特定字串,則根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息以及該特定訊息的類型中的至少一種產生該特定字串的描述訊息;若該特定訊息為該圖片訊息,則根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過光學字元識別對該圖片訊息辨識出的文字以及該特定訊息的類型中的至少一種產生該圖片訊息的描述訊息;若該特定訊息為該語音訊息,則根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別對該語音訊息進行辨識而獲取的文字以及該特定訊息的類型中的至少一種產生該語音訊息的描述訊息;以及若該特定訊息為該視訊訊息,則根據收發該通訊訊息所對應的時間、發送該通訊訊息的通訊對端的身份標識、該通訊訊息的內容、該通訊訊息的上下文訊息、透過語音識別及/或光學字元識別對該視訊訊息進行辨識而獲取的文字、透過 該視訊訊息的連結而獲取的文字以及該特定訊息的類型中的至少一種產生該視訊訊息的描述訊息。 In a possible implementation manner of the embodiment, the module or the program for generating the description message of the specific message according to the communication message includes: if the specific message is the specific string, according to the time corresponding to sending and receiving the communication message And at least one of the identity of the communication peer that sends the communication message, the content of the communication message, the context message of the communication message, and the type of the specific message generates a description message of the specific string; if the specific message is the picture The message is based on the time corresponding to the sending and receiving of the communication message, the identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, and the text recognized by the optical character to identify the picture message. And at least one of the types of the specific message generates a description message of the picture message; if the specific message is the voice message, the identity of the communication peer that sends the communication message according to the time corresponding to receiving and transmitting the communication message, The content of the communication message, the context message of the communication message, and the voice And generating at least one of the text obtained by identifying the voice message and the type of the specific message to generate a description message of the voice message; and if the specific message is the video message, according to the time corresponding to sending and receiving the communication message, The identity of the communication peer that sent the communication message, the content of the communication message, the context message of the communication message, the text obtained by recognizing the video message through voice recognition and/or optical character recognition, At least one of the text obtained by the link of the video message and the type of the specific message generates a description message of the video message.
在本實施例的一種可能的實現方式中,儲存該特定訊息和該描述訊息的模組或程序包括:若該描述訊息中包括電話號碼、即時通訊號碼、郵件地址和住宅地址中的至少一者,則將該特定訊息及該描述訊息保存到通訊錄;若該描述訊息中包括網址,則將該特定訊息及該描述訊息保存到網址收藏夾、網址快速訪問、稍後閱讀、捷徑方式以及筆記中的至少一種;以及若該描述訊息中包括圖片、語音或視訊,則將該特定訊及該描述訊息保存到指定路徑下。 In a possible implementation manner of this embodiment, the module or the program for storing the specific message and the description message includes: if the description message includes at least one of a phone number, an instant messaging number, an email address, and a residential address And saving the specific message and the description message to the address book; if the description message includes the website address, the specific message and the description message are saved to the URL favorites, the URL quick access, the later reading, the shortcut method, and the note At least one of the following; and if the description message includes a picture, a voice, or a video, the specific message and the description message are saved to the specified path.
在本實施例的一種可能的實現方式中,儲存該特定訊息和該描述訊息的模組或程序包括:若該描述訊息中包括電話號碼、即時通訊號碼和郵件地址中的至少一者,又包括網址、圖片、語音或視訊,則將該特定訊息及該描述訊息保存到通訊錄;以及若該描述訊息中包括網址,又包括圖片、語音或視訊,則將該特定訊息及該描述訊息保存到網址收藏夾、網址快速訪問、稍後閱讀、捷徑方式以及筆記中的至少一種。 In a possible implementation manner of this embodiment, the module or the program for storing the specific message and the description message includes: if the description message includes at least one of a phone number, an instant messaging number, and an email address, The specific message and the description message are saved to the address book by the URL, the picture, the voice or the video; and if the description message includes the website address, the picture, the voice or the video, the specific message and the description message are saved to At least one of URL favorites, URL quick access, later reading, shortcuts, and notes.
在本實施例的一種可能的實現方式中,在接收指示保存該特定訊息的觸發訊號的模組或程序之前,還包括:在該特定訊息的預定位置處顯示指示保存該特定訊息的快捷按鈕,該預定位置包括在該特定訊息之前、之後、上方、下方、左上角、左下角、右上角以及右下角中的任一位 置;其中接收指示保存該特定訊息的觸發訊號的模組或程序包括:接收作用於該快捷按鈕上的觸發訊號的模組或程序。 In a possible implementation manner of this embodiment, before receiving the module or the program indicating that the trigger signal of the specific message is saved, the method further includes: displaying a shortcut button indicating that the specific message is saved at a predetermined position of the specific message, The predetermined position includes any one of before, after, above, below, upper left, lower left, upper right, and lower right corner of the specific message The module or program that receives the trigger signal indicating that the specific message is saved includes: a module or a program that receives a trigger signal applied to the shortcut button.
綜上,本實施例提供的通訊終端係透過識別通訊訊息中的特定訊息,在接收到指示保存該特定訊息的觸發訊號之後,根據該通訊訊息產生該特定訊息的描述訊息,從而儲存該特定訊息和該描述訊息。本實施例解決了習知技術中訊息儲存方法儲存效率低的問題,達到在接收到觸發訊號之後,可以根據通訊訊息自動保存特定訊息,提高了訊息儲存之效率。 In summary, the communication terminal provided by the embodiment sends a description message of the specific message according to the communication message after receiving the trigger signal indicating that the specific message is saved by identifying the specific message in the communication message, thereby storing the specific message. And the description message. This embodiment solves the problem of low storage efficiency of the message storage method in the prior art, and after receiving the trigger signal, the specific message can be automatically saved according to the communication message, thereby improving the efficiency of message storage.
需要進一步說明的是,上述實施例提供的訊息儲存裝置和通訊終端在進行訊息儲存時,是以上述各功能模組的劃分進行舉例說明,而在實際應用中,可以根據需要而將上述功能分配由不同的功能模組完成,亦即將裝置的內部結構劃分成不同的功能模組,以完成以上描述的全部或者部分功能。另外,上述提供的訊息儲存裝置、通訊終端和訊息儲存方法屬於同一構思,其具體實現過程詳見方法實施例,在此不再贅述。 It should be further noted that the message storage device and the communication terminal provided by the foregoing embodiments are illustrated by dividing the foregoing functional modules during message storage, and in actual applications, the functions may be allocated according to needs. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the information storage device, the communication terminal, and the message storage method are provided in the same concept. For details, refer to the method embodiment, and details are not described herein.
上述本發明實施例的序列號僅僅是為了描述上的方便,並不代表實施例的優劣。 The serial numbers of the above embodiments of the present invention are merely for convenience of description, and do not represent the advantages and disadvantages of the embodiments.
所屬技術領域具有通常知識者可以理解實現上述實施例的全部或部分步驟可以透過硬體來完成,也可以透過與程序和指令相關的硬體完成,所述的程序可以儲存於一計算機可讀儲存介質中,上述提到的儲存介質可以是:只讀儲存器,磁碟或光碟等。 Those skilled in the art can understand that all or part of the steps of implementing the above embodiments may be implemented by hardware or by hardware related to programs and instructions, and the program may be stored in a computer readable storage. In the medium, the above mentioned storage medium may be: a read only memory, a magnetic disk or a compact disk.
雖然本發明已就較佳實施例揭露如上,然其並非用以限定本發明。本發明所屬技術領域中具有通常知識者, 在不脫離本發明之精神和範圍內,當可作各種之變更和潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。 While the invention has been described above in terms of preferred embodiments, it is not intended to limit the invention. Those of ordinary skill in the art to which the present invention pertains, Various changes and modifications can be made without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.
101‧‧‧識別通訊訊息中的特定訊息 101‧‧‧ Identify specific messages in communication messages
102‧‧‧接收指示保存該特定訊息的觸發訊號 102‧‧‧ Receive trigger signal to save the specific message
103‧‧‧當接收到該觸發訊號時,根據該通訊訊息產生該特定訊息的描述訊息 103‧‧‧ When receiving the trigger signal, the description message of the specific message is generated according to the communication message
104‧‧‧儲存該特定訊息和該描述訊息 104‧‧‧Save the specific message and the description message
Claims (32)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310452639.9A CN104516893B (en) | 2013-09-27 | 2013-09-27 | Information storage means, device and communicating terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201513634A TW201513634A (en) | 2015-04-01 |
| TWI597964B true TWI597964B (en) | 2017-09-01 |
Family
ID=52742051
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW103132162A TWI597964B (en) | 2013-09-27 | 2014-09-17 | Message storing method and device, and communication terminal |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN104516893B (en) |
| TW (1) | TWI597964B (en) |
| WO (1) | WO2015043443A1 (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105138553A (en) * | 2015-07-17 | 2015-12-09 | 小米科技有限责任公司 | Inter-terminal information sharing method and apparatus |
| CN105450867B (en) * | 2015-12-01 | 2019-01-15 | 深圳市万普拉斯科技有限公司 | Communication means and device based on pictorial information |
| CN106060220B (en) * | 2016-05-30 | 2019-03-05 | 维沃移动通信有限公司 | A method for creating contact information and a mobile terminal |
| CN106131277B (en) * | 2016-06-30 | 2019-06-07 | 维沃移动通信有限公司 | A kind of telephone number storage method and mobile terminal |
| CN106210231B (en) * | 2016-06-30 | 2019-03-05 | 维沃移动通信有限公司 | Information processing method and mobile terminal |
| CN106649469A (en) * | 2016-09-27 | 2017-05-10 | 深圳市金立通信设备有限公司 | Chat record information management method and terminal |
| CN106569811A (en) * | 2016-10-26 | 2017-04-19 | 福建中金在线信息科技有限公司 | Data updating method and device |
| CN107424604A (en) * | 2017-03-02 | 2017-12-01 | 深圳市金立通信设备有限公司 | The processing method and terminal of digital information in a kind of speech message |
| CN107391069A (en) * | 2017-07-27 | 2017-11-24 | 深圳市泰衡诺科技有限公司 | A kind of method for information display and information display system based on intelligent terminal |
| CN108521502A (en) * | 2018-03-15 | 2018-09-11 | 珠海格力电器股份有限公司 | Method and device for calling application |
| CN109977290A (en) * | 2019-03-14 | 2019-07-05 | 北京达佳互联信息技术有限公司 | Information processing method, system, device and computer readable storage medium |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1917662B (en) * | 2005-08-15 | 2010-06-09 | 深圳市经纬科技有限公司 | Unit and method for automatic processing short message of handset |
| KR101366315B1 (en) * | 2007-01-19 | 2014-02-20 | 엘지전자 주식회사 | Method for setting an abbreviated folder in mobile communication terminal, method for playing contents in mobile communication terminal and mobile communication terminal |
| CN101043674A (en) * | 2007-03-09 | 2007-09-26 | 董崇军 | Mobile telephone interactive information |
| CN201114592Y (en) * | 2007-07-02 | 2008-09-10 | 庆邦电子(深圳)有限公司 | Mobile phone for location information exchange via SMS |
| CN101980514A (en) * | 2010-08-05 | 2011-02-23 | 上海闻泰电子科技有限公司 | System for extracting short message contents of code division multiple access (CDMA) mobile phone and operating method thereof |
| CN102833390B (en) * | 2011-06-16 | 2016-07-06 | 富泰华工业(深圳)有限公司 | Mobile phone and SMS processing thereof |
| CN103067248B (en) * | 2011-10-19 | 2016-05-18 | 腾讯数码(天津)有限公司 | A kind of method and device that shows link summary info in instant communication software window |
| CN103200301B (en) * | 2012-01-10 | 2016-06-01 | 中兴通讯股份有限公司 | A kind of information saving method based on note and mobile terminal |
| CN103218363B (en) * | 2012-01-19 | 2018-05-04 | 腾讯科技(深圳)有限公司 | Information processing method and device |
| CN102761668A (en) * | 2012-07-13 | 2012-10-31 | 青岛海信传媒网络技术有限公司 | Method and device for dialing telephone call based on telephone number information in pictures |
| CN102999752A (en) * | 2012-11-15 | 2013-03-27 | 广东欧珀移动通信有限公司 | Method, device and terminal for fast recognition of local characters in pictures |
| CN103067259B (en) * | 2012-12-24 | 2015-04-08 | 符晓友 | Method and device used for sending and display and execution of special message instructions and based on instant messaging |
-
2013
- 2013-09-27 CN CN201310452639.9A patent/CN104516893B/en active Active
-
2014
- 2014-09-17 TW TW103132162A patent/TWI597964B/en active
- 2014-09-23 WO PCT/CN2014/087144 patent/WO2015043443A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| CN104516893B (en) | 2017-11-14 |
| WO2015043443A1 (en) | 2015-04-02 |
| CN104516893A (en) | 2015-04-15 |
| TW201513634A (en) | 2015-04-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI597964B (en) | Message storing method and device, and communication terminal | |
| WO2016082194A1 (en) | Message processing method and apparatus | |
| US10956653B2 (en) | Method and apparatus for displaying page and a computer storage medium | |
| CN108156508B (en) | Barrage information processing method and device, mobile terminal, server and system | |
| CN106332020B (en) | Short message merging method, device and terminal equipment | |
| CN105630846B (en) | Head portrait updating method and device | |
| WO2018196588A1 (en) | Information sharing method, apparatus and system | |
| CN103455585A (en) | Method, device and terminal for displaying commodity information | |
| JP6910300B2 (en) | A method for displaying chat history records and a device for displaying chat history records | |
| CN108735216A (en) | Voice question searching method based on semantic recognition and family education equipment | |
| CN108075966B (en) | A message processing method and mobile terminal | |
| CN107450744B (en) | Personal information input method and mobile terminal | |
| JP6915074B2 (en) | Message notification method and terminal | |
| CN106973168A (en) | Voice playing method and device and computer equipment | |
| WO2015043163A1 (en) | Method and apparatus for inputting account information | |
| CN108549681B (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
| CN108256100A (en) | A kind of information search method, mobile terminal and Cloud Server | |
| CN109495638B (en) | Information display method and terminal | |
| CN108038193A (en) | Game application searching method and device, electronic equipment and computer-readable storage medium | |
| US10630619B2 (en) | Electronic device and method for extracting and using semantic entity in text message of electronic device | |
| CN108804615B (en) | Sharing method and server | |
| CN106790915A (en) | Number Reorganization control method, device and corresponding server and mobile terminal | |
| WO2022253086A1 (en) | Application function searching method and apparatus, and electronic device | |
| US10528655B2 (en) | Method and device for inputting information into an entry field of an electronic communication | |
| WO2017008613A1 (en) | Recommendation content pushing method and apparatus, and terminal, server and system therefor |