CN107704613A - A kind of approaches to IM, terminal and computer-readable recording medium - Google Patents
A kind of approaches to IM, terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107704613A CN107704613A CN201710993211.3A CN201710993211A CN107704613A CN 107704613 A CN107704613 A CN 107704613A CN 201710993211 A CN201710993211 A CN 201710993211A CN 107704613 A CN107704613 A CN 107704613A
- Authority
- CN
- China
- Prior art keywords
- information
- hidden
- duplicate message
- feature
- approaches
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/215—Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiments of the invention provide a kind of approaches to IM, terminal and computer-readable recording medium, wherein method includes:Identify the feature of the first information and the second information;Judge whether the second information belongs to duplicate message with the first information according to feature;If belonging to duplicate message between second information and the first information, second information is hidden.By identifying the feature of the first information and the second information, judge whether the second information belongs to duplicate message with the first information further according to feature, if belonging to duplicate message between the second information and the first information, the second information is hidden.So as to avoid harassing and wrecking and the bad experience that duplicate message is brought to user.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of approaches to IM, terminal and computer-readable storage
Medium.
Background technology
Nowadays, various terminal equipment has been incorporated in our daily life, passes through terminal device between men
Between transmit information to be exchanged.By taking the circle of friends of some social softwares as an example, circle of friends is recognized by some channels
Friend forms a circle, and usually by the built-up minority of acquaintance chain, the circle of secret, user divides in circle of friends
The Life intravenous drip of friends is enjoyed and pays close attention to, so as to strengthen the contact between people.Circle of friends is around picture, news links, text
Word or the business propagation as marketing methods.By taking wechat circle of friends as an example, with the rise of difference quotient, increasing crowd adds
In the marketing of wechat circle of friends, the marketing advertisement that is often forwarded mutually by relatives and friends in wechat circle of friends, exploitation brush
Screen, influence the normal browsing of wechat circle of friends.
The content of the invention
The embodiment of the present invention provides a kind of approaches to IM, terminal and computer-readable recording medium, can avoid repeating
Information brings bad experience to user.
In a first aspect, the embodiments of the invention provide a kind of approaches to IM, this method includes:
Identify the feature of the first information and the second information;
Judge whether second information belongs to duplicate message with the first information according to the feature;
If second information belongs to duplicate message with the first information, second information is hidden.
Second aspect, the embodiments of the invention provide a kind of terminal, the terminal includes being used to perform above-mentioned first aspect
The unit of method.
The third aspect, the embodiments of the invention provide another terminal, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch
The application code that terminal performs the above method is held, the processor is arranged to the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium
Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor
The method for stating the above-mentioned first aspect of computing device.
The embodiment of the present invention judges by identifying the feature of the first information and the second information further according to feature
Whether two information and the first information belong to duplicate message, if belonging to duplicate message between the second information and the first information, to the
Two information are hidden, so as to avoid harassing and wrecking and the bad experience that duplicate message is brought to user.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram for approaches to IM that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic flow diagram for approaches to IM that the embodiment of the present invention two provides;
Fig. 3 is a kind of schematic flow diagram for approaches to IM that the embodiment of the present invention three provides;
Fig. 4 is a kind of schematic block diagram for terminal that the embodiment of the present invention one provides;
Fig. 5 is a kind of schematic block diagram for terminal that the embodiment of the present invention two provides;
Fig. 6 is a kind of schematic block diagram for terminal that the embodiment of the present invention three provides;
Fig. 7 is a kind of schematic block diagram for terminal that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit..
It should be appreciated that terminal is only an example of portable multifunction device, and terminal can have than
The more or less components of shown component, two or more components can be combined or can have different component Configuration or cloth
Put.Can be with the combination of the hardware including one or more signal transactings and/or application specific integrated circuit, software or hardware and software
To realize various parts.
It will also be understood that although term first, second etc. can be used for describing various elements herein, but these elements should not
This is limited to these terms.These terms are only used for these elements being distinguished from each other out.For example, the scope of the invention is not being departed from
Under the premise of, first terminal can be referred to as second terminal, and similarly, second terminal can be referred to as first terminal.First
Terminal and second terminal are terminal, but they are not same terminal.
It is a kind of schematic flow diagram for approaches to IM that the embodiment of the present invention one provides referring to Fig. 1, as illustrated,
This method comprises the following steps S11~S13:
Step S11:Identify the feature of the first information and the second information.
Specifically, feature identification, such as word content in text information, picture are carried out to the every kind of information received
Image information, the link address etc. of link information.
Step S12:Judge whether the second information belongs to duplicate message with the first information according to feature.
Specifically, judge whether belong to repetition letter between each information according to the feature of each information received
Breath.For example, after text information content is identified, the ratio that middle identical word content accounts between each text information is judged
Example, if it exceeds default ratio is then judged as replicated literal information, default ratio can be 100%, or other ratios;
Similarity comparison is carried out between each pictorial information, if the similarity between two pictorial informations is more than set in advance similar
Threshold value is spent, then is judged as repetitive picture information, similarity threshold can be set to 100%, or other ratios;If link letter
Breath, then directly contrasted the address of each link information, chained address is identical, is judged as duplicate message.
Especially, occur it is above-mentioned in much information type when, corresponding each criterion can be integrated, example
During if any text information and pictorial information, it will scheme while same text content accounting and default ratio are compared into judgement
Similarity between piece information judges that synthetic setting judges the standard of duplicate message compared with default similarity.
Step S13:If the second information belongs to duplicate message with the first information, second information is hidden.
Specifically, if belonging to duplicate message between the second information and the first information, the second information is hidden.Connecing
After receiving the first information, the second subsequently received information is if it is determined that identical with first information content, then to receipt of subsequent
To the second information be hidden.
Specifically, by identifying the feature of the first information and the second information, the second letter is judged further according to feature
Whether breath belongs to duplicate message with the first information, if belonging to duplicate message between the second information and the first information, believes second
Breath is hidden.So as to avoid harassing and wrecking and the bad experience that duplicate message is brought to user.
Especially, single information type can also be hidden when being hidden to the second information, such as wrapped simultaneously
Containing text information, pictorial information and link information etc., one of which is judged as duplicate message, then to one of which specific aim
Hide.
Further, it is relative content can selectively to be hidden when judging whether information repeats, in the information of two repetitions
It that few information, can so allow user not see duplicate message, but can see most complete one of this information.
Further, can be judged when judging information with citation network database, for example, a kind of information
Feature is marked as advertising message in network data base, in the feature for the information that identification user receives, judges
The information and the advertising message of network identity received belongs to same type duplicate message, then this information can be hidden, so
User can be avoided to be bothered by some advertising messages.
It is a kind of schematic flow diagram for approaches to IM that the embodiment of the present invention two provides referring to Fig. 2, as illustrated,
This method comprises the following steps S21~S24:
Step S21:Identify the feature of the first information and the second information.
Specifically, feature identification, such as word content in text information, picture are carried out to the every kind of information received
Image information, the link address etc. of link information.
Step S22:Judge whether the second information belongs to duplicate message with the first information according to feature.
Specifically, judge whether belong to repetition letter between each information according to the feature of each information received
Breath.For example, after text information content is identified, the ratio that middle identical word content accounts between each text information is judged
Example, if it exceeds default ratio is then judged as replicated literal information, default ratio can be 100%, or other ratios;
Similarity comparison is carried out between each pictorial information, if the similarity between two pictorial informations is more than set in advance similar
Threshold value is spent, then is judged as repetitive picture information, similarity threshold can be set to 100%, or other ratios;If link letter
Breath, then directly contrasted the address of each link information, chained address is identical, is judged as duplicate message.
Especially, occur it is above-mentioned in much information type when, corresponding each criterion can be integrated, example
During if any text information and pictorial information, it will scheme while same text content accounting and default ratio are compared into judgement
Similarity between piece information judges that synthetic setting judges the standard of duplicate message compared with default similarity.
Step S23:If so, obtaining the first of the first information receives time and the second reception time of the second information.
Specifically, if belonging to duplicate message between the second information and the first information, obtain receive the first information respectively
Time and the second reception time are received with the first of the second information.
Step S24:If the time interval of the first reception time and the second reception time are less than prefixed time interval threshold value, right
Second information is hidden.
Specifically, after judging the first information and the second information for duplicate message, then it is corresponding to the first information and the second information
The first reception time and the second reception time between time interval calculated, it is default to judge whether the time interval is less than
Time interval threshold value.For example, prefixed time interval threshold value is two hours, then when judging that the second reception time gap first receives
Between time interval whether be less than prefixed time interval two hours, if it is, entering to the second subsequently received information
Row is hidden.It is singly if the identical information do not repelled is within the section time because reception of the user for some information is not repelled
Repeat to be received simultaneously, bad experience can be also brought to user, the judgement to set interval can be avoided in the short time
Interior repetition receives identical information.
It is a kind of schematic flow diagram for approaches to IM that the embodiment of the present invention three provides referring to Fig. 3, as illustrated,
This method comprises the following steps S131~S35:
Step S31:Identify the feature of the first information and the second information.
Specifically, feature identification, such as word content in text information, picture are carried out to the every kind of information received
Image information, the link address etc. of link information.
Step S32:Judge whether the second information belongs to duplicate message with the first information according to feature.
Specifically, judge whether belong to repetition letter between each information according to the feature of each information received
Breath.For example, after text information content is identified, the ratio that middle identical word content accounts between each text information is judged
Example, if it exceeds default ratio is then judged as replicated literal information, default ratio can be 100%, or other ratios;
Similarity comparison is carried out between each pictorial information, if the similarity between two pictorial informations is more than set in advance similar
Threshold value is spent, then is judged as repetitive picture information, similarity threshold can be set to 100%, or other ratios;Link information is then straight
Connect and contrasted the address of each link information, chained address is identical, is judged as duplicate message.
Especially, occur it is above-mentioned in much information type when, corresponding each criterion can be integrated, example
During if any text information and pictorial information, it will scheme while same text content accounting and default ratio are compared into judgement
Similarity between piece information judges that synthetic setting judges the standard of duplicate message compared with default similarity.
Step S33:If so, the second information is hidden.
Specifically, if belonging to duplicate message between the second information and the first information, the second information is hidden.Connecing
After receiving the first information, the second subsequently received information is if it is determined that identical with first information content, then to receipt of subsequent
To the second information be hidden.
Step S34:Generate and show the option for opening second information being hidden.
Specifically, after the second information is hidden, in order to allow user can quickly be again turned in need when by
Hiding information, can generate one to should hiding information option, for example, will be hidden at information add one can be hidden by this
The shortcut of presentation of information is hidden, or by this Information hiding in the folding on corresponding first information side, can will be by when clicking on folding
The second hiding information is shown., can will be with the first information content identical institute when being specifically hidden to the second information
There is the second information categorization to integrate to put together, or, when receiving the second information, receiving the record of second information
Place is directly hidden.
Step S35:If detecting, user operates to option, shows the second information being hidden.
Specifically, when detecting that user operates to option, the second information being hidden is shown.By setting
The option that can return to opening is put, allows user to be quickly again turned on the information being hidden in need when, avoids one
The loss of a little information.
Further, judge that sender sends whether the number that information is hidden exceedes preset times threshold in preset time
Value.If exceeding, sender is shielded.
Specifically, exceed when receiving the hiding information content of needs that same sender sends in a preset time
During default number, then this sender can be shielded.For example, it is 24h to set preset time, preset times are 5 times.When one
The information that individual sender sends in 24h, which has 5 times, to be hidden, that is, is judged as duplicate message, then this sender is shielded.
The duplicate message that can so avoid this sender from subsequently continuing to send brings bad experience to user.
The embodiment of the present invention also provides a kind of terminal, and the terminal is used for the unit for performing the method described in foregoing any one.
Specifically, it is a kind of schematic block diagram for terminal that the embodiment of the present invention one provides referring to Fig. 4, the terminal 300 of the present embodiment is wrapped
Include:Recognition unit 310, judging unit 320 and execution unit 330.
Recognition unit 310, for identifying the feature of the first information and the second information.
Specifically, recognition unit 310 carries out feature identification, such as text information Chinese to the every kind of information received
Word content, the image information of picture, the link address of link information etc..
Judging unit 320, for judging whether the second information belongs to duplicate message with the first information according to feature.
Specifically, judging unit 320 judges to be between each information according to the feature of each information received
It is no to belong to duplicate message.For example, after text information content is identified, middle identical word between each text information is judged
The ratio that content accounts for, if it exceeds default ratio is then judged as replicated literal information, default ratio can be 100%, or
Other ratios of person;Similarity comparison is carried out between each pictorial information, if the similarity between two pictorial informations exceedes in advance
The similarity threshold first set, then be judged as repetitive picture information, and similarity threshold can be set to 100%, or other ratios;
Link information is then directly contrasted the address of each link information, and chained address is identical, is judged as duplicate message.
Execution unit 330, if belonging to duplicate message for the second information and the first information, the second information is hidden.
Specifically, if belonging to duplicate message between the second information and the first information, by execution unit 330 to the second information
It is hidden.After the first information is received, the second subsequently received information if it is determined that identical with first information content,
Then the second subsequently received information is hidden.
Specifically, by identifying the feature of the first information and the second information, the second letter is judged further according to feature
Whether breath belongs to duplicate message with the first information, if belonging to duplicate message between the second information and the first information, believes second
Breath is hidden.So as to avoid harassing and wrecking and the bad experience that duplicate message is brought to user.
It is a kind of schematic block diagram for terminal that the embodiment of the present invention two provides referring to Fig. 5, the terminal 400 of the present embodiment is wrapped
Include:Recognition unit 410, judging unit 420, execution unit 430 and acquiring unit 440.
Recognition unit 410, for identifying the feature of the first information and the second information.
Specifically, recognition unit 410 carries out feature identification, such as text information Chinese to the every kind of information received
Word content, the image information of picture, the link address of link information etc..
Judging unit 420, for judging whether the second information belongs to duplicate message with the first information according to feature.
Specifically, judging unit 420 judges to be between each information according to the feature of each information received
It is no to belong to duplicate message.For example, after text information content is identified, middle identical word between each text information is judged
The ratio that content accounts for, if it exceeds default ratio is then judged as replicated literal information, default ratio can be 100%, or
Other ratios of person;Similarity comparison is carried out between each pictorial information, if the similarity between two pictorial informations exceedes in advance
The similarity threshold first set, then be judged as repetitive picture information, and similarity threshold can be set to 100%, or other ratios;
Link information is then directly contrasted the address of each link information, and chained address is identical, is judged as duplicate message.
Acquiring unit 440, if belonging to duplicate message for the second information and the first information, obtain the first information first connects
Between time receiving the time is received with the second of the second information.
Specifically, if belonging to duplicate message between the second information and the first information, obtain receive the first information respectively
Time and the second reception time are received with the first of the second information.
Execution unit 430, if the time interval that time and the second reception time are received for first is less than between preset time
Every threshold value, the second information is hidden.
Specifically, after judging the first information and the second information for duplicate message, then it is corresponding to the first information and the second information
The first reception time and the second reception time between time interval calculated, it is default to judge whether the time interval is less than
Time interval threshold value.For example, prefixed time interval threshold value is two hours, then when judging that the second reception time gap first receives
Between time interval whether be less than prefixed time interval two hours, if it is, entering to the second subsequently received information
Row is hidden.It is singly if the identical information do not repelled is within the section time because reception of the user for some information is not repelled
Repeat to be received simultaneously, bad experience can be also brought to user, the judgement to set interval can be avoided in the short time
Interior repetition receives identical information.
It is a kind of schematic block diagram for terminal that the embodiment of the present invention one provides referring to Fig. 6, the terminal 500 of the present embodiment is wrapped
Include:Recognition unit 510, judging unit 520, the first execution unit 530, the execution unit 550 of generation unit 540 and second.
Recognition unit 510, for identifying the feature of the first information and the second information.
Specifically, recognition unit 510 carries out feature identification, such as text information Chinese to the every kind of information received
Word content, the image information of picture, the link address of link information etc..
Judging unit 520, for judging whether the second information belongs to duplicate message with the first information according to feature.
Specifically, judging unit 520 judges to be between each information according to the feature of each information received
It is no to belong to duplicate message.For example, after text information content is identified, middle identical word between each text information is judged
The ratio that content accounts for, if it exceeds default ratio is then judged as replicated literal information, default ratio can be 100%, or
Other ratios of person;Similarity comparison is carried out between each pictorial information, if the similarity between two pictorial informations exceedes in advance
The similarity threshold first set, then be judged as repetitive picture information, and similarity threshold can be set to 100%, or other ratios;
Link information is then directly contrasted the address of each link information, and chained address is identical, is judged as duplicate message.
First execution unit 530, if belonging to duplicate message for the second information and the first information, the second information is carried out hidden
Hide.
Specifically, if belonging to duplicate message between the second information and the first information, by execution unit 530 to the second information
It is hidden.After the first information is received, the second subsequently received information if it is determined that identical with first information content,
Then the second subsequently received information is hidden.
Generation unit 540, the option for the second information being hidden for generating display.
Specifically, after the second information is hidden, in order to allow user can quickly be again turned in need when by
Hiding information, can generate one to should hiding information option, for example, will be hidden at information add one can be hidden by this
The shortcut of presentation of information is hidden, or by this Information hiding in the folding on corresponding first information side, can will be by when clicking on folding
The second hiding information is shown., can will be with the first information content identical institute when being specifically hidden to the second information
There is the second information categorization to integrate to put together, or, when receiving the second information, receiving the record of second information
Place is directly hidden.
Second execution unit 550, if for detecting that user operates to option, show the second information being hidden.
Specifically, when detecting that user operates to option, the second information being hidden is shown.By setting
The option that can return to opening is put, allows user to be quickly again turned on the information being hidden in need when, avoids one
The loss of a little information.
It is a kind of terminal schematic block diagram that another embodiment of the present invention provides referring to Fig. 7.In the present embodiment as depicted
Terminal 800 can include:One or more processors 801;One or more input equipments 802, one or more output are set
Standby 803 and memory 804.Above-mentioned processor 801, input equipment 802, output equipment 803 and memory 804 pass through bus 805
Connection.Memory 802 is used for store instruction, and processor 801 is used for the instruction for performing the storage of memory 802.Wherein, processor
801 are used for:
Identify the feature of the first information and the second information;Judge that the second information and the first information are according to feature
It is no to belong to duplicate message;If belonging to duplicate message between the second information and the first information, the second information is hidden.
Identify the feature of the first information and the second information;Judge that the second information and the first information are according to feature
It is no to belong to duplicate message;If the second information and the first information belong to duplicate message, obtain the first of the first information receive the time and
The second of second information receives the time;If the time interval of the first reception time and the second reception time are less than prefixed time interval
Threshold value, the second information is hidden.
Identify the feature of the first information and the second information;Judge that the second information and the first information are according to feature
It is no to belong to duplicate message;If the second information belongs to duplicate message with the first information, the second information is hidden;Generation shows quilt
The option of the second hiding information;If detecting, user operates to option, shows the second information being hidden.
It should be appreciated that in embodiments of the present invention, alleged processor 801 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable GateArray, FPGA) or other programmable logic devices
Part, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or the processing
Device can also be any conventional processor etc..
Input equipment 802 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint
Directional information), microphone etc., output equipment 803 can include display (LCD etc.), loudspeaker etc..
The memory 804 can include read-only storage and random access memory, and to processor 801 provide instruction and
Data.The a part of of memory 804 can also include nonvolatile RAM.For example, memory 804 can also be deposited
Store up the information of device type.
In the specific implementation, processor 801, input equipment 802, the output equipment 803 described in the embodiment of the present invention can
Perform and retouched in the first embodiment, second embodiment and 3rd embodiment of the method for management application provided in an embodiment of the present invention
The implementation stated, the implementation of the terminal described by the embodiment of the present invention is also can perform, will not be repeated here.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program is realized when being executed by processor:
Identify the feature of the first information and the second information;Judge that the second information and the first information are according to feature
It is no to belong to duplicate message;If the second information belongs to duplicate message with the first information, the second information is hidden.
Identify the feature of the first information and the second information;Judge that the second information and the first information are according to feature
It is no to belong to duplicate message;If the second information and the first information belong to duplicate message, obtain the first of the first information receive the time and
The second of second information receives the time;If the time interval of the first reception time and the second reception time are less than prefixed time interval
Threshold value, the second information is hidden.
Identify the feature of the first information and the second information;Judge that the second information and the first information are according to feature
It is no to belong to duplicate message;If the second information belongs to duplicate message with the first information, the second information is hidden;Generation shows quilt
The option of the second hiding information;If detecting, user operates to option, shows the second information being hidden.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example
Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is described for storing
Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and step, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and soft
The interchangeability of part, the composition and step of each example are generally described according to function in the above description.These work(
It can be performed actually with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional skill
Art personnel can realize described function using distinct methods to each specific application, but this realization should not be recognized
To be beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through
Its mode is realized.For example, the division of the unit, only a kind of division of logic function, can have in addition when actually realizing
Dividing mode, such as multiple units or component can combine or be desirably integrated into another system, or some features can be with
Ignore, or do not perform.In addition, shown or discussed mutual coupling or direct-coupling or communication connection can be passed through
Some interfaces, the INDIRECT COUPLING of device or unit or communication connection or electricity, mechanical or other forms connections.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
- A kind of 1. approaches to IM, it is characterised in that including:Identify the feature of the first information and the second information;Judge whether second information belongs to duplicate message with the first information according to the feature;If second information belongs to duplicate message with the first information, second information is hidden.
- 2. approaches to IM according to claim 1, it is characterised in that described information includes link information, picture is believed Breath or text information.
- 3. approaches to IM according to claim 2, it is characterised in that described according to judging the feature Second information includes with whether the first information belongs to duplicate message:If described information is link information, judge whether second information is identical with the chained address of the first information,If second information is identical with the chained address of the first information, second information and the described first letter are judged Breath belongs to duplicate message.
- 4. approaches to IM according to claim 2, it is characterised in that described according to judging the feature Second information includes with whether the first information belongs to duplicate message:If described information is pictorial information, judge whether first pictorial information and the similarity of the second picture information surpass Cross default similarity threshold.
- 5. approaches to IM according to claim 1, it is characterised in that be hidden performing to second information Before, methods described also includes:Obtain the first of the first information and receive time and the second reception time of second information;If the time interval of the first reception time and the described second reception time are less than prefixed time interval threshold value, institute is performed State the step of being hidden to second information.
- 6. approaches to IM according to claim 1, it is characterised in that be hidden performing to second information Afterwards, methods described also includes:Generate and show the option for opening second information being hidden;If detecting, user operates to the option, the second information being hidden described in display.
- 7. approaches to IM according to claim 1, it is characterised in that be hidden performing to second information Afterwards, methods described also includes:Judging the number that the sender of the first information or the second information information transmitted in preset time is hidden is It is no to exceed preset times threshold value;If exceeding, the sender is shielded.
- 8. a kind of terminal, it is characterised in that including for performing the method as described in any claim in claim 1-7 Unit.
- 9. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store application code, the processing Device is arranged to call described program code, performs the method as described in claim any one of 1-7.
- A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710993211.3A CN107704613A (en) | 2017-10-23 | 2017-10-23 | A kind of approaches to IM, terminal and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710993211.3A CN107704613A (en) | 2017-10-23 | 2017-10-23 | A kind of approaches to IM, terminal and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107704613A true CN107704613A (en) | 2018-02-16 |
Family
ID=61181419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710993211.3A Withdrawn CN107704613A (en) | 2017-10-23 | 2017-10-23 | A kind of approaches to IM, terminal and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107704613A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108470290A (en) * | 2018-03-28 | 2018-08-31 | 百度在线网络技术(北京)有限公司 | Commercial detection method, device and server |
CN110244886A (en) * | 2019-05-20 | 2019-09-17 | 北京百度网讯科技有限公司 | Information display method, device, computer equipment and storage medium |
CN111210827A (en) * | 2020-04-20 | 2020-05-29 | 成都派沃特科技股份有限公司 | Method and device for responding to alarm, electronic equipment and readable storage medium |
CN111262778A (en) * | 2020-01-17 | 2020-06-09 | 北京字节跳动网络技术有限公司 | Invitation link information processing method and device, electronic equipment and readable medium |
CN111614544A (en) * | 2020-04-20 | 2020-09-01 | 维沃移动通信有限公司 | Message processing method and electronic equipment |
CN112738336A (en) * | 2021-01-22 | 2021-04-30 | 维沃移动通信有限公司 | Message processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101114286A (en) * | 2006-07-26 | 2008-01-30 | 腾讯科技(深圳)有限公司 | Method and system for filtering chat chamber advertisement |
CN102541918A (en) * | 2010-12-30 | 2012-07-04 | 阿里巴巴集团控股有限公司 | Method and equipment for identifying repeated information |
CN105608627A (en) * | 2016-02-01 | 2016-05-25 | 广东欧珀移动通信有限公司 | Information updating method and apparatus based on social network platform |
CN105653717A (en) * | 2015-12-30 | 2016-06-08 | 广东欧珀移动通信有限公司 | Information sharing method and device |
CN106021231A (en) * | 2016-05-24 | 2016-10-12 | 武汉斗鱼网络科技有限公司 | Repeated chatting content detection method and device |
-
2017
- 2017-10-23 CN CN201710993211.3A patent/CN107704613A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101114286A (en) * | 2006-07-26 | 2008-01-30 | 腾讯科技(深圳)有限公司 | Method and system for filtering chat chamber advertisement |
CN102541918A (en) * | 2010-12-30 | 2012-07-04 | 阿里巴巴集团控股有限公司 | Method and equipment for identifying repeated information |
CN105653717A (en) * | 2015-12-30 | 2016-06-08 | 广东欧珀移动通信有限公司 | Information sharing method and device |
CN105608627A (en) * | 2016-02-01 | 2016-05-25 | 广东欧珀移动通信有限公司 | Information updating method and apparatus based on social network platform |
CN106021231A (en) * | 2016-05-24 | 2016-10-12 | 武汉斗鱼网络科技有限公司 | Repeated chatting content detection method and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108470290A (en) * | 2018-03-28 | 2018-08-31 | 百度在线网络技术(北京)有限公司 | Commercial detection method, device and server |
CN110244886A (en) * | 2019-05-20 | 2019-09-17 | 北京百度网讯科技有限公司 | Information display method, device, computer equipment and storage medium |
CN110244886B (en) * | 2019-05-20 | 2022-05-27 | 北京百度网讯科技有限公司 | Information display method and device, computer equipment and storage medium |
CN111262778A (en) * | 2020-01-17 | 2020-06-09 | 北京字节跳动网络技术有限公司 | Invitation link information processing method and device, electronic equipment and readable medium |
WO2021143317A1 (en) * | 2020-01-17 | 2021-07-22 | 北京字节跳动网络技术有限公司 | Invitation link information processing method and apparatus, electronic device and readable medium |
CN111210827A (en) * | 2020-04-20 | 2020-05-29 | 成都派沃特科技股份有限公司 | Method and device for responding to alarm, electronic equipment and readable storage medium |
CN111210827B (en) * | 2020-04-20 | 2020-08-21 | 成都派沃特科技股份有限公司 | Method and device for responding to alarm, electronic equipment and readable storage medium |
CN111614544A (en) * | 2020-04-20 | 2020-09-01 | 维沃移动通信有限公司 | Message processing method and electronic equipment |
CN112738336A (en) * | 2021-01-22 | 2021-04-30 | 维沃移动通信有限公司 | Message processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107704613A (en) | A kind of approaches to IM, terminal and computer-readable recording medium | |
CN108108216A (en) | A kind of method, terminal and computer readable storage medium for managing message | |
CN107465592A (en) | A kind of method for message interaction and system | |
US20150242873A9 (en) | Interconnecting enhanced and diversified communications with commercial applications | |
CN107222790A (en) | A kind of method, terminal and computer-readable recording medium for sending barrage | |
CN106453904A (en) | Information reminding method and terminal | |
CN107580128A (en) | Backlog processing method and processing device, terminal and readable storage medium storing program for executing | |
CN108241464A (en) | A kind of method, terminal and computer readable storage medium for showing chat message | |
CN107679885A (en) | A kind of ad data acquisition methods and device | |
CN107613091A (en) | A kind of method and terminal for establishing communication | |
EP3353727A1 (en) | Focused attention in documents and communications | |
CN110022399B (en) | Message display method and device, user terminal and readable storage medium | |
CN106375186A (en) | Schedule sharing method and terminal | |
CN107911449A (en) | Method and apparatus for pushed information | |
CN107479806A (en) | The method and terminal of a kind of changing interface | |
CN107391989A (en) | Message treatment method, device, terminal and storage medium | |
CN106656752A (en) | Contact person grouping method and terminal | |
CN106445283A (en) | Emoticon acquisition method and terminal | |
CN108520186A (en) | Record screen method, mobile terminal and computer readable storage medium | |
CN107436836A (en) | The processing method and relevant device of a kind of journal file | |
CN107819937A (en) | A kind of memo information based reminding method and device, terminal and readable storage medium storing program for executing | |
CN107360331A (en) | Short message display method | |
CN110263286A (en) | The processing method and equipment of online collaborative document | |
CN106227752A (en) | A kind of photograph sharing method and terminal | |
CN106250008B (en) | A kind of method and terminal showing information |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180216 |
|
WW01 | Invention patent application withdrawn after publication |