A data push method, device, medium and equipment
Through the interaction between the push service platform and the communication service platform, efficient and reliable push of application messages is achieved, and the problems of message delay, excessive resource consumption and unstable message arrival rate in the existing technology are solved, simplifying application development work.
Patent Information
- Application Number
- CN202111340355.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-12
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2041-11-12
AI Technical Summary
In the existing push technical solutions, the polling method causes message delay or resource consumption to be too high, while the long connection method requires the user terminal to install a software development toolkit, resulting in increased resource consumption and contradictions and unstable message arrival rate.
Communication of target applications and communication service platforms through the push service platform, receiving push requests from pre-registered target applications, obtaining application keys and data to be pushed, assembling messages to be pushed, and distributing them to the user terminal through device address information.
It realizes efficient and reliable push of application messages, reduces resource energy consumption of push services, improves message arrival rate, and simplifies application development work.
Smart Images

Figure CN116132520B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet technology, and in particular to a data push method, device, medium and equipment. Background Art
[0002] With the development of the times and the upsurge of mobile Internet, push functions have become more popular. Application developers often need to push some personalized information, such as order information, discount information, traffic conditions, violation information, news, and promotional activities, so as to achieve the purpose of promoting marketing activities, attracting users, and expanding new users. The essence of message push is to push the updated messages of the application developer to the user in a timely manner through the application installed on the user's terminal, that is, the application obtains the message from the application developer's server, and then notifies the user, which mainly relies on the service link between the application and the server to survive.
[0003] There are two existing push technology solutions: polling and long connection. In the polling mode, the application periodically establishes a connection with the server to query whether there are new messages. If there are updated messages, they are pushed; if there are no messages, they are queried again within a fixed time, and the cycle repeats. In the long connection mode, when the application starts, a service is started on the user terminal, and a long connection is established with the server of the application developer. When there is a message update on the server, the server actively sends the message to the application, and the application displays it.
[0004] In the prior art, the polling method needs to be applied to periodically establish connections between servers for interaction. If the interaction is too slow, it will cause message delays; if the interaction is too fast, it will consume resources such as the processor, network, and power of the mobile phone, as well as the bandwidth and performance of the server, and the message arrival rate will be unstable. The long connection method requires the application installed on the user terminal to start a stable and good service in the background in order to establish a long connection with the server, which requires a software development kit to be embedded in the application. This can easily lead to a large number of push messages, aggravate the resource consumption of the user terminal, highlight the contradiction between the terminal manufacturer and the application developer, and lead to confusion in the push service. Summary of the invention
[0005] The embodiments of the present application provide a data push method, apparatus, medium and device, which can communicate with a target application and a communication service platform through a push service platform, thereby achieving efficient and reliable push of application messages.
[0006] In a first aspect, an embodiment of the present application provides a data push method, the method being executed by a push service platform, the push service platform interacting with a communication service platform; the method comprising:
[0007] Receive a push request from a pre-registered target application, and obtain an application key and data to be pushed in the push request;
[0008] Determine the device information that can be pushed according to the application key; wherein the device information that can be pushed is the device information collected based on the pre-registration of the user terminal, and the device information includes device identification information and application key information; the application key information includes at least one application key;
[0009] Using the device information and the data to be pushed, assembling the message to be pushed according to a preset push protocol, and converting the device identification information into device address information according to a mapping rule determined when the user terminal is pre-registered;
[0010] According to the device address information, the message to be pushed is distributed to a pre-registered user terminal through a communication service platform, so that a short message module of the user terminal can receive the message to be pushed.
[0011] In a second aspect, an embodiment of the present application provides a data push device, the device is configured on a push service platform, the push service platform interacts with a communication service platform; the device includes:
[0012] A data acquisition module, used to receive a push request from a pre-registered target application, and obtain an application key and data to be pushed in the push request;
[0013] A device information determination module, configured to determine the device information that can be pushed according to the application key; wherein the device information that can be pushed is the device information collected based on the pre-registration of the user terminal, and the device information includes device identification information and application key information; the application key information includes at least one application key;
[0014] A message assembly module to be pushed, used to assemble the message to be pushed according to a preset push protocol using the device information and the data to be pushed, and convert the device identification information into device address information according to a mapping rule determined when the user terminal is pre-registered;
[0015] The message distribution module to be pushed is used to distribute the message to be pushed to the pre-registered user terminal through the communication service platform according to the device address information, so that the SMS module of the user terminal can receive the message to be pushed.
[0016] In a third aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the data push method as described in the embodiment of the present application is implemented.
[0017] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the data push method as described in the embodiment of the present application is implemented.
[0018] The technical solution provided in the embodiment of the present application receives a push request from a pre-registered target application to obtain the application key and the data to be pushed in the push request. Based on the application key, the push service platform can determine the device information that can be pushed. Using the device information and the data to be pushed, the push service platform assembles the message to be pushed according to the preset push protocol. The push service platform also needs to convert the device identification information into device address information according to the mapping rules determined when the device is pre-registered, so as to implement push according to the device address information. By communicating the target application with the communication service platform through the push service platform and implementing application information push in the form of SMS, it can effectively reduce the resource and energy consumption of the push service, improve the arrival rate of push messages, and simplify application development. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1A is a flow chart of the data push method provided in Example 1 of the present application;
[0020] Figure 1B It is a schematic diagram of the data push process provided in Example 1 of the present application;
[0021] Figure 1C is a schematic diagram of a user terminal registration process provided in Example 1 of the present application;
[0022] Figure 2 A schematic diagram of the structure of a data push device provided in Embodiment 2 of the present invention;
[0023] Figure 3 It is a structural schematic diagram of an electronic device provided in Example 4 of the present application. DETAILED DESCRIPTION
[0024] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.
[0025] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0026] Embodiment 1
[0027] Figure 1A This is a flowchart of the data push method provided in Example 1 of the present application. This embodiment can be applicable to any data push scenario. The method can be executed by the data push device provided in the embodiment of the present application. The device can be implemented by software and / or hardware and can be integrated into an electronic device.
[0028] like Figure 1A As shown, the data push method includes:
[0029] S110, receiving a push request of a pre-registered target application, and obtaining an application key and data to be pushed in the push request.
[0030] This solution can be executed by a push service platform, and the push service platform can interact with a communication service platform. The communication service platform may include communication service platforms of operators such as China Mobile, China Telecom, and China Unicom. Before the push service platform pushes, the target application and the user terminal need to be pre-registered. The push service platform may include authentication services, registration services, push services, and distribution services. Among them, the authentication service can be used to authenticate the target application and the user terminal, and the registration service can be used to register the user terminal. The user terminal may be a smart phone, a tablet computer, a personal computer, etc.
[0031] During the registration process of the target application, the push service platform can assign a corresponding application key to each accessed application to identify different applications. Then, after the registration of the user terminal is successful, the registration of the target application is completed when the target application installed on the user terminal is opened for the first time. During the registration process of the user terminal, the push service platform can obtain the device identification information and device address information of the user terminal through the interaction between the user terminal and the authentication service, registration service and communication service platform. The device identification information is used to connect to the target application, and the device address information is used to connect to the communication service platform. The push service platform can complete the task of pushing messages from the target application to the user terminal through the communication service platform under the premise of protecting user information.
[0032] Figure 1B is a schematic diagram of the data push process provided in Example 1 of the present application, such as Figure 1B As shown, the push service can be used to receive a push request from a pre-registered target application and obtain the application key and the data to be pushed in the push request. The distribution service can be used to correspond the device identification information to the device address information, assemble the message to be pushed, and distribute the message to be pushed to the corresponding communication service platform.
[0033] S120, determining the device information that can be pushed based on the application key; wherein the device information that can be pushed is the device information collected based on the pre-registration of the user terminal, and the device information includes device identification information and application key information; the application key information includes at least one application key.
[0034] Since a user terminal usually has multiple applications installed, the push service platform can search for device information that can be pushed in the user terminal registration information of the push service platform according to the application key provided by the target application, that is, determine which user terminals can push messages. The device information may include device identification information and application key information, and the application key information may include at least one application key. The device identification information may be a unique identifier of the user terminal, which is used to provide to the target application to protect user information. The push service platform can obtain the device identification information when the user terminal registers.
[0035] S130, using the device information and the data to be pushed, assembling the message to be pushed according to a preset push protocol, and converting the device identification information into device address information according to a mapping rule determined when the user terminal is pre-registered.
[0036] like Figure 1B As shown, using device information and data to be pushed, the push service platform can assemble the message to be pushed according to the preset push protocol. The message to be pushed may include the data to be pushed, device identification information, and application key information. In addition, the distribution service of the push service platform can convert the device identification information into device address information according to the mapping rule. The mapping rule is the correspondence between the device identification information and the device address information determined when the user terminal registers the device. The device identification information can correspond to one or more device address information. For example, a mobile phone can be configured with two user identification cards.
[0037] In a feasible embodiment, optionally, the device information also includes an encryption method;
[0038] Accordingly, the step of utilizing the device identification information and the data to be pushed to assemble the message to be pushed according to a preset push protocol includes:
[0039] The data to be pushed, the device identification information, the application key information and the encryption method are used to assemble the message to be pushed according to the preset push protocol, and the message to be pushed is encrypted according to the encryption method.
[0040] It is understandable that the device information may also include an encryption method. Accordingly, the push service platform may use the data to be pushed, the device identification information, the application key information and the encryption method to assemble the message to be pushed according to the preset push protocol. At the same time, the push service platform may encrypt the message to be pushed according to the encryption method to achieve reliable message push.
[0041] This solution can utilize richer information to assemble the message to be pushed, and encrypt the message to be pushed, thereby maintaining information security while ensuring reliable message push.
[0042] S140, distributing the message to be pushed to a pre-registered user terminal through a communication service platform according to the device address information, so that a short message module of the user terminal can receive the message to be pushed.
[0043] According to the device address information provided by the distribution service of the push service platform, the push service platform can send the message to be pushed to the corresponding user terminal through the communication service platform according to the device address information. The SMS module of the user terminal can receive the message to be pushed. It should be noted that the SMS module can distinguish between the message to be pushed and the ordinary SMS message according to the preset push protocol. Furthermore, the message to be pushed can be displayed in the push message column according to the distinction result. Through this push method, the push message can be prevented from being erased by the user terminal system, and the system-level residence can be achieved, thereby realizing reliable push of the message.
[0044] In this solution, optionally, the registration process of the user terminal includes:
[0045] In response to a device authentication instruction initiated by the user terminal, generating device identification information, and returning the device identification information to the user terminal;
[0046] In response to the addressing result acquisition instruction initiated by the user terminal, return the communication service platform address to the user terminal, so that the user terminal can obtain the addressing result according to the communication service platform address;
[0047] In response to the device registration instruction initiated by the user terminal, a device address information acquisition request is sent to the communication service platform, so that the communication service platform returns the device address information according to the addressing result;
[0048] Constructing a mapping rule between the device identification information and the device address information;
[0049] The mapping rule is saved, and a registration result is fed back to the user terminal.
[0050] Figure 1C is a schematic diagram of the user terminal registration process provided in the first embodiment of the present application. In this case, during the registration process, the user terminal Figure 1C As shown, first, the user terminal sends a device authentication instruction to the authentication service of the push service platform. The authentication service responds to the device authentication instruction initiated by the user terminal, authenticates the user terminal device, and generates device identification information. The authentication service can return the authentication result to the user terminal, and the authentication result can include device identification information.
[0051] After receiving the device identification information, the user terminal may send an addressing result acquisition instruction to the registration service of the push service platform. In response to the addressing result acquisition instruction initiated by the user terminal, the registration service returns the communication service platform address to the user terminal, so that the user terminal can obtain the addressing result according to the communication service platform address. The addressing result acquisition instruction may include the device identification information, and the addressing result may include the device address information and the device identification information.
[0052] After receiving the addressing result, the user terminal will initiate a device registration instruction to the registration service of the push service platform. The registration service can respond to the device registration instruction and send a device address information request to the communication service platform. The communication service platform can return the device address information corresponding to the device identification information to the push service platform based on the addressing result.
[0053] The registration service of the push service platform will obtain the device identification information and device address information, construct a mapping rule according to the corresponding relationship, and save the mapping rule. At the same time, the registration service of the push service platform can also feedback the registration result to the user terminal. The registration result can be success, failure, or incomplete registration.
[0054] The user terminal registration process of this solution can obtain the device identification information of the user terminal in advance, and obtain the device identification information and device address information of the user terminal through the interaction between the user terminal and the authentication service, registration service and communication service platform. This solution can establish a foundation for the interaction between the push service platform and the communication service platform during the message push process. It is conducive to the reliable push of messages and effectively reduces the resource and energy consumption of the push service.
[0055] In a preferred solution, optionally, before responding to the device authentication instruction initiated by the user terminal, the method further includes:
[0056] Detecting whether the user terminal is started for the first time; if so, determining whether the user terminal performs device registration according to a preset option selection result of the user terminal; if not, the user terminal does not perform device registration;
[0057] or,
[0058] Detect whether the registration result of the user device is lost; if so, determine whether the user terminal performs device registration according to the preset option selection result of the user terminal; if not, the user terminal does not perform device registration;
[0059] or,
[0060] Detect whether the user terminal has replaced the user identification card; if so, determine whether the user terminal performs device registration according to the preset option selection result of the user terminal; if not, the user terminal does not need to perform device registration.
[0061] Before the user terminal registers, the push service platform can detect whether the user terminal needs to register. When it is detected that the user terminal is started for the first time, it means that the user terminal has not communicated with the push service platform. At this time, it is necessary to further determine whether the user terminal registers the device based on the user's selection result of the preset option when the user terminal starts. The preset option can be whether to authorize the use of the push service platform. If so, the user terminal registers the device. Otherwise, the user terminal does not register the device. If it is detected that the user terminal is not started for the first time, it means that the user terminal has communicated with the push service platform, or the user terminal has chosen not to use the push service platform. At this time, the push service platform does not need to register the device of the user terminal.
[0062] Similarly, the push service platform can also detect whether the registration result of the user device is lost, for example, whether the user device is restored to factory settings, resulting in the loss of the registration result. The push service platform can also detect whether the user terminal has replaced the user identification card.
[0063] This solution can detect whether the user terminal needs to register the device before the user terminal registers, and then register the device for the user terminal according to the actual status of the user terminal and the user's wishes. This solution can achieve targeted device registration, avoid repeated registration, and bring a good user experience to users.
[0064] In an embodiment, optionally, the registration process of the target application includes:
[0065] Obtaining application access information of the target application and reviewing the application access information;
[0066] If the audit is successful, an application key is allocated to the target application; the application key is used to identify the application;
[0067] If the user terminal is successfully registered, the target application installed on the user terminal and conforming to the preset push protocol is authenticated in response to an application authentication instruction initiated by the user terminal; the application authentication instruction includes application key information and device identification information.
[0068] Before using the push service platform for push, the target application also needs to be registered on the push service platform. The target application can register the application access information on the push service platform. After obtaining the application access information of the target application, the push service platform reviews the application access information. The application access information may include company qualification information, target application type, target application copyright information, etc. The push service platform can review the application access information according to the platform rules to determine whether the target application meets the access standards.
[0069] If the review is successful, the push service platform can assign an application key to the target application, and the application key can be used to identify the application. When the user terminal is successfully registered, the push service platform can respond to the application authentication instruction initiated by the user terminal and authenticate the target application installed on the user terminal that complies with the preset push protocol. For example, the target application can be authenticated when the user terminal opens the target application for the first time. The application authentication instruction includes application key information and device identification information.
[0070] In this embodiment, the push service platform can realize the registration of the target application, provide efficient and reliable push service for the target application, and simplify the application development work.
[0071] In a feasible solution, optionally, after obtaining the application access information of the target application and reviewing the application access information, the method further includes:
[0072] If the review is successful, an application channel is allocated to the target application; the application channel is used to identify the application download platform that is connected to the target application.
[0073] On the basis of the above scheme, the push service platform can also allocate an application channel to the target application after successful review, and the application channel can be used to identify the application download platform that the target application connects to. The application download platform can be an application download platform integrated with the system software in the user terminal, or can include a third-party application download platform.
[0074] In this solution, the push service platform can use the application channel to interact with the application download platform, making it easier for the application download platform to obtain push statistics.
[0075] On the basis of the above solution, optionally, after distributing the message to be pushed to a pre-registered user terminal through a communication service platform according to the device address information so that a short message module of the user terminal receives the message to be pushed, the method further includes:
[0076] Obtaining a result of receiving the message to be pushed by the SMS module of the user terminal;
[0077] The receiving result is sent to the corresponding application download platform through the application channel for the application download platform to perform statistics.
[0078] The push service platform can obtain the reception result of the SMS module of the user terminal for the push message. The reception result may include information on whether the reception is successful, and may also include decryption information, message push bar display information, and reception time information. The push service platform can send the reception result to the corresponding application download platform through the application channel. The application download platform can periodically collect statistics on the message push status of each application based on the reception result to achieve revenue calculation and technical improvement.
[0079] The technical solution provided in this embodiment receives a push request from a pre-registered target application to obtain the application key and the data to be pushed in the push request. Based on the application key, the push service platform can determine the device information that can be pushed. Using the device information and the data to be pushed, the push service platform assembles the message to be pushed according to the preset push protocol. The push service platform also needs to convert the device identification information into device address information according to the mapping rules determined when the device is pre-registered, so as to implement push according to the device address information. By communicating the target application with the communication service platform through the push service platform and implementing application information push in the form of SMS, it can effectively reduce the resource and energy consumption of the push service, improve the arrival rate of push messages, and simplify application development.
[0080] Embodiment 2
[0081] Figure 2 This is a schematic diagram of the structure of a data push device provided in the second embodiment of the present invention. The device can execute the data push method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. The device is configured on a push service platform, and the push service platform interacts with the communication service platform; Figure 2 As shown, the device may include:
[0082] The data acquisition module 210 is used to receive a push request from a pre-registered target application and obtain an application key and data to be pushed in the push request;
[0083] The device information determination module 220 is used to determine the device information that can be pushed according to the application key; wherein the device information that can be pushed is the device information collected based on the pre-registration of the user terminal, and the device information includes device identification information and application key information; the application key information includes at least one application key;
[0084] The message assembly module 230 is used to assemble the message to be pushed according to the preset push protocol using the device information and the data to be pushed, and convert the device identification information into the device address information according to the mapping rule determined when the user terminal is pre-registered;
[0085] The message distribution module 240 is used to distribute the message to be pushed to the pre-registered user terminal through the communication service platform according to the device address information, so that the SMS module of the user terminal can receive the message to be pushed.
[0086] In this solution, optionally, the device information also includes an encryption method;
[0087] Correspondingly, the to-be-pushed message assembly module is specifically used for:
[0088] The data to be pushed, the device identification information, the application key information and the encryption method are used to assemble the message to be pushed according to the preset push protocol, and the message to be pushed is encrypted according to the encryption method.
[0089] In a feasible embodiment, optionally, the device further includes a user terminal registration module, and the user terminal registration module is used to:
[0090] In response to a device authentication instruction initiated by the user terminal, generating device identification information, and returning the device identification information to the user terminal;
[0091] In response to the addressing result acquisition instruction initiated by the user terminal, return the communication service platform address to the user terminal, so that the user terminal can obtain the addressing result according to the communication service platform address;
[0092] In response to the device registration instruction initiated by the user terminal, a device address information acquisition request is sent to the communication service platform, so that the communication service platform returns the device address information according to the addressing result;
[0093] Constructing a mapping rule between the device identification information and the device address information;
[0094] The mapping rule is saved, and a registration result is fed back to the user terminal.
[0095] In another feasible embodiment, optionally, the device further includes a target application registration module, and the target application registration module is used to:
[0096] Obtaining application access information of the target application and reviewing the application access information;
[0097] If the audit is successful, an application key is allocated to the target application; the application key is used to identify the application;
[0098] If the user terminal is successfully registered, the target application installed on the user terminal and conforming to the preset push protocol is authenticated in response to an application authentication instruction initiated by the user terminal; the application authentication instruction includes application key information and device identification information.
[0099] In a preferred solution, optionally, the user terminal registration module is further used to:
[0100] Detecting whether the user terminal is started for the first time; if so, determining whether the user terminal performs device registration according to a preset option selection result of the user terminal; if not, the user terminal does not perform device registration;
[0101] or,
[0102] Detect whether the registration result of the user device is lost; if so, determine whether the user terminal performs device registration according to the preset option selection result of the user terminal; if not, the user terminal does not perform device registration;
[0103] or,
[0104] Detect whether the user terminal has replaced the user identification card; if so, determine whether the user terminal performs device registration according to the preset option selection result of the user terminal; if not, the user terminal does not need to perform device registration.
[0105] Based on the above solution, optionally, the target application registration module is further used to:
[0106] If the review is successful, an application channel is allocated to the target application; the application channel is used to identify the application download platform that is connected to the target application.
[0107] Based on the above embodiment, optionally, the device further includes:
[0108] A receiving result acquisition module, used to obtain the reception result of the message to be pushed by the SMS module of the user terminal;
[0109] The receiving result sending module is used to send the receiving result to the corresponding application download platform through the application channel for the application download platform to perform statistics.
[0110] The above-mentioned product can execute the data push method provided in the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
[0111] Embodiment 3
[0112] Embodiment 3 of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the data push method provided in all the embodiments of the present invention is implemented:
[0113] Receive a push request from a pre-registered target application, and obtain an application key and data to be pushed in the push request;
[0114] Determine the device information that can be pushed according to the application key; wherein the device information that can be pushed is the device information collected based on the pre-registration of the user terminal, and the device information includes device identification information and application key information; the application key information includes at least one application key;
[0115] Using the device information and the data to be pushed, assembling the message to be pushed according to a preset push protocol, and converting the device identification information into device address information according to a mapping rule determined when the user terminal is pre-registered;
[0116] According to the device address information, the message to be pushed is distributed to a pre-registered user terminal through a communication service platform, so that a short message module of the user terminal can receive the message to be pushed.
[0117] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, 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 thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device.
[0118] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0119] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0120] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0121] Embodiment 4
[0122] Embodiment 4 of the present application provides an electronic device. Figure 3 Schematic diagram of the structure of an electronic device provided in the fourth embodiment of the present application. Figure 3 As shown, this embodiment provides an electronic device 300, which includes: one or more processors 320; a storage device 310, which is used to store one or more programs. When the one or more programs are executed by the one or more processors 320, the one or more processors 320 implement the data push method provided in the embodiment of the present application, and the method includes:
[0123] Receive a push request from a pre-registered target application, and obtain an application key and data to be pushed in the push request;
[0124] Determine the device information that can be pushed according to the application key; wherein the device information that can be pushed is the device information collected based on the pre-registration of the user terminal, and the device information includes device identification information and application key information; the application key information includes at least one application key;
[0125] Using the device information and the data to be pushed, assembling the message to be pushed according to a preset push protocol, and converting the device identification information into device address information according to a mapping rule determined when the user terminal is pre-registered;
[0126] According to the device address information, the message to be pushed is distributed to a pre-registered user terminal through a communication service platform, so that a short message module of the user terminal can receive the message to be pushed.
[0127] Of course, those skilled in the art can understand that the processor 320 also implements the technical solution of the data push method provided in any embodiment of the present application.
[0128] Figure 3 The electronic device 300 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0129] like Figure 3 As shown, the electronic device 300 includes a processor 320, a storage device 310, an input device 330, and an output device 340; the number of the processor 320 in the electronic device can be one or more. Figure 3 A processor 320 is taken as an example; the processor 320, the storage device 310, the input device 330 and the output device 340 in the electronic device can be connected via a bus or other means. Figure 3 The connection via bus 350 is taken as an example.
[0130] The storage device 310, as a computer-readable storage medium, can be used to store software programs, computer executable programs and module units, such as program instructions corresponding to the data push method in the embodiment of the present application.
[0131] The storage device 310 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the storage device 310 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 310 may further include a memory remotely arranged relative to the processor 320, and these remote memories may be connected via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0132] The input device 330 may be used to receive input numbers, character information or voice information, and generate key signal input related to user settings and function control of the electronic device. The output device 340 may include electronic devices such as a display screen and a speaker.
[0133] The electronic device provided in the embodiment of the present application communicates with the target application and the communication service platform through the push service platform to realize the application information push in the form of SMS, which can effectively reduce the resource and energy consumption of the push service, improve the push message arrival rate, and simplify the application development work.
[0134] The data push device, medium and electronic device provided in the above embodiments can execute the data push method provided in any embodiment of the present application, and have the corresponding functional modules and beneficial effects of executing the method. For technical details not described in detail in the above embodiments, please refer to the data push method provided in any embodiment of the present application.
[0135] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A data push method, characterized in that: The method is executed by a push service platform, and the push service platform interacts with a communication service platform; the method includes: Receive a push request from a pre-registered target application, and obtain an application key and data to be pushed in the push request; Determine the device information that can be pushed according to the application key; wherein the device information that can be pushed is the device information collected based on the pre-registration of the user terminal, and the device information includes device identification information and application key information; the application key information includes at least one application key; Using the device information and the data to be pushed, assembling the message to be pushed according to a preset push protocol, and converting the device identification information into device address information according to a mapping rule determined when the user terminal is pre-registered; Distribute the message to be pushed to a pre-registered user terminal through a communication service platform according to the device address information, so that a short message module of the user terminal can receive the message to be pushed; The registration process of the user terminal includes: In response to a device authentication instruction initiated by the user terminal, generating device identification information, and returning the device identification information to the user terminal; In response to the addressing result acquisition instruction initiated by the user terminal, return the communication service platform address to the user terminal, so that the user terminal can obtain the addressing result according to the communication service platform address; In response to the device registration instruction initiated by the user terminal, a device address information acquisition request is sent to the communication service platform, so that the communication service platform returns the device address information according to the addressing result; Constructing a mapping rule between the device identification information and the device address information; The mapping rule is saved, and a registration result is fed back to the user terminal.
2. The method according to claim 1, characterized in that The device information also includes encryption method; Accordingly, the step of utilizing the device identification information and the data to be pushed to assemble the message to be pushed according to a preset push protocol includes: The data to be pushed, the device identification information, the application key information and the encryption method are used to assemble the message to be pushed according to the preset push protocol, and the message to be pushed is encrypted according to the encryption method.
3. The method according to claim 1, characterized in that The registration process of the target application includes: Obtaining application access information of the target application and reviewing the application access information; If the audit is successful, an application key is allocated to the target application; the application key is used to identify the application; If the user terminal is successfully registered, the target application installed on the user terminal and conforming to the preset push protocol is authenticated in response to an application authentication instruction initiated by the user terminal; the application authentication instruction includes application key information and device identification information.
4. The method according to claim 1, characterized in that: Before responding to the device authentication instruction initiated by the user terminal, the method further includes: Detecting whether the user terminal is started for the first time; if so, determining whether the user terminal performs device registration according to a preset option selection result of the user terminal; if not, the user terminal does not perform device registration; or, Detect whether the registration result of the user terminal is lost; if so, determine whether the user terminal performs device registration according to the preset option selection result of the user terminal; if not, the user terminal does not perform device registration; or, Detect whether the user terminal has replaced the user identification card; if so, determine whether the user terminal performs device registration according to the preset option selection result of the user terminal; if not, the user terminal does not need to perform device registration.
5. The method according to claim 3, characterized in that: After obtaining the application access information of the target application and reviewing the application access information, the method further includes: If the review is successful, an application channel is allocated to the target application; the application channel is used to identify the application download platform that is connected to the target application.
6. The method according to claim 5, characterized in that After distributing the message to be pushed to a pre-registered user terminal through a communication service platform according to the device address information so that a short message module of the user terminal receives the message to be pushed, the method further includes: Obtaining a result of receiving the message to be pushed by the SMS module of the user terminal; The receiving result is sent to the corresponding application download platform through the application channel for the application download platform to perform statistics.
7. A data push device, characterized in that: The device is configured on a push service platform, and the push service platform interacts with a communication service platform; the device includes: A data acquisition module, used to receive a push request from a pre-registered target application, and obtain an application key and data to be pushed in the push request; A device information determination module, configured to determine the device information that can be pushed according to the application key; wherein the device information that can be pushed is the device information collected based on the pre-registration of the user terminal, and the device information includes device identification information and application key information; the application key information includes at least one application key; A message assembly module to be pushed, used to assemble the message to be pushed according to a preset push protocol using the device information and the data to be pushed, and convert the device identification information into device address information according to a mapping rule determined when the user terminal is pre-registered; A message distribution module to be pushed, used to distribute the message to be pushed to a pre-registered user terminal through a communication service platform according to the device address information, so that the SMS module of the user terminal can receive the message to be pushed; The registration process of the user terminal includes: In response to a device authentication instruction initiated by the user terminal, generating device identification information, and returning the device identification information to the user terminal; In response to the addressing result acquisition instruction initiated by the user terminal, return the communication service platform address to the user terminal, so that the user terminal can obtain the addressing result according to the communication service platform address; In response to the device registration instruction initiated by the user terminal, a device address information acquisition request is sent to the communication service platform, so that the communication service platform returns the device address information according to the addressing result; Constructing a mapping rule between the device identification information and the device address information; The mapping rule is saved, and a registration result is fed back to the user terminal.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the data push method according to any one of claims 1 to 6 is implemented.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the data push method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Long term evolution (LTE) system-based information pushing method and system
CN102075859A