CN111726456A - Data processing method and related device - Google Patents

Data processing method and related device Download PDF

Info

Publication number
CN111726456A
CN111726456A CN201910221653.5A CN201910221653A CN111726456A CN 111726456 A CN111726456 A CN 111726456A CN 201910221653 A CN201910221653 A CN 201910221653A CN 111726456 A CN111726456 A CN 111726456A
Authority
CN
China
Prior art keywords
text information
target
notification
notification text
application
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.)
Granted
Application number
CN201910221653.5A
Other languages
Chinese (zh)
Other versions
CN111726456B (en
Inventor
伍芷滢
龚健飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910221653.5A priority Critical patent/CN111726456B/en
Publication of CN111726456A publication Critical patent/CN111726456A/en
Application granted granted Critical
Publication of CN111726456B publication Critical patent/CN111726456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a data processing method and a related device, wherein the method comprises the following steps: acquiring notification text information and an application classification type associated with the notification text information, and acquiring a target service template corresponding to the notification text information according to the application classification type; acquiring target display parameters of the target service template, and creating a first sub-window independent of a screen display interface in the screen display interface according to the target display parameters; and adding the notification text information into the first sub-window, and outputting and displaying the notification text information in the first sub-window into the screen display interface. By adopting the invention, the display effect and the display style of the notification text information can be enriched.

Description

Data processing method and related device
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a data processing method and a related apparatus.
Background
In the existing message pushing system, the user terminal may receive all notification messages sent by the message server, and may output the received notification messages to a specific display area (for example, a notification bar at the top of a screen) of a screen of the terminal for display, so that the display style of each notification message is the same, resulting in a single display style of the message. For another example, when the target application is an instant messaging application, the user terminal directly adds the received notification message to the notification bar for display when acquiring the notification message corresponding to the instant messaging application, or for example, when the target application is a social application, the user terminal still directly adds the received notification message to the notification bar for display, so that the display effect of the message displayed in the notification bar is very single.
Disclosure of Invention
The embodiment of the invention provides a data processing method and a related device, which can enrich the display style and display effect of a message.
An embodiment of the present invention provides a data processing method, where the method includes:
acquiring notification text information and an application classification type associated with the notification text information, and acquiring a target service template corresponding to the notification text information according to the application classification type;
acquiring target display parameters of the target service template, and creating a first sub-window independent of a screen display interface in the screen display interface according to the target display parameters;
and adding the notification text information into the first sub-window, and outputting and displaying the notification text information in the first sub-window into the screen display interface.
An embodiment of the present invention provides a data processing apparatus, where the apparatus includes:
the template acquisition module is used for acquiring notification text information and an application classification type associated with the notification text information and acquiring a target service template corresponding to the notification text information according to the application classification type;
the window creating module is used for acquiring target display parameters of the target service template and creating a first sub-window independent of the screen display interface in the screen display interface according to the target display parameters;
and the first display module is used for adding the notification text information into the first sub-window and outputting and displaying the notification text information in the first sub-window to the screen display interface.
An embodiment of the present invention provides a data processing apparatus, including: a processor, a memory;
the processor is coupled to the memory, wherein the memory is configured to store program code, and the processor is configured to call the program code to perform a method according to an aspect of an embodiment of the present invention.
An aspect of the present embodiments provides a computer-readable storage medium storing a computer program, the computer program comprising program instructions that, when executed by a processor, perform a method according to an aspect of the present embodiments.
In the embodiment of the present invention, when the notification text information is obtained, the application classification type associated with the notification text information may be identified, so that the target service template corresponding to the notification text information may be obtained according to the identified application classification type (e.g., the first classification type); the identified application classification category can comprise a text type to which the notification text information belongs and an application type to which a target application corresponding to the notification text information belongs, and the two types are comprehensively considered, so that a target service template matched with the notification text information can be quickly determined, and a first sub-window independent of the screen display interface can be created in the screen display interface according to target display parameters of the target service template; it should be understood that the first sub-window herein may be understood as a floating window on the screen display interface. Further, the embodiment of the present invention may add the notification text information to a first sub-window (i.e. a floating window), and output and display the notification text information in the first sub-window to the screen display interface. In view of this, when the application classification types associated with the obtained multiple notification text messages are different, for example, the application type and the text type of each notification text message are different, the display style of the target service template (i.e., dynamic service template) obtained for each notification text message will also be different, and the display style of the notification text message can be enriched in the screen display interface. In addition, for different dynamic service templates, target display parameters of the dynamic service templates are different, so that the display effect in the constructed first sub-window is different, and therefore, when the notification text information is added into the corresponding first sub-window, the display effect of the notification text information can be enriched.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a network architecture according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a data processing method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a pending queue list according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a wireless local area network according to an embodiment of the present invention;
fig. 5 is a schematic diagram of obtaining a target service template according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating the creation of a first sub-window according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating another data processing method according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a method for determining a second sub-window according to an embodiment of the present invention;
fig. 9a, 9b, and 9c are schematic diagrams of target text information provided by an embodiment of the present invention;
FIG. 10 is a block diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of a network architecture according to an embodiment of the present invention. As shown in fig. 1, the network architecture may be applied to a cloud service platform, in which the network architecture may include a management terminal cluster, a notification server 2000, and a user terminal cluster. As shown in fig. 1, the management terminal cluster may include a plurality of management terminals, and as shown in fig. 1, the management terminal cluster may specifically include a management terminal 4000a, management terminals 4000b, …, and a management terminal 4000 n.
It should be understood that in the message notification system corresponding to the cloud service platform, the management terminal 4000a, the management terminals 4000b, …, and the management terminal 4000n in the management terminal cluster may all be in network connection with the notification server 2000, so that the currently edited material information may be uploaded to the notification server 2000 through a network connection relationship with the notification server 2000, so that the notification server 2000 may store the currently received material information, so that the notification server 2000 may subsequently issue the currently stored material information to any user terminal in the user terminal cluster shown in fig. 1. It should be understood that, in the embodiment of the present invention, the unsent material information recorded in the queue list to be processed corresponding to each user terminal may be referred to as text information to be notified, the text information to be notified meeting the notification prompt rule may be referred to as notification text information in the queue list to be processed, and the sent material information may be recorded synchronously. As shown in fig. 1, the user terminal cluster may include a plurality of user terminals, and as shown in fig. 1, the user terminal cluster may specifically include a user terminal 3000a, user terminals 3000b and …, and a user terminal 3000 c. As shown in fig. 1, the user terminal 3000a, the user terminals 3000b and …, and the user terminal 3000c may be respectively connected to the notification server 2000 via a network, so that the notification text information sent by the notification server 2000 can be received via the network connection with the notification server 2000.
It should be understood that the notification server 2000 may issue the same notification text message to each ue in the ue cluster at the same time, i.e. may send the notification text message to each ue synchronously. Optionally, the notification server 2000 may also issue the same notification text message to each user terminal in the user terminal cluster at different times, that is, the notification text message may be asynchronously sent through a polling mechanism.
The notification text information in the embodiment of the present invention may be prompt information acquired by a target application integrated in any one of the user terminals. The target application may be a social application, a multimedia application (i.e., audio, video application), a payment application, a network management application, etc., among others. For convenience of understanding, the embodiment of the present invention may take the target application as the network management application, and take one user terminal (for example, the user terminal 3000a) selected from the user terminal cluster as the target user terminal to illustrate a specific process of the target user terminal acquiring the notification text information (i.e., acquiring the prompt information) and displaying the acquired notification text information to the target user (i.e., the user holding the target user terminal). It should be understood that, after storing the currently received material information, the notification server 2000 may construct a to-be-processed queue list corresponding to the currently received material information, that is, may construct a to-be-processed queue list (for example, list a) corresponding to a target user terminal having a network connection relationship with the notification server 2000, and may collectively refer to all material information carrying a non-sent state tag in the list a as to-be-notified text information, and may further issue, in the list a, to-be-notified text information meeting a notification prompt rule as notification text information to the target user terminal. It will be appreciated that at this point, the status label of the notification text information in this list a may be adjusted from an unsent status label to a sent status label. In other words, after the notification server 2000 issues the notification text message to the target user terminal, the status tags of the material information in the pending queue list may include an unsent status tag and a sent status tag, and may be represented by a value 0 for the unsent status tag and a value 1 for the sent status tag. Further, it can be understood that, after the notification server 2000 successfully sends the notification text message to the target ue, the notification text message carrying the value 1 (i.e. the sent status tag) may be removed from the pending queue list (i.e. list a).
The prompt information acquired by the target ue integrated with the target application may be the bursty information sent by the notification server 2000 shown in fig. 1 or the network status information of the current environment. The bursty information can be material information which is stored in a service database and carries an emergency identifier, and at this time, the status tag of the material information carrying the emergency identifier can be an unsent status tag; therefore, the material information carrying the unsent status flag and carrying the emergency flag can be collectively referred to as text information to be notified in the notification server 2000. For convenience of understanding, the embodiment of the present invention may further take the text information to be notified as the information a carrying the emergency identifier and carrying the unsent status label stored in the service database as an example, so that the notification server 2000 may adjust the status label of the information a from the unsent status label to the sent status label in the process of sending the information a to the target user terminal, so as to update the status label of the information a in the queue list to be processed (i.e., list a) corresponding to the service database, and further may refer to the information a carrying the sent status label and carrying the emergency identifier as the notification text information.
It can be understood that the material information stored in the service database may include material information carrying an emergency identifier, and may also include material information carrying a non-emergency identifier. Similarly, when the notification server 2000 needs to send the material information carrying the non-emergency identifier (for example, the information carrying the non-emergency identifier) to the target user terminal, a pending queue list (for example, list B) corresponding to the target user terminal may also be constructed, so that the status tag of the material information carrying the non-emergency identifier may be marked as an unsent status tag in the list B, and the material information carrying the unsent status tag and carrying the non-emergency identifier is referred to as text information to be notified. And then the text information to be notified which accords with the timing issuing rule can be used as notification text information in the list B and is sent to the target user terminal. For example, the notification server 2000 may count polling durations of all text messages to be notified in the list B, and issue the counted polling durations of the text messages to be notified as notification text messages to the target user terminal when the polling durations reach the timing issue duration. Optionally, the notification server 2000 may further send text information to be notified, which conforms to the non-emergency information issuing rule, as notification text information in the list B to the target user terminal; optionally, when receiving a request sent by a target user terminal, the notification server 2000 may further screen text information to be notified in the list B according to the indication information indicated in the request, and send the screened text information to be notified as notification text information to the target user terminal. It should be understood that, when the notification server 2000 issues the notification text message to the target user terminal, the status tag carrying the non-sent status tag and carrying the material information of the non-emergency identifier may be adjusted to the issued status tag and carrying the material information of the non-emergency identifier in the list B. It is understood that the request in the embodiment of the present invention may be a prompt request, and the prompt request may be used to instruct the notification server 2000 to issue the notification text message to the target user terminal.
For another example, when the target ue moves from the address location K to the geographic location M, the target ue may send a request to the notification server 2000 shown in fig. 1 when detecting that the current environment information is the geographic location M and the used wlan 1 at the geographic location K cannot be used by the geographic location M, that is, when the target ue detects a network disconnection event at this time, that is, the request may be used to instruct the notification server 2000 to push the wlan (e.g., the wlan 2) at the geographic location M to the target ue. In other words, the notification server 2000 may push the wireless lan in the vicinity of the geographic location M to the target ue as notification text information.
As shown in fig. 1, each management terminal in the management terminal cluster may upload currently edited material information (for example, information of types such as characters and pictures) through a network connection relationship with the notification server 2000, so that the notification server 2000 may further store the currently received material information. It should be understood that, after receiving the material information uploaded by each management terminal, the notification server 2000 may add all currently received material information to a service database for storage, and may further, when receiving a request sent by a target user terminal (e.g., the user terminal 3000a) in the user terminal cluster shown in fig. 1, screen the material information corresponding to the indication information from the service database according to the indication information indicated by the request, as notification text information, and send the notification text information to the user terminal 3000 a. Optionally, after receiving the material information, the notification server 2000 may further set a status tag for the currently received material information, for example, when the current time is T time, the status tag of the material information may be set as an unsent status tag, and then the material information carrying the unsent status tag may be added to a service database for storage, and the material information carrying the unsent status tag may be collectively referred to as text information to be notified in the service database, and then the text information to be notified may be used as notification text information according to a notification prompt rule, so as to send the notification text information to a target user terminal. In other words, in the embodiment of the present invention, the text information to be notified, which is found in the service database and conforms to the notification delivery rule, may be referred to as notification text information. The notification issuing rules may include a timing issuing rule, an urgent message issuing rule and a non-urgent message issuing rule.
Further, the target user terminal may identify an application classification type associated with the obtained notification text information before obtaining the notification text information and displaying the notification text information to the target user, and may further make a selection according to the identified application classification type and call a corresponding service process to output the obtained notification text information to a terminal screen for display. In an embodiment of the present invention, the application classification type associated with the notification text information may be roughly divided into a first classification type and a second classification type.
The first classification type is used to indicate that the target user terminal may obtain an embedded type sub-program corresponding to the target application, and then a dynamic service template that conforms to a text type to which the notification text information belongs and an application type to which the target application belongs (i.e., the first classification type) may be obtained from the notification database through a first service process (i.e., a windows management process) of the embedded type sub-program, and then a floating window may be created on the current display interface based on target display parameters of the target service template, such as a dynamic location parameter, a size parameter, an effective duration parameter, and a layout parameter. It is understood that, in the embodiment of the present invention, the current display interface may be referred to as a screen display interface or a terminal screen. The screen display interface may be understood as a desktop of the target user terminal, and may also be an application display interface corresponding to the target application, or an application display interface corresponding to another application when the target application runs in the background. The created floating window in the embodiment of the present invention may be a sub-window independent from the screen display interface, and the sub-window may be referred to as a first sub-window, so that the notification text information may be added to the first sub-window to perform animation processing, and the sub-window where the notification text information (i.e., the target text information) after the animation processing is located may be referred to as a second sub-window, and further, the target text information in the second sub-window may be output and displayed to the screen display interface, so as to prompt the target user through a dynamic display effect.
The first service process may be a system service process that can be embedded in the target application, for example, the embedded sub-program corresponding to the first service process may be understood as a program embedded in the target application in a plug-in form, and of course, the embedded sub-program may also be integrally encapsulated in the target application, so that it is effectively ensured that the constructed floating window may be displayed at any position on the terminal screen of the target user terminal through the first service process, and the display effect of the notification text information may be enriched.
The second classification type is used to indicate that the target user terminal may invoke a second service process (i.e., a NotificationManager, notification management process) independent of the target application, where the second service process is a system service process different from the first service process. In other words, in the embodiment of the present invention, if the target user terminal identifies that the application classification type associated with the notification text information is the second classification type, a second service process independent from the target application may be invoked, and the notification text information is directly displayed in the screen display interface of the target user. For example, the presentation may be made in a fixed area (e.g., top of screen) in the terminal screen of the target user terminal.
It should be understood that, at this time, the second service process may be understood as a system service process different from the running process of the target application, in other words, the second service process and the running process of the target application are two mutually independent processes, so that, according to the embodiment of the present invention, a process may be invoked between two different processes, so that the obtained notification text information may be quickly output to a terminal screen for display, and it may be understood that the service template used herein may be referred to as a static service template, and the notification text information corresponding to the second application type may be quickly displayed to the target user through the static service template for prompt.
The specific process of acquiring the application classification type associated with the notification text information, selecting the target service template according to the application classification type, constructing the first sub-window through the target service template, and outputting the notification text information added in the first sub-window to the screen display interface in the embodiment of the present invention may be as follows with reference to the embodiments corresponding to fig. 2 to 7.
Further, please refer to fig. 2, which is a schematic diagram of a data processing method according to an embodiment of the present invention. As shown in fig. 2, the method may include at least the following steps S101-S103.
Step S101, obtaining notification text information and an application classification type associated with the notification text information, and obtaining a target service template corresponding to the notification text information according to the application classification type;
specifically, when acquiring notification text information corresponding to a target application, the data processing apparatus may further identify an application type to which the target application belongs and a text type to which the notification text information belongs, and determine an application classification type associated with the notification text information according to an identification result; if the application classification type of the notification text message is a first classification type, acquiring an embedded sub-program of the target application based on the first classification type, acquiring at least one dynamic service template through a first service process corresponding to the embedded sub-program, and determining a target service template corresponding to the notification text message from the at least one dynamic service template, so that the steps S102 to S103 can be further performed subsequently. Optionally, if the application classification type of the notification text information is a second classification type, the data processing apparatus may invoke a second service process independent of the target application based on the second classification type, add the notification text information to a fixed display area in a screen display interface through the second service process, and display the notification text information in the fixed display area.
The data processing apparatus may be understood as a device with an information prompting function, and the data processing apparatus may be integrated in any one of the user terminals in the user terminal cluster shown in fig. 1. For convenience of understanding, in the embodiment of the present invention, the user terminal 3000a in the embodiment corresponding to fig. 1 may be referred to as a target user terminal, so as to describe a specific process of outputting and displaying notification text information to a screen display interface when the target user terminal acquires the notification text information. It should be understood that the data processing apparatus outputting and displaying the acquired notification text information to the screen display interface may be equivalent to the target user terminal outputting and displaying the notification text information to the screen display interface.
The notification text information obtained in the embodiment of the present invention may include text information (e.g., prompt information completely composed of characters), picture information (e.g., prompt information composed of characters embedded in a picture), and video information (e.g., prompt information carrying a video icon and a video name).
It can be understood that the notification text information obtained in the embodiment of the present invention may be notification text information issued by a target server corresponding to a target application, and the notification text information is determined by the target server after the target server filters text information to be notified in a queue list to be processed corresponding to the service database based on a notification prompt rule. For easy understanding, please refer to fig. 3, which is a schematic diagram of a pending queue list according to an embodiment of the present invention. The target server shown in fig. 3 may be the notification server 2000 in the embodiment corresponding to fig. 1, that is, the target server may receive the material information uploaded by the management terminal 1, the management terminals 2 and …, and the management terminal N shown in fig. 3. The material information uploaded by the management terminal 1 may be the material a shown in fig. 3, the material information uploaded by the management terminal 2 may be the materials B and … shown in fig. 3, and the material information uploaded by the management terminal N may be the material N shown in fig. 3. It should be understood that the management terminal 1, the management terminals 2, …, and the management terminal N shown in fig. 3 may be a plurality of user terminals in the embodiment corresponding to fig. 1, that is, the target server may receive material information uploaded by the plurality of user terminals in the embodiment corresponding to fig. 1, and may add the received material information to the service database 100 shown in fig. 3, so as to store the received material information (i.e., the material a, the material B, …, and the material N). When the target user terminal needs to push the currently received material information to the target user terminal, a pending queue list 200 corresponding to the target user terminal may be created, and then the received material information (i.e., the currently received material a, the currently received material B, the currently received material …, and the currently received material N) may be referred to as text information to be notified in the pending queue list 200 shown in fig. 3, and then the screened text information to be notified (e.g., the material a shown in fig. 3) may be used as notification text information in the pending service list 200 according to the notification prompting rule, so that the target user terminal may obtain the notification text information issued by the target server (i.e., may receive the material a issued by the target server). It should be understood that the service database 100 in the embodiment of the present invention may store all the material information received at the time T1 at the current time, may store material information received at a historical time (for example, time T0), and may collectively refer to the material information received at the historical time as historical material information. It is to be understood that, when the target server shown in fig. 3 successfully transmits the material a (i.e., the notification text message) to the target user terminal at time T2, the material a may be removed from the pending queue list 200 shown in fig. 3 according to the response information returned by the target user terminal, and the successfully transmitted material a may be marked as new historical material information in the service database. Wherein, the timestamp occurring at time T0 is earlier than the timestamp occurring at time T1, and the timestamp occurring at time T1 is earlier than the timestamp occurring at time T2. In other words, in the embodiment of the present invention, the target server shown in fig. 3 may set the material a, the material B, …, and the material N added to the pending queue list 200 with the status tags when the current time is time T1, and at this time, the status tags of these pieces of material information may be unsent status tags. Further, when the target server shown in fig. 3 screens out the material a from the to-be-processed queue list 200 according to the notification issuing rule as the notification information and issues the notification information to the target user terminal shown in fig. 3, the state tag of the material a may be adjusted from the unsent state tag to the sent state tag in the to-be-processed queue list 200, that is, the state tag of the material information may be adjusted as long as the material is sent, and then the material a carrying the sent state tag may be removed from the to-be-processed queue list 200 when the sending is successful, so as to obtain a new to-be-processed queue list. In other words, when the current time is T2, the remaining material information in the new pending queue list, i.e., the label states of the materials B, … and N, are still the unsent state labels.
The notification issuing rule may be a timing issuing rule, that is, the target server may poll each text message to be notified stored in the queue list 200 to be processed shown in fig. 3 through a polling mechanism, so that the polling duration of each text message to be notified may be counted in the queue list 200 to be processed, and then the text message to be notified whose polling duration reaches the timing issuing duration may be used as the notification text message, for example, when the target user terminal shown in fig. 3 counts that the polling duration of the material a in the queue list 200 to be processed reaches the timing issuing duration, the material a may be determined as the notification text message, and then the notification text message may be issued to the target user terminal shown in fig. 3.
Optionally, the notification issuing rule may be an emergency information issuing rule, that is, when the target server shown in fig. 3 detects that the text information to be notified carrying the emergency identifier in the queue to be processed list 200 is to be notified, the text information to be notified carrying the emergency identifier may be sent to the target user terminal shown in fig. 3 as the notification text information. It can be understood that the text information to be notified in the embodiment of the present invention may be the material information carrying the unsent status tag described in the embodiment corresponding to fig. 3, so that the target server may further set an emergency identifier for each text information to be notified in the queue to be processed list 200, and thus the text information to be notified carrying the emergency identifier may be used as the notification text information in the queue to be processed list 200. At this time, the notification text information screened by the target user terminal according to the emergency identifier issuing rule is the material information carrying the emergency identifier and the unsent status tag in the to-be-processed queue list 200.
In other words, the target server shown in fig. 3 may divide the text message to be notified shown in fig. 3 (i.e., the material a, the material B, …, the material N) into a text message to be notified carrying an emergency identifier and a text message to be notified carrying a non-emergency identifier in the above queue to be processed list 200. For convenience of understanding, in the embodiment of the present invention, the text message to be notified carrying the emergency identifier in the pending queue list 200 may be referred to as first text information, and the text message to be notified carrying the non-emergency identifier in the pending queue list 200 may be referred to as second text information. Further, please refer to table 1, which is a mapping relationship table provided in the embodiment of the present invention. For convenience of understanding, the embodiment of the present invention only takes the received material information as the material a, the material B, the material C, and the material D as examples to illustrate a specific process of performing emergency identification on the received material information in the pending queue list.
TABLE 1
Figure BDA0002003810420000121
As shown in table 1, the target server may receive the material a uploaded by the management terminal 1, the material B uploaded by the management terminal 2, the material C uploaded by the management terminal 3, and the material D uploaded by the management terminal 4, and may store the received materials a, B, C, and D in the service database when receiving the materials a, B, C, and D. Further, when the target server needs to send the material a, the material B, the material C, and the material D to the target user terminal, a pending queue list corresponding to the target user terminal may be created, where a mapping relation table included in the pending queue list may be as shown in table 1, that is, the target server may set all status tags of the received material information in the pending queue list as unsent status tags, that is, as shown in table 1, all status tags of the material a, the material B, the material C, and the material D in the pending queue list are unsent status tags, and the unsent status tags are used to represent that the material a, the material B, the material C, and the material D added to the pending queue list are not sent to the target user terminal at present, and at this time, all the material information are in an unsent status or in a state, the unsent status flag can thus be represented by a value of 0 to characterize the unsent status of the material information. Further, as shown in table 1 above, the target server may further set an emergency identifier for the material a carrying the unsent status tag in the material information; therefore, the destination server may refer to the material a carrying the urgent flag and carrying the unsent status label as the first text information, and may refer to the material B, … and the material N carrying the unsent status label and carrying the non-urgent flag as the second text information in the mapping relationship table shown in table 1 in order to distinguish the material a from the first text information. The first text information and the second text information may be collectively referred to as text information to be notified. In view of this, the target server may select the first text information from the mapping relationship table shown in table 1 according to the urgent message delivery rule, and deliver the first text information as notification text information to the target user terminal.
The target server may select the material information carrying the emergency identifier according to the emergency information issuing rule, and may send the selected material information carrying the emergency identifier to the target user terminal as the notification text information. At this time, the state of the label of the issued material information may be adjusted to be a sent state label in the pending queue list, and the sent state label may be used to represent the sent state of the material information, that is, the state of the label of the sent material information may be updated to be the sent state label in the pending queue list shown in table 1, and the sent state label is represented by a value 1.
In addition, after the material a in the queue list to be processed is successfully sent to the target user terminal, the target server may use a value 1 to represent the sent state tag of the material a in the queue list to be processed, and then may remove the material a that has been successfully sent from the queue list to be processed, so as to avoid repeated pushing, thereby avoiding waste of limited channel resources. Further, the target user terminal may issue the second text information (i.e., the material B, the material C, and the material D that carry the non-emergency identifier and carry the unsent status identifier) in the queue list to be processed to the target user terminal according to the non-emergency information issuing rule. For example, when the target application integrated in the target user terminal is a social application and the target server detects that the target user terminal has successfully accessed the social application, the target server may determine that the target user terminal currently accessed to the target application is an online user terminal, and may send the material B, the material C, and the material D in the to-be-processed queue list to the target user terminal. Optionally, when the target server finds that the target user terminal accesses the social application at time T3 and authentication fails, it is not necessary to send the material B, the material C, and the material D in the pending queue list to the target user terminal at time T3. In other words, when the target server finds that the target user terminal successfully accesses the social application at the next time (for example, time T4), the material B, the material C, and the material D in the pending queue list may be transmitted to the target user terminal at time T4. In other words, the non-emergency message issuing rule may be used to indicate that the target server allows the target user terminal to log in the target application after successfully authenticating the target user terminal, and refer to the target user terminal successfully accessing the target application as an online user terminal, so that when the target user terminal is the online user terminal, material information carrying a non-emergency identifier may be accurately issued to the online user terminal.
It can be understood that the target user terminal can receive the notification text information issued by the target server based on the notification issuing rule; alternatively, the target ue may also detect a change in the own network status (e.g., the connection to the wlan 1 has been interrupted), the target user terminal may refer to a state when connecting to the wireless local area network 1 as a first network state, and the state when the wireless local area network 1 can not be connected is called as the second network state, so that the network prompting request corresponding to the second network state can be generated, and further, the stored indication information may be acquired in the target user terminal based on the network prompting request (for example, when there is no network connection relationship between the target user terminal and the target server, the indication information may be that the wireless local area network 1 cannot be connected), and the acquired indication information is used as notification text information, so that the target user can be prompted further through steps S102 to S103.
Alternatively, when a network connection relationship (i.e., a data connection relationship) exists between the target user terminal and the target server, the network prompting request may be sent to the target server, so that the target server may perform network search based on indication information (e.g., search for a wireless local area network in the vicinity of the current environment) indicated by the network prompting request, and thus may return the wireless local area network searched in the current environment to the target user terminal as notification text information.
The application integrally installed in the target user terminal may include a plurality of applications, and the plurality of applications may include a social application, a multimedia application (i.e., an audio and video application), a payment application, a network management application, and the like. For convenience of understanding, the embodiment of the present invention may take an example of selecting one application from a plurality of applications as a target application to describe a specific process of acquiring notification text information. For easy understanding, please refer to fig. 4, which is a schematic diagram of a wlan according to an embodiment of the present invention. The target application integrally installed in the target user terminal as shown in fig. 4 may be a network management application, which may periodically detect the wireless local area network in the current environment, and may use the detected wireless local area network as a notification text message to prompt the target user that the wireless local area network is currently available.
As shown in fig. 4, the target ue may be connected to the wlan 1 in a network coverage area 100, that is, the network coverage area of the wlan 1 may include the network coverage area 100 shown in fig. 4, and the geographical location information in the network coverage area 100 may be collectively referred to as first geographical location information. For convenience of understanding, the embodiment of the present invention may use the geographic location a in the network coverage area 100 currently located as the first geographic location information, and may refer to a network status when the target user terminal is connected to the wireless local area network 1 as the first network status in the network coverage area 100, that is, the target user terminal at the geographic location a may be connected to the wireless local area network 1, and in this case, the network status of the target user terminal at the geographic location a may be the first network status. It is understood that the wireless local area network 1 may provide wireless local area network signals within a signal coverage area (e.g., the network coverage area 100 shown in fig. 4), thus, when the target user terminal is held by the target user and moves out of the network coverage area 100, the connection with the wlan 1 is interrupted, in other words, when the target ue is currently located in an area other than the network coverage area 100 (e.g., the network coverage area 200 shown in fig. 4), the network status when the wlan 1 cannot be connected to the network coverage area 200 can be referred to as a second network status, and at this time, the geographical location information in the network coverage area 200 may be collectively referred to as second geographical location information, that is, the geographic location B shown in fig. 4 may be referred to as second geographic location information, and the network state of the target user terminal at the geographic location B may be a second network state. In view of this, as shown in fig. 4, when the target user holds the target terminal and moves from the geographic location a to the geographic location B shown in fig. 4, and when the location information of the terminal to which the target application belongs moves from the first geographic location information to the second geographic location information, and a second network status (i.e., a status when the wireless lan 1 cannot be connected) detected by the second geographic location information is different from a first network status (i.e., a status when the wireless lan 1 is connected) detected by the first geographic location information, a network prompting request corresponding to the second network status may be generated; the network prompting request may be further sent to a target server having a network connection relationship with the target user terminal, so that the target server may search for a wireless local area network that matches the second location information based on the indication information indicated in the network prompting request, that is, may search for a wireless local area network that can provide a wireless local area network signal in the network coverage area 200 shown in fig. 4, and may return the searched wireless local area network to the target user terminal as notification text information. The indication information may be that a wireless local area network in the network coverage area 200 is searched in a service database of the target server, so that a wireless local area network near the second location information (for example, the geographic location B) may be obtained, and if the wireless local area network searched in the wireless local area network coverage area 200 is the wireless local area network 2, the wireless local area network 2 may be returned to the target user terminal shown in fig. 4 as notification text information.
When the target application integrally installed in the target user terminal is a network management application (e.g., a wireless network management application), the target user terminal may further be configured to detect network information of a current environment in real time, for example, may detect a network change event of the current environment in real time, and when the network change event is detected, may generate a network prompt request, and further may generate notification text information in the target user terminal based on the prompt request. For example, when the location information of the terminal to which the target application belongs is moved from the geographic location a to the geographic location B, and the network state detected at the geographic location B is different from the network state at the geographic location a, a network prompt request corresponding to the network state at the location B may be generated, so that the notification text information corresponding to the network prompt request may be obtained in the target user terminal.
It can be understood that, in the embodiment of the present invention, after the target user terminal acquires the notification text information, the application type to which the target application corresponding to the notification text information belongs may be identified, and the text type to which the notification text information belongs may be identified. In the embodiment of the present invention, the text type to which the notification text information belongs and the application type to which the target application belongs may be considered comprehensively, and the text type to which the notification text information belongs and the application type to which the target application belongs may be collectively referred to as an application classification type associated with the notification text information. Wherein the application classification type may be roughly divided into a first classification type and a second classification type.
The first classification type is used to indicate that the target user terminal can obtain the embedded type subprogram corresponding to the target application, and further, a dynamic service template, which conforms to a text type to which the notification text information belongs and an application type to which the target application belongs (i.e., the first classification type), can be obtained from the notification database through a first service process (i.e., a windows management process) of the embedded type subprogram, as a target service template.
It can be understood that the embedded sub program may be integrated in the target application, and optionally, the embedded sub program may also be used as a plug-in for the target application, so that when the target user terminal detects that the application classification type associated with the received notification text belongs to the first classification type, the embedded sub program may be acquired, and then at least one template identifier having an association relationship with the notification text information may be acquired in the notification database through the first service process corresponding to the embedded sub program; one template identification corresponds to one dynamic service template;
the second classification type may be used to indicate that the target user terminal may invoke a second service process (i.e., a NotificationManager, notification management process) independent from the target application, where the second service process is a system service process different from the first service process. In other words, in the embodiment of the present invention, if the target user terminal identifies that the application classification type associated with the notification text information is the second classification type, a second service process independent from the target application may be invoked, and the notification text information is directly displayed in the screen display interface of the target user. For example, the presentation may be made in a fixed area (e.g., top of screen) in the terminal screen of the target user terminal.
The application type of the target application may include an instant messaging application, a data transfer application, a multimedia application, and a network management application. The text type to which the notification text information belongs may include text type information, picture type information, multimedia type information (i.e., audio type information and video type information), network type information, and the like. It can be understood that, by comprehensively considering the application type and the text type, when notification text information belonging to different text types (for example, text type information and picture type information) is received in the same application (for example, application 1), the notification text information belonging to the picture type information received by the application 1 is further classified into a first classification type according to a classification rule, and the notification text information belonging to the text type information received by the application 1 is classified into a second classification type, so that different service processes can be selected for different application classification types, and further, the notification text information can be displayed in different display manners. Optionally, for applications belonging to different application types (for example, the application types of the application 1 and the application 2 are different), and when the text types of the notification text information received by the application 1 and the application 2 are the same text type (for example, both text type information), the notification text information belonging to the text type information acquired by the application 1 may also be classified into a second classification type according to the classification rule, and the notification text information belonging to the text type information acquired by the application 2 may also be classified into a first classification type, so that different service processes may be selected for different application classification types, and further, the service processes may be displayed in different display manners.
For easy understanding, please refer to table 2, which is a partial classification rule table having an association relationship with an application classification type according to an embodiment of the present invention. For convenience of understanding, in the partial classification rule table shown in table 2, only the application type to which the target application belongs is taken as an instant messaging application (e.g., a social application) or a network management application as an example, and the classification condition when the text type to which the notification text information belongs is text information (i.e., prompt information composed of pure words) and picture information (i.e., prompt information composed of words and pictures) is comprehensively stated, and in addition, for the network management application, the text type of the acquired notification text information may also include network type information.
TABLE 2
Figure BDA0002003810420000181
In the partial classification rule table in table 2, when the target user terminal identifies that the application type to which the target application belongs is the instant messaging application and further identifies that the text type to which the notification text information acquired by the instant messaging application belongs is the text type information, the application classification type to which the notification text information belongs may be classified into a second classification type according to the classification rule, and then a second service process independent of the instant messaging application may be invoked in the target user terminal through the second classification type, and the acquired notification text information is added to a fixed display area in a screen display interface through the second service process for static display. At this time, the notification text message associated with the second classification type may be information carrying a non-emergency identifier issued by the target server, or may be instant messaging information transmitted by another user terminal forwarded by the target server.
Optionally, in the partial classification rule table shown in table 2 above, when the target user terminal recognizes that the application type to which the target application belongs is the instant messaging application and recognizes that the text type to which the notification text information belongs is the picture type information, the application classification type to which the notification text information belongs may be classified into a first classification type, and then an embedded type sub-program of the instant messaging application may be obtained in the target user terminal through the first classification type, and at least one dynamic service template may be obtained through a first service process corresponding to the embedded type sub-program, and a target service template corresponding to the notification text information associated with the first classification type is determined from the at least one dynamic service template. At this time, the notification text information associated with the first classification type may be information carrying an emergency identifier sent by the target server, and the information carrying the emergency identifier may be information of a picture class composed of pictures, texts, and pictures.
Alternatively, as in the partial classification rule table of table 2 above, when the target ue identifies that the application type to which the target application belongs is the network management application, and further recognizing that the text type of the notification text information acquired by the instant messaging application is character type information, picture type information and network type information, the application classification type to which the notification text information belongs may be collectively classified into a first type according to the classification rule described above, and further can obtain the embedded sub-program of the network management application in the target user terminal through the first classification type, and at least one dynamic service template can be obtained through the first service process corresponding to the embedded subprogram, and determining a target service template corresponding to the notification text information associated with the first classification type from the at least one dynamic service template. At this time, the notification text information associated with the first classification type may be news information delivered by the target server, and optionally, the notification text information associated with the first classification type may be a name and an icon of a wireless local area network included in an environment (for example, the network coverage area 200 shown in fig. 4) where the terminal delivered by the target server is currently located.
For easy understanding, please refer to fig. 5, which is a schematic diagram of obtaining a target service template according to an embodiment of the present invention. As shown in fig. 5, a developer may create dynamic service templates 10 for target applications integrally installed in a target user terminal, and may allocate a unique template identifier to each created dynamic service template, and after creating a dynamic service template carrying the template identifier, encapsulate the dynamic service templates and embedded subroutines (PushManager, prompt manager) of the target applications, so that when the target user terminal obtains notification text information 20, the embedded subroutines of the target applications may be further obtained according to the application classification type (i.e. the first classification type) described in the notification text information, for example, the embedded subroutines may be embedded into the target applications as plug-ins, and then at least one template identifier having an association relationship with the notification text information may be obtained from the notification database through the first service process corresponding to the embedded subroutines, accordingly, the template 30 may be loaded and selected in the target user terminal, that is, the dynamic service template corresponding to each template identifier may be loaded from the notification database, for example, the template 1, the template 2, the template 3, and the template N shown in fig. 5 may be loaded, in order to ensure the diversity of the display style of the notification text information, the value of the positive integer N is not limited here, and further, according to the application type of the target application and the text type of the notification text, a template corresponding to the currently acquired notification text information 20 may be selected from a plurality of dynamic service templates (i.e., the template 1, the template 2, the template 3, and the template N) shown in fig. 5 as the target service template, for example, as shown in fig. 5, the template 2 may be used as the target service template corresponding to the notification text information 20. It is understood that each dynamic service template may contain some well-defined user interface (i.e., UI) information and behavior. For example, the position of each dynamic service template appearing on the screen display interface can be defined, and the defined positions can be collectively referred to as dynamic position parameters; the length and width of each dynamic service template can be defined, and the defined length and width can be collectively referred to as size parameters; the display duration of each dynamic service template can be defined, and the defined display durations can be collectively called as an effective duration parameter; internal controls (i.e., picture controls and text information) and layouts within each dynamic service template may be defined, and the defined internal controls and layouts may be collectively referred to as layout parameters; the departure animation and the departure animation of each dynamic service template may be defined, and dynamic change data required by the internal control in the process of outputting the notification text information to the screen display interface may also be defined (that is, to-be-processed data information that needs to be subjected to animation processing in the currently received notification text information may be defined), for example, the text content corresponding to the text control 1 may be set to yyy in xx seconds, and the zzzz animation may be executed on the picture control 1.
Step S102, acquiring target display parameters of the target service template, and creating a first sub-window independent of a screen display interface in the screen display interface according to the target display parameters;
specifically, the target user terminal may obtain the target display parameter of the target service template through an embedded subroutine of the target application; the target display parameters comprise dynamic position parameters, size parameters, effective duration parameters and layout parameters of the target service template; further, the target user terminal may create a first sub-window independent from the screen display interface in the screen display interface according to the dynamic position parameter, the size parameter, the effective duration parameter, and the layout parameter.
For easy understanding, please refer to fig. 6, which is a schematic diagram of creating the first sub-window according to an embodiment of the present invention. As shown in fig. 6, the target user terminal may obtain the target service template shown in fig. 6 from a background notification database, where the target service template may be the template 2 in the embodiment corresponding to fig. 5, it should be understood that the notification database shown in fig. 6 may include at least one dynamic service template, and each dynamic service template carries a corresponding template identifier. Therefore, when the notification text information is acquired, the target user terminal may further combine the application type to which the target application belongs as shown in fig. 5, for example, the application type (e.g., network management application) of the application icon B3 running in the background may be identified in the screen display interface 300 shown in fig. 6. As can be seen from the partial classification rule table shown in table 2, the application classification type associated with the notification text information of the network management application corresponding to the icon B3 may be the first classification type, and further, based on the application type of the application icon B3 and the text type of the notification text information (for example, picture type information), a corresponding dynamic service template (for example, the dynamic service template corresponding to the picture type information may be template 2) may be selected as the target service template in the notification database shown in fig. 6, so that the target display parameter of the target service template may be acquired. The target display parameters may include a dynamic position parameter, a size parameter, an effective duration parameter, and a layout parameter defined by a developer when creating the template 2 shown in fig. 5, and according to the dynamic position parameter, the size parameter, the effective duration parameter, and the layout parameter of the template 2, a floating layer independent from the screen display interface 300 is created in the screen display interface 300 shown in fig. 6, and an area where the floating layer is located may be referred to as a floating window display area 400 shown in fig. 6, so that in the screen display interface 300 shown in fig. 6, the floating window display area 400 may be referred to as a first sub-window independent from the screen display interface 300.
It can be understood that, in the embodiment of the present invention, when a plurality of applications all run in the background and all acquire notification text information of the same text type at the same time, a plurality of floating windows that are independent of each other may be created in the same screen display interface, that is, each floating window may overlap with each other; alternatively, a plurality of mutually independent floating windows may not overlap each other.
It should be understood that the target display parameters of the template 2 may also include animation parameters, which may include a scene cut animation and a scene cut animation of the template 2, to-be-processed data information that needs to be animated in the process of outputting the notification text information to the screen display interface 300, and the like.
Step S103, adding the notification text information into the first sub-window, and outputting and displaying the notification text information in the first sub-window to the screen display interface.
Specifically, the target user terminal may add the notification text information to the first sub-window, and obtain to-be-processed data information from the notification text information in the first sub-window; further, the target user terminal may perform animation processing on the to-be-processed data information according to the effective duration parameter and the animation parameter, and update the notification text information in the first sub-window according to the to-be-processed data information after the animation processing to obtain target text information; further, the target user terminal may determine a first sub-window where the target text information is located as a second sub-window, and output and display the target text information in the second sub-window to the screen display interface.
Therefore, in the embodiment of the invention, when the target user terminal can integrate the embedded subprogram in the target application, the corresponding service processes can be respectively selected according to the application classification types of the acquired notification text information so as to enrich the display style of the notification text information. For example, when the application classification type is the first classification type, the embedded subprogram of the target application may be obtained, and template selection may be performed from the notification database through a first service process corresponding to the embedded subprogram, so that animation processing may be performed on the notification text information according to the selected template, thereby implementing dynamic display of the notification text information, and further enriching the display effect of the notification text information. For another example, when the application classification type is the first classification type, a second service process independent of the target application may be further invoked, and the obtained notification text information may be directly output to a fixed area on the terminal screen through the second service process for static presentation.
It should be understood that, in the embodiment of the present invention, when other user terminals (for example, the user terminal 3000b) in the user terminal cluster shown in fig. 1 described above acquire the notification text information, a specific process of outputting and displaying the notification text information to the screen display interface may be referred to together with a specific process of outputting and displaying the notification text information to the screen display interface by the target user terminal. The description will not be continued here.
In the embodiment of the present invention, when the notification text information is obtained, the application classification type associated with the notification text information may be identified, so that the target service template corresponding to the notification text information may be obtained according to the identified application classification type (e.g., the first classification type); the identified application classification category can comprise a text type to which the notification text information belongs and an application type to which a target application corresponding to the notification text information belongs, and the two types are comprehensively considered, so that a target service template matched with the notification text information can be quickly determined, and a first sub-window independent of the screen display interface can be created in the screen display interface according to target display parameters of the target service template; it should be understood that the first sub-window herein may be understood as a floating window on the screen display interface. Further, the embodiment of the present invention may add the notification text information to a first sub-window (i.e. a floating window), and output and display the notification text information in the first sub-window to the screen display interface. In view of this, when the application classification types associated with the obtained multiple notification text messages are different, for example, the application type and the text type of each notification text message are different, the display style of the target service template (i.e., dynamic service template) obtained for each notification text message will also be different, and the display style of the notification text message can be enriched in the screen display interface. In addition, for different dynamic service templates, target display parameters of the dynamic service templates are different, so that the display effect in the constructed first sub-window is different, and therefore, when the notification text information is added into the corresponding first sub-window, the display effect of the notification text information can be enriched.
Further, please refer to fig. 7, which is a flowchart illustrating another data processing method according to an embodiment of the present invention. The method may include:
step S201, obtaining notification text information corresponding to a target application;
specifically, the target user terminal may receive notification text information issued by a target server corresponding to the target application based on the notification prompt rule; the notification prompt rule comprises a timing issuing rule, an emergency message issuing rule and a non-emergency message issuing rule.
The target ue may be the target ue in the embodiment corresponding to fig. 2.
For a specific implementation manner of obtaining the notification text information according to the notification prompt rule, reference may be made to the description of the specific process of obtaining the notification text information according to the timing delivery rule, the urgent message delivery rule, and the non-urgent message delivery rule in the embodiment corresponding to fig. 2, which will not be described again.
Optionally, for the text information to be notified carrying the emergency identifier described in the embodiment corresponding to fig. 2, when the target server needs to send the text information to be notified carrying the emergency identifier (i.e. the first text information in the embodiment corresponding to fig. 2) as the notification text information to the plurality of user terminals in the user terminal cluster shown in fig. 1, the terminal states (i.e. online states) of the plurality of user terminals may be detected, and when detecting that the terminal state of the user terminal is an online state, the user terminal corresponding to the online state may be referred to as an online user terminal, and when detecting that the terminal state of the user terminal is a non-online state (i.e. an offline state), the user terminal corresponding to the offline state may be referred to as an offline user terminal, so that under the condition that the channel resources are limited, the text information to be notified carrying the emergency identifier can be preferentially sent to each online user terminal, and then the text information to be notified carrying the emergency identifier can be sent to each offline user terminal.
For example, the plurality of user terminals in the user terminal cluster as shown in fig. 1 above may include online user terminals (e.g., user terminal 3000a and user terminal 3000b) and offline user terminals (e.g., user terminal 3000c and user terminal 3000 d). When a plurality of user terminals in the user terminal cluster are all installed with a target application in an integrated manner and can be connected to the notification server 2000 through the target application, the user terminal having access to the target application may be referred to as an online user terminal; conversely, a ue that does not access the target application may be referred to as an offline ue, and in this case, the notification server 2000 shown in fig. 1 may be referred to as a target server associated with the target application. In view of this, the notification server 2000 shown in fig. 1 may preferentially send the first text message carrying the emergency identifier to all online user terminals (e.g., the user terminal 3000a and the user terminal 3000b) in the user terminal cluster according to the emergency message sending rule, and then send the first text message carrying the emergency identifier to the offline user terminals (e.g., the user terminal 3000c and the user terminal 3000d) in the user terminal cluster. At this time, the first text information carrying the emergency identifier may be referred to as notification text information.
It should be understood that the target server in the embodiment of the present invention may include a service server and a proxy server, that is, when the user terminal integrated with the target application is in an online state (i.e., has accessed the target application), the notification text information (i.e., the first text information) sent by the service server may be directly received, however, when the user terminal integrated with the target application is in an offline state (i.e., has not accessed the target application), the notification text information forwarded by the service server through the proxy server may be received, and thus, the emergency information may be ensured to be timely and effectively pushed to each user terminal. For example, in the case of limited channel resources, it is ensured that the first text information may be preferentially pushed to each online user terminal by a service server (e.g., a background server corresponding to a social application), and then the first text information sent by the service server may be forwarded to each offline user terminal by a proxy server (e.g., a server corresponding to an information application).
Optionally, it should be understood that, in the embodiment of the present invention, the to-be-notified text information carrying the non-emergency identifier may be referred to as second text information, and therefore, the target server may further issue the second text information to a target user terminal (for example, the user terminal 3000a) in the user terminal cluster shown in fig. 1 according to the non-emergency message issuing rule. At this time, the target ue may be understood as a ue that transmits a pull request to a target server (i.e., the notification server 2000 shown in fig. 1). In other words, when detecting a trigger event (e.g., a page refresh operation) for a target application, a target user terminal may generate a pull request (i.e., the request) corresponding to the trigger event, and send a page refresh content indicated by the pull request to a target server, so that the target server may, when receiving the pull request sent by the target user terminal, issue, as notification text information, second text information (i.e., the filtered page refresh content) carrying a non-emergency identifier from the service database to the target user terminal sending the pull request based on the pull request.
Step S202, identifying the application type of the target application and the text type of the notification text information, and determining the application classification type associated with the notification text information according to the identification result;
step S203, if the application classification type of the notification text message is a first classification type, acquiring an embedded subprogram of the target application based on the first classification type, acquiring at least one dynamic service template through a first service process corresponding to the embedded subprogram, and determining a target service template corresponding to the notification text message from the at least one dynamic service template;
step S204, acquiring target display parameters of the target service template through an embedded subprogram of a target application; the target display parameters comprise dynamic position parameters, size parameters, effective duration parameters and layout parameters of the target service template;
s205, creating a first sub-window independent of the screen display interface in the screen display interface according to the dynamic position parameter, the size parameter, the effective duration parameter and the layout parameter;
wherein the target display parameters further comprise animation parameters. The animation parameter may be an animation parameter described in more detail in the embodiment corresponding to fig. 5, and will not be described again.
Step S206, adding the notification text information into the first sub-window, and outputting and displaying the notification text information in the first sub-window to the screen display interface;
specifically, the target user terminal may add the notification text information to the first sub-window, and obtain to-be-processed data information from the notification text information in the first sub-window; further, the target user terminal may perform animation processing on the to-be-processed data information according to the effective duration parameter and the animation parameter, and update the notification text information in the first sub-window according to the to-be-processed data information after the animation processing to obtain target text information; further, the target user terminal may determine a first sub-window where the target text information is located as a second sub-window, and output and display the target text information in the second sub-window to the screen display interface.
For easy understanding, please refer to fig. 8, which is a schematic diagram illustrating determining the second sub-window according to an embodiment of the present invention. As shown in fig. 8, the target user terminal takes the template 1 shown in fig. 8 as a target service template, and the target service template may include a picture control 1, a picture control 2, a text control 1, and a text control 2, and the picture control 1, the picture control 2, the text control 1, and the text control 2 in the template 1 shown in fig. 8 may be referred to as internal controls of the target service template, and the layout of the internal controls may refer to the schematic diagram of the template 1 described in fig. 8. It can be understood that when the template 1 is acquired by the target user terminal, the template parameters (i.e., the display parameters) of the template 1 may be acquired, so that when the template 1 is used as the target service template, the template parameters of the template 1 may be referred to as target display parameters. The target display parameters may include dynamic position parameters, size parameters, effective duration parameters, layout parameters, animation parameters, and the like. The target user terminal may create a first sub-window independent from the screen display interface 500 shown in fig. 8 according to the dynamic position parameter, the size parameter, the effective duration parameter, and the layout parameter of the template 1, and may add the notification text information acquired by the target user terminal to the first sub-window. Wherein the dynamic position parameter of the template 1 can be used to describe the starting position and the ending position of the template 1 appearing in the screen display interface 500 shown in fig. 8; the size parameters of the template 1 may be used to describe the length and width of the template 1 as it appears in the screen display interface 500 shown in FIG. 8; the validity duration parameter of the template 1 may be used to describe the display duration (e.g., 5 seconds) for the template 1 to appear in the screen display interface 500 shown in fig. 8; the layout parameters of the template 1 can be used to describe the distribution of the internal controls in the template 1 in the screen display interface 500 shown in fig. 8, and the animation change data required by the internal controls. For example, as the picture control 1 and the picture control 2 in the template 1 shown in fig. 8 both need animation change data, the sub data needed by each internal control can be found in the first sub window shown in fig. 8, and each sub data can be added to the area where the corresponding internal control is located. For example, for the case that the target application is a network management application, the obtained notification text message may include a signal intensity icon of a wireless local area network corresponding to the network management application, and the signal intensity icon of the wireless local area network may be referred to as sub-data 1 of the notification text message, so that the sub-data 1 may be displayed at the picture control 1 shown in fig. 8; in addition, the notification text information may further include associated information of a wireless local area network, and the associated information of the wireless local area network may be referred to as sub-data 2 of the notification text information, so that the sub-data 2 may be displayed at the text control 1 and the text control 2 shown in fig. 8; in addition, the notification text message may further include an operable icon (i.e., the connection button icon shown in fig. 8) corresponding to the wireless local area network, and the operable icon of the wireless local area network (i.e., the network 2 shown in fig. 8) may be referred to as sub-data 3 of the notification text message, so that the sub-data 3 may be displayed at the picture control 2 shown in fig. 8. Therefore, by adding the subdata of the notification text information to the areas where the corresponding internal controls are located, subdata which needs to be subjected to call processing can be further determined from the notification text information, and the subdata which needs to be subjected to animation processing can be called as to-be-processed data information acquired from the notification text information. Further, the target user terminal shown in fig. 8 may perform animation processing on the data information to be processed (e.g., sub-data 1 corresponding to the picture control 1) according to the effective duration parameter and the animation parameter of the template 1, and the notification text information in the first sub-window can be updated according to the data information to be processed after the animation processing to obtain the target text information in the second window shown in fig. 8, and the target text information in the second window can be output to the screen display interface 500 for dynamic display, further, the scene cut animation and the scene cut animation can be executed according to the effective duration parameter defined by the template 1, that is to say, when it is counted that the display duration of the template 1 in the screen display interface 500 reaches the duration threshold corresponding to the valid duration parameter, the second sub-window shown in fig. 8 may be removed in the screen display interface 500 shown in fig. 8.
For easy understanding, please refer to fig. 9a, 9b, and 9c, which are schematic diagrams of target text information according to an embodiment of the present invention. As shown in fig. 9a, the target service template acquired by the target user terminal may be the template 1 shown in fig. 8, and therefore, the target text information determined in the second sub-window shown in fig. 8 may be the target text information 1 shown in fig. 9 a. That is, at this time, when outputting and displaying the target text information in the second sub-window shown in fig. 8 to the screen display interface for dynamic display, the target user terminal may dynamically display the local area in the template 1, for example, when the display duration of the template 1 is mm seconds, the target user terminal may execute kkkkkkkkk animation on the signal strength icon of the wireless local area network 1 at the picture control 1. Alternatively, as shown in fig. 9b, if the target service template selected by the target user terminal is the template 2 shown in fig. 9b, the notification text information corresponding to the picture type information may be displayed in the floating window display area in a full screen manner, specifically, refer to the schematic diagram of the target text information 2 shown in fig. 9b, and may execute xxxx animation on the notification text information at the picture control 3 when the display duration of the template 2 is nn seconds. Alternatively, as shown in fig. 9c, if the target service template selected by the target user terminal is the template 3 shown in fig. 9c, the notification text information corresponding to the picture type information may be displayed in the floating window display area in an overflowing manner, specifically, refer to the schematic diagram of the target text information 3 shown in fig. 9c, and when the display duration of the template 3 is kk seconds, mmmm animation may be performed on the notification text information at the picture control 3.
Step S207, dynamically displaying the target text information in the second sub-window according to the animation parameters, counting the display duration of the dynamically displayed target text information, and closing the second sub-window in the screen display interface when the display duration reaches the duration threshold corresponding to the effective duration parameter.
Alternatively, after the data processing apparatus executes the step S206, the data processing apparatus may further execute the following steps: and determining a sliding track of the second sub-window in the screen display interface according to the dynamic position parameter, and closing the second sub-window in the screen display interface when the second sub-window slides from the starting position to the ending position of the sliding track.
It should be understood that, in an actual application, the second sub-window may be closed by counting a display duration, optionally, the target user terminal may further dynamically display the target text information in the screen display interface, and if it is detected that the target service template slides from the start position to the end position, it may be considered that a time difference between the target text information output and the screen display interface reaches the duration threshold, and further, the second sub-window may also be closed, so that the target application may further display an animation effect of other subsequently acquired notification text information.
Step S208, if the application classification type of the notification text information is a second classification type, a second service process independent of the target application is called based on the second classification type, the notification text information is added to a fixed display area in a screen display interface through the second service process, and the notification text information is displayed in the fixed display area.
Therefore, in the embodiment of the invention, when the target user terminal can integrate the embedded subprogram in the target application, the corresponding service processes can be respectively selected according to the application classification types of the acquired notification text information so as to enrich the display style of the notification text information. The acquired notification text information can be dynamically displayed, and can also be statically displayed. Specifically, reference may be made to the description of the first service process and the second service process in the embodiment corresponding to fig. 2, which will not be described again.
In the embodiment of the present invention, when the notification text information is obtained, the application classification type associated with the notification text information may be identified, so that the target service template corresponding to the notification text information may be obtained according to the identified application classification type (e.g., the first classification type); the identified application classification category can comprise a text type to which the notification text information belongs and an application type to which a target application corresponding to the notification text information belongs, and the two types are comprehensively considered, so that a target service template matched with the notification text information can be quickly determined, and a first sub-window independent of the screen display interface can be created in the screen display interface according to target display parameters of the target service template; it should be understood that the first sub-window herein may be understood as a floating window on the screen display interface. Further, the embodiment of the present invention may add the notification text information to a first sub-window (i.e. a floating window), and output and display the notification text information in the first sub-window to the screen display interface. In view of this, when the application classification types associated with the obtained multiple notification text messages are different, for example, the application type and the text type of each notification text message are different, the display style of the target service template (i.e., dynamic service template) obtained for each notification text message will also be different, and the display style of the notification text message can be enriched in the screen display interface. In addition, for different dynamic service templates, target display parameters of the dynamic service templates are different, so that the display effect in the constructed first sub-window is different, and therefore, when the notification text information is added into the corresponding first sub-window, the display effect of the notification text information can be enriched.
Further, please refer to fig. 10, which is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention, wherein the data processing apparatus 1 is applicable to a target user terminal. As shown in fig. 10, the data processing apparatus 1 may include: a template acquisition module 10, a window creation module 20, a first display module 30; further, the data processing apparatus 1 may further include: a second display module 40;
the template obtaining module 10 is configured to obtain notification text information and an application classification type associated with the notification text information, and obtain a target service template corresponding to the notification text information according to the application classification type;
the template acquisition module 10 includes: a notification acquisition unit 101, a type identification unit 102, and a template determination unit 103;
a notification obtaining unit 101, configured to obtain notification text information corresponding to a target application;
specifically, the notification obtaining unit 101 is specifically configured to receive notification text information issued by a target server corresponding to a target application based on a notification prompt rule; the notification prompt rule comprises a timing issuing rule, an emergency message issuing rule and a non-emergency message issuing rule.
Alternatively, the notification acquisition unit packet 101 may include: a request generation subunit 1011 and a notification acquisition subunit 1012;
a request generation subunit 1011, configured to generate a network prompt request corresponding to a second network state when the location information of the terminal to which the target application belongs moves from the first geographic location information to the second geographic location information and a second network state detected by the second geographic location information is different from the first network state detected by the first geographic location information;
a notification obtaining subunit 1012, configured to obtain notification text information pushed by the target application based on the network prompting request.
For a specific implementation manner of the request generation subunit 1011 and the notification acquisition subunit 1012, reference may be made to the description of the target application when the target application is a network management application, and details will not be described here again.
The type identification unit 102 is configured to identify an application type to which the target application belongs and a text type to which the notification text information belongs, and determine an application classification type associated with the notification text information according to an identification result;
wherein the type identifying unit 102 includes: a type identification subunit 1021 and a type determination subunit 1022;
a type identification subunit 1021, configured to identify, by a first classifier, an application type to which the target application belongs, and identify, by a second classifier, a text type to which the notification text information belongs;
a type determining subunit 1022, configured to search, according to the application type to which the target application belongs and the text type to which the notification text information belongs, a target classification type matched with the notification text information in a notification database, and determine the matched target classification type as the application classification type associated with the notification text information.
For a specific implementation of the type identifying subunit 1021 and the type determining subunit 1022, reference may be made to the description of the application classification application in the embodiment corresponding to fig. 2, and details will not be further described here.
A template determining unit 103, configured to, if the application classification type of the notification text information is a first classification type, obtain an embedded type sub-program of the target application based on the first classification type, obtain at least one dynamic service template through a first service process corresponding to the embedded type sub-program, and determine a target service template corresponding to the notification text information from the at least one dynamic service template.
Wherein the template determining unit 103 includes: a subroutine acquiring subunit 1031, an identification acquiring subunit 1032, a template determining subunit 1033;
a sub-program obtaining sub-unit 1031, configured to obtain an embedded sub-program of the target application based on the first classification type if the application classification type of the notification text information is the first classification type;
an identifier obtaining sub-unit 1032, configured to obtain, in the notification database, at least one template identifier having an association relationship with notification text information through a first service process corresponding to the embedded sub-program; one template identification corresponds to one dynamic service template;
a template determining subunit 1033, configured to determine a target template identifier from the at least one template identifier based on the text type to which the notification text information in the first classification type belongs and the application type to which the target application belongs, search a dynamic service template corresponding to the target template identifier from the notification database, and determine the searched dynamic service template as the target service template corresponding to the notification text information.
The specific implementation manner of the subroutine obtaining subunit 1031, the identifier obtaining subunit 1032, and the template determining subunit 1033 may refer to the description of the first service in the embodiment corresponding to fig. 2, which will not be described again here.
For specific implementation manners of the notification obtaining unit 101, the type identifying unit 102, and the template determining unit 103, reference may be made to the description of step S101 in the embodiment corresponding to fig. 2, and details will not be further described here.
The window creating module 20 is configured to obtain a target display parameter of the target service template, and create a first sub-window independent of the screen display interface in the screen display interface according to the target display parameter;
wherein the window creating module 20 comprises: a parameter obtaining unit 201 and a window constructing unit 202;
a parameter obtaining unit 201, configured to obtain a target display parameter of the target service template through an embedded subroutine of a target application; the target display parameters comprise dynamic position parameters, size parameters, effective duration parameters and layout parameters of the target service template;
a window constructing unit 202, configured to create a first sub-window independent from the screen display interface in the screen display interface according to the dynamic position parameter, the size parameter, the effective duration parameter, and the layout parameter.
For specific implementation manners of the parameter obtaining unit 201 and the window constructing unit 202, reference may be made to the description of the first sub-window in the embodiment corresponding to fig. 2, and details will not be further described here.
The first display module 30 is configured to add the notification text information to the first sub-window, and output and display the notification text information in the first sub-window to the screen display interface.
Wherein the target display parameters further comprise animation parameters; the first display module 30 includes: a notification adding unit 301, a notification processing unit 302, and a notification display unit 303; further, the first display module 30 further includes: a first closing unit 304 and a second closing unit 305;
a notification adding unit 301, configured to add the notification text information to the first sub-window, and obtain to-be-processed data information from the notification text information in the first sub-window;
the notification processing unit 302 is configured to perform animation processing on the to-be-processed data information according to the effective duration parameter and the animation parameter, and update the notification text information in the first sub-window according to the to-be-processed data information after the animation processing, so as to obtain target text information;
and the notification display unit 303 is configured to determine the first sub-window where the target text information is located as a second sub-window, and output and display the target text information in the second sub-window to the screen display interface.
Optionally, the first closing unit 304 is configured to dynamically display the target text information in the second sub-window according to the animation parameter, count a display duration for dynamically displaying the target text information, and close the second sub-window in the screen display interface when the display duration reaches a duration threshold corresponding to the effective duration parameter.
Optionally, the second closing unit 305 is configured to determine a sliding track of the second sub-window in the screen display interface according to the dynamic position parameter, and close the second sub-window in the screen display interface when the second sub-window slides from a start position to an end position of the sliding track.
For specific implementation manners of the notification adding unit 301, the notification processing unit 302, the notification displaying unit 303, the first closing unit 304, and the second closing unit 305, reference may be made to the description of step S103 in the embodiment corresponding to fig. 2, and details will not be further described here.
For specific implementation manners of the template obtaining module 10, the window creating module 20, and the first display module 30, reference may be made to the description of steps S101 to S103 in the embodiment corresponding to fig. 2, and details will not be further described here.
Optionally, the second display module 40 is configured to, if the application classification type of the notification text information is a second classification type, invoke a second service process independent of the target application based on the second classification type, add the notification text information to a fixed display area in a screen display interface through the second service process, and display the notification text information in the fixed display area.
For a specific implementation manner of the second display module 40, reference may be made to the description of step S208 in the embodiment corresponding to fig. 7, and details will not be repeated here.
In the embodiment of the present invention, when the notification text information is obtained, the application classification type associated with the notification text information may be identified, so that the target service template corresponding to the notification text information may be obtained according to the identified application classification type (e.g., the first classification type); the identified application classification category can comprise a text type to which the notification text information belongs and an application type to which a target application corresponding to the notification text information belongs, and the two types are comprehensively considered, so that a target service template matched with the notification text information can be quickly determined, and a first sub-window independent of the screen display interface can be created in the screen display interface according to target display parameters of the target service template; it should be understood that the first sub-window herein may be understood as a floating window on the screen display interface. Further, the embodiment of the present invention may add the notification text information to a first sub-window (i.e. a floating window), and output and display the notification text information in the first sub-window to the screen display interface. In view of this, when the application classification types associated with the obtained multiple notification text messages are different, for example, the application type and the text type of each notification text message are different, the display style of the target service template (i.e., dynamic service template) obtained for each notification text message will also be different, and the display style of the notification text message can be enriched in the screen display interface. In addition, for different dynamic service templates, target display parameters of the dynamic service templates are different, so that the display effect in the constructed first sub-window is different, and therefore, when the notification text information is added into the corresponding first sub-window, the display effect of the notification text information can be enriched.
Further, please refer to fig. 11, which is a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention. As shown in fig. 11, the data processing apparatus 1000 may be applied to a target user terminal, and the data processing apparatus 1000 may include: the processor 1001, the network interface 1004, and the memory 1005, and the data processing apparatus 1000 may further include: a user interface 1003, and at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1004 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 11, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
The network interface 1004 in the 1000 may also be connected to a target server, and the optional user interface 1003 may also include a Display screen (Display) and a Keyboard (Keyboard). In the data processing apparatus 1000 shown in fig. 11, the network interface 1004 may provide a network communication function; the user interface 1003 is an interface for providing a user with input; and the processor 1001 may be used to invoke a device control application stored in the memory 1005 to implement:
acquiring notification text information and an application classification type associated with the notification text information, and acquiring a target service template corresponding to the notification text information according to the application classification type;
acquiring target display parameters of the target service template, and creating a first sub-window independent of a screen display interface in the screen display interface according to the target display parameters;
and adding the notification text information into the first sub-window, and outputting and displaying the notification text information in the first sub-window into the screen display interface.
It should be understood that the data processing apparatus 1000 described in the embodiment of the present invention may perform the description of the data processing method in the embodiment corresponding to fig. 2 or fig. 7, and may also perform the description of the data processing apparatus 1 in the embodiment corresponding to fig. 10, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Further, here, it is to be noted that: an embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores the aforementioned computer program executed by the data processing apparatus 1, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the data processing method in the embodiment corresponding to fig. 2 or fig. 7 can be performed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer storage medium to which the present invention relates, reference is made to the description of the method embodiments of the present invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (15)

1. A data processing method, comprising:
acquiring notification text information and an application classification type associated with the notification text information, and acquiring a target service template corresponding to the notification text information according to the application classification type;
acquiring target display parameters of the target service template, and creating a first sub-window independent of a screen display interface in the screen display interface according to the target display parameters;
and adding the notification text information into the first sub-window, and outputting and displaying the notification text information in the first sub-window into the screen display interface.
2. The method according to claim 1, wherein the obtaining notification text information and an application classification type associated with the notification text information, and obtaining a target service template corresponding to the notification text information according to the application classification type comprises:
acquiring notification text information corresponding to a target application;
identifying the application type of the target application and the text type of the notification text information, and determining the application classification type associated with the notification text information according to the identification result;
if the application classification type of the notification text information is a first classification type, acquiring an embedded subprogram of the target application based on the first classification type, acquiring at least one dynamic service template through a first service process corresponding to the embedded subprogram, and determining a target service template corresponding to the notification text information from the at least one dynamic service template.
3. The method of claim 2, further comprising:
if the application classification type of the notification text information is a second classification type, a second service process independent of the target application is called based on the second classification type, the notification text information is added to a fixed display area in a screen display interface through the second service process, and the notification text information is displayed in the fixed display area.
4. The method of claim 2, wherein the obtaining of the notification text information corresponding to the target application comprises:
receiving notification text information which is issued by a target server corresponding to a target application based on a notification prompt rule; the notification prompt rule comprises a timing issuing rule, an emergency message issuing rule and a non-emergency message issuing rule.
5. The method of claim 2, wherein the obtaining of the notification text information corresponding to the target application comprises:
when the position information of a terminal to which a target application belongs moves from first geographical position information to second geographical position information and a second network state detected by the second geographical position information is different from a first network state detected by the first geographical position information, generating a network prompt request corresponding to the second network state;
and acquiring notification text information pushed by the target application based on the network prompt request.
6. The method according to claim 2, wherein the identifying the application type to which the target application belongs and the text type to which the notification text information belongs, and determining the application classification type associated with the notification text information according to the identification result comprises:
identifying the application type of the target application through a first classifier, and identifying the text type of the notification text information through a second classifier;
and searching a target classification type matched with the notification text information in a notification database according to the application type to which the target application belongs and the text type to which the notification text information belongs, and determining the matched target classification type as the application classification type associated with the notification text information.
7. The method according to claim 6, wherein if the application classification type of the notification text message is a first classification type, acquiring an embedded sub-program of the target application based on the first classification type, acquiring at least one dynamic service template through a first service process corresponding to the embedded sub-program, and determining a target service template corresponding to the notification text message from the at least one dynamic service template, includes:
if the application classification type of the notification text information is a first classification type, acquiring an embedded subprogram of the target application based on the first classification type;
acquiring at least one template identifier having an association relation with notification text information in the notification database through a first service process corresponding to the embedded subprogram; one template identification corresponds to one dynamic service template;
and determining a target template identifier from the at least one template identifier based on the text type to which the notification text information belongs and the application type to which the target application belongs in the first classification type, searching a dynamic service template corresponding to the target template identifier from the notification database, and determining the searched dynamic service template as the target service template corresponding to the notification text information.
8. The method according to claim 1, wherein the obtaining of the target display parameter of the target service template and the creating of the first sub-window independent of the screen display interface in the screen display interface according to the target display parameter comprises:
acquiring target display parameters of the target service template through an embedded subprogram of a target application; the target display parameters comprise dynamic position parameters, size parameters, effective duration parameters and layout parameters of the target service template;
and creating a first sub-window independent of the screen display interface in the screen display interface according to the dynamic position parameter, the size parameter, the effective duration parameter and the layout parameter.
9. The method of claim 8, wherein the target display parameters further comprise animation parameters;
the adding the notification text information to the first sub-window and outputting and displaying the notification text information in the first sub-window to the screen display interface comprises:
adding the notification text information to the first sub-window, and acquiring to-be-processed data information from the notification text information in the first sub-window;
performing animation processing on the data information to be processed according to the effective duration parameter and the animation parameter, and updating the notification text information in the first sub-window according to the data information to be processed after the animation processing to obtain target text information;
and determining the first sub-window where the target text information is located as a second sub-window, and outputting and displaying the target text information in the second sub-window to the screen display interface.
10. The method of claim 9, further comprising:
and dynamically displaying the target text information in the second sub-window according to the animation parameters, counting the display duration of the dynamically displayed target text information, and closing the second sub-window in the screen display interface when the display duration reaches a duration threshold corresponding to the effective duration parameter.
11. The method of claim 9, further comprising:
and determining a sliding track of the second sub-window in the screen display interface according to the dynamic position parameter, and closing the second sub-window in the screen display interface when the second sub-window slides from the starting position to the ending position of the sliding track.
12. A data processing apparatus, comprising:
the template acquisition module is used for acquiring notification text information and an application classification type associated with the notification text information and acquiring a target service template corresponding to the notification text information according to the application classification type;
the window creating module is used for acquiring target display parameters of the target service template and creating a first sub-window independent of the screen display interface in the screen display interface according to the target display parameters;
and the first display module is used for adding the notification text information into the first sub-window and outputting and displaying the notification text information in the first sub-window to the screen display interface.
13. The apparatus of claim 12, wherein the template acquisition module comprises:
the notification acquisition unit is used for acquiring notification text information corresponding to the target application;
the type identification unit is used for identifying the application type of the target application and the text type of the notification text information and determining the application classification type associated with the notification text information according to the identification result;
and the template determining unit is used for acquiring an embedded type subprogram of the target application based on the first classification type if the application classification type of the notification text information is the first classification type, acquiring at least one dynamic service template through a first service process corresponding to the embedded type subprogram, and determining a target service template corresponding to the notification text information from the at least one dynamic service template.
14. A data processing apparatus, comprising: a processor, a memory;
the processor is coupled to a memory, wherein the memory is configured to store program code and the processor is configured to invoke the program code to perform the method of any of claims 1-11.
15. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the method according to any one of claims 1-11.
CN201910221653.5A 2019-03-22 2019-03-22 Data processing method and related device Active CN111726456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910221653.5A CN111726456B (en) 2019-03-22 2019-03-22 Data processing method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910221653.5A CN111726456B (en) 2019-03-22 2019-03-22 Data processing method and related device

Publications (2)

Publication Number Publication Date
CN111726456A true CN111726456A (en) 2020-09-29
CN111726456B CN111726456B (en) 2022-01-18

Family

ID=72563519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910221653.5A Active CN111726456B (en) 2019-03-22 2019-03-22 Data processing method and related device

Country Status (1)

Country Link
CN (1) CN111726456B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367241A (en) * 2020-10-16 2021-02-12 北京五八信息技术有限公司 Message generation and message transmission method, device, equipment and computer readable medium
CN112751836A (en) * 2020-12-24 2021-05-04 华人运通(上海)云计算科技有限公司 Vehicle data display method, device, storage medium and system
CN112783594A (en) * 2021-02-01 2021-05-11 维沃移动通信有限公司 Message display method and device and electronic equipment
EP4002378A1 (en) * 2020-11-17 2022-05-25 reachtag GmbH Method, computer unit and computer program for transmitting medical data and / or documents
CN114895815A (en) * 2022-06-17 2022-08-12 维沃移动通信有限公司 Data processing method and electronic equipment
WO2022183331A1 (en) * 2021-03-01 2022-09-09 京东方科技集团股份有限公司 Interface display method and apparatus, computer readable storage medium, and electronic device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130078959A1 (en) * 2011-09-27 2013-03-28 Paul E. Reeves Displaying categories of notifications on a dual screen device
CN103634199A (en) * 2013-08-26 2014-03-12 华为技术有限公司 Notification message display method and notification message display device
US8863003B2 (en) * 2010-11-02 2014-10-14 Sap Se System and method for message grouping
CN104219131A (en) * 2013-05-30 2014-12-17 丁瑞彭 Dynamic message presentation method, application and system
CN105094824A (en) * 2015-07-20 2015-11-25 北京京东尚科信息技术有限公司 Display method for notification messages on intelligent watch and intelligent watch
WO2016045502A1 (en) * 2014-09-25 2016-03-31 阿里巴巴集团控股有限公司 Method and system for processing text message
CN105635442A (en) * 2015-12-18 2016-06-01 北京奇虎科技有限公司 Method and apparatus for displaying message on mobile terminal
CN105812928A (en) * 2014-12-30 2016-07-27 深圳Tcl新技术有限公司 Prompting message display management method and display device
CN105824646A (en) * 2016-03-31 2016-08-03 北京奇虎科技有限公司 Processing method and processing device for notification bar messages of computing device
CN106874249A (en) * 2017-02-09 2017-06-20 北京金山安全软件有限公司 Information display method and device and terminal equipment
US20170277361A1 (en) * 2016-03-25 2017-09-28 Amazon Technologies, Inc. Content optimizations for a lock screen
CN108574772A (en) * 2017-03-10 2018-09-25 腾讯科技(深圳)有限公司 End message display methods and device
CN109005283A (en) * 2018-06-29 2018-12-14 Oppo(重庆)智能科技有限公司 Show method, apparatus, terminal and the storage medium of notification message

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8863003B2 (en) * 2010-11-02 2014-10-14 Sap Se System and method for message grouping
US20130078959A1 (en) * 2011-09-27 2013-03-28 Paul E. Reeves Displaying categories of notifications on a dual screen device
CN104219131A (en) * 2013-05-30 2014-12-17 丁瑞彭 Dynamic message presentation method, application and system
CN103634199A (en) * 2013-08-26 2014-03-12 华为技术有限公司 Notification message display method and notification message display device
EP2869501A1 (en) * 2013-08-26 2015-05-06 Huawei Technologies Co., Ltd. Method and device for displaying notification message
WO2016045502A1 (en) * 2014-09-25 2016-03-31 阿里巴巴集团控股有限公司 Method and system for processing text message
CN105812928A (en) * 2014-12-30 2016-07-27 深圳Tcl新技术有限公司 Prompting message display management method and display device
CN105094824A (en) * 2015-07-20 2015-11-25 北京京东尚科信息技术有限公司 Display method for notification messages on intelligent watch and intelligent watch
CN105635442A (en) * 2015-12-18 2016-06-01 北京奇虎科技有限公司 Method and apparatus for displaying message on mobile terminal
US20170277361A1 (en) * 2016-03-25 2017-09-28 Amazon Technologies, Inc. Content optimizations for a lock screen
CN105824646A (en) * 2016-03-31 2016-08-03 北京奇虎科技有限公司 Processing method and processing device for notification bar messages of computing device
CN106874249A (en) * 2017-02-09 2017-06-20 北京金山安全软件有限公司 Information display method and device and terminal equipment
CN108574772A (en) * 2017-03-10 2018-09-25 腾讯科技(深圳)有限公司 End message display methods and device
CN109005283A (en) * 2018-06-29 2018-12-14 Oppo(重庆)智能科技有限公司 Show method, apparatus, terminal and the storage medium of notification message

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367241A (en) * 2020-10-16 2021-02-12 北京五八信息技术有限公司 Message generation and message transmission method, device, equipment and computer readable medium
EP4002378A1 (en) * 2020-11-17 2022-05-25 reachtag GmbH Method, computer unit and computer program for transmitting medical data and / or documents
CN112751836A (en) * 2020-12-24 2021-05-04 华人运通(上海)云计算科技有限公司 Vehicle data display method, device, storage medium and system
CN112783594A (en) * 2021-02-01 2021-05-11 维沃移动通信有限公司 Message display method and device and electronic equipment
WO2022183331A1 (en) * 2021-03-01 2022-09-09 京东方科技集团股份有限公司 Interface display method and apparatus, computer readable storage medium, and electronic device
US11907503B2 (en) 2021-03-01 2024-02-20 Boe Technology Group Co., Ltd. Switching display of page between a window of a graphical user interface and an independent child window
CN114895815A (en) * 2022-06-17 2022-08-12 维沃移动通信有限公司 Data processing method and electronic equipment
WO2023241563A1 (en) * 2022-06-17 2023-12-21 维沃移动通信有限公司 Data processing method and electronic device

Also Published As

Publication number Publication date
CN111726456B (en) 2022-01-18

Similar Documents

Publication Publication Date Title
CN111726456B (en) Data processing method and related device
US10795629B2 (en) Text and custom format information processing method, client, server, and computer-readable storage medium
WO2017096987A1 (en) Message display method and terminal device
WO2018177251A1 (en) Application program processing method, computer device and storage medium
WO2016045502A1 (en) Method and system for processing text message
US20150143215A1 (en) Method and system for accessing audio/video community virtual rooms
KR20190058701A (en) Gallery of messages with a shared interest
US20210044650A1 (en) Method and a device for sharing a hosted application
US10116668B2 (en) System and method for enhanced display-screen security and privacy
US11316818B1 (en) Context-based consolidation of communications across different communication platforms
US10917376B2 (en) Origin-based consolidation of related content within social network posts
CN112162965A (en) Log data processing method and device, computer equipment and storage medium
WO2016007178A1 (en) System and method for providing contextual analytics data
US20200082592A1 (en) Dynamically transforming a typing indicator to reflect a user's tone
CN106649518B (en) Method and device for processing dynamic information data
CN111090533A (en) Notice information sending method and device, electronic equipment and storage medium
CN103036910A (en) Method and device for controlling user web access behaviors
CN111381819B (en) List creation method and device, electronic equipment and computer-readable storage medium
CN107948682B (en) Configuration method of service domain name, service server and terminal equipment
CN112737918B (en) Method and device for processing mass-sending message in instant communication system
US9967317B2 (en) Methods and systems for sending and receiving alerts
CN111083145A (en) Message sending method and device and electronic equipment
CN107920012B (en) Instant communication message storage method and device
US20190206385A1 (en) Vocal representation of communication messages
CN115525834A (en) Method for screening and displaying messages, computer device and recording medium

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