CN110113252B - Method and device for processing applet notification message and computer storage medium - Google Patents
Method and device for processing applet notification message and computer storage medium Download PDFInfo
- Publication number
- CN110113252B CN110113252B CN201910358587.6A CN201910358587A CN110113252B CN 110113252 B CN110113252 B CN 110113252B CN 201910358587 A CN201910358587 A CN 201910358587A CN 110113252 B CN110113252 B CN 110113252B
- Authority
- CN
- China
- Prior art keywords
- applet
- notification
- session identifier
- session
- notification message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000003860 storage Methods 0.000 title claims abstract description 21
- 238000012545 processing Methods 0.000 title claims abstract description 15
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/224—Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a method and equipment for processing an applet notification message and a computer storage medium. After the server side of the applet generates the applet notification content based on the trigger event, the applet notification message containing the applet notification content and the session identification is sent to the host application client side corresponding to the session identification according to the pre-configured session identification allowing the applet notification message to be received, so that the host application client side can display the applet notification content on the session interface corresponding to the session identification. The mode enables the user to directly acquire the displayed applet notification content on the session interface, shortens the operation path for viewing the applet notification message, and simplifies the user operation.
Description
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of computer application technologies, and in particular, to a method and an apparatus for processing an applet notification message, and a computer storage medium.
[ background of the invention ]
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
A Mini Program (Mini Program) is an application that can be used without downloading and installing, and runs in an environment provided by a host application. It is becoming more and more widely used because it is readily available without the need for installation and removal. The use of applets by the user may involve the push of some notification messages. The method comprises the steps that the server side of the host application assembles a notification message of the existing small program to provide message content to the server side of the host application, the server side of the host application sends the notification message to the host application in a service notification mode, and the host application displays the notification message in a message list. A service notification is an aggregated message body in a message list, as shown in fig. 1 a. The user needs to find the service notification from the message list, and click to enter the service notification and then find the notification message of the applet, as shown in fig. 1b, the notification message of the column update reminder pushed by the applet "know about the heat list" is shown in the service notification.
Users often wish to be able to learn about the applet notifications associated with a particular session in a timely manner during that session. For example, a user playing a game applet often communicates with a group user of the game in a group session, and the user may wish to be informed of notification messages of the game applet, such as new battle performance, new functions, etc., in time while the group session is in progress. However, in the prior art, the user needs to quit the interface of the current group session, return to the message list interface of the host application, click the service notification, and find the notification message of the game applet displayed in the service notification interface. Obviously, the operation path is long and inconvenient.
[ summary of the invention ]
In view of this, the present invention provides a method, an apparatus, and a computer storage medium for processing an applet notification message, so as to shorten an operation path for viewing the applet notification message and simplify user operations.
The specific technical scheme is as follows:
in one aspect, the present invention provides a method for processing an applet notification message, including:
acquiring a trigger event of an applet notification message;
generating applet notification content based on the trigger event;
and sending the applet notification message containing the applet notification content and the session identifier to a host application client corresponding to the session identifier according to a pre-configured session identifier allowing receipt of the applet notification message.
According to a preferred embodiment of the invention, the method further comprises:
and acquiring and storing the session identification configured by the user for the applet notification message.
According to a preferred embodiment of the present invention, before sending an applet notifying message including the applet notifying content and the session identifier to a host application client corresponding to the session identifier according to a pre-configured session identifier allowing receiving the applet notifying message, the method further includes:
judging whether a session identifier allowing the applet notification message to be received is pre-configured, if so, continuing to execute the session identifier allowing the applet notification message to be received according to the pre-configured, and sending the applet notification message containing the applet notification content and the session identifier to a host application client corresponding to the session identifier.
According to a preferred embodiment of the present invention, sending an applet notifying message including the applet notifying content and the session identifier to a host application client corresponding to the session identifier includes:
and sending the applet informing message containing the applet informing content and the session identifier to a server side of the host application, and forwarding the applet informing message to a host application client side corresponding to the session identifier by the server side of the host application.
According to a preferred embodiment of the present invention, the sending the applet notifying message further comprises: the applet notifies presentation style information of the message.
In a second aspect, the present invention further provides a method for processing an applet notification message, where the method includes:
receiving an applet notifying message containing the applet notifying content and a session identifier;
and displaying the applet notification content on a session interface corresponding to the session identifier.
According to a preferred embodiment of the present invention, the displaying the applet notification content in the session interface corresponding to the session identifier includes:
displaying the applet notification content on a session interface corresponding to the session identifier according to default display style information; alternatively, the first and second electrodes may be,
displaying the applet notification content on a session interface corresponding to the session identifier according to the display style information configured by the user; alternatively, the first and second electrodes may be,
and displaying the applet notification content on a session interface corresponding to the session identifier according to the display style information carried in the applet notification message.
According to a preferred embodiment of the present invention, the displaying the applet notification content in the session interface corresponding to the session identifier includes:
displaying the applet notification content at the top position of a session interface corresponding to the session identifier, and canceling the display after a preset display duration is reached; alternatively, the first and second electrodes may be,
inserting and displaying the applet notification content in a session interface corresponding to the session identifier in the form of public messages; alternatively, the first and second electrodes may be,
and adding a layer on the session interface corresponding to the session identifier, and displaying the applet content on the added layer.
According to a preferred embodiment of the present invention, presenting the applet notification content comprises:
displaying complete applet notification content, or;
a summary or title of the applet notification content is presented.
According to a preferred embodiment of the invention, the method further comprises:
and after acquiring the event that the applet notification content displayed on the session interface is triggered, opening a webpage, an applet or other application page, or sending the event to a server of the applet to serve as a trigger event of the applet notification message.
In a third aspect, the present invention also provides an apparatus, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method as described above.
In a fourth aspect, the present invention also provides a storage medium containing computer-executable instructions for performing the method as described above when executed by a computer processor.
According to the technical scheme, after the server side of the applet generates the applet notification content based on the trigger event, the applet notification message containing the applet notification content and the session identification is sent to the host application client side corresponding to the session identification according to the pre-configured session identification allowing the applet notification message to be received, so that the host application client side can display the applet notification content on the session interface corresponding to the session identification. Compared with the prior art that the user needs to quit the interface of the current session, the method returns to the message list interface of the host application, clicks the service notification, and finds the applet notification message displayed in the service notification interface, the operation path for viewing the applet notification message is greatly shortened, and the user operation is simplified.
[ description of the drawings ]
FIG. 1a is a diagram illustrating a service notification in a message list according to the prior art;
FIG. 1b is a diagram illustrating a notification message of a applet in a service notification in the prior art;
FIG. 2 is a schematic diagram of a system according to an embodiment of the present invention;
fig. 3 is a flowchart of a method executed by a server according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a configuration interface of an applet provided in an embodiment of the present invention;
fig. 5 is a flowchart of a method executed by a client according to an embodiment of the present invention;
fig. 6a, fig. 6b and fig. 6c are schematic diagrams of three presentation patterns of an applet notifying message according to an embodiment of the present invention;
FIG. 7 illustrates a block diagram of an exemplary computer system/server suitable for use in implementing embodiments of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Four subject objects are involved in the present invention: an applet, a server side of the applet, a host application, and a server side of the host application. The concepts and relationships of these four subject objects are first clarified:
the small program runs on the terminal equipment depending on the host application, and the environment where the small program runs is provided by the host application. The related service for the small program is provided by the server side of the small program, and the message sent by the server side of the small program is sent to the client side of the host application through the server side of the host application. And various messages are displayed by the host application client. The system architecture to which the present invention relates may be as shown in fig. 2.
The core idea of the invention is that the applet server is configured with a session identifier allowing to receive the applet notification message in advance, and after the applet notification content is generated based on the trigger event, the applet notification message containing the applet notification content and the session identifier is sent to the host application client corresponding to the session identifier, so that the host application client can display the applet notification content on the session interface corresponding to the session identifier.
The method provided by the present invention will be described in detail with reference to examples.
Fig. 3 is a flowchart of a method executed by a server according to an embodiment of the present invention, specifically, an execution main body of the method flow may be an application program located at an applet server, or a functional unit such as a plug-in or Software Development Kit (SDK) located at the applet server, which is not limited in this embodiment of the present invention. As shown in fig. 3, the method may include the steps of:
in 301, a session identity configured by a user for an applet notification message is obtained and stored.
The user can configure the functionality in a configuration interface provided by the applet as to whether the applet notification message is allowed to be pushed to the session. In this configuration interface, the user can turn on or off the functionality that allows push applet notification messages to the session. If the functionality is turned on, the user may further configure a session identification that allows the applet to send notification messages. The session identifier may be a session identifier of a group, or may be a one-to-one session identifier. As shown in fig. 4, the user may select a session that allows the current applet to send notification messages by checking the group identification.
The applet reports the configuration of the user to the server side of the applet, and the server side of the applet stores the session identifier configured by the user for the applet notification message.
In 302, a trigger event for an applet notification message is obtained.
The server side of the applet issues notification messages often based on specific event triggers. The triggering event may be an applet event, i.e. an event generated by an applet service, such as a function change, version upgrade, etc. of the applet. Alternatively, the trigger event may be a user operation event, i.e. an event generated by the user based on the applet, such as an event of the user submitting a form, an event of the user's payment behavior, etc. The type of the specific trigger event can be pre-configured by the developer at the server side of the applet.
At 303, applet notification content is generated based on the trigger event.
The generation of the applet notification content based on the trigger event can adopt the existing implementation mode, and the invention has no special limitation and improvement on the content, and is not detailed here.
In 304, according to the pre-configured session identifier allowing receiving the applet notifying message, the applet notifying message containing the applet notifying content and the session identifier is sent to the host application client corresponding to the session identifier.
After generating the applet notification content, the server side of the applet may first determine whether a session identifier allowing receiving the applet notification message is configured in advance, and if so, continue to execute step 304. Otherwise, the applet notification message may be sent in a manner known in the art, that is, the applet notification content and the user identifier (the user identifier to which the applet notification content is directed, which is usually the user that generated the trigger event) are sent to the server side of the host application. And after the server side of the host application is assembled according to a pre-configured message template, generating an applet notification message, sending the applet notification message to a host application client side corresponding to the user identifier, adding the applet notification message into a message list by the host application client side, and displaying the applet notification message in the service notification of a message list interface. The manner in which the applet notification message is sent in the prior art is not described in detail herein.
In step 304, the servlet side of the applet may send an applet notifying message containing the applet notifying content and the session identifier to the server side of the host application, and the server side of the host application forwards the applet notifying message to the host application client corresponding to the session identifier. That is, in the present invention, the server side of the host application only needs to execute the message forwarding function, and no additional change is needed to be made to the function of the server side of the host application.
In addition, the transmitted applet notification message may further include presentation style information of the applet notification message. The presentation style information may be pre-configured by a developer or may be configured by a user selection. For example, the applet may provide a configuration interface for the user, and provide a plurality of presentation styles for the user to select in the configuration interface, where the presentation styles may be configured uniformly for each session, or different presentation styles may be configured for different sessions. The small program reports the presentation style information selected by the user to a small program server side, and after the small program server side stores the presentation style information, the presentation style information is carried in a small program notification message triggered by the user, or the presentation style information is carried in a small program notification message sent by the user.
Fig. 5 is a flowchart of a method executed by a client according to an embodiment of the present invention, specifically, an execution subject of the method flow may be an applet hosting application, or a functional unit located in an applet hosting application, such as a plug-in or Software Development Kit (SDK), which is not particularly limited in this embodiment of the present invention. As shown in fig. 5, the method may include the steps of:
in 501, an applet notification message is received that includes applet notification content and a session identification.
After receiving the applet notification message, the host application client analyzes the applet notification message, obtains the applet notification content and the session identifier from the applet notification message, and may further obtain presentation style information of the applet notification message.
At 502, the applet notification content is presented in the session interface corresponding to the session identifier.
In this step, if the applet notification message does not carry presentation style information, the host application may present the applet notification content in the session interface corresponding to the session identifier according to the default presentation style information. Or, the user may configure presentation style information of the notification message of the applet in the host application, and the host application presents the applet notification content in the session interface corresponding to the session identifier according to the presentation style information configured by the user.
And if the applet notification message carries the presentation style information, the host application presents the applet notification content on the session interface corresponding to the session identifier according to the presentation style information carried in the applet notification message.
In the embodiment of the present invention, the host application may use, but is not limited to, the following three presentation styles to present the applet notification content in the session interface:
presentation style 1: displaying the applet notification content at the top position of the session interface, and canceling the display after the preset display duration is reached.
The applet notification content may be presented at the top position of the session interface, in the form of text, or in the form of a combination of text and pictures, or in the form of a combination of text and animation, etc., as shown in fig. 6a on the session interface. The complete applet notification content may be presented, as well as a summary or title of the applet notification content. Additionally, applet identification information may be included in the applet notification content to facilitate the user's knowledge of the applet from which the notification message originated. When the applet notification content is presented, component information for operating the applet notification content, such as a "close" component in fig. 6a, may be further presented, for clicking the component to close the presentation of the applet notification.
When such a presentation style is adopted, the applet notification content may be temporarily presented. When the preset presentation time period, for example, 10 seconds, is reached, the presentation of the applet notification content is canceled and the applet notification disappears.
Presentation style 2: and inserting and displaying the applet notification content in a session interface corresponding to the session identifier in the form of a public message.
On the session interface shown in fig. 6b, when the applet notification message is received, the applet notification content is inserted in the session message as a common message. So that each user in the session can see the notification content. The presentation may take the form of one or any combination of text, pictures, animations, videos, etc. Similarly, the complete applet notification content may be presented, as well as a summary or title of the applet notification content. Additionally, applet identification information may be included in the applet notification content to facilitate the user's knowledge of the applet from which the notification message originated. When the applet notification content is presented, component information for operating the applet notification content may be further presented.
Presentation style 3: and adding a layer on the session interface corresponding to the session identifier, and displaying the applet content on the added layer.
On the session interface shown in fig. 6c, a layer is superimposed, in which the applet notification content is presented in the form of one or any combination of text, pictures, animation, video, etc. The complete applet notification content may be presented, as well as a summary or title of the applet notification content. Additionally, applet identification information may be included in the applet notification content to facilitate the user's knowledge of the applet from which the notification message originated. When the applet notification content is presented, component information for operating the applet notification content may be further presented. Such as the "close" component in fig. 6c, clicking on the component can close the presentation of the layer.
In 503, after an event that the applet notification content displayed on the session interface is triggered is acquired, the event is responded.
The user may trigger interaction with the applet notification content by clicking, long-pressing, sliding, etc. on the applet notification content. After the host application acquires the event, the following responses may be performed according to the specific event, but are not limited to:
and opening a webpage of a webpage, an applet or other application, and sending the event to a server of the applet to serve as a trigger event of the applet notification message.
Wherein, link can be embedded in the presented applet informing content, and the page of the webpage, the applet or other application can be opened through the URL (uniform resource locator) of the link. The response mode of such interaction events is relatively common.
In another response mode, if the interaction event of the user triggers the pushing of the applet notification message, the event may be sent to the server of the applet as a trigger event of the applet notification message, and the processes in fig. 3 and fig. 5 are continuously executed based on the trigger event, so as to further generate and present the applet notification message. For example, the applet notification content displayed on the session interface of the group 1 is "user a invites you to join his team", and if user B clicks the "ok" component in the applet notification content, the host application sends the event to the server of the applet. The server side of the applet generates a new applet notification content "user B joined the team of user a" based on the event, and sends the applet notification content to the host application of each user in group 1. The host application for each user presents an applet in the session interface of group 1 to notify that "user B joined the team of user A".
Fig. 7 illustrates a block diagram of an exemplary computer system/server 012 suitable for use in implementing embodiments of the invention. The computer system/server 012 shown in fig. 7 is only an example, and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in fig. 7, the computer system/server 012 is embodied as a general purpose computing device. The components of computer system/server 012 may include, but are not limited to: one or more processors or processing units 016, a system memory 028, and a bus 018 that couples various system components including the system memory 028 and the processing unit 016.
Computer system/server 012 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 012 and includes both volatile and nonvolatile media, removable and non-removable media.
Program/utility 040 having a set (at least one) of program modules 042 can be stored, for example, in memory 028, such program modules 042 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof might include an implementation of a network environment. Program modules 042 generally perform the functions and/or methodologies of embodiments of the present invention as described herein.
The computer system/server 012 may also communicate with one or more external devices 014 (e.g., keyboard, pointing device, display 024, etc.), hi the present invention, the computer system/server 012 communicates with an external radar device, and may also communicate with one or more devices that enable a user to interact with the computer system/server 012, and/or with any device (e.g., network card, modem, etc.) that enables the computer system/server 012 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 022. Also, the computer system/server 012 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 020. As shown, the network adapter 020 communicates with the other modules of the computer system/server 012 via bus 018. It should be appreciated that although not shown in fig. 7, other hardware and/or software modules may be used in conjunction with the computer system/server 012, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 016 executes programs stored in the system memory 028, thereby executing various functional applications and data processing, such as implementing the method flow provided by the embodiment of the present invention.
The computer program described above may be provided in a computer storage medium encoded with a computer program that, when executed by one or more computers, causes the one or more computers to perform the method flows and/or apparatus operations shown in the above-described embodiments of the invention. For example, the method flows provided by the embodiments of the invention are executed by one or more processors described above.
With the development of time and technology, the meaning of media is more and more extensive, and the propagation path of computer programs is not limited to tangible media any more, and can also be downloaded from a network directly and the like. Any combination of one or more computer-readable media may be employed. The 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 electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
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.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the 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 the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
From the above description, it can be seen that the method, apparatus, and computer storage medium provided by the present invention can have the following advantages:
1) after the server side of the applet generates the applet notification content based on the trigger event, the applet notification message containing the applet notification content and the session identification is sent to the host application client side corresponding to the session identification according to the pre-configured session identification allowing the applet notification message to be received, so that the host application client side can display the applet notification content on the session interface corresponding to the session identification. Compared with the prior art that the user needs to quit the interface of the current session, the method returns to the message list interface of the host application, clicks the service notification, and finds the applet notification message displayed in the service notification interface, the operation path for viewing the applet notification message is greatly shortened, and the user operation is simplified.
2) The invention enables the applet to have the capability of issuing the notification in the session, provides various styles for showing the applet notification message on the session interface and improves the fusion degree of the applet and the session scene.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (12)
1. A method for processing an applet notification message, the method comprising:
acquiring a trigger event of an applet notification message;
generating applet notification content based on the trigger event;
and sending the applet informing message containing the applet informing content and the session identifier to a host application client corresponding to the session identifier according to a pre-configured session identifier allowing the applet informing message to be received, so that the client can display the applet informing content on a session interface corresponding to the session identifier.
2. The method of claim 1, further comprising:
and acquiring and storing the session identification configured by the user for the applet notification message.
3. The method according to claim 1, wherein before sending the applet notification message including the applet notification content and the session identifier to the host application client corresponding to the session identifier according to a pre-configured session identifier allowing receiving the applet notification message, the method further comprises:
judging whether a session identifier allowing the applet notification message to be received is pre-configured, if so, continuing to execute the session identifier allowing the applet notification message to be received according to the pre-configured, and sending the applet notification message containing the applet notification content and the session identifier to a host application client corresponding to the session identifier.
4. The method of claim 1, wherein sending an applet notification message including the applet notification content and the session identifier to a host application client corresponding to the session identifier comprises:
and sending the applet informing message containing the applet informing content and the session identifier to a server side of the host application, and forwarding the applet informing message to a host application client side corresponding to the session identifier by the server side of the host application.
5. The method of claim 1, wherein the transmitted applet notification message further comprises: the applet notifies presentation style information of the message.
6. A method for processing an applet notification message, the method comprising:
receiving an applet notification message containing applet notification content and a session identifier, wherein the applet notification message is sent to a host application client corresponding to the session identifier by a server according to the pre-configured session identifier allowing receipt of the applet notification message;
and displaying the applet notification content on a session interface corresponding to the session identifier.
7. The method of claim 6, wherein presenting the applet notification content in the session interface corresponding to the session identifier comprises:
displaying the applet notification content on a session interface corresponding to the session identifier according to default display style information; alternatively, the first and second electrodes may be,
displaying the applet notification content on a session interface corresponding to the session identifier according to the display style information configured by the user; alternatively, the first and second electrodes may be,
and displaying the applet notification content on a session interface corresponding to the session identifier according to the display style information carried in the applet notification message.
8. The method of claim 6, wherein presenting the applet notification content in the session interface corresponding to the session identifier comprises:
displaying the applet notification content at the top position of a session interface corresponding to the session identifier, and canceling the display after a preset display duration is reached; alternatively, the first and second electrodes may be,
inserting and displaying the applet notification content in a session interface corresponding to the session identifier in the form of public messages; alternatively, the first and second electrodes may be,
and adding a layer on the session interface corresponding to the session identifier, and displaying the applet content on the added layer.
9. The method of claim 6, 7 or 8, wherein presenting the applet notification content comprises:
displaying complete applet notification content, or;
a summary or title of the applet notification content is presented.
10. The method of claim 6, further comprising:
and after acquiring the event that the applet notification content displayed on the session interface is triggered, opening a webpage, an applet or other application page, or sending the event to a server of the applet to serve as a trigger event of the applet notification message.
11. An applet notification message processing apparatus, characterized in that the apparatus comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-10.
12. A storage medium having stored thereon computer-executable instructions for performing the method of any one of claims 1-10 when executed by a computer processor.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910358587.6A CN110113252B (en) | 2019-04-30 | 2019-04-30 | Method and device for processing applet notification message and computer storage medium |
PCT/CN2020/087400 WO2020221228A1 (en) | 2019-04-30 | 2020-04-28 | Method and device for processing mini program notification message, and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910358587.6A CN110113252B (en) | 2019-04-30 | 2019-04-30 | Method and device for processing applet notification message and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110113252A CN110113252A (en) | 2019-08-09 |
CN110113252B true CN110113252B (en) | 2021-08-17 |
Family
ID=67487605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910358587.6A Active CN110113252B (en) | 2019-04-30 | 2019-04-30 | Method and device for processing applet notification message and computer storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110113252B (en) |
WO (1) | WO2020221228A1 (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113252B (en) * | 2019-04-30 | 2021-08-17 | 上海连尚网络科技有限公司 | Method and device for processing applet notification message and computer storage medium |
CN110704054A (en) * | 2019-09-06 | 2020-01-17 | 北京达佳互联信息技术有限公司 | Method and device for accessing target application program through applet, electronic equipment and storage medium |
CN112748969A (en) * | 2019-10-31 | 2021-05-04 | 阿里巴巴集团控股有限公司 | Information processing method, information display method and device |
CN110865855B (en) * | 2019-11-18 | 2023-10-27 | 百度在线网络技术(北京)有限公司 | Applet processing method and related equipment |
CN111083042B (en) * | 2019-12-17 | 2021-11-30 | 北京每日优鲜电子商务有限公司 | Template message pushing method, device, equipment and storage medium |
CN111064655B (en) * | 2019-12-17 | 2022-06-07 | 北京每日优鲜电子商务有限公司 | Template message pushing method, device, equipment and storage medium |
CN112333239B (en) * | 2020-10-10 | 2023-07-18 | 百度(中国)有限公司 | Business audit notification method, gateway, electronic equipment and readable medium |
CN112527529B (en) * | 2020-12-18 | 2022-11-08 | 天津中新智冠信息技术有限公司 | Message processing method and device, electronic equipment and storage medium |
CN113568695A (en) * | 2021-07-22 | 2021-10-29 | 北京字跳网络技术有限公司 | Corner mark processing method and device for boarder application |
CN114125047A (en) * | 2021-11-10 | 2022-03-01 | 携程商旅信息服务(上海)有限公司 | Message pushing method, system, equipment and storage medium based on third-party system |
CN114419201B (en) * | 2022-01-19 | 2024-06-18 | 北京字跳网络技术有限公司 | Animation display method and device, electronic equipment and medium |
CN114527925B (en) * | 2022-02-18 | 2024-02-23 | 北京字跳网络技术有限公司 | Conversation method, conversation device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445312A (en) * | 2016-08-30 | 2017-02-22 | 宇龙计算机通信科技(深圳)有限公司 | Notification message display method and display apparatus, and terminal |
CN107229526A (en) * | 2017-05-17 | 2017-10-03 | 腾讯科技(深圳)有限公司 | Message treatment method, device, storage medium and computer equipment in group session |
CN108958780A (en) * | 2018-09-30 | 2018-12-07 | 上海掌门科技有限公司 | A kind of method and apparatus of the more new information for program of lodging for rendering |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110692073B (en) * | 2017-06-02 | 2023-12-05 | 苹果公司 | Notification-based configuration of card accounts |
US11283738B2 (en) * | 2017-06-23 | 2022-03-22 | Realpage, Inc. | Interaction driven artificial intelligence system and uses for same, including travel or real estate related contexts |
CN108092881A (en) * | 2017-12-15 | 2018-05-29 | 邓州市千奇网络科技有限公司 | A kind of intelligence based on wechat small routine moves vehicle Notification Method |
CN108765680A (en) * | 2018-03-22 | 2018-11-06 | 上海天好电子商务股份有限公司 | Queuing barcode scanning government affairs lobby Service system and method based on wechat small routine |
CN109688050B (en) * | 2018-12-28 | 2021-09-28 | 携程旅游网络技术(上海)有限公司 | Instant messaging control method and system |
CN109831456B (en) * | 2019-03-14 | 2021-11-23 | 腾讯科技(深圳)有限公司 | Message pushing method, device, equipment and storage medium |
CN110113252B (en) * | 2019-04-30 | 2021-08-17 | 上海连尚网络科技有限公司 | Method and device for processing applet notification message and computer storage medium |
-
2019
- 2019-04-30 CN CN201910358587.6A patent/CN110113252B/en active Active
-
2020
- 2020-04-28 WO PCT/CN2020/087400 patent/WO2020221228A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445312A (en) * | 2016-08-30 | 2017-02-22 | 宇龙计算机通信科技(深圳)有限公司 | Notification message display method and display apparatus, and terminal |
CN107229526A (en) * | 2017-05-17 | 2017-10-03 | 腾讯科技(深圳)有限公司 | Message treatment method, device, storage medium and computer equipment in group session |
CN108958780A (en) * | 2018-09-30 | 2018-12-07 | 上海掌门科技有限公司 | A kind of method and apparatus of the more new information for program of lodging for rendering |
Also Published As
Publication number | Publication date |
---|---|
CN110113252A (en) | 2019-08-09 |
WO2020221228A1 (en) | 2020-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110113252B (en) | Method and device for processing applet notification message and computer storage medium | |
CN110061909B (en) | Method and apparatus for processing information | |
US10795629B2 (en) | Text and custom format information processing method, client, server, and computer-readable storage medium | |
US10852912B2 (en) | Image creation app in messaging app | |
US10613717B2 (en) | Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image | |
KR20170140091A (en) | Messaging application interacting with one or more extension applications | |
US20200301648A1 (en) | Method of operating a shared object in a video call | |
US20150350123A1 (en) | User terminal apparatus, communication system, and method of controlling user terminal apparatus | |
CN111162993B (en) | Information fusion method and device | |
CN109947408B (en) | Message pushing method and device, storage medium and electronic equipment | |
CN111263175A (en) | Interaction control method and device for live broadcast platform, storage medium and electronic equipment | |
CN110781408A (en) | Information display method and device | |
US20170359280A1 (en) | Audio/video processing method and device | |
CN111481939B (en) | Game account control method, device, medium and electronic equipment | |
CN110083467B (en) | Method and device for processing applet message and computer storage medium | |
CN112702255A (en) | Instant messaging message processing method and device and electronic equipment | |
CN111901221A (en) | Message processing method, device and computer storage medium | |
CA3006135A1 (en) | Method and system for using a plurality of accounts in an instant messaging application | |
CN107733781B (en) | Instant messaging processing method, equipment and computer storage medium | |
CN111581664B (en) | Information protection method and device | |
CN109951380B (en) | Method, electronic device, and computer-readable medium for finding conversation messages | |
CN109348298B (en) | Method and equipment for pushing and playing multimedia data stream | |
CN108289056B (en) | Method and device for sharing dynamic chart and computing equipment | |
CN112822089B (en) | Method and device for adding friends | |
CN114259734A (en) | Game trial playing method and device, computer readable storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231108 Address after: 200240 building 41, 398 Heqing Road, Minhang District, Shanghai Patentee after: Shanghai Chenlian Technology Co.,Ltd. Address before: 200120 2, building 979, Yun Han Road, mud town, Pudong New Area, Shanghai Patentee before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |