Interface display control method, device and system of charging pile

By establishing a mapping relationship between virtual controls and physical buttons in the charging pile display interface, automatic mode switching is achieved, the problem of touch screen failure of charging piles in high humidity or low temperature environments is solved, and user operation convenience and experience are improved.

CN120335699APending Publication Date: 2025-07-18HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410066189.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-16
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The display screens of existing charging piles frequently occur in high humidity or low temperature environments, resulting in inconvenience in user operation and redundancy in information affects the experience.

Method used

By establishing a mapping relationship between virtual controls and physical buttons in the display interface of the charging pile, free switching between touch screen support mode and key support mode is realized, and the mode is automatically switched according to environmental conditions and user behavior.

Benefits of technology

It effectively avoids touch screen failures, improves user operation convenience and interaction efficiency in different environments, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335699A_ABST
    Figure CN120335699A_ABST
Patent Text Reader

Abstract

The invention provides an interface display control method of a charging pile, a display interface of the charging pile comprises a touch screen support mode and a key support mode, in the touch screen support mode, a user interacts with a virtual control to operate a display screen, and in the key support mode, the user interacts with a physical key to operate the display screen; when a first preset condition is detected, the touch screen support mode is switched to the key support mode, and the physical key and the virtual control are subjected to relation mapping based on a first preset rule. The display interface of the charging pile supports the switching of the touch screen support mode and the case support mode, so that the use requirements of a user on the charging pile in different scenes can be met, the use experience of the user is effectively improved, and the disaster tolerance capability of the display interface of the charging pile is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and particularly to a method, device and system for controlling the interface display of a charging pile. Background Art

[0002] With the gradual popularization of electric vehicles, charging piles have become a new type of infrastructure and are in demand among a large number of vehicle owners. For a charging pile, once it is installed and fixed, it is usually difficult to replace. Currently, the charging pile provides two interaction methods, namely touch screen interaction and button interaction, to meet the needs of different users.

[0003] For vehicle owners, in most scenarios of daily use, touch screen interaction is more convenient and fast; when the air humidity is too high, the touch screen is no longer user-friendly, and button operation becomes more convenient and efficient. Therefore, most current solutions support both touch screen interaction and button interaction scenarios. However, the style of the prompt information in the display screen of the existing charging pile is basically the same as that of the physical button itself, which is likely to cause the problem of mistakenly operating the prompt information as a virtual control, and the information repetition is relatively redundant, affecting the user experience. Summary of the Invention

[0004] This application proposes a method for controlling the interface display of a charging pile. This method establishes a mapping relationship between virtual controls and physical buttons to support the free switching and use of the touch screen support mode and the button operation interface. It can not only effectively avoid the situation where the charging pile cannot be used due to touch screen failure, but also meet the needs of users to operate the charging pile according to their requirements and habits, thus greatly improving the user experience and interaction efficiency.

[0005] In a first aspect, this application proposes a method and device for controlling the interface of a charging pile. The display interface of the charging pile includes a touch screen support mode and a button support mode. Among them, in the touch screen support mode, the user operates the display screen by interacting with virtual controls, and in the button support mode, the user operates the display screen by interacting with physical buttons; when a first preset condition is detected, the touch screen support mode switches to the button support mode, and the physical button and the virtual control are mapped based on a first preset rule. Based on this method, users can switch modes according to their needs in different scenarios, which can not only effectively avoid the problem of using the charging pile in the touch screen failure scenario, but also effectively improve the user experience.

[0006] In a possible implementation of the first aspect, the first preset condition includes at least one of the following conditions: detecting that the temperature is less than the first temperature value, detecting that the humidity is higher than the first humidity value, detecting that the height of the user's head is less than the first height value, and detecting a pressing signal of the physical button; wherein, the first temperature value, the first humidity value, and the first height value are preset values.

[0007] In this solution, since in most cases, the charging pile is located in an outdoor scenario, when the outdoor temperature is relatively low or the environmental humidity is relatively low, the user may not want to use the touch screen for interactive operations due to wearing gloves or the display screen being too wet. When the display screen of the charging pile detects that the humidity exceeds the first humidity value and meets the condition, it automatically switches to the button support mode. At this time, using the button for interactive operations is more convenient for the user, and it can prevent the problem of accidental touch during the touch screen process due to water droplets appearing on the display screen caused by humid air, effectively improving the user experience.

[0008] In a possible implementation of the first aspect, the method further includes: the virtual control includes a first identifier, the physical button includes a second identifier, and the first identifier and the second identifier are relationally mapped based on the first preset rule.

[0009] In a possible implementation of the first aspect, the first preset rule includes but is not limited to: labeling the first identifier based on the usage frequency, labeling the first identifier based on the function, labeling the first identifier based on the user habit; the second identifier is the preset identifier of the physical button; based on the first identifier and the second identifier, the virtual control and the physical button are relationally mapped.

[0010] In a possible implementation of the first aspect, the method further includes: when the number of virtual controls is greater than the number of physical buttons, the virtual controls and the physical buttons have a many-to-one mapping relationship.

[0011] In a possible implementation of the first aspect, the method further includes: when the number of virtual controls is less than or equal to the number of physical buttons, the virtual controls and the physical buttons have a one-to-one mapping relationship.

[0012] In this solution, since the number of virtual controls is less than or equal to the number of physical buttons, there is no need to group the virtual controls separately. When the numbers are the same, the virtual controls and the physical buttons have a one-to-one mapping relationship. When the number of virtual controls is less than the number of physical buttons, some physical buttons can be excluded from the relational mapping. Even so, there is still a one-to-one mapping relationship between the existing virtual controls and physical buttons.

[0013] In a possible implementation of the first aspect, the virtual control and the physical button have a many-to-one mapping relationship, and the method further includes: dividing the virtual controls into multiple groups, each group of virtual controls includes at least one page-turning control. Except for the last group, the number of each group of virtual controls is equal to the number of physical buttons, and the at least one page-turning control is used to implement jumping between different groups of virtual controls.

[0014] In this solution, when the number of virtual controls is more than the number of physical buttons, the virtual controls need to be divided into multiple groups, and at least one page-turning control needs to be additionally added to each group. The page-turning control is mainly used to complete the function of jumping between multiple different groups of virtual controls. Among them, except that the number of the last group of virtual controls may be less than or equal to the number of physical buttons, the number of virtual controls in the remaining groups is equal to the number of physical buttons, and there is a one-to-one correspondence between each virtual control and the physical button.

[0015] In a possible implementation of the first aspect, the method further includes: when a second preset condition is detected, the third mode is switched to the fourth mode, where the second preset condition includes: detecting that the head height is less than a first height value, the third mode is a full-screen display mode, and the fourth mode is a half-screen display mode.

[0016] In this solution, when it is detected in the real scenario that the height of the user's head is lower than the first height value, it is considered at this time that the display range of the display screen needs to adapt to the entire received range of the user's field of view as much as possible, and the display interface will automatically switch the current full-screen display mode to the half-screen display mode, which can not only adapt to the user's needs according to the user's field of view range, but also effectively improve the user experience.

[0017] A second aspect proposes a charging pile, which includes: a display interface of the charging pile, the display interface includes a touch screen support mode and a button support mode. Among them, in the touch screen support mode, the user operates the display screen by interacting with virtual controls, and in the button support mode, the user operates the display screen by interacting with physical buttons; a detection device, configured to switch the touch screen support mode to the button support mode when a first preset condition is detected, and the physical button and the virtual control are mapped based on a first preset rule.

[0018] In a possible implementation of the second aspect, the first preset condition includes at least one of the following conditions: detecting that the temperature is less than the first temperature value, detecting that the humidity is higher than the first humidity value, detecting that the user's head height is less than the first height value, and detecting a pressing signal of the physical button; wherein, the first temperature value, the first humidity value, and the first height value are preset values.

[0019] In a possible implementation of the second aspect, the virtual control includes a first identifier, and the physical button includes a second identifier.

[0020] The first identifier and the second identifier are relationally mapped based on the first preset rule.

[0021] In a possible implementation of the second aspect, the first preset rule includes but is not limited to: labeling the first identifier based on the usage frequency, labeling the first identifier based on the function, and labeling the first identifier based on the user's habit; the second identifier is a preset identifier of the physical button; based on the first identifier and the second identifier, the virtual control and the physical button are relationally mapped.

[0022] In a possible implementation of the second aspect, when the number of virtual controls is greater than the number of physical buttons, the virtual controls and the physical buttons have a many-to-one mapping relationship.

[0023] In a possible implementation of the second aspect, when the number of virtual controls is less than or equal to the number of physical buttons, the virtual controls and the physical buttons have a one-to-one mapping relationship.

[0024] In a possible implementation of the second aspect, the virtual controls and the physical buttons have a many-to-one mapping relationship. The virtual controls are divided into multiple groups. Each group of virtual controls includes at least one page-turning control. Except for the last group, the number of virtual controls in each group is equal to the number of physical buttons. The at least one page-turning control is used to implement jumps between different groups of virtual controls.

[0025] In a possible implementation of the second aspect, when the second preset condition is detected, the third mode is switched to the fourth mode, where the second preset condition includes: detecting that the head height is less than the first height value, the third mode is the full-screen display mode, and the fourth mode is the half-screen display mode.

[0026] In a third aspect, an electronic device with a display interface is proposed. The electronic device includes a processor coupled to a memory. The processor is configured to store instructions that, when executed by the processor, cause the electronic device to perform the method described in any one of the above first aspects.

[0027] In a fourth aspect, a computer-readable storage medium is proposed, which is characterized by including computer instructions that, when running on a computer system, cause the computer system to implement the human-computer interaction method described in any one of the above first aspects.

[0028] In a fifth aspect, a computer program product is proposed. The computer program product includes instructions that, when executed, cause a computer to implement the method described in any one of the above first aspects.

[0029] The beneficial effects of the above second to fifth aspects can be referred to the introduction of the above first aspect and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 FIG. 1 is a schematic diagram of the architecture of an application scenario provided by an embodiment of the present application;

[0031] FIGS. 2(a) and 2(b) are schematic diagrams of a method for controlling the interface display of a charging pile provided by an embodiment of the present application;

[0032] Figure 3 FIG. 3 is a schematic diagram of the correspondence between virtual controls and physical buttons on a display screen proposed by an embodiment of the present application;

[0033] Figure 4 FIG. 4 is a schematic diagram of a semi-screen display of a charging pile proposed by this embodiment;

[0034] Figure 5 FIG. 5 is a schematic diagram of the framework of a charging pile proposed by this embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0035] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Those of ordinary skill in the art will understand that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0036] In the description, claims, and above-mentioned drawings of this application, terms such as "first" and "second" are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that such descriptions can be interchanged under appropriate circumstances so that the embodiments can be implemented in an order other than that shown or described in this application. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules does not necessarily have to be limited to those steps or modules clearly listed, but may include other steps or modules that are not clearly listed or are inherent to these processes, methods, products, or devices. In this application, the naming or numbering of steps does not mean that the steps in the method flow must be executed in the chronological / logical order indicated by the naming or numbering. The named or numbered process steps can be changed in the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

[0037] The division of units in this application is a logical division. In actual implementation, there may be other division methods. For example, multiple units can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed couplings or direct couplings or communication connections between each other can be through some interfaces. The indirect couplings or communication connections between units can be electrical or other similar forms, which are not limited in this application. And the units or subunits described as separate components may or may not be physically separated, may or may not be physical units, or may be distributed to multiple circuit units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this application.

[0038] For ease of understanding, some technical terms involved in the embodiments of this application are introduced below.

[0039] (1) Touch screen

[0040] The touch screen is the display screen of an electronic device. This display screen allows operations corresponding to touch instructions to be completed through touch, thereby realizing the manipulation of the electronic device.

[0041] (2) Virtual control

[0042] The virtual control in this application is also a virtual button, mainly used to control different functions of the display screen. The virtual control is used for interaction between the user and the touch screen.

[0043] (3) Physical button

[0044] The physical buttons in this application are mainly used to control the functions and display of the display screen. They are physical buttons shown on the charging pile and are used to interact with the charging pile.

[0045] This application proposes a method for controlling the display interface of a charging pile. This method can effectively avoid the situation where the touch screen of the charging pile fails in ultra-low temperature or ultra-high temperature environments. The existence of button operations can effectively avoid the impact on the usage experience and operation caused by touch screen failures. It can not only effectively achieve fault degradation but also effectively improve the user experience.

[0046] Please refer to Figure 1 , Figure 1 which is a schematic diagram of the architecture of an application scenario provided by an embodiment of this application. As Figure 1 shown, the application scenario includes user 001 and charging pile 002. Among them, this scenario is mainly to demonstrate the interaction scenario between user 001 and charging pile 002. User 001 is usually the car owner. After the car owner interacts with the charging pile, the owner pulls out the gun to charge the car. The charging pile 002 is usually equipped with a display screen, and an interaction interface is displayed on the display screen. The user can touch the screen or operate the physical buttons to achieve the purpose of charging the car. The charging pile 002 includes physical buttons and a display interface. Virtual controls can be displayed in the display interface. The user can interact with the display interface through the virtual controls or through the physical buttons. Specifically, the physical buttons can operate the display interface by operating the virtual controls. There is a certain mapping rule between the physical buttons and the virtual controls. Exemplarily, a left gun card and a right gun card are also displayed in the display interface. The left gun card is used to indicate the operation of charging with the left charging gun, and the right gun card is used to indicate the operation of charging with the right charging gun.

[0047] In a possible application scenario, the user can operate the display screen by interacting with the physical buttons, and there is a mapping relationship between the physical buttons and the virtual controls.

[0048] In a possible application scenario, the user can directly interact with the display screen of the charging pile through the virtual controls, and this method is also more direct and convenient.

[0049] Please refer to FIGS. 2(a) and 2(b). FIGS. 2(a) and 2(b) are schematic diagrams of a method for controlling the interface display of a charging pile provided by an embodiment of this application. An embodiment of this application provides a method for controlling the interface display of a charging pile. The charging pile has a screen and physical buttons, and the screen is a touch screen.

[0050] This embodiment mainly enables the same interface to have two different layout modes. One layout mode is convenient for the user to operate by touching the screen, and the other layout mode is convenient for the user to operate through the buttons.

[0051] For ease of description, according to the different operation modes supported by the charging pile, it is divided into a touch screen operation mode and a button operation mode. Among them, the touch screen operation mode is mainly a mode that supports touch screen operation; the button support mode is a mode that operates through physical buttons.

[0052] Please refer to Figure 2(a). Figure 2(a) shows the touch screen support mode before charging, during charging, and after charging. In the touch screen support mode, the virtual controls are scattered in the interface, and the position of the virtual control corresponds to the graphical interface area where the virtual control realizes its function in the interface. For example, in (a) of Figure 2(a), the left gun virtual control and the right gun virtual control correspond to the cards corresponding to the left and right charging guns respectively, and the pattern of the charging interface is superimposed on the cards. By viewing the pattern in the area where the virtual control is located and matching the text in the virtual control, the user can clearly know the function realized by the virtual control. For example, in (b) of Figure 2(a), the left gun card shows the charging state, and the charging progress is 57%, and there is a stop touch virtual control at the bottom of the card to stop the current charging state in a timely manner. The right gun card shows an arrow sign, which is used to indicate the area for expanding the right gun card to the left. For example, in (c) of Figure 2(a), the left gun card shows the state of the left gun charging completed, and information such as start time, end time, charging time, charging power, and amount is displayed in the card, and a payment virtual control is displayed at the bottom of the card. The user can realize the payment function through the interaction with the payment virtual control.

[0053] Please refer to Figure 2(b). Figure 2(b) shows the button support mode before charging, during charging, and after charging, which is basically the same as the touch screen support mode in Figure 2(a). The only difference is that the virtual controls in this button support mode are uniformly displayed at the bottom of the screen. Among them, the virtual controls displayed in the display interface before charging include: left gun, language, settings, right gun; the virtual controls displayed in the display interface during charging include: stop, language, settings, right gun; the virtual controls displayed in the display interface after charging include: payment, language, settings. And according to the display position relationship, they correspond to the physical buttons below to realize the functions of the virtual controls at the corresponding positions through the physical buttons below.

[0054] In one embodiment, the charging pile display interface can simultaneously display the touch screen support mode and the button support mode. The user can choose to use touch screen interaction or button interaction to operate the display screen according to actual needs, providing multiple choices for different users, so as to enable the user to select different operation methods according to different scenarios, thereby improving the user experience.

[0055] In one embodiment, the charging pile display screen supports switching from a touch screen support mode to a button support mode. In other words, the initial display interface of the charging pile is in the touch screen support mode. In the touch screen support mode, virtual controls are scattered in the interface, and the position of the virtual control corresponds to the graphical interface area where the virtual control in the interface implements its function. The charging pile obtains information of a preset type, which may be external environment information sensed by the charging pile through sensors and events / signals occurring inside the system. The external environment information includes: temperature, humidity, and the height of the recognized user; the events / signals occurring inside the system include: the signal generated after detecting that the physical button below the display screen is pressed.

[0056] In a possible implementation manner of this embodiment, when at least one of the conditions that the temperature is lower than the preset value T1, the humidity is higher than the preset value S1, and the user height is lower than the preset value H1 is satisfied through image recognition, if the current interface is currently displayed in the touch screen support mode, then it triggers a switch from the touch screen support mode to the button support mode. The above three scenarios respectively correspond to: a low-temperature environment (for example, the temperature is less than -10°C), a high-humidity environment (at this time, water droplets may be adsorbed on the screen, which is not conducive to touching), and an obstacle-free environment. In a low-temperature environment and a high-humidity environment, the use experience of the touch screen decreases, or there may be scenarios where it is inconvenient to touch the screen due to the user wearing gloves, etc. At this time, the button support mode will be more convenient and friendly. When any of the above conditions is detected to be satisfied, switching the touch screen support mode to the button support mode is more convenient for the user to use the charging pile. Among them, T1, S1, and H1 support custom settings.

[0057] In a possible implementation manner of this embodiment, when it is detected that the button is pressed, or the signal generated after the button is pressed is detected and recognized as a mode switching signal, if the current interface is currently displayed in the touch screen support mode, then it triggers a switch from the touch screen support mode to the button support mode. Among them, the analysis and recognition of the press signal can be implemented by any algorithm in the prior art, and no limitation is made here.

[0058] In a possible implementation manner of this embodiment, when the button support mode is displayed, if the screen touch signal is detected as a mode switching signal, then it switches to the touch screen support mode for display.

[0059] In a possible implementation of this embodiment, when it is detected that the height of the user's head recognized through image recognition is higher than the preset value H1, the charging pile adaptively adjusts the height of the display interface of the charging pile display screen according to the detected height H1 of the user's head, so as to better bring the display interface of the charging pile into the user's field of vision and facilitate the interaction between the user and the charging pile. Among them, the detection of the height of the user's head can be achieved through a camera or a combination of a camera and a radar. In this application, the method of camera recognition is simply used as an example. Here, other algorithms and existing technologies that can achieve height recognition fall within the scope of protection of this application and will not be elaborated one by one.

[0060] Through the interface switching process described above, the same charging interface can establish a mapping between virtual controls and physical buttons within the interface according to the preset mapping relationship, so that the same interface can be adapted to touch screen operations and can also be adapted to operations through physical buttons. Before and after the interface switching, only one UI icon of the same virtual control is displayed on the interface, without redundant information displayed, which will not cause trouble to the user's operation.

[0061] In a possible implementation of this embodiment, the display screen of the charging pile supports switching from the button support mode to the touch screen support mode. The initial display interface of the charging pile is the button support mode. In the button support mode, the virtual controls within the button support mode are uniformly displayed at the bottom of the screen and correspond to the physical buttons below according to the display position relationship, so as to realize the functions of the virtual controls at the corresponding positions through the physical buttons below. The switching of the display screen can be triggered by the same preset conditions, as described in the above embodiment, and will not be elaborated here.

[0062] Please refer to Figure 3 , Figure 3 which is a schematic diagram of the corresponding relationship between virtual controls and physical buttons in a display screen proposed in an embodiment of this application. In this embodiment, the corresponding relationship and layout logic between virtual controls and physical buttons are mainly introduced.

[0063] In a possible implementation of this embodiment, the priority is determined according to the type of function implemented by the virtual control. The functions implemented by different virtual controls are classified. For example, for virtual controls related to the charging process (left gun, right gun, stop charging, payment, etc.), they can all be classified as charging operation types; while other virtual controls such as language, help, and accessibility can be classified as setting types. The priority of the charging operation type can be set as level one in the system, and the priority of the setting type can be set as level two. When numbering the virtual controls, the virtual controls with priority level one are numbered first, and then numbered sequentially according to the priority. Among them, within the same priority, the priority can be sorted according to the usage frequency on the virtual control or directly sorted based on the arrangement position of the virtual control (any position is acceptable). The method of sorting the priority of each virtual control is not limited here, and other priority sorting methods are also included in the protection scope of this solution. When the number of virtual controls exceeds the number of physical buttons (here, the number of physical buttons is set to 4 for illustration), the virtual controls are arranged in groups of three in sequence. Multiple virtual controls need to be displayed in multiple groups, and a paging virtual control needs to be added to each column. This paging virtual control is mainly used to complete the jump between different groups of virtual controls. Among them, in the display page of virtual controls in non-last groups, the next group of virtual controls needs to be added. This next group of virtual controls is mainly used to jump to the next sequence of virtual controls. In the list of virtual controls in the last group, the previous group of virtual controls needs to be added. This previous group of virtual controls is mainly used to indicate returning to the previous list of virtual controls.

[0064] In another possible implementation of this embodiment, the priority is determined according to the operation frequency of the virtual control in the current operation interface. The functions of different virtual controls are different, and their usage frequencies are also very different. Therefore, the virtual controls are sorted according to their usage frequencies to obtain the numbers of each virtual control, and they are arranged in sequence according to the numbers. When the number of virtual controls exceeds the number of physical buttons (4), each column has three virtual controls, and a paging virtual control is added; when the number of virtual controls is less than or equal to the number of physical buttons, all the virtual controls are arranged in a group, and only the corresponding physical buttons need to be mapped to the virtual controls.

[0065] In this embodiment, first, the number and numbering information of all interactive virtual controls that support touch interaction in the current interface are obtained. For the virtual controls in the interface, a numbering attribute is added, and the numbering attribute is used to indicate the corresponding relationship between the virtual control and the physical button. The numbering information in the system is determined by the system in a preset manner. In a possible implementation manner of this embodiment, the numbering of the virtual controls can be obtained by adding the usage frequency and sorting by priority. As described above, it can also be simply numbered according to different functions, and specific limitations are not made here. Exemplarily, different virtual controls are sorted by priority according to the usage frequency to obtain the corresponding numbers. The physical buttons can be arranged from left to right, where the leftmost physical button has the highest priority, the rightmost physical button has the second highest priority, and then the second from the left, the second from the right, the third from the left, the third from the right, and so on.

[0066] In this solution, in order to better describe the mapping relationship between the virtual control and the physical button, the following will be explained and exemplified in detail. If the number of virtual controls is less than the number of physical buttons, the mapping can be directly performed according to the numbers of the virtual controls and the physical buttons. Taking the interface layout switch from (a) of Figure 2(a) to (a) of Figure 2(b) as an example, there are 4 virtual controls in the interface, namely "Left Gun", "Right Gun", "Language", and "Settings". When the interface is loaded, the numbers "Left Gun" 1, "Right Gun" 2, "Language" 3, and "Settings" 4 are assigned respectively. There are four physical buttons, and the numbers from left to right are 1, 3, 4, and 2 in sequence. According to the mapping rule preset by the system (for example, the ones with the same number are mapped), the "Left Gun" virtual control is mapped to the leftmost physical button, the "Right Gun" virtual control is mapped to the rightmost physical button, the "Language" virtual control is mapped to the second physical button from the left, and the "Settings" virtual control is mapped to the third physical button from the left.

[0067] If the number of virtual controls is greater than the number of physical buttons N, the virtual controls with numbers before N - 1 are mapped to the home page; the ones with numbers from N to 2(N - 1) are mapped to the next-level menu, and so on if there are more.

[0068] When the number of virtual controls is greater than the number of physical buttons N, a "page turning" virtual control needs to be added to participate in the mapping during mapping. For each level of menu, a physical button with a specific number can be specified to correspond to the display of the "page turning" virtual control. For example Figure 3 it is specified that the button numbered 4 (the numbers of the 4 physical buttons from left to right are 1342 in sequence) displays the "page turning" virtual control. Pressing the button corresponding to the "page turning" virtual control displays the virtual controls in the next-level or previous-level menu to replace the virtual controls at the bottom of the original screen.

[0069] In this embodiment, a corresponding relationship is established between the virtual control and the physical button so that the functions implemented by the virtual control can be realized through the physical button. Specifically, the pressing signal of the physical button is associated with the computer instruction that is responsive when the virtual control corresponding to the physical button is touched, so that pressing the physical button generates the same computer instruction as touching the virtual control. It can be understood that when the physical button corresponding to the "page turning" virtual control is pressed to display the virtual control of the next-level menu, the corresponding relationship between the virtual control and the physical button is also updated in real time.

[0070] When the virtual controls are arranged at the bottom of the screen and a mapping relationship is established with the physical buttons, the virtual controls can still be touched and can respond to the touch to generate computer instructions and execute the corresponding functions.

[0071] Please refer to Figure 4 , Figure 4 , which is a schematic diagram of the half-screen display of a charging pile proposed in this embodiment. This embodiment is mainly applied under the condition that it is recognized that the user's height does not meet the condition of H1. In order to make it more convenient for the user to interact with the charging pile and provide a more user-friendly experience, a half-screen display method is proposed.

[0072] In this embodiment, when the interface is switched from the touch screen support mode to the button support mode, if the input that triggers the interface switch is that it is recognized that the user's head height is lower than the preset value, the current interface will be reduced to a half-screen display. The half-screen display interface is beneficial for users such as wheelchair users and dwarfism patients to perform charging operations.

[0073] Of course, the trigger of the half-screen interface is not limited to being completed during the interface switch. It can also be triggered by touching the accessibility virtual control on the screen, or by pressing the physical button corresponding to the accessibility virtual control when the accessibility virtual control is mapped at the bottom of the screen to display the half-screen interface.

[0074] In an implementation manner of the embodiment of the present application, when a trigger signal of a physical button is detected, the virtual control in the interface corresponding to the physical button is determined according to the trigger signal, and the click event of the virtual control in the interface is triggered to generate and execute the computer instruction of the click event.

[0075] When the physical button is pressed, the electronic device generates a trigger signal of the physical button, and the signal carries at least the number information of the physical button or the number information of the virtual control in the interface corresponding to the physical button. When carrying the number information of the physical button, the signal is parsed, and then the number information of the virtual control in the interface corresponding to the physical button is obtained according to the preset mapping relationship. Then, the virtual control in the interface is determined according to the number information of the virtual control in the interface, and then the click event of the control is triggered. After the click event is triggered, the corresponding computer instruction is generated, and when the computer instruction is executed, it is used to implement the function corresponding to the virtual control of the interface.

[0076] In a possible implementation of this embodiment, initially, the charging pile displays the interface shown in Fig. 2(a)(a). The user presses the leftmost button. At this time, the system in the charging pile generates a trigger signal, and the trigger signal carries the button number "01" of the leftmost button. Then the system determines the interactive virtual controls in the current interface and obtains the numbers of all interactive virtual controls. According to the preset mapping relationship (assumed to be: the same numbers are mapped), the corresponding virtual control is matched as the "left gun" virtual control. Then the operating system triggers the click event of the "left gun" virtual control, generates the computer instructions corresponding to the click event, and executes them. After executing this computer instruction, the self-lock of the left charging gun is released, and the user can pull out the left charging gun. During the execution of the instruction, the charging interface is re-layout and switched to the interface shown in Fig. 2(b)(a).

[0077] In a possible implementation of this embodiment, the pressing trigger signal of the physical button here can synchronously trigger the switch from the touch screen support mode to the button support mode. That is to say, if the touch screen support mode is currently displayed, if at a certain moment, the leftmost physical button in Fig. 2(a)(a) is pressed, the operating system first switches from the touch screen support mode to the button support mode, and then triggers the click event of the "left gun" virtual control. Finally, the self-lock of the left charging gun is released. Of course, it can also be just an operation to switch from the touch screen support mode to the button support mode. If you want to release the self-lock of the left charging gun, you need to press the leftmost physical button again or click the "left gun" virtual control above the leftmost physical button.

[0078] In a possible implementation of this embodiment, when it is detected that the user's head height is lower than the preset value, the height of the display screen can also be adaptively adjusted according to the detected head height. Among them, it supports customizing the ratio between the display height of the display screen and the user height, but the minimum height of the display screen cannot be lower than 1 / 5 of the display screen. Among them, this minimum limit of 1 / 5 also supports setting.

[0079] Please refer to Figure 5 , Figure 5Schematic diagram of the framework of a charging pile proposed in this embodiment. This embodiment is mainly used to describe the framework of the charging pile. As can be seen from the schematic diagram of the framework of a charging pile shown in the figure, the charging pile 100 includes a display interface 104, a detection device 108, physical buttons 102, etc. Among them, the display interface is mainly used to receive the operations of the user on the charging pile 100 and perform displays according to these operations. The display interface includes a touchscreen support mode and a button support mode. Among them, in the touchscreen support mode, the user operates the display interface 104 of the charging pile 100 by interacting with the virtual control 106. In the button support mode, the user operates the display interface 104 of the charging pile 100 by interacting with the physical buttons. The display interface 104 also includes a virtual control 106, and the user can operate the display interface 104 by interacting with the virtual control 106; the detection device 108 is used to switch the touchscreen support mode to the button support mode when detecting a first preset condition, where a relationship mapping is performed between the physical button 102 and the virtual control 106 based on a first preset rule. Among them, the first preset condition includes: at least one of the detection device 108 detecting that the temperature is lower than a first preset temperature value, the detection device 108 detecting that the humidity is higher than a first preset humidity value, and detecting that the user's head is lower than a first preset height value; the first preset rule includes: the virtual control 106 includes a first identifier, and the physical button 102 includes a second identifier. Among them, the first identifier can be marked according to user habits, functions, or usage frequencies, and the second identifier is an inherent identifier. A relationship mapping is performed between the first identifier and the second identifier. When the number of virtual controls 106 is greater than the number of physical buttons, the relationship between the virtual control 106 and the physical button 102 is a many-to-one relationship. In this scenario, the virtual controls 106 need to be grouped, and at least one paging control needs to be added to each group. The paging control is used to jump between multiple virtual control groups. Except for the last group, the number of virtual controls in each group is equal to the number of physical buttons; when the number of virtual controls 106 is less than or equal to the number of physical buttons 102, except for the redundant physical buttons, there is a one-to-one mapping relationship between the virtual control 106 and the physical button 102.

[0080] In a possible implementation manner of this embodiment, the detection device 108 included in the charging pile 100 may include a camera, a sensor, etc. Among them, the camera can be used to detect whether the user's head height meets the first preset height value, and the sensor is used to detect changes in the external environment and detect the pressing signals of the corresponding physical buttons.

[0081] Among the functions or features described in the above embodiments, some can be implemented by software, some can be implemented by hardware, and some can be implemented by a combination of software, hardware, or firmware. When implemented using software, it can be implemented in the form of a computer program product in whole or in part.

[0082] A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer language, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be stored by a computer or a data storage device such as a training device or a data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state disk (SSD)).

Claims

1. A method for controlling the interface display of a charging pile, characterized in that including: The display interface of the charging pile includes a touch screen support mode and a button support mode. In the touch screen support mode, the user operates the display screen by interacting with virtual controls. In the button support mode, the user operates the display screen by interacting with physical buttons. When a first preset condition is detected, the touch screen support mode is switched to the button support mode, and the physical buttons and the virtual controls are relationally mapped based on a first preset rule.

2. The method according to claim 1, wherein The first preset condition includes at least one of the following conditions: detecting that the temperature is less than a first temperature value, detecting that the humidity is higher than a first humidity value, detecting that the user's head height is less than a first height value, and detecting a pressing signal of the physical button. Wherein, the first temperature value, the first humidity value, and the first height value are preset values.

3. The method according to claim 1, wherein The method further includes: The virtual control includes a first identifier, and the physical button includes a second identifier. The first identifier and the second identifier are relationally mapped based on the first preset rule.

4. The method according to claim 3, wherein The first preset rule includes, but is not limited to: labeling the first identifier based on the usage frequency, labeling the first identifier based on the function, and labeling the first identifier based on the user's habit. The second identifier is a preset identifier of the physical button. Based on the first identifier and the second identifier, a relational mapping is performed between the virtual control and the physical button.

5. The method according to claim 3 or 4, characterized in that, The method further includes: When the number of virtual controls is greater than the number of physical buttons, the virtual controls and the physical buttons have a many-to-one mapping relationship.

6. The method according to claim 3 or 4, characterized in that, The method further includes: When the number of virtual controls is less than or equal to the number of physical buttons, the virtual controls and the physical buttons have a one-to-one mapping relationship.

7. The method according to claim 5, wherein When the virtual controls and the physical buttons have a many-to-one mapping relationship, the method further includes: The virtual controls are divided into multiple groups. Each group of virtual controls includes at least one paging control. Except for the last group, the number of each group of virtual controls is equal to the number of physical buttons. The at least one paging control is used to implement jumps between different groups of virtual controls.

8. The method according to claim 1, characterized in that The method further includes: When a second preset condition is detected, a third mode is switched to a fourth mode. The second preset condition includes: detecting that the head height is less than the first height value. The third mode is a full screen display mode, and the fourth mode is a half screen display mode.

9. A charging pile, characterized in that, including: A display interface for receiving operations of the user on the charging pile and performing a display according to the operations. The display interface includes a touch screen support mode and a button support mode. In the touch screen support mode, the user operates the display screen by interacting with virtual controls. In the button support mode, the user operates the display screen by interacting with physical buttons. A detection device for switching the touch screen support mode to the button support mode when a first preset condition is detected, and relationally mapping the physical buttons and the virtual controls based on a first preset rule.

10. The charging pile according to claim 9, characterized in that, The first preset condition includes at least one of the following conditions: detecting that the temperature is less than the first temperature value, detecting that the humidity is higher than the first humidity value, detecting that the user's head height is less than the first height value, and detecting a pressing signal of the physical button; Wherein, the first temperature value, the first humidity value, and the first height value are preset values.

11. The charging pile according to claim 9, wherein, The virtual control includes a first identifier, and the physical button includes a second identifier. The first identifier and the second identifier are relationally mapped based on the first preset rule.

12. The charging pile according to claim 11, wherein, The first preset rule includes but is not limited to: labeling the first identifier based on the usage frequency, labeling the first identifier based on the function, and labeling the first identifier based on the user habit; The second identifier is a preset identifier of the physical button. Based on the first identifier and the second identifier, a relational mapping is performed between the virtual control and the physical button.

13. The charging pile according to claim 11 or 12, characterized in that, When the number of virtual controls is greater than the number of physical buttons, the virtual controls and the physical buttons have a many-to-one mapping relationship.

14. The charging pile according to claim 11 or 13, characterized in that, When the number of virtual controls is less than or equal to the number of physical buttons, the virtual controls and the physical buttons have a one-to-one mapping relationship.

15. The charging pile according to claim 14, wherein, The virtual controls and the physical buttons have a many-to-one mapping relationship. The virtual controls are divided into multiple groups. Each group of virtual controls includes at least one page-turning control. Except for the last group, the number of each group of virtual controls is equal to the number of physical buttons. The at least one page-turning control is used to implement jumping between different groups of virtual controls.

16. The charging pile according to claim 9, wherein, When the second preset condition is detected, the third mode is switched to the fourth mode, where the second preset condition includes: detecting that the head height is less than the first height value, the third mode is the full-screen display mode, and the fourth mode is the half-screen display mode.

17. An electronic device with a display interface, characterized in that, It includes a processor, and the processor is coupled to a memory. The processor is used to store instructions. When the instructions are executed by the processor, the electronic device is caused to execute the method according to any one of claims 1-8.

18. A computer-readable storage medium, characterized in that, It includes computer instructions. When the computer instructions run on a computer system, the computer system is caused to implement the method according to any one of claims 1-8.

19. A computer program product, comprising instructions therein, characterized in that, When the instructions are executed, the computer is caused to implement the method according to any one of claims 1-8.