CN106372204A - Push message processing method and device - Google Patents

Push message processing method and device Download PDF

Info

Publication number
CN106372204A
CN106372204A CN201610799965.0A CN201610799965A CN106372204A CN 106372204 A CN106372204 A CN 106372204A CN 201610799965 A CN201610799965 A CN 201610799965A CN 106372204 A CN106372204 A CN 106372204A
Authority
CN
China
Prior art keywords
message
push message
push
messages
keyword
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
CN201610799965.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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610799965.0A priority Critical patent/CN106372204A/en
Publication of CN106372204A publication Critical patent/CN106372204A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a push message processing method and device. The method comprises the following steps that when a plurality of push messages are received, keywords of each push message are obtained; according to the obtained keywords of each push message, whether the same kind of message exists in the plurality of push messages or not is detected; when the condition that the same kind of message exists in the plurality of push messages is determined, the same kind of messages are subjected to merging processing to obtain a merged pushing message. Therefore the problem of repeated pushing of a content can be effectively avoided; the display screen space and the memory space occupied by the repeated content can be saved; the problem of poor user experience due to the repeated reminding of the same content for many times for a user to check by a terminal can be solved.

Description

Push message processing method and device
Technical Field
The present disclosure relates to a message pushing technology, and in particular, to a method and an apparatus for processing a pushed message.
Background
Generally, a plurality of applications (apps) are installed in a terminal used by a user, and most of the apps have a message pushing function. In the related technology, when the app pushes the message to the intelligent terminal, the two parts of the abstract and the text are generated, wherein the abstract can be displayed on a display screen for a user to look up, and when the user clicks the abstract, the user skips to display characters and pictures of the text.
When a plurality of apps push messages, there may be a case where content is repeatedly pushed. For this, the related art displays each message one by one.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a push message processing method and apparatus.
According to a first aspect of the embodiments of the present disclosure, a push message processing method is provided, including: when a plurality of push messages are received, obtaining keywords of each push message; detecting whether similar messages exist in the plurality of push messages according to the acquired keywords of each push message; and when determining that the plurality of push messages have the same type of messages, merging the same type of messages to obtain merged push messages.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in the embodiment of the disclosure, after acquiring multiple push messages from a terminal, the terminal first detects whether similar messages exist in the push messages, and performs corresponding processing according to a detection result. If the same type of message exists, the same type of message can be processed into a combined push message to carry out message push. According to the scheme, the problem of repeated pushing of the content can be effectively avoided, so that the display screen space and the memory space occupied by the repeated content can be saved, and the problem that the terminal prompts a user to check the same content for multiple times to cause poor user experience can be avoided.
In a first possible implementation manner of the first aspect of the present disclosure, the detecting, according to the obtained keyword of each piece of push message, whether there is a similar message in the push messages of the multiple application programs includes: acquiring similarity among the keywords; and when the numerical value corresponding to the similarity is larger than or equal to a first threshold value, determining that the push message corresponding to the keyword is the same type of message.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: whether similar messages exist in the multiple pieces of push messages can be detected based on keyword similarity, and technical support is provided for the message push scheme disclosed by the invention.
With reference to the second possible implementation manner of the first aspect of the embodiment of the present disclosure, the obtaining the keyword of each push message includes: when a first push message is received, performing word segmentation processing on the first push message to obtain a keyword of the first push message; when a second push message is received, acquiring a keyword of the second push message according to the keyword of the first push message; the first push message is a received first push message, the second push message is a received push message or multiple push messages, and the difference between the receiving time of the second push message and the receiving time of the first push message is a positive number.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in order to simplify the process of acquiring the keywords of the second push message and improve the keyword acquisition efficiency in the embodiment of the present disclosure, words in the second push message that are the same as or similar to the keywords of the first push message may be determined as the keywords of the second push message, that is, the keywords of the first push message are used to obtain the keywords of the second push message.
With reference to the second possible implementation manner of the first aspect of the present disclosure, in a third possible implementation manner, the detecting whether similar messages exist in the push messages of the multiple application programs according to the obtained keyword of each push message includes: setting a first weight for the keyword of the first push message; calculating according to the keywords of the first push message and the first weight to obtain the weight of the first push message; setting a second weight for the keyword of the second push message; calculating according to the keywords of the second push message and the second weight to obtain the weight of the second push message; calculating according to the weight of the first push message and the weight of the second push message to obtain the similarity of the first push message and the second push message; and when the numerical value corresponding to the similarity is larger than or equal to a second threshold value, determining that the first push message and the second push message are the same type of message.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the weight can be set for the keyword in each push message, the weight of each push message is obtained according to the keyword and the weight of the keyword, the similarity between the messages is further obtained, synchronous message detection is carried out, and technical support is provided for the message push scheme disclosed by the invention.
With reference to the fourth possible implementation manner of the first aspect of the embodiment of the present disclosure, the merging the similar messages to obtain merged push messages includes: selecting a representative message from the similar messages, and determining the representative message as the combined push message; or merging the contents of all the push messages in the same kind of messages to generate the merged push message, wherein the number of the keywords contained in the merged push message is more than that of the keywords in any one push message in the same kind of messages.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: a representative message can be selected from the similar messages and used as a combined push message; or, merging processing can be performed, keywords of each similar message are extracted, and merged push messages are generated through recombination.
With reference to the fifth possible implementation manner of the first aspect of the embodiment of the present disclosure, the method further includes: and selecting a representative message from the similar messages, and storing the representative message, wherein the representative message is used for judging whether to combine the received new push message with the similar messages.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in order to improve the detection efficiency of the scheme disclosed by the invention, a representative message can be selected from the similar messages, so that when a new push message is subsequently received, whether the new push message and the similar message are combined or not can be judged by using the representative message.
According to a second aspect of the embodiments of the present disclosure, there is provided a push message processing apparatus, including: the keyword acquisition module is used for acquiring keywords of each push message when receiving a plurality of push messages; the message detection module is used for detecting whether similar messages exist in the plurality of push messages according to the keywords of each push message acquired by the keyword acquisition module; and the message merging module is used for merging the same type of messages to obtain merged push messages when the message detection module determines that the same type of messages exist in the plurality of push messages.
In a first possible implementation manner of the second aspect of the embodiment of the present disclosure, the message detection module includes: a similarity obtaining submodule configured to obtain a similarity between the keywords; the first determining submodule is configured to determine that the push messages corresponding to the keywords are similar messages when the numerical value corresponding to the similarity is larger than or equal to a first threshold value.
In a second possible implementation manner of the second aspect of the embodiment of the present disclosure, the keyword obtaining module includes: the first keyword acquisition sub-module is configured to perform word segmentation processing on a first push message when the first push message is received to obtain a keyword of the first push message; the second keyword acquisition sub-module is configured to acquire a keyword of a second push message according to the keyword of the first push message when the second push message is received; the first push message is a received first push message, the second push message is a received push message or multiple push messages, and the difference between the receiving time of the second push message and the receiving time of the first push message is a positive number.
With reference to the second possible implementation manner of the second aspect of the embodiment of the present disclosure, in a third possible implementation manner, the message detection module includes: a first weight setting sub-module configured to set a first weight for a keyword of the first push message; a first weight determination submodule configured to calculate according to the keyword of the first push message and the first weight to obtain a weight of the first push message; a second weight setting sub-module configured to set a second weight for the keyword of the second push message; the second weight determination submodule is configured to calculate according to the keywords of the second push message and the second weight to obtain a weight of the second push message; the similarity determination submodule is configured to calculate according to the weight of the first push message and the weight of the second push message to obtain the similarity of the first push message and the second push message; a second determining submodule configured to determine that the first push message and the second push message are the same type of message when the value corresponding to the similarity is greater than or equal to a second threshold.
In a fourth possible implementation manner of the second aspect of the embodiment of the present disclosure, the message merging module is configured to select a representative message from the similar messages, and determine the representative message as the merged push message; or merging the contents of all the push messages in the same kind of messages to generate the merged push message, wherein the number of the keywords contained in the merged push message is more than that of the keywords in any one push message in the same kind of messages.
In combination with a fifth possible implementation manner of the second aspect of the embodiment of the present disclosure, the apparatus further includes: and the representative message selecting module is configured to select a representative message from the similar messages and store the representative message, wherein the representative message is used for judging whether to combine the received new push message with the similar messages.
According to a third aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a push message processing method, the method comprising: when a plurality of push messages are received, obtaining keywords of each push message; detecting whether similar messages exist in the plurality of push messages according to the acquired keywords of each push message; and when determining that the plurality of push messages have the same type of messages, merging the same type of messages to obtain merged push messages.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow diagram illustrating a push message processing method in accordance with an example embodiment.
Fig. 2 is a flow diagram illustrating obtaining keywords for each push message in accordance with an example embodiment.
Fig. 3 is a flowchart illustrating a homogeneous message detection method embodiment 1 according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a homogeneous message detection method embodiment 2 according to an example embodiment.
Fig. 5 is a block diagram illustrating a push message processing device in accordance with an example embodiment.
Fig. 6 is a block diagram illustrating another push message processing apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a push message processing method according to an exemplary embodiment, where the push message processing method is used in a terminal, as shown in fig. 1, and includes the following steps.
In step S11, when a plurality of push messages are received, a keyword of each push message is acquired.
In the embodiment of the present disclosure, the terminal receives the push messages sent by the app, and does not directly display the messages one by one as in the related art, but detects whether similar messages exist in multiple received push messages, and performs corresponding processing according to a detection result.
In the embodiment of the disclosure, whether similar messages exist in a plurality of push messages can be detected through keywords in the push messages. As an example, after receiving the push messages of the multiple application programs, respectively obtaining keywords of each push message; or, after receiving a push message of an application, directly obtaining a keyword of the push message, and then receiving and obtaining a keyword of a next push message, which is not limited in this embodiment of the present disclosure.
As an example, the push message in the embodiment of the present disclosure may be an abstract, and accordingly, the number of the obtained keywords is relatively small, which is beneficial to improving the detection efficiency of the scheme of the present disclosure. Or, the push message in the embodiment of the present disclosure may also be a text, and accordingly, the number of the obtained keywords is relatively large, which is beneficial to improving the detection accuracy of the scheme of the present disclosure. As an alternative, when the push message is a text, in order to improve the detection efficiency, a keyword which can identify characteristics of the push message more than necessary can be selected from the obtained keywords, and the keyword is used for subsequent similar message detection.
Fig. 2 is a flowchart illustrating obtaining keywords for each push message according to an example embodiment, which may include the following steps.
In step S21, when a first push message is received, performing word segmentation on the first push message to obtain a keyword of the first push message.
In the embodiment of the disclosure, word segmentation processing may be performed on the first push message based on a word segmentation technology, and words that cannot obviously identify message characteristics, such as auxiliary words and adverbs, are filtered out, so as to obtain keywords of the first push message. The first push message is a first push message received by the terminal.
In step S22, when a second push message is received, a keyword of the second push message is obtained according to the keyword of the first push message.
In the embodiment of the present disclosure, the keyword of the second push message may be obtained based on the word segmentation technology according to the above description; or, in order to simplify the process of acquiring the keyword of the second push message and improve the keyword acquisition efficiency in the embodiment of the present disclosure, the keyword of the second push message may also be obtained by using the keyword of the first push message. As an example, a word in the second push message that is the same as or similar to the word sense of the keyword of the first push message may be determined as the keyword of the second push message.
The second push message is one or more push messages received by the terminal, and the difference between the receiving time of the second push message and the receiving time of the first push message is a positive number. That is, the first push message arrives at the terminal before the second push message.
In step S12, it is detected whether there is a same type of message in the multiple pieces of push messages according to the obtained keyword of each piece of push message.
In the embodiment of the present disclosure, the same-type message detection can be performed at least in the following three ways.
Fig. 3 is a flowchart illustrating a homogeneous message detection method embodiment 1 according to an exemplary embodiment, which may include the following steps.
In step S31, the similarity between the keywords is acquired.
In step S32, when the value corresponding to the similarity is greater than or equal to a first threshold, it is determined that the push message corresponding to the keyword is a similar message.
In the embodiment of the disclosure, the terminal may compare the similarity between the keywords of the plurality of push messages, and determine the push messages with the numerical values corresponding to the similarity not less than the first threshold as the similar messages. For example, the terminal receives A, B, C three push messages, and if the similarity between the keywords of a and B exceeds the first threshold, the similarity between the keywords of a and C does not exceed the first threshold, and the similarity between the keywords of B and C does not exceed the first threshold, a and B may be determined as the same kind of message. The first threshold may be an empirical value, or may be determined by combining practical applications, which is not limited in this disclosure.
As an example, the similarity between keywords may be embodied as the number of similar keywords; alternatively, the similarity percentage may also be embodied as a ratio of the number of similar keywords to the number of all keywords, which is not limited in the embodiment of the disclosure. It is understood that the similarity of keywords in the embodiments of the present disclosure means that the word senses of the keywords are the same or similar.
Fig. 4 is a flowchart illustrating a homogeneous message detection method embodiment 2 according to an exemplary embodiment, which may include the following steps.
In step S41, a first weight is set for the keyword of the first push message.
In step S42, a weight of the first push message is obtained by calculating according to the keyword of the first push message and the first weight.
In step S43, a second weight is set for the keyword of the second push message.
In step S44, a weight of the second push message is obtained by calculating according to the keyword of the second push message and the second weight.
In step S45, a similarity between the first push message and the second push message is obtained according to the weight of the first push message and the weight of the second push message.
In step S46, when the value corresponding to the similarity is greater than or equal to a second threshold, it is determined that the first push message and the second push message are the same kind of message.
In the embodiment of the present disclosure, the weight of each keyword in the push message may be set according to the word frequency, that is, the number of times of occurrence of the keyword. Or, the weight of each keyword in the push message may be set according to the ratio of the word frequency to the number of all keywords.
In the embodiment of the present disclosure, the cosine distance may be used to calculate the weight of the first push message and the weight of the second push message, so as to obtain the similarity between the first push message and the second push message. If the value corresponding to the similarity is not smaller than the second threshold, it can be determined that the first push message and the second push message are the same kind of message. The second threshold may be an empirical value, or may be determined by combining practical applications, which is not limited in this disclosure.
In the embodiment of the present disclosure, the two embodiments shown in fig. 3 and 4 may be combined to perform similar message detection, that is, when the value corresponding to the similarity between the key words is not less than the first threshold and the value corresponding to the similarity between the first push message and the second push message is not less than the second threshold, it may be determined that the first push message and the second push message are similar messages.
In step S13, when it is determined that there is a similar message in the multiple pieces of push messages, the similar message is merged to obtain a merged push message.
If it is determined in step S12 that there is a similar message in the multiple push messages, the similar message may be merged to obtain a merged push message, and the merged push message is used to push the message.
In this embodiment of the present disclosure, a representative message may be selected from the similar messages, and the representative message is determined as the merged push message. For example, after the terminal receives A, B, C three push messages and determines a and B as the same type of message, a may be determined to be pushing on behalf of the message.
In this embodiment of the present disclosure, the content of each push message in the similar message may also be merged to generate the merged push message, where the number of the keywords included in the merged push message is greater than the number of the keywords in any one push message in the similar message. That is, the keywords of the same kind of messages may be merged and recombined into one merged push message, and the merged push message obtained in this way may include the keywords of each same kind of message.
As an alternative, the merged push message may include an application program that pushes the same kind of message. That is, when pushing messages, sources of similar messages can be displayed for users, so that the users can select the message sources according to personal preference, and click rate statistical results of various apps cannot be influenced.
As an alternative, in order to improve the detection efficiency of the present disclosure, a representative message may be selected from the similar messages, and the representative message may be stored. Therefore, when a new push message is subsequently received, whether the new push message is combined with the similar message or not can be judged by using the representative message. That is, the new push message does not need to be compared with each similar message one by one, which is beneficial to improving the detection efficiency of the new push message.
In summary, the message pushing method and the message pushing device can effectively solve the problem of repeated pushing of contents among multiple apps. Therefore, the display screen space and the memory space occupied by repeated contents can be saved, and the problem that the terminal prompts a user to check the same contents for multiple times, so that the user experience is poor can be solved.
Fig. 5 is a block diagram illustrating a push message processing device in accordance with an example embodiment. Referring to fig. 5, the push message processing apparatus 500 includes a keyword obtaining module 51, a message detecting module 52 and a message merging module 53.
The keyword obtaining module 51 is configured to obtain a keyword of each push message when receiving a plurality of push messages;
the message detection module 52 is configured to detect whether there is a similar message in the multiple pieces of push messages according to the keyword of each piece of push message acquired by the keyword acquisition module;
the message merging module 53 is configured to merge the similar messages to obtain merged push messages when the message detection module determines that the similar messages exist in the multiple push messages.
Optionally, the message detection module includes: a similarity obtaining submodule configured to obtain a similarity between the keywords; the first determining submodule is configured to determine that the push messages corresponding to the keywords are similar messages when the numerical value corresponding to the similarity is larger than or equal to a first threshold value.
Optionally, the keyword obtaining module includes: the first keyword acquisition sub-module is configured to perform word segmentation processing on a first push message when the first push message is received to obtain a keyword of the first push message; the second keyword acquisition sub-module is configured to acquire a keyword of a second push message according to the keyword of the first push message when the second push message is received; the first push message is a received first push message, the second push message is a received push message or multiple push messages, and the difference between the receiving time of the second push message and the receiving time of the first push message is a positive number.
Optionally, the message detection module includes: a first weight setting sub-module configured to set a first weight for a keyword of the first push message; a first weight determination submodule configured to calculate according to the keyword of the first push message and the first weight to obtain a weight of the first push message; a second weight setting sub-module configured to set a second weight for the keyword of the second push message; the second weight determination submodule is configured to calculate according to the keywords of the second push message and the second weight to obtain a weight of the second push message; the similarity determination submodule is configured to calculate according to the weight of the first push message and the weight of the second push message to obtain the similarity of the first push message and the second push message; a second determining submodule configured to determine that the first push message and the second push message are the same type of message when the value corresponding to the similarity is greater than or equal to a second threshold.
Optionally, the message merging module is configured to select a representative message from the similar messages, and determine the representative message as the merged push message; or merging the contents of all the push messages in the same kind of messages to generate the merged push message, wherein the number of the keywords contained in the merged push message is more than that of the keywords in any one push message in the same kind of messages.
Optionally, the apparatus further comprises:
and the representative message selecting module is configured to select a representative message from the similar messages and store the representative message, wherein the representative message is used for judging whether to combine the received new push message with the similar messages.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a push message processing apparatus 600 according to an example embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an interface to input/output (I/O) 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the push message processing method described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 606 provides power to the various components of device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described push message processing method.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the push message processing method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. A push message processing method, comprising:
when a plurality of push messages are received, obtaining keywords of each push message;
detecting whether similar messages exist in the plurality of push messages according to the acquired keywords of each push message;
and when determining that the plurality of push messages have the same type of messages, merging the same type of messages to obtain merged push messages.
2. The method according to claim 1, wherein the detecting whether similar messages exist in the push messages of the plurality of application programs according to the obtained keyword of each push message comprises:
acquiring similarity among the keywords;
and when the numerical value corresponding to the similarity is larger than or equal to a first threshold value, determining that the push message corresponding to the keyword is the same type of message.
3. The method of claim 1, wherein the obtaining the keyword of each push message comprises:
when a first push message is received, performing word segmentation processing on the first push message to obtain a keyword of the first push message;
when a second push message is received, acquiring a keyword of the second push message according to the keyword of the first push message;
the first push message is a received first push message, the second push message is a received push message or multiple push messages, and the difference between the receiving time of the second push message and the receiving time of the first push message is a positive number.
4. The method according to claim 3, wherein the detecting whether similar messages exist in the push messages of the plurality of application programs according to the obtained keyword of each push message comprises:
setting a first weight for the keyword of the first push message;
calculating according to the keywords of the first push message and the first weight to obtain the weight of the first push message;
setting a second weight for the keyword of the second push message;
calculating according to the keywords of the second push message and the second weight to obtain the weight of the second push message;
calculating according to the weight of the first push message and the weight of the second push message to obtain the similarity of the first push message and the second push message;
and when the numerical value corresponding to the similarity is larger than or equal to a second threshold value, determining that the first push message and the second push message are the same type of message.
5. The method according to claim 1, wherein the merging the similar messages to obtain merged push messages comprises:
selecting a representative message from the similar messages, and determining the representative message as the combined push message; or,
and merging the contents of all the push messages in the same kind of messages to generate the merged push message, wherein the number of the keywords contained in the merged push message is more than that of the keywords in any one of the push messages in the same kind of messages.
6. The message pushing method according to claim 1, wherein the method further comprises:
and selecting a representative message from the similar messages, and storing the representative message, wherein the representative message is used for judging whether to combine the received new push message with the similar messages.
7. A push message processing apparatus, comprising:
the keyword acquisition module is configured to acquire a keyword of each push message when a plurality of push messages are received;
the message detection module is configured to detect whether similar messages exist in the plurality of push messages according to the keywords of each push message acquired by the keyword acquisition module;
and the message merging module is configured to merge the same type of messages to obtain merged push messages when the message detection module determines that the same type of messages exist in the plurality of push messages.
8. The apparatus of claim 7, wherein the message detection module comprises:
a similarity obtaining submodule configured to obtain a similarity between the keywords;
the first determining submodule is configured to determine that the push messages corresponding to the keywords are similar messages when the numerical value corresponding to the similarity is larger than or equal to a first threshold value.
9. The apparatus of claim 7, wherein the keyword obtaining module comprises:
the first keyword acquisition sub-module is configured to perform word segmentation processing on a first push message when the first push message is received to obtain a keyword of the first push message;
the second keyword acquisition sub-module is configured to acquire a keyword of a second push message according to the keyword of the first push message when the second push message is received; the first push message is a received first push message, the second push message is a received push message or multiple push messages, and the difference between the receiving time of the second push message and the receiving time of the first push message is a positive number.
10. The apparatus of claim 9, wherein the message detection module comprises:
a first weight setting sub-module configured to set a first weight for a keyword of the first push message;
a first weight determination submodule configured to calculate according to the keyword of the first push message and the first weight to obtain a weight of the first push message;
a second weight setting sub-module configured to set a second weight for the keyword of the second push message;
the second weight determination submodule is configured to calculate according to the keywords of the second push message and the second weight to obtain a weight of the second push message;
the similarity determination submodule is configured to calculate according to the weight of the first push message and the weight of the second push message to obtain the similarity of the first push message and the second push message;
a second determining submodule configured to determine that the first push message and the second push message are the same type of message when the value corresponding to the similarity is greater than or equal to a second threshold.
11. The apparatus of claim 7,
the message merging module is configured to select a representative message from the similar messages and determine the representative message as the merged push message; or merging the contents of all the push messages in the same kind of messages to generate the merged push message, wherein the number of the keywords contained in the merged push message is more than that of the keywords in any one push message in the same kind of messages.
12. The apparatus of claim 7, further comprising:
and the representative message selecting module is configured to select a representative message from the similar messages and store the representative message, wherein the representative message is used for judging whether to combine the received new push message with the similar messages.
13. A push message processing apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a plurality of push messages are received, obtaining keywords of each push message;
detecting whether similar messages exist in the plurality of push messages according to the acquired keywords of each push message;
and when determining that the plurality of push messages have the same type of messages, merging the same type of messages to obtain merged push messages.
CN201610799965.0A 2016-08-31 2016-08-31 Push message processing method and device Pending CN106372204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610799965.0A CN106372204A (en) 2016-08-31 2016-08-31 Push message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610799965.0A CN106372204A (en) 2016-08-31 2016-08-31 Push message processing method and device

Publications (1)

Publication Number Publication Date
CN106372204A true CN106372204A (en) 2017-02-01

Family

ID=57898845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610799965.0A Pending CN106372204A (en) 2016-08-31 2016-08-31 Push message processing method and device

Country Status (1)

Country Link
CN (1) CN106372204A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777403A (en) * 2017-03-28 2017-05-31 百度在线网络技术(北京)有限公司 Information-pushing method and device
CN107562475A (en) * 2017-08-29 2018-01-09 广东欧珀移动通信有限公司 Message display method, device and terminal
CN107846352A (en) * 2017-11-10 2018-03-27 维沃移动通信有限公司 A kind of method for information display, mobile terminal
CN108600089A (en) * 2018-04-20 2018-09-28 维沃移动通信有限公司 A kind of display methods and terminal device of facial expression image
CN108616444A (en) * 2018-03-30 2018-10-02 平安科技(深圳)有限公司 A kind of PUSH message processing method, computer readable storage medium and terminal device
CN108881624A (en) * 2018-05-30 2018-11-23 维沃移动通信有限公司 A kind of message display method and terminal device
CN109086129A (en) * 2018-09-06 2018-12-25 麒麟合盛网络技术股份有限公司 The control method and device of service execution
CN109189585A (en) * 2018-07-09 2019-01-11 珠海市魅族科技有限公司 Notify methods of exhibiting, mobile terminal and storage medium
CN109446323A (en) * 2018-10-16 2019-03-08 北京小米智能科技有限公司 Information aggregation method, device and equipment
CN110888986A (en) * 2019-12-06 2020-03-17 北京明略软件系统有限公司 Information pushing method and device, electronic equipment and computer readable storage medium
CN110888566A (en) * 2018-09-10 2020-03-17 中兴通讯股份有限公司 Information display method and device and computer readable storage medium
CN111585871A (en) * 2020-05-07 2020-08-25 北京无限光场科技有限公司 Message notification method, device, equipment and storage medium
CN111813897A (en) * 2020-07-14 2020-10-23 深圳市卡牛科技有限公司 Article display method, article display device, server and storage medium
CN115633187A (en) * 2022-12-22 2023-01-20 易方信息科技股份有限公司 Chat message processing method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150112918A1 (en) * 2012-03-17 2015-04-23 Beijing Yidian Wangju Technology Co., Ltd. Method and system for recommending content to a user
CN105069102A (en) * 2015-08-03 2015-11-18 百度在线网络技术(北京)有限公司 Information push method and apparatus
CN105227662A (en) * 2015-09-30 2016-01-06 努比亚技术有限公司 Message treatment method, device and system
CN105827510A (en) * 2016-03-31 2016-08-03 维沃移动通信有限公司 Push message processing method for mobile terminal, and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150112918A1 (en) * 2012-03-17 2015-04-23 Beijing Yidian Wangju Technology Co., Ltd. Method and system for recommending content to a user
CN105069102A (en) * 2015-08-03 2015-11-18 百度在线网络技术(北京)有限公司 Information push method and apparatus
CN105227662A (en) * 2015-09-30 2016-01-06 努比亚技术有限公司 Message treatment method, device and system
CN105827510A (en) * 2016-03-31 2016-08-03 维沃移动通信有限公司 Push message processing method for mobile terminal, and mobile terminal

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777403A (en) * 2017-03-28 2017-05-31 百度在线网络技术(北京)有限公司 Information-pushing method and device
CN106777403B (en) * 2017-03-28 2020-07-28 百度在线网络技术(北京)有限公司 Information pushing method and device
CN107562475A (en) * 2017-08-29 2018-01-09 广东欧珀移动通信有限公司 Message display method, device and terminal
CN107846352A (en) * 2017-11-10 2018-03-27 维沃移动通信有限公司 A kind of method for information display, mobile terminal
CN107846352B (en) * 2017-11-10 2021-01-08 维沃移动通信有限公司 Information display method and mobile terminal
CN108616444B (en) * 2018-03-30 2019-10-25 平安科技(深圳)有限公司 A kind of PUSH message processing method, computer readable storage medium and terminal device
CN108616444A (en) * 2018-03-30 2018-10-02 平安科技(深圳)有限公司 A kind of PUSH message processing method, computer readable storage medium and terminal device
CN108600089A (en) * 2018-04-20 2018-09-28 维沃移动通信有限公司 A kind of display methods and terminal device of facial expression image
CN108600089B (en) * 2018-04-20 2020-06-30 维沃移动通信有限公司 Expression image display method and terminal equipment
WO2019201146A1 (en) * 2018-04-20 2019-10-24 维沃移动通信有限公司 Expression image display method and terminal device
CN108881624A (en) * 2018-05-30 2018-11-23 维沃移动通信有限公司 A kind of message display method and terminal device
CN109189585A (en) * 2018-07-09 2019-01-11 珠海市魅族科技有限公司 Notify methods of exhibiting, mobile terminal and storage medium
CN109086129A (en) * 2018-09-06 2018-12-25 麒麟合盛网络技术股份有限公司 The control method and device of service execution
CN110888566A (en) * 2018-09-10 2020-03-17 中兴通讯股份有限公司 Information display method and device and computer readable storage medium
CN110888566B (en) * 2018-09-10 2022-07-12 中兴通讯股份有限公司 Information display method and device and computer readable storage medium
CN109446323A (en) * 2018-10-16 2019-03-08 北京小米智能科技有限公司 Information aggregation method, device and equipment
CN110888986A (en) * 2019-12-06 2020-03-17 北京明略软件系统有限公司 Information pushing method and device, electronic equipment and computer readable storage medium
CN111585871A (en) * 2020-05-07 2020-08-25 北京无限光场科技有限公司 Message notification method, device, equipment and storage medium
CN111813897A (en) * 2020-07-14 2020-10-23 深圳市卡牛科技有限公司 Article display method, article display device, server and storage medium
CN115633187A (en) * 2022-12-22 2023-01-20 易方信息科技股份有限公司 Chat message processing method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106372204A (en) Push message processing method and device
US10372469B2 (en) Method and device for displaying information
CN105843615B (en) Notification message processing method and device
CN104834559B (en) Notification message display method and device
US9591120B2 (en) Method and device for adding application badge
US20180121040A1 (en) Method and device for managing notification messages
US10242678B2 (en) Friend addition using voiceprint analysis method, device and medium
CN108764003B (en) Picture identification method and device
CN106354504B (en) Message display method and device
EP3176999A1 (en) Method and device for processing information
CN105426485A (en) Image combination method and device, intelligent terminal and server
CN106331328B (en) Information prompting method and device
CN104461236A (en) Method and device for displaying application icons
CN107402767B (en) Method and device for displaying push message
CN105242837B (en) Five application page acquisition methods and terminal
CN112131466A (en) Group display method, device, system and storage medium
US20160349947A1 (en) Method and device for sending message
CN104951522B (en) Method and device for searching
CN107179837B (en) Input method and device
CN106919302B (en) Operation control method and device of mobile terminal
CN106506808B (en) Method and device for prompting communication message
CN110213062B (en) Method and device for processing message
CN107203279B (en) Keyword prompting method and device
CN104933107A (en) Searching method of push message and searching device of push message
CN104317480B (en) Character keys display methods, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170201

RJ01 Rejection of invention patent application after publication