Push message arrival rate statistics method, system, electronic device and storage medium

By introducing a preset push notification extension program on iOS devices, the client generates a data packet when receiving a push message and reports it to the server. This solves the problem in the existing technology of being unable to count the forwarding rate of push messages, and achieves the goal of tracking push messages. Accurate statistics of rates.

CN115426402BActive Publication Date: 2024-09-20HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211064872.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-01
Publication Date
2024-09-20
Estimated Expiration
2042-09-01

AI Technical Summary

Technical Problem

Existing technology cannot accurately count the forwarding rate of push messages because developers cannot determine whether they are successfully sent to all devices, resulting in the inability to count messages received by multiple devices.

Method used

By introducing a preset push notification extension on iOS devices, the client generates a data packet when receiving a push message and calls the data reporting subroutine to send a request to the server. The server counts the number of data reporting requests received to calculate the reach of the push message. Rate.

Benefits of technology

It achieves accurate statistics on the push message arrival rate, solves the problem of being unable to determine whether the message has been successfully sent to all devices, and provides reliable data on the push forwarding rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115426402B
    Figure CN115426402B
Patent Text Reader

Abstract

The present application provides a push message reach rate statistics method, characterized in that it is applied to a push message reach rate statistics system, the push message reach rate statistics system includes a server, APNs and multiple clients, the server pushes the detected target push message to multiple clients through APNs; when the client receives the target push message, if the target push message has a target parameter, and the target APP is bound to a preset push notification extension program, the preset push extension program is triggered to enable the preset push notification extension program to read the target data, generate a data packet based on the target data and the target push message, and call a data reporting subroutine to send a corresponding data reporting request to the server; wherein the data reporting subroutine is pre-set in the preset push notification extension program; the data reporting request carries a data packet; the server counts the number of received data reporting requests, and counts the corresponding push message reach rate of the target APP based on the number of data reporting requests.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and more specifically, to a method, system, electronic device and storage medium for counting push message arrival rates. Background Art

[0002] With the rapid development of computer technology, a variety of applications have emerged on the market. Every application developer has the need to monitor the conversion statistics of various activities involved in the application they developed. Common statistical needs are generally to monitor the conversion ratio of push notifications and clicks of a certain activity.

[0003] However, currently, push notifications for iOS devices are sent by the company's server, which sends the intended message and the target device ID to the APNS server. The APNS server then searches the list of registered Push service devices for the device corresponding to the target device ID and sends the message to that device. Finally, the device receives the message and passes it to the corresponding app for display. This makes the entire push process a black box for developers, who cannot determine whether all devices have been successfully sent. This means they cannot count how many devices have received the message, making it impossible to accurately calculate the push forwarding rate corresponding to the message. Summary of the Invention

[0004] In view of this, the present invention provides a push message arrival rate statistics method, system, electronic device and storage medium to solve the problem in the prior art that it is impossible to determine whether the message is successfully sent to all corresponding devices, that is, it is impossible to count how many devices have received the message, and thus it is impossible to accurately count the push forwarding rate corresponding to the message.

[0005] A first aspect of the present invention discloses a push message reach rate statistics method, which is applied to a push message reach rate statistics system. The push message reach rate statistics system includes a server, APNs, and multiple clients. The method includes:

[0006] When the server detects that the operator has configured a corresponding target push message, the server pushes the target push message to the multiple clients through the APNs; wherein the target push message includes at least a target APP identifier; each of the clients has installed a target APP corresponding to the target APP identifier;

[0007] For each client, when the client receives the target push message, if the target push message contains target parameters and the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered to enable the preset push notification extension program to read the target data, generate a data packet based on the target data and the target push message, and call a data reporting subroutine to send a corresponding data reporting request to the server; wherein the data reporting subroutine is pre-set in the preset push notification extension program; the data reporting request carries the data packet; the target data includes shared data on the client's local disk, the network link of the data reporting interface, and client parameters;

[0008] The server counts the number of the received data reporting requests, and counts the corresponding push message arrival rate of the target APP based on the number of the data reporting requests.

[0009] Optionally, the method further includes:

[0010] For each of the clients, when the client receives the target push message, the client displays the target push message to the user through the target APP after a preset time interval.

[0011] Optionally, when the client receives the target push message, if the target push message contains a target parameter and a preset push notification extension is bound to the target APP, the preset push notification extension is triggered to enable the preset push notification extension to read the target data, generate a data packet based on the target data and the target push message, and call a data reporting subroutine to send a corresponding data reporting request to the server, including:

[0012] When the client receives the target push message, if the target push message contains a target parameter and the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered to enable the preset push notification extension program to read the target data, generate a data packet based on the target data and the target push message, and call the data reporting subroutine to send a corresponding data reporting request to the server through the data reporting interface corresponding to the network link of the data reporting interface in the target data.

[0013] Optionally, the method further includes:

[0014] If, within a preset time period, the client receives data reporting failure information fed back by the data reporting interface, the preset push notification extension program is triggered again, so that the preset push notification extension program calls the data reporting subroutine to send a corresponding data reporting request to the server through the data reporting interface corresponding to the network link of the data reporting interface.

[0015] Optionally, the preset push notification extension program further includes a resource download subroutine, and the method further includes:

[0016] For each client, when the client receives the target push message, if the target push message contains a target parameter and the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered, so that the preset push notification extension program calls the resource download subroutine to download the push resource corresponding to the download requirement when it determines that there is a download requirement for the target push message.

[0017] A second aspect of the present invention discloses a push message reach rate statistics system, the push message reach rate statistics system comprising a server, APNs and multiple clients;

[0018] The server is configured to, upon detecting that an operator has configured a corresponding target push message, push the target push message to multiple clients via APNs; count the number of received data reporting requests, and count the push message arrival rate of the target APP based on the number of data reporting requests; wherein the target push message includes at least a target APP identifier; and each of the clients has installed the target APP corresponding to the target APP identifier;

[0019] The client is used to trigger the preset push notification extension program when receiving the target push message, if the target push message has a target parameter and the target APP is bound to a preset push notification extension program, so that the preset push notification extension program reads the target data, generates a data packet based on the target data and the target push message, and calls a data reporting subroutine to send a corresponding data reporting request to the server; wherein the data reporting subroutine is pre-set in the preset push notification extension program; the data reporting request carries the data packet; the target data includes shared data on the client's local disk, the network link of the data reporting interface, and client parameters.

[0020] Optionally, the client is further configured to:

[0021] When the target push message is received, the target push message is displayed to the user through the target APP after a preset time interval.

[0022] Optionally, when receiving the target push message, if the target push message contains a target parameter and a preset push notification extension is bound to the target APP, the preset push notification extension is triggered to enable the preset push notification extension to read the target data, generate a data packet based on the target data and the target push message, and call a data reporting subroutine to send a corresponding data reporting request to the server, specifically for:

[0023] When the target push message is received, if the target push message contains a target parameter and the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered so that the preset push notification extension program reads the target data, generates a data packet based on the target data and the target push message, and calls the data reporting subroutine to send a corresponding data reporting request to the server through the data reporting interface corresponding to the network link of the data reporting interface in the target data.

[0024] The third aspect of the present invention discloses an electronic device, comprising: a processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; and the memory is used to store a program, wherein the program is used to implement the push message arrival rate statistics method disclosed in the first aspect of the present invention.

[0025] A fourth aspect of the present invention discloses a computer-readable storage medium, in which computer-executable instructions are stored. The computer-executable instructions are used to execute the push message arrival rate statistics method disclosed in the first aspect of the present invention.

[0026] The present invention provides a push message reach statistics method, system, electronic device and storage medium. When a server detects that an operator has configured a corresponding target push message, the server pushes the target push message to multiple clients through APNs. The target push message includes at least a target APP identifier. Each client is installed with a target APP corresponding to the target APP identifier. For each client, when the client receives the target push message, if the target push message has a target parameter and the target APP is bound to a preset push notification extension program, the preset push extension program is triggered to enable the preset push notification extension program to read the target data, generate a data packet according to the target data and the target push message, and call a data reporting subroutine to send a corresponding data reporting request to the server. The data reporting subroutine is pre-set in the preset push notification extension program. The data reporting request carries a data packet. The server counts the number of received data reporting requests and counts the corresponding push message reach of the target APP based on the number of data reporting requests. The technical solution provided by the present invention is that when a client receives a target push message, it can trigger a preset push extension program bound to a target APP installed on the client, so that the preset push notification extension program reads the target data, generates a data packet based on the target data and the target push message, and calls a data reporting subroutine to send a corresponding data reporting request to the server. The server can then count the arrival rate of the push message corresponding to the target APP through the number of received data reporting requests, thereby solving the problem in the prior art that it is impossible to determine whether the message is successfully sent to all corresponding devices, that is, it is impossible to count how many devices have received the message, and thus it is impossible to accurately count the push forwarding rate corresponding to the message. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0028] Figure 1 This is a schematic diagram of the structure of a push message arrival rate statistics system disclosed in an embodiment of the present invention;

[0029] Figure 2 This is a flow chart of a method for calculating the reach rate of push messages according to an embodiment of the present invention;

[0030] Figure 3 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0032] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

[0033] It should be noted that the concepts of "first" and "second" mentioned in the disclosure of the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0034] It should be noted that the modifications of "one" and "multiple" mentioned in the disclosure of the present invention are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0035] APNs: Apple Push Notification service, is a service for app developers to broadcast information to iOS, tvOS, and macOS devices. When an app is first launched on a client, the system automatically establishes an authenticated, encrypted, and persistent IP connection between the app and APNs to ensure that the app on the client can receive notifications.

[0036] See also Figure 1 , shows a schematic diagram of the structure of a push message reach rate statistics system disclosed in an embodiment of the present invention. The push message reach rate statistics system includes a server, APNs, and multiple clients. The push message reach rate statistics system includes:

[0037] The server is used to detect that the operator has configured a corresponding target push message and push the target push message to multiple clients through APNs; count the number of data reporting requests received, and calculate the push message arrival rate of the target APP based on the number of data reporting requests; wherein the target push message includes at least the target APP identifier; each client has the target APP installed that corresponds to the target APP identifier;

[0038] The client is used to trigger the preset push notification extension program when receiving a target push message. If the target push message contains target parameters and the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered to enable the preset push notification extension program to read the target data, generate a data packet based on the target data and the target push message, and call the data reporting subroutine to send a corresponding data reporting request to the server; wherein the data reporting subroutine is pre-set in the preset push notification extension program; the data reporting request carries a data packet; the target data includes shared data on the client's local disk, the network link of the data reporting interface, and client parameters.

[0039] Optionally, the client is further configured to, upon receiving a target push message, display the target push message to the user through the target APP after a preset time interval.

[0040] Optionally, upon receiving a target push message, if the target push message contains a target parameter and the target APP is bound to a preset push notification extension, the preset push notification extension is triggered to enable the preset push notification extension to read the target data, generate a data packet based on the target data and the target push message, and call the data reporting subroutine to send a corresponding data reporting request to the server. Specifically, the client is used to:

[0041] When a target push message is received, if the target push message contains target parameters and the preset push notification extension is bound to the target APP, the preset push notification extension is triggered to enable the preset push notification extension to read the target data, generate a data packet based on the target data and the target push message, and call the data reporting subroutine to send a corresponding data reporting request to the server through the data reporting interface corresponding to the network link of the data reporting interface in the target data.

[0042] Optionally, the client is also used to trigger the preset push notification extension program again if it receives data reporting failure information from the data reporting interface within a preset time period, so that the preset push notification extension program calls the data reporting subroutine to send a corresponding data reporting request to the server through the data reporting interface corresponding to the network link of the data reporting interface.

[0043] Optionally, the client is also used to trigger the preset push extension program when receiving a target push message. If the target push message has a target parameter and the target APP is bound to a preset push notification extension program, the preset push notification extension program will call the resource download subroutine to download the push resource corresponding to the download requirement when it determines that there is a download requirement for the target push message.

[0044] Based on the above Figure 1 The push message arrival rate statistics system shown in FIG. , correspondingly, the embodiment of the present invention also corresponds to a push message arrival rate statistics method provided, such as Figure 2 As shown, the push message arrival rate statistics method is applied to Figure 1 The push message arrival rate statistics system shown in the figure and the push message arrival rate statistics method specifically include the following steps:

[0045] S201: When the server detects that the operator has configured a corresponding target push message, it pushes the target push data to multiple clients through APNs.

[0046] In an embodiment of the present application, the operator can configure a target push message related to the target APP on the server side. After detecting that the operator has configured the corresponding target push message, the server side can send the detected target push message to APNs; after receiving the corresponding target push message, APNs can search for each client with the target APP installed from the list of registered Push service devices, and then send the target push message to multiple clients.

[0047] The target push message at least includes a target APP identifier; each client is installed with a target APP corresponding to the target APP identifier.

[0048] It should be noted that the client involved in this application can be an iOS client. It can be selected according to actual application and is not limited in the embodiments of this application.

[0049] It should also be noted that when configuring the corresponding push message, operators can also add a push request, which can be a push request for pictures, videos, etc.

[0050] S202: For each client, when the client receives a target push message, if the target push message contains target parameters and the target APP is bound to a preset push notification extension, the preset push notification extension is triggered to enable the preset push notification extension to read the target data, generate a data packet based on the target data and the target push message, and call the data reporting subroutine to send a corresponding data reporting request to the server.

[0051] In the embodiments of this application, research has revealed that iOS devices come pre-installed with two push notification extensions: Notification Service Extension and Notification Content Extension. This application improves the Notification Service Extension by adding a data reporting subroutine and a resource download subroutine to the code of the push notification extension, thereby obtaining a pre-set push notification extension. This pre-set push notification extension is then bound to the target app. This allows the client to report data to the pre-set push notification extension before displaying the push message on the target app, thereby achieving push message reach statistics.

[0052] It should be noted that the data reporting subroutine may be the idReceiveNotificationRequest:withContentHandler: method, which may be set according to actual application and is not limited in the embodiment of the present application.

[0053] During the specific execution of step S202, for each client, after receiving the target push message pushed by the server through APNs, it can be determined whether there is a target parameter in the target push message. If it is determined that the target parameter exists in the target push message, it can be further determined whether the target APP installed on the client is bound to a preset push notification extension program. If the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered.

[0054] The preset push notification extension reads the shared data on the client's local disk, the network link of the data reporting interface, and the client parameters. It then generates a data packet based on the read shared data, the network link of the data reporting interface, the client parameters, and the target push message. Finally, it calls the data reporting subroutine within the preset push notification extension to determine the corresponding data reporting interface based on the network connection of the data reporting interface. It then accesses the data reporting interface and sends a corresponding data reporting request to the server. The shared data on the client's local disk, the network link of the data reporting interface, and the client parameters constitute the target data, and the data intelligence request carries the data packet.

[0055] It should be noted that the target app and the bound preset push notification extension are regarded as an app group.

[0056] It should also be noted that if the target push message does not have a target parameter, or the target APP is bound to a preset push notification extension, the client can directly display the push message on the target APP after receiving the target push message.

[0057] Furthermore, in an embodiment of the present application, in order to ensure the timeliness of push message display, when the client receives the corresponding push message, it will give the preset push notification extension program time to complete data reporting before the push message is displayed through the target APP; and then within the preset time period, the client can also detect in real time whether the data reporting interface feeds back data reporting failure information. If no data reporting failure information is detected, it can be considered that the data reporting is successful; if data reporting failure information is detected, the preset push notification extension program can be triggered again, so that the preset push notification extension program calls the data reporting subroutine to send the corresponding data reporting request to the server through the data reporting interface corresponding to the network link of the data reporting interface, until the time exceeds the preset time period.

[0058] It should be noted that the target parameter may be mutable-content, and the parameter value of mutable-content is 1. It can be set according to actual applications and is not limited in the embodiments of the present application.

[0059] Optionally, in an embodiment of the present application, for each client, when the client receives a target push message, if the target push message contains a target parameter and the target APP is bound to a preset push notification extension program, the preset push extension program is triggered, so that the preset push notification extension program calls the resource download subroutine to download the push resource corresponding to the download requirement when it determines that there is a download requirement for the target push message, and stores the downloaded push resource in the client's local database.

[0060] S203: The server counts the number of received data reporting requests, and counts the corresponding push message arrival rate of the target APP based on the number of data reporting requests.

[0061] During the specific execution of step S203, after the server pushes the target push message to each client through APNs, it can count the number of data reporting requests received, and then calculate the corresponding push message arrival rate of the target APP based on the number of data reporting requests and the number of clients of each client.

[0062] Furthermore, since when the client receives the corresponding push message, it will give the preset push notification extension time to complete data reporting before the push message is displayed through the target APP, the server can count the number of data reporting requests received within the preset time period after pushing the target push message to each client through APNs, and then calculate the corresponding push message arrival rate of the target APP based on the number of data reporting requests and the number of clients of each client.

[0063] The present invention provides a push message arrival rate statistics method, when the server detects that the operator configures a corresponding target push message, the target push message is pushed to multiple clients through APNs; the target push message includes at least a target APP identifier; each client is installed with a target APP corresponding to the target APP identifier; for each client, when the client receives the target push message, if the target push message has a target parameter and the target APP is bound to a preset push notification extension program, the preset push extension program is triggered to enable the preset push notification extension program to read the target data, generate a data packet based on the target data and the target push message, and call a data reporting subroutine to send a corresponding data reporting request to the server; wherein the data reporting subroutine is pre-set in the preset push notification extension program; the data reporting request carries a data packet; the server counts the number of received data reporting requests, and counts the corresponding push message arrival rate of the target APP based on the number of data reporting requests. The technical solution provided by the present invention is that when a client receives a target push message, it can trigger a preset push extension program bound to a target APP installed on the client, so that the preset push notification extension program reads the target data, generates a data packet according to the target data and the target push message, and calls the data reporting subroutine server to send a corresponding data reporting request. The server can then count the arrival rate of the corresponding push message of the target APP by the number of received data reporting requests, thereby solving the problem in the prior art that it is impossible to determine whether the message is successfully sent to all corresponding devices, that is, it is impossible to count how many devices have received the message, and thus it is impossible to accurately count the push forwarding rate corresponding to the message.

[0064] An embodiment of the present application also provides an electronic device, which includes: a processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; and the memory is used to store a program, which is used to implement a push message arrival rate statistics method.

[0065] Reference below Figure 3, which shows a schematic diagram of the structure of an electronic device suitable for implementing the disclosed embodiments of the present invention. The electronic devices in the disclosed embodiments of the present invention may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 3 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments disclosed in the present invention.

[0066] like Figure 3 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. Various programs and data required for the operation of the electronic device are also stored in the RAM 303. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0067] Typically, the following devices may be connected to the I / O interface 305: an input device 306 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 308 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 309. The communication device 309 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Figure 3 The electronic device is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.

[0068] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the push message arrival rate statistics method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the push message arrival rate statistics method of the embodiment disclosed in the present invention are executed.

[0069] Furthermore, an embodiment of the present invention also provides a computer-readable storage medium, in which computer-executable instructions are stored. The computer-executable instructions are used to execute a push message arrival rate statistics method.

[0070] The computer-readable medium carries one or more programs. When executed by the electronic device, the electronic device: upon detecting that an operator has configured a corresponding target push message, the server pushes the target push message to the multiple clients via the APNs; wherein the target push message includes at least a target app identifier; each client has installed a target app corresponding to the target app identifier; for each client, upon receiving the target push message, if the target push message contains a target parameter and the target app is bound to a preset push notification extension, the preset push notification extension is triggered to cause the preset push notification extension to read target data, generate a data packet based on the target data and the target push message, and call a data reporting subroutine to send a corresponding data reporting request to the server; wherein the data reporting subroutine is pre-set within the preset push notification extension; the data reporting request carries the data packet; the target data includes shared data on the client's local disk, a network link of a data reporting interface, and client parameters; and the server counts the number of received data reporting requests and, based on the number of data reporting requests, counts the corresponding push message arrival rate of the target app.

[0071] In the context disclosed by the present invention, a machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0072] It should be noted that the computer-readable medium disclosed in the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0073] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0074] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple. For relevant parts, refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without making any creative efforts.

[0075] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0076] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

[0077] The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for calculating the reach rate of a push message, characterized in that: Applied to a push message reach rate statistics system, the push message reach rate statistics system includes a server, APNs and multiple clients, and the method includes: When the server detects that the operator configures a corresponding target push message, the server pushes the target push message to the multiple clients through the APNs; wherein the target push message includes at least a target APP identifier; each of the clients has installed a target APP corresponding to the target APP identifier; For each client, when the client receives the target push message, if the target push message has target parameters and the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered to enable the preset push notification extension program to read the target data, generate a data packet according to the target data and the target push message, and call a data reporting subroutine to send a corresponding data reporting request to the server; wherein the data reporting subroutine is pre-set in the preset push notification extension program; the data reporting request carries the data packet; the target data includes shared data on the client's local disk, the network link of the data reporting interface, and client parameters; The server counts the number of the received data reporting requests, and counts the push message arrival rate of the target APP based on the number of the data reporting requests.

2. The method according to claim 1, characterized in that The method further comprises: For each of the clients, when the client receives the target push message, the target push message is displayed to the user through the target APP after a preset time interval.

3. The method according to claim 2, characterized in that When the client receives the target push message, if the target push message has a target parameter and the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered to enable the preset push notification extension program to read the target data, generate a data packet according to the target data and the target push message, and call a data reporting subroutine to send a corresponding data reporting request to the server, including: When the client receives the target push message, if the target push message has a target parameter and the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered so that the preset push notification extension program reads the target data, generates a data packet based on the target data and the target push message, and calls a data reporting subroutine to send a corresponding data reporting request to the server through a data reporting interface corresponding to the network link of the data reporting interface in the target data.

4. The method according to claim 3, characterized in that The method further comprises: If within a preset time period, the client receives data reporting failure information fed back by the data reporting interface, the preset push notification extension program is triggered again, so that the preset push notification extension program calls the data reporting subprogram to send a corresponding data reporting request to the server through the data reporting interface corresponding to the network link of the data reporting interface.

5. The method according to claim 1, characterized in that The preset push notification extension program also includes a resource download subprogram, and the method further includes: For each client, when the client receives the target push message, if the target push message has a target parameter and the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered, so that the preset push notification extension program calls the resource download subroutine to download the push resource corresponding to the download requirement when it is determined that there is a download requirement for the target push message.

6. A push message reach rate statistics system, characterized in that: The push message reach rate statistics system includes a server, APNs and multiple clients; The server is used to push the target push message to multiple clients through APNs when detecting that the operator has configured a corresponding target push message; Counting the number of received data reporting requests, and counting the corresponding push message arrival rate of the target APP based on the number of data reporting requests; wherein the target push message at least includes a target APP identifier; each of the clients is installed with a target APP corresponding to the target APP identifier; The client is used to trigger the preset push notification extension program when receiving the target push message, if the target push message has target parameters and the target APP is bound to a preset push notification extension program, so that the preset push notification extension program reads the target data, generates a data packet according to the target data and the target push message, and calls a data reporting subroutine to send a corresponding data reporting request to the server; wherein the data reporting subroutine is pre-set in the preset push notification extension program; the data reporting request carries the data packet; the target data includes shared data on the client's local disk, the network link of the data reporting interface, and client parameters.

7. The system according to claim 6, characterized in that The client is also used for: When the target push message is received, the target push message is displayed to the user through the target APP after a preset time interval.

8. The system according to claim 7, characterized in that When the target push message is received, if the target push message has a target parameter and the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered so that the preset push notification extension program reads the target data, generates a data packet according to the target data and the target push message, and calls a data reporting subroutine to send a corresponding data reporting request to the server, specifically for: When the target push message is received, if the target push message has a target parameter and the target APP is bound to a preset push notification extension program, the preset push notification extension program is triggered so that the preset push notification extension program reads the target data, generates a data packet based on the target data and the target push message, and calls a data reporting subroutine to send a corresponding data reporting request to the server through a data reporting interface corresponding to the network link of the data reporting interface in the target data.

9. An electronic device, characterized in that: include: A processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; The memory is used to store a program, and the program is used to implement the push message arrival rate statistics method as described in any one of claims 1-5.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the push message reach rate statistics method according to any one of claims 1-5.