CN111327515B - Electronic red packet detection method, electronic red packet detection device and mobile terminal - Google Patents

Electronic red packet detection method, electronic red packet detection device and mobile terminal Download PDF

Info

Publication number
CN111327515B
CN111327515B CN202010065961.6A CN202010065961A CN111327515B CN 111327515 B CN111327515 B CN 111327515B CN 202010065961 A CN202010065961 A CN 202010065961A CN 111327515 B CN111327515 B CN 111327515B
Authority
CN
China
Prior art keywords
notification
red packet
electronic red
preset
electronic
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.)
Active
Application number
CN202010065961.6A
Other languages
Chinese (zh)
Other versions
CN111327515A (en
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 Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010065961.6A priority Critical patent/CN111327515B/en
Publication of CN111327515A publication Critical patent/CN111327515A/en
Application granted granted Critical
Publication of CN111327515B publication Critical patent/CN111327515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • 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)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Computing Systems (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

The application is applicable to the technical field of mobile terminals, and provides an electronic red packet detection method, an electronic red packet detection device, a mobile terminal and a computer readable storage medium, which comprise: when the notification is acquired, detecting whether the notification is an electronic red packet notification of a preset application program in a notification service; if the notification is the electronic red packet notification, sending a broadcast to a system interface application; and after the system interface application receives the broadcast, prompting a user to detect the electronic red envelope in a preset mode. By the method and the device, the electronic red packet can be rapidly detected, and the safety of the mobile terminal is improved.

Description

Electronic red packet detection method, electronic red packet detection device and mobile terminal
Technical Field
The application belongs to the technical field of mobile terminals, and particularly relates to an electronic red packet detection method, an electronic red packet detection device, a mobile terminal and a computer readable storage medium.
Background
Currently, most mobile terminals (e.g., mobile phones, tablet computers, etc.) are installed with a large number of applications, such as WeChat. Besides the social and payment functions, the WeChat also has other additional functions, such as sending/robbing electronic red envelope. In order to improve the speed of grabbing the electronic red packet, in the prior art, third-party software for detecting the electronic red packet is usually installed on a mobile terminal, so that the electronic red packet is quickly detected, but the security of the third-party software is low.
Disclosure of Invention
The application provides an electronic red packet detection method, an electronic red packet detection device, a mobile terminal and a computer readable storage medium, so that the electronic red packet can be quickly detected, and the safety of the mobile terminal is improved.
In a first aspect, an embodiment of the present application provides an electronic red packet detection method, where the electronic red packet detection method includes:
when the notification is acquired, detecting whether the notification is an electronic red packet notification of a preset application program in a notification service;
if the notification is the electronic red packet notification, sending a broadcast to a system interface application;
and after the system interface application receives the broadcast, prompting a user to detect the electronic red envelope in a preset mode.
In a second aspect, an embodiment of the present application provides an electronic red packet detection device, including:
the notification detection module is used for detecting whether the notification is an electronic red packet notification of a preset application program in a notification service when the notification is acquired;
the broadcast sending module is used for sending a broadcast to a system interface application if the notification is the electronic red packet notification;
and the red packet prompting module is used for prompting the user to detect the electronic red packet in a preset mode after the system interface application receives the broadcast.
In a third aspect, an embodiment of the present application provides a mobile terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the electronic red packet detection method according to the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method for electronically detecting red packets according to the first aspect.
In a fifth aspect, the present application provides a computer program product, which when run on a mobile terminal, causes the mobile terminal to execute the steps of the electronic red packet detection method according to the first aspect.
Therefore, when the notification is acquired, whether the acquired notification is the electronic red packet notification or not is detected in the notification service of the mobile terminal, the electronic red packet can be quickly detected, the identification speed of the electronic red packet is improved, and when the acquired notification is the electronic red packet notification, the broadcast is sent to the system interface application of the mobile terminal, so that the user is prompted to detect the electronic red packet through the system interface application, the user can conveniently quickly grab the electronic red packet, the third-party software for detecting the electronic red packet by the user is not required to be installed on the mobile terminal, and the safety of the mobile terminal is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of an electronic red packet detection method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of an electronic red packet detection method according to the second embodiment of the present application
FIG. 3 is an exemplary diagram of electronic red packet detection;
fig. 4 is a schematic structural diagram of an electronic red packet detection device according to a third embodiment of the present application;
fig. 5 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present application;
fig. 6 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In particular implementations, the mobile terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a mobile terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The mobile terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Referring to fig. 1, which is a schematic view of an implementation flow of an electronic red packet detection method provided in an embodiment of the present application, where the electronic red packet detection method is applied to a mobile terminal, as shown in the figure, the electronic red packet detection method may include the following steps:
step S101, when the notification is acquired, whether the notification is an electronic red packet notification of a preset application program is detected in a notification service.
In the embodiment of the application, when the mobile terminal acquires the notification, the notification is sent to the notification service, and whether the acquired notification is an electronic red packet notification of a preset application program or not is detected in the notification service.
The notification acquired by the mobile terminal includes but is not limited to a notification of an application program installed by the mobile terminal, the application program includes but is not limited to a system application program and a third-party application program, when the server of the application program has information to notify the application program to update or process, the server of the application program pushes a notification to the mobile terminal, and the notification includes but is not limited to a notification of upgrading information of the application program, instant messaging information of the application program, setting information of the application program and the like.
The notification service is a system function of the mobile terminal, all notifications received or obtained by the mobile terminal need to be judged whether an application program corresponding to the received notification starts a notification authority or not through the notification service, and if the application program corresponding to the received notification starts the notification authority, the received notification can be displayed on the mobile terminal; and if the application program corresponding to the received notification does not start the notification authority, not displaying the received notification on the mobile terminal.
The preset application may refer to a certain type of application or an application with a certain function selected by a user from applications installed in the mobile terminal, for example, an application with an electronic mail capturing/generating function, such as WeChat, Paibao, QQ, and the like. Optionally, the user may modify the selected application according to actual needs.
Optionally, the detecting, in the notification service, whether the notification is an electronic red packet notification of a preset application includes:
detecting whether the notification is a notification of the preset application program in the notification service;
if the notification is the notification of the preset application program, acquiring a preset field corresponding to the preset application program;
acquiring the value of the preset field in the notification;
if the value of the preset field in the notification is the designated value, determining that the notification is the electronic red packet notification of the preset application program;
and if the value of the preset field in the notification is not the designated value, determining that the notification is not the electronic red packet notification of the preset application program.
In this embodiment of the application, after receiving the notification, the notification service may first obtain the packet name of the application corresponding to the notification, and if the packet name of the application corresponding to the notification is the packet name of the preset application, determine that the notification is the notification of the preset application, at this time, obtain the preset field corresponding to the preset application stored in advance from the notification service, obtain the value of the preset field carried by the notification (for example, obtain the value of the preset field carried by the notification by analyzing the event of the notification), and compare the value of the preset field in the notification with the specified value, so as to determine whether the notification is the electronic red packet notification of the preset application. The preset field may be a preset field for determining whether the notification is an electronic red packet notification, and all notifications of the preset application program generally include the preset field, but different notifications of the preset application program have different values of the preset field, so that it may be determined whether the notification acquired by the mobile terminal is the electronic red packet notification according to the value of the preset field. The specified value is a value of a preset field of an electronic red packet announcement of a preset application. For example, when the predetermined application is WeChat, the predetermined field may be a MainUI _ User _ Last _ Msg _ Type field, and the specified value may be 436207665. The intent mainly solves communication among various components of the Android application program and is responsible for describing actions, action related data and additional data of one operation in the application program, and the Android can find the corresponding component according to the description of the intent, transmit the intent to the called component and finish calling of the component.
Optionally, the embodiment of the present application further includes:
accessing a Rom update service function in the notification service, where the Rom update service function is configured to update the preset field in the notification service correspondingly when it is detected that the preset field is updated by the preset application.
In the embodiment of the present application, a Rom Update Service (RUS) function of the mobile terminal is accessed in the notification Service, which can timely Update a preset field of a preset application stored in the notification Service when the preset application updates a preset field for determining the electronic red packet notification, so as to avoid that the field function for identifying the electronic red packet feature is disabled when the preset application is updated. The updating of the preset field may refer to updating the preset field itself and/or updating a specified value of the preset field. The Rom update service function is used for applying an update configuration file to the mobile terminal system, and after the Rom update service function of the mobile terminal is accessed in the notification service, the preset field of the preset application program pre-stored in the notification service can be updated in time, so that the failure of the electronic red packet identification function in the notification service is avoided.
And step S102, if the notification is the electronic red packet notification, sending a broadcast to a system interface application.
In this embodiment of the application, if it is detected that the obtained notification is an electronic red packet notification in the notification service, the notification service may send a broadcast to the system interface application, so that the notification obtained by the broadcast prompting the system interface application is the electronic red packet notification. The system Interface application is a system application of the mobile terminal, namely, a system UI, which is a set of User Interface (UI) components for displaying and interacting system-level information provided by a system of the mobile terminal for a User, and includes, but is not limited to, system pages such as a status bar, a notification bar, a pull-down menu, a navigation bar, a lock screen, a recent task, and a low-power prompt. The broadcast sent to the system interface application carries the retrieved notification or carries the retrieved electronic red packet notification. A broadcast is a way in which communication can occur across processes, so that the broadcast by the service is notified and can be received by the system interface application.
And step S103, after the system interface application receives the broadcast, prompting a user to detect the electronic red envelope in a preset mode.
In the embodiment of the application, after receiving the broadcast, the system interface application may determine that the notification acquired by the mobile terminal is an electronic red packet notification, and at this time, the system interface may prompt the user to detect the electronic red packet in a preset manner. The preset mode may be a preset mode for prompting the user to detect the electronic red packet, for example, directly jumping to an interface where the electronic red packet is located or displaying an electronic red packet banner, where the banner may be a reminding frame displayed at a preset position (for example, the top) of the mobile terminal. Optionally, after the system interface application receives the broadcast, the mobile terminal may also automatically receive the detected electronic red envelope to quickly grab the electronic red envelope.
According to the embodiment of the application, when the notification is acquired, whether the acquired notification is the electronic red packet notification is detected in the notification service of the mobile terminal, the electronic red packet can be quickly detected, the identification speed of the electronic red packet is improved, and when the acquired notification is the electronic red packet notification, the broadcast is sent to the system interface application of the mobile terminal, so that the user is prompted to detect the electronic red packet through the system interface application, the user can quickly grab the electronic red packet conveniently, third-party software for detecting the electronic red packet by the user does not need to be installed on the mobile terminal, and the safety of the mobile terminal is improved.
Referring to fig. 2, which is a schematic view of an implementation flow of an electronic red packet detection method provided in the second embodiment of the present application, where the electronic red packet detection method is applied to a mobile terminal, as shown in the figure, the electronic red packet detection method may include the following steps:
step S201, when the notification is acquired, whether the notification is an electronic red packet notification of a preset application program is detected in a notification service.
The step is the same as step S101, and reference may be made to the related description of step S101, which is not repeated herein.
Step S202, if the notification is the electronic red packet notification, sending a broadcast to a system interface application.
The step is the same as step S102, and reference may be made to the related description of step S102, which is not repeated herein.
Step S203, after the system interface application receives the broadcast, the electronic red packet notification is analyzed from the broadcast.
In the embodiment of the application, the notification service carries the obtained notification (i.e., the electronic red packet notification) when sending the broadcast, and the system interface application can analyze the electronic red packet notification from the broadcast after receiving the broadcast.
Optionally, before prompting the user to detect the electronic red envelope in a preset manner according to the electronic red envelope notification, the method further includes:
detecting whether preset keywords exist in the electronic red packet notification;
correspondingly, prompting the user to detect the electronic red envelope in a preset mode according to the electronic red envelope notification comprises:
and if the preset keywords exist in the electronic red packet notification, prompting a user to detect the electronic red packet in a preset mode according to the electronic red packet notification.
In this embodiment of the application, for a preset application program, there may also be a case where a value of a preset field of a non-electronic red packet notification is also a specified value (for example, group payment of WeChat, and a value of a preset field of the electronic red packet notification of WeChat is the same as that of the group payment notification), in order to further identify the electronic red packet notification and avoid false prompting, at this time, it may be detected whether a preset keyword exists in the electronic red packet notification in the system interface application, and if the preset keyword exists in the electronic red packet notification, it is determined that the electronic red packet notification is a real electronic red packet notification, and at this time, a user is prompted in a preset manner to detect an electronic red packet; if the electronic red packet notification does not have the preset keywords (such as words of 'WeChat red packet'), it is determined that the electronic red packet notification is not the real electronic red packet notification, and may be a non-electronic red packet notification of a preset application program, at this time, the non-electronic red packet notification may be filtered out through system interface application, and the user is not prompted to detect the electronic red packet in a preset manner.
And step S204, prompting a user to detect the electronic red packet in a preset mode according to the electronic red packet notification.
In this embodiment of the application, after the system interface application analyzes the electronic red packet notification from the broadcast, the system interface application may obtain, according to the electronic red packet notification, related information of the electronic red packet corresponding to the electronic red packet notification (for example, an interface where the electronic red packet is located, a contact person who sends the electronic red packet, and the like), and according to the related information of the electronic red packet, may prompt the user to detect the electronic red packet in a preset manner, for example, directly jump to the interface where the electronic red packet is located, or display the electronic red packet notification in a banner, and display the contact person who sends the electronic red packet in the banner, so as to prompt the user to send the contact person of the electronic red packet.
Optionally, the prompting, according to the electronic red packet notification, the user to detect the electronic red packet in a preset manner includes:
detecting whether a skip function is started for the electronic red packet notification;
if the skip function is detected to be started, controlling the mobile terminal to skip to an interface where the electronic red packet is located from the current interface;
if the skip function is not started, generating a red packet assistant notice aiming at the electronic red packet notice;
and displaying a preset banner according to the notice of the red packet assistant, or making a preset sound when the preset banner is displayed.
In the embodiment of the application, the system interface application can detect whether the mobile terminal starts a jump function (also called an automatic jump function or an automatic start function) for the electronic red packet notification, and if the mobile terminal starts the jump function for the electronic red packet notification, the mobile terminal can be controlled to directly jump to an interface where the electronic red packet is located from a current interface; if the mobile terminal is detected not to start the skip function aiming at the electronic red packet notification, a red packet assistant notification comprising a preset banner or a preset banner and a preset sound can be generated aiming at the electronic red packet notification in the system interface application, and the electronic red packet notification can be strongly perceived by a user through the preset banner or the preset banner and the preset sound. The preset banner may be a special banner customized for the electronic red packet notification or a custom banner, and is different from banners of other notifications, for example, a user may distinguish the electronic red packet notification from a common notification (i.e., a non-electronic red packet notification) according to the displayed preset banner when the mobile terminal is in a mute state; the preset sound may be a special ring tone (e.g., gold coin sound) and/or a special vibration customized for the electronic red packet notification, and may be distinguished from the ring tone or vibration of other notifications or messages, for example, the user may determine that an electronic red packet arrives according to the preset sound when the mobile terminal is in a screen-saving state.
Optionally, after generating the red packet assistant notification for the electronic red packet notification, an embodiment of the present application further includes:
sending the red packet helper notification to the notification service;
and when the notification service detects the red packet assistant notification, allowing the system interface application to display a preset banner according to the red packet assistant notification, or to make a preset sound when the preset banner is displayed.
In this embodiment of the present application, after generating a red packet assistant notification, the system interface application sends the red packet assistant notification to a notification service, and when detecting that the received notification is the red packet assistant notification, the notification service may allow the system interface application to display a preset banner according to the red packet assistant notification, or to make a preset sound when displaying the preset banner.
When the mobile terminal is in a preset mode such as a do-not-disturb mode, a driving mode and the like, the notification service generally intercepts various notifications, which may result in that an electronic red packet notification cannot be detected or cannot be received, and at this time, when the mobile terminal is in the preset mode, if the notification service detects that the received notification is a red packet assistant notification, the system interface application is allowed to display a preset banner according to the red packet assistant notification, or a preset sound is emitted when the preset banner is displayed, so that the electronic red packet notification is not controlled by the modes such as the do-not-disturb mode, the driving mode and the like.
As shown in fig. 3, which is an exemplary diagram of electronic red packet detection, when a wechat send notification is detected, the notification is sent to a notification service, the notification service detects whether the notification is a wechat red packet notification, and when the notification is a wechat red packet notification, a broadcast may be sent, after receiving the broadcast, a system interface application of an application layer customizes a red packet helper notification, and sends the red packet helper notification to the notification service, when the notification service detects that the notification is a red packet helper notification, a preset mode such as a do-not-disturb mode and a driving mode may be penetrated, the red packet helper notification is presented to a user through the system interface application, and the user clicks the red packet helper notification, and may jump to a corresponding interface to pick up a red packet.
According to the electronic red packet notification method and device, when the notification service detects the electronic red packet notification, the user is prompted to detect the electronic red packet in a preset mode according to the electronic red packet notification, and the electronic red packet can be rapidly identified, and meanwhile the speed of the user for robbing the electronic red packet is improved.
Referring to fig. 4, a schematic view of an electronic red packet detecting device provided in the third embodiment of the present application is shown, and for convenience of description, only the relevant portions of the third embodiment of the present application are shown.
The electronic red packet detection device comprises:
a notification detection module 41, configured to detect, when a notification is obtained, whether the notification is an electronic red packet notification of a preset application in a notification service;
a broadcast sending module 42, configured to send a broadcast to a system interface application if the notification is the electronic red packet notification;
and a red envelope prompting module 43, configured to prompt the user to detect an electronic red envelope in a preset manner after the system interface application receives the broadcast.
Optionally, the red packet prompting module 43 includes:
the analysis unit is used for analyzing the electronic red packet notification from the broadcast after the system interface application receives the broadcast;
and the prompting unit is used for prompting the user to detect the electronic red packet in a preset mode according to the electronic red packet notification.
Optionally, the red packet prompting module 43 further includes:
the detection unit is used for detecting whether preset keywords exist in the electronic red packet notification;
correspondingly, the prompt unit is specifically configured to:
and if the preset keywords exist in the electronic red packet notification, prompting a user to detect the electronic red packet in a preset mode according to the electronic red packet notification.
Optionally, the prompting unit is specifically configured to:
detecting whether a skip function is started for the electronic red packet notification;
if the skip function is detected to be started, controlling the mobile terminal to skip to an interface where the electronic red packet is located from the current interface;
if the skip function is not started, generating a red packet assistant notice aiming at the electronic red packet notice;
and displaying a preset banner according to the notice of the red packet assistant, or making a preset sound when the preset banner is displayed.
Optionally, the prompt unit is further configured to:
sending the red packet helper notification to the notification service;
and when the notification service detects the red packet assistant notification, allowing the system interface application to display a preset banner according to the red packet assistant notification, or to make a preset sound when the preset banner is displayed.
Optionally, the notification detection module 41 is specifically configured to:
detecting whether the notification is a notification of the preset application program in the notification service;
if the notification is the notification of the preset application program, acquiring a preset field corresponding to the preset application program;
acquiring the value of the preset field in the notification;
if the value of the preset field in the notification is the designated value, determining that the notification is the electronic red packet notification of the preset application program;
and if the value of the preset field in the notification is not the designated value, determining that the notification is not the electronic red packet notification of the preset application program.
Optionally, the electronic red packet detecting device further includes:
a function access module, configured to access a Rom update service function in the notification service, where the Rom update service function is configured to update the preset field in the notification service correspondingly when it is detected that the preset field is updated by the preset application program.
The electronic red packet detection device provided in the embodiment of the present application can be applied to the first method embodiment and the second method embodiment, and for details, reference is made to the description of the first method embodiment and the second method embodiment, and details are not repeated here.
Fig. 5 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present application. The mobile terminal as shown in the figure may include: one or more processors 501 (only one shown); one or more input devices 502 (only one shown), one or more output devices 503 (only one shown), and a memory 504. The processor 501, the input device 502, the output device 503, and the memory 504 are connected by a bus 505. The memory 504 is used for storing instructions and the processor 501 is used for executing the instructions stored by the memory 504. Wherein:
the processor 501 is configured to detect, in a notification service, whether a notification is an electronic red packet notification of a preset application program when the notification is obtained; if the notification is the electronic red packet notification, sending a broadcast to a system interface application; and after the system interface application receives the broadcast, prompting a user to detect the electronic red envelope in a preset mode.
Optionally, the processor 501 is specifically configured to:
after the system interface application receives the broadcast, analyzing the electronic red packet notification from the broadcast;
and prompting a user to detect the electronic red envelope in a preset mode according to the electronic red envelope notification.
Optionally, before prompting the user to detect the electronic red packet in a preset manner according to the electronic red packet notification, the processor 501 is further configured to:
detecting whether preset keywords exist in the electronic red packet notification;
correspondingly, prompting the user to detect the electronic red envelope in a preset mode according to the electronic red envelope notification comprises:
and if the preset keywords exist in the electronic red packet notification, prompting a user to detect the electronic red packet in a preset mode according to the electronic red packet notification.
Optionally, the processor 501 is specifically configured to:
detecting whether a skip function is started for the electronic red packet notification;
if the skip function is detected to be started, controlling the mobile terminal to skip to an interface where the electronic red packet is located from the current interface;
if the skip function is not started, generating a red packet assistant notice aiming at the electronic red packet notice;
and displaying a preset banner according to the notice of the red packet assistant, or making a preset sound when the preset banner is displayed.
Optionally, after generating the red packet helper notification for the electronic red packet notification, the processor 501 is further configured to:
sending the red packet helper notification to the notification service;
and when the notification service detects the red packet assistant notification, allowing the system interface application to display a preset banner according to the red packet assistant notification, or to make a preset sound when the preset banner is displayed.
Optionally, the processor 501 is specifically configured to:
detecting whether the notification is a notification of the preset application program in the notification service;
if the notification is the notification of the preset application program, acquiring a preset field corresponding to the preset application program;
acquiring the value of the preset field in the notification;
if the value of the preset field in the notification is the designated value, determining that the notification is the electronic red packet notification of the preset application program;
and if the value of the preset field in the notification is not the designated value, determining that the notification is not the electronic red packet notification of the preset application program.
Optionally, the processor 501 is further configured to:
accessing a Rom update service function in the notification service, where the Rom update service function is configured to update the preset field in the notification service correspondingly when it is detected that the preset field is updated by the preset application.
It should be understood that, in the embodiment of the present Application, the Processor 501 may be a Central Processing Unit (CPU), and the Processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 502 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, a data receiving interface, and the like. The output device 503 may include a display (LCD, etc.), a speaker, a data transmission interface, and the like.
The memory 504, which may include both read-only memory and random-access memory, provides instructions and data to the processor 501. A portion of the memory 504 may also include non-volatile random access memory. For example, the memory 504 may also store device type information.
In a specific implementation, the processor 501, the input device 502, the output device 503, and the memory 504 described in this embodiment of the present application may execute the implementation described in the embodiment of the electronic red packet detection method provided in this embodiment of the present application, or may execute the implementation described in the electronic red packet detection apparatus described in the third embodiment of the present application, which is not described herein again.
Fig. 6 is a schematic diagram of a mobile terminal according to a fifth embodiment of the present application. As shown in fig. 6, the mobile terminal 6 of this embodiment includes: one or more processors 60 (only one of which is shown), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60. The processor 60, when executing the computer program 62, implements the steps in the various electronic red packet detection method embodiments described above.
The mobile terminal 6 may be a mobile device such as a mobile phone, a notebook, a palm computer, etc. The mobile terminal may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of a mobile terminal 6 and is not intended to limit the mobile terminal 6 and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the mobile terminal may also include input-output devices, network access devices, buses, etc.
The processor 60 may be a central processing unit CPU, but may also be other general purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the mobile terminal 6, such as a hard disk or a memory of the mobile terminal 6. The memory 61 may also be an external storage device of the mobile terminal 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the mobile terminal 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the mobile terminal 6. The memory 61 is used for storing the computer programs and other programs and data required by the mobile terminal. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/mobile terminal and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/mobile terminal are merely illustrative, and for example, the division of the modules or units is only one type of logical division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated module/unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
When the computer program product runs on a mobile terminal, the steps in the method embodiments can be realized when the mobile terminal executes the computer program product.
The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (8)

1. An electronic red packet detection method is characterized by comprising the following steps:
when the notification is acquired, detecting whether the notification is an electronic red packet notification of a preset application program in a notification service;
if the notification is the electronic red packet notification, sending a broadcast to a system interface application;
after the system interface application receives the broadcast, prompting a user to detect the electronic red envelope in a preset mode;
the detecting whether the notification is an electronic red packet notification of a preset application program in the notification service comprises:
detecting whether the notification is a notification of the preset application program in the notification service;
if the notification is the notification of the preset application program, acquiring a preset field corresponding to the preset application program;
acquiring the value of the preset field in the notification;
if the value of a preset field in the notification is a designated value, determining that the notification is the electronic red packet notification of the preset application program, wherein the designated value is the value of the preset field of the electronic red packet notification of the preset application program;
if the value of the preset field in the notification is not the designated value, determining that the notification is not the electronic red packet notification of the preset application program;
the electronic red packet detection method further comprises the following steps:
accessing a Rom update service function in the notification service, where the Rom update service function is configured to update the preset field in the notification service correspondingly when it is detected that the preset field is updated by the preset application.
2. The electronic red envelope detection method of claim 1, wherein prompting a user in a preset manner to detect an electronic red envelope after the system interface application receives the broadcast comprises:
after the system interface application receives the broadcast, analyzing the electronic red packet notification from the broadcast;
and prompting a user to detect the electronic red envelope in a preset mode according to the electronic red envelope notification.
3. The electronic red envelope detecting method of claim 2, before prompting the user in a preset manner to detect the electronic red envelope in accordance with the electronic red envelope notification, further comprising:
detecting whether preset keywords exist in the electronic red packet notification;
correspondingly, prompting the user to detect the electronic red envelope in a preset mode according to the electronic red envelope notification comprises:
and if the preset keywords exist in the electronic red packet notification, prompting a user to detect the electronic red packet in a preset mode according to the electronic red packet notification.
4. The electronic red packet detecting method according to claim 2 or 3, wherein the prompting a user in a preset manner to detect an electronic red packet according to the electronic red packet notification comprises:
detecting whether a skip function is started for the electronic red packet notification;
if the skip function is detected to be started, controlling the mobile terminal to skip to an interface where the electronic red packet is located from the current interface;
if the skip function is not started, generating a red packet assistant notice aiming at the electronic red packet notice;
and displaying a preset banner according to the notice of the red packet assistant, or making a preset sound when the preset banner is displayed.
5. The electronic red packet detection method of claim 4, after generating a red packet helper notification for the electronic red packet notification, further comprising:
sending the red packet helper notification to the notification service;
and when the notification service detects the red packet assistant notification, allowing the system interface application to display a preset banner according to the red packet assistant notification, or to make a preset sound when the preset banner is displayed.
6. An electronic red packet detection device, characterized in that, the electronic red packet detection device includes:
the notification detection module is used for detecting whether the notification is an electronic red packet notification of a preset application program in a notification service when the notification is acquired;
the broadcast sending module is used for sending a broadcast to a system interface application if the notification is the electronic red packet notification;
the system interface application is used for receiving the broadcast and then sending the broadcast to a red packet prompting module;
the notification detection module is specifically configured to:
detecting whether the notification is a notification of the preset application program in the notification service;
if the notification is the notification of the preset application program, acquiring a preset field corresponding to the preset application program;
acquiring the value of the preset field in the notification;
if the value of a preset field in the notification is a designated value, determining that the notification is the electronic red packet notification of the preset application program, wherein the designated value is the value of the preset field of the electronic red packet notification of the preset application program;
if the value of the preset field in the notification is not the designated value, determining that the notification is not the electronic red packet notification of the preset application program;
the electronic red packet detection device further comprises:
a function access module, configured to access a Rom update service function in the notification service, where the Rom update service function is configured to update the preset field in the notification service correspondingly when it is detected that the preset field is updated by the preset application program.
7. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the electronic red packet detection method according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the electronic red packet detection method according to any one of claims 1 to 5.
CN202010065961.6A 2020-01-20 2020-01-20 Electronic red packet detection method, electronic red packet detection device and mobile terminal Active CN111327515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010065961.6A CN111327515B (en) 2020-01-20 2020-01-20 Electronic red packet detection method, electronic red packet detection device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010065961.6A CN111327515B (en) 2020-01-20 2020-01-20 Electronic red packet detection method, electronic red packet detection device and mobile terminal

Publications (2)

Publication Number Publication Date
CN111327515A CN111327515A (en) 2020-06-23
CN111327515B true CN111327515B (en) 2022-06-03

Family

ID=71172955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010065961.6A Active CN111327515B (en) 2020-01-20 2020-01-20 Electronic red packet detection method, electronic red packet detection device and mobile terminal

Country Status (1)

Country Link
CN (1) CN111327515B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103124217A (en) * 2006-06-30 2013-05-29 高通股份有限公司 Methods and apparatus for providing service notifications in a network environment
CN103826008A (en) * 2014-02-18 2014-05-28 华为终端有限公司 Mobile terminal notification message prompting method and device and mobile terminal
CN105760048A (en) * 2016-01-29 2016-07-13 珠海市魅族科技有限公司 Method and device for processing notice
CN105871685A (en) * 2016-01-29 2016-08-17 珠海市魅族科技有限公司 Notice displaying method and device
CN106131804A (en) * 2016-06-21 2016-11-16 广东欧珀移动通信有限公司 A kind of notification message processing method and equipment
CN106371964A (en) * 2015-07-21 2017-02-01 腾讯科技(深圳)有限公司 Message prompting method and apparatus
CN106940641A (en) * 2016-01-05 2017-07-11 阿里巴巴集团控股有限公司 The treating method and apparatus of notification message
WO2018027736A1 (en) * 2016-08-11 2018-02-15 王志远 Method for displaying technical ownership when automatically pushing red packet, and red packet system
CN107765947A (en) * 2017-10-20 2018-03-06 珠海市魅族科技有限公司 A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN109814975A (en) * 2019-01-31 2019-05-28 维沃移动通信有限公司 A kind of notification message display methods and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961461A (en) * 2016-01-08 2017-07-18 深圳市星电商科技有限公司 The retransmission method and device of electronics red packet
CN107979525A (en) * 2017-10-11 2018-05-01 上海掌门科技有限公司 A kind of red packet distribution method, equipment and medium
CN107861608A (en) * 2017-11-21 2018-03-30 广东欧珀移动通信有限公司 Notifications service control method, device, terminal device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103124217A (en) * 2006-06-30 2013-05-29 高通股份有限公司 Methods and apparatus for providing service notifications in a network environment
CN103826008A (en) * 2014-02-18 2014-05-28 华为终端有限公司 Mobile terminal notification message prompting method and device and mobile terminal
CN106371964A (en) * 2015-07-21 2017-02-01 腾讯科技(深圳)有限公司 Message prompting method and apparatus
CN106940641A (en) * 2016-01-05 2017-07-11 阿里巴巴集团控股有限公司 The treating method and apparatus of notification message
CN105760048A (en) * 2016-01-29 2016-07-13 珠海市魅族科技有限公司 Method and device for processing notice
CN105871685A (en) * 2016-01-29 2016-08-17 珠海市魅族科技有限公司 Notice displaying method and device
CN106131804A (en) * 2016-06-21 2016-11-16 广东欧珀移动通信有限公司 A kind of notification message processing method and equipment
WO2018027736A1 (en) * 2016-08-11 2018-02-15 王志远 Method for displaying technical ownership when automatically pushing red packet, and red packet system
CN107765947A (en) * 2017-10-20 2018-03-06 珠海市魅族科技有限公司 A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN109814975A (en) * 2019-01-31 2019-05-28 维沃移动通信有限公司 A kind of notification message display methods and mobile terminal

Also Published As

Publication number Publication date
CN111327515A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
US9672023B2 (en) Providing a unified update center for security software updates and application software updates
US9104768B2 (en) Person-based information aggregation
US9727326B2 (en) Providing customized notifications for security software updates
EP3447632B1 (en) Electronic device for displaying application and operating method thereof
US7793223B2 (en) Methods, systems, and computer program products for managing user focus change between applications
CN107451244B (en) Folder naming method, mobile terminal and computer readable storage medium
CN110059273B (en) Method for displaying rich media on mobile terminal and mobile terminal
CN111596971B (en) Application cleaning method and device, storage medium and electronic equipment
CN108229171B (en) Driver processing method, device and storage medium
CN107317928B (en) Information processing method, mobile terminal and computer readable storage medium
CN109634702B (en) Information prompting method and device, electronic equipment and readable medium
CN108427549B (en) Method and device for processing sound of notification message, storage medium and terminal
CN107368735B (en) Application installation method, mobile terminal and computer readable storage medium
WO2019179068A1 (en) Risk detection method and device, and mobile terminal and storage medium
CN108536512B (en) Interface switching method and device and terminal equipment
CN111327515B (en) Electronic red packet detection method, electronic red packet detection device and mobile terminal
KR102106484B1 (en) Information display method, terminal, and server
CN108509111B (en) Application notification method and device and terminal equipment
CA2945505C (en) Electronic device and method of searching data records
CN110874729A (en) Switching method and switching device for electronic red packet identification strategy and mobile terminal
CN110874723B (en) Electronic red envelope detection method, electronic red envelope detection device and mobile terminal
CN110874730B (en) Information processing method, information processing device and mobile terminal
CN107450921B (en) Application program deleting method and device, computer device and readable storage medium
CN110875875B (en) Electronic red packet message detection method and device and terminal equipment
CN111124627A (en) Method, device, terminal and storage medium for determining application program caller

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
GR01 Patent grant
GR01 Patent grant