Fabric display control method, device, system and equipment and storage medium
By determining pattern configuration parameters and generating control parameters on the fabric itself, the lying state of the pile structure is changed, solving the problem of the lack of dynamic visual expression in traditional sunshade curtains or blinds, and realizing dynamic pattern display and personalized display on the fabric itself.
Patent Information
- Application Number
- CN202511738553.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-25
- Publication Date
- 2026-02-24
AI Technical Summary
Traditional sunshade curtains or blinds lack dynamic visual expression capabilities, cannot automatically adjust the pattern on the fabric surface, and cannot meet users' needs for interactive and personalized environmental interfaces.
By responding to the pattern display trigger operation of the fabric body, the pattern configuration parameters are determined, control parameters are generated, and the pattern writing device is controlled to change the lying state of the pile structure in order to present a dynamic pattern on the fabric body.
It enables dynamic display of patterns on the fabric itself, improves the pattern presentation effect, meets diverse and personalized display needs, and improves the efficiency of pattern configuration.
Smart Images

Figure CN121560261A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display control technology, and in particular to a fabric display control method, apparatus, system, computer equipment, computer-readable storage medium, and computer program product. Background Technology
[0002] With the development of smart homes and smart cockpits, users' demands for the interactivity and personalization of their environmental interfaces are increasing. Traditional sunshades or curtains only have the function of blocking light and lack the ability to express dynamic visuals.
[0003] In existing technologies, some products attempt to incorporate LED (Light-Emitting-Diode) light strips, OLED (Organic Light-Emitting Diode) screens, or projection technology to achieve pattern display.
[0004] Because suede, velvet, flocked fabrics and other oriented pile fabrics have unique optical properties, existing methods lack the technical means to automatically control the pattern on the fabric surface. Summary of the Invention
[0005] Therefore, it is necessary to provide a fabric display control method, device, system, computer equipment, computer-readable storage medium, and computer program product that can automatically adjust the fabric display pattern to address the above-mentioned technical problems.
[0006] In a first aspect, this application provides a fabric display control method, comprising:
[0007] In response to a pattern display trigger operation on the fabric body, determine the pattern configuration parameters;
[0008] The original image is obtained according to the pattern configuration parameters, and control parameters are generated based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device.
[0009] The control parameters are sent to the pattern writing device; the control parameters are used to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area.
[0010] In one embodiment, determining the pattern configuration parameters in response to a pattern display trigger operation on the fabric body includes:
[0011] In response to a pattern display trigger operation on the fabric body, a display configuration area is displayed; the display configuration area includes at least one display configuration item for the fabric body;
[0012] In response to a configuration operation for the at least one display configuration item, pattern configuration parameters are obtained based on the display configuration result corresponding to the configuration operation.
[0013] In one embodiment, the display configuration item includes a display area configuration item;
[0014] The step of obtaining pattern configuration parameters in response to a configuration operation for the at least one display configuration item, based on the display configuration result corresponding to the configuration operation, includes:
[0015] In response to a selection operation for the display area configuration item, the display area position configuration item, display area size configuration item, and display resolution configuration item for the display area are displayed.
[0016] In response to a display area configuration operation for the display area position configuration item, the display area size configuration item, and the display resolution configuration item, the region position, region size, and display resolution of the display area in the fabric body are determined;
[0017] The pattern configuration parameters are obtained based at least on the region location, the region size, and the display resolution;
[0018] The generation of control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body includes:
[0019] Based on at least one of the region position, region size, and display resolution included in the pattern configuration parameters, and the original image, control parameters are generated. These control parameters are used to control the pattern writing device to change the folded state of the velvet structure in the display region according to the control parameters, so as to present the pattern corresponding to the original image in the display region according to the region position, region size, and display resolution.
[0020] In one embodiment, the display configuration items include environmental parameter configuration items;
[0021] The step of obtaining pattern configuration parameters in response to a configuration operation for the at least one display configuration item, based on the display configuration result corresponding to the configuration operation, includes:
[0022] In response to the selection operation for the environmental parameter configuration item, the environmental information configuration item and information source configuration item for the environment in which the fabric body is located are displayed;
[0023] In response to the environmental parameter configuration operation for the environmental information configuration item and the information source configuration item, the environmental information and information source of the environment in which the fabric body is located are determined;
[0024] The pattern configuration parameters are obtained based at least on the environmental information and the information source;
[0025] The generation of control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body includes:
[0026] Based on at least one of the environmental information and the information source included in the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body, control parameters are generated. These control parameters are used to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present a pattern corresponding to the original image and matching the environmental information in the display area.
[0027] In one embodiment, the display configuration item includes a write mode configuration item;
[0028] The step of obtaining pattern configuration parameters in response to a configuration operation for the at least one display configuration item, based on the display configuration result corresponding to the configuration operation, includes:
[0029] In response to the selection operation for the write mode configuration item, the write path configuration item, write speed configuration item, and unit write range configuration item for the pattern writing device are displayed.
[0030] In response to a write mode configuration operation for the write path configuration item, the write speed configuration item, and the unit write range configuration item, the write path, write speed, and unit write range of the pattern writing device are determined.
[0031] The pattern configuration parameters are obtained based at least on the write path, the write speed, and the unit write range;
[0032] The generation of control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body includes:
[0033] Based on at least one of the writing path, writing speed, and unit writing range included in the pattern configuration parameters, as well as the display resolution of the original image and the display area in the fabric body, control parameters are generated. These control parameters are used to sequentially control the pattern writing device to change the folding state of the corresponding position of the pile structure on the fabric body according to each sub-control parameter included in the control parameters and the control timing of each sub-control parameter, so as to present the pattern corresponding to the original image in the display area.
[0034] In one embodiment, the display configuration includes a pattern clearing configuration;
[0035] The step of obtaining pattern configuration parameters in response to a configuration operation for the at least one display configuration item, based on the display configuration result corresponding to the configuration operation, includes:
[0036] In response to the selection operation for the pattern clearing configuration item, the clearing trigger condition configuration item and clearing method configuration item for the pattern presented in the display area are displayed;
[0037] In response to the pattern clearing configuration operation for the clearing trigger condition configuration item and the clearing method configuration item, the clearing trigger condition and clearing method of the pattern presented in the display area are determined;
[0038] The pattern configuration parameters are obtained at least based on the clearing trigger condition and the clearing method;
[0039] The method further includes:
[0040] If the fabric body meets the pattern clearing trigger condition, a clearing method for the pattern presented in the display area is determined; according to the clearing method, the pattern writing device is controlled to clear the pattern presented in the display area.
[0041] In one embodiment, the display configuration item includes a pattern update configuration item;
[0042] The step of obtaining pattern configuration parameters in response to a configuration operation for the at least one display configuration item, based on the display configuration result corresponding to the configuration operation, includes:
[0043] In response to a selection operation for the pattern update configuration item, a pattern update condition configuration item and a replacement image source configuration item are displayed for the pattern presented in the display area;
[0044] In response to a pattern update configuration operation for the pattern update condition configuration item and the replacement image source configuration item, the pattern update condition and replacement image source for the pattern presented in the display area are determined;
[0045] The pattern configuration parameters are obtained based at least on the pattern update conditions and the replacement image source;
[0046] The method further includes:
[0047] The display state of the pattern presented in the display area is determined; if the display state meets the pattern update conditions, a replacement image is determined; the pattern writing device is controlled to change the lying state of the pile structure on the fabric body so as to present the pattern corresponding to the replacement image in the display area.
[0048] In one embodiment, generating control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body includes:
[0049] Determine the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device.
[0050] According to the display resolution, the original image is aligned with the display area to obtain the target image, and control parameters for the pattern writing device are determined based on the target image and the pattern configuration parameters.
[0051] In one embodiment, determining the control parameters for the pattern writing device based on the target image and the pattern configuration parameters includes:
[0052] The target pixels in the target image are binarized according to the pattern configuration parameters to obtain a binary dot matrix of the target image; the binary dot matrix includes multiple binary elements, which are used to characterize the execution state of the corresponding pressure execution unit in the pattern writing device;
[0053] The binary elements included in the binary dot matrix are encoded to obtain the control parameters corresponding to each pressure actuation unit.
[0054] Secondly, this application also provides a fabric display control device, comprising:
[0055] The configuration parameter determination module is used to determine the pattern configuration parameters in response to the pattern display trigger operation on the fabric body;
[0056] The control parameter generation module is used to obtain the original image according to the pattern configuration parameters, and generate control parameters based on the pattern configuration parameters, the original image and the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device.
[0057] A control parameter sending module is used to send the control parameters to the pattern writing device; the control parameters are used to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area.
[0058] Thirdly, this application also provides a fabric display control system, the system comprising a terminal and a pattern writing device, wherein:
[0059] The terminal is configured to, in response to a pattern display trigger operation on the fabric body, determine pattern configuration parameters; acquire an original image based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body, and generate control parameters; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device; and send the control parameters to the pattern writing device.
[0060] The pattern writing device is used to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area.
[0061] Fourthly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above method.
[0062] Fifthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above method.
[0063] Sixthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above method.
[0064] The aforementioned fabric display control method, apparatus, system, computer device, computer-readable storage medium, and computer program product determine pattern configuration parameters in response to a pattern display trigger operation on the fabric body; acquire an original image based on the pattern configuration parameters; and generate control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device; the control parameters are sent to the pattern writing device; the control parameters are used to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area. By determining the pattern configuration parameters in response to a pattern display trigger operation on the fabric body, users can quickly configure the pattern to be presented on the fabric body, which is beneficial to improving the pattern configuration efficiency. Subsequently, the control parameters are generated based on the pattern configuration parameters, the original image, and the display resolution of the display area to instruct the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area. This enables dynamic display of patterns on the fabric body, thereby effectively improving the presentation effect of fabric patterns and meeting diverse personalized display needs. Attached Figure Description
[0065] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0066] Figure 1 This is an application environment diagram of the fabric display control method in one embodiment;
[0067] Figure 2 This is a schematic diagram of the structure of the fabric body in one embodiment;
[0068] Figure 3 This is a schematic diagram of the pattern writing device in its initial state in one embodiment;
[0069] Figure 4 This is a schematic diagram of the pattern writing device in operation in one embodiment;
[0070] Figure 5 This is a flowchart illustrating a fabric display control method in one embodiment;
[0071] Figure 6 This is a flowchart illustrating the process of determining pattern configuration parameters in one embodiment;
[0072] Figure 7 This is a schematic diagram of a menu page in the user interface of an application example;
[0073] Figure 8 This is a diagram illustrating the configuration page displayed in the user interface of an application example.
[0074] Figure 9 A schematic diagram of a configuration page for a display area in the user interface of an application example;
[0075] Figure 10 A schematic diagram of an environment parameter configuration page in the user interface of an application example;
[0076] Figure 11 A schematic diagram of the write method configuration page in the user interface of an application example;
[0077] Figure 12 This is a schematic diagram of the pattern clearing configuration page in the user interface of an application example;
[0078] Figure 13 This is a schematic diagram of the pattern update configuration page in the user interface of an application example;
[0079] Figure 14 This is a structural block diagram of a fabric display control device in one embodiment;
[0080] Figure 15 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0081] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0082] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0083] The fabric display control method provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, terminal 101 communicates with fabric body 102 and pattern writing device 103 via a network. Fabric body 102 is used to display the pattern corresponding to the image required by the user. Pattern writing device 103 can be controlled by terminal 101 to display the corresponding pattern on fabric body 102. Data storage system can store the data that terminal 101 needs to process. Data storage system can be integrated into terminal 101 or placed in the cloud or other network servers. When a user needs a pattern to be displayed on the fabric body 102, the user can execute a pattern display trigger operation through the terminal 101. In response to the pattern display trigger operation on the fabric body 102, the terminal 101 determines the pattern configuration parameters. Then, the terminal 101 can obtain the original image according to the pattern configuration parameters, and generate control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body 102. The display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device 103. After generating the control parameters, the terminal 101 can send the control parameters to the pattern writing device 103 to control the pattern writing device 103 to change the lying state of the pile structure on the fabric body 102 according to the control parameters, so as to present the pattern corresponding to the original image in the display area.
[0084] Terminal 101 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, drones, low-altitude aircraft, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, and projection equipment. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted displays. Head-mounted displays can be virtual reality (VR) devices, augmented reality (AR) devices, and smart glasses. Terminal 101 can integrate a controller, which can be a vehicle controller, a standalone microcontroller, a physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0085] like Figure 2 , Figure 3 and Figure 4As shown, the fabric body 102 can be made of materials including but not limited to suede, velvet, flocked fabric, corduroy, etc. One side surface of the fabric body 102 has a pile structure 1022. When subjected to external force, the pile structure 1022 can exhibit different lying states, such as different lying directions and degrees, thereby changing the angle of light reflection incident on the surface of the fabric body 102 to present different visual effects. For example, when the pile structure 1022 is upright, the surface of the fabric body 102 appears smoother and reflects light more strongly; while when the pile structure 1022 is lying down, the fabric surface becomes rougher and reflects light less, thus presenting different shades of color.
[0086] The pattern writing device 103 is disposed on the side of the fabric body 102 corresponding to the display area 1021. The side of the pattern writing device 103 facing the display area 1021 can, under the control of the terminal, contact and apply pressure to the pile structure 1022 of the display area 1021 to change the collapsed state of the pile structure 1022. The pattern writing device 103 includes multiple pressure actuation units 1031, which can be evenly arranged along the width direction (X-axis direction) of the display area 1021. Each pressure actuation unit 1031 is connected to the terminal, and each pressure actuation unit 1031 can operate independently. In other embodiments, the multiple pressure actuation units 1031 can also be evenly arranged in an array. The pressure actuation units 1031 can be implemented using structures such as miniature electromagnetic push rods, servo-driven plungers, piezoelectric actuators, and pneumatic miniature pistons. In the initial state, the side surface of each pressure actuation unit 1031 facing the pile structure 1022 does not contact the end of the pile structure 1022 when it is upright. Under the control of the terminal, the pressure actuation unit 1031 can move toward the pile structure 1022 and apply pressure to the pile structure 1022, causing the pile structure 1022 to lie down. In this way, the pattern in the display area 1021 can be displayed by controlling different pressure actuation units 1031.
[0087] In a specific implementation, the fabric body 102 can be a roller blind type, a lifting type, or a sliding type. One end of the fabric body 102 is provided with a driving device connected to the terminal. The driving device can drive the fabric body 102 to unfold and retract. The pattern writing device 103 is provided at the end of the fabric body 102 corresponding to the driving device. When the fabric body 102 is unfolded under the drive of the driving device, the pattern writing device 103 can periodically contact the surface of the fabric body 102. Each time the pattern writing device 103 contacts the surface of the fabric body 102, it can form a line of pattern on the surface of the fabric body 102. Until the fabric body 102 is fully unfolded, the pattern writing device 103 can form a complete pattern on the fabric body 102. In some other embodiments, the fabric body 102 may also be a non-shrinkable structure. The pattern writing device 103 is disposed at one end of the fabric body 102. The pattern writing device 103 may be provided with a corresponding driving device to move relative to the length direction (Y-axis direction) or width direction of the fabric body 102 under the drive of the driving device, and periodically contact the surface of the fabric body 102 during the movement, thereby forming a corresponding pattern on the fabric body 102.
[0088] In one exemplary embodiment, such as Figure 5 As shown, a fabric display control method is provided, which is applied to... Figure 1 Taking terminal 101 as an example, the explanation includes the following steps 501 to 503. Wherein:
[0089] Step 501: In response to a pattern display trigger operation for the fabric body, determine the pattern configuration parameters.
[0090] The fabric itself refers to a textile material product with an oriented pile structure that serves as the carrier for the pattern. The fabric itself can be the curtain fabric in indoor motorized curtains, the sunshade in car interiors, etc. The material of the fabric itself can include, but is not limited to, suede, velvet, flocked fabric, corduroy, etc. Through its oriented pile structure, the fabric itself can possess specific optical properties. When the pile structure is altered under external force, different visual effects can be presented due to differences in light reflection. For example, the pile structure on the fabric itself can be altered under the action of a pattern writing device to adjust the image presented by the fabric.
[0091] A pattern display trigger operation refers to the operation used to initiate the pattern display process on the fabric. This operation can be initiated by the user or by the terminal itself. For example, it could be triggered by the user pressing a specific button, touching an area on the screen, issuing a voice command, or by the terminal automatically triggering the operation based on preset conditions (such as time, environmental changes, etc.). As the starting signal for the entire pattern display process, the pattern display trigger operation allows the terminal to begin subsequent steps, such as determining pattern configuration parameters. Pattern configuration parameters refer to the relevant parameters for pattern display on the fabric. These parameters may include, but are not limited to, configuration parameters for the display area on the fabric, configuration parameters for the fabric's environment, configuration parameters for the pattern writing device during pattern writing, and configuration parameters for clearing and updating patterns on the fabric.
[0092] For example, taking the pattern display on the sunshade in a vehicle as an example, when a user needs to display a pattern, they can trigger the pattern display by using the corresponding control on the touch screen in the vehicle (such as the central control screen, rear display screen, etc.) or by pressing the button in the vehicle specifically used to trigger the sunshade to display a pattern. The terminal can respond to the pattern display trigger operation initiated by the user, collect the user's pre-configured personalized preference information and the current environmental information of the vehicle (such as light intensity, time, vehicle driving status, etc.), and comprehensively determine the pattern configuration parameters based on the collected personalized preference information and environmental information.
[0093] Step 502: Obtain the original image according to the pattern configuration parameters, and generate control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body.
[0094] The original image, as image data that presents the pattern on the fabric itself, can be a photograph taken by a digital camera, an image generated by computer graphics generation software, a scanned image, an image selected from an image database, etc.
[0095] The display area refers to a specific area on the fabric body pre-defined for displaying a pattern. The display area can be a portion of the fabric body or the entire surface of the fabric body. The shape and size of the display area can be determined according to actual needs, such as rectangular, circular, or irregular shapes. Display resolution indicates the number of pattern details that can be displayed per unit length within the display area, and can be measured by pixel density. Display resolution can be determined based on the size of the display area and the unit writing range of the pattern writing device. The unit writing range refers to the smallest range within which the pattern writing device can change the pile structure's flattening state in a single operation. The unit writing range reflects the accuracy of the pattern writing device. The unit writing range can be expressed in units of length or area, such as millimeters, centimeters, or square centimeters. The smaller the unit writing range, the higher the accuracy of the pattern writing device, enabling precise adjustments to the pile structure within a smaller area, thereby achieving higher resolution pattern display.
[0096] Control parameters refer to the parameters used to control the operation of the pattern writing device. These parameters determine how the device alters the pile structure's lie position on the fabric to achieve the pattern representation corresponding to the original image. Specifically, control parameters may include, but are not limited to, the writing pressure, writing speed, and writing direction. By determining these control parameters, it can be ensured that the pattern writing device accurately alters the pile structure's lie position according to the requirements of the original image, thereby presenting a high-quality pattern on the fabric.
[0097] For example, the terminal can select an original image to be displayed on the fabric body from an image database based on the determined pattern configuration parameters, or generate an original image according to the pattern configuration parameters. The terminal can also generate control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body.
[0098] Step 503: Send the control parameters to the pattern writing device.
[0099] Among them, the control parameters are used to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area.
[0100] For example, the terminal can send control parameters to the pattern writing device to control the pattern writing device to contact the pile structure on the fabric body according to the control parameters, so as to change the lying state of the pile structure, such as changing the lying direction and degree of the pile structure, so that the pile structure can reflect light differently in different lying states, and can present different gloss and pattern effects visually, so as to present a pattern corresponding to the original image in the display area on the surface of the fabric body.
[0101] In the aforementioned fabric display control method, pattern configuration parameters are determined in response to a pattern display trigger operation on the fabric body; an original image is acquired based on the pattern configuration parameters, and control parameters are generated based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device; the control parameters are sent to the pattern writing device; the control parameters are used to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area. By determining the pattern configuration parameters in response to a pattern display trigger operation on the fabric body, users can quickly configure the pattern to be presented on the fabric body, which is beneficial to improving the pattern configuration efficiency. Subsequently, the control parameters are generated based on the pattern configuration parameters, the original image, and the display resolution of the display area to instruct the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area. This enables dynamic display of patterns on the fabric body, thereby effectively improving the presentation effect of fabric patterns and meeting diverse personalized display needs.
[0102] In one embodiment, such as Figure 6 As shown, in response to a pattern display trigger operation on the fabric body, pattern configuration parameters are determined, including:
[0103] Step 601: In response to a pattern display trigger operation on the fabric body, display the display configuration area.
[0104] The display configuration area refers to the area on the user interface (such as a software interface, device operation interface, etc.) used for configuring the display of patterns on the fabric. The display configuration area can be presented graphically and can include at least one display configuration item and interactive elements for the fabric, so as to facilitate users to configure various parameters of the pattern display on the fabric.
[0105] For example, a user can perform a pattern display trigger operation by clicking or touching on the user interface. The terminal can display a display configuration area on the user interface according to the pattern display trigger operation performed by the user. The display configuration area includes at least one display configuration item for the fabric body. The display configuration item may include, but is not limited to, one or more of the following: display area configuration item, environmental parameter configuration item, writing method configuration item, pattern clearing configuration item, and pattern update configuration item.
[0106] In specific implementation, such as Figure 7The image shows the "Menu" page on the user interface. Users can select the "Display Configuration" control on the "Menu" page by touch. The terminal can respond to the user's selection of the "Display Configuration" control and navigate to the "Display Configuration" page on the user interface (e.g., ...). Figure 8 As shown in the image, the "Display Configuration" page is the display configuration area. This page displays controls for "Display Area Configuration," "Environment Parameter Configuration," "Write Method Configuration," "Pattern Clear Configuration," "Pattern Update Configuration," and "Custom Configuration," which are the display configuration items. Users can select these controls by touch, and then click the "OK" button to access the corresponding configuration page for each item.
[0107] Step 602: In response to a configuration operation for at least one display configuration item, obtain pattern configuration parameters based on the display configuration result corresponding to the configuration operation.
[0108] Here, configuration operation refers to the interactive operation performed by the user on at least one display configuration item in the display configuration area. For example, configuration operation may include, but is not limited to, operations such as clicking a drop-down menu, selecting, or entering values. Display configuration result refers to the result related to the pattern display shown on the configuration page of the corresponding configuration item after the user completes the configuration operation on at least one display configuration item. The display configuration result can be presented in a visual form, for example, listing the specific content of each configuration parameter in text form on the configuration interface.
[0109] For example, after the terminal displays the corresponding configuration page based on the display configuration item selected by the user, the user can perform configuration operations on the configuration page by clicking drop-down menus, selecting, or entering values. The terminal can then display the specific content of each configuration parameter on the configuration page, i.e., display the configuration result. Afterwards, the terminal can obtain the corresponding pattern configuration parameters for each display configuration item based on the specific content of each configuration parameter.
[0110] In an optional embodiment, the terminal can respond to a confirmation operation on the display configuration result and obtain the pattern configuration parameters based on the display configuration result. The confirmation operation refers to the user's confirmation of the display configuration result. For example, the confirmation operation can be the user clicking on controls such as "OK" or "Save" on the configuration page. Specifically, after the terminal displays the specific content of each configuration parameter under the display configuration item on the configuration page, the user can confirm the specific content of each configuration parameter by clicking the "OK" control on the configuration page; the terminal can then obtain the pattern configuration parameters corresponding to each display configuration item based on the user's clicking of the "OK" control and the specific content of each configuration parameter.
[0111] In this embodiment, when the fabric pattern display operation is triggered, a display configuration area including at least one display configuration item is displayed. The user can select the corresponding display configuration item to perform the configuration operation according to the configuration requirements, and confirm the configuration after the configuration meets the expectations, thereby obtaining the pattern configuration parameters. This can simplify the fabric pattern display configuration process, meet the user's personalized customization needs, and improve the user experience and pattern display efficiency.
[0112] In one embodiment, the display configuration items include a display area configuration item.
[0113] Among them, the display area configuration item refers to the configuration item used to set relevant parameters for the display area on the fabric body used to display patterns. The display area configuration item may include, but is not limited to, display area position configuration item, display area size configuration item, and display resolution configuration item.
[0114] The display area position configuration item determines the specific location of the display area within the fabric. The display area position can be defined in several ways. For example, it can be described using relative position, such as centering, left-hand, right-hand, top-hand, or bottom-hand on the fabric. Alternatively, it can be determined by inputting coordinate values (e.g., in a two-dimensional coordinate system, with the bottom left corner of the fabric as the origin, inputting the coordinates of the top left and bottom right corners of the display area). The display area size configuration item sets the size (length and width) of the display area. The display area size can be determined by user-inputted values or by preset size specifications (e.g., small, medium, large). The display resolution configuration item sets the number of pattern details that can be displayed per unit length of the display area. The display resolution is determined by user-inputted pixel count.
[0115] Furthermore, in response to a configuration operation for at least one display configuration item, pattern configuration parameters are obtained based on the display configuration result corresponding to the configuration operation, including:
[0116] In response to a selection operation for the display area configuration item, display area position configuration item, display area size configuration item, and display resolution configuration item for the display area are displayed; in response to a display area configuration operation for the display area position configuration item, display area size configuration item, and display resolution configuration item, the area position, area size, and display resolution of the display area in the fabric body are determined; at least based on the area position, area size, and display resolution, the pattern configuration parameters are obtained.
[0117] The selection operation for display area configuration items refers to the interactive operation where the user selects display area configuration items on the display configuration page, indicating the configuration of relevant parameters for the display area. Display area configuration operations refer to the interactive operations such as inputting values and making selections for display area location configuration items, display area size configuration items, and display resolution configuration items. For example, entering coordinate values in the display area location configuration item, entering size values in the display area size configuration item, and selecting resolution values in the display resolution configuration item, etc.
[0118] For example, a user can select display area configuration items on the user interface by clicking or touching. Based on the user's selection, the terminal displays the display area position, display area size, and display resolution configuration items on the user interface. The user can then perform specific configuration operations for the display area position, size, and resolution based on these displayed options. The terminal, based on these configuration operations, obtains the display area's position, size, and resolution within the fabric body and displays the resulting display area configuration in the user interface. Subsequently, the terminal can obtain the pattern configuration parameters based on the display area position, size, and resolution included in the configuration results.
[0119] In specific implementation, such as Figure 8 The image shows the "Display Configuration" page on the user interface. Users can select the "Display Area Configuration" control on this page via touch. The terminal can respond to the user's selection of the "Display Area Configuration" control and navigate to the "Display Area Configuration" page on the user interface (e.g., ...). Figure 9As shown in the image, the "Display Area Configuration" page displays configuration options for display area location, display area size, and display resolution. In the display area location configuration option, users can select either coordinates or relative position to configure the display area location. If coordinates are selected, the user can determine the display area location by setting the corresponding coordinates. If position is selected, the user can choose the relative position of the display area within the fabric body from the drop-down menu. In the display area size configuration option, users can input the specific length and width values of the display area to configure its size. In the display resolution configuration option, users can select a predefined resolution from the drop-down menu. After configuration, the terminal displays the display area location, size, and resolution on the "Display Area Configuration" page, and the display area configuration result is displayed after the user clicks "OK".
[0120] In an optional embodiment, the terminal can also determine the display resolution of the display area based on the size of the display area configured by the user and the unit writing range of the pattern writing device. Specifically, the terminal can determine the position of the display area in the fabric body used to present the pattern corresponding to the original image, and determine the unit writing range of the pattern writing device in the display area according to the number of pressure actuation units included in the pattern writing device; and determine the display resolution of the display area according to the size mapping relationship between the size of the display area and the size of the unit writing range configured by the user.
[0121] Size mapping refers to the correspondence between the size of the display area and the size of the unit write range. Size mapping can include a first proportional relationship of the unit write range in the width direction of the display area and a second proportional relationship in the length direction. The first proportional relationship refers to the correspondence between the width of the display area and the width of the unit write range in the width direction (X-axis direction), and the second proportional relationship refers to the correspondence between the length of the display area and the length of the unit write range in the length direction (Y-axis direction).
[0122] For example, in Figure 2The display area shown is a rectangle with a width of 20cm and a height of 20cm. Each display pixel is a 1cm x 1cm area. This display area has 20 rows and 20 columns, totaling 400 display pixels, with a display resolution of 20 x 20. The unit writing range is determined by the pattern writing device. For example, if the effective area of each pressure actuation unit in contact with the pile structure is 1cm x 1cm, then the unit writing range of the pattern writing device, which includes 20 pressure actuation units, is 20cm x 1cm. That is, the pattern writing device can complete the writing of 20 display pixels with each contact with the pile structure. Since the pressure actuation units in the pattern writing device are distributed along the width direction of the display area, the first ratio between the width of the display area and the width of the unit writing range is 1:1, which means that the pattern writing device can complete the writing of one row of patterns in the display area with one action. The second ratio between the length of the display area and the length of the unit writing range is 20:1, which means that the pattern writing device needs to take 20 actions to complete the writing of one column of patterns (i.e., the writing of the entire pattern) in the display area.
[0123] Furthermore, based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body, control parameters are generated, including:
[0124] Control parameters are generated based on at least one of the region location, region size, and display resolution included in the pattern configuration parameters and the original image.
[0125] Among them, the control parameters are used to control the pattern writing device to change the folding state of the fluff structure in the display area according to the control parameters, so as to present the pattern corresponding to the original image in the display area according to the area position, area size and display resolution.
[0126] For example, the terminal can select an original image to be displayed on the fabric body from an image database based on the region position, region size, and display resolution included in the determined pattern configuration parameters, or generate an original image according to the pattern configuration parameters. The terminal can also generate control parameters based on at least one of the region position, region size, and display resolution, the original image, and the display resolution of the display area in the fabric body. These control parameters are used to control the pattern writing device to change the flattening state of the pile structure in the display area, so as to present the pattern corresponding to the original image in the display area according to the configured region position, region size, and display resolution.
[0127] In this embodiment, by refining the display area configuration items into display area position configuration items, display area size configuration items, and display resolution configuration items, users can quickly and accurately configure various parameters of the display area, and display the configuration results after configuration. This allows users to easily confirm the configuration operation, and then generate control parameters based on the user-configured display area parameters to precisely control the lofting state of the pile structure. This enables personalized fabric pattern presentation, improves the fabric pattern presentation effect and quality, and meets diverse needs.
[0128] In one embodiment, the display configuration items include environment parameter configuration items.
[0129] Among them, the environmental parameter configuration items refer to the configuration items used to set parameters related to the environment in which the fabric body is located. Environmental parameter configuration items may include, but are not limited to, environmental information configuration items and information source configuration items.
[0130] The environmental information configuration item refers to the configuration item used to determine the environmental information of the environment in which the fabric is located. Environmental information can be factors that affect the display effect of the fabric. For example, environmental information may include, but is not limited to, at least one of lighting information and object information of the object displayed by the fabric. Lighting information refers to data related to the lighting conditions in the environment in which the fabric is located, and may include, but is not limited to, light intensity, light angle, and light color. For example, different light intensities will cause differences in the brightness and darkness of the pattern presented on the fabric; the pattern may be clearer under strong light and blurrier under weak light; similarly, the direction of light will affect the three-dimensionality and shadow effects of the pattern presented on the fabric. The object information displayed by the fabric body refers to the correspondence between the pattern presented on the fabric body that can be seen or observed. For example, when the fabric body is a sunroof sunshade of a vehicle, the object it displays can be the driver and passengers inside the vehicle. Similarly, when the fabric body is a sunshade for a side window or a rear windshield of a vehicle, the object it displays can be the driver and passengers inside the vehicle or people outside the vehicle. Due to the different lighting and viewing angles of different objects, the pattern itself or the effect of the pattern presented by the fabric body observed by the object will be different.
[0131] The information source configuration item refers to the configuration item used to specify the method for obtaining environmental information. Information sources can include, but are not limited to, sensors installed in the environment where the fabric is located (such as light sensors, temperature sensors, and humidity sensors) acquiring environmental information in real time; information can also be obtained from external devices (such as environmental monitoring devices connected to the same network); or environmental information manually entered by the user. It should be noted that the environmental information configuration item is primarily for configuring environmental information when the information source is manually entered by the user. In this case, the user can select different pre-set environments and scenarios to determine the environmental information.
[0132] Furthermore, in response to a configuration operation for at least one display configuration item, pattern configuration parameters are obtained based on the display configuration result corresponding to the configuration operation, including:
[0133] In response to the selection operation for the environmental parameter configuration item, display the environmental information configuration item and information source configuration item for the environment in which the fabric body is located; in response to the environmental parameter configuration operation for the environmental information configuration item and information source configuration item, determine the environmental information and information source of the environment in which the fabric body is located; at least based on the environmental information and information source, obtain the pattern configuration parameters.
[0134] The selection of environmental parameter configuration items refers to the interactive operation where users choose environmental parameter configuration items on the displayed configuration page, indicating the configuration of relevant parameters for the environment in which the fabric is located. Environmental parameter configuration operations include user interactions such as inputting values and making selections for environmental information configuration items and information source configuration items. For example, in the environmental information configuration item, users may input / select light intensity values or select a scene; in the information source configuration item, they may choose to use built-in sensors to obtain information or obtain information from external devices.
[0135] For example, a user can select environmental parameter configuration items on the user interface by clicking or touching. Based on the user's selection, the terminal displays environmental information configuration items and information source configuration items for the fabric's environment on the user interface. The user can then perform specific configuration operations for the environmental information and information source based on these displayed options. The terminal obtains the environmental information and information source of the fabric's environment based on these configuration operations and displays the environmental parameter configuration results on the user interface. Subsequently, the terminal obtains the pattern configuration parameters based on the environmental information and information source included in the configuration results.
[0136] In specific implementation, such as Figure 8The image shows the "Display Configuration" page on the user interface. Users can select the "Environment Parameter Configuration" control on the "Display Configuration" page via touch. The terminal can respond to the user's selection of the "Environment Parameter Configuration" control and navigate to the "Environment Parameter Configuration" page on the user interface (e.g., ...). Figure 10 As shown in the image, the "Environmental Parameter Configuration" page displays two configuration items: Information Source and Environmental Information. In the Information Source configuration item, users can select the source of environmental information via a drop-down menu, such as camera, sensor, or user-defined source. In the Environmental Information configuration item, users can select the environment, scene, or add custom environmental information via a drop-down menu. After configuration, the terminal displays the information source and environmental information on the "Environmental Parameter Configuration" page, and the environmental parameter configuration result is displayed after the user clicks "OK".
[0137] Furthermore, based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body, control parameters are generated, including:
[0138] Control parameters are generated based on at least one of the environmental information and information sources included in the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body.
[0139] Among them, the control parameters are used to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present a pattern in the display area that corresponds to the original image and matches the environmental information.
[0140] For example, after the user configures the environmental information, the terminal can obtain the lighting information of the area where the fabric body is located or the position information and lighting information of the displayed object based on the information source configured by the user and the environmental information. Based on at least one of the lighting information of the area where the fabric body is located or the position information and lighting information of the displayed object, as well as the original image and display resolution, the terminal determines the control parameters to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present a pattern corresponding to the original image and matching the environmental information in the display area.
[0141] In this embodiment, by refining the environmental parameter configuration items into information source configuration items and environmental information configuration items, users can quickly and accurately configure various parameters of the environment in which the fabric body is located, and display the environmental parameter configuration results after configuration. This makes it convenient for users to confirm the configuration operation, and can generate control parameters by comprehensively considering the external factors that affect the pattern presentation effect of the fabric body. This allows the pattern display on the fabric body to better adapt to different environments, which is conducive to improving the pattern presentation effect and enhancing the visual effect of the fabric body in different scenarios.
[0142] In one embodiment, the display configuration items include a write mode configuration item.
[0143] The writing mode configuration item refers to the configuration item used to set the specific method by which the pattern writing device writes patterns onto the display area of the fabric body. The writing mode configuration item may include, but is not limited to, the writing path configuration item, the writing speed configuration item, and the unit writing range configuration item.
[0144] The write path configuration item determines the trajectory of the pattern writing device as it moves across the fabric and writes the pattern. The write path can be a straight line, curve, or polygonal line, or it can be a path planned according to a specific pattern outline or area. For example, the write path can be written line by line or column by column. The write speed configuration item sets the speed at which the pattern writing device moves across the fabric. The write speed can be configured with a specific numerical value or based on relative speed (e.g., fast, medium, slow). The unit write range configuration item determines the unit area or length covered by the pattern writing device on the fabric in each write operation. The unit write range refers to the smallest range within which the pattern writing device can change the pile structure's flattening state in a single operation. The unit write range reflects the accuracy of the pattern writing device. The unit write range can be expressed in units of length or area, such as millimeters, centimeters, or square centimeters. The smaller the unit write range, the higher the accuracy of the pattern writing device, enabling precise adjustments to the pile structure within a smaller area, thus achieving higher resolution pattern rendering.
[0145] Furthermore, in response to a configuration operation for at least one display configuration item, pattern configuration parameters are obtained based on the display configuration result corresponding to the configuration operation, including:
[0146] In response to a selection operation for the write mode configuration item, the write path configuration item, write speed configuration item, and unit write range configuration item for the pattern writing device are displayed; in response to a write mode configuration operation for the write path configuration item, write speed configuration item, and unit write range configuration item, the write path, write speed, and unit write range of the pattern writing device are determined; and the pattern configuration parameters are obtained based at least on the write path, write speed, and unit write range.
[0147] The selection of the write mode configuration item refers to the interactive operation where the user selects the write mode configuration item on the displayed configuration page, indicating the configuration of the write mode of the pattern writing device. The write mode configuration operation includes interactive operations such as inputting values and making selections for the write path configuration item, write speed configuration item, and unit write range configuration item. For example, in the write path configuration item, a write path is selected; in the write speed configuration item, a speed value or a relative write speed is entered; and in the unit write range configuration item, the number of rows and columns written by the pattern writing device in a single operation is configured.
[0148] For example, a user can select writing mode configuration items on the user interface by clicking or touching. Based on the user's selection, the terminal displays the writing path configuration, writing speed configuration, and unit writing range configuration items for the pattern writing device on the user interface. The user can then perform specific configuration operations for the writing path, writing speed, and unit writing range displayed on the user interface. The terminal obtains the writing path, writing speed, and unit writing range of the pattern writing device based on the user's specific configuration operations and displays the writing mode configuration results for the writing path, writing speed, and unit writing range on the user interface. Subsequently, the terminal obtains the pattern configuration parameters based on the writing path, writing speed, and unit writing range included in the writing mode configuration results.
[0149] In specific implementation, such as Figure 8 The image shows the "Display Configuration" page on the user interface. Users can select the "Write Mode Configuration" control on the "Display Configuration" page via touch. The terminal can respond to the user's selection of the "Write Mode Configuration" control and navigate to the "Write Mode Configuration" page on the user interface (e.g., ...). Figure 11 As shown in the image, the "Write Mode Configuration" page displays write path configuration items, write speed configuration items, and unit write range configuration items. In the write path configuration item, users can select a write path by row, by column, or a custom write path by clicking. In the write speed configuration item, users can select fast, medium, slow, or a custom write speed by clicking. In the unit write range configuration item, users can enter specific data to configure the rows and columns of the pattern written by the pattern writing device in a single operation. After configuration, the terminal displays the write path, write speed, and unit write range on the "Write Mode Configuration" page, and the write mode configuration result is displayed after the user clicks "OK".
[0150] Furthermore, based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body, control parameters are generated, including:
[0151] Control parameters are generated based on at least one of the write path, write speed, and unit write range included in the pattern configuration parameters, as well as the display resolution of the display area in the original image and the fabric body.
[0152] The control parameters are used to sequentially control the pattern writing device to change the lying state of the pile structure at the corresponding position on the fabric body according to the sub-control parameters included in the control parameters and the control timing of each sub-control parameter, so as to present the pattern corresponding to the original image in the display area.
[0153] Sub-control parameters can be specific control parameters divided according to each unit write range after decomposing the entire pattern write operation. Each sub-control parameter corresponds to one unit write range. Since the entire pattern is composed of multiple unit write ranges, dividing the control parameters into multiple sub-control parameters allows for independent control of each small area. For example, in... Figure 2 In the displayed area, each row of display pixels corresponds to one unit of write range. The control parameters of the pattern writing device determined for each row of display pixels are called sub-control parameters. Control timing refers to the order in which each sub-control parameter is executed during the pattern writing process. Control timing is used to control the start and end times of each sub-control parameter to ensure that the pattern writing device can write patterns in sequence.
[0154] For example, the terminal can determine the control timing of each sub-control parameter included in the control parameters according to the write path and unit write range configured by the user. Then, based on the control timing of each sub-control parameter, the terminal can control the pattern writing device to change the lying state of the pile structure at the corresponding position on the fabric body according to the write speed configured by the user, so as to present the pattern corresponding to the original image in the display area.
[0155] In practical implementation, the terminal can determine the unit writing range of the pattern writing device through the pressure actuation unit included in the pattern writing device. The pressure actuation unit is a component of the pattern writing device, and it changes the drooping state of the pile structure by applying pressure through contact with the pile structure. The pattern writing device can include multiple pressure actuation units arranged side-by-side, each of which can operate independently to apply pressure to the pile structure in a specific area. Each pressure actuation unit can contact the pile structure within a single display pixel range to change the drooping state of the pile structure within that range. A single display pixel refers to the smallest area capable of independently presenting a pattern state. A single display pixel can be composed of a certain number of pile structures. By changing the drooping state of the pile structures at corresponding positions, different visual effects can be presented, thus forming the entire pattern. The size of a single display pixel can be determined based on the effective contact area of the pressure actuation unit when contacting the pile structure. For example, in... Figure 3 In this device, the pattern writing device includes 20 pressure actuation units arranged side by side. Each time the pattern writing device is activated, it can complete the writing of a pattern of 20 display pixels. That is, the unit writing range of the pattern writing device is 20 display pixels.
[0156] Optionally, the control parameters can be encapsulated in column-major order as byte streams. That is, the control instructions for each pressure execution unit within the unit write range are encapsulated in byte streams of different columns. For example, taking a 3×3 display area as an example, which includes 3 rows and 3 columns of display pixels, and the pattern writing device includes 3 pressure execution units, the corresponding unit write range of the pattern writing device is 3×1. That is, the pattern writing device can complete the writing of one row of the pattern with each write operation, and repeating this process three times completes the writing of the entire pattern. The control parameters of the pattern writing device can be represented as [A11,A12,A13;B11,B12,B13;C11,C12,C13], where A11, A12, and A13 are the first to third elements forming the first row, respectively. The control instructions correspond to the patterns in the columns. B11, B12, and B13 are the control instructions for forming the patterns in the first to third columns of the second row, respectively. C11, C12, and C13 are the control instructions for forming the patterns in the first to third columns of the third row, respectively. When the terminal encapsulates these control instructions, it follows the column priority order, that is, it packs A11, B11, and C11 into a byte stream, packs A12, B12, and C12 into a byte stream, and packs A13, B13, and C13 into a byte stream. The terminal can extract the control instructions A11, A12, and A13 from each byte stream as sub-control parameters of the first row according to the unit write range, and determine the control timing corresponding to each sub-control parameter according to the position of the control instructions A11, A12, and A13 in their respective byte streams.
[0157] The terminal can send A11, A12, and A13 to the pattern writing device according to the corresponding control timing sequence, so as to control each pressure actuation unit to act according to A11, A12, and A13, thereby obtaining the pattern of the first row. During this process, the terminal can obtain the position synchronization module set on the fabric body to determine the relative position of the fabric body and the pattern writing device. When it detects that the pattern writing device is located at the position of the second row in the display area of the fabric body, it extracts the control instructions B11, B12, and B13 of the second row from each byte stream, so as to control each pressure actuation unit to act according to B11, B12, and B13, thereby obtaining the pattern of the second row. This process is repeated until a complete pattern is presented in the display area.
[0158] In this embodiment, by refining the writing mode configuration item into writing path configuration item, writing speed configuration item, and unit writing range configuration item, users can quickly and accurately configure the writing mode of the pattern writing device. After configuration, the writing mode configuration result is displayed, which facilitates user confirmation of the configuration operation. Furthermore, after generating the corresponding control parameters, the control timing of each sub-control parameter in the control parameters can be determined. Based on the control timing, the pattern writing device is controlled sequentially to change the pile structure of the corresponding position of the fabric according to the sub-control parameters. The pattern writing device can be controlled in sequence to ensure that the pile structure of each position changes according to the predetermined requirements, thereby accurately and orderly presenting the pattern corresponding to the original image in the display area and improving the pattern display effect in the fabric body.
[0159] In one embodiment, the display configuration includes a pattern clearing configuration.
[0160] The pattern clearing configuration item refers to the configuration item used to set the clearing operation of patterns already displayed in the display area. The pattern clearing configuration item may include, but is not limited to, clearing trigger condition configuration item and clearing method configuration item.
[0161] The pattern clearing trigger condition configuration item determines the conditions under which the pattern clearing operation in the display area is triggered; that is, the pattern clearing trigger condition. Pattern clearing trigger conditions can be set based on various factors such as display time, scene, and user needs. For example, the clearing operation may be automatically triggered after a pattern on the fabric has been displayed for a certain period, or it may be triggered when the scene changes (e.g., a pattern on a car sunshade is cleared after the vehicle is turned off or the driver gets out), or the user can manually trigger the pattern clearing operation according to their needs. Users can configure the clearing trigger conditions by selecting automatic or manual triggering. The clearing method configuration item selects the specific method used to clear the pattern in the display area. For example, the clearing method can be the clearing structure, the clearing order, the range, etc. Users can select the corresponding clearing method by manually entering it or by using a drop-down menu.
[0162] Furthermore, in response to a configuration operation for at least one display configuration item, pattern configuration parameters are obtained based on the display configuration result corresponding to the configuration operation, including:
[0163] In response to a selection operation for the pattern clearing configuration item, display the clearing trigger condition configuration item and clearing method configuration item for the pattern presented in the display area; in response to a pattern clearing configuration operation for the clearing trigger condition configuration item and clearing method configuration item, determine the clearing trigger condition and clearing method for the pattern presented in the display area; obtain the pattern configuration parameters based at least on the clearing trigger condition and clearing method.
[0164] The selection operation for the pattern clearing configuration item refers to the interactive operation where the user selects the pattern clearing configuration item on the display configuration page, indicating the configuration of the clearing process for the pattern displayed in the display area. The pattern clearing configuration operation involves the user's interactive operations such as inputting values and making selections for the clearing trigger condition configuration item and the clearing method configuration item for the pattern displayed in the display area. For example, in the clearing trigger condition configuration item, the user can choose manual or automatic triggering, and in automatic triggering, set time parameters or select the event type; in the clearing method configuration item, the user can choose a specific clearing method or a custom clearing method.
[0165] For example, a user can select pattern clearing configuration items on the user interface by clicking or touching. Based on the user's selection, the terminal displays clearing trigger condition configuration items and clearing method configuration items for the pattern presented in the display area on the user interface. The user can then perform specific configuration operations for the clearing trigger condition and clearing method based on the displayed options. The terminal obtains the clearing trigger condition and clearing method for the pattern presented in the display area based on the user's configuration, and displays the pattern clearing configuration result in the user interface. Subsequently, the terminal obtains the pattern configuration parameters based on the clearing trigger condition and clearing method included in the pattern clearing configuration result.
[0166] In specific implementation, such as Figure 8 The image shows the "Display Configuration" page on the user interface. Users can select the "Pattern Clear Configuration" control on the "Display Configuration" page via touch. The terminal can respond to the user's selection of the "Pattern Clear Configuration" control and navigate to the "Pattern Clear Configuration" page on the user interface (e.g., ...). Figure 12 As shown in the image, the "Pattern Clearing Configuration" page displays clearing trigger condition configuration items and clearing method configuration items. In the clearing trigger condition configuration item, users can select automatic or manual clearing by clicking. If the user selects automatic, they can choose a preset or custom clearing trigger condition from the drop-down menu. In the clearing method configuration item, users can select a preset clearing method or a custom clearing method by clicking. If the user selects a preset clearing method, they can choose from the drop-down menu; if the user selects a custom clearing method, they can configure the clearing method through custom input. After configuration, the terminal displays the clearing trigger condition and clearing method on the "Pattern Clearing Configuration" page, and the pattern clearing configuration result is obtained after the user clicks "OK".
[0167] Furthermore, the fabric display control method also includes:
[0168] If the fabric body meets the pattern clearing triggering conditions, a clearing method for the pattern presented in the display area is determined; according to the clearing method, the pattern writing device is controlled to clear the pattern presented in the display area.
[0169] For example, the terminal can obtain the pattern clearing trigger condition configured by the user. Taking the display time as an example, the pattern clearing trigger condition can be half an hour. The terminal can start timing from the start time of the pattern presentation on the fabric body. When the presentation time reaches half an hour, the terminal can determine the clearing method for the pattern presented in the display area. For example, the terminal can control all pressure actuation units in the pattern writing device to extend and control the pattern writing device to move relative to the fabric body so that the pile structure falls in the same direction, thereby clearing the pattern presented in the display area.
[0170] In an optional embodiment, the removal method can also be achieved through a separate reset structure. For example, an additional flat roller or brush roller can be set. After the flat roller or brush roller comes into contact with the pile structure, it moves relative to the fabric body through terminal control. The flat roller can be made of smooth silicone or polyurethane material. When the brush roller is reset, its rotation direction can be controlled to be opposite to the direction of the pile structure in its natural state, so that the pile structure falls in the same direction during the operation, thereby removing the pattern presented in the display area.
[0171] In this embodiment, by refining the pattern clearing configuration item into a clearing trigger condition configuration item and a clearing method configuration item, users can quickly and accurately configure the clearing process of the pattern presented in the fabric body, and display the pattern clearing configuration result after configuration. This allows users to easily confirm the configuration operation. When the fabric body meets the pattern clearing trigger condition, the clearing method of the pattern in the display area can be determined. Then, the pattern writing device is controlled to clear the pattern according to the clearing method, so as to eliminate or replace the pattern. This helps to improve the flexibility and effect of pattern presentation and meet diverse usage needs.
[0172] In one embodiment, the display configuration includes a pattern update configuration.
[0173] The pattern update configuration item refers to the configuration item used to update the pattern already displayed in the display area. The pattern update configuration item may include, but is not limited to, pattern update condition configuration items and image source replacement configuration items.
[0174] The pattern update condition configuration item determines the conditions under which an update operation is triggered on the pattern in the display area. Pattern update conditions can be based on time factors (such as reaching a specific time point or time period) or display status parameters (such as integrity falling below a set threshold). For example, under time-triggered conditions, the pattern in the display area may be automatically updated after a specific time or after a certain display period; under display status-triggered conditions, such as when the pattern's integrity is below 70%, the pattern in the display area may be automatically updated. Users can configure the pattern update conditions by selecting automatic or manual triggering.
[0175] The "Replacement Image Source" configuration option selects the method for obtaining the replacement image when updating a pattern in the display area. The replacement image is the new image used to replace the original pattern in the current display area after the pattern update conditions are met. The replacement image can be an image pre-stored in the system or an image generated or acquired in real time. For example, in the case of a sunshade in a vehicle, a matching image can be dynamically generated based on the vehicle's environment. Users can select the corresponding clearing method manually or through a drop-down menu.
[0176] Furthermore, in response to a configuration operation for at least one display configuration item, pattern configuration parameters are obtained based on the display configuration result corresponding to the configuration operation, including:
[0177] In response to a selection operation for a pattern update configuration item, display the pattern update condition configuration item and the replacement image source configuration item for the pattern presented in the display area; in response to a pattern update configuration operation for the pattern update condition configuration item and the replacement image source configuration item, determine the pattern update condition and the replacement image source for the pattern presented in the display area; obtain the pattern configuration parameters based at least on the pattern update condition and the replacement image source.
[0178] The selection operation for pattern update configuration items refers to the interactive operation where the user selects pattern update configuration items on the display configuration page, indicating the configuration of the pattern update process for the pattern displayed in the display area. Pattern update configuration operations refer to the interactive operations performed by the user, such as inputting values and making selections, for the pattern update condition configuration items and the replacement image source configuration items for the pattern displayed in the display area. For example, in the pattern update condition configuration items, the user can choose manual or automatic triggering, and in automatic triggering, set time parameters or select the event type; in the replacement image source configuration items, the user can select a local folder path or enter a network image address.
[0179] For example, a user can select pattern update configuration items on the user interface by clicking or touching. Based on the user's selection, the terminal displays pattern update condition configuration items and replacement image source configuration items for the pattern presented in the display area. The user can then perform specific configuration operations for the pattern update conditions and replacement image source based on the displayed configuration items. The terminal obtains the pattern update conditions and replacement image source for the pattern presented in the display area based on the user's specific configuration operations, and displays the pattern update configuration results for the pattern update conditions and replacement image source in the user interface. Subsequently, the terminal obtains the pattern configuration parameters based on the pattern update conditions and replacement image source included in the pattern update configuration results.
[0180] In specific implementation, such as Figure 8 As shown, this is the "Display Configuration" page on the user interface. Users can select the "Pattern Update Configuration" control on the "Display Configuration" page via touch. The terminal can respond to the user's selection of the "Pattern Update Configuration" control and navigate to the "Pattern Update Configuration" page on the user interface (e.g., ...). Figure 13 As shown in the image, the "Pattern Update Configuration" page displays pattern update condition configuration items and replacement image source configuration items. In the pattern update condition configuration item, users can select automatic or manual mode to trigger pattern updates by clicking. If the user selects automatic, they can choose preset or custom pattern update conditions from the drop-down menu. In the replacement image source configuration item, users can select preset or custom replacement image sources by clicking. If the user selects a preset replacement image source, they can choose from the drop-down menu; if the user selects a custom replacement image source, they can configure the replacement image source by customizing the input image path. After configuration, the terminal displays the pattern update conditions and replacement image sources on the "Pattern Update Configuration" page, and the pattern clearing configuration result is obtained after the user clicks "OK".
[0181] Furthermore, the fabric display control method also includes:
[0182] The display state of the pattern presented in the display area is determined; if the display state meets the pattern update conditions, a replacement image is determined; the pattern writing device is controlled to change the lying state of the pile structure on the fabric body so as to present the pattern corresponding to the replacement image in the display area.
[0183] The display status of a pattern refers to the current state of the pattern presented in the display area, which may include, but is not limited to, the time status of the pattern display, the integrity of the pattern, and whether there is any distortion. The pattern update condition refers to the condition used to determine whether the display status of the pattern in the current display area needs to be updated to a new pattern, that is, whether it needs to be updated to the pattern corresponding to the replacement image.
[0184] For example, the terminal can acquire an image of the pattern displayed in the display area, and determine the completeness of the pattern image in the display area by matching the image with the original image, thereby obtaining the display state of the pattern in the display area. The terminal can obtain a completeness threshold as a pattern update condition, and compare the completeness of the pattern image in the display area with the completeness threshold. If the completeness of the pattern image in the display area is less than the completeness threshold, the display state meets the pattern update condition. At this time, the terminal can obtain a new image from the pre-stored system as a replacement image, or send a prompt message to the user to remind the user to reselect an image as a replacement image. Afterwards, the terminal can use the replacement image as the original image and control the pattern writing device to change the lying state of the pile structure on the fabric body in accordance with the above embodiments, so as to display the pattern corresponding to the replacement image in the display area.
[0185] In some optional embodiments, the terminal can capture images of the display area within the fabric body when image capture conditions are met. Specifically, the terminal can obtain real-time environmental information of the fabric body. This real-time environmental information may include, but is not limited to, information that may affect the pattern display effect within the fabric body, such as weather information (wind can change the folding state of the pile structure) and lighting information (different lighting conditions can affect the light reflected by the pile structure). Alternatively, the terminal can determine that image capture conditions are met after the pattern has been displayed for a certain period of time, at which point the terminal can capture images of the display area within the fabric body.
[0186] In an optional embodiment, when determining the completeness of the image of the pattern presented in the display area, the terminal can identify the image of the display area in the collected fabric body. For example, the terminal can extract the features of the pattern in the display area and restore the corresponding restored image, perform similarity matching between the restored image and the original image, obtain the similarity between the restored image and the original image, and determine the similarity as the completeness of the image of the pattern presented in the display area.
[0187] In this embodiment, by refining the pattern update configuration item into a pattern update condition configuration item and a replacement image source configuration item, users can quickly and accurately configure the update process of the pattern presented in the fabric body, and display the pattern update configuration result after configuration. This allows users to easily confirm the configuration operation, and then, when the display status of the pattern in the display area meets the pattern update conditions, the replacement image can be re-determined, so as to change the pattern content presented on the fabric body in a timely manner according to the needs. This allows the fabric body to flexibly adapt to different scenarios and needs and quickly present diverse patterns.
[0188] In one embodiment, control parameters are generated based on pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body, including:
[0189] The display resolution of the display area in the fabric body is determined; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device; according to the display resolution, the original image is aligned with the display area to obtain the target image, and the control parameters for the pattern writing device are determined based on the target image and the pattern configuration parameters.
[0190] The target image refers to an image whose resolution matches the display resolution of the display area after processing the original image according to the display resolution. The target image can be obtained by scaling, cropping, or performing other operations on the original image.
[0191] For example, the terminal can determine the size of the display area in the fabric body and the unit writing range of the pattern writing device, and determine the display resolution of the display area based on the size of the display area and the unit writing range of the pattern writing device. The terminal can then scale, crop, etc., the original image according to the display resolution to align the original image with the display area to obtain the target image. Afterwards, the terminal can determine control parameters for the pattern writing device based on the target image and pattern configuration parameters.
[0192] In an optional embodiment, the terminal can determine the proportional relationship between the display resolution and the image resolution of the original image. For example, the terminal can determine the ratio of the number of pixels in the length and width directions of the display resolution and the image resolution. Then, based on the proportional relationship between the display resolution and the image resolution of the original image, the terminal can align the original image with the display area to perform resolution adaptation, etc., to obtain the target image. The terminal can determine the environmental information of the fabric body; for example, it can install light sensors, position sensors, etc., in appropriate areas of the fabric body to collect illumination information of the area where the fabric body is located, or the position information and illumination information of the displayed object. The terminal can obtain the environmental information of the environment in which the fabric body is located by acquiring data collected by various sensors in the environment in which the fabric body is located. Based on at least one of the illumination information and the object information of the object displayed on the fabric body, and the target image, the terminal can control the generation process of the control parameters of the pattern writing device to fuse the corresponding environmental information into the control parameters to obtain the control parameters.
[0193] Optionally, when determining the target image, the terminal can, for each display pixel included in the display area, determine the image pixel corresponding to the pixel position of the target display pixel and the corresponding neighboring pixels in the original image, based on the display resolution and the image resolution of the original image. An image pixel refers to a single pixel point in the original image whose position is determined by the ratio between its position and the display pixel's resolution. Neighboring pixels refer to adjacent pixels within a certain range surrounding the image pixel in the original image. That is, the terminal can determine the image pixel by converting it according to the resolution ratio, or by using coordinate mapping and interpolation to determine the image pixels corresponding to each display pixel in the original image, and then determine the neighboring pixels corresponding to the image pixel based on a preset neighborhood range (such as a 3×3 or 5×5 pixel matrix) or a dynamically calculated neighborhood radius. The terminal can determine the pixel values of an image pixel and its corresponding neighboring pixels, and then fuse these pixel values. For example, the terminal can determine the weights of each neighboring pixel and the image pixel based on their distances, and then perform weighted fusion of the pixel values according to these weights to obtain the fused pixel values. Finally, the terminal can use the fused pixel values to update the image pixels to obtain the target pixels, and then extract and rearrange the target pixels to obtain the target image.
[0194] In this embodiment, by determining the display resolution of the display area in the fabric body, the display resolution can be comprehensively determined based on the size of the display area and the unit writing range of the pattern writing device. After aligning the original image with the display area according to the display resolution to obtain the target image, the control parameters are determined based on the target image and the pattern configuration parameters. This enables dynamic and programmable display of patterns on the fabric body, thereby effectively improving the presentation effect of the fabric pattern and meeting diverse personalized display needs.
[0195] In one embodiment, determining control parameters for the pattern writing device based on the target image and pattern configuration parameters includes:
[0196] The target pixels in the target image are binarized according to the pattern configuration parameters to obtain a binary dot matrix of the target image. The binary dot matrix includes multiple binary elements, which are used to characterize the execution state of the corresponding pressure execution unit in the pattern writing device. The binary elements in the binary dot matrix are encoded to obtain the control parameters corresponding to each pressure execution unit.
[0197] In this context, target pixels refer to the constituent pixels in a target image. Each target pixel in the target image has a specific pixel location (i.e., coordinates in the image coordinate system) and pixel value. Binarization is the process of converting the continuous tonal attributes of each target pixel in the target image into two possible values (usually 0 and 1). After binarization, the target image can become a binary image composed of two colors, such as a binary image composed of black and white, in which each target pixel is either black or white. For example, for a target image containing text, binarization can clearly separate the text from the background, making the text appear white and the background black.
[0198] A binary dot matrix is a matrix-like data structure composed of the binary results of each target pixel in a target image after binarization. A binary dot matrix includes multiple binary elements arranged in an array. Each binary element corresponds to a target pixel in the target image, and its value is either 0 or 1, representing different pixel attributes. For example, a target image of size m×n can be binarized into an m×n binary dot matrix, where m represents the number of rows and n represents the number of columns. The binary elements are used to characterize the execution state of the corresponding pressure actuator in the pattern writing device; for example, when a binary element is 1, it indicates that pressure is applied to the pressure actuator, controlling it to extend towards the fabric body to change the collapsed state of the pile structure. When a binary element is 0, it indicates that no pressure is applied to the pressure actuator, and the pressure actuator remains in its initial position (i.e., a position away from the fabric body and not in contact with the pile structure).
[0199] Encoding refers to the process of converting the binary elements in a binary matrix into a data structure that the terminal can recognize, so that the terminal can control the execution unit. In practice, encoding can be implemented using binary encoding, Gray code encoding, or other methods.
[0200] For example, taking the pattern configuration parameter as environmental information, the terminal can perform grayscale processing on each target pixel included in the target image to obtain a grayscale image corresponding to the target image. The terminal can correct the grayscale value of each grayscale pixel in the grayscale image based on the environmental information to obtain the corrected grayscale value. For each grayscale pixel, the terminal can perform binarization processing on the corrected grayscale value corresponding to the grayscale pixel. For example, the terminal can use the maximum inter-class variance method or a fixed threshold to perform binarization processing on each corrected grayscale value. For example, with the fixed threshold method, the terminal can set the value of grayscale pixels with a corrected grayscale value greater than the fixed threshold to 1, and set the value of grayscale pixels with a grayscale value less than or equal to the fixed threshold to 0, so as to obtain the binary dot matrix of the target image. After obtaining the binary matrix, the terminal can encode the binary elements in the binary matrix in a column-major manner. That is, for each column of binary elements, the terminal can pack them into a byte stream. Taking a binary array with 20 rows and 20 columns of binary elements as an example, for the 20 rows of binary elements in the first column, the terminal can pack the binary elements of rows 1 to 8 into one byte, the binary elements of rows 9 to 16 into one byte, and the binary elements of rows 17 to 20 (if there are less than 8 rows, zeros can be added at the end) into one byte. That is, the complete operation process of a pressure execution unit can be controlled by 3 bytes. In this way, each column is encoded in the same manner to obtain the control parameters corresponding to each pressure execution unit.
[0201] In an optional embodiment, when the terminal corrects the grayscale value based on environmental information, it can determine the corresponding correction parameters by querying the mapping relationship between environmental information and correction parameters, and then superimpose the correction parameters onto the grayscale value to obtain the corrected grayscale value. Specifically, the mapping relationship between environmental information and correction parameters can be obtained experimentally. Taking a side window sunshade in a vehicle as an example, the real-time illumination intensity is obtained, and experiments can determine how much illumination intensity needs to be compensated to achieve a better pattern presentation effect on the fabric. The illumination intensity to be compensated is then converted into the corresponding grayscale value to obtain the correction parameters corresponding to that real-time illumination intensity. The same applies to the light angle, light color, and the position and angle of the displayed object; in this way, the mapping relationship between different environmental information and the correction parameters of grayscale values can be obtained. In other embodiments, since the light intensity and light angle of display pixels at different positions on the fabric body are different, when the terminal determines the correction parameters of the grayscale pixel corresponding to a certain display pixel, it can also obtain the correction parameters of the display pixel in terms of corresponding light intensity, light angle, light color, position and angle of the displayed object, etc., and fuse the various correction parameters in a weighted manner to obtain the correction parameters of the grayscale pixel corresponding to the display pixel.
[0202] In an optional embodiment, after obtaining the various corrected grayscale values, the terminal can further divide the grayscale values 0-255 into multiple grayscale intervals, each grayscale interval can be configured with a corresponding label. For example, 0-255 can be evenly divided into 8 grayscale intervals, each grayscale interval is represented by labels 1-8. For example, 0-31 is the first grayscale interval, and its label is 1. If the corrected grayscale value of a certain grayscale pixel is 13, then the value of that grayscale pixel is 1. Similarly, 32-63 is the second grayscale interval, and its label is 2. If the corrected grayscale value of a certain grayscale pixel is 58, then the value of that grayscale pixel is 2. In this way, a data matrix with element values of 1-8 can be constructed. Each tag corresponds to an execution state of the pressure actuator. For example, tag 1 corresponds to the execution state where the pressure actuator remains in contact with the pile structure, tag 8 corresponds to the execution state where the pressure actuator is in complete contact with the pile structure (i.e., the pressure actuator moves towards the fabric body to its position limit), and tags 2 to 7 correspond to different states as the pressure actuator and pile structure gradually move from no contact to complete contact. That is, from tag 1 to tag 8, the distance between the pressure actuator and the fabric body gradually decreases, so that the pile structure can exhibit different degrees of collapse. Afterwards, the terminal can encode the constructed data matrix to obtain the control parameters corresponding to each pressure actuator.
[0203] In this embodiment, the target pixels of the target image are binarized according to the pattern configuration parameters to obtain a binary dot matrix. Then, the binary elements in the binary dot matrix can be encoded to obtain the control parameters of the pattern writing device. The complex target image can be converted into a binary form and the binary matrix can be encoded to obtain the control parameters of each pressure execution unit in the pattern writing device. This allows for precise control of each pressure execution unit, ensuring that the pattern writing device can accurately present the expected pattern on the fabric body according to the target image and the user's configuration requirements.
[0204] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0205] Based on the same inventive concept, this application also provides a fabric display control device for implementing the fabric display control method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the fabric display control device provided below can be found in the limitations of the fabric display control method described above, and will not be repeated here.
[0206] In one exemplary embodiment, such as Figure 14 As shown, a fabric display control device is provided, including: a configuration parameter determination module 1401, a control parameter generation module 1402, and a control parameter sending module 1403, wherein:
[0207] The configuration parameter determination module 1401 is used to determine the pattern configuration parameters in response to a pattern display trigger operation on the fabric body.
[0208] The control parameter generation module 1402 is used to obtain the original image according to the pattern configuration parameters, and generate control parameters based on the pattern configuration parameters, the original image and the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device.
[0209] The control parameter sending module 1403 is used to send control parameters to the pattern writing device; the control parameters are used to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area.
[0210] In an optional embodiment, the configuration parameter determination module 1401 is further configured to display a display configuration area in response to a pattern display trigger operation for the fabric body; the display configuration area includes at least one display configuration item for the fabric body; and in response to a configuration operation for at least one display configuration item, obtain pattern configuration parameters based on the display configuration result corresponding to the configuration operation.
[0211] In an optional embodiment, the display configuration items include a display area configuration item. The configuration parameter determination module 1401 is further configured to, in response to a selection operation for the display area configuration item, display area position configuration item, display area size configuration item, and display resolution configuration item for the display area; in response to a display area configuration operation for the display area position configuration item, display area size configuration item, and display resolution configuration item, determine the area position, area size, and display resolution of the display area in the fabric body; and obtain pattern configuration parameters based at least on the area position, area size, and display resolution. Further, the control parameter generation module 1402 is further configured to generate control parameters based on at least one of the area position, area size, and display resolution included in the pattern configuration parameters and the original image. The control parameters are used to control the pattern writing device to change the flattening state of the pile structure in the display area according to the control parameters, so as to present the pattern corresponding to the original image in the display area according to the area position, area size, and display resolution.
[0212] In an optional embodiment, the display configuration items include environmental parameter configuration items; the configuration parameter determination module 1401 is further configured to, in response to a selection operation for the environmental parameter configuration items, display environmental information configuration items and information source configuration items for the environment in which the fabric body is located; in response to an environmental parameter configuration operation for the environmental information configuration items and information source configuration items, determine the environmental information and information source of the environment in which the fabric body is located; and obtain pattern configuration parameters based at least on the environmental information and information source. Further, the control parameter generation module 1402 is further configured to generate control parameters based on at least one of the environmental information and information source included in the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body. The control parameters are used to control the pattern writing device to change the flattening state of the pile structure on the fabric body according to the control parameters, so as to present a pattern corresponding to the original image and matching the environmental information in the display area.
[0213] In an optional embodiment, the display configuration items include a write mode configuration item; the configuration parameter determination module 1401 is further configured to, in response to a selection operation for the write mode configuration item, display a write path configuration item, a write speed configuration item, and a unit write range configuration item for the pattern writing device; in response to a write mode configuration operation for the write path configuration item, the write speed configuration item, and the unit write range configuration item, determine the write path, write speed, and unit write range of the pattern writing device; and obtain pattern configuration parameters based at least on the write path, write speed, and unit write range. Further, the control parameter generation module 1402 is further configured to generate control parameters based on at least one of the write path, write speed, and unit write range included in the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body. The control parameters are used to sequentially control the pattern writing device to change the folding state of the corresponding position of the pile structure on the fabric body according to each sub-control parameter included in the control parameters and the control timing of each sub-control parameter, so as to present the pattern corresponding to the original image in the display area.
[0214] In an optional embodiment, the display configuration items include a pattern clearing configuration item; the configuration parameter determination module 1401 is further configured to, in response to a selection operation for the pattern clearing configuration item, display a clearing trigger condition configuration item and a clearing method configuration item for the pattern presented in the display area; in response to a pattern clearing configuration operation for the clearing trigger condition configuration item and the clearing method configuration item, determine the clearing trigger condition and clearing method for the pattern presented in the display area; and obtain pattern configuration parameters at least based on the clearing trigger condition and the clearing method. Further, the fabric pattern display control device also includes a pattern clearing module, configured to, when the fabric body meets the pattern clearing trigger condition, determine the clearing method for the pattern presented in the display area; and, according to the clearing method, control the pattern writing device to clear the pattern presented in the display area.
[0215] In an optional embodiment, the display configuration items include a pattern update configuration item; the configuration parameter determination module 1401 is further configured to, in response to a selection operation for the pattern update configuration item, display a pattern update condition configuration item and a replacement image source configuration item for the pattern presented in the display area; in response to a pattern update configuration operation for the pattern update condition configuration item and the replacement image source configuration item, determine the pattern update conditions and the replacement image source for the pattern presented in the display area; and obtain pattern configuration parameters at least based on the pattern update conditions and the replacement image source. Further, the fabric pattern display control device also includes a pattern update module, configured to determine the display state of the pattern presented in the display area; determine a replacement image when the display state meets the pattern update conditions; and control the pattern writing device to change the lying state of the pile structure on the fabric body to present the pattern corresponding to the replacement image in the display area.
[0216] In an optional embodiment, the control parameter generation module 1402 is further configured to determine the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device; the original image is aligned with the display area according to the display resolution to obtain a target image, and control parameters for the pattern writing device are determined based on the target image and the pattern configuration parameters.
[0217] In an optional embodiment, the control parameter generation module 1402 is further configured to perform binarization processing on each target pixel included in the target image according to the pattern configuration parameters to obtain a binary dot matrix of the target image; the binary dot matrix includes multiple binary elements, which are used to characterize the execution state of the corresponding pressure execution unit in the pattern writing device; the binary elements included in the binary dot matrix are encoded to obtain control parameters corresponding to each pressure execution unit.
[0218] Each module in the aforementioned fabric display control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0219] In one exemplary embodiment, a fabric display control system is provided, the system including a terminal and a pattern writing device, wherein:
[0220] The terminal is used to determine pattern configuration parameters in response to a pattern display trigger operation on the fabric body; acquire an original image based on the pattern configuration parameters, and generate control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device; and send the control parameters to the pattern writing device.
[0221] The pattern writing device is used to change the lying state of the pile structure on the fabric body according to control parameters so as to present the pattern corresponding to the original image in the display area.
[0222] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 15As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a fabric display control method. The display unit of the computer device forms a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0223] Those skilled in the art will understand that Figure 15 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0224] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the fabric display control methods of the above embodiments.
[0225] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the fabric display control methods of the above embodiments.
[0226] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the fabric display control methods of the above embodiments.
[0227] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0228] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0229] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0230] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A fabric display control method, characterized in that, The method includes: In response to a pattern display trigger operation on the fabric body, determine the pattern configuration parameters; The original image is obtained according to the pattern configuration parameters, and control parameters are generated based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device. The control parameters are sent to the pattern writing device; the control parameters are used to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area.
2. The method according to claim 1, characterized in that, The process of determining pattern configuration parameters in response to a pattern display trigger operation on the fabric body includes: In response to a pattern display trigger operation on the fabric body, a display configuration area is displayed; the display configuration area includes at least one display configuration item for the fabric body; In response to a configuration operation for the at least one display configuration item, pattern configuration parameters are obtained based on the display configuration result corresponding to the configuration operation.
3. The method according to claim 2, characterized in that, The display configuration items include display area configuration items; The step of obtaining pattern configuration parameters in response to a configuration operation for the at least one display configuration item, based on the display configuration result corresponding to the configuration operation, includes: In response to a selection operation for the display area configuration item, the display area position configuration item, display area size configuration item, and display resolution configuration item for the display area are displayed. In response to a display area configuration operation for the display area position configuration item, the display area size configuration item, and the display resolution configuration item, the region position, region size, and display resolution of the display area in the fabric body are determined; The pattern configuration parameters are obtained based at least on the region location, the region size, and the display resolution; The generation of control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body includes: Based on at least one of the region position, region size, and display resolution included in the pattern configuration parameters, and the original image, control parameters are generated. These control parameters are used to control the pattern writing device to change the folded state of the velvet structure in the display region according to the control parameters, so as to present the pattern corresponding to the original image in the display region according to the region position, region size, and display resolution.
4. The method according to claim 2, characterized in that, The display configuration items include environmental parameter configuration items; The step of obtaining pattern configuration parameters in response to a configuration operation for the at least one display configuration item, based on the display configuration result corresponding to the configuration operation, includes: In response to the selection operation for the environmental parameter configuration item, the environmental information configuration item and information source configuration item for the environment in which the fabric body is located are displayed; In response to the environmental parameter configuration operation for the environmental information configuration item and the information source configuration item, the environmental information and information source of the environment in which the fabric body is located are determined; The pattern configuration parameters are obtained based at least on the environmental information and the information source; The generation of control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body includes: Based on at least one of the environmental information and the information source included in the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body, control parameters are generated. These control parameters are used to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present a pattern corresponding to the original image and matching the environmental information in the display area.
5. The method according to claim 2, characterized in that, The display configuration items include a write mode configuration item; The step of obtaining pattern configuration parameters in response to a configuration operation for the at least one display configuration item, based on the display configuration result corresponding to the configuration operation, includes: In response to the selection operation for the write mode configuration item, the write path configuration item, write speed configuration item, and unit write range configuration item for the pattern writing device are displayed. In response to a write mode configuration operation for the write path configuration item, the write speed configuration item, and the unit write range configuration item, the write path, write speed, and unit write range of the pattern writing device are determined. The pattern configuration parameters are obtained based at least on the write path, the write speed, and the unit write range; The generation of control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body includes: Based on at least one of the writing path, writing speed, and unit writing range included in the pattern configuration parameters, as well as the display resolution of the original image and the display area in the fabric body, control parameters are generated. These control parameters are used to sequentially control the pattern writing device to change the folding state of the corresponding position of the pile structure on the fabric body according to each sub-control parameter included in the control parameters and the control timing of each sub-control parameter, so as to present the pattern corresponding to the original image in the display area.
6. The method according to claim 2, characterized in that, The display configuration options include a pattern clearing configuration option; The step of obtaining pattern configuration parameters in response to a configuration operation for the at least one display configuration item, based on the display configuration result corresponding to the configuration operation, includes: In response to the selection operation for the pattern clearing configuration item, the clearing trigger condition configuration item and clearing method configuration item for the pattern presented in the display area are displayed; In response to the pattern clearing configuration operation for the clearing trigger condition configuration item and the clearing method configuration item, the clearing trigger condition and clearing method of the pattern presented in the display area are determined; The pattern configuration parameters are obtained at least based on the clearing trigger condition and the clearing method; The method further includes: If the fabric body meets the pattern clearing trigger condition, a clearing method for the pattern presented in the display area is determined; according to the clearing method, the pattern writing device is controlled to clear the pattern presented in the display area.
7. The method according to claim 2, characterized in that, The display configuration items include a pattern update configuration item; The step of obtaining pattern configuration parameters in response to a configuration operation for the at least one display configuration item, based on the display configuration result corresponding to the configuration operation, includes: In response to a selection operation for the pattern update configuration item, a pattern update condition configuration item and a replacement image source configuration item are displayed for the pattern presented in the display area; In response to a pattern update configuration operation for the pattern update condition configuration item and the replacement image source configuration item, the pattern update condition and replacement image source for the pattern presented in the display area are determined; The pattern configuration parameters are obtained based at least on the pattern update conditions and the replacement image source; The method further includes: The display state of the pattern presented in the display area is determined; if the display state meets the pattern update conditions, a replacement image is determined; the pattern writing device is controlled to change the lying state of the pile structure on the fabric body so as to present the pattern corresponding to the replacement image in the display area.
8. The method according to claim 1, characterized in that, The generation of control parameters based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body includes: Determine the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device. According to the display resolution, the original image is aligned with the display area to obtain the target image, and control parameters for the pattern writing device are determined based on the target image and the pattern configuration parameters.
9. The method according to claim 8, characterized in that, The step of determining control parameters for the pattern writing device based on the target image and the pattern configuration parameters includes: The target pixels in the target image are binarized according to the pattern configuration parameters to obtain a binary dot matrix of the target image; the binary dot matrix includes multiple binary elements, which are used to characterize the execution state of the corresponding pressure execution unit in the pattern writing device; The binary elements included in the binary dot matrix are encoded to obtain the control parameters corresponding to each pressure actuation unit.
10. A fabric display control device, characterized in that, The device includes: The configuration parameter determination module is used to determine the pattern configuration parameters in response to the pattern display trigger operation on the fabric body; The control parameter generation module is used to obtain the original image according to the pattern configuration parameters, and generate control parameters based on the pattern configuration parameters, the original image and the display resolution of the display area in the fabric body; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device. A control parameter sending module is used to send the control parameters to the pattern writing device; the control parameters are used to control the pattern writing device to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area.
11. A fabric display control system, characterized in that, The system includes a terminal and a pattern writing device, wherein: The terminal is configured to, in response to a pattern display trigger operation on the fabric body, determine pattern configuration parameters; acquire an original image based on the pattern configuration parameters, the original image, and the display resolution of the display area in the fabric body, and generate control parameters; the display resolution is determined based on the size of the display area and the unit writing range of the pattern writing device; and send the control parameters to the pattern writing device. The pattern writing device is used to change the lying state of the pile structure on the fabric body according to the control parameters, so as to present the pattern corresponding to the original image in the display area.
12. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 9.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 9.
14. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 9.