Interface switching method and device, equipment, medium and program product
By achieving interface switching through the mapping relationship between the light source and the imaging component, the problems of high cost, high power consumption, and high heat generation in existing technologies are solved, resulting in a simple and technologically advanced interface switching effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHEJIANG GEELY HLDG GRP CO LTD
- Filing Date
- 2022-03-29
- Publication Date
- 2026-04-24
AI Technical Summary
The current automotive interior system requires the use of TFT technology for interface switching on the display panel, which results in high cost, high power consumption, high heat generation, and poor flexibility.
By generating interface switching instructions and utilizing the mapping relationship between the light source and the imaging component, interface switching can be achieved, replacing the TFT for interface switching.
It reduces production costs, power consumption and heat generation, and improves the simplicity and flexibility of the interface, meeting the needs for a simple design and a technological feel.
Smart Images

Figure CN114661186B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to an interface switching method, apparatus, device, medium, and program product. Background Technology
[0002] Driven by social progress and economic development, automobiles have become a common means of transportation in people's daily lives, bringing great convenience to people's travel. As an indispensable part of automobiles, the interior of automobiles not only decorates the interior environment, but its functionality, safety and engineering attributes can also provide strong assistance to users when driving.
[0003] Currently, automotive interior systems include a display panel that shows the interactive interface, providing users with various functional services. Interface switching typically involves the user clicking on an interface switching control on the display panel to interact with the automotive interior system. The system responds to the user's click by switching the interface and displaying the new interface to the user.
[0004] However, in order to achieve interface switching, the display panel needs to adopt the form of integrated thin film transistor (TFT), which has the problems of high cost, high power consumption and high heat generation. Summary of the Invention
[0005] This application provides an interface switching method, apparatus, device, medium, and program product to solve the problems of high cost, high power consumption, and high heat generation in the prior art.
[0006] In a first aspect, embodiments of this application provide an interface switching method, including:
[0007] In response to a first user input, an interface switching instruction is generated, the interface switching instruction including an identifier of the target interactive interface;
[0008] Based on the identifier of the target interactive interface and the first mapping relationship, the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface are obtained. The imaging component is used to perform image processing on the light projected by the light source. The first mapping relationship is the mapping relationship between the identifier of the interactive interface, the identifier of the light source and the identifier of the imaging component.
[0009] Based on the identifier of the target light source and the identifier of the target imaging component, the interface is switched to the target interactive interface.
[0010] In one possible design of the first aspect, switching the interface to the target interactive interface based on the identifier of the target light source and the identifier of the target imaging component includes:
[0011] Control the target imaging component to move to a first preset position;
[0012] The target light source is controlled to project light onto the target imaging component, so that the interface is switched to the target interactive interface in the projection display area of the light-transmitting touch panel according to the patterned light.
[0013] In one possible design of the first aspect, after obtaining the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface based on the identifier of the target interactive interface and the first mapping relationship, the method further includes:
[0014] Based on the identifier of the target interactive interface and the second mapping relationship, the target position of the target imaging component corresponding to the identifier of the target interactive interface is obtained, and the second mapping relationship is the mapping relationship between the identifier of the interactive interface and the position of the imaging component.
[0015] Based on the identifier of the target interactive interface and the third mapping relationship, the target projection direction of the target light source corresponding to the identifier of the target interactive interface is obtained, and the third mapping relationship is the mapping relationship between the identifier of the interactive interface and the projection direction of the light source.
[0016] Accordingly, switching the interface to the target interactive interface based on the identifier of the target light source and the identifier of the target imaging component includes:
[0017] Control the target imaging component to move to the target position of the target imaging component;
[0018] The target light source is controlled to project light onto the target imaging component according to the target projection direction, so that the interface is switched to the target interactive interface in the projection display area of the light-transmitting touch panel according to the patterned light.
[0019] In one possible design of the first aspect, before generating the interface switching instruction in response to the first operation of user input, the method further includes:
[0020] The first operation input by the user is received through a light-transmitting touch panel;
[0021] or,
[0022] The touch point when the user touches the light-transmitting touch panel is captured by a sensor camera;
[0023] The user inputs the first operation based on the contact point.
[0024] In one possible design of the first aspect, before switching the interface to the target interactive interface based on the identifier of the target light source and the identifier of the target imaging component, the method further includes:
[0025] Control the imaging components other than the target imaging component to move to the second preset position;
[0026] Control the light sources other than the target light source to stop projecting light.
[0027] In one possible design of the first aspect, the method further includes:
[0028] In response to the second operation input by the user, a function activation instruction is generated, the function activation instruction including an identifier of the target function;
[0029] The target function is activated based on its identifier.
[0030] Secondly, embodiments of this application provide an interface switching device, comprising:
[0031] A generation module is used to generate an interface switching instruction in response to a first user input, wherein the interface switching instruction includes an identifier of the target interactive interface;
[0032] The acquisition module is used to acquire the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface according to the identifier of the target interactive interface and the first mapping relationship. The imaging component is used to perform image processing on the light projected by the light source. The first mapping relationship is the mapping relationship between the identifier of the interactive interface, the identifier of the light source and the identifier of the imaging component.
[0033] The switching module is used to switch the interface to the target interactive interface based on the identifier of the target light source and the identifier of the target imaging component.
[0034] In one possible design of the second aspect, the switching module is specifically used for:
[0035] Control the target imaging component to move to a first preset position;
[0036] The target light source is controlled to project light onto the target imaging component, so that the interface is switched to the target interactive interface in the projection display area of the light-transmitting touch panel according to the patterned light.
[0037] In one possible design of the second aspect, after obtaining the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface based on the identifier of the target interactive interface and the first mapping relationship, the obtaining module is further configured to:
[0038] Based on the identifier of the target interactive interface and the second mapping relationship, the target position of the target imaging component corresponding to the identifier of the target interactive interface is obtained, and the second mapping relationship is the mapping relationship between the identifier of the interactive interface and the position of the imaging component.
[0039] Based on the identifier of the target interactive interface and the third mapping relationship, the target projection direction of the target light source corresponding to the identifier of the target interactive interface is obtained, and the third mapping relationship is the mapping relationship between the identifier of the interactive interface and the projection direction of the light source.
[0040] Accordingly, the switching module is specifically used for:
[0041] Control the target imaging component to move to the target position of the target imaging component;
[0042] The target light source is controlled to project light onto the target imaging component according to the target projection direction, so that the interface is switched to the target interactive interface in the projection display area of the light-transmitting touch panel according to the patterned light.
[0043] In one possible design of the second aspect, before generating the interface switching instruction in response to the first operation of user input, the device further includes:
[0044] A receiving module is used to receive the first operation input by the user through a light-transmitting touch panel;
[0045] or,
[0046] The acquisition module is also used to acquire the touch point when the user touches the light-transmitting touch panel through the sensing camera;
[0047] A receiving module is configured to receive the first operation input by the user based on the contact point.
[0048] In one possible design of the second aspect, before switching the interface to the target interactive interface based on the identifier of the target light source and the identifier of the target imaging component, the device further includes:
[0049] The control module is used to control the imaging components other than the target imaging component to move to the second preset position;
[0050] The control module is also used to control light sources other than the target light source to stop projecting light.
[0051] In one possible design of the second aspect, the device further includes:
[0052] The generation module is further configured to generate a function activation instruction in response to the second operation input by the user, the function activation instruction including an identifier of the target function;
[0053] The startup module is used to start the target function based on the identifier of the target function.
[0054] Thirdly, embodiments of this application provide a vehicle, including: a processor, a memory, and computer program instructions stored in the memory and executable on the processor, wherein the processor executes the computer program instructions to implement the methods provided in the first aspect and various possible designs.
[0055] Fourthly, embodiments of this application may provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods provided in the first aspect and various possible designs.
[0056] Fifthly, embodiments of this application provide a computer program product, including a computer program, which, when executed by a processor, is used to implement the methods provided in the first aspect and various possible designs.
[0057] The interface switching method, apparatus, device, medium, and program product provided in this application, in response to a first user input operation, generates an interface switching instruction. Based on the identifier of the target interactive interface and a first mapping relationship, it obtains the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface. Then, based on the identifiers of the target light source and the target imaging component, it switches the interface to the target interactive interface. In this technical solution, a light source and imaging component replace the TFT for interface switching, achieving multi-interface display within the same touch area. This meets the requirements of simple design, high project integration, and a technological feel, while reducing manufacturing costs, power consumption, and heat. Attached Figure Description
[0058] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0059] Figure 1 A partial structural schematic diagram of a vehicle provided in an embodiment of this application;
[0060] Figure 2 This is a side view of the in-vehicle display and interaction device provided in an embodiment of this application;
[0061] Figure 3 This is a top view of the in-vehicle display and interaction device provided in an embodiment of this application;
[0062] Figure 4 A flowchart illustrating an embodiment of the interface switching method provided in this application;
[0063] Figure 5 A schematic diagram of the interface provided in Embodiment 1 of this application;
[0064] Figure 6 A schematic diagram of the interface of Embodiment 2 provided in this application;
[0065] Figure 7 A flowchart illustrating Embodiment 2 of the interface switching method provided in this application;
[0066] Figure 8 This is a schematic diagram of the interface switching device provided in an embodiment of this application;
[0067] Figure 9 This is a schematic diagram of the vehicle structure provided in an embodiment of this application.
[0068] The accompanying drawings have illustrated specific embodiments of this disclosure, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this disclosure to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0069] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0070] Before introducing the embodiments of this application, the application background of the embodiments of this application will be explained first:
[0071] With the booming development of the automotive industry, car interior design is becoming increasingly simple and intelligent. Among these features, the car interior system includes a display panel that can show interactive interfaces and interact with users, providing them with various functional services.
[0072] Currently, the existing methods for displaying interfaces via display panels mainly include the following two approaches:
[0073] (1) A display panel can only display one interface. In other words, when there are multiple interfaces, multiple display panels are needed to display each interface. This results in a single function, large space occupation, and lack of simplicity.
[0074] (2) A display panel can switch between displaying multiple interfaces. That is, when there are multiple interfaces, the user can interact with the display panel to switch between the interfaces, thereby realizing the display of each interface. However, the display panel needs to be in the form of TFT, which has problems such as high cost, high power consumption and high heat generation. Moreover, TFT is affected by factors such as size and surface curvature, which have many limitations on the shape and poor flexibility.
[0075] To address the aforementioned problems, the inventive concept of this application is as follows: Since projection technology can display different interfaces, and compared with TFT, projection technology has lower cost, power consumption, and heat generation, if an interface switching instruction can be generated based on the user's first input operation, and the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface carried by the interface switching instruction are determined according to the interface switching instruction and the pre-stored first mapping relationship, so that the interface can be switched according to the identifier of the target light source and the identifier of the target imaging component, the problems of high cost, high power consumption, and high heat generation in the prior art can be solved, thereby improving the simplicity, technological sophistication, and flexibility of the interface.
[0076] For example, the interface switching method provided in this application embodiment can be applied to Figure 1 The diagram shows a partial structural schematic of a vehicle. Figure 1 This is a partial structural diagram of a vehicle provided in an embodiment of this application, used to solve the above-mentioned technical problems.
[0077] like Figure 1 As shown, the vehicle includes a center console 11 and an in-vehicle display and interaction device 12, which is used to perform an interface switching method. This embodiment of the application uses the in-vehicle display and interaction device 12 integrated into the vehicle's center console 11 as an example. The center console 11 is located in the middle area of the front of the vehicle, allowing users in any position within the vehicle to easily view the information displayed on the center console 11. The driver or front passenger can obtain relevant vehicle usage information or operate the in-vehicle display and interaction device 12 to perform related functions.
[0078] Furthermore, Figure 2 This is a side view structural diagram of the in-vehicle display and interaction device provided in an embodiment of this application. Figure 3 This is a top view of the in-vehicle display and interaction device provided in an embodiment of this application. Figure 2 and3 As shown, the in-vehicle display and interaction device 12 of this application embodiment may include a housing 121, a projection component 122, and a light-transmitting touch panel 123. The projection component 122 and the light-transmitting touch panel 123 may be arranged at intervals.
[0079] In this embodiment, the housing 121 has a cavity 121a. In some implementations, the housing 121 is a separately manufactured component. The in-vehicle display and interaction device 12 can be mounted on the center console 11 via the housing 121. Alternatively, the housing 121 can be part of the center console 11, i.e., a part of the center console 11 is directly formed into the housing 121. The housing 121 can block external light X from entering the area between the projection assembly 122 and the light-transmitting touch panel 123, reducing the brightness of the cavity 121a, thereby reducing the possibility of a sharpness deviation in the interactive interface image 200 displayed on the light-transmitting touch panel 123 due to interference from external light X. In some implementations, the housing 121 can be tapered. The projection assembly 122 is disposed at the smaller end of the housing 121, while the light-transmitting touch panel 123 is disposed at the larger end of the housing 121.
[0080] The projection component 122 is connected to the housing 121. The projection component 122 projects light rays X into the chamber 121a. The projection component 122 includes a light source 1221 and an imaging component 1222. The light source 1221 projects light rays X onto the imaging component 1222. The imaging component 1222 patterns the light rays X from the light source 1221 to form an interactive interface image 200.
[0081] A light-transmitting touch panel 123 is connected to the housing 121 and is disposed corresponding to the cavity 121a. The light-transmitting touch panel 123 allows light X to pass through. The light-transmitting touch panel 123 can be located inside the cavity 121a of the housing 121. Alternatively, the light-transmitting touch panel 123 can be located outside the housing 121 and cover the opening of the cavity 121a. The light-transmitting touch panel 123 is disposed in front of the imaging component 1222. The light-transmitting touch panel 123 includes a light-transmitting cover plate 1231. The light-transmitting cover plate 1231 includes a projection display area Y. The projection component 122 is used to project an interactive interface image 200 onto the projection display area Y; that is, the interactive interface image 200 formed by the imaging component 1222 is projected onto the projection display area Y of the light-transmitting cover plate 1231, so that the user can observe the interactive interface image 200 displayed in the projection display area Y.
[0082] The technical solution of this application will now be described in detail through specific embodiments.
[0083] It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0084] Figure 4 This is a flowchart illustrating an embodiment of the interface switching method provided in this application. Figure 4 As shown, the interface switching method may include the following steps:
[0085] S41. In response to the first user input, generate an interface switching instruction.
[0086] The interface switching instruction includes the identifier of the target interactive interface, which is used to indicate that the current interface should be switched to the target interactive interface.
[0087] Figure 5 This is a schematic diagram of the interface of Embodiment 1 of the interactive interface provided in this application. Figure 6 This is a schematic diagram of the interface of Embodiment 2 of the interactive interface provided in this application. For example... Figure 5 and Figure 6 As shown, the interactive interface includes at least one functional icon (such as...). Figure 5 as well as Figure 6 The interactive interface shown includes 6 different function patterns. The combination of function patterns in each interactive interface can be the default setting when the vehicle leaves the factory, or it can be freely combined according to the user's actual needs. This application embodiment does not impose specific restrictions on this.
[0088] S42. Based on the identifier of the target interactive interface and the first mapping relationship, obtain the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface.
[0089] The imaging component is used to process the light rays projected by the light source into images.
[0090] In practical applications, the imaging component can be a character card, and the character sheet can be customized according to actual needs. For example, the character sheet may include complete characters and / or patterns from an interactive interface, or it may include partial characters and / or patterns from an interactive interface. The characters and / or patterns in the character sheet can be obtained through laser engraving or printing technology, and these characters and / or patterns are translucent, while other parts of the character sheet are not translucent.
[0091] Optionally, the characters and / or patterns in the character sheet can be transparent, or they can be red, black, etc., and can be limited according to actual needs. This application embodiment does not impose specific limitations in this regard.
[0092] The first mapping relationship is the mapping relationship between the identifier of the interactive interface, the identifier of the light source, and the identifier of the imaging component.
[0093] The first mapping relationship may be obtained in advance from the server corresponding to the vehicle, or it may be stored in the vehicle by relevant staff through a data storage device that stores the first mapping relationship. This application embodiment does not impose specific restrictions on this.
[0094] For example, this first mapping relationship can be illustrated by Table 1:
[0095] Table 1
[0096]
[0097]
[0098] As shown in Table 1, assuming the identifier of the target interactive interface is Interactive Interface 1, then based on the identifier of the target interactive interface and the first mapping relationship shown in Table 1, the identifiers of the target light source and the target imaging component corresponding to the identifier of the target interactive interface can be determined as Light Source 1 and Imaging Component 1, respectively. Assuming the identifier of the target interactive interface is Interactive Interface 3, then based on the identifier of the target interactive interface and the first mapping relationship shown in Table 1, the identifiers of the target light source and the target imaging component corresponding to the identifier of the target interactive interface can be determined as Light Source 3 and Imaging Component 3, respectively.
[0099] It should be understood that the first mapping relationship may also include other content and forms, which can be specifically limited according to the actual situation. The embodiments of this application do not impose specific limitations on this.
[0100] In this application embodiment, there is no limitation on the number of identifiers for the target light source and the target imaging component. That is, the identifiers for one or more target light sources and one or more target imaging components can be determined by the identifier of a target interactive interface and the first mapping relationship. For example, when the display panel is large and has a large curvature, multiple target light sources are needed to meet the projection requirements.
[0101] S43. Based on the identification of the target light source and the identification of the target imaging component, switch the interface to the target interactive interface.
[0102] In one specific implementation, the target imaging component is controlled to move to a first preset position, and the target light source is controlled to project light onto the target imaging component, so that the interface is switched to the target interactive interface in the projection display area of the light-transmitting touch panel according to the patterned light.
[0103] It should be understood that all imaging components can correspond to a first preset position, multiple imaging components can correspond to a first preset position, or one imaging component can correspond to a first preset position. This application embodiment does not impose specific limitations on this.
[0104] For example, the color of the light projected by the target light source can be white, red, yellow, etc., and different colors of light sources can also be projected. This application embodiment does not impose specific limitations on this.
[0105] In practical applications, assuming the color of each functional pattern in the target interactive interface is red, the color of the light projected by the target light source can also be red, and the functional patterns in the target character sheet are transparent, so that the color of each functional pattern in the target interactive interface displayed in the projection display area is red. Optionally, the color of the light projected by the target light source can be white, and the color of the functional patterns in the target character sheet can be red, so that the color of each functional pattern in the target interactive interface displayed in the projection display area is red.
[0106] In practical applications, assuming that the colors of the functional patterns in the target interactive interface are different, such as the color of functional pattern 1 being red, the color of functional pattern 2 being yellow, and the color of functional pattern 3 being green, then the color of the light projected by the target light source can be white, and the color of functional pattern 1 in target character piece 1 is red, the color of functional pattern 2 in target character piece 2 is yellow, and the color of functional pattern 3 in target character piece 3 is green, so that the colors of the functional patterns in the target interactive interface displayed in the projection display area are different.
[0107] By changing the color of the light projected by the light source, different colors can be displayed for different functions. It can also synchronize the ambient light of the whole vehicle and switch more indicator colors, making it more technologically advanced.
[0108] For example, the projection display area of the light-transmitting touch panel can be a coated light-transmitting touch panel, so that when patterned light shines on the coating, characters visible to the naked eye are displayed. The projection display area of the light-transmitting touch panel can also be a projection layer (composed of fine dot clouds) obtained by laser engraving technology, so that when patterned light shines on the projection layer, it will reflect light locally, displaying characters visible to the naked eye.
[0109] The interface switching method provided in this application generates an interface switching command in response to a first user input operation. Based on the identifier of the target interactive interface and a first mapping relationship, it obtains the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface. Then, based on the identifiers of the target light source and the target imaging component, it switches the interface to the target interactive interface. In this technical solution, a light source and an imaging component replace the TFT for interface switching, enabling multiple interfaces to be displayed within the same touch area. This satisfies the requirements of simple design, high project integration, and a technological feel, while reducing manufacturing costs, power consumption, and heat generation.
[0110] This technical solution integrates multiple functions through a single display panel, enabling the display of different interactive interfaces and the output of functions within each interface. This high level of integration saves space in the vehicle and allows for a simpler design. Furthermore, the display panel in this solution is less affected by materials; it can be traditional transparent plastic, or stylish glass or crystal, etc. The surface of the display panel is not limited by the constraints of traditional TFT flat surfaces, and its curvature can be made larger, thus meeting the stylish styling requirements of the entire vehicle.
[0111] It should be understood that this technical solution can be applied to different areas in a vehicle, such as the center console, the instrument panel, the door armrest, the steering wheel, etc., and this application embodiment does not impose specific limitations on this.
[0112] Optionally, in some embodiments, after obtaining the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface based on the identifier of the target interactive interface and the first mapping relationship, the interface switching method further includes:
[0113] Based on the identifier of the target interactive interface and the second mapping relationship, the target position of the target imaging component corresponding to the identifier of the target interactive interface is obtained. The second mapping relationship is the mapping relationship between the identifier of the interactive interface and the position of the imaging component. Based on the identifier of the target interactive interface and the third mapping relationship, the target projection direction of the target light source corresponding to the identifier of the target interactive interface is obtained. The third mapping relationship is the mapping relationship between the identifier of the interactive interface and the projection direction of the light source.
[0114] The acquisition method and contents of the second and third mapping relationships can be referred to the contents of the first mapping relationship shown in S42, and will not be repeated here.
[0115] Accordingly, based on the identification of the target light source and the target imaging component, the interface is switched to the target interactive interface, which can be achieved through the following steps:
[0116] Control the target imaging component to move to the target position of the target imaging component; control the target light source to project light onto the target imaging component according to the target projection direction, so that the interface is switched to the target interactive interface in the projection display area of the light-transmitting touch panel according to the patterned light.
[0117] In the above embodiments, the target position of the target imaging component and the target projection direction of the target light source are determined through the second mapping relationship and the third mapping relationship, thereby controlling the moving position of the target imaging component and the projection direction of the target light source. This allows for flexible combination of the imaging component and the light source to achieve the purpose of interface switching, effectively reducing the number of light sources and saving costs.
[0118] Optionally, in some embodiments, before generating an interface switching instruction in response to a first user input, the interface switching method further includes:
[0119] The system receives the user's initial input via a light-transmitting touch panel.
[0120] Users can click on the interface switching controls in the translucent touch panel. The vehicle uses a capacitive touch sensor on the bottom of the translucent touch panel to detect human electrostatic discharge and control the capacitor of the PCBA (Printed Circuit Board Assembly) to charge and discharge, thereby receiving the user's first input.
[0121] or,
[0122] The system uses a sensor camera to capture the touch point when a user touches the light-transmitting touch panel, and then receives the first operation input by the user based on that touch point.
[0123] For example, the interface switching control can be a target interactive interface control, such as interface 1 control, interface 2 control, interface 3 control, or it can be a control to return to the previous interface or the initial interface control.
[0124] or,
[0125] The system receives the first input from the user via multi-function buttons located on the steering wheel.
[0126] For example, if a user presses an interface switching button, the vehicle responds to the user's pressing action and receives the first operation input by the user.
[0127] An example interface switching button can be a target interactive interface button, such as an interface 1 button, an interface 2 button, an interface 3 button, or a return to the previous interface button, or an initial interface button.
[0128] In the above embodiments, the first operation input by the user is received through a multi-function button or a light-transmitting touch panel, which improves the flexibility of receiving the first operation and lays the foundation for subsequent interface switching.
[0129] Figure 7 This is a flowchart illustrating Embodiment 2 of the interface switching method provided in this application. Figure 7 As shown, based on any of the above embodiments, the interface switching method may further include the following steps:
[0130] S71, in response to the second operation input by the user, generates a function start command.
[0131] The function activation command includes the identifier of the target function.
[0132] In one possible implementation, in response to a user's click on a function control in the light-transmitting touch panel, a second operation input by the user can be received, and a function activation command can be generated based on the identifier of the target function carried in the second operation.
[0133] Among them, functional controls can be implemented in Figure 5 or Figure 6 The function patterns in the diagram represent a single function control.
[0134] In one possible implementation, a second operation input by the user can be received in response to the user pressing a function button deployed on the steering wheel, and a function activation command can be generated based on the identifier of the target function carried in the second operation.
[0135] S72. Activate the target function according to the target function identifier.
[0136] Optionally, after the target function is started, the corresponding program code can also be executed.
[0137] In the above embodiments, the target function is activated in response to a second operation input by the user, thereby providing the user with corresponding functional services and improving the user experience.
[0138] Based on the above embodiments, the present application will be illustrated by the following embodiments.
[0139] In response to the first operation input by the user through the light-transmitting touch panel, an interface switching command is generated through the light-transmitting touch panel, and the interface switching command is executed by the electronic control unit (ECU) corresponding to the interface switching command, triggering the corresponding load, thereby switching the interface to the target interactive interface.
[0140] Similarly, in response to a second operation input by the user through the light-transmitting touch panel, a function start command is generated through the light-transmitting touch panel, and the ECU corresponding to the function start command executes the function start command to start the target function.
[0141] For example, the number of ECUs can be 1, 2, 3, etc., and can be limited according to actual needs. This application embodiment does not impose a specific limit on the number of ECUs.
[0142] Optionally, when there is only one ECU, the ECU can receive a first operation input by the user via the multi-function keys, generate and execute an interface switching command, thereby switching the interface to the target interactive interface. Similarly, the ECU can receive a second operation input by the user via the multi-function keys, generate and execute a function activation command, thereby activating the target function.
[0143] Optionally, when the number of ECUs is greater than one, the light-transmitting touch panel receives a first operation input by the user via the multi-function buttons, generates an interface switching command, and executes the interface switching command through the ECU corresponding to the command, triggering the corresponding load and thus switching the interface to the target interactive interface. Similarly, the light-transmitting touch panel can receive a second operation input by the user via the multi-function buttons, generate a function activation command through the touch panel, and execute the function activation command through the ECU corresponding to the command, thereby activating the target function.
[0144] The following are embodiments of the apparatus of this application, which can be used to execute the embodiments of the method of this application. For details not disclosed in the embodiments of the apparatus of this application, please refer to the embodiments of the method of this application.
[0145] Figure 8 This is a schematic diagram of the interface switching device provided in an embodiment of this application. Figure 8 As shown, the interface switching device includes:
[0146] The generation module 81 is used to generate an interface switching instruction in response to the first operation input by the user. The interface switching instruction includes the identifier of the target interactive interface.
[0147] The acquisition module 82 is used to acquire the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface according to the identifier of the target interactive interface and the first mapping relationship. The imaging component is used to perform image processing on the light projected by the light source. The first mapping relationship is the mapping relationship between the identifier of the interactive interface, the identifier of the light source and the identifier of the imaging component.
[0148] The switching module 83 is used to switch the interface to the target interactive interface based on the identification of the target light source and the identification of the target imaging component.
[0149] In one possible design of this application embodiment, the switching module 83 is specifically used for:
[0150] Control the target imaging component to move to a first preset position;
[0151] Control the target light source to project light onto the target imaging component, so that the interface is switched to the target interactive interface in the projection display area of the light-transmitting touch panel according to the patterned light.
[0152] In one possible design of this application embodiment, after obtaining the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface based on the identifier of the target interactive interface and the first mapping relationship, the acquisition module 82 is further configured to:
[0153] Based on the identifier of the target interactive interface and the second mapping relationship, the target position of the target imaging component corresponding to the identifier of the target interactive interface is obtained. The second mapping relationship is the mapping relationship between the identifier of the interactive interface and the position of the imaging component.
[0154] Based on the identifier of the target interactive interface and the third mapping relationship, obtain the target projection direction of the target light source corresponding to the identifier of the target interactive interface. The third mapping relationship is the mapping relationship between the identifier of the interactive interface and the projection direction of the light source.
[0155] Correspondingly, switching module 83 is specifically used for:
[0156] Control the target imaging component to move to the target position of the target imaging component;
[0157] The target light source is controlled to project light onto the target imaging component according to the target projection direction, so that the interface is switched to the target interactive interface in the projection display area of the light-transmitting touch panel according to the patterned light.
[0158] In one possible design of this application embodiment, before generating an interface switching instruction in response to a first user input operation, the device further includes:
[0159] The receiving module is used to receive the first operation input by the user through the light-transmitting touch panel;
[0160] or,
[0161] The acquisition module 82 is also used to acquire the touch point when the user touches the light-transmitting touch panel through the sensing camera;
[0162] The receiving module is used to receive the first operation input by the user based on the contact point.
[0163] In one possible design of this application embodiment, before switching the interface to the target interactive interface based on the identifier of the target light source and the identifier of the target imaging component, the device further includes:
[0164] The control module is used to control the movement of imaging components other than the target imaging component to a second preset position;
[0165] The control module is also used to control light sources other than the target light source to stop projecting light.
[0166] In one possible design of this application embodiment, the device further includes:
[0167] The generation module 81 is also used to generate a function activation instruction in response to a second operation input by the user, the function activation instruction including an identifier of the target function;
[0168] The startup module is used to start the target function based on the identifier of the target function.
[0169] The interface switching device provided in this application embodiment can be used to execute the interface switching method in any of the above embodiments. Its implementation principle and technical effect are similar, and will not be described again here.
[0170] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented in software via processing element calls, while others are implemented in hardware. Additionally, these modules can be fully or partially integrated together, or implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. During implementation, each step of the above method or each of the above modules can be completed through the integrated logic circuits in the hardware of the processor element or through software instructions.
[0171] Figure 9 This is a structural schematic diagram of a vehicle provided in an embodiment of this application. Figure 9 As shown, the vehicle may include: a processor 91, a memory 92, and computer program instructions stored in the memory 92 and executable on the processor 91. When the processor 91 executes the computer program instructions, it implements the interface switching method provided in any of the foregoing embodiments.
[0172] Optionally, the various components of the vehicle can be connected via a system bus.
[0173] The memory 92 can be a separate memory unit or a memory unit integrated into the processor. There can be one or more processors.
[0174] Optionally, the vehicle may also include interfaces for interacting with other devices.
[0175] Optionally, the vehicle may also include a display for showing the processing results of the processor 91 and for human-machine interaction. Optionally, the display may be used to display an interactive interface, which may include graphics, text, icons, videos, and any combination thereof. In some embodiments, the display may be the front panel of the vehicle; in other embodiments, the display may be a flexible display screen disposed on a curved or folded surface of the vehicle. Furthermore, the display may be configured as a non-rectangular, irregularly shaped display screen, i.e., a non-rectangular screen. The display may be made of materials such as Liquid Crystal Display (LCD) or Organic Light-Emitting Diode (OLED).
[0176] It should be understood that processor 91 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this application can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0177] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus. Memory 92 may include random access memory (RAM) 92, and may also include non-volatile memory (NVM) 92, such as at least one disk storage device 92.
[0178] All or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable memory 92. When the program is executed, it performs the steps of the above method embodiments; and the aforementioned memory 92 (storage medium) includes: read-only memory 92 (ROM), RAM, flash memory 92, hard disk, solid-state hard disk, magnetic tape, floppy disk, optical disk, and any combination thereof.
[0179] The vehicle provided in this application embodiment can be used to execute the interface switching method provided in any of the above method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.
[0180] This application provides a computer-readable storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the aforementioned interface switching method.
[0181] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory 92, electrically erasable programmable read-only memory 92, erasable programmable read-only memory 92, programmable read-only memory 92, read-only memory 92, magnetic storage 92, flash memory 92, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0182] Optionally, a readable storage medium can be coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Alternatively, the readable storage medium can be an integral part of the processor. Both the processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components within the device.
[0183] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium, and the above-described interface switching method can be implemented when the at least one processor executes the computer program.
[0184] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A method for switching interfaces, characterized in that, include: In response to a first user input, an interface switching instruction is generated, the interface switching instruction including an identifier of the target interactive interface; Based on the identifier of the target interactive interface and the first mapping relationship, the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface are obtained. The imaging component is used to perform image processing on the light projected by the light source. The first mapping relationship is the mapping relationship between the identifier of the interactive interface, the identifier of the light source and the identifier of the imaging component. Based on the identifier of the target interactive interface and the second mapping relationship, the target position of the target imaging component corresponding to the identifier of the target interactive interface is obtained, and the second mapping relationship is the mapping relationship between the identifier of the interactive interface and the position of the imaging component. Based on the identifier of the target interactive interface and the third mapping relationship, the target projection direction of the target light source corresponding to the identifier of the target interactive interface is obtained, and the third mapping relationship is the mapping relationship between the identifier of the interactive interface and the projection direction of the light source. The target position of the target imaging component and the target projection direction of the target light source are determined by the second mapping relationship and the third mapping relationship. Based on the identifier of the target light source and the identifier of the target imaging component, the interface is switched to the target interactive interface; The step of switching the interface to the target interactive interface based on the identifier of the target light source and the identifier of the target imaging component includes: Control the target imaging component to move to the target position of the target imaging component; The target light source is controlled to project light onto the target imaging component according to the target projection direction, so that the interface is switched to the target interactive interface in the projection display area of the same light-transmitting touch panel according to the patterned light. The method further includes, before switching the interface to the target interactive interface: Control the imaging components other than the target imaging component to move to the second preset position; Control the light sources other than the target light source to stop projecting light.
2. The method according to claim 1, characterized in that, Before generating the interface switching instruction in response to the first user input, the method further includes: The first operation input by the user is received through a light-transmitting touch panel; or, The touch point when the user touches the light-transmitting touch panel is captured by a sensor camera; The user inputs the first operation based on the contact point.
3. The method according to claim 1, characterized in that, The method further includes: In response to the second operation input by the user, a function activation instruction is generated, the function activation instruction including an identifier of the target function; The target function is activated based on its identifier.
4. An interface switching device, characterized in that, include: A generation module is used to generate an interface switching instruction in response to a first user input, wherein the interface switching instruction includes an identifier of the target interactive interface; The acquisition module is used to acquire the identifier of the target light source and the identifier of the target imaging component corresponding to the identifier of the target interactive interface according to the identifier of the target interactive interface and the first mapping relationship. The imaging component is used to perform image processing on the light projected by the light source. The first mapping relationship is the mapping relationship between the identifier of the interactive interface, the identifier of the light source and the identifier of the imaging component. The switching module is used to switch the interface to the target interactive interface based on the identifier of the target light source and the identifier of the target imaging component. The acquisition module is further configured to acquire the target position of the target imaging component corresponding to the identifier of the target interactive interface according to the identifier of the target interactive interface and the second mapping relationship, wherein the second mapping relationship is the mapping relationship between the identifier of the interactive interface and the position of the imaging component. Based on the identifier of the target interactive interface and the third mapping relationship, the target projection direction of the target light source corresponding to the identifier of the target interactive interface is obtained, and the third mapping relationship is the mapping relationship between the identifier of the interactive interface and the projection direction of the light source. The target position of the target imaging component and the target projection direction of the target light source are determined by the second mapping relationship and the third mapping relationship. The switching module is specifically used to control the target imaging component to move to the target position of the target imaging component; and to control the target light source to project light onto the target imaging component according to the target projection direction, so that the interface is switched to the target interactive interface in the projection display area of the same light-transmitting touch panel according to the patterned light. Before switching the interface to the target interactive interface, the device further includes: a control module, used to control the imaging components other than the target imaging component to move to a second preset position; Control the light sources other than the target light source to stop projecting light.
5. A vehicle comprising: A processor, a memory, and computer program instructions stored in the memory and executable on the processor, characterized in that the processor executes the computer program instructions to implement the interface switching method as described in any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the interface switching method as described in any one of claims 1 to 3.
7. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it is used to implement the interface switching method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Projective signal lamp device
CN108413348A
Vehicle interior component
CN111771334A