Floor tile screen display control method, device and computer readable storage medium
By acquiring the occlusion information of the floor tile screen, mapping it to the target coordinate system, and performing clustering, the virtual trigger point of the floor tile screen is determined, thus solving the problem of inaccurate display of floor tile screen information and achieving higher display accuracy.
Patent Information
- Application Number
- CN202311459023.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-03
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2043-11-03
AI Technical Summary
When displaying preset effect information, the asymmetrical occlusion points cause the virtual trigger point position to deviate, resulting in inaccurate information display.
By acquiring the occlusion information of the floor tile screen, mapping it to the target coordinate system, determining multiple location points in the occlusion area, performing clustering, obtaining a cluster set, and displaying the target display information corresponding to the center point of the cluster set.
This improves the accuracy of information display on the floor tile screen, ensuring that the virtual location point is the center point of the obscured area, thus enhancing the display accuracy.
Smart Images

Figure CN117496868B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of graphic sensor, in particular to a display control method and device of a floor tile screen and a computer readable storage medium. BACKGROUND
[0002] At present, when displaying preset effect information on a floor tile screen, a cross detection algorithm is usually used to determine a virtual trigger point of the floor tile screen. For example, four sensors arranged symmetrically in a cross on the floor tile screen are used to detect whether the floor tile screen is blocked. If the floor tile screen is blocked, four blocked position points are determined. If the four blocked position points are arranged symmetrically in a cross, the center point of the four position points can be determined as the virtual trigger point. However, if the four blocked position points are not arranged symmetrically in a cross, the position of the virtual trigger point determined based on the method is deviated. Since in actual operation, the multiple blocked points on the floor tile screen cannot be completely symmetrical, the determined virtual trigger point can be deviated, and thus the information displayed on the floor tile screen is inaccurate.
[0003] At present, no effective solution has been proposed for the technical problem of inaccurate information display of the floor tile screen. SUMMARY
[0004] The embodiments of the present application provide a display control method, device and computer readable storage medium of a floor tile screen, to at least solve the technical problem of inaccurate information display of the floor tile screen.
[0005] According to an aspect of the embodiments of the present application, a display control method of a floor tile screen is provided. The method can include: in response to the floor tile screen being blocked, obtaining blocking information of the floor tile screen, wherein the blocking information is used to indicate a blocked area on the floor tile screen, and the blocking information is obtained by at least one sensor connected to the floor tile screen; mapping the blocking information to a target coordinate system, and determining position coordinates of multiple blocked position points in the blocked area; clustering the multiple blocked position points based on the position coordinates of the multiple blocked position points, to obtain at least one clustering set; and controlling to display target display information corresponding to a center point of the clustering set on the floor tile screen, wherein the center point is a virtual position point corresponding to the blocking information.
[0006] According to an aspect of the embodiments of the present application, there is also provided a display control device of a floor tile screen. The device can include: an acquisition unit configured to acquire, in response to the floor tile screen being blocked, blocking information of the floor tile screen, wherein the blocking information is used to indicate a blocked area on the floor tile screen, and the blocking information is acquired by at least one sensor connected to the floor tile screen; a determination unit configured to map the blocking information to a target coordinate system, and determine position coordinates of a plurality of blocked position points in the blocked area; a clustering unit configured to cluster the plurality of blocked position points based on the position coordinates of the plurality of blocked position points, and obtain at least one clustering set; and a control unit configured to control the display of target display information corresponding to a center point of the clustering set on the floor tile screen, wherein the center point is a virtual position point corresponding to the blocking information.
[0007] According to an aspect of the embodiments of the present application, there is also provided a computer readable storage medium including a stored program, wherein the program, when executed, controls a device on which the storage medium is located to perform the display control method of the floor tile screen according to the embodiments of the present application.
[0008] According to an aspect of the embodiments of the present application, there is also provided a processor configured to execute a program, wherein the program, when executed by the processor, performs the display control method of the floor tile screen according to the embodiments of the present application.
[0009] In the embodiments of the present application, in response to the floor tile screen being blocked, the blocking information of the floor tile screen is acquired, wherein the blocking information is used to indicate a blocked area on the floor tile screen, and the blocking information is acquired by at least one sensor connected to the floor tile screen; the blocking information is mapped to a target coordinate system, and position coordinates of a plurality of blocked position points in the blocked area are determined; the plurality of blocked position points are clustered based on the position coordinates of the plurality of blocked position points, and at least one clustering set is obtained; and the display of target display information corresponding to a center point of the clustering set is controlled on the floor tile screen, wherein the center point is a virtual position point corresponding to the blocking information. That is, in the embodiments of the present application, after the floor tile screen is blocked, a plurality of blocked position points on the floor tile screen can be determined according to the blocking information of the floor tile screen, and the plurality of blocked position points are clustered to obtain at least one clustering set, and the center point of the clustering set is determined, and then the center point of the clustering set is determined as the virtual position point corresponding to the blocking information. Since the virtual position point is determined by clustering the plurality of blocked position points and according to the center point of the clustering set, the virtual position point can be the center point of the blocked area on the floor tile screen, and thus the display of the floor tile screen triggered based on the virtual position point can make the target display information displayed by the floor tile screen more accurate, thereby achieving the technical effect of improving the accuracy of information display of the floor tile screen, and further solving the technical problem of inaccurate information display of the floor tile screen. BRIEF DESCRIPTION OF DRAWINGS
[0010] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
[0011] Figure 1 is a flow chart of a display control method of a tile screen according to an embodiment of the application;
[0012] Figure 2 is a schematic diagram of a tile screen according to an embodiment of the application;
[0013] Figure 3 is a schematic diagram of a display control device of a tile screen according to an embodiment of the application. DETAILED DESCRIPTION
[0014] In order to make the technical personnel of the present application better understand the present application, the following will be combined with the drawings of the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor should belong to the scope of protection of the present application.
[0015] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological order. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0016] According to an embodiment of the present application, an embodiment of a display control method of a tile screen is provided. It should be noted that the steps shown in the flow chart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flow chart, in some cases, the steps shown or described herein can be executed in a different order than that shown herein.
[0017] Figure 1 is a flow chart of a display control method of a tile screen according to an embodiment of the application. As shown in Figure 1 the method can include the following steps:
[0018] In step S101, in response to the floor screen being blocked, the blocking information of the floor screen is acquired.
[0019] In the technical solution provided in step S101, in response to the floor screen being blocked by an object, the blocking information of the floor screen is acquired, wherein the blocking information of the floor screen is used to indicate the blocking area on the floor screen, and the blocking information is acquired by at least one sensor connected to the floor screen.
[0020] In this embodiment, the floor screen is connected to at least one sensor, which can be a photosensitive sensor, used to detect the intensity of light. Based on this, the photosensitive sensor connected to the floor screen can be used to detect whether the floor screen is blocked. For example, when the floor screen is blocked by a limb or an object, the photosensitive unit of the photosensitive sensor connected to the floor screen will temporarily store the blocking information. Based on this, the blocking information temporarily stored by the photosensitive sensor can be acquired.
[0021] For example, the blocking information can be represented by binary values 0 and 1, wherein the value 0 can be used to indicate that the floor screen is blocked, and the value 1 can be used to indicate that the floor screen is not blocked. That is, when the photosensitive sensor detects that a certain point on the floor screen is blocked, the value 0 can be temporarily stored, and when the photosensitive sensor detects that a certain point on the floor screen is not blocked, the value 1 can be temporarily stored. This is only an example, and the blocking information of the floor screen can also be represented in other ways, which is not limited here.
[0022] In step S102, the blocking information is mapped to a target coordinate system to determine the position coordinates of a plurality of blocking position points in the blocking area.
[0023] In the technical solution provided in step S102, the target coordinate system can be a Cartesian coordinate system. Based on this, after the blocking information of the floor screen is acquired, the blocking information can be mapped to the target coordinate system to determine the position coordinates of a plurality of blocking position points in the blocking area.
[0024] In this embodiment, as introduced in step S101, the blocking information can be represented by binary values 0 or 1, wherein the value 0 is used to indicate that a certain point on the floor screen is blocked, and the value 1 is used to indicate that a certain point on the floor screen is not blocked. Based on this, when the blocking information is mapped to the target coordinate system, the binary represented blocking information can be analyzed by using an analytical algorithm first, then a Cartesian coordinate system is established, and the analyzed blocking information is mapped to the Cartesian coordinate system by using a sensor-Cartesian coordinate system mapping algorithm to obtain the position coordinates of a plurality of blocking position points on the floor screen, wherein the plurality of blocking position points can be a plurality of discrete points.
[0025] In step S103, the plurality of occlusion position points are clustered based on the position coordinates of the plurality of occlusion position points, to obtain at least one clustering set.
[0026] In the technical solution provided in step S103, after the position coordinates of the plurality of occlusion position points in the occlusion area are determined, the plurality of occlusion position points are clustered based on the position coordinates of the plurality of occlusion position points, to obtain at least one clustering set, wherein the at least one clustering set is used to indicate at least one occluded area on the tile screen, and the occluded area can be an irregular light-shielding surface.
[0027] In this embodiment, after the position coordinates of the plurality of occlusion position points are obtained, a target number of occlusion position points can be randomly selected as initial clustering centers. Then, the distance between each occlusion position point and each initial clustering center can be calculated according to the position coordinates of the plurality of occlusion position points and the position coordinates corresponding to each initial clustering center, wherein the distance can be Euclidean distance or Manhattan distance. After the distance between each occlusion position point and each initial clustering center is calculated, each occlusion position point can be assigned to the initial clustering center closest to it, to obtain a target number of initial clustering sets. Then, the average of the position coordinates of the occlusion position points included in each initial clustering set is determined, and the point corresponding to the average is determined as a new initial clustering center. The steps of calculating the distance between each occlusion position point and the updated initial clustering center and reassigning each occlusion position point to the initial clustering center closest to it are repeated, so that the initial clustering sets gradually converge, until the position coordinates of the initial clustering centers of the obtained initial clustering sets no longer change or the maximum number of iterations is reached. At this time, the obtained initial clustering sets are determined as the clustering sets obtained by clustering the plurality of occlusion position points.
[0028] For example, the k-means clustering algorithm can be used to cluster the plurality of occlusion position points to obtain at least one cluster set. For example, K initial cluster centers can be randomly selected from the plurality of occlusion position points, and then for each occlusion position point, the distance between the occlusion position point and the K initial cluster centers is calculated according to the position coordinates of the occlusion position point, and the occlusion position point is assigned to the nearest initial cluster center to obtain K initial cluster sets. Then, the initial cluster centers are updated according to the position coordinates of the occlusion position points included in the K initial cluster sets. For example, the average of the position coordinates of the occlusion position points included in the K initial cluster sets can be taken as a new initial cluster center, and then the distances between the plurality of occlusion position points and the new initial cluster centers are calculated, and the plurality of occlusion position points are re-assigned to the nearest new initial cluster center. The process is repeated until the position coordinates of the initial cluster centers no longer change or the maximum number of iterations is reached, at which point the obtained initial cluster sets are determined as the cluster sets obtained by clustering the plurality of occlusion position points.
[0029] In step S104, the control displays the target display information corresponding to the center point of the cluster set on the tile screen.
[0030] In the technical solution provided in step S104 of the present application, after the cluster set is determined, the target display information corresponding to the center point of the cluster set, i.e., the target display information corresponding to the cluster center of the cluster set, can be further determined, and the sensor is further controlled to display the target display information corresponding to the center point of the cluster set on the tile screen, wherein the center point of the cluster set is a virtual position point corresponding to the occlusion information on the tile screen, i.e., a virtual trigger point on the tile screen.
[0031] In this embodiment, each position point on the tile screen corresponds to display information. Based on this, after the center point of the cluster set is determined, the position point on the tile screen that has the same position coordinates as the center point can be further determined, and the display information corresponding to the position point is determined as the target display information corresponding to the center point of the cluster set, and the sensor is further controlled to display the target display information on the tile screen. The target display information can be image information, text information, etc., which is not limited here.
[0032] Alternatively, if the determined cluster set is multiple, the sensor can be controlled to display the target display information corresponding to the center point of each cluster set on the tile screen, respectively.
[0033] The above steps S101 to S104 of the present application can determine the plurality of shielding position points on the tile screen that are shielded according to the shielding information of the tile screen after the tile screen is shielded, and then cluster the plurality of shielding position points to obtain at least one cluster set and determine the center point of the cluster set, and then determine the center point of the cluster set as the virtual position point corresponding to the shielding information. Since the virtual position point is determined by clustering the plurality of shielding position points and according to the center point of the cluster set, the virtual position point can be the center point of the shielding area on the tile screen. Therefore, triggering the tile screen to display based on the virtual position point can make the target display information displayed by the tile screen more accurate, thereby achieving the technical effect of improving the information display accuracy of the tile screen and solving the technical problem of inaccurate information display of the tile screen.
[0034] It should be noted that the above steps can be implemented by the host computer. For example, after the sensor detects the shielding information of the tile screen being shielded, the sensor can transmit the shielding information to the receiving card, and then the receiving card transmits the shielding information to the host computer. After receiving the shielding information, the data processing unit in the host computer converts the shielding information to the target coordinate system by a coordinate conversion algorithm to obtain the position coordinates of the plurality of shielding position points on the tile screen. Then, the plurality of shielding position points are clustered to obtain at least one cluster set, and the center point of the at least one cluster set is determined as the virtual position point. The sensor is controlled to display the target display information corresponding to the virtual position point on the tile screen.
[0035] The above method of the embodiment will be further introduced below.
[0036] As an optional implementation, the shielding information at least includes first data, and the first data is used to indicate the shielding position point on the tile screen. The display control method of the tile screen further includes: dividing the shielding information to obtain a plurality of sub-shielding information sets, wherein the sub-shielding information set includes at least one first data; and mapping the shielding information to the target coordinate system to determine the position coordinates of the plurality of shielding position points in the shielding area, including: mapping the at least one first data in the plurality of sub-shielding information sets to the target coordinate system respectively to determine the position coordinates of the plurality of shielding position points in the shielding area.
[0037] In this embodiment, as can be known from the foregoing, the shielding information can be represented by binary values 0 and 1, where the value 0 is used to represent that a certain point on the tile screen is shielded, and the value 1 is used to represent that a certain point on the tile screen is not shielded. Based on this, it can be determined that the first data in the shielding information can be a binary value 0, and the second data in the shielding information can be a binary value 1. In order to reduce the hardware computing burden, before the shielding information of the tile screen is mapped to the target coordinate system, the shielding information can be divided to obtain a plurality of sub-shielding information sets, where the sub-shielding information set includes at least one first data.
[0038] For example, since the shielding information includes a series of continuous values 0 and values 1, based on this, the shielding information can be divided into a plurality of sub-shielding information sets according to the arrangement order of the values 0 and values 1. For example, assuming that the series of continuous values 0 and values 1 included in the shielding information is: 01100110010010110101, based on this, the shielding information can be divided into sub-shielding information sets according to the arrangement order of the values 0 and values 1: 0110, 0110, 0100, 1011, 0101. Here, only an example is exemplified, and the division process of the shielding information is not limited.
[0039] Optionally, since the sub-shielding information set includes at least one first data, that is, the sub-shielding information includes at least one value 0, based on this, if there is no value 0 in the values included in the sub-shielding information, the sub-shielding information set can be deleted to ensure that each obtained sub-shielding information set includes at least one first data.
[0040] Optionally, after the shielding information is divided into a plurality of sub-shielding information sets, at least one first data in the plurality of sub-shielding information sets can be mapped to the target coordinate system to determine the position coordinates of a plurality of shielding position points in the shielding area.
[0041] For example, after obtaining a plurality of sub-shielding information sets, the corresponding position of each sub-shielding information set on the tile screen can be determined according to the first data included in each sub-shielding information set, and then the first data is mapped to the Cartesian coordinate system to obtain the position coordinates of the shielded position points on the tile screen.
[0042] In this embodiment, the shielding information can be divided into a plurality of sub-shielding information sets, and then the first data in each sub-shielding information set is mapped to the target coordinate system to obtain the position coordinates of the shielding position points on the tile screen. In this way, it can be avoided that too much data is processed at one time, resulting in too heavy computing burden, so as to achieve the purpose of reducing the computing burden. Next, the process of dividing the shielding information into a plurality of sub-shielding information sets will be further introduced.
[0043] As an optional implementation, the shielding information is divided to obtain a plurality of sub-shielding information sets, including: in the process of transmitting the shielding information to the target list, at least one first data transmitted to the target list is obtained every interval of a preset time period to obtain a sub-shielding information set.
[0044] In this embodiment, since the shielding information includes a series of values 0 and values 1, based on this, when the shielding information is divided, the shielding information can be transmitted to the target list, and in the transmission process, at least one first data transmitted to the target list is obtained every interval of a preset time period, and then a sub-shielding information set is obtained.
[0045] For example, assuming that the shielding information is 01100110010010110101, in the process of transmitting the shielding information to the target list, the shielding information transmitted to the target list can be obtained every interval of 1s, and then a plurality of sub-shielding information sets are obtained. For example, the shielding information transmitted to the target list at the 1st second is 01100, the shielding information transmitted to the target list at the 2nd second is 11001, the shielding information transmitted to the target list at the 3rd second is 11001, and the shielding information transmitted to the target list at the 4th second is 11001, and then the plurality of sub-shielding information sets obtained are 01100, 11001, 11001, and 11001. Herein, it is only a preferred implementation, and the plurality of sub-shielding information sets can also be divided by other manners, which is not limited specifically herein.
[0046] In this embodiment, a plurality of shielding information can be divided to obtain a plurality of sub-shielding information sets, and each sub-shielding information set includes at least one first data 0. After obtaining the plurality of sub-shielding information sets, the first data in each sub-shielding information set can be mapped to a target coordinate system to obtain the position coordinates of a plurality of shielding position points on the tile screen. After obtaining the position coordinates of the plurality of shielding position points, the plurality of shielding position points can be clustered based on the position coordinates of the plurality of shielding position points. Next, the clustering process of the plurality of shielding position points is further introduced.
[0047] As an optional implementation, in step S103, the plurality of shielding position points are clustered based on the position coordinates of the plurality of shielding position points to obtain at least one clustering set, including: selecting at least one initial clustering center from the plurality of shielding position points; and determining at least one clustering set based on the position coordinates of the at least one initial clustering center and the position coordinates of the shielding position points in the plurality of shielding position points except the initial clustering center.
[0048] In the embodiment, after the position coordinates of the plurality of blocking position points on the floor tile screen are obtained, at least one initial cluster center can be randomly selected from the plurality of blocking position points, then the distances between the plurality of blocking position points and the at least one initial cluster center can be calculated according to the position coordinates of the plurality of blocking position points, and each blocking position point can be divided into the initial cluster center closest to it to obtain at least one cluster set.
[0049] For example, a target number of blocking position points can be randomly selected as initial cluster centers, then the distances between each blocking position point in the plurality of blocking position points and each initial cluster center can be calculated according to the position coordinates of the plurality of blocking position points and the position coordinates corresponding to each initial cluster center, and then each blocking position point can be assigned to the initial cluster center closest to it to obtain a target number of initial cluster sets.
[0050] As an optional implementation, based on the position coordinates of the at least one initial cluster center and the position coordinates of the blocking position points in the plurality of blocking position points except the initial cluster center, the at least one cluster set is determined, including: a determination step of determining the distances between the at least one initial cluster center and the blocking position points in the plurality of blocking position points except the initial cluster center based on the position coordinates of the at least one initial cluster center and the position coordinates of the blocking position points in the plurality of blocking position points except the initial cluster center; a division step of dividing the blocking position points in the plurality of blocking position points except the initial cluster center into the initial cluster center closest to the blocking position points to obtain at least one initial cluster set; and an update step of determining the center point of the initial cluster set as the initial cluster center and continuing to perform the determination step and the division step until the position coordinates of the center point of the at least one initial cluster set are unchanged, and the at least one initial cluster set is determined as the at least one cluster set.
[0051] In this embodiment, after the at least one initial cluster center is determined, the distance between each of the plurality of occlusion position points and the at least one initial cluster center can be calculated based on the position coordinates of the at least one initial cluster center and the position coordinates of the occlusion position points other than the initial cluster center in the plurality of occlusion position points, and then the plurality of occlusion position points can be divided into the initial cluster center closest to each of the plurality of occlusion position points, to obtain an initial distance set. After obtaining the initial cluster set, the position coordinates of the center point of the initial cluster set can be calculated based on the position coordinates of each of the occlusion position points included in the initial cluster set. After the position coordinates of the center point of the initial cluster set are determined, the center point of the initial cluster set can be updated as the initial cluster center, and the distance between the plurality of occlusion position points and the updated initial cluster center can be calculated to re-divide each initial cluster set until the position coordinates of the center point of each initial cluster set remain unchanged, and then the obtained initial cluster set is determined as the at least one cluster set.
[0052] For example, the k-means clustering algorithm can be used to cluster the plurality of occlusion position points to obtain the at least one cluster set. For example, K initial cluster centers can be randomly selected from the plurality of occlusion position points, and then for each occlusion position point, the distance between the occlusion position point and the K initial cluster centers can be calculated based on the position coordinates of the occlusion position point, and the occlusion position point can be assigned to the nearest initial cluster center to obtain K initial cluster sets. Then, the initial cluster centers can be updated based on the position coordinates of each of the occlusion position points included in the K initial cluster centers. For example, the average of the position coordinates of each of the occlusion position points included in the K initial cluster sets can be taken as a new initial cluster center, and then the distance between the plurality of occlusion position points and the new initial cluster center can be calculated, and the plurality of occlusion position points can be assigned to the nearest new initial cluster center, and the process can be repeated until the position coordinates of the initial cluster center no longer change or the maximum iteration is reached. At this time, the obtained initial cluster set is determined as the cluster set obtained by clustering the plurality of occlusion position points.
[0053] In this embodiment, the plurality of occlusion position points on the tile screen can be clustered to obtain the at least one cluster set, and in the clustering process, the center point of the initial cluster set needs to be updated to obtain a more accurate cluster set. The process of determining the center point of the initial cluster set is further introduced below.
[0054] As an optional implementation, the display control method of the tile screen further includes: determining the average of the position coordinates of the occlusion position points in the initial cluster set and the position coordinates of the initial cluster center in the initial cluster set; and determining the average as the position coordinates of the center point of the initial cluster set.
[0055] In this embodiment, after the plurality of occlusion position points are divided to obtain the initial cluster set, since the initial cluster set can include a plurality of occlusion position points and an initial cluster center, based on this, the average of the position coordinates of the plurality of occlusion position points and the position coordinates of the initial cluster center can be calculated according to the position coordinates of the plurality of occlusion position points and the position coordinates of the initial cluster center, and then the average is determined as the position coordinates of the center point of the initial cluster set.
[0056] For example, assuming that an initial cluster set includes 4 occlusion position points and 1 initial cluster center, based on this, the average of the horizontal coordinates and the average of the vertical coordinates of the position coordinates of the 5 position points can be calculated, and the calculated average of the horizontal coordinates and the average of the vertical coordinates are taken as the position coordinates of the center point of the initial cluster set, and then the initial cluster center of the initial cluster set is updated to the center point of the initial cluster set.
[0057] As an optional implementation, the display control method of the tile screen further includes: determining the value range of the horizontal coordinates of the plurality of occlusion position points on the horizontal axis and the value range of the vertical coordinates of the plurality of occlusion position points on the vertical axis in the cluster set; determining the value range on the horizontal axis and the value range on the vertical axis as the boundary of the circumscribed polygon of the cluster set to obtain the circumscribed polygon; and determining the intersection point of the center points of the opposite sides of the circumscribed polygon as the center point of the cluster set.
[0058] In this embodiment, after obtaining the cluster set, the circumscribed rectangle of the plurality of occlusion position points in the cluster set can be determined, and then the center point of the circumscribed polygon is determined as the center point of the cluster set.
[0059] For example, the value range of the horizontal coordinates in the position coordinates of the plurality of occlusion position points on the horizontal axis and the value range of the vertical coordinates on the vertical axis can be determined according to the position coordinates of the plurality of occlusion position points in the cluster set, and then the boundary of the circumscribed polygon of the plurality of occlusion position points in the cluster set on the horizontal axis is determined according to the value range on the horizontal axis, and the boundary of the circumscribed polygon of the plurality of occlusion position points in the cluster set on the vertical axis is determined according to the value range on the vertical axis, and then the circumscribed polygon of the cluster set is determined according to the boundary of the horizontal axis and the boundary of the vertical axis, and the intersection point of the center points of the opposite sides of the circumscribed polygon is determined as the center point of the cluster set.
[0060] As an optional implementation, in step S104, the control to display the target display information corresponding to the center point of the cluster set on the tile screen includes: acquiring the target display information corresponding to the center point of the cluster set; and controlling the sensor to display the target display information on the tile screen.
[0061] In this embodiment, each position point on the floor tile screen corresponds to display information. Based on this, after determining the center point of the cluster set, the position points on the floor tile screen that have the same position coordinates as the center point can be further determined. Then, the display information corresponding to the determined position points is determined as the target display information corresponding to the center point of the cluster set, and the sensor is triggered to display the target display information on the floor tile screen. The target display information can be image information, text information, etc., and no specific limitation is made here.
[0062] In the above steps, after the floor tile screen is obscured, multiple obscured location points on the floor tile screen can be determined based on the obscuration information. Then, these multiple obscured location points are clustered to obtain at least one cluster set, and the center point of the cluster set is determined. The center point of the cluster set is then used as the virtual location point corresponding to the obscuration information. Since the virtual location point is determined by clustering multiple obscured location points and using the center point of the cluster set, it can be ensured that the virtual location point is the center point of the obscured area on the floor tile screen. Therefore, triggering the floor tile screen to display based on this virtual location point can make the target display information on the floor tile screen more accurate, thereby improving the technical effect of improving the information display accuracy of the floor tile screen and solving the technical problem of inaccurate information display on the floor tile screen.
[0063] It should be noted that the above steps can be implemented through a host computer, and no specific restrictions are imposed here.
[0064] Figure 2 This is a schematic diagram of a floor tile screen according to an embodiment of the present invention. Figure 2 As shown, multiple sensors are deployed on the floor tile screen. These sensors can be deployed at the top left, bottom left, bottom right, and center of the top boundary of the floor tile screen, without specific limitations. The multiple sensors are used to detect whether different areas of the floor tile screen are occluded. When an area of the floor tile screen is occluded, the sensor corresponding to that area can store the occlusion information. This occlusion information can be represented by a series of binary data, where a value of 0 indicates that the point is occluded, and a value of 1 indicates that the point is not occluded. Based on this, after obtaining the occlusion information, multiple occlusion locations on the floor tile screen can be determined, and these locations can be clustered to obtain at least one cluster set. The center point of the cluster set is determined as the virtual trigger point of the floor tile screen, thereby controlling the sensors to display the target information corresponding to the virtual trigger point on the floor tile screen.
[0065] This invention also provides a display control device for a floor tile screen. This display control device for the floor tile screen can be used to execute the embodiments of this invention. Figure 1 The display control method for the floor tile screen shown.
[0066] Figure 3 is a schematic diagram of a display control device of a floor tile screen according to an embodiment of the present application. As shown in the figure, the display control device 300 of the floor tile screen comprises an acquisition unit 301, a determination unit 302, a clustering unit 303 and a control unit 304. Figure 3
[0067] The acquisition unit 301 is configured to acquire occlusion information of the floor tile screen in response to the floor tile screen being occluded, wherein the occlusion information is used to indicate an occluded area on the floor tile screen, and the occlusion information is acquired by at least one sensor connected to the floor tile screen.
[0068] The determination unit 302 is configured to map the occlusion information to a target coordinate system, and determine position coordinates of a plurality of occluded position points in the occluded area.
[0069] The clustering unit 303 is configured to cluster the plurality of occluded position points based on the position coordinates of the plurality of occluded position points, to obtain at least one cluster set.
[0070] The control unit 304 is configured to control display of target display information corresponding to a center point of the cluster set on the floor tile screen, wherein the center point is a virtual position point corresponding to the occlusion information.
[0071] Optionally, the occlusion information comprises at least first data used to indicate an occluded position point on the floor tile screen, and the display control device 300 of the floor tile screen further comprises a division unit configured to divide the occlusion information to obtain a plurality of sub-occlusion information sets, wherein at least one first data is included in each of the sub-occlusion information sets; and the determination unit 302 comprises a first determination module configured to map the at least one first data in each of the plurality of sub-occlusion information sets to the target coordinate system, to determine the position coordinates of the plurality of occluded position points in the occluded area.
[0072] Optionally, the division unit further comprises a sub-occlusion information set acquisition unit configured to acquire at least one first data that has been transmitted to a target list at intervals of a preset time period during transmission of the occlusion information to the target list.
[0073] Optionally, the clustering unit 303 comprises a selection module configured to select at least one initial cluster center from the plurality of occluded position points; and a second determination module configured to determine the at least one cluster set based on the position coordinates of the at least one initial cluster center and the position coordinates of the occluded position points other than the initial cluster center in the plurality of occluded position points.
[0074] Optionally, the second determining module is further configured to perform: a determining step of determining distances between the at least one initial clustering center and the occlusion position points other than the initial clustering center in the plurality of occlusion position points based on the position coordinates of the at least one initial clustering center and the position coordinates of the occlusion position points other than the initial clustering center in the plurality of occlusion position points; a dividing step of dividing the occlusion position points other than the initial clustering center in the plurality of occlusion position points to the initial clustering center closest to the occlusion position points based on the distances to obtain at least one initial clustering set; and an updating step of determining the center point of the initial clustering set as the initial clustering center and continuing to perform the determining step and the dividing step until the position coordinates of the center point of the at least one initial clustering set are unchanged, and determining the at least one initial clustering set as the at least one clustering set.
[0075] Optionally, the display control apparatus 300 of the floor screen further comprises: a second determining unit configured to determine an average value of the position coordinates of the occlusion position points in the initial clustering set and the position coordinates of the initial clustering centers in the initial clustering set; and a third determining unit configured to determine the average value as the position coordinates of the center point of the initial clustering set.
[0076] Optionally, the display control apparatus 300 of the floor screen further comprises: a fourth determining unit configured to determine a value range of the abscissa of the plurality of occlusion position points in the clustering set on an abscissa axis and a value range of the ordinate of the plurality of occlusion position points on an ordinate axis; a fifth determining unit configured to determine the value range on the abscissa axis and the value range on the ordinate axis as a boundary of a circumscribed polygon of the clustering set to obtain the circumscribed polygon; and a sixth determining unit configured to determine an intersection point of the lines connecting the opposite side center points in the circumscribed polygon as the center point of the clustering set.
[0077] Optionally, the control unit 304 further comprises: an acquisition module configured to acquire target display information corresponding to the center point of the clustering set; and a control module configured to control the sensor to display the target display information on the floor screen.
[0078] In the display control apparatus of the floor screen in this embodiment, after the floor screen is occluded, the plurality of occlusion position points occluded on the floor screen can be determined according to the occlusion information of the floor screen, and then the plurality of occlusion position points are clustered to obtain at least one clustering set, and the center point of the clustering set is determined, and then the center point of the clustering set is determined as a virtual position point corresponding to the occlusion information. Since the virtual position point is determined by clustering the plurality of occlusion position points and according to the center point of the clustering set, the virtual position point can be guaranteed to be the center point of the occluded area on the floor screen. Therefore, triggering the floor screen to display based on the virtual position point can make the target display information displayed by the floor screen more accurate, so as to achieve the technical effect of improving the information display accuracy of the floor screen, and further solve the technical problem of inaccurate information display of the floor screen.
[0079] According to the embodiments of the present application, a computer readable storage medium is also provided. The computer readable storage medium includes a stored program, wherein the program, when executed by a processor, controls a device where the storage medium is located to perform the display control method of the tile screen.
[0080] According to the embodiments of the present application, a processor is also provided. The processor is configured to execute a program, wherein the program, when executed, performs the display control method of the tile screen.
[0081] The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0082] In the above-mentioned embodiments of the present application, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0083] In the several embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. Of course, the device embodiment described above is only illustrative, and for example, the division of the units can be a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, unit or module, and can be electrical or other forms.
[0084] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on multiple units. According to actual needs, part or all of the units can be selected to achieve the purpose of the present embodiment.
[0085] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The above integrated unit can be realized in the form of hardware or in the form of software functional unit.
[0086] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, essentially or in other words, the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to make a computer device (which can be a personal computer, a server or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present application. The aforementioned storage medium includes: a U disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0087] The above is only the preferred embodiment of the present application, it should be pointed out that, for those skilled in the art, without departing from the principles of the present application, can make a number of improvements and refinements, these improvements and refinements should also be considered as the protection scope of the present application.
Claims
1. A display control method of a floor panel, characterized by, The method comprises the following steps: obtaining the blocking information of the floor screen in response to the floor screen being blocked, wherein the blocking information is used to indicate the blocking area on the floor screen, and the blocking information is obtained by at least one sensor connected to the floor screen; mapping the blocking information to a target coordinate system to determine the position coordinates of a plurality of blocking position points in the blocking area; clustering the plurality of blocking position points based on the position coordinates of the plurality of blocking position points to obtain at least one cluster set; controlling the display of the target display information corresponding to the center point of the cluster set on the floor screen, wherein the center point is a virtual position point corresponding to the blocking information; clustering the plurality of blocking position points based on the position coordinates of the plurality of blocking position points to obtain at least one cluster set comprises: selecting at least one initial cluster center from the plurality of blocking position points; determining the at least one cluster set based on the position coordinates of the at least one initial cluster center and the position coordinates of the blocking position points other than the initial cluster center in the plurality of blocking position points; determining the at least one cluster set based on the position coordinates of the at least one initial cluster center and the position coordinates of the blocking position points other than the initial cluster center in the plurality of blocking position points comprises: determining the distance between the at least one initial cluster center and the blocking position points other than the initial cluster center in the plurality of blocking position points based on the position coordinates of the at least one initial cluster center and the position coordinates of the blocking position points other than the initial cluster center in the plurality of blocking position points; dividing the blocking position points other than the initial cluster center in the plurality of blocking position points to the initial cluster center closest to the blocking position points based on the distance to obtain the at least one initial cluster set; updating the center point of the initial cluster set as the initial cluster center and continuing to perform the determining step and the dividing step until the position coordinates of the center point of the at least one initial cluster set remain unchanged, and determining the at least one initial cluster set as the at least one cluster set.
2. The method of claim 1, wherein, The blocking information comprises at least first data, The first data is used to indicate the blocking position points on the floor screen, and the method further comprises: dividing the blocking information to obtain a plurality of sub-blocking information sets, wherein the at least one first data is included in the sub-blocking information set; mapping the at least one first data in the plurality of sub-blocking information sets to the target coordinate system to determine the position coordinates of the plurality of blocking position points in the blocking area.
3. The method of claim 2, wherein, dividing the blocking information to obtain a plurality of sub-blocking information sets comprises: In the process of transmitting the shielding information to the target list, the at least one first data transmitted to the target list is acquired at intervals for a preset time period to obtain the sub-shielding information set.
4. The method of claim 1, wherein, The method further comprises: determining the average of the position coordinates of the shielding position points in the initial clustering set and the position coordinates of the initial clustering centers in the initial clustering set; determining the average as the position coordinates of the center point of the initial clustering set.
5. The method of claim 1, wherein, The method further comprises: determining the value range of the horizontal coordinates of the plurality of shielding position points in the clustering set on the horizontal axis and the value range of the vertical coordinates of the plurality of shielding position points on the vertical axis; determining the value range on the horizontal axis and the value range on the vertical axis as the boundary of the circumscribed polygon of the clustering set to obtain the circumscribed polygon; determining the intersection point of the lines connecting the opposite edge center points in the circumscribed polygon as the center point of the clustering set.
6. The method of claim 1, wherein, controlling the sensor to display the target display information corresponding to the center point of the clustering set on the tile screen, comprising: acquiring the target display information corresponding to the center point of the clustering set; controlling the sensor to display the target display information on the tile screen.
7. A display control device for a floor panel, characterized by comprising: comprising: an acquisition unit, configured to acquire shielding information of a tile screen in response to the tile screen being shielded, wherein the shielding information is used to indicate a shielding area on the tile screen, and the shielding information is acquired by at least one sensor connected to the tile screen; a determination unit, configured to map the shielding information to a target coordinate system and determine position coordinates of a plurality of shielding position points in the shielding area; a clustering unit, configured to cluster the plurality of shielding position points based on the position coordinates of the plurality of shielding position points to obtain at least one clustering set; a control unit, configured to control display of target display information corresponding to a center point of the clustering set on the tile screen, wherein the center point is a virtual position point corresponding to the shielding information; clustering the plurality of shielding position points based on the position coordinates of the plurality of shielding position points to obtain at least one clustering set, comprising: selecting at least one initial clustering center from the plurality of shielding position points; determining the at least one clustering set based on the position coordinates of the at least one initial clustering center and the position coordinates of the shielding position points other than the initial clustering center in the plurality of shielding position points; determining the at least one clustering set based on the position coordinates of the at least one initial clustering center and the position coordinates of the shielding position points other than the initial clustering center in the plurality of shielding position points, comprising: a determination step of determining the distance between the at least one initial clustering center and the shielding position points other than the initial clustering center in the plurality of shielding position points based on the position coordinates of the at least one initial clustering center and the position coordinates of the shielding position points other than the initial clustering center in the plurality of shielding position points; a dividing step of dividing, based on the distances, the occlusion position points other than the initial cluster centers among the plurality of occlusion position points to the initial cluster center closest to the occlusion position points, to obtain the at least one initial cluster set; an updating step of determining the center points of the initial cluster set as the initial cluster centers, and continuing to perform the determining step and the dividing step until the position coordinates of the center points of the at least one initial cluster set are unchanged, and determining the at least one initial cluster set as the at least one cluster set.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium comprises a stored program, wherein the computer readable storage medium controls a device where the computer readable storage medium is located to execute the method of any one of claims 1 to 6 when the program is running.
Citation Information
Patent Citations
A large-screen interaction system based on laser radar positioning
CN109828695A
Clustering method and device
US20210004638A1