CN111368530A - Method for preventing message from being mistakenly sent in instant messaging software and user terminal - Google Patents

Method for preventing message from being mistakenly sent in instant messaging software and user terminal Download PDF

Info

Publication number
CN111368530A
CN111368530A CN201811580340.0A CN201811580340A CN111368530A CN 111368530 A CN111368530 A CN 111368530A CN 201811580340 A CN201811580340 A CN 201811580340A CN 111368530 A CN111368530 A CN 111368530A
Authority
CN
China
Prior art keywords
instant messaging
keywords
messaging software
message
user terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811580340.0A
Other languages
Chinese (zh)
Inventor
李杨
朱慧光
顾鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Industrial Utechnology Research Institute
Original Assignee
Shanghai Industrial Utechnology Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Industrial Utechnology Research Institute filed Critical Shanghai Industrial Utechnology Research Institute
Priority to CN201811580340.0A priority Critical patent/CN111368530A/en
Publication of CN111368530A publication Critical patent/CN111368530A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Abstract

The invention provides a method for preventing message from being mistakenly sent in instant communication software and a user terminal, wherein the method comprises the following steps: extracting keywords of conversation contents in a conversation window of instant messaging software; storing the obtained keywords into a word stock; acquiring input information of an instant messaging software message window; and matching the input information with the keywords in the word stock, and sending a prompt message if the matching fails.

Description

Method for preventing message from being mistakenly sent in instant messaging software and user terminal
Technical Field
The invention relates to the technical field of computers, in particular to a method for preventing messages from being sent by mistake in instant messaging software and a user terminal.
Background
Instant messaging software, including WeChat and QQ, is a very common communication tool in people's daily life. When the software is used, the chat windows are often switched, so that the problem that the user mistakenly sends a message which is supposed to be sent to a certain person or a certain group to another person or group occurs, and embarrassment is caused. Although some software has a recall function to avoid this problem, it can only recall within a certain period of time, and the message being recalled is actually already sent into the window, and others can browse to the content that was sent in error before recall. Therefore, how to avoid the false transmission is still a problem to be solved.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method for preventing message from being sent by mistake in instant messaging software and a user terminal, which can prevent message from being sent by mistake.
In order to solve the above problems, the present invention provides a method for preventing messages from being mistakenly sent in instant messaging software, comprising the following steps: extracting keywords of conversation contents in a conversation window of instant messaging software; storing the obtained keywords into a word stock; acquiring input information of an instant messaging software message window; and matching the input information with the keywords in the word stock, and sending a prompt message if the matching fails.
Optionally, in the step of storing the obtained keyword into a word stock, synonyms, near-synonyms and antisense words of the obtained keyword are further written into the word stock; synonyms, and antonyms of the keyword are provided by a predetermined grouping list.
Optionally, the word stock further includes daily high frequency words.
The invention also provides a user terminal, which is provided with instant communication software and comprises a memory and an executor, wherein the memory stores the conversation content of a conversation window of the instant communication software, and the executor reads the conversation content and executes the following steps: extracting keywords of conversation contents in a conversation window of instant messaging software; storing the obtained keywords into a word stock; acquiring input information of an instant messaging software message window; and matching the input information with the keywords in the word stock, and sending a prompt message if the matching fails.
The invention arranges the content of the chat window into a word bank, and matches the input content to prevent the message from being sent by mistake.
Drawings
FIG. 1 is a schematic diagram illustrating the steps of a method according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a user terminal according to an embodiment of the present invention.
Detailed Description
The following describes in detail embodiments of a method for preventing mismessages in instant messaging software and a user terminal according to the present invention with reference to the accompanying drawings.
FIG. 1 is a schematic diagram illustrating the steps of the method of this embodiment, including: step S10, extracting the key words of the dialogue content in a dialogue window of the instant messaging software; step S11, storing the obtained keywords into a word stock; step S12, obtaining the input information of the instant communication software message window; and step S13, matching the input information with the keywords in the word stock, and sending out a prompt message if the matching fails.
Referring to step S10, keywords of the dialog contents in a dialog window of the instant messenger are extracted. The instant messaging software can be any one of the software such as WeChat, QQ, MSN, Skype and the like, and can also be the self-developed instant messaging software. The conversation window can be a group conversation or a point-to-point conversation between two users. By extracting characters in the conversation and intercepting words according to semantics, a plurality of natural words can be extracted, and then common pronouns, adverbs and fictional words, such as 'you, me, he', 'in, after, today, tomorrow, evening and night', and the like are removed, so that the keywords in the conversation window can be successfully extracted.
Referring to step S11, the acquired keywords are stored in a lexicon. Besides storing the keywords, the word bank can further write synonyms, near-synonyms and antisense words of the obtained keywords into the word bank for making more accurate judgment in the follow-up process. These synonyms, and antonyms may be provided by a predetermined grouping list. The thesaurus may further comprise daily high frequency words such as "good", "may", "bye", etc.
Referring to step S12, input information of the instant messenger message window is acquired. The acquisition timing should be that after the user finishes inputting, the user sends out the sending command, and before the message is sent to the message window, the user acquires the message first, so as to judge whether the message is sent by mistake.
Referring to step S13, the input information is matched with the keywords in the thesaurus, and if the matching fails, a prompt message is sent. Before matching, similar to step S10, word segmentation may be performed according to semantics to extract a plurality of natural words, and then common pronouns, adverbs, and null words are removed. If the matching fails, the similar topics are not lifted in the dialog box, and a prompt message is sent to prompt the user whether the topics are wrongly sent. And further writing synonyms, near-synonyms and antisense words of the obtained keywords into a word bank, and writing daily high-frequency words into the word bank, so that the recognition scale can be further relaxed, and frequent false alarm can be avoided.
Fig. 2 is a schematic structural diagram of the user terminal according to this embodiment, where the user terminal installs an instant messaging software, and includes a memory 21 and an executor 22, where the memory 21 stores a dialog content of a dialog window of the instant messaging software, and the executor 22 reads the dialog content and executes the steps shown in fig. 1.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A method for preventing message from being sent by mistake in instant messaging software is characterized by comprising the following steps:
extracting keywords of conversation contents in a conversation window of instant messaging software;
storing the obtained keywords into a word stock;
acquiring input information of an instant messaging software message window;
and matching the input information with the keywords in the word stock, and sending a prompt message if the matching fails.
2. The method of claim 1, wherein the step of storing the obtained keyword into a thesaurus further comprises writing synonyms, and antonyms of the obtained keyword into the thesaurus.
3. The method of claim 2, wherein synonyms, and antonyms of the keyword are provided by a predetermined grouping list.
4. The method of claim 1, wherein the thesaurus further comprises daily high frequency words.
5. A user terminal, which is provided with instant communication software and comprises a memory and an executor, wherein the memory stores conversation contents of a conversation window of the instant communication software, and the executor reads the conversation contents and executes the following steps:
extracting keywords of conversation contents in a conversation window of instant messaging software;
storing the obtained keywords into a word stock;
acquiring input information of an instant messaging software message window;
and matching the input information with the keywords in the word stock, and sending a prompt message if the matching fails.
6. The user terminal according to claim 5, wherein the step of storing the obtained keyword into a thesaurus further writes synonyms, and antonyms of the obtained keyword into the thesaurus.
7. The UE of claim 6, wherein the synonyms, and antonyms of the keyword are provided by a predetermined grouping list.
8. The user terminal of claim 5, wherein the thesaurus further comprises daily high frequency words.
CN201811580340.0A 2018-12-24 2018-12-24 Method for preventing message from being mistakenly sent in instant messaging software and user terminal Pending CN111368530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811580340.0A CN111368530A (en) 2018-12-24 2018-12-24 Method for preventing message from being mistakenly sent in instant messaging software and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811580340.0A CN111368530A (en) 2018-12-24 2018-12-24 Method for preventing message from being mistakenly sent in instant messaging software and user terminal

Publications (1)

Publication Number Publication Date
CN111368530A true CN111368530A (en) 2020-07-03

Family

ID=71207861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811580340.0A Pending CN111368530A (en) 2018-12-24 2018-12-24 Method for preventing message from being mistakenly sent in instant messaging software and user terminal

Country Status (1)

Country Link
CN (1) CN111368530A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390011A (en) * 2020-10-20 2022-04-22 腾讯科技(深圳)有限公司 Message processing method and device and readable storage medium
CN114900504A (en) * 2022-06-13 2022-08-12 重庆回形针信息技术有限公司 Problem solution tracking system, method and storage medium based on subject

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990086011A (en) * 1998-05-25 1999-12-15 정선종 How to Format Queries in Information Retrieval
CN104090875A (en) * 2013-04-01 2014-10-08 鸿富锦精密工业(深圳)有限公司 Information retrieval system and information retrieval method
US20140379719A1 (en) * 2013-06-24 2014-12-25 Tencent Technology (Shenzhen) Company Limited System and method for tagging and searching documents
US20150312197A1 (en) * 2014-04-25 2015-10-29 International Business Machines Corporation Prevention of sending messages by mistake
CN106375377A (en) * 2016-08-25 2017-02-01 深圳市金立通信设备有限公司 Data processing method and terminal
CN106911562A (en) * 2017-02-21 2017-06-30 苏州亮磊知识产权运营有限公司 A kind of information correction reminding method and its device in instant messaging
CN107633084A (en) * 2017-09-28 2018-01-26 武汉虹旭信息技术有限责任公司 Based on the public sentiment managing and control system and its method from media
CN108566330A (en) * 2018-03-21 2018-09-21 联想(北京)有限公司 Information processing method and the first electronic equipment
CN108737653A (en) * 2018-05-14 2018-11-02 努比亚技术有限公司 A kind of chat based reminding method, terminal and computer readable storage medium
CN108959314A (en) * 2017-05-24 2018-12-07 西安科技大市场创新云服务股份有限公司 A kind of semantic retrieving method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990086011A (en) * 1998-05-25 1999-12-15 정선종 How to Format Queries in Information Retrieval
CN104090875A (en) * 2013-04-01 2014-10-08 鸿富锦精密工业(深圳)有限公司 Information retrieval system and information retrieval method
US20140379719A1 (en) * 2013-06-24 2014-12-25 Tencent Technology (Shenzhen) Company Limited System and method for tagging and searching documents
US20150312197A1 (en) * 2014-04-25 2015-10-29 International Business Machines Corporation Prevention of sending messages by mistake
CN106375377A (en) * 2016-08-25 2017-02-01 深圳市金立通信设备有限公司 Data processing method and terminal
CN106911562A (en) * 2017-02-21 2017-06-30 苏州亮磊知识产权运营有限公司 A kind of information correction reminding method and its device in instant messaging
CN108959314A (en) * 2017-05-24 2018-12-07 西安科技大市场创新云服务股份有限公司 A kind of semantic retrieving method and device
CN107633084A (en) * 2017-09-28 2018-01-26 武汉虹旭信息技术有限责任公司 Based on the public sentiment managing and control system and its method from media
CN108566330A (en) * 2018-03-21 2018-09-21 联想(北京)有限公司 Information processing method and the first electronic equipment
CN108737653A (en) * 2018-05-14 2018-11-02 努比亚技术有限公司 A kind of chat based reminding method, terminal and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390011A (en) * 2020-10-20 2022-04-22 腾讯科技(深圳)有限公司 Message processing method and device and readable storage medium
CN114390011B (en) * 2020-10-20 2023-05-05 腾讯科技(深圳)有限公司 Message processing method and device and readable storage medium
CN114900504A (en) * 2022-06-13 2022-08-12 重庆回形针信息技术有限公司 Problem solution tracking system, method and storage medium based on subject
CN114900504B (en) * 2022-06-13 2023-08-18 重庆回形针信息技术有限公司 Issue resolution tracking system, method and storage medium based on issue

Similar Documents

Publication Publication Date Title
CN104866274B (en) Information processing method and electronic equipment
CN101071418B (en) Chat method and system
US20160224524A1 (en) User generated short phrases for auto-filling, automatically collected during normal text use
EP1093058A1 (en) Method and apparatus for processing text and character data
US10290299B2 (en) Speech recognition using a foreign word grammar
US20040156562A1 (en) Alphanumeric information input method
CN103294776A (en) Smartphone address book fuzzy search method
CN106383814B (en) English social media short text word segmentation method
CN103945044A (en) Information processing method and mobile terminal
CN105469789A (en) Voice information processing method and voice information processing terminal
US20220269354A1 (en) Artificial intelligence-based system and method for dynamically predicting and suggesting emojis for messages
CN111368530A (en) Method for preventing message from being mistakenly sent in instant messaging software and user terminal
US20100049500A1 (en) Dialogue generation apparatus and dialogue generation method
US11947909B2 (en) Training a language detection model for language autodetection from non-character sub-token signals
CN111768781A (en) Voice interruption processing method and device
WO2012047214A2 (en) Visual display of semantic information
CN108447478A (en) A kind of sound control method of terminal device, terminal device and device
WO2014207735A1 (en) Method and system for consolidating data retrieved from different sources
Rashid et al. Characterizing interactions and relationships between people
CN113449197A (en) Information processing method, information processing apparatus, electronic device, and storage medium
CN113919367A (en) Abstract acquisition method, device, equipment, medium and product
CN113127715A (en) Method and system for identifying gambling-related information
Gaskin et al. Reach's puzzle and mention
EP3055859B1 (en) Identifying a contact
CN110807190A (en) Weak password detection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination