[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115706736A - Push message processing method and device, intelligent terminal and storage medium - Google Patents

Push message processing method and device, intelligent terminal and storage medium Download PDF

Info

Publication number
CN115706736A
CN115706736A CN202110915178.9A CN202110915178A CN115706736A CN 115706736 A CN115706736 A CN 115706736A CN 202110915178 A CN202110915178 A CN 202110915178A CN 115706736 A CN115706736 A CN 115706736A
Authority
CN
China
Prior art keywords
message
push
message type
application program
interested
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
CN202110915178.9A
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Imoo Electronic Technology 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 Guangdong Imoo Electronic Technology Co Ltd filed Critical Guangdong Imoo Electronic Technology Co Ltd
Priority to CN202110915178.9A priority Critical patent/CN115706736A/en
Priority to PCT/CN2021/118788 priority patent/WO2023015671A1/en
Publication of CN115706736A publication Critical patent/CN115706736A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a push message processing method, a push message processing device, an intelligent terminal and a storage medium, wherein the push message processing method comprises the following steps: acquiring a push message and a message type of the push message; judging whether the push message is a target push message according to a preset application program-message type table and a message type; and under the condition that the push message is the target push message, pushing the push message to an application program interested in the message type. The method has the advantages that push messages are obtained through unified interception, whether the obtained push messages are targeted push messages or not is judged according to a preset application program-message type table, the effects of pushing interesting messages to an application program and intercepting and filtering uninteresting push messages are achieved, the demand and power consumption of a message pushing service on a memory can be greatly reduced, and the smooth operation of an intelligent terminal and the good use state of a battery are kept.

Description

Push message processing method and device, intelligent terminal and storage medium
Technical Field
The present invention relates to the field of instant messaging technologies, and in particular, to a method and an apparatus for processing a push message, an intelligent terminal, and a storage medium.
Background
With the development of internet industry and information technology, various intelligent terminals are applied to the life of people, and people are also used to contact the world outside the life by means of the intelligent terminals to acquire the first-hand information of hot events occurring in the world. In the process, message pushing is an essential service, and basically, an application program installed in the intelligent terminal configures the service function.
However, for smart terminals such as smart watches, etc., the size and hardware constraints are limited, and the memory and the battery cannot well support that all application programs installed thereon operate their respective message push service functions independently, but there is a need for a precise user scenario, and a message push service function is needed to achieve better user experience, so a push message processing method is urgently needed.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a push message processing method, apparatus, intelligent terminal and storage medium, which implement a message push service function with low memory requirement and low power consumption.
In a first aspect, a push message processing method is provided, which is applied to a first intelligent terminal, and the method includes the following steps:
acquiring a push message and a message type of the push message;
judging whether the push message is a target push message according to a preset application program-message type table and the message type, wherein the application program-message type table is used for reflecting the corresponding relation between an application program and the message type interested by the application program, and the target push message is a message corresponding to the message type interested by any application program in the application program-message type table;
and pushing the push message to an application program interested in the message type under the condition that the push message is the target push message.
In the technical scheme, push messages are intercepted and obtained in a unified mode, whether the intercepted and obtained push messages are target push messages or not is judged according to a preset application program-message type table, message push service function support is provided for application programs on the application program-message type table, and the effects that the interested messages, namely the target push messages, are pushed only to the application programs and the uninteresting push messages of the intelligent terminal are intercepted and filtered are achieved.
With reference to the first aspect, in a possible implementation manner, the determining, according to a preset application-message type table and the message type, whether the push message is a target push message includes: inquiring and judging whether the message type exists in the application program-message type table or not; determining that the push message is the target push message if the message type exists in the application-message type table. Whether the push message is the target push message is judged in a table look-up mode, so that the method is simple and direct, the operation resource is saved, and the judgment on whether the push message is the target push message can be completed at a higher speed.
With reference to the first aspect, in a possible implementation manner, the application-message type table is regenerated after the first intelligent terminal is restarted; the method further comprises the following steps: scanning push configuration preset by all application programs on the first intelligent terminal, wherein the push configuration comprises information types interested by the application programs; obtaining the type of the message interested by each application program according to the push configuration; and generating an application program-message type table according to the package names of all the application programs and the message types interested by each application program, wherein the package names are used for pointing to the application programs corresponding to the package names. Determining which push messages need to be received and which push messages can be filtered through the corresponding relation between a preset application program and the interested message types, and generating an application program-message type table by all the corresponding relations so as to effectively process the push messages; the application program-message type table is generated after the intelligent terminal is restarted, and can be updated in time according to the change condition and the update condition of the application on the intelligent terminal.
With reference to the first aspect, in a possible implementation manner, the push configuration of each application further includes a static broadcast for receiving a message of interest to the application; the pushing the push message to an application program interested in the message type comprises: acquiring a target package name of an application program corresponding to the message type of the target push message according to the application program-message type table; and generating a push broadcast message carrying the target package name and the target push message, and broadcasting the push broadcast message to all application programs in the first intelligent terminal so that the static broadcast of the application program corresponding to the target package name receives the push broadcast message. The push message is received in a static broadcast mode, the message push service function can be continuously monitored in a longer life cycle of the static broadcast, and when the message in which the application program is interested is broadcast, the message can be acquired at the first time.
With reference to the first aspect, in a possible implementation manner, the method further includes: under the condition that a selected instruction of a target application program is obtained, obtaining an interested message type list of the target application program and all message type lists which are supported and received by the target application program, wherein the target application program is any one of the first intelligent terminal; and under the condition that a change instruction of the interested message type list is obtained, selecting a message type from all message type lists and adding the message type into the interested message type list, or deleting the message type in the interested message type list so as to finish the change of the user on the interested message type list. The user can carry out secondary configuration on the basis of the default push configuration of the application program by issuing the selection instruction and the change instruction, and the receiving setting of the intelligent terminal on the push message is adjusted according to the preference of the user.
With reference to the first aspect, in a possible implementation manner, after the obtaining the list of the message types of interest of the target application and the list of all message types that the target application supports receiving, the method includes: sending the interested message type list and the all message type list to a second intelligent terminal bound with the first intelligent terminal; and receiving the change instruction which is returned by the second intelligent terminal and made according to the interested message type list and the all message type list. The push message receiving setting of the first intelligent terminal is controlled through the second intelligent terminal, the application scene is expanded, the push service of the first intelligent terminal of the small screen is controlled or set through the second intelligent terminal of the large screen, and the push service of the first intelligent terminal of the child is controlled or set through the second intelligent terminal of the parent.
In a second aspect, a push message processing apparatus is provided, where the apparatus is applied to a first intelligent terminal, and the apparatus includes:
the acquisition module is used for acquiring the push message and the message type of the push message;
the judging module is used for judging whether the push message is a target push message according to a preset application program-message type table and the message type, wherein the application program-message type table is used for reflecting the corresponding relation between an application program and the message type interested by the application program, and the target push message is a message corresponding to the message type interested by any application program in the application program-message type table;
and the pushing module is used for pushing the push message to an application program interested in the message type under the condition that the push message is the target push message.
In a third aspect, an intelligent terminal is provided, which includes a memory and one or more processors, where the one or more processors are configured to execute one or more computer programs stored in the memory, and the one or more processors, when executing the one or more computer programs, enable the intelligent terminal to implement the push message processing method of the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, in which a computer program is stored, the computer program comprising program instructions, which, when executed by a processor, cause the processor to perform the push message processing method of the first aspect.
The application can realize the following beneficial effects: the push message received by the intelligent terminal can be managed and distributed uniformly, and the problems of memory tightness and high power consumption when the intelligent terminal with the same volume as the intelligent watch is small supports the message push service function are solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Wherein:
fig. 1 is a flowchart illustrating an implementation of a push message processing method according to an embodiment of the present application;
fig. 2 is a flowchart of application installation provided in an embodiment of the present application;
fig. 3 is a flowchart of an implementation of a method for generating an application-message type table according to an embodiment of the present application;
fig. 4 is a flowchart of another push message processing method according to an embodiment of the present application;
fig. 5 is a block diagram illustrating a push message processing apparatus according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a structure of another push message processing apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of a structure of an intelligent terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Along with the improvement of people's standard of living and the development of internet of things, intelligence wearing has been popularizing fast, including intelligent terminals such as intelligent wrist-watch, intelligent bracelet, intelligent glasses, they are applied to scenes such as motion scene, school's scene, scene of working under water, disabled person life, supply the blank that computer and smart mobile phone can't satisfy in people's life. However, for a large enough intelligent terminal such as a smart phone or a tablet, a standard-size processor, a memory unit and a battery are provided to support an application installed on the intelligent terminal to independently run respective complete service functions; however, smart terminals such as smart watches are limited by volume and hardware, and only parts with weak performance can be adopted to meet the requirement on volume.
Therefore, when intelligent services are provided for people by using a small intelligent terminal such as a smart watch, a new method needs to be designed to meet the functional requirements of users under the condition of hardware limitation.
Instant Messaging (IM) is one of the functions that are common in application programs and even necessary to some extent, and is a real-time communication function that allows two or more parties to communicate text messages, files, voice and video in real time using a network. For an instant messaging scene between a service provider and a user, message pushing is generally performed, for example, a mobile phone terminal receives messages such as hot news and interest recommendation pushed by each application program every day. When the smart watch is used on a small smart terminal with the same volume as the smart watch, for example, with the rise of the smart wearing market, many common application programs have developed versions suitable for the smart watch, such as WeChat, internet music, on-wrist Bilibili, and the like, and it is conceivable that if each application program independently runs a respective message pushing function, memory overhead of the smart watch is increased, and the watch is jammed; meanwhile, power consumption is increased, and electric quantity is reduced rapidly. In addition, there are many applications for which push messages are simply not needed by the smart watch or smart watch user, such as pushing video messages on a smart watch that does not support video playback. Therefore, a push message processing method is needed.
The technical scheme of the embodiment of the invention is suitable for intelligent terminals, in particular to intelligent terminals with smaller memory space and battery capacity caused by smaller volume, such as intelligent watches, intelligent bracelets, intelligent glasses and the like. The push messages of all application programs on the intelligent terminal are uniformly received, filtered and distributed through the independent message push service function, so that the memory and power consumption required by the message push service are reduced, and the user experience in the scene requiring message push is saved to a certain extent.
In this document, the specific embodiment of the invention is described by taking an intelligent terminal loaded with an android system as an example, and it can be understood that methods for implementing the same or similar technical features as those of the invention by taking other intelligent systems and intelligent terminals, such as other types of intelligent terminals loaded with systems like apple, linux, or hongmeng, as execution subjects are within the scope of the invention.
The technical solution of the present application is specifically described below.
Referring to fig. 1, fig. 1 is a push message processing method provided in an embodiment of the present application, which is applied to a first intelligent terminal, and the method includes the following steps:
step 102, acquiring a push message and a message type of the push message.
The first intelligent terminal is an intelligent terminal for executing the method, and the first intelligent terminal is only distinguished from the subsequent second intelligent terminal, and has no specific meaning and no limitation.
The push message refers to a message pushed to the intelligent terminal by an application installed on the intelligent terminal, such as a current affair message pushed by a microblog application, entertainment news, a weather forecast pushed by a weather-related application, and the like. The message type refers to type attributes obtained by dividing the push message according to different division standards, for example, the push message is divided according to technical attributes, and the push message type includes text messages, picture messages and video messages; if the message types are divided according to the business attributes, the push message types comprise news information types, marketing activities types and system function types; or the technical attributes and the service attributes can be mixed and then more finely divided, such as news information-characters and the like.
It should be noted that the message types have unique identification codes, and the same names of the message types do not represent that the message types themselves are equivalent, for example, the push message types of the microblog and the internet news have "news information types", but the unique identification codes of the microblog and the internet news may be 10000-1 and 32005-2 respectively; and the unique identification code used for the message type may be consistent for the same company or series of applications.
The method comprises the steps that an application program side and an intelligent terminal side agree in advance, when an application program is installed in the intelligent terminal, the type of a message interested by the application program is preset in the push configuration of the application program, so that the intelligent terminal judges whether the push message is the message interested by the application program after receiving the push message, and then filtering processing is carried out; in addition, a static broadcast for receiving a message interested by the application program is preset in the push configuration of the application program, so that the message is acquired by the application program at the first time after the intelligent terminal receives the push message interested by the application program, and the situation that the push message is delayed and even lost due to the fact that the application program is not operated can not occur.
As shown in fig. 2, the application party of the application a \ B \ C presets the type of the message in which the application a \ B \ C is interested and the corresponding static broadcast in the installation package of the application according to the convention, and the user installs the application a \ B \ C on the intelligent terminal.
For example, the application program "super curriculum schedule" is agreed with the smart watch party, when the application program "super curriculum schedule" is installed in the smart watch, the interested message types are 1 and 2, and the message types of the message pushed by the application program party of the "super curriculum schedule" to all the smart terminals installed with the application program "super curriculum schedule" include 1, 2, 3 and 4, so that when the smart watch acquires the push message of the "super curriculum schedule", the smart watch filters the push message of the message types 3 and 4, and only pushes the push message of the message types 1 and 2 to the application program "super curriculum schedule".
When the intelligent terminal acquires the push message forwarded by the platform server of the intelligent terminal side, the message push service function on the intelligent terminal uniformly intercepts, manages and filters the push message, and then acquires the message type information contained in the push message. Therefore, only one message push service function needs to be maintained on the intelligent terminal, and the message distributed by the platform server is received, so that the memory requirement and the power consumption are greatly reduced compared with the case that each application program runs the respective message push service function.
In some possible embodiments, the filtering is performed when the platform server receives the push message, for example, the "super curriculum schedule" application program side filters the push message of the platform server, where the push message includes a plurality of messages with message types 1, 2, 3 or 4, and the platform server directly filters the push message of the message types 3 and 4, where the message types are not of interest to the application program, according to the convention, and distributes the push message of the message types 1 and 2 to the specific intelligent terminal.
And step 104, judging whether the push message is a target push message according to a preset application program-message type table and the message type, wherein the application program-message type table is used for reflecting the corresponding relation between an application program and the message type interested by the application program, and the target push message is a message corresponding to the message type interested by any application program in the application program-message type table.
The application program-message type table is a mapping table preset in the intelligent terminal and used for reflecting the corresponding relation between the application program and the message type interested by the application program, and the application program-message type table is regenerated after the intelligent terminal is restarted so as to update the application program-message type table.
As shown in fig. 3, in some possible embodiments, the generation of the application-message type table includes the steps of:
step 302, scanning push configurations preset by all application programs on the intelligent terminal.
Wherein the push configuration includes the type of message of interest to the application, as previously described.
And 304, acquiring the message type interested by each application program according to the push configuration.
The intelligent terminal traverses the push configuration of each application to acquire the package name and the interested message type of each application program. Specifically, in the intelligent terminal adopting the android system, the intelligent terminal traverses android xml files of each application program, acquires a value, the name of which is defined as a value configured corresponding to a fixed SYNC _ MSG _ TYPE, from meta-data configured in the xml files, and analyzes the value to obtain a message TYPE interested by the current application program.
Step 306, generating an application program-message type table according to the package names of all the application programs and the message types interested by each application program, wherein the package names are used for pointing to the application programs corresponding to the package names.
Specifically, a list table is newly created to record the push type of the application program interested by analysis, and a mapping relationship is established between the package name of the application program and the message type of the application program interested by the application program in the list set to obtain an application program-message type table.
It is understood that a part of the application program does not preset the type of the message of interest in the push configuration, which means that the part of the application program does not need the support of the message push service function.
In some possible embodiments, when a new application is installed in the intelligent terminal, the intelligent terminal scans the push configuration of the new application, and after a mapping relationship between a package name of the new application and a message type in which the new application is interested is obtained, the mapping relationship is updated to an application-message type table.
In an embodiment, the determining whether the push message is a target push message according to a preset application-message type table and the message type includes: inquiring and judging whether the message type exists in the application program-message type table or not; determining that the push message is the target push message if the message type exists in the application-message type table.
As can be known from the foregoing, what is recorded in the application-message type table is a mapping relationship between an application package name and a message type that is interested in the application, and as long as the message type of the push message exists in the application-message type table, it indicates that one or more applications in the intelligent terminal are interested in the push message, and thus it can be determined that the push message is the target push message.
Whether the push message is the target push message is judged in a table look-up mode, so that the method is simple and direct, the calculation resource is saved, and the judgment on whether the push message is the target push message can be finished at a higher speed.
And 106, when the push message is the target push message, pushing the push message to an application program interested in the message type.
When the intelligent terminal judges that the push message is the target push message, the target push message is pushed to an application program interested in the message type in a broadcasting mode.
In one embodiment, the push configuration of each application further includes a static broadcast for receiving messages of interest to the application; the pushing the push message to an application program interested in the message type comprises: acquiring a target package name of an application program corresponding to the message type of the target push message according to the application program-message type table; and generating a push broadcast message carrying the target package name and the target push message, and broadcasting the push broadcast message to all application programs in the first intelligent terminal so that the static broadcast of the application program corresponding to the target package name receives the push broadcast message.
The method comprises the steps that static broadcast in the push configuration of the application program is set to be immediately acquired when the broadcast message carrying the package name of the application program is monitored. The specific preset broadcasting process is that the action of the broadcast is set to "$ { pkgName }. Im.data", wherein pkgName is the package name of the application program; and registering the broadcast as a static broadcast in an android manifest. Thus, when the static broadcast monitors the broadcast message with action format "$ { pkgName }. Im.
In the agreement between an application program side and an intelligent terminal side, when the intelligent terminal judges that a push message is a target push message, acquiring a packet name of an application program interested in the target push message, generating a push broadcast message carrying the target packet name and the target push message, and finally broadcasting the push broadcast message to all application programs in the intelligent terminal. Specifically, the intelligent terminal generates a push broadcast message with action format "$ { pkgName }. Im.data" according to the target package name and the target push message, and broadcasts the push broadcast message to all application programs in the intelligent terminal.
It should be noted that, the push message is received in the form of static broadcast, the message push service function can be continuously monitored in a longer life cycle of the static broadcast, and even if the application program is not currently in a start or running state, when a message in which the application program is interested is broadcast, the broadcast message pushed by the intelligent terminal can be acquired at the first time.
Referring to fig. 4, fig. 4 is a flowchart of a push message processing method in another embodiment, after a platform server on the intelligent terminal side receives a push message sent by an application server, and distributes the push message to each intelligent terminal, the platform server is subjected to unified interception processing by a message push service function of the intelligent terminal; then obtaining the message type of the push message, and inquiring whether the message type exists in an application program-message type table; if yes, pushing the push message to an application program interested in the push message; and if not, discarding the push message.
According to the push message processing method, the push messages are intercepted and obtained in a unified mode, whether the intercepted and obtained push messages are the target push messages or not is judged according to the preset application program-message type table, the message push service function support is only provided for the application programs on the application program-message type table, the effect that the messages which are only interested in the application programs, namely the target push messages, are pushed by the application programs is achieved, and the push messages which are not interested in the intelligent terminal are intercepted and filtered is achieved.
In one embodiment, the method further comprises: under the condition that a selected instruction of a target application program is obtained, obtaining an interested message type list of the target application program and all message type lists which are supported and received by the target application program, wherein the target application program is any one of the first intelligent terminal; under the condition that a change instruction of the interested message type list is obtained, selecting a message type from all the message type lists to add to the interested message type list, or deleting the message type in the interested message type list, so as to finish the change of the user on the interested message type list.
The selection instruction of the target application program is used for selecting any application program in the first intelligent terminal as the target application program, and the selection instruction can be issued by a user through the first intelligent terminal and can also be issued through second and third intelligent terminals except the first intelligent terminal; the list of message types of interest to the target application reflects one or more message types of interest to the target application at the current time, and the list of all message types supported for receipt by the target application reflects the message types supported for receipt by the target application that may be of interest.
The change instruction of the interested message type list is used for adjusting and changing the interested message type list, and similarly, the change instruction can also be issued to a user through a first intelligent terminal, and can also be issued through a second intelligent terminal, a third intelligent terminal and other intelligent terminals except the first intelligent terminal.
For example, the user needs to pay attention to national political news while taking a special exam for a student in a war research, so that the interested message type list of the entertainment application program is set to be empty by issuing a selection instruction and a change instruction, and the message types irrelevant to political and social news are removed from the interested message type list of the information application program. After investigation, the interested message type list can be selected to be restored to the default setting, and can also be selectively added back from all message type lists.
The user can carry out secondary configuration on the basis of default push configuration of the application program by issuing a selection instruction and a change instruction, and the receiving setting of the intelligent terminal on the push message is adjusted according to the preference of the user, so that the service provided by the intelligent terminal is more in line with the user requirement.
In one embodiment, after the obtaining the list of interesting message types of the target application program and the list of all message types that the target application program supports receiving, the method includes: sending the interested message type list and the all message type list to a second intelligent terminal bound with the first intelligent terminal; and receiving the change instruction which is returned by the second intelligent terminal and made according to the interested message type list and the all message type list.
The second intelligent terminal controls the push message receiving setting of the first intelligent terminal through the binding relationship between the two intelligent terminals, and the application scene can be that a user controls or sets the push service of the first intelligent terminal with a small screen through the second intelligent terminal with a large screen, so that the operation is more convenient; the second intelligent terminal of the parent can also control or set the push service of the first intelligent terminal of the child, so that the parent can control the entertainment condition of the child.
The method of the present application is described above, and in order to better carry out the method of the present application, the apparatus of the present application is described next.
As shown in fig. 5, in one embodiment, there is provided a push message processing apparatus, which is applied to a first intelligent terminal, and includes:
an obtaining module 10, configured to obtain a push message and a message type of the push message;
a determining module 20, configured to determine, according to a preset application-message type table and the message type, whether the push message is a target push message, where the application-message type table is used to reflect a correspondence between an application and a message type that the application is interested in, and the target push message is a message corresponding to the message type that any application in the application-message type table is interested in;
a push module 30, configured to send the push message to an application program interested in the message type if the push message is the target push message.
As shown in fig. 6, in an embodiment, the determining module 20 further includes: a querying unit 210, configured to query and determine whether the message type exists in the application-message type table; a determining unit 220, configured to determine that the push message is the target push message when the message type exists in the application-message type table.
In one embodiment, the apparatus further comprises: the scanning module is used for scanning push configuration preset by all application programs on the first intelligent terminal, wherein the push configuration comprises information types interested by the application programs; the message type obtaining module is used for obtaining the message type interested by each application program according to the push configuration; and the generating module is used for generating an application program-message type table according to the package names of all the application programs and the message types interested by each application program, wherein the package names are used for pointing to the application programs corresponding to the package names.
In one embodiment, the push module 30 is further configured to obtain a target package name of an application corresponding to a message type of the target push message according to the application-message type table; the push module 30 is further configured to generate a push broadcast message carrying the target package name and the target push message, and broadcast the push broadcast message to all application programs in the first intelligent terminal, so that the static broadcast of the application program corresponding to the target package name receives the push broadcast message.
In one embodiment, the apparatus further comprises: the list module is used for acquiring an interested message type list of a target application program and all message type lists which are supported and received by the target application program under the condition of acquiring a selected instruction of the target application program, wherein the target application program is any one of the application programs in the first intelligent terminal; and the changing module is used for selecting a message type from all the message type lists to add to the interested message type list or deleting the message type in the interested message type list under the condition of acquiring a changing instruction of the interested message type list so as to finish the change of the user on the interested message type list.
In one embodiment, the apparatus further comprises: the communication module is used for sending the interested message type list and all the message type lists to a second intelligent terminal bound with the first intelligent terminal; and the receiving module is used for receiving the change instruction which is returned by the second intelligent terminal and made according to the interested message type list and all message type lists.
According to the push message processing device, the push messages are intercepted and obtained in a unified mode, whether the intercepted and obtained push messages are the target push messages or not is judged according to the preset application program-message type table, the message push service function support is only provided for the application programs on the application program-message type table, the effect that the messages which are only interested in the application programs, namely the target push messages, are pushed and filtered is achieved, and the push messages which are not interested in the intelligent terminal are intercepted and filtered.
Fig. 7 shows an internal structural diagram of the intelligent terminal in one embodiment. As shown in fig. 7, the intelligent terminal includes a processor, a memory, and a network interface connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the intelligent terminal stores an operating system and also stores a computer program, and when the computer program is executed by a processor, the processor can realize the push message processing method. The internal memory may also store a computer program, and when executed by the processor, the computer program may cause the processor to perform the push message processing method. Those skilled in the art will appreciate that the structure shown in fig. 7 is only a block diagram of a part of the structure related to the present application, and does not constitute a limitation to the intelligent terminal to which the present application is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have different component arrangements.
In one embodiment, a smart terminal is presented comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring a push message and a message type of the push message; judging whether the push message is a target push message according to a preset application program-message type table and the message type, wherein the application program-message type table is used for reflecting the corresponding relation between an application program and the message type interested by the application program, and the target push message is a message corresponding to the message type interested by any application program in the application program-message type table; and pushing the push message to an application program interested in the message type under the condition that the push message is the target push message.
In an embodiment, the determining whether the push message is a target push message according to a preset application-message type table and the message type includes: inquiring and judging whether the message type exists in the application program-message type table or not; determining that the push message is the target push message if the message type exists in the application-message type table.
In one embodiment, the application-message type table is regenerated after the first intelligent terminal is restarted; the method further comprises the following steps: scanning push configuration preset by all application programs on the first intelligent terminal, wherein the push configuration comprises information types interested by the application programs; obtaining the interested message type of each application program according to the push configuration; and generating an application program-message type table according to the package names of all the application programs and the message types interested by each application program, wherein the package names are used for pointing to the application programs corresponding to the package names.
In one embodiment, the push configuration of each application further includes a static broadcast for receiving messages of interest to the application; the pushing the push message to an application program interested in the message type comprises: acquiring a target package name of an application program corresponding to the message type of the target push message according to the application program-message type table; and generating a push broadcast message carrying the target package name and the target push message, and broadcasting the push broadcast message to all application programs in the first intelligent terminal so that the static broadcast of the application program corresponding to the target package name receives the push broadcast message.
In one embodiment, the method further comprises: under the condition that a selected instruction of a target application program is obtained, obtaining an interested message type list of the target application program and all message type lists which are supported and received by the target application program, wherein the target application program is any one of the first intelligent terminal; and under the condition that a change instruction of the interested message type list is obtained, selecting a message type from all message type lists and adding the message type into the interested message type list, or deleting the message type in the interested message type list so as to finish the change of the user on the interested message type list.
In one embodiment, after the obtaining the list of message types of interest of the target application and the list of all message types that the target application supports receiving, the method includes: sending the interested message type list and all message type lists to a second intelligent terminal bound with the first intelligent terminal; and receiving the change instruction which is returned by the second intelligent terminal and made according to the interested message type list and the all message type list.
In one embodiment, a computer-readable storage medium is proposed, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the steps of:
acquiring a push message and a message type of the push message; judging whether the push message is a target push message according to a preset application program-message type table and the message type, wherein the application program-message type table is used for reflecting the corresponding relation between an application program and the message type interested by the application program, and the target push message is a message corresponding to the message type interested by any application program in the application program-message type table; and pushing the push message to an application program interested in the message type under the condition that the push message is the target push message.
In an embodiment, the determining whether the push message is a target push message according to a preset application-message type table and the message type includes: querying and judging whether the message type exists in the application program-message type table; determining that the push message is the target push message if the message type exists in the application-message type table.
In one embodiment, the application-message type table is regenerated after the first intelligent terminal is restarted; the method further comprises the following steps: scanning push configuration preset by all application programs on the first intelligent terminal, wherein the push configuration comprises information types interested in the application programs; obtaining the interested message type of each application program according to the push configuration; and generating an application program-message type table according to the package names of all the application programs and the message types interested by each application program, wherein the package names are used for pointing to the application programs corresponding to the package names.
In one embodiment, the push configuration for each application further includes a static broadcast for receiving messages of interest to the application; the pushing the push message to an application program interested in the message type comprises: acquiring a target package name of an application program corresponding to the message type of the target push message according to the application program-message type table; and generating a push broadcast message carrying the target package name and the target push message, and broadcasting the push broadcast message to all application programs in the first intelligent terminal so that the static broadcast of the application program corresponding to the target package name receives the push broadcast message.
In one embodiment, the method further comprises: under the condition that a selected instruction of a target application program is obtained, obtaining an interested message type list of the target application program and all message type lists which are supported and received by the target application program, wherein the target application program is any one of the first intelligent terminal; under the condition that a change instruction of the interested message type list is obtained, selecting a message type from all the message type lists to add to the interested message type list, or deleting the message type in the interested message type list, so as to finish the change of the user on the interested message type list.
In one embodiment, after the obtaining the list of interesting message types of the target application program and the list of all message types that the target application program supports receiving, the method includes: sending the interested message type list and the all message type list to a second intelligent terminal bound with the first intelligent terminal; and receiving the change instruction which is returned by the second intelligent terminal and made according to the interested message type list and the all message type list.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A push message processing method is applied to a first intelligent terminal, and comprises the following steps:
acquiring a push message and a message type of the push message;
judging whether the push message is a target push message according to a preset application program-message type table and the message type, wherein the application program-message type table is used for reflecting the corresponding relation between an application program and the message type interested by the application program, and the target push message is a message corresponding to the message type interested by any application program in the application program-message type table;
and pushing the push message to an application program interested in the message type under the condition that the push message is the target push message.
2. The method of claim 1, wherein the determining whether the push message is a target push message according to a preset application-message type table and the message type comprises:
querying and judging whether the message type exists in the application program-message type table;
determining that the push message is the target push message if the message type exists in the application-message type table.
3. The push message processing method of claim 1, wherein the application-message type table is regenerated after the first smart terminal is restarted; the method further comprises the following steps:
scanning push configuration preset by all application programs on the first intelligent terminal, wherein the push configuration comprises information types interested by the application programs;
obtaining the interested message type of each application program according to the push configuration;
and generating an application program-message type table according to the package names of all the application programs and the message types interested by each application program, wherein the package names are used for pointing to the application programs corresponding to the package names.
4. The push message processing method of claim 3, wherein the push configuration of each application further includes a static broadcast for receiving messages of interest to the application;
the pushing the push message to an application program interested in the message type comprises:
acquiring a target package name of an application program corresponding to the message type of the target push message according to the application program-message type table;
and generating a push broadcast message carrying the target package name and the target push message, and broadcasting the push broadcast message to all application programs in the first intelligent terminal so that the static broadcast of the application program corresponding to the target package name receives the push broadcast message.
5. The push message processing method of claim 1, further comprising:
under the condition that a selection instruction of a target application program is obtained, obtaining an interested message type list of the target application program and all message type lists which are supported and received by the target application program, wherein the target application program is any one application program in the first intelligent terminal;
and under the condition that a change instruction of the interested message type list is obtained, selecting a message type from all message type lists and adding the message type into the interested message type list, or deleting the message type in the interested message type list so as to finish the change of the user on the interested message type list.
6. The push message processing method of claim 5, further comprising, after the obtaining the list of message types of interest of the target application and the list of all message types that the target application supports receiving:
sending the interested message type list and the all message type list to a second intelligent terminal bound with the first intelligent terminal;
and receiving the change instruction which is returned by the second intelligent terminal and made according to the interested message type list and the all message type list.
7. A push message processing device is applied to a first intelligent terminal, and comprises:
the acquisition module is used for acquiring the push message and the message type of the push message;
the judging module is used for judging whether the push message is a target push message according to a preset application program-message type table and the message type, wherein the application program-message type table is used for reflecting the corresponding relation between an application program and the message type interested by the application program, and the target push message is a message corresponding to the message type interested by any application program in the application program-message type table;
and the pushing module is used for pushing the push message to an application program interested in the message type under the condition that the push message is the target push message.
8. The push message processing device of claim 7, wherein the determining module further comprises:
the query unit is used for querying and judging whether the message type exists in the application program-message type table or not;
a determining unit, configured to determine that the push message is the target push message when the message type exists in the application-message type table.
9. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 6.
10. An intelligent terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 6.
CN202110915178.9A 2021-08-10 2021-08-10 Push message processing method and device, intelligent terminal and storage medium Pending CN115706736A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110915178.9A CN115706736A (en) 2021-08-10 2021-08-10 Push message processing method and device, intelligent terminal and storage medium
PCT/CN2021/118788 WO2023015671A1 (en) 2021-08-10 2021-09-16 Push message processing method and apparatus, intelligent terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110915178.9A CN115706736A (en) 2021-08-10 2021-08-10 Push message processing method and device, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115706736A true CN115706736A (en) 2023-02-17

Family

ID=85179653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110915178.9A Pending CN115706736A (en) 2021-08-10 2021-08-10 Push message processing method and device, intelligent terminal and storage medium

Country Status (2)

Country Link
CN (1) CN115706736A (en)
WO (1) WO2023015671A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853043A (en) * 2015-05-07 2015-08-19 腾讯科技(深圳)有限公司 Notification message filtering and control method, smart phone and system
CN105704796A (en) * 2016-01-08 2016-06-22 北京京东尚科信息技术有限公司 Method and device of providing push message
CN107423147A (en) * 2017-07-26 2017-12-01 维沃移动通信有限公司 One kind notice recommendation method and mobile terminal
CN108763433A (en) * 2018-05-24 2018-11-06 珠海格力电器股份有限公司 Information pushing method and device
CN109783720A (en) * 2018-11-30 2019-05-21 平安科技(深圳)有限公司 Information push method, device, computer installation and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717616A (en) * 2013-12-13 2015-06-17 腾讯科技(深圳)有限公司 Push message management method and device
CN104767746B (en) * 2015-03-26 2018-05-01 上海大唐移动通信设备有限公司 PUSH message method of reseptance, information push method, client and server
CN105677719B (en) * 2015-12-29 2019-05-21 小米科技有限责任公司 The management method and device of application program
CN106412334A (en) * 2016-11-11 2017-02-15 努比亚技术有限公司 Notification message shielding device and method
CN111866109B (en) * 2020-07-10 2022-07-26 北京字节跳动网络技术有限公司 Message processing method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853043A (en) * 2015-05-07 2015-08-19 腾讯科技(深圳)有限公司 Notification message filtering and control method, smart phone and system
CN105704796A (en) * 2016-01-08 2016-06-22 北京京东尚科信息技术有限公司 Method and device of providing push message
CN107423147A (en) * 2017-07-26 2017-12-01 维沃移动通信有限公司 One kind notice recommendation method and mobile terminal
CN108763433A (en) * 2018-05-24 2018-11-06 珠海格力电器股份有限公司 Information pushing method and device
CN109783720A (en) * 2018-11-30 2019-05-21 平安科技(深圳)有限公司 Information push method, device, computer installation and storage medium

Also Published As

Publication number Publication date
WO2023015671A1 (en) 2023-02-16

Similar Documents

Publication Publication Date Title
US11474779B2 (en) Method and apparatus for processing information
KR101157846B1 (en) Scheduled downloads: enabling background processes to receive broadcast data
CN105338424B (en) A kind of method for processing video frequency and system
US9462020B2 (en) Intelligent client: multiple channel switching over a digital broadcast network
US20090183215A1 (en) Hybrid services: data, audio, and clipcast
CN103081492A (en) Signaling mechanisms, templates and systems for creation and delivery of interactivity events on mobile devices in a mobile broadcast communication system
JP5529292B2 (en) Adaptive monitoring method for update detection in mobile broadcast networks
CN107291744A (en) It is determined that and with the method and device of the relationship between application program
CN106603601A (en) Service processing method, device and system, and terminal equipment
CN110532493B (en) Data processing method and device, storage medium and electronic device
US20120233262A1 (en) Message signature method and device
US20080086756A1 (en) Media selection triggered through broadcast data
CN103257963A (en) Method and system for acquiring information
CN115706736A (en) Push message processing method and device, intelligent terminal and storage medium
CN101677317B (en) Sending method of updating content and dynamic content distribution server
CN112734545A (en) Block chain data sharing method, device and system
CN111930690A (en) File generation method and device
FR2816143A1 (en) Method for selective mass diffusion of a message in a telecom network and terminal for its implementation
CN104834728A (en) Pushing method and device for subscribed video
CN110874759A (en) Multimedia resource processing method and device, storage medium and electronic device
CN111756849B (en) Information broadcasting method and device
CN112422746A (en) Push message processing method and device, storage medium and electronic device
CN102006546A (en) Personalization information service system and sending method thereof
US20140192666A1 (en) Method, apparatus and system for transmitting wireless network targeted information
CN114390453B (en) Message pushing optimization method and terminal

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
TA01 Transfer of patent application right

Effective date of registration: 20230824

Address after: No. 168 Dongmen Middle Road, Xiaobian Community, Chang'an Town, Dongguan City, Guangdong Province, 523850

Applicant after: Guangdong GENIUS Technology Co., Ltd.

Address before: 523000 east side of the 15th floor, No. 168, Dongmen Middle Road, Xiaobian community, Chang'an Town, Dongguan City, Guangdong Province

Applicant before: GUANGDONG AIMENG ELECTRONIC TECHNOLOGY CO.,LTD.

TA01 Transfer of patent application right