CN113377476A - Interface display method, related device and computer program product - Google Patents

Interface display method, related device and computer program product Download PDF

Info

Publication number
CN113377476A
CN113377476A CN202110698306.9A CN202110698306A CN113377476A CN 113377476 A CN113377476 A CN 113377476A CN 202110698306 A CN202110698306 A CN 202110698306A CN 113377476 A CN113377476 A CN 113377476A
Authority
CN
China
Prior art keywords
interface
historical
new
overlapping
membership
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
CN202110698306.9A
Other languages
Chinese (zh)
Other versions
CN113377476B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110698306.9A priority Critical patent/CN113377476B/en
Publication of CN113377476A publication Critical patent/CN113377476A/en
Application granted granted Critical
Publication of CN113377476B publication Critical patent/CN113377476B/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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides an interface display method, an interface display device, an electronic device, a computer readable storage medium and a computer program product, and relates to the technical field of artificial intelligence such as data processing, image detection and computer vision. One embodiment of the method comprises: and in response to receiving a display instruction of a new interface, displaying the new interface and acquiring a target pixel point for displaying the new interface, adding an interface number corresponding to the new interface into a historical relationship table for recording historical interface numbers of a historical interface to which the target pixel point belongs, adjusting the number arrangement sequence in the membership relationship table to be consistent with the hierarchical arrangement sequence between the new interface and the historical interface, and generating an overlapping schematic diagram of each interface overlapping relationship with interface overlapping based on the adjusted membership relationship table. The method and the device can accurately and quickly determine whether the pixels have overlapped display contents.

Description

Interface display method, related device and computer program product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of artificial intelligence technologies such as data processing, image detection, and computer vision, and in particular, to an interface display method, an interface display apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
Background
The overlapping of the view pages of the terminal device means that more than one clickable interface (display contents of a plurality of superposed interfaces) are positioned at the same position, which may cause that the result of clicking the position is not in an expected condition.
In order to eliminate the above situation, the display content corresponding to each pixel point in the display interface needs to be checked to determine whether the content currently presented by each pixel point is correct.
Disclosure of Invention
The embodiment of the disclosure provides an interface display method, an interface display device, electronic equipment, a computer readable storage medium and a computer program product.
In a first aspect, an embodiment of the present disclosure provides an interface display method, including: in response to receiving a display instruction of a new interface, displaying the new interface and acquiring a target pixel point for displaying the new interface; adding the interface number corresponding to the new interface to a membership table corresponding to the target pixel point, wherein the membership table is used for recording the historical interface number of the historical interface to which the target pixel point belongs; adjusting the sequence of the serial numbers in the membership table to be consistent with the sequence of the hierarchical arrangement between the new interface and the historical interface to obtain an adjusted membership table; and generating an overlapping schematic diagram of each interface overlapping relation with interface overlapping according to the adjusted membership table.
In a second aspect, an embodiment of the present disclosure provides an interface display apparatus, including: the pixel point determining unit is configured to respond to the received display instruction of the new interface, display the new interface and acquire a target pixel point for displaying the new interface; the interface number adding unit is configured to add the interface number corresponding to the new interface to a membership table corresponding to the target pixel point, wherein the membership table is used for recording the historical interface number of the historical interface to which the target pixel point belongs; the membership table adjusting unit is configured to adjust the number arrangement sequence in the membership table to be consistent with the hierarchical arrangement sequence between the new interface and the historical interface, so as to obtain an adjusted membership table; and the overlapping schematic diagram generating unit is configured to generate an overlapping schematic diagram of each interface overlapping relationship with interface overlapping according to the adjusted membership table.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to implement the interface display method as described in any implementation manner of the first aspect when executed.
In a fourth aspect, the disclosed embodiments provide a non-transitory computer-readable storage medium storing computer instructions for enabling a computer to implement the interface display method as described in any implementation manner of the first aspect when executed.
In a fifth aspect, the present disclosure provides a computer program product including a computer program, which when executed by a processor is capable of implementing the interface display method as described in any implementation manner of the first aspect.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture to which the present disclosure may be applied;
fig. 2 is a flowchart of an interface display method according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of another interface display method provided by the embodiments of the present disclosure;
fig. 4a and 4b illustrate the effect of the interface display method in an application scene according to the embodiment of the present disclosure;
fig. 5 is a block diagram of an interface display device according to an embodiment of the disclosure;
fig. 6 is a schematic structural diagram of an electronic device suitable for executing an interface display method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness. It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict.
In addition, in the technical scheme related to the disclosure, the acquisition, storage, application and the like of the personal information of the related user (for example, the images including the human face and the like possibly included in each display interface related to the disclosure later) are all in accordance with the regulations of related laws and regulations, and do not violate the good customs of the public order.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the interface display method, apparatus, electronic device, and computer-readable storage medium of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 and the server 105 may be installed with various applications for implementing information communication therebetween, such as an interface overlapping prompt application, a program control application, an instant messaging application, and the like.
The terminal apparatuses 101, 102, 103 and the server 105 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with display screens, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like; when the terminal devices 101, 102, and 103 are software, they may be installed in the electronic devices listed above, and they may be implemented as multiple software or software modules, or may be implemented as a single software or software module, and are not limited in this respect. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of multiple servers, or may be implemented as a single server; when the server is software, the server may be implemented as a plurality of software or software modules, or may be implemented as a single software or software module, which is not limited herein.
The terminal devices 101, 102, and 103 may provide various services through various built-in applications, for example, an interface overlap prompting application that is set in the terminal device 101 and can prompt an overlap portion between interfaces when multiple interfaces exist in a display page, and the terminal device 101 may implement the following effects when running the interface overlap prompting application: firstly, in response to receiving a display instruction of a new interface, the terminal device 101 displays the new interface on the terminal device 101, and acquires a target pixel point for displaying the new interface; then, the terminal device 101 adds the interface number corresponding to the new interface to a membership table corresponding to the target pixel point, where the membership table is used to record the historical interface number of the historical interface to which the target pixel point belongs; next, the terminal device 101 may adjust the serial number arrangement order in the membership table to be consistent with the hierarchical arrangement order between the new interface and the historical interface, so as to obtain an adjusted membership table; finally, the terminal device 101 generates an overlap diagram of each interface overlap relationship in which interface overlap exists according to the adjusted membership table.
Note that the display content of the new interface may be acquired from the server 105 through the network 104, or may be stored in the terminal apparatuses 101, 102, and 103 in advance in various ways. Thus, when the terminal devices 101, 102, 103 detect that the data is already stored locally (e.g., the display content of the new interface is pre-saved locally), the data may be selected to be obtained directly from the local, in which case the exemplary system architecture 100 may not include the server 105 and the network 104.
Since the response speed of the user in retrieving and adjusting the interface is generally considered in practical use, the interface display method provided in the following embodiments of the present disclosure is generally executed by the terminal devices 101, 102, and 103 used by the user and facilitating response to the user, and accordingly, the interface display device is also generally disposed in the terminal devices 101, 102, and 103. However, it should be noted that, when there are many display contents and strong computation capability and many computation resources are required for generating and computing the overlay schematic diagram, the server 105 may also complete the above-mentioned computations performed by the terminal devices 101, 102, and 103 through the interface overlay prompting application installed thereon, and further output the same results as the terminal devices 101, 102, and 103, and directly send the results to the terminal devices 101, 102, and 103 for direct display, thereby appropriately reducing the computation pressure of the terminal devices 101, 102, and 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring to fig. 2, fig. 2 is a flowchart of an interface display method according to an embodiment of the disclosure, where the process 200 includes the following steps:
step 201, in response to receiving a display instruction of a new interface, displaying the new interface, and acquiring a target pixel point for displaying the new interface.
In this embodiment, when the execution subject of the interface display method (for example, the terminal devices 101, 102, and 103 shown in fig. 1) receives the display content of the new interface, the execution subject responds to the reception, and after the new interface is displayed, the target pixel point for displaying the new interface is acquired.
In practice, the execution subject usually displays contents such as a new interface, and in this case, the target pixel point refers to a pixel point for displaying the display content of the new interface in a pixel point set for displaying each interface content in the display device corresponding to the execution subject.
It should be noted that the content of the displayed new interface may be directly obtained from the local storage device by the execution subject, or may be obtained from a non-local storage device (for example, the server 105 shown in fig. 1). The local storage device may be a data storage module arranged in the execution main body, for example, a server hard disk, in which case, the content of the displayed new interface can be quickly read locally; the non-local storage device may also be any other electronic device configured to store data, such as some user terminals, in which case the executing entity may obtain the content of the new interface to be displayed by sending a obtaining command to the electronic device.
The content of the new interface can be stored by using an xml format, so that after the execution main body receives the xml format file corresponding to the new interface, the content of the new interface is read from the xml format file, and meanwhile, when the content of the new interface is obtained by using the xml format file, a required target pixel point for displaying the new interface can be recorded in the xml format file.
And step 202, adding the interface number corresponding to the new interface to a membership table corresponding to the target pixel point.
In this embodiment, an interface number corresponding to the new interface is obtained, where the interface number at least includes information related to a display hierarchy corresponding to display content of the new interface, so that the display hierarchy of the new interface corresponding to the new interface can be determined according to the interface number, after the interface number of the new interface is obtained, the interface number is added to a membership table corresponding to a target pixel point for displaying the new interface, where the membership table is used to record historical interface numbers of history interfaces to which pixel points corresponding to the membership table belong, and when a pixel point is used to display content corresponding to a history interface and a content layer of the history interface covers the pixel point, the history interface to which the pixel point belongs is determined, and accordingly, the history interface number corresponding to the history interface is recorded in the membership table.
Further, the interface number may be determined according to the name, display hierarchy, and other contents corresponding to the interface, so that each currently displayed interface in the pixel point may be known according to the interface number in the membership table.
The membership table may be generated according to interface numbers corresponding to the interfaces, or a blank membership table may be generated in advance before the interfaces are received and displayed, so that the corresponding interface numbers are added to the blank membership table when the interfaces are received.
And step 203, adjusting the sequence of the serial numbers in the membership table to be consistent with the sequence of the hierarchical arrangement between the new interface and the historical interface, and obtaining the adjusted membership table.
In this embodiment, after the interface number corresponding to the new interface is added to the membership corresponding to the target pixel point, the number arrangement order in the membership is adjusted according to the hierarchical arrangement order corresponding to the interface number corresponding to each interface, so that the number arrangement order in the membership table is consistent with the hierarchical arrangement order between the new interface and the historical interface, and the adjusted membership table is obtained.
And 204, generating an overlapping schematic diagram of each interface overlapping relation with interface overlapping according to the adjusted membership table.
In this embodiment, it is determined that numbers of different interfaces exist in the adjusted membership table of target pixel points belonging to the same interface, it is determined that overlap exists in display contents corresponding to the part of target pixel points, and after an overlap portion between each interface is determined, an overlap diagram of an overlap relationship of each interface where interface overlap exists is generated to identify the content of the overlap portion.
The interface display method provided by the embodiment of the disclosure displays a new interface and acquires target pixel points for displaying the new interface after responding to a display instruction of the new interface, updates and maintains a membership table corresponding to the target pixel points according to interface numbers corresponding to the new interface, and can subsequently use the membership table to know interface display conditions in each pixel point and query pixel points for displaying a plurality of interfaces according to the membership table, so as to accurately and quickly determine whether overlapped display contents exist in the pixel points and search the pixel points with the overlapped display contents.
In some optional implementations of this embodiment, the interface display method further includes: and in response to the fact that the parent historical interface of the new interface exists in the membership table, deleting the historical interface number corresponding to the parent historical interface from the membership table.
Specifically, when different interfaces have a parent-child relationship, that is, when two interfaces can form an interface relationship group of a parent interface and a child interface, the factor interface is the implementation of a specific function in the parent interface, and the existence of the child interface can reflect the existence of the corresponding parent interface.
In some optional implementations of this embodiment, the interface display method further includes: acquiring an operation instruction sent out aiming at the overlapping schematic diagram area; and generating abnormal prompt information in response to the fact that the interface number corresponding to the interface responding to the operation instruction is not the interface at the top layer of the hierarchical arrangement sequence in the membership table.
Specifically, because the interface presentation device of the execution main body can only present the display content corresponding to the interface with the highest hierarchical order, the user should respond to the interface with the highest hierarchical order in the operation instruction sent out from the overlapped schematic diagram area, and if the interface with the highest hierarchical order is not responded to by the operation instruction, it is determined that a display abnormality exists, and the display abnormality is fed back, so that the user sending the operation instruction can know the corresponding abnormality of the display and the operation instruction, and perform corresponding adjustment, thereby avoiding the operation instruction being incorrectly responded due to the interface display abnormality, and enhancing the reliability of the function realized corresponding to each interface in the execution main body.
In some optional implementation manners of this embodiment, in order to facilitate a user to more clearly and accurately acquire and recognize an overlapping schematic diagram, the interface display method may further acquire a graphic center of the overlapping schematic diagram after the overlapping schematic diagram is generated, and add an indication identifier in the graphic center, so as to achieve the above object.
Wherein, the indication mark can be correspondingly set as 'visible mark', '●' and
Figure BDA0003129431550000071
and the mark patterns can also be correspondingly arranged according to the pattern shapes of the overlapping schematic diagrams, for example, when the pattern shapes of the overlapping schematic diagrams are rectangles, the indication mark can be "□" to further help a user to more clearly and accurately acquire and identify the overlapping schematic diagrams.
Referring to fig. 3, fig. 3 is a flowchart of another interface display method provided in the embodiment of the present disclosure, where the process 300 includes the following steps:
step 301, in response to receiving a display instruction of a new interface, displaying the new interface, and acquiring a target pixel point for displaying the new interface.
Step 302, acquiring each lower-layer historical interface of the display layer with the display level lower than that of the new interface.
In this embodiment, after the display layer corresponding to the display content of the new interface is determined, each lower-layer history interface having a display level lower than the display layer of the new interface is determined.
And step 303, generating prefix information according to the interface names of the lower-layer historical interfaces and the hierarchical sequence of the lower-layer historical interfaces.
In this embodiment, interface names corresponding to lower-level historical interfaces of a display layer having a display level lower than the new interface are obtained, and corresponding prefix information is generated according to a level sequence.
Illustratively, the history interfaces s1, s2 and s3 are arranged from bottom to top in the hierarchical order, so that the prefix information s1s2s3 can be generated accordingly.
And 304, adding the prefix information before the interface name corresponding to the new interface to generate an interface number corresponding to the new interface.
In this embodiment, the prefix information determined in step 303 is added before the interface name corresponding to the new interface, and an interface number corresponding to the new interface is generated, where the interface number may represent a history interface located at a lower level of the display content hierarchy of the new interface, or may represent a hierarchical relationship between the new interface and each history interface.
Illustratively, if the history interfaces s1, s2, and s3 are arranged from bottom to top in the hierarchical order, the prefix information s1s2s3 can be correspondingly generated, the interface name corresponding to the new interface is s4, the interface number corresponding to the obtained new interface is s1s2s3s4, and the hierarchical order of the history interfaces covered by the new interface s4 is s1, s2, and s 3.
And 305, adding the interface number corresponding to the new interface to a membership table corresponding to the target pixel point.
And step 306, adjusting the number arrangement sequence in the membership table to be consistent with the hierarchical arrangement sequence between the new interface and the historical interface, and obtaining the adjusted membership table.
And 307, generating an overlapping schematic diagram of each interface overlapping relation with interface overlapping according to the adjusted membership table.
The steps 301 and 305-307 correspond to the steps 201 and 202-204 shown in fig. 2, respectively, and for the same contents, reference is made to the corresponding parts of the previous embodiment, which is not repeated herein.
On the basis of the embodiment shown in fig. 2, the embodiment further provides a specific form of the interface number, the prefix information in the interface number is used to represent the historical interfaces of which the hierarchical sequence is located at the lower layer of the new interface, and each interface to which a pixel point belongs and the corresponding hierarchical sequence can be directly known through the interface number existing in the membership table, so that not only is the storage resource saved, but also the overlapping relationship between the interfaces can be more accurately and intuitively known.
In some optional implementation manners of this embodiment, after adding the interface number corresponding to the new interface to the membership table corresponding to the target pixel point, the method further includes: and deleting the historical interface number which is identical to the prefix information.
Specifically, in this embodiment, the interface number may represent a historical interface whose hierarchical sequence is located at a lower layer of the new interface, and each interface number in the corresponding historical interface may also represent a hierarchical relationship between the historical interface and another historical interface, so that after the interface number corresponding to the new interface is added to the membership table corresponding to the target pixel point, prefix information of a new interface added later in the membership table may represent the hierarchical sequence represented by the interface numbers corresponding to a part of the previous historical interfaces, and thus, the historical interface number having the same interface number as the new interface number may be deleted, so as to avoid wasting storage resources in the membership table, and improve quality of data stored in the membership table.
On the basis of any one of the above embodiments, the interface display method further includes: acquiring all overlapped pixel points positioned in the range of the overlapped schematic diagram; and feeding back the abnormal overlapping pixel points in response to the abnormal overlapping pixel points with the serial number arrangement sequence in the corresponding membership relation table and the arrangement sequence in the history relation table different from the arrangement sequence corresponding to other overlapping pixel points.
Specifically, after the overlapping schematic diagram is generated, each pixel point located in the overlapping range schematic diagram can be determined as an overlapping pixel point, and after the number arrangement sequence in the membership table corresponding to each overlapping pixel point is obtained, the overlapping pixel points are compared, and in response to the existence of the abnormal overlapping pixel point of the number arrangement sequence in the corresponding membership table and the arrangement sequence in the history relationship table corresponding to other overlapping pixel points, the abnormal overlapping pixel point is fed back, so that secondary detection on each pixel point in the overlapping range schematic diagram is realized, the feedback error of the overlapping range schematic diagram caused by the abnormal pixel point is avoided, and the accuracy of the information indicated by the overlapping range schematic diagram is improved.
In order to deepen understanding, the disclosure further provides a specific implementation scheme in combination with a specific application scenario, specifically as follows:
in response to receiving the display content of the new interface S4, obtaining target pixel points for displaying the new interface S4, for example, part of the target pixel points for displaying the new interface are D1, D2, D3, and D4, where { S2, S1} is recorded in the membership table corresponding to D1 (the point has a display abnormality and should be { S1, S2} normally), { S1, S2, S3} is recorded in the membership table corresponding to D2, { S1, S2} is recorded in the membership table corresponding to D3, and { S1, S2, S3} is recorded in the membership table corresponding to D4.
And acquiring the lower-layer history interfaces S1, S2 and S3 of which the display levels are lower than the display level of the new interface, generating prefix information S1S2S3 according to the level sequence of the lower-layer history interfaces, adding the prefix information before the interface name corresponding to the new interface, and generating an interface number S1S2S3S4 corresponding to the new interface.
Adding the interface number S1S2S3S4 into the membership table corresponding to the target pixel points D1, D2, D3 and D4 respectively, and adjusting the arrangement sequence in each membership table to obtain that { S1, S2, S4} is recorded in the membership table corresponding to the adjusted target pixel point D1, { S1, S2, S3, S4} is recorded in the membership table corresponding to the D2, { S1, S2, S4} is recorded in the membership table corresponding to the D3, and { S1, S2, S3, S4} is recorded in the membership table corresponding to the D4.
As shown in fig. 4a, the target pixel points D1 and D3 are located in the overlapping region of the interfaces S1, S2, S4, and the target pixel points D2 and D4 are located in the overlapping region of the interfaces S1, S2, S3, and S4.
According to the adjusted membership table, an overlap diagram of each interface overlap relationship with interface overlap is generated, wherein an overlap diagram (a dotted line area in the figure) of a part where the new interface S4 overlaps with the historical interfaces S1, S2 and S3 at the same time is exemplarily shown in fig. 4 b.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an interface display apparatus, which corresponds to the embodiment of the method shown in fig. 2, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the interface display device 500 of the present embodiment may include: an interface display and pixel point obtaining unit 501, an interface number adding unit 502, a membership table adjusting unit 503 and an overlapping schematic generating unit 504. The interface display and pixel point obtaining unit 501 includes an interface display subunit configured to respond to a display instruction received from a new interface, such as the new interface, and a pixel point obtaining subunit configured to obtain a target pixel point for displaying the new interface; an interface number adding unit 502 configured to add an interface number corresponding to the new interface to a membership table corresponding to the target pixel point, wherein the membership table is used for recording a historical interface number of a historical interface to which the target pixel point belongs; a membership table adjusting unit 503 configured to adjust the number arrangement order in the membership table to be consistent with the hierarchical arrangement order between the new interface and the historical interface, so as to obtain an adjusted membership table; an overlap diagram generating unit 504 configured to generate an overlap diagram of each interface overlap relationship in which the interfaces overlap according to the adjusted membership table.
In the present embodiment, in the interface display device 500: the specific processing of the interface display and pixel point obtaining unit 501, the interface number adding unit 502, the membership table adjusting unit 503 and the overlay schematic diagram generating unit 504 and the technical effects thereof can refer to the related description of step 201 and step 204 in the corresponding embodiment of fig. 2, and are not repeated herein.
In some optional implementations of the present embodiment, the interface display apparatus 500 further includes: a lower interface acquisition unit configured to acquire each lower history interface having a display hierarchy lower than that of the new interface; the prefix information generating unit is configured to generate prefix information according to the interface names of the lower-layer historical interfaces and the hierarchy sequence of the lower-layer historical interfaces; and the interface number generating unit is configured to add the prefix information before the interface name corresponding to the new interface and generate the interface number corresponding to the new interface.
In some optional implementations of the present embodiment, the interface display apparatus 500 further includes: and the repeated number deleting unit is configured to delete the historical interface number which is completely the same as the prefix information after adding the interface number corresponding to the new interface to the membership table corresponding to the target pixel point.
In some optional implementations of the present embodiment, the interface display apparatus 500 further includes: and the parent interface number deleting unit is configured to respond to the existence of the parent historical interface of the new interface in the membership table, and delete the historical interface number corresponding to the parent historical interface from the membership table.
In some optional implementations of the present embodiment, the interface display apparatus 500 further includes: an instruction acquisition unit configured to acquire an operation instruction issued for the overlapping schematic region; and the abnormality prompting unit is configured to generate abnormality prompting information in response to the interface number corresponding to the interface responding to the operation instruction being not the interface at the uppermost layer of the hierarchical arrangement sequence in the membership table.
In some optional implementations of the present embodiment, the interface display apparatus 500 further includes: and the indication mark generating unit is configured to acquire a graph center of the overlapping schematic diagram and generate the indication mark at the graph center.
In some optional implementations of the present embodiment, the interface display apparatus 500 further includes: an overlapping pixel point acquisition unit configured to acquire overlapping pixel points located within the range of the overlapping schematic diagram; and the abnormal pixel point feedback unit is configured to respond to the abnormal overlapped pixel points with the serial number arrangement sequence in the corresponding membership relation table and the arrangement sequence in the history relation table different from the arrangement sequences corresponding to other overlapped pixel points, and feed back the abnormal overlapped pixel points.
The interface display device provided in this embodiment, after responding to a display instruction received from a new interface, displays the new interface and obtains a target pixel point for displaying the new interface, updates and maintains a membership table corresponding to the target pixel point according to an interface number corresponding to the new interface, and subsequently can use the membership table to know an interface display condition in each pixel point, and query pixel points for displaying multiple interfaces according to the membership table, so as to accurately and quickly determine whether there are overlapping display contents in the pixel points, and find pixel points with overlapping display contents.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 executes the respective methods and processes described above, such as the interface display method. For example, in some embodiments, the interface display method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the interface display method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the interface display method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server may be a cloud Server, which is also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service extensibility in the conventional physical host and Virtual Private Server (VPS) service. The server may also be divided into servers of a distributed system, or servers that incorporate a blockchain.
According to the technical scheme of the embodiment of the disclosure, after a display instruction of a new interface is received, the new interface is displayed and target pixel points used for displaying the new interface are obtained, the membership table corresponding to the target pixel points is updated and maintained according to interface numbers corresponding to the new interface, interface display conditions in all the pixel points can be known subsequently by using the membership table, and the pixel points used for displaying a plurality of interfaces are inquired according to the membership table, so that whether overlapped display contents exist in the pixel points or not can be accurately and quickly determined, and the pixel points with the overlapped display contents can be searched.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in this disclosure may be performed in parallel or sequentially or in a different order, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and are not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (17)

1. An interface display method, comprising:
responding to a received display instruction of a new interface, displaying the new interface, and acquiring a target pixel point for displaying the new interface;
adding the interface number corresponding to the new interface to the membership table corresponding to the target pixel point; the membership relation table is used for recording historical interface numbers of historical interfaces to which the target pixel points belong;
adjusting the sequence of the serial numbers in the membership table to be consistent with the sequence of the hierarchical arrangement between the new interface and the historical interface to obtain an adjusted membership table;
and generating an overlapping schematic diagram of each interface overlapping relation with interface overlapping according to the adjusted membership table.
2. The method of claim 1, further comprising:
acquiring each lower-layer historical interface of a display layer with a display level lower than that of the new interface;
prefix information is generated according to the interface names of the lower-layer historical interfaces and the hierarchical sequence of the lower-layer historical interfaces;
and adding the prefix information before the interface name corresponding to the new interface to generate an interface number corresponding to the new interface.
3. The method according to claim 2, wherein after adding the interface number corresponding to the new interface to the membership table corresponding to the target pixel point, further comprising:
and deleting the historical interface number which is completely the same as the prefix information.
4. The method of claim 1, further comprising:
and in response to the fact that the father historical interface of the new interface exists in the membership table, deleting the historical interface number corresponding to the father historical interface from the membership table.
5. The method of claim 1, further comprising:
acquiring an operation instruction sent out aiming at the overlapping schematic diagram area;
and generating abnormal prompt information in response to the fact that the interface number corresponding to the interface responding to the operation instruction is not the interface at the top of the hierarchical arrangement sequence in the membership table.
6. The method of claim 1, further comprising:
and acquiring a graph center of the overlapping schematic diagram, and generating an indication mark in the graph center.
7. The method of any of claims 1-6, further comprising:
acquiring all overlapped pixel points positioned in the range of the overlapped schematic diagram;
and feeding back the abnormal overlapping pixel points in response to the abnormal overlapping pixel points with the serial number arrangement sequence in the corresponding membership relation table and the arrangement sequence in the history relation table different from the arrangement sequence corresponding to other overlapping pixel points.
8. An interface display device comprising:
an interface display and pixel point acquisition unit, including an interface display subunit configured to respond to a received display instruction of a new interface like the new interface, and a pixel point acquisition subunit configured to acquire a target pixel point for displaying the new interface;
the interface number adding unit is configured to add the interface number corresponding to the new interface to a membership table corresponding to the target pixel point, wherein the membership table is used for recording the historical interface number of the historical interface to which the target pixel point belongs;
the membership relation table adjusting unit is configured to adjust the number arrangement sequence in the membership relation table to be consistent with the hierarchical arrangement sequence between the new interface and the historical interface, so as to obtain an adjusted membership relation table;
and the overlapping schematic diagram generating unit is configured to generate an overlapping schematic diagram of each interface overlapping relationship with interface overlapping according to the adjusted membership table.
9. The apparatus of claim 8, further comprising:
a lower interface acquisition unit configured to acquire each lower history interface having a display hierarchy lower than that of the new interface;
the prefix information generating unit is configured to generate prefix information according to the interface names of the lower-layer historical interfaces and the hierarchy sequence of the lower-layer historical interfaces;
and the interface number generating unit is configured to add the prefix information before the interface name corresponding to the new interface, and generate the interface number corresponding to the new interface.
10. The apparatus of claim 9, further comprising:
and the repeated number deleting unit is configured to delete the historical interface number which is completely the same as the prefix information after adding the interface number corresponding to the new interface to the membership table corresponding to the target pixel point.
11. The apparatus of claim 8, further comprising:
and the parent interface number deleting unit is configured to respond to the existence of the parent historical interface of the new interface in the membership table, and delete the historical interface number corresponding to the parent historical interface from the membership table.
12. The apparatus of claim 8, further comprising:
an instruction acquisition unit configured to acquire an operation instruction issued for the overlapping schematic diagram region;
and the abnormality prompting unit is configured to generate abnormality prompting information in response to the interface number corresponding to the interface responding to the operation instruction being not the interface at the uppermost layer of the hierarchical arrangement sequence in the membership table.
13. The apparatus of claim 8, further comprising:
and the indication mark generating unit is configured to acquire a graph center of the overlapped schematic diagram and generate an indication mark in the graph center.
14. The apparatus of any of claims 8-13, further comprising:
an overlapped pixel point acquisition unit configured to acquire each overlapped pixel point located within the range of the overlapped schematic diagram;
and the abnormal pixel point feedback unit is configured to respond to the abnormal overlapped pixel points with the serial number arrangement sequence in the corresponding membership relation table and the arrangement sequence in the history relation table different from the arrangement sequences corresponding to other overlapped pixel points, and feed back the abnormal overlapped pixel points.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the interface display method of any one of claims 1-7.
16. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the interface display method of any one of claims 1 to 7.
17. A computer program product comprising a computer program which, when executed by a processor, implements the interface display method according to any one of claims 1-7.
CN202110698306.9A 2021-06-23 2021-06-23 Interface display method, related device and computer program product Active CN113377476B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110698306.9A CN113377476B (en) 2021-06-23 2021-06-23 Interface display method, related device and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110698306.9A CN113377476B (en) 2021-06-23 2021-06-23 Interface display method, related device and computer program product

Publications (2)

Publication Number Publication Date
CN113377476A true CN113377476A (en) 2021-09-10
CN113377476B CN113377476B (en) 2023-07-25

Family

ID=77578650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110698306.9A Active CN113377476B (en) 2021-06-23 2021-06-23 Interface display method, related device and computer program product

Country Status (1)

Country Link
CN (1) CN113377476B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117149340A (en) * 2023-10-30 2023-12-01 北京小米移动软件有限公司 USIM card application interface display method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE0201894D0 (en) * 2002-06-19 2002-06-19 Ludesi Ab Method for digital image processing
WO2020062744A1 (en) * 2018-09-30 2020-04-02 北京微播视界科技有限公司 Video watermark adding method and apparatus, and electronic device and storage medium
CN111489429A (en) * 2020-04-16 2020-08-04 诚迈科技(南京)股份有限公司 Image rendering control method, terminal device and storage medium
CN111726608A (en) * 2020-06-28 2020-09-29 北京百度网讯科技有限公司 Video stuck-in test method and device, electronic equipment and storage medium
CN112698904A (en) * 2021-01-04 2021-04-23 浙江诺诺网络科技有限公司 Interface rendering method, system, equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE0201894D0 (en) * 2002-06-19 2002-06-19 Ludesi Ab Method for digital image processing
WO2020062744A1 (en) * 2018-09-30 2020-04-02 北京微播视界科技有限公司 Video watermark adding method and apparatus, and electronic device and storage medium
CN111489429A (en) * 2020-04-16 2020-08-04 诚迈科技(南京)股份有限公司 Image rendering control method, terminal device and storage medium
CN111726608A (en) * 2020-06-28 2020-09-29 北京百度网讯科技有限公司 Video stuck-in test method and device, electronic equipment and storage medium
CN112698904A (en) * 2021-01-04 2021-04-23 浙江诺诺网络科技有限公司 Interface rendering method, system, equipment and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
于浩;孙振武;陈成军;李东年;: "基于Qt的增强现实可视化仪表系统", 内江科技, no. 07 *
鲁剑锋;徐德龙;吴琼;: "TYJL-ADX型计算机联锁操作显示软件升级研究", 铁道通信信号, no. 04 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117149340A (en) * 2023-10-30 2023-12-01 北京小米移动软件有限公司 USIM card application interface display method and device and electronic equipment
CN117149340B (en) * 2023-10-30 2024-02-06 北京小米移动软件有限公司 USIM card application interface display method and device and electronic equipment

Also Published As

Publication number Publication date
CN113377476B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
US10185701B2 (en) Unsupported character code detection mechanism
KR20210040005A (en) Positioning method, positioning device and electronic device
CN112988727B (en) Data annotation method, device, equipment, storage medium and computer program product
CN112037332A (en) Display verification method and device of browser, computer equipment and storage medium
JP2024502516A (en) Data annotation methods, apparatus, systems, devices and storage media
CN114792355A (en) Virtual image generation method and device, electronic equipment and storage medium
US10496694B2 (en) Rating and advising for selection of augmented reality markers
CN113377476A (en) Interface display method, related device and computer program product
EP3872704A2 (en) Header model for instance segmentation, instance segmentation model, image segmentation method and apparatus
CN114237890A (en) Application collaborative display method and device, server, terminal and program product
CN113837194A (en) Image processing method, image processing apparatus, electronic device, and storage medium
CN114445682A (en) Method, device, electronic equipment, storage medium and product for training model
CN113657408A (en) Method and device for determining image characteristics, electronic equipment and storage medium
CN112966606B (en) Image recognition method, related device and computer program product
CN114863143B (en) Image detection method, image detection device, electronic equipment and storage medium
US20230119741A1 (en) Picture annotation method, apparatus, electronic device, and storage medium
CN114445805A (en) Attribute recognition model training method, attribute recognition device and attribute recognition equipment
CN114416194A (en) Picture loading method and device based on ImageView aggregation function component
CN114445683A (en) Attribute recognition model training method, attribute recognition device and attribute recognition equipment
CN115469866A (en) Page rendering method and device of applet, electronic device and storage medium
CN114329399A (en) Face video verification method, device, equipment and storage medium
CN113342413A (en) Method, apparatus, device, medium and product for processing components
CN115858652A (en) Data conversion method and device, computer equipment and storage medium
CN116485900A (en) Pose estimation method and device, electronic equipment and storage medium
CN117241090A (en) Method and device for generating information of target area in video stream

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