Charging cabinet interactive interface switching method, device, electronic device and medium

By automatically switching the HMI interface of the charging cabinet and switching the interface according to the operating status, the problems of cumbersome manual operations and too many interfaces are solved, and the user experience and convenience of information query are improved.

CN114138382BActive Publication Date: 2024-10-11BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010918186.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-03
Publication Date
2024-10-11
Estimated Expiration
2040-09-03

AI Technical Summary

Technical Problem

Switching the existing charging cabinet HMI interface requires manual clicking of function buttons, which is cumbersome to operate, has a poor user experience, and has too many interface buttons that distract attention.

Method used

By obtaining the current operating status of the charging cabinet, it automatically switches to the target interactive interface based on the pre-established correspondence between the operating status and the interactive interface, and uses the interface switching register to implement interface switching.

Benefits of technology

It simplifies the interface switching process, improves user experience, and ensures simple, intuitive and convenient information query.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114138382B_ABST
    Figure CN114138382B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention provide a method, device, electronic device and medium for switching the interactive interface of a charging cabinet, wherein the method for switching the interactive interface of the charging cabinet includes: obtaining the current operating state of the charging cabinet; determining the target interactive interface corresponding to the current operating state of the charging cabinet according to the correspondence between the operating state and the interactive interface; writing the target number value corresponding to the target interactive interface into an interface switching register, and switching to the target interactive interface for display according to the target number value in the interface switching register. The technical solution provided by the present invention can automatically switch to the corresponding interactive interface for display based on different operating states, ensure the simplicity and intuitiveness of the interface information, switch the display when the corresponding interface needs to be displayed, and ensure the effectiveness and convenience of information query.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent display technology, and in particular to a switching method, device, electronic device and medium for an interactive interface of a charging cabinet. Background Art

[0002] HMI (Human Machine Interface) is an interface for information exchange between equipment and users. HMI receives and issues user instructions to control equipment start and stop, modify operating parameters, etc.; it also receives and displays the operating status and information uploaded by the equipment controller.

[0003] Usually, a device's HMI has many different interfaces. For example, a charging cabinet has a standby interface, a card swiping interface, a startup interface, a charging operation interface, a fault query interface, a parameter configuration interface, etc. Due to the limitation of the screen size, only one interface can be displayed at a time, and other interfaces can be triggered to open by clicking the corresponding function buttons as needed. Each interface usually needs to include display information and switching buttons for other interfaces. For example, in the charging cabinet HMI, in the standby interface, after the user plugs in the charging gun, click the "Start Charging" button to enter the card swiping interface, and choose to swipe the card or scan the code to start charging. After swiping the card / scanning the code, click the "Charging Information" button to enter the charging interface and view the charging information.

[0004] The method of using function buttons to open interfaces requires that during engineering development, other interface function buttons should be listed on each interface according to the usage scenario so that users can open all the interfaces they need to view. This method has the following disadvantages: 1. During the charging process, each interface switch requires manual clicking of the corresponding button, which is cumbersome and does not provide a good user experience; 2. Each interface must consider what information the user may need to view on this interface, and display the information query function button, resulting in too many interface buttons, which distracts the user's attention. Summary of the invention

[0005] The embodiments of the present invention provide a method, device, electronic device and medium for switching the interactive interface of a charging cabinet to solve the problems in the prior art that manual operation is required when switching interfaces, resulting in poor user experience and the interface content affecting user attention.

[0006] In a first aspect of the implementation of the present invention, a method for switching an interactive interface of a charging cabinet is provided, which is applied to an HMI system, wherein the HMI system is integrated on the charging cabinet, and the method comprises:

[0007] Get the current operating status of the charging cabinet;

[0008] Determine a target interactive interface corresponding to the current operating state of the charging cabinet according to the corresponding relationship between the operating state and the interactive interface;

[0009] The target number value corresponding to the target interactive interface is written into the interface switching register, and the target interactive interface is switched to be displayed according to the target number value in the interface switching register.

[0010] Optionally, obtaining the current operating status of the charging cabinet includes:

[0011] Receiving a Modbus message sent by a charging cabinet system controller, the charging cabinet system controller uses the Modbus communication protocol to encapsulate the collected current operating status of the charging cabinet to generate the Modbus message, and the charging cabinet includes the charging cabinet system controller;

[0012] The Modbus message is parsed according to the Modbus communication protocol to obtain the current operating status of the charging cabinet.

[0013] Optionally, obtaining the current operating status of the charging cabinet includes:

[0014] Acquire the current operating status of the charging cabinet according to a preset period;

[0015] Among them, within each preset cycle, the target interaction interface is determined according to the current operating status of the charging cabinet, and the interface is switched when the target interaction interface is updated.

[0016] Optionally, before obtaining the current operating status of the charging cabinet, the method further includes:

[0017] Read the first number value corresponding to the current interactive interface stored in the interface number register;

[0018] Determining, according to the first number value, whether the current interaction interface is a management and debugging interaction interface or a human-computer interaction interface;

[0019] When the current interaction interface is the human-computer interaction interface, the step of obtaining the current operating status of the charging cabinet is performed.

[0020] Optionally, before obtaining the current operating status of the charging cabinet, the method further includes:

[0021] Acquire multiple categories of operating status of the charging cabinet;

[0022] For the operating status of each category, an interactive interface is generated, and a corresponding relationship between the operating status and the interactive interface is established.

[0023] Optionally, the current operating state of the charging cabinet includes: a charging gun state and a charging cabinet state, and determining the target interactive interface corresponding to the current operating state of the charging cabinet according to the corresponding relationship between the operating state and the interactive interface includes:

[0024] When the charging gun is in disconnected state and the charging cabinet is in standby state, the target interaction interface is determined to be a standby interaction interface according to the corresponding relationship;

[0025] When the charging gun is in a connected state and the charging cabinet is in a started state, the target interaction interface is determined to be a start interaction interface according to the corresponding relationship;

[0026] When the charging gun is in a connected state and the charging cabinet is in an operating state, determining, according to the corresponding relationship, that the target interaction interface is a charging interaction interface;

[0027] When the charging gun is in a connected state and the charging cabinet is in a fully charged but unsettled state, the target interaction interface is determined to be a fully charged but unsettled interaction interface according to the corresponding relationship.

[0028] Optionally, the current operating state of the charging cabinet includes: charging gun state, charging cabinet state and charging authentication state, and determining the target interactive interface corresponding to the current operating state of the charging cabinet according to the corresponding relationship between the operating state and the interactive interface includes:

[0029] When the charging gun status is connected, the charging cabinet status is prompting the user to perform charging authentication, and the charging authentication status is unauthenticated, the target interaction interface is determined to be a charging authentication interaction interface according to the corresponding relationship.

[0030] Optionally, the current operating state of the charging cabinet includes: charging gun state, charging cabinet state and charging stop state, and determining the target interactive interface corresponding to the current operating state of the charging cabinet according to the corresponding relationship between the operating state and the interactive interface includes:

[0031] When the charging gun is in the connected state, the charging cabinet is in the finished state, and the charging stop state is in the fully charged shutdown state, the target interaction interface is determined to be a normal fully charged settlement interaction interface according to the corresponding relationship;

[0032] When the charging gun status is connected, the charging cabinet status is charging completed, and the charging stop status is abnormal shutdown, the target interaction interface is determined to be the abnormal stop settlement interaction interface according to the corresponding relationship.

[0033] In a second aspect of the present invention, a switching device for an interactive interface of a charging cabinet is provided, which is applied to an HMI system, wherein the HMI system is integrated on the charging cabinet, and the device comprises:

[0034] A first acquisition module is used to acquire the current operating status of the charging cabinet;

[0035] A first determination module, configured to determine a target interaction interface corresponding to the current operation state of the charging cabinet according to a correspondence between the operation state and the interaction interface;

[0036] The processing module is used to write the target number value corresponding to the target interactive interface into the interface switching register, and switch to the target interactive interface for display according to the target number value in the interface switching register.

[0037] Optionally, the first acquisition module includes:

[0038] A receiving submodule, used for receiving a Modbus message sent by a charging cabinet system controller, wherein the charging cabinet system controller uses the Modbus communication protocol to encapsulate the collected current operating status of the charging cabinet and generates the Modbus message, and the charging cabinet includes the charging cabinet system controller;

[0039] The acquisition submodule is used to parse the Modbus message according to the Modbus communication protocol to obtain the current operating status of the charging cabinet.

[0040] Optionally, the first acquisition module is further used for:

[0041] Acquire the current operating status of the charging cabinet according to a preset period;

[0042] Among them, within each preset cycle, the target interaction interface is determined according to the current operating status of the charging cabinet, and the interface is switched when the target interaction interface is updated.

[0043] Optionally, the device further comprises:

[0044] A reading module, used for reading a first number value corresponding to a current interactive interface stored in an interface number register before the first acquisition module acquires the current operating status of the charging cabinet;

[0045] A second determination module, configured to determine, according to the first number value, whether the current interaction interface is a management and debugging interaction interface or a human-computer interaction interface;

[0046] The control module is used to control the first acquisition module to obtain the current operating status of the charging cabinet when the current interaction interface is the human-computer interaction interface.

[0047] Optionally, the device further comprises:

[0048] A second acquisition module, configured to acquire multiple categories of operating states of the charging cabinet before the first acquisition module acquires the current operating state of the charging cabinet;

[0049] An establishing module is used to generate an interactive interface for the operating state of each category and establish a corresponding relationship between the operating state and the interactive interface.

[0050] Optionally, the current operating state of the charging cabinet includes: a charging gun state and a charging cabinet state, and the first determining module includes:

[0051] A first determination submodule, configured to determine, when the charging gun is in a disconnected state and the charging cabinet is in a standby state, that the target interaction interface is a standby interaction interface according to the corresponding relationship;

[0052] A second determination submodule is used to determine, when the charging gun is in a connected state and the charging cabinet is in a started state, that the target interaction interface is a start interaction interface according to the corresponding relationship;

[0053] A third determination submodule is used to determine, when the charging gun is in a connected state and the charging cabinet is in an operating state, that the target interaction interface is a charging interaction interface according to the corresponding relationship;

[0054] The fourth determination submodule is used to determine that the target interaction interface is a full but unsettled interaction interface according to the corresponding relationship when the charging gun status is connected and the charging cabinet status is full but unsettled.

[0055] Optionally, the current operating status of the charging cabinet includes: charging gun status, charging cabinet status and charging authentication status, and the first determination module is further used to:

[0056] When the charging gun status is connected, the charging cabinet status is prompting the user to perform charging authentication, and the charging authentication status is unauthenticated, the target interaction interface is determined to be a charging authentication interaction interface according to the corresponding relationship.

[0057] Optionally, the current operating state of the charging cabinet includes: charging gun state, charging cabinet state and charging stop state, and the first determination module includes:

[0058] A fifth determination submodule is used to determine, according to the corresponding relationship, that the target interaction interface is a normal full-charge settlement interaction interface when the charging gun state is connected, the charging cabinet state is charging completed, and the charging stop state is full-charge shutdown;

[0059] The sixth determination submodule is used to determine that the target interaction interface is an abnormal stop settlement interaction interface according to the corresponding relationship when the charging gun status is connected, the charging cabinet status is charging completed, and the charging stop status is abnormal shutdown.

[0060] In a third aspect of the present invention, an electronic device is provided, comprising: a processor, a communication interface, a memory and a communication bus; wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0061] Memory, used to store computer programs;

[0062] The processor is used to implement the steps in the method for switching the interactive interface of the charging cabinet of the first aspect when executing the program stored in the memory.

[0063] In a fourth aspect of the implementation of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the steps in the method for switching the interactive interface of the charging cabinet in the first aspect are implemented.

[0064] Compared with the prior art, the present invention has the following advantages:

[0065] In an embodiment of the present invention, by acquiring the current operating status of the charging cabinet, the target interactive interface corresponding to the current operating status of the charging cabinet is determined according to the pre-established correspondence between the operating status and the interactive interface, the target number value corresponding to the target interactive interface is written into the interface switching register, and the target interactive interface is switched to for display according to the target number value in the interface switching register. The display can automatically switch to the corresponding interactive interface based on different operating statuses, thereby ensuring that the interface information is concise and intuitive. When the corresponding interface needs to be displayed, the display is switched to ensure the effectiveness and convenience of information query.

[0066] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for describing the embodiments are briefly introduced below.

[0068] Figure 1 A schematic diagram of a switching method of a charging cabinet interactive interface according to an embodiment of the present invention;

[0069] Figure 2 A schematic diagram of determining interface switching based on a number value in an interface switching register according to an embodiment of the present invention;

[0070] Figure 3 A schematic diagram of determining the interface type based on the number value of the interface number register according to an embodiment of the present invention;

[0071] Figure 4 A schematic diagram of determining a corresponding interactive interface based on an operating state according to an embodiment of the present invention;

[0072] Figure 5 A schematic diagram of a switching device for the interactive interface of a charging cabinet according to an embodiment of the present invention;

[0073] Figure 6 A block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0074] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can also be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0075] An embodiment of the present invention provides a method for switching an interactive interface of a charging cabinet, which is applied to an HMI system. The HMI system is integrated on the charging cabinet, such as Figure 1 As shown, the method includes:

[0076] Step 101: Get the current operating status of the charging cabinet.

[0077] The HMI system of the embodiment of the present invention can interact with the charging cabinet system controller included in the charging cabinet, and the charging cabinet system controller is used to collect the current operating status of the charging cabinet and transmit the collected current operating status of the charging cabinet to the HMI system. The current operating status of the charging cabinet includes at least the charging gun status and the charging cabinet status, and may also include the charging authentication status or the charging stop status, wherein the charging gun status can be connected or disconnected, and the charging cabinet status can be standby, startup, operation, full but not settled, prompting the user to perform charging authentication or charging end, the charging authentication status can be unauthenticated or authenticated, and the charging stop status is full shutdown or abnormal shutdown.

[0078] Among them, the HMI system actively and periodically sends query requests to the charging cabinet system controller, the charging cabinet system controller receives the query request and feeds back a response message, and the HMI system reads the response message to obtain the current operating status of the charging cabinet. The charging cabinet system controller monitors the operation of the charging cabinet, controls the state transition of the charging cabinet, and responds after receiving the query request (regardless of whether the status of the charging cabinet has changed).

[0079] Step 102: Determine a target interactive interface corresponding to the current operating state of the charging cabinet according to the corresponding relationship between the operating state and the interactive interface.

[0080] The HMI system can pre-generate a correspondence between the operating state and the interactive interface, where the operating state is the operating state of the charging cabinet, and the interactive interface is the human-computer interactive interface. After obtaining the current operating state of the charging cabinet, the target interactive interface corresponding to the current operating state of the charging cabinet can be found according to the correspondence.

[0081] Step 103: write the target number value corresponding to the target interactive interface into an interface switching register, and switch to the target interactive interface for display according to the target number value in the interface switching register.

[0082] The HMI system may include an interface switching register and a display unit (including a display panel). After finding the target interactive interface based on the corresponding relationship, the target number value corresponding to the target interactive interface may be obtained, and the target number value corresponding to the obtained target interactive interface may be written into the interface switching register, so as to control the display unit of the HMI system to switch to the target interactive interface for display according to the target number value in the interface switching register, so as to ensure that the interface of the corresponding function is displayed based on the running status, so as to achieve the simplicity of the interface.

[0083] The HMI system encapsulates the interface switching function, which can be enabled when switching interfaces. For the specific process, see Figure 2 As shown, firstly, step 201 is executed to obtain the number value in the interface switching register, and then step 202 is executed to detect whether the number value in the interface switching register has changed. If yes, step 203 is executed, otherwise step 204 is executed. Step 203, the interactive interface is switched to the interface corresponding to the number value in the interface switching register. For example, by writing a value 1 to the interface switching register, the interactive interface can be switched to the interface corresponding to the number value 1. Step 204, the current interactive interface is kept unchanged.

[0084] The above implementation process utilizes the interface switching function to read and analyze the current operating status of the charging cabinet, determine the current corresponding target interaction interface, write the target number value corresponding to the target interaction interface into the interface switching register, and realize automatic switching display of the interaction interface. Different interaction interfaces are displayed based on different operating statuses, which can ensure that the interface of the corresponding function is displayed and achieve the simplicity of the interface.

[0085] In an optional embodiment of the present invention, obtaining the current operating status of the charging cabinet includes:

[0086] Receiving a Modbus message sent by a charging cabinet system controller, the charging cabinet system controller uses the Modbus communication protocol to encapsulate the collected current operating status of the charging cabinet to generate the Modbus message, and the charging cabinet includes the charging cabinet system controller;

[0087] The Modbus message is parsed according to the Modbus communication protocol to obtain the current operating status of the charging cabinet.

[0088] When the HMI system obtains the current operating status of the charging cabinet transmitted by the charging cabinet system controller on the charging cabinet, a query request can be sent to the charging cabinet system controller. When sending the query request, the Modbus communication protocol can be used to encapsulate the query request, and then the Modbus message sent by the charging cabinet system controller is received. The Modbus message here is the above-mentioned response message. After collecting the current operating status of the charging cabinet, the charging cabinet system controller uses the Modbus communication protocol to encapsulate it and generate a Modbus message. Modbus, as a serial communication protocol, was published by Modicon (now Schneider Electric) in 1979 for communication using PLC (Programmable Logic Controller). Modbus has become the industry standard for communication protocols in the industrial field and is a commonly used connection method between industrial electronic equipment. After receiving the Modbus message, the Modbus message can be parsed according to the Modbus communication protocol to obtain the current operating status of the charging cabinet.

[0089] The above implementation process can realize the transmission of the operating status of the charging cabinet between the HMI system and the charging cabinet system controller using the Modbus communication protocol.

[0090] In an optional embodiment of the present invention, obtaining the current operating status of the charging cabinet includes:

[0091] Acquire the current operating status of the charging cabinet according to a preset period;

[0092] Among them, within each preset cycle, the target interaction interface is determined according to the current operating status of the charging cabinet, and the interface is switched when the target interaction interface is updated.

[0093] When obtaining the current operating status of the charging cabinet transmitted by the charging cabinet system controller, it can be obtained according to a preset period, that is, the current operating status of the charging cabinet is periodically queried from the charging cabinet system controller, and for each preset period, the target interaction interface is obtained according to the received current operating status of the charging cabinet, and when the target interaction interface changes, the interface is switched and displayed.

[0094] For example, the cycle can be pre-set to 2 minutes, and the current operating status of the charging cabinet can be obtained every 2 minutes. After the current operating status of the charging cabinet is obtained each time, the target interactive interface is obtained based on the correspondence between the operating status and the interactive interface, and the interface is switched when the target interactive interface is updated to achieve periodic interface switching.

[0095] The above implementation process can periodically obtain the current operating status of the charging cabinet, update the operating status of the charging cabinet, and then switch the interactive interface when the operating status changes, ensuring that the user can view the corresponding interface according to the update of the operating status.

[0096] In an optional embodiment of the present invention, before obtaining the current operating status of the charging cabinet, the method further includes:

[0097] Read the first number value corresponding to the current interactive interface stored in the interface number register;

[0098] Determining, according to the first number value, whether the current interaction interface is a management and debugging interaction interface or a human-computer interaction interface;

[0099] When the current interaction interface is the human-computer interaction interface, the step of obtaining the current operating status of the charging cabinet is performed.

[0100] The HMI system may also include an interface number register, wherein the interface number register stores a first number value corresponding to the current interactive interface. Before executing to obtain the current operating status of the charging cabinet, the first number value in the interface number register may be read, and the current interactive interface may be determined to be a management and debugging interactive interface or a human-computer interaction interface according to the first number value. When it is determined that the current interactive interface is a human-computer interaction interface, the step of obtaining the current operating status of the charging cabinet may be performed. When it is determined that the current interactive interface is a management and debugging interactive interface, it may be convenient for the administrator to perform corresponding operations. The management and debugging interactive interface includes a first switching button, which may be switched to the human-computer interaction interface according to a first preset input (such as a long press) to the first switching button, and the human-computer interaction interface includes a second switching button, which may be switched to the management and debugging interactive interface according to a second preset input (such as a connection click) to the second switching button, wherein the first preset input and the second preset input may be the same or different.

[0101] The following is an example to illustrate the process. Figure 3 As shown:

[0102] Step 301: Obtain a first number value stored in an interface number register.

[0103] Step 302 , check whether the first number value is less than page0 , if so, execute step 305 , otherwise execute step 303 .

[0104] Step 303: determine that the current interaction interface is a human-computer interaction interface, obtain the current operating status of the charging cabinet, and determine the corresponding target interaction interface.

[0105] Step 304: write the target number value corresponding to the target interactive interface into the interface switching register, and switch to the target interactive interface for display according to the target number value in the interface switching register.

[0106] Step 305: Determine that the current interactive interface is a management and debugging interactive interface.

[0107] The above implementation process can determine the type of the current interactive interface according to the number value in the interface number register, and when the current interactive interface is a human-computer interactive interface, obtain the current operating status of the charging cabinet to update the interface based on the current operating status of the charging cabinet.

[0108] In an optional embodiment of the present invention, before obtaining the current operating status of the charging cabinet, the method further includes:

[0109] Acquire multiple categories of operating status of the charging cabinet;

[0110] For the operating status of each category, an interactive interface is generated, and a corresponding relationship between the operating status and the interactive interface is established.

[0111] Before obtaining the current operating status of the charging cabinet transmitted by the charging cabinet system controller, the HMI system needs to establish a correspondence between the operating status and the interactive interface. When establishing the correspondence, it is necessary to send multiple query requests to the charging cabinet system controller, each query request corresponds to an operating status category, and receive multiple categories of operating status of the charging cabinet transmitted by the charging cabinet system controller. When sending a query request, the Modbus communication protocol can be used to encapsulate the query request. When receiving the operating status of the charging cabinet, it is actually to receive the Modbus message generated by encapsulating the operating status of the charging cabinet using the Modbus communication protocol, and then parse the Modbus message based on the Modbus communication protocol to obtain the operating status of the charging cabinet.

[0112] After obtaining the operating status of multiple categories of charging cabinets, an interactive interface can be generated for the operating status of each category of charging cabinets.

[0113] The categories of the operating status of the charging cabinet may include: standby category, start category, charging category, full but not settled category, charging authentication category, normal full but settled category, and abnormal stop settlement category. An interactive interface may be generated for each category of operating status. The operating status of the standby category corresponds to the standby interactive interface; the operating status of the start category corresponds to the start interactive interface; the operating status of the charging category corresponds to the charging interactive interface; the operating status of the full but not settled category corresponds to the full but not settled interactive interface; the operating status of the charging authentication category corresponds to the charging authentication interactive interface; the operating status of the normal full but settled category corresponds to the normal full but settled interactive interface; the operating status of the abnormal stop settlement category corresponds to the abnormal stop settlement interactive interface.

[0114] After generating an interactive interface for each category of running status, a correspondence between the running status and the interactive interface may be established to facilitate subsequent application of the established correspondence.

[0115] The above implementation process obtains the operating status of different categories of charging cabinets, generates an interactive interface for each category, and establishes a correspondence between the operating status and the interactive interface. This can facilitate subsequent search for the corresponding interactive interface based on the correspondence to switch the display of the interactive interface.

[0116] In an optional embodiment of the present invention, the current operating state of the charging cabinet includes: a charging gun state and a charging cabinet state, and determining a target interactive interface corresponding to the current operating state of the charging cabinet according to the corresponding relationship between the operating state and the interactive interface includes:

[0117] When the charging gun is in disconnected state and the charging cabinet is in standby state, the target interaction interface is determined to be a standby interaction interface according to the corresponding relationship;

[0118] When the charging gun is in a connected state and the charging cabinet is in a started state, the target interaction interface is determined to be a start interaction interface according to the corresponding relationship;

[0119] When the charging gun is in a connected state and the charging cabinet is in an operating state, determining, according to the corresponding relationship, that the target interaction interface is a charging interaction interface;

[0120] When the charging gun is in a connected state and the charging cabinet is in a fully charged but unsettled state, the target interaction interface is determined to be a fully charged but unsettled interaction interface according to the corresponding relationship.

[0121] In this embodiment, the current operating state of the charging cabinet includes: charging gun state and charging cabinet state. The charging gun state can be stored in a first register (for example, a register with an address of 0x104), and different numerical values ​​in the first register represent different meanings. For example, a value of 0 in the first register represents that the charging gun is disconnected, and a value of 1 in the first register represents that the charging gun is connected. The charging cabinet state can be stored in a second register (for example, a register with an address of 0x101), and different numerical values ​​in the second register represent different meanings. For example, a value of 2 in the second register represents standby, a value of 4 in the second register represents startup, a value of 8 in the second register represents operation, and a value of 512 in the second register represents full but not settled.

[0122] When the charging gun is disconnected and the charging cabinet is in standby state, the operating state can be determined as the standby state. According to the corresponding relationship, the target interaction interface is determined to be the standby interaction interface, and the target number value corresponding to the standby interaction interface is written into the interface switching register to switch to the standby interaction interface for display.

[0123] When the charging gun status is connected and the charging cabinet status is started, the running status can be determined to be the startup status. According to the corresponding relationship, the target interaction interface is determined to be the startup interaction interface, and the target number value corresponding to the startup interaction interface is written into the interface switching register to switch to the startup interaction interface for display.

[0124] When the charging gun status is connected and the charging cabinet status is running, it can be determined that the running status is the charging status. According to the corresponding relationship, the target interaction interface is determined to be the charging interaction interface, and the target number value corresponding to the charging interaction interface is written into the interface switching register to switch to the charging interaction interface for display.

[0125] When the charging gun status is connected and the charging cabinet status is full but not settled, it can be determined that the operating status is full but not settled. According to the corresponding relationship, the target interaction interface is determined to be the full but not settled interaction interface, and the target number value corresponding to the full but not settled interaction interface is written into the interface switching register to switch to the full but not settled interaction interface for display.

[0126] In the above implementation process, when the current operating status of the charging cabinet includes the charging gun status and the charging cabinet status, the standby interaction interface, the start interaction interface, the charging interaction interface or the full charge but not settled interaction interface can be determined according to the current operating status of the charging cabinet, so as to realize the switching of the interface according to the current operating status of the charging cabinet.

[0127] In an optional embodiment of the present invention, the current operating state of the charging cabinet includes: charging gun state, charging cabinet state and charging authentication state, and the determining of the target interactive interface corresponding to the current operating state of the charging cabinet according to the corresponding relationship between the operating state and the interactive interface includes:

[0128] When the charging gun status is connected, the charging cabinet status is prompting the user to perform charging authentication, and the charging authentication status is unauthenticated, the target interaction interface is determined to be a charging authentication interaction interface according to the corresponding relationship.

[0129] In this embodiment, the current operating state of the charging cabinet includes the charging gun state, the charging cabinet state and the charging authentication state. The charging gun state can be stored in the first register, and different numerical values ​​in the first register represent different meanings, such as the value of the first register is 0, which means that the charging gun is disconnected, and the value of the first register is 1, which means that the charging gun is connected. The charging cabinet state can be stored in the second register, and different numerical values ​​in the second register represent different meanings, such as the value of the second register is 256, which means that the user is prompted to perform charging authentication. The charging authentication state can be stored in the third register, and different numerical values ​​in the third register represent different meanings, such as the value of the third register is 0, which means that it is not authenticated, and the value of the third register is 1, which means that it is authenticated. The charging authentication state of authenticated can indicate that the user has swiped the card or scanned the code, and the charging authentication state of unauthenticated can indicate that the user has not swiped the card or scanned the code. The charging cabinet state of prompting the user to perform charging authentication can be understood as a prompt for swiping the card or scanning the code.

[0130] When the charging gun status is connected, the charging cabinet status is prompting the user to perform charging authentication, and the charging authentication status is unauthenticated, it can be determined that the operating status is the charging authentication status, and the target interaction interface is determined to be the charging authentication interaction interface according to the corresponding relationship. The target number value corresponding to the charging authentication interaction interface is written into the interface switching register to switch to the charging authentication interaction interface for display.

[0131] In the above implementation process, when the current operating status of the charging cabinet includes the charging gun status, the charging cabinet status and the charging authentication status, the charging authentication interaction interface can be determined according to the current operating status of the charging cabinet to realize the switching of the interface according to the current operating status of the charging cabinet.

[0132] In an optional embodiment of the present invention, the current operating state of the charging cabinet includes: charging gun state, charging cabinet state and charging stop state, and the determining of the target interactive interface corresponding to the current operating state of the charging cabinet according to the corresponding relationship between the operating state and the interactive interface includes:

[0133] When the charging gun is in the connected state, the charging cabinet is in the finished state, and the charging stop state is in the fully charged shutdown state, the target interaction interface is determined to be a normal fully charged settlement interaction interface according to the corresponding relationship;

[0134] When the charging gun status is connected, the charging cabinet status is charging completed, and the charging stop status is abnormal shutdown, the target interaction interface is determined to be the abnormal stop settlement interaction interface according to the corresponding relationship.

[0135] In this embodiment, the current operating state of the charging cabinet includes the charging gun state, the charging cabinet state and the charging stop state. The charging gun state can be stored in the first register, and different numerical values ​​in the first register represent different meanings, such as the value of the first register is 1, which means that the charging gun state is connected. The charging cabinet state can be stored in the second register, and different numerical values ​​in the second register represent different meanings, such as the value of the second register is 16, which means that charging is finished. The charging stop state can be stored in the fourth register, and different numerical values ​​in the fourth register represent different meanings, such as the value of the fourth register is 0, which means abnormal shutdown, and the value of the fourth register is 1, which means full shutdown.

[0136] When the charging gun status is connected, the charging cabinet status is charging completion, and the charging stop status is full shutdown, it can be determined that the operating status is normal full charging and settlement status, and the target interaction interface is determined to be the normal full charging and settlement interaction interface according to the corresponding relationship, and the target number value corresponding to the normal full charging and settlement interaction interface is written into the interface switching register to switch to the normal full charging and settlement interaction interface for display.

[0137] When the charging gun status is connected, the charging cabinet status is charging completed, and the charging stop status is abnormal shutdown (such as insufficient balance), the operating status can be determined as the abnormal stop settlement status, and the target interaction interface is determined as the abnormal stop settlement interaction interface according to the corresponding relationship. The target number value corresponding to the abnormal stop settlement interaction interface is written into the interface switching register to switch to the abnormal stop settlement interaction interface for display.

[0138] In the above implementation process, when the current operating status of the charging cabinet includes the charging gun status, the charging cabinet status and the charging stop status, the normal full charging settlement interaction interface or the abnormal stop settlement interaction interface can be determined according to the current operating status of the charging cabinet, so as to realize the interface switching according to the current operating status of the charging cabinet.

[0139] The following is an explanation of the process of switching the interactive interface with a specific implementation process. Figure 4 As shown, including:

[0140] In the power-on state, when the charging gun status is detected to be disconnected and the charging cabinet status is standby, the standby interaction interface is displayed. After the standby interaction interface is displayed, when it is detected that the charging gun status is connected, the charging cabinet status is prompting the user to perform charging authentication, and the charging authentication status is unauthenticated (no card swiping or code scanning), the charging authentication interaction interface can be displayed. After the charging authentication interaction interface is displayed, when the user authentication is completed (card swiping or code scanning is completed) and the charging gun status is detected to be connected and the charging cabinet status is started, the startup interaction interface can be displayed. After the startup interaction interface is displayed, when the charging gun status is detected to be connected and the charging cabinet status is running, the charging interaction interface can be displayed. After the charging interaction interface is displayed, when the charging gun status is detected to be connected and the charging cabinet status is full but not settled, the full but not settled interaction interface can be displayed. After the charging interaction interface is displayed, when the charging gun status is detected to be connected, the charging cabinet status is charging ended, and the charging stop status is full and stopped, the normal full and settled interaction interface is displayed. After the charging interactive interface is displayed, if the charging gun status is detected as connected, the charging cabinet status is charging completed, or the charging stop status is abnormal shutdown, the abnormal stop settlement interactive interface is displayed. After the full but not settled interactive interface, the normal full settlement interactive interface, or the abnormal stop settlement interactive interface is displayed, if the charging gun status is detected as disconnected and the charging cabinet status is standby, the standby interactive interface is displayed.

[0141] In the above implementation process, after the charging gun is connected, the charging authentication interactive interface can be displayed, and charging can be started according to the user's card swiping operation or code scanning operation. No other manual operation is required, and the charging process is highly automated and intelligent. Each interface only displays key data in the current state, and other interfaces will automatically switch to display only when the operating status of the charging cabinet changes and needs to be displayed. In this way, it ensures that the interface is simple and intuitive, and also ensures that all interfaces will switch to display when they should be displayed, and the required information will not be unable to be queried.

[0142] The above is the implementation process of the method for switching the interactive interface of the charging cabinet provided in an embodiment of the present invention. By obtaining the current operating status of the charging cabinet, the target interactive interface corresponding to the current operating status of the charging cabinet is determined according to a pre-established correspondence relationship, and the target number value corresponding to the target interactive interface is written into the interface switching register, and the target interactive interface is switched to display. It can automatically switch to the corresponding interactive interface for display based on different operating states, ensuring the simplicity and intuitiveness of the interface, and switching the display when the corresponding interface needs to be displayed to ensure the effectiveness and convenience of information query.

[0143] The embodiment of the present invention further provides a switching device for an interactive interface of a charging cabinet, which is applied to an HMI system. The HMI system is integrated on the charging cabinet, such as Figure 5 As shown, the device comprises:

[0144] The first acquisition module 501 is used to acquire the current operating status of the charging cabinet;

[0145] A first determination module 502, configured to determine a target interaction interface corresponding to the current operation state of the charging cabinet according to a correspondence between the operation state and the interaction interface;

[0146] The processing module 503 is used to write the target number value corresponding to the target interactive interface into the interface switching register, and switch to the target interactive interface for display according to the target number value in the interface switching register.

[0147] Optionally, the first acquisition module includes:

[0148] A receiving submodule, used for receiving a Modbus message sent by a charging cabinet system controller, wherein the charging cabinet system controller uses the Modbus communication protocol to encapsulate the collected current operating status of the charging cabinet and generates the Modbus message, and the charging cabinet includes the charging cabinet system controller;

[0149] The acquisition submodule is used to parse the Modbus message according to the Modbus communication protocol to obtain the current operating status of the charging cabinet.

[0150] Optionally, the first acquisition module is further used for:

[0151] Acquire the current operating status of the charging cabinet according to a preset period;

[0152] Among them, within each preset cycle, the target interaction interface is determined according to the current operating status of the charging cabinet, and the interface is switched when the target interaction interface is updated.

[0153] Optionally, the device further comprises:

[0154] A reading module, used for reading a first number value corresponding to a current interactive interface stored in an interface number register before the first acquisition module acquires the current operating status of the charging cabinet;

[0155] A second determination module, configured to determine, according to the first number value, whether the current interaction interface is a management and debugging interaction interface or a human-computer interaction interface;

[0156] The control module is used to control the first acquisition module to obtain the current operating status of the charging cabinet when the current interaction interface is the human-computer interaction interface.

[0157] Optionally, the device further comprises:

[0158] A second acquisition module, configured to acquire multiple categories of operating states of the charging cabinet before the first acquisition module acquires the current operating state of the charging cabinet;

[0159] An establishing module is used to generate an interactive interface for the operating state of each category and establish a corresponding relationship between the operating state and the interactive interface.

[0160] Optionally, the current operating state of the charging cabinet includes: a charging gun state and a charging cabinet state, and the first determining module includes:

[0161] A first determination submodule, configured to determine, when the charging gun is in a disconnected state and the charging cabinet is in a standby state, that the target interaction interface is a standby interaction interface according to the corresponding relationship;

[0162] A second determination submodule is used to determine, when the charging gun is in a connected state and the charging cabinet is in a started state, that the target interaction interface is a start interaction interface according to the corresponding relationship;

[0163] A third determination submodule is used to determine, when the charging gun is in a connected state and the charging cabinet is in an operating state, that the target interaction interface is a charging interaction interface according to the corresponding relationship;

[0164] The fourth determination submodule is used to determine that the target interaction interface is a full but unsettled interaction interface according to the corresponding relationship when the charging gun status is connected and the charging cabinet status is full but unsettled.

[0165] Optionally, the current operating status of the charging cabinet includes: charging gun status, charging cabinet status and charging authentication status, and the first determination module is further used to:

[0166] When the charging gun status is connected, the charging cabinet status is prompting the user to perform charging authentication, and the charging authentication status is unauthenticated, the target interaction interface is determined to be a charging authentication interaction interface according to the corresponding relationship.

[0167] Optionally, the current operating state of the charging cabinet includes: charging gun state, charging cabinet state and charging stop state, and the first determination module includes:

[0168] A fifth determination submodule is used to determine, according to the corresponding relationship, that the target interaction interface is a normal full-charge settlement interaction interface when the charging gun state is connected, the charging cabinet state is charging completed, and the charging stop state is full-charge shutdown;

[0169] The sixth determination submodule is used to determine that the target interaction interface is an abnormal stop settlement interaction interface according to the corresponding relationship when the charging gun status is connected, the charging cabinet status is charging completed, and the charging stop status is abnormal shutdown.

[0170] The switching device for the interactive interface of a charging cabinet provided in an embodiment of the present invention obtains the current operating status of the charging cabinet, determines the target interactive interface corresponding to the current operating status of the charging cabinet according to a pre-established correspondence relationship, writes the target number value corresponding to the target interactive interface into the interface switching register, and switches to the target interactive interface for display according to the target number value in the interface switching register. It can automatically switch to the corresponding interactive interface for display based on different operating statuses, thereby ensuring that the interface information is concise and intuitive, and switches the display when the corresponding interface needs to be displayed, thereby ensuring the effectiveness and convenience of information query.

[0171] For the above-mentioned device embodiment, since it is basically similar to the switching method embodiment of the charging cabinet interactive interface, the relevant parts can be referred to the partial description of the method embodiment.

[0172] The embodiment of the present invention also provides an electronic device. Figure 6 As shown, it includes a processor 601 , a communication interface 602 , a memory 603 and a communication bus 604 , wherein the processor 601 , the communication interface 602 , and the memory 603 communicate with each other via the communication bus 604 .

[0173] The memory 603 is used to store computer programs.

[0174] When the processor 601 is used to execute the program stored in the memory 603, the following steps are implemented: obtaining the current operating status of the charging cabinet; determining the target interactive interface corresponding to the current operating status of the charging cabinet based on the correspondence between the operating status and the interactive interface; writing the target number value corresponding to the target interactive interface into the interface switching register, and switching to the target interactive interface for display according to the target number value in the interface switching register.

[0175] Among them, the processor 601 can also implement other steps in the above-mentioned switching method of the charging cabinet interaction interface, which will not be repeated here.

[0176] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0177] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0178] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0179] In another embodiment provided by the present invention, a computer-readable storage medium is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the method for switching the charging cabinet interactive interface described in the above embodiment.

[0180] In another embodiment provided by the present invention, a computer program product containing instructions is also provided. When the computer is run on the computer, the computer executes the method for switching the interactive interface of the charging cabinet described in the above embodiment.

[0181] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0182] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0183] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0184] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A method for switching the interactive interface of a charging cabinet, applied to an HMI system, wherein the HMI system is integrated on the charging cabinet, and is characterized in that: The method comprises: Get the current operating status of the charging cabinet; Determine a target interactive interface corresponding to the current operating state of the charging cabinet according to the corresponding relationship between the operating state and the interactive interface; Writing the target number value corresponding to the target interactive interface into the interface switching register, and switching to the target interactive interface for display according to the target number value in the interface switching register; Before obtaining the current operating status of the charging cabinet, the method further includes: Read the first number value corresponding to the current interactive interface stored in the interface number register; Determining, according to the first number value, whether the current interaction interface is a management and debugging interaction interface or a human-computer interaction interface; When the current interaction interface is the human-computer interaction interface, the step of obtaining the current operating status of the charging cabinet is performed.

2. The method for switching the charging cabinet interactive interface according to claim 1, characterized in that: The obtaining of the current operating status of the charging cabinet includes: Receiving a Modbus message sent by a charging cabinet system controller, the charging cabinet system controller uses the Modbus communication protocol to encapsulate the collected current operating status of the charging cabinet to generate the Modbus message, and the charging cabinet includes the charging cabinet system controller; The Modbus message is parsed according to the Modbus communication protocol to obtain the current operating status of the charging cabinet.

3. The method for switching the charging cabinet interactive interface according to claim 1, characterized in that: The obtaining of the current operating status of the charging cabinet includes: Acquire the current operating status of the charging cabinet according to a preset period; Among them, within each preset cycle, the target interaction interface is determined according to the current operating status of the charging cabinet, and the interface is switched when the target interaction interface is updated.

4. The method for switching the charging cabinet interactive interface according to claim 1, characterized in that: Before obtaining the current operating status of the charging cabinet, the method further includes: Acquire multiple categories of operating status of the charging cabinet; For the operating status of each category, an interactive interface is generated, and a corresponding relationship between the operating status and the interactive interface is established.

5. The method for switching the charging cabinet interactive interface according to claim 1, characterized in that: The current operating state of the charging cabinet includes: a charging gun state and a charging cabinet state. The determining, according to the correspondence between the operating state and the interactive interface, a target interactive interface corresponding to the current operating state of the charging cabinet includes: When the charging gun is in disconnected state and the charging cabinet is in standby state, the target interaction interface is determined to be a standby interaction interface according to the corresponding relationship; When the charging gun is in a connected state and the charging cabinet is in a started state, the target interaction interface is determined to be a start interaction interface according to the corresponding relationship; When the charging gun is in a connected state and the charging cabinet is in an operating state, determining, according to the corresponding relationship, that the target interaction interface is a charging interaction interface; When the charging gun is in a connected state and the charging cabinet is in a fully charged but unsettled state, the target interaction interface is determined to be a fully charged but unsettled interaction interface according to the corresponding relationship.

6. The method for switching the charging cabinet interactive interface according to claim 1, characterized in that: The current operating state of the charging cabinet includes: charging gun state, charging cabinet state and charging authentication state. The determining of the target interactive interface corresponding to the current operating state of the charging cabinet according to the corresponding relationship between the operating state and the interactive interface includes: When the charging gun status is connected, the charging cabinet status is prompting the user to perform charging authentication, and the charging authentication status is unauthenticated, the target interaction interface is determined to be a charging authentication interaction interface according to the corresponding relationship.

7. The method for switching the charging cabinet interactive interface according to claim 1, characterized in that: The current operating state of the charging cabinet includes: charging gun state, charging cabinet state and charging stop state. The determining of the target interactive interface corresponding to the current operating state of the charging cabinet according to the corresponding relationship between the operating state and the interactive interface includes: When the charging gun is in the connected state, the charging cabinet is in the finished state, and the charging stop state is in the fully charged shutdown state, the target interaction interface is determined to be a normal fully charged settlement interaction interface according to the corresponding relationship; When the charging gun status is connected, the charging cabinet status is charging completed, and the charging stop status is abnormal shutdown, the target interaction interface is determined to be the abnormal stop settlement interaction interface according to the corresponding relationship.

8. A switching device for an interactive interface of a charging cabinet, applied to an HMI system, wherein the HMI system is integrated on the charging cabinet, characterized in that: The device comprises: The first acquisition module is used to obtain the current operating status of the charging cabinet; A first determination module, configured to determine a target interaction interface corresponding to the current operation state of the charging cabinet according to a correspondence between the operation state and the interaction interface; A processing module, used for writing a target number value corresponding to the target interactive interface into an interface switching register, and switching to the target interactive interface for display according to the target number value in the interface switching register; A reading module, used for reading a first number value corresponding to a current interactive interface stored in an interface number register before the first acquisition module acquires the current operating status of the charging cabinet; A second determination module, configured to determine, according to the first number value, whether the current interaction interface is a management and debugging interaction interface or a human-computer interaction interface; The control module is used to control the first acquisition module to obtain the current operating status of the charging cabinet when the current interaction interface is the human-computer interaction interface.

9. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus; wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; The processor is used to implement the steps in the method for switching the interactive interface of the charging cabinet as described in any one of claims 1 to 7 when executing the program stored in the memory.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the method for switching the charging cabinet interactive interface as described in any one of claims 1 to 7 are implemented.