# US 2022/0035591 A1 · Method and apparatus for displaying message box, terminal device and non-transitory computer-readable storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0035591 A1
- Document ID: US20220035591A1
- Status: Published application
- Kind: A1
- Application number: 17/278,981
- Filed: 2019-09-30
- Published: 2022-02-03
- Earliest claimed: 2018-09-30
- Assignees: Zte Corporation
- Applicants: ZTE Corporation
- Inventors: Lian Zhang
- Web page: https://patentgrep.com/patent/US20220035591A1

## CPC

- G06F 3/1454: {involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay}
- G06F 3/1462: {with means for detecting differences between the image stored in the host and the images displayed on the remote displays}
- G06F 9/451: Execution arrangements for user interfaces
- G09G 5/005: {Adapting incoming signals to the display format of the display terminal}
- G09G 5/006: {Details of the interface to the display terminal (specific for a display terminal using a CRT G09G1/167; using a flat panel G09G3/2096; circuits for interfacing with colour displays G09G5/04)}
- G09G 5/363: {Graphics controllers}
- G09G 2340/14: Solving problems related to the presentation of information to be displayed
- G09G 2370/042: for monitor identification
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

A method and an apparatus for displaying a message box, a terminal device and a non-transitory computer-readable storage medium are disclosed. The method may include: acquiring a context object corresponding to an application in response to a start of the application, and creating a message box object, where the context object carries a screen identity of a screen object; transmitting the context object into the message box object; adding the message box object to an NMS through a preset enqueue interface, and reading the screen identity in the message box object by the NMS through a set screen interface, and the screen interface is configured to be called by the NMS to acquire the screen identity from the message box object; and displaying the message box object on a screen corresponding to the screen identity through the NMS.

## Claims

### Claim 1

A method for displaying a message box, comprising:
acquiring a context object corresponding to an application in response to a start of the application, and creating a message box object, wherein the context object carries a screen identity of a screen object;
transmitting the context object into the message box object;
adding the message box object to a notification management service (NMS) through a preset enqueue interface, and reading the screen identity in the message box object by the NMS through a set screen interface, wherein the screen interface and the preset enqueue interface are interfaces allowing the NMS to communicate with the message box object, and the screen interface is configured to be called by the NMS to acquire the screen identity from the message box object; and
displaying the message box object on a screen corresponding to the screen identity through the NMS.

### Claim 2 (depends on 1)

The method of claim 1, wherein transmitting the context object into the message box object comprises:
acquiring the screen object in the context object;
acquiring the screen identity corresponding to the screen object through the screen object; and
saving the screen identity to a variable name of the message box object, wherein the variable name is arranged to represent the screen identity.

### Claim 3 (depends on 2)

The method of claim 2, wherein acquiring the screen identity corresponding to the screen object through the screen object comprises:
acquiring a screen identity interface through the screen object; and
acquiring the screen identity based on the screen identity interface.

### Claim 4 (depends on 1)

The method of claim 1, wherein adding the message box object to the NMS through the preset enqueue interface comprises:
adding the message box object to a sequence to be displayed of the NMS through the preset enqueue interface of the NMS.

### Claim 5 (depends on 1)

The method of claim 1, wherein reading the screen identity in the message box object by the NMS through the set screen interface comprises:
acquiring the screen identity from a variable name of the message box object by the NMS through the set screen interface.

### Claim 6 (depends on 1)

The method of claim 1, wherein displaying the message box object on the screen corresponding to the screen identity through the NMS comprises:
registering an association relationship between the message box object and the screen identity in a display system by the NMS; and
displaying the message box object on the screen corresponding to the screen identity based on the association relationship.

### Claim 7 (depends on 6)

The method of claim 6, wherein before registering the association relationship between the message box object and the screen identity in the display system by the NMS, the method further comprises:
binding the message box object with the screen identity by the NMS, to form the association relationship.

### Claim 8

An apparatus for displaying a message box, comprising:
a creation unit, configured to acquire a context object corresponding to an application in response to a start of the application, and create a message box object, wherein the context object carries a screen identity of a screen object;
a transmission unit, configured to transmit the context object into the message box object;
a reading unit, configured to add the message box object to a notification management service (NMS) through a preset enqueue interface, and read the screen identity in the message box object by the NMS through a set screen interface, wherein the screen interface and the preset enqueue interface are interfaces allowing the NMS to communicate with the message box object, and the screen interface is configured to be called by the NMS to acquire the screen identity from the message box object; and
a display unit, configured to display the message box object on a screen corresponding to the screen identity through the NMS.

### Claim 9

A terminal device, comprising: a processor, a memory, a communication interface, and a bus for connecting the processor, the memory and the communication interface; wherein the processor is configured to execute a display program of a message box stored in the memory to perform a method for displaying a message box comprising:
acquiring a context object corresponding to an application in response to a start of the application, and creating a message box object, wherein the context object carries a screen identity of a screen object;
transmitting the context object into the message box object;
adding the message box object to a notification management service (NMS) through a preset enqueue interface, and reading the screen identity in the message box object by the NMS through a set screen interface, wherein the screen interface and the preset enqueue interface are interfaces allowing the NMS to communicate with the message box object, and the screen interface is configured to be called by the NMS to acquire the screen identity from the message box object; and
displaying the message box object on a screen corresponding to the screen identity through the NMS.

### Claim 10

A non-transitory computer-readable storage medium storing a display program of a message box applied to a terminal device, wherein the display program of a message box, when executed by a first processor, causes the first processor to perform a method for displaying a message box comprising:
acquiring a context object corresponding to an application in response to a start of the application, and creating a message box object, wherein the context object carries a screen identity of a screen object;
transmitting the context object into the message box object;
adding the message box object to a notification management service (NMS) through a preset enqueue interface, and reading the screen identity in the message box object by the NMS through a set screen interface, wherein the screen interface and the preset enqueue interface are interfaces allowing the NMS to communicate with the message box object, and the screen interface is configured to be called by the NMS to acquire the screen identity from the message box object; and
displaying the message box object on a screen corresponding to the screen identity through the NMS.
