Search

CN-122018960-A - BMS (Battery management system) upper computer-based integration method, system and medium

CN122018960ACN 122018960 ACN122018960 ACN 122018960ACN-122018960-A

Abstract

The application relates to the technical field of software, and particularly provides an integration method, system and medium based on a BMS (management system) upper computer, aiming at solving the technical problem of poor cross-platform adaptation capability of a traditional scheme. The BMS-based upper computer integration method comprises the steps of constructing a cross-platform development framework project, configuring parameter files for matching different running environments for the cross-platform development framework project, generating executable files based on the cross-platform development framework project and deploying the executable files to a target industrial personal computer, starting BMS upper computer software programs corresponding to the executable files, acquiring environment characteristic information of a current running environment, and presenting a user interface based on the environment characteristic information. The remote man-machine interaction requirement of the industrial personal computer without the screen is met, the local user interface rendering rules of different operating systems are adapted, and the environment adaptation flexibility and the running stability of the system are effectively improved.

Inventors

  • MA RONGFANG
  • DUAN ZHIQIANG
  • XU JIE
  • LI GUOCHENG
  • WANG MIAO

Assignees

  • 江苏天合储能有限公司

Dates

Publication Date
20260512
Application Date
20260116

Claims (10)

  1. 1. An integration method based on a BMS upper computer is characterized by comprising the following steps: Constructing a cross-platform development framework project, and configuring parameter files for matching different running environments for the cross-platform development framework project; generating an executable file based on the cross-platform development framework project and deploying the executable file to a target industrial personal computer; Starting a BMS upper computer software program corresponding to the executable file; Acquiring environment characteristic information of a current running environment; And presenting a user interface based on the environmental characteristic information.
  2. 2. The method for integrating the BMS-based upper computer according to claim 1, wherein the cross-platform development framework project is constructed based on a NET Core framework, the environment characteristic information comprises operating system information and hardware configuration information of an operating environment, wherein the operating system information at least comprises an operating system type, and the hardware configuration information at least comprises a display screen configuration state.
  3. 3. The BMS-based integration method according to claim 2, wherein the presenting a user interface based on the environmental characteristic information comprises: adaptively matching the presentation mode of the user interface based on the environmental characteristic information; And presenting the user interface based on the presentation mode of the user interface.
  4. 4. The BMS-based integration method according to claim 3, wherein adaptively matching a presentation style of a user interface based on the environmental characteristic information comprises: judging whether the target industrial personal computer is provided with a display screen or not according to the hardware configuration information; if no display screen is judged, the user interface is presented in a remote mode; and if the display screen is judged to be provided, the user interface is presented in a local mode according to the operating system information.
  5. 5. The BMS-based integration method according to claim 4, wherein the presenting the user interface in a local manner according to the operating system information comprises: judging whether the system type is a Windows system or not; if yes, the first rendering control is used as a local rendering control to render the user interface; if not, judging whether the system type is a Linux system; If yes, the second rendering control is used as a local rendering control to render the user interface; If not, judging whether the system type is a Mac OS system or not; If yes, the third rendering control is used as a local rendering control to render the user interface.
  6. 6. The BMS-based upper computer integration method of claim 5, wherein the user interface is presented in a remote manner when the system types are not a Windows system, a Linux system, and a Mac OS system.
  7. 7. The method for integrating the BMS-based upper computer according to claim 6, wherein the remote presentation of the user interface comprises starting Kestrel Web a server, opening a preset local area network port to provide HTTP access service, and accessing an HTTP address corresponding to the port by at least one terminal device through a browser to realize remote presentation of the user interface, wherein the terminal device is a device in a local area network of the target industrial personal computer through a switch network.
  8. 8. The BMS-host-based integration method of claim 5, wherein the first rendering control is a WebView2 control, the second rendering control is a WebKitGTK control, and the third rendering control is a WKWebView control.
  9. 9. The cross-platform BMS upper computer system is characterized by at least comprising an industrial personal computer and a switch, wherein the industrial personal computer is connected with the switch through an Ethernet interface; The industrial personal computer comprises at least one processor and a memory in communication connection with the at least one processor, wherein the memory stores a computer program which, when executed by the at least one processor, realizes the BMS-based upper computer integration method of any one of claims 1 to 8.
  10. 10. A computer readable storage medium, in which a plurality of program codes are stored, characterized in that the program codes are adapted to be loaded and run by a processor to perform the BMS-based integration method of any one of claims 1 to 8.

Description

BMS (Battery management system) upper computer-based integration method, system and medium Technical Field The invention relates to the technical field of computer software, and particularly provides an integration method, system and medium based on a BMS (management system) upper computer. Background With the rapid development of the fields of new energy storage, electric automobiles and the like, a Battery Management System (BMS) is used as core equipment for guaranteeing safe operation of a battery and optimizing battery energy scheduling, and the application scene of the battery management system is increasingly wide. The BMS upper computer system is used as a core control and interaction terminal of the BMS and bears key functions such as battery data acquisition, state monitoring, parameter configuration, alarm processing, man-machine interaction and the like, and the running stability and the environment suitability of the BMS upper computer system directly influence the reliability of the whole battery system. Conventional BMS host systems often employ native application development, tailored to a particular operating system (e.g., windows, linux), which results in compatibility issues between the systems across different platforms. For example, BMS upper computer software of the Windows platform cannot be directly operated on Linux or mobile equipment, so that the use scene and convenience of users are limited. The main current scheme is divided into two types, one type is to develop different upper computers aiming at different operating system platforms, the mode has repeated function development, different operating systems are adopted, code function modules are difficult to directly reuse and waste research and development manpower resources, and the other type is to develop cross-platform application software based on an Electron frame, and although the upper computers developed by the Electron frame can cross-platform, a user interface and logic codes are coupled together, so that the problem that the user interface is displayed on a non-screen industrial personal computer can not be solved. Disclosure of Invention The present application has been made to overcome the above drawbacks, and provides a solution or at least partially solve the technical problem of poor cross-platform adaptation capability of the conventional solution. The application provides an integration method, system and medium based on a BMS upper computer. In a first aspect, the present application provides an integration method based on a BMS host computer, including: Constructing a cross-platform development framework project, and configuring parameter files for matching different running environments for the cross-platform development framework project; generating an executable file based on the cross-platform development framework project and deploying the executable file to a target industrial personal computer; Starting a BMS upper computer software program corresponding to the executable file; Acquiring environment characteristic information of a current running environment; And presenting a user interface based on the environmental characteristic information. In one embodiment of the BMS-based upper computer integration method, the cross-platform development framework project is constructed based on a NET Core framework, the environment characteristic information comprises operating system information and hardware configuration information of an operating environment, the operating system information at least comprises an operating system type, and the hardware configuration information at least comprises a display screen configuration state. In one embodiment of the BMS-based host computer integration method of the present application, the presenting a user interface based on the environmental characteristic information includes: adaptively matching the presentation mode of the user interface based on the environmental characteristic information; And presenting the user interface based on the presentation mode of the user interface. In one embodiment of the BMS-based host computer integration method of the present application, the presentation method for adaptively matching the user interface based on the environmental characteristic information includes: judging whether the target industrial personal computer is provided with a display screen or not according to the hardware configuration information; if no display screen is judged, the user interface is presented in a remote mode; and if the display screen is judged to be provided, the user interface is presented in a local mode according to the operating system information. In one embodiment of the BMS-based host integration method of the present application, the presenting the user interface in a local manner according to the operating system information includes: judging whether the system type is a Windows system or not; if yes, the first rendering control i