CN112363852A - Popup message processing method, device, equipment and computer readable storage medium - Google Patents

Popup message processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112363852A
CN112363852A CN202011236637.2A CN202011236637A CN112363852A CN 112363852 A CN112363852 A CN 112363852A CN 202011236637 A CN202011236637 A CN 202011236637A CN 112363852 A CN112363852 A CN 112363852A
Authority
CN
China
Prior art keywords
popup
message
touch operation
messages
pop
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.)
Pending
Application number
CN202011236637.2A
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011236637.2A priority Critical patent/CN112363852A/en
Publication of CN112363852A publication Critical patent/CN112363852A/en
Pending legal-status Critical Current

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/546Message passing systems or structures, e.g. queues

Abstract

The invention discloses a popup message processing method, a device, equipment and a computer readable storage medium, wherein the method comprises the following steps: when the prompt message transmitted by the single-item equipment is received, detecting whether a popup window display mode corresponding to the prompt message exists; if the popup display mode corresponding to the prompt message exists, determining a popup message corresponding to the prompt message based on the popup display mode, and associating the popup message to a popup message queue; and acquiring the arrangement sequence of the popup messages in the popup message queue, and displaying the popup messages according to the arrangement sequence of the popup messages in the popup message queue. The invention processes according to the arrangement sequence of the popup messages in the popup message queue, thereby greatly improving the flexibility and coordination of processing the popup messages and solving the technical problem of poor flexibility of an intelligent control system in processing the popup messages.

Description

Popup message processing method, device, equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of smart home, in particular to a popup message processing method, a popup message processing device, popup message processing equipment and a computer-readable storage medium.
Background
With the development of the intelligent home technology and the technical development of the intelligent processing speed, a new technical breakthrough is made so far, so that various intelligent device technologies are developed vigorously, and the intelligent home has the potential of becoming a future technical hotspot.
Various different data interactions exist between the intelligent single-product equipment and the intelligent control system, and the intelligent control system displays the interactive data between the intelligent single-product equipment and the intelligent control system through popup messages. However, in the prior art, when the smart control system receives too many pop-up window messages of the smart item device, the smart control system has poor flexibility in processing the pop-up window messages, so that an exception is easily generated in the process of processing the pop-up window messages.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a popup message processing method, a popup message processing device, equipment and a computer readable storage medium, and aims to solve the technical problem that an intelligent control system is poor in flexibility in processing popup messages.
In order to achieve the above object, the present invention provides a pop-up window message processing method, which is applied to an intelligent control system, wherein the intelligent control system is in communication connection with a plurality of single-product devices, and the pop-up window message processing method includes the following steps:
when the prompt message transmitted by the single-item equipment is received, detecting whether a popup window display mode corresponding to the prompt message exists;
if the popup display mode corresponding to the prompt message exists, determining a popup message corresponding to the prompt message based on the popup display mode, and associating the popup message to a popup message queue;
and acquiring the arrangement sequence of the popup messages in the popup message queue, and displaying the popup messages according to the arrangement sequence of the popup messages in the popup message queue.
Optionally, the step of displaying the popup messages according to the arrangement order of the popup messages in the popup message queue includes:
according to the arrangement sequence of the popup messages in the popup message queue, sequentially and singly taking out the popup messages in the popup message queue as messages to be displayed, wherein the popup message queue is a sequence queue;
and if the intelligent control system does not display the popup message currently, displaying the message to be displayed in the intelligent control system.
Optionally, after the step of sequentially and individually taking out the pop-window messages in the pop-window message queue as the messages to be displayed according to the arrangement sequence of the pop-window messages in the pop-window message queue, the method further includes:
if the intelligent control system currently displays the popup message and the display time corresponding to the currently displayed popup message reaches the preset time, closing the popup message currently displayed by the intelligent control system;
and displaying the message to be displayed in the intelligent control system.
Optionally, after the step of displaying the popup messages according to the arranging order of the popup messages in the popup message queue, the method further includes:
if an operation instruction triggered on the popup message is received, starting an application program corresponding to the operation instruction;
and determining a functional module in the application program based on the operation instruction so as to execute the functional operation corresponding to the operation instruction based on the functional module.
Optionally, before the step of starting the application program corresponding to the operation instruction if the operation instruction triggered on the popup message is received, the method further includes:
identifying a touch operation triggered on the popup message;
determining a touch operation type and a touch operation position corresponding to the touch operation based on the touch operation, and triggering an operation instruction corresponding to the touch operation based on the touch operation type and the touch operation position.
Optionally, the step of determining, based on the touch operation, a touch operation type and a touch operation position corresponding to the touch operation, and triggering, based on the touch operation type and the touch operation position, an operation instruction corresponding to the touch operation includes:
determining a touch operation type and a touch operation position corresponding to the touch operation based on a touch starting point, a touch track and a touch ending point corresponding to the touch operation;
determining a function box on the popup message based on the touch operation position;
and triggering an operation instruction corresponding to the touch operation based on the function frame and the touch operation type.
Optionally, when receiving the prompt information transmitted by the single-item device, the step of detecting whether the prompt information has a corresponding popup message includes:
when receiving prompt information transmitted by the single-item equipment, determining the type of the prompt information;
and acquiring a display mode list corresponding to each single-product device, and detecting whether a popup window display mode corresponding to the prompt information exists or not based on the type of the prompt information and the display mode list.
In addition, to achieve the above object, the present invention further provides a pop-up window message processing apparatus, including:
the detection module is used for detecting whether a popup window display mode corresponding to the prompt information exists or not when the prompt information transmitted by the single-item equipment is received;
the determining module is used for determining a popup message corresponding to the prompt message based on the popup display mode and associating the popup message to a popup message queue if the popup display mode corresponding to the prompt message exists;
and the display module is used for acquiring the arrangement sequence of the popup messages in the popup message queue and displaying the popup messages according to the arrangement sequence of the popup messages in the popup message queue.
In addition, to achieve the above object, the present invention further provides a popup message processing apparatus, including: the system comprises a memory, a processor and a popup message processing program stored on the memory and capable of running on the processor, wherein the popup message processing program realizes the steps of the popup message processing method when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having a popup message processing program stored thereon, which when executed by a processor, implements the steps of the popup message processing method as described above.
When the prompt message transmitted by the single-item equipment is received, whether a popup window display mode corresponding to the prompt message exists is detected; if the popup display mode corresponding to the prompt message exists, determining a popup message corresponding to the prompt message based on the popup display mode, and associating the popup message to a popup message queue; and acquiring the arrangement sequence of the popup messages in the popup message queue, and displaying the popup messages according to the arrangement sequence of the popup messages in the popup message queue. In this embodiment, if a popup display mode corresponding to the currently received prompt message exists in the intelligent control system, determining and associating the popup message to a popup message queue, so that the popup message in the popup message queue can be displayed according to the sequence of the popup message in the popup message queue.
Drawings
Fig. 1 is a schematic structural diagram of a popup message processing device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a pop-up window message processing method according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a pop-up window message processing method according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a popup message processing device in a hardware operating environment according to an embodiment of the present invention.
The pop-up window message processing device in the embodiment of the present invention may be a PC, or may be a mobile terminal device having a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4) player, a portable computer, and the like.
As shown in fig. 1, the pop-up message processing apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a 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), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the pop-up window message processing device may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the pop-up message processing device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the device is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for identifying the attitude of the pop-up window message processing device, and vibration identification related functions (such as pedometer and tapping); of course, the pop-up window message processing device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the pop-up message processing device configuration shown in fig. 1 does not constitute a limitation of the pop-up message processing device, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, 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 pop-up message handler.
In the popup message processing apparatus shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and communicating with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and processor 1001 may be used to invoke a pop-up message handler stored in memory 1005.
In this embodiment, the pop-up window message processing device includes: a memory 1005, a processor 1001, and a pop-up message handler stored on the memory 1005 and operable on the processor 1001, wherein when the processor 1001 calls the pop-up message handler stored in the memory 1005, the following operations are performed:
when the prompt message transmitted by the single-item equipment is received, detecting whether a popup window display mode corresponding to the prompt message exists;
if the popup display mode corresponding to the prompt message exists, determining a popup message corresponding to the prompt message based on the popup display mode, and associating the popup message to a popup message queue;
and acquiring the arrangement sequence of the popup messages in the popup message queue, and displaying the popup messages according to the arrangement sequence of the popup messages in the popup message queue.
Further, the processor 1001 may call a popup message handler stored in the memory 1005, and also perform the following operations:
according to the arrangement sequence of the popup messages in the popup message queue, sequentially and singly taking out the popup messages in the popup message queue as messages to be displayed, wherein the popup message queue is a sequence queue;
and if the intelligent control system does not display the popup message currently, displaying the message to be displayed in the intelligent control system.
Further, the processor 1001 may call a popup message handler stored in the memory 1005, and also perform the following operations:
if the intelligent control system currently displays the popup message and the display time corresponding to the currently displayed popup message reaches the preset time, closing the popup message currently displayed by the intelligent control system;
and displaying the message to be displayed in the intelligent control system.
Further, the processor 1001 may call a popup message handler stored in the memory 1005, and also perform the following operations:
if an operation instruction triggered on the popup message is received, starting an application program corresponding to the operation instruction;
and determining a functional module in the application program based on the operation instruction so as to execute the functional operation corresponding to the operation instruction based on the functional module.
Further, the processor 1001 may call a popup message handler stored in the memory 1005, and also perform the following operations:
identifying a touch operation triggered on the popup message;
determining a touch operation type and a touch operation position corresponding to the touch operation based on the touch operation, and triggering an operation instruction corresponding to the touch operation based on the touch operation type and the touch operation position.
Further, the processor 1001 may call a popup message handler stored in the memory 1005, and also perform the following operations:
determining a touch operation type and a touch operation position corresponding to the touch operation based on a touch starting point, a touch track and a touch ending point corresponding to the touch operation;
determining a function box on the popup message based on the touch operation position;
and triggering an operation instruction corresponding to the touch operation based on the function frame and the touch operation type.
Further, the processor 1001 may call a popup message handler stored in the memory 1005, and also perform the following operations:
when receiving prompt information transmitted by the single-item equipment, determining the type of the prompt information;
and acquiring a display mode list corresponding to each single-product device, and detecting whether a popup window display mode corresponding to the prompt information exists or not based on the type of the prompt information and the display mode list.
Referring to fig. 2, fig. 2 is a flowchart illustrating a pop-up window message processing method according to a first embodiment of the present invention.
In this embodiment, the pop-up window message processing method includes the following steps:
step S10, when the prompt message transmitted by the single-product device is received, detecting whether a popup window display mode corresponding to the prompt message exists;
the popup window message processing method provided by the invention is applied to an intelligent control system, the intelligent control system is in communication connection with a plurality of single-product devices, data interaction can be realized between the intelligent control system and the single-product devices, namely, a user can control the single-product devices through the intelligent control system, the single-product devices are controlled by the intelligent control system, real-time data of the single-product devices can be monitored, namely, the real-time data is uploaded to the intelligent control system by the single-product devices, so that the real-time data of the single-product devices is displayed by the intelligent control system, wherein the real-time data comprises the working state, the working parameters or the system parameters of the single-product devices, and the mode of displaying the real-time data can be displayed in a popup window message mode.
In this embodiment, when detecting that the real-time data is abnormal, the single-product device reports the abnormal real-time data and the corresponding prompt information to the intelligent control system, that is, when the real-time data is abnormal, the single-product device triggers the prompt information and transmits the prompt information to the intelligent control system; when the intelligent control system receives the prompt information of the single-item equipment, the detection system detects whether the prompt information received at present is preset with a corresponding popup display mode, namely detects whether the prompt information received at present has the corresponding popup display mode.
Step S20, if a popup display mode corresponding to the prompt message exists, determining a popup message corresponding to the prompt message based on the popup display mode, and associating the popup message to a popup message queue;
in this embodiment, if it is detected that the pop-up window display mode corresponding to the prompt information exists, the pop-up window message corresponding to the prompt information is generated according to the pop-up window display mode and the prompt information. Specifically, if it is detected that the intelligent control system has a popup display mode corresponding to the prompt message, determining the popup display mode corresponding to the prompt message, acquiring a popup display template corresponding to the popup display mode, and then inputting the prompt message into the popup display template corresponding to the popup display mode to obtain the popup message corresponding to the prompt message, so that the prompt message can be placed on the popup display template for subsequent display of the prompt message according to the popup display template. The popup display template is a display template with a preset display rule of a system, the popup display template can comprise a prompt information display area and a non-prompt information display area, and when the popup message is generated, prompt information is associated on the prompt information display area of the popup display template, so that the popup message is generated.
After the popup message is obtained, the popup message is associated to a popup message queue to queue the current popup message, the popup message in the popup message queue is first in first out according to time, namely the popup message associated to the popup message queue first can be displayed on the intelligent control system first, and the subsequent popup message is queued in the popup message queue. The popup message queue is a linear table, the popup message queue only allows a delete operation to be performed at the front end of the table, and an insert operation to be performed at the rear end of the table, and it should be noted that the end performing the insert operation is referred to as the tail and the end performing the delete operation is referred to as the head, and thus, the messages are displayed in order from the head to the tail of the popup message list.
Step S30, obtaining the arrangement order of the popup messages in the popup message queue, and displaying the popup messages according to the arrangement order of the popup messages in the popup message queue.
In this embodiment, the intelligent control system displays the popup messages corresponding to the popup message list according to the arrangement order in the popup message list, and it can be understood that if the popup message is currently at the head of the popup message queue, the popup message at the head of the queue can be displayed in the intelligent control system. After associating the popup messages to the popup message queue, acquiring the arrangement sequence of the current popup messages in the popup message queue, so that an intelligent control system can display the popup messages according to the arrangement sequence of the popup messages in the popup message queue.
In the popup message processing method provided by this embodiment, when the prompt message transmitted by the single device is received, whether a popup display mode corresponding to the prompt message exists is detected; if the popup display mode corresponding to the prompt message exists, determining a popup message corresponding to the prompt message based on the popup display mode, and associating the popup message to a popup message queue; and acquiring the arrangement sequence of the popup messages in the popup message queue, and displaying the popup messages according to the arrangement sequence of the popup messages in the popup message queue. In this embodiment, if a popup display mode corresponding to the currently received prompt message exists in the intelligent control system, determining and associating the popup message to a popup message queue, so that the popup message in the popup message queue can be displayed according to the sequence of the popup message in the popup message queue.
Based on the first embodiment, a second embodiment of the pop-up window message processing method of the present invention is proposed, and referring to fig. 3, in this embodiment, step S30 includes:
step S31, according to the arrangement sequence of the popup messages in the popup message queue, sequentially and singly taking out the popup messages in the popup message queue as messages to be displayed, wherein the popup message queue is a sequence queue;
step S32, if the intelligent control system does not display the popup message currently, the message to be displayed is displayed on the intelligent control system.
In this embodiment, the intelligent control system displays the popup messages corresponding to the popup message list according to the arrangement order in the popup message list. And after associating the popup messages to the popup message queue, acquiring the arrangement sequence of the current popup messages in the popup message queue so that the intelligent control system sequentially and singly takes out the popup messages in the popup message queue as messages to be displayed according to the arrangement sequence of the popup messages in the popup message queue, then detecting whether the intelligent control system currently displays the popup messages, and if detecting that the intelligent control system does not currently display the popup messages, displaying the messages to be displayed in the intelligent control system. Specifically, the intelligent control system detects whether the intelligent control system currently displays a popup message, if the intelligent control system does not currently display the popup message, the popup message of the head of the queue is acquired, the popup display message of the head of the queue is displayed on the display device, the popup display message is deleted, a pointer of a popup message queue points to the next popup message, and therefore the popup messages in the popup message queue can be displayed sequentially, the display device is connected with the intelligent control system, and when the popup message is located at the head of the popup message queue, the popup message is displayed on the intelligent control system.
Further, after the step of sequentially and individually taking out the pop-window messages in the pop-window message queue as the messages to be displayed according to the arrangement sequence of the pop-window messages in the pop-window message queue, the method further includes:
step S33, if the intelligent control system currently displays the popup message and the display duration corresponding to the currently displayed popup message reaches the preset duration, closing the currently displayed popup message of the intelligent control system;
and step S34, displaying the message to be displayed on the intelligent control system.
In this embodiment, the intelligent control system monitors the display time of the popup message displayed on the intelligent control system, and the intelligent control system detects whether the intelligent control system currently has a display popup message, and if the intelligent control system currently has the display popup message and the display time of the popup message reaches a preset time, the popup message is closed, the popup message of the head of the team is acquired, the popup message of the head of the team is displayed on the display device, and the message to be displayed is displayed on the intelligent control terminal.
Further, after the step of displaying the popup messages according to the arranging order of the popup messages in the popup message queue, the method further includes:
step S40, if receiving the operation instruction triggered on the popup message, starting the application program corresponding to the operation instruction;
step S50, determining a function module in the application program based on the operation instruction, so as to execute a function operation corresponding to the operation instruction based on the function module.
In this embodiment, after the popup message is displayed, if an operation instruction triggered by the user on the popup message is identified, the intelligent terminal starts an application program corresponding to the operation instruction, determines a function module corresponding to the operation instruction in the application program, and then starts a corresponding function module in the application program, so that the corresponding function operation is implemented based on the function module, where the function operation may be functions of adjusting parameters, video call, voice call, taking a picture, and the like. For example, if the currently displayed pop-up window message is a prompt message transmitted by the intelligent sprite, and the user currently clicks a specific area on the pop-up window message to trigger an operation instruction, an application program for controlling the intelligent sprite is started on the intelligent control system, and if the current operation instruction is a video call instruction, a video call module in the application program is started, so that the video call operation can be executed on the intelligent control system and the intelligent sprite.
Further, before the step of starting the application program corresponding to the operation instruction if the operation instruction triggered on the popup message is received, the method further includes:
step S41, recognizing a touch operation triggered on the popup message;
step S42, determining a touch operation type and a touch operation position corresponding to the touch operation based on the touch operation, and triggering an operation instruction corresponding to the touch operation based on the touch operation type and the touch operation position.
In this embodiment, after the smart terminal displays the pop-up message, if a touch operation triggered by the user on the pop-up message is identified; after the touch operation triggered by the user on the popup message is identified, the touch operation type and the touch operation position corresponding to the touch operation are determined, wherein the touch operation type includes but is not limited to click operation, long-time press operation, drag operation or double-click operation and the like, and the touch operation position is the display position of the touch operation on the intelligent control terminal. After the touch operation type and the touch operation position corresponding to the touch operation are obtained, the operation instruction triggered by the touch operation can be determined according to the touch operation type and the touch operation position. It can be understood that, if the position corresponding to the touch operation is on the prompt information area of the pop-up window message, the operation instruction triggered by the touch operation type is determined according to the mapping relationship between the touch operation type and the operation instruction, for example, if the click operation triggered in a certain music control area of the pop-up window message corresponds to music pause, the triggered operation instruction is determined to be a music pause instruction; and if the long press operation triggered in a certain music control area of the popup message corresponds to closing the music application, determining the triggered operation instruction as a music application closing instruction.
Further, the step of determining a touch operation type and a touch operation position corresponding to the touch operation based on the touch operation, and triggering an operation instruction corresponding to the touch operation based on the touch operation type and the touch operation position includes:
step S421, determining a touch operation type and a touch operation position corresponding to the touch operation based on a touch start point, a touch trajectory, and a touch end point corresponding to the touch operation;
step S422, determining a function frame on the popup message based on the touch operation position;
step S423, triggering an operation instruction corresponding to the touch operation based on the function block and the touch operation type.
In this embodiment, after the smart terminal displays the pop-up message, if a touch operation triggered by the user on the pop-up message is identified; after the touch operation triggered by the user on the popup message is identified, a touch starting point, a touch end point and a touch track of the touch operation are obtained, and the touch operation type and the touch operation position are determined according to the touch starting point, the touch end point and the touch track of the touch operation, wherein the touch operation position is the pixel point coordinate of the touch operation on the intelligent control system. And after the touch operation position is obtained, determining a corresponding function frame on the intelligent control system according to the touch operation position, wherein the function frame is an area where a control function on popup window display is located. And then, determining an operation instruction triggered by the touch operation type according to the mapping relation between the touch operation type and the function box. The type of the touch operation includes, but is not limited to, a click operation, a long-press operation, a drag operation, a double-click operation, and the like.
Further, when receiving the prompt message transmitted by the single-item device, the step of detecting whether a pop-up window display mode corresponding to the prompt message exists includes:
step S11, when the prompt message transmitted by the single-product device is received, determining the type of the prompt message;
step S12, obtaining a display mode list corresponding to each of the individual devices, and detecting whether there is a pop-up window display mode corresponding to the prompt information based on the type of the prompt information and the display mode list.
In this embodiment, the single-product device triggers the prompt message when the real-time data is abnormal, and transmits the prompt message to the intelligent control system; the method comprises the steps that when an intelligent control system receives prompt messages of single-product equipment, the types of the prompt messages are obtained, and a display mode list of each single-product equipment is obtained, wherein the display mode list stores popup window display modes corresponding to all different prompt messages of the single-product equipment on the intelligent control system, the intelligent control system and the single-product equipment prescribe display modes corresponding to different prompt message types in advance, one single-product equipment corresponds to one display mode list, and the display mode list corresponding to the single-product equipment stores display modes corresponding to different prompt messages. And then traversing each display mode list of each single-item device to match the type of the currently received prompt message with all the display mode lists, and detecting whether a popup window display mode matched with the type of the prompt message exists in each display mode list. Specifically, if a popup display mode matching the type of the prompt message exists in each display mode list, the step of determining the popup message corresponding to the prompt message based on the popup display mode and associating the popup message to a popup message queue is executed.
According to the method for processing the popup messages, the popup messages in the popup message queue are sequentially and singly taken out as the messages to be displayed according to the arrangement sequence of the popup messages in the popup message queue, wherein the popup message queue is a sequential queue; and if the intelligent control system does not display the popup message currently, displaying the message to be displayed in the intelligent control system. In this embodiment, the intelligent control system processes the popup messages in the popup message queue according to the arrangement sequence of the popup messages, so that the flexibility and coordination of processing the popup messages are greatly improved, and the technical problem that the flexibility of processing the popup messages by the intelligent control system is poor is solved.
In addition, an embodiment of the present invention further provides a pop-up window message processing apparatus, where the pop-up window message processing apparatus includes:
the detection module is used for detecting whether a popup window display mode corresponding to the prompt information exists or not when the prompt information transmitted by the single-item equipment is received;
the determining module is used for determining a popup message corresponding to the prompt message based on the popup display mode and associating the popup message to a popup message queue if the popup display mode corresponding to the prompt message exists;
and the display module is used for acquiring the arrangement sequence of the popup messages in the popup message queue and displaying the popup messages according to the arrangement sequence of the popup messages in the popup message queue.
Further, the display module is further configured to:
according to the arrangement sequence of the popup messages in the popup message queue, sequentially and singly taking out the popup messages in the popup message queue as messages to be displayed, wherein the popup message queue is a sequence queue;
and if the intelligent control system does not display the popup message currently, displaying the message to be displayed in the intelligent control system.
Further, the display module is further configured to:
if the intelligent control system currently displays the popup message and the display time corresponding to the currently displayed popup message reaches the preset time, closing the popup message currently displayed by the intelligent control system;
and displaying the message to be displayed in the intelligent control system.
Further, the display module is further configured to:
if an operation instruction triggered on the popup message is received, starting an application program corresponding to the operation instruction;
and determining a functional module in the application program based on the operation instruction so as to execute the functional operation corresponding to the operation instruction based on the functional module.
Further, the display module is further configured to:
identifying a touch operation triggered on the popup message;
determining a touch operation type and a touch operation position corresponding to the touch operation based on the touch operation, and triggering an operation instruction corresponding to the touch operation based on the touch operation type and the touch operation position.
Further, the display module is further configured to:
determining a touch operation type and a touch operation position corresponding to the touch operation based on a touch starting point, a touch track and a touch ending point corresponding to the touch operation;
determining a function box on the popup message based on the touch operation position;
and triggering an operation instruction corresponding to the touch operation based on the function frame and the touch operation type.
Further, the detection module is further configured to:
when receiving prompt information transmitted by the single-item equipment, determining the type of the prompt information;
and acquiring a display mode list corresponding to each single-product device, and detecting whether a popup window display mode corresponding to the prompt information exists or not based on the type of the prompt information and the display mode list.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a pop-up message processing program is stored on the computer-readable storage medium, and when being executed by a processor, the pop-up message processing program implements the steps of the pop-up message processing method according to any one of the above descriptions.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the pop-up window message processing method described above, and details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A popup message processing method is characterized in that the popup message processing method is applied to an intelligent control system, the intelligent control system is in communication connection with a plurality of single-product devices, and the popup message processing method comprises the following steps:
when the prompt message transmitted by the single-item equipment is received, detecting whether a popup window display mode corresponding to the prompt message exists;
if the popup display mode corresponding to the prompt message exists, determining a popup message corresponding to the prompt message based on the popup display mode, and associating the popup message to a popup message queue;
and acquiring the arrangement sequence of the popup messages in the popup message queue, and displaying the popup messages according to the arrangement sequence of the popup messages in the popup message queue.
2. The pop-up message processing method of claim 1, wherein the step of displaying the pop-up messages in the order in which the pop-up messages are arranged in the pop-up message queue comprises:
according to the arrangement sequence of the popup messages in the popup message queue, sequentially and singly taking out the popup messages in the popup message queue as messages to be displayed, wherein the popup message queue is a sequence queue;
and if the intelligent control system does not display the popup message currently, displaying the message to be displayed in the intelligent control system.
3. The method for processing a popup message according to claim 2, wherein after the step of sequentially and individually fetching the popup messages in the popup message queue as the messages to be displayed according to the arranging order of the popup messages in the popup message queue, the method further comprises:
if the intelligent control system currently displays the popup message and the display time corresponding to the currently displayed popup message reaches the preset time, closing the popup message currently displayed by the intelligent control system;
and displaying the message to be displayed in the intelligent control system.
4. The pop-up message processing method of claim 1, wherein after the step of displaying the pop-up messages in the order in which the pop-up messages are arranged in the pop-up message queue, further comprising:
if an operation instruction triggered on the popup message is received, starting an application program corresponding to the operation instruction;
and determining a functional module in the application program based on the operation instruction so as to execute the functional operation corresponding to the operation instruction based on the functional module.
5. The method for processing a popup message according to claim 4, wherein before the step of starting the application program corresponding to the operation instruction if the operation instruction triggered on the popup message is received, the method further comprises:
identifying a touch operation triggered on the popup message;
determining a touch operation type and a touch operation position corresponding to the touch operation based on the touch operation, and triggering an operation instruction corresponding to the touch operation based on the touch operation type and the touch operation position.
6. The popup message processing method according to claim 5, wherein the step of determining the touch operation type and the touch operation position corresponding to the touch operation based on the touch operation, and triggering the operation instruction corresponding to the touch operation based on the touch operation type and the touch operation position comprises:
determining a touch operation type and a touch operation position corresponding to the touch operation based on a touch starting point, a touch track and a touch ending point corresponding to the touch operation;
determining a function box on the popup message based on the touch operation position;
and triggering an operation instruction corresponding to the touch operation based on the function frame and the touch operation type.
7. The popup message processing method according to any of claims 1 to 6, wherein said step of detecting whether there is a popup display mode corresponding to said prompt message when receiving the prompt message transmitted by said single device comprises:
when receiving prompt information transmitted by the single-item equipment, determining the type of the prompt information;
and acquiring a display mode list corresponding to each single-product device, and detecting whether a popup window display mode corresponding to the prompt information exists or not based on the type of the prompt information and the display mode list.
8. A pop message processing apparatus, comprising:
the detection module is used for detecting whether a popup window display mode corresponding to the prompt information exists or not when the prompt information transmitted by the single-item equipment is received;
the determining module is used for determining a popup message corresponding to the prompt message based on the popup display mode and associating the popup message to a popup message queue if the popup display mode corresponding to the prompt message exists;
and the display module is used for acquiring the arrangement sequence of the popup messages in the popup message queue and displaying the popup messages according to the arrangement sequence of the popup messages in the popup message queue.
9. A popup message processing apparatus characterized by comprising: memory, a processor and a pop-up message handler stored on the memory and executable on the processor, the pop-up message handler when executed by the processor implementing the steps of the pop-up message processing method of any of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a pop-up message processing program which, when executed by a processor, implements the steps of the pop-up message processing method of any one of claims 1 to 7.
CN202011236637.2A 2020-11-06 2020-11-06 Popup message processing method, device, equipment and computer readable storage medium Pending CN112363852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011236637.2A CN112363852A (en) 2020-11-06 2020-11-06 Popup message processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011236637.2A CN112363852A (en) 2020-11-06 2020-11-06 Popup message processing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112363852A true CN112363852A (en) 2021-02-12

Family

ID=74509831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011236637.2A Pending CN112363852A (en) 2020-11-06 2020-11-06 Popup message processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112363852A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286158A (en) * 2021-12-24 2022-04-05 广州方硅信息技术有限公司 Live broadcast room virtual resource activity display method, device, medium and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286158A (en) * 2021-12-24 2022-04-05 广州方硅信息技术有限公司 Live broadcast room virtual resource activity display method, device, medium and equipment
CN114286158B (en) * 2021-12-24 2024-04-19 广州方硅信息技术有限公司 Virtual resource activity display method, device, medium and equipment of live broadcasting room

Similar Documents

Publication Publication Date Title
CN111405299B (en) Live broadcast interaction method based on video stream and corresponding device thereof
CN109561271B (en) Method for guiding terminal operation, first terminal and second terminal
CN105867751B (en) Operation information processing method and device
EP3188034A1 (en) Display terminal-based data processing method
CN110933511B (en) Video sharing method, electronic device and medium
CN109240577B (en) Screen capturing method and terminal
CN110888532A (en) Man-machine interaction method and device, mobile terminal and computer readable storage medium
US20190227764A1 (en) Multi-screen interaction method and system in augmented reality scene
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN113132787A (en) Live content display method and device, electronic equipment and storage medium
CN110536006B (en) Object position adjusting method and electronic equipment
CN109885323B (en) Application program upgrading method, mobile terminal and readable storage medium
CN104156245A (en) List updating method and device
CN108401173B (en) Mobile live broadcast interactive terminal, method and computer readable storage medium
CN109947988B (en) Information processing method and device, terminal equipment and server
CN115022653A (en) Information display method and device, electronic equipment and storage medium
CN109067975B (en) Contact person information management method and terminal equipment
CN109166164B (en) Expression picture generation method and terminal
CN108540649B (en) Content display method and mobile terminal
CN112363852A (en) Popup message processing method, device, equipment and computer readable storage medium
CN111050414B (en) Prompt display method and device and computer readable storage medium
CN109902232B (en) Display control method and terminal
CN108287644B (en) Information display method of application program and mobile terminal
CN111338728A (en) Screen capturing method and device and computer readable storage medium
CN110888572A (en) Message display method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination