Virtualized response system

By using the role exchange module and custom module of the virtualized answering system in joint debugging tests, the problem that device simulators are difficult to adapt to multiple application environments is solved, and flexible interchange between cloud and edge roles is achieved, and testing efficiency and multi-angle nature are improved.

CN119854192APending Publication Date: 2025-04-18SUZHOU JK ENERGY LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202412000168.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

During joint debugging testing, existing device simulators are difficult to adapt to multiple application environments, making it difficult for the development efficiency and progress of the cloud and edge end to go hand in hand.

Method used

It provides a virtualized answering system, including role swap modules and custom modules, which can interchange cloud and edge roles during joint debugging, and adapt to different application scenarios by generating corresponding simulation parameters and virtual running scenarios.

Benefits of technology

It realizes that the virtualized response system can flexibly play the role of cloud or edge during the joint debugging process, supports multiple application environments, and improves the multi-angle and efficiency of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854192A_ABST
    Figure CN119854192A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of joint debugging testing, in particular to a virtualized response system which comprises a role interchange module and a custom module. The role exchange module is used for receiving roles of the virtualization response system in the joint debugging process; and the custom module is in communication connection with the role exchange module and is used for generating simulation parameters corresponding to the roles. The role interchange module and the custom module are arranged in the virtualized response system, so that the virtualized response system can be interchanged between a cloud role and an edge role in the joint debugging process so as to adapt to different application scenes, and a tester can perform multi-angle testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of joint debugging and testing, and in particular to a virtualized response system. Background Art

[0002] Energy storage batteries are widely used in various scenarios, including home energy storage, industrial energy storage, electric vehicles, renewable energy systems, etc. These application scenarios have strict requirements on the performance, safety, reliability and maintenance of energy storage batteries. In order to meet these requirements, it is necessary to monitor the voltage, current, temperature, charge and discharge status and other key parameters of energy storage batteries to evaluate the safety and functionality of energy storage batteries used in various application scenarios.

[0003] At present, in the development process of cloud and edge, the development efficiency and progress of both ends are difficult to keep pace. When conducting joint debugging tests on the developed cloud and edge, the device simulator used cannot be applied to multiple application environments. Summary of the invention

[0004] In view of this, the present invention provides a virtualized response system to solve the problem that the device simulator used in joint debugging test cannot be applied to a variety of application environments.

[0005] In the first aspect, the present invention provides a virtualized response system, including a role exchange module and a custom module; wherein the role exchange module is used to receive the role played by the virtualized response system during the joint debugging process; the custom module is communicated with the role exchange module to generate simulation parameters corresponding to the role.

[0006] The present invention enables the virtualized response system to exchange roles between the cloud and edge during the joint debugging process by setting a role exchange module and a custom module in the virtualized response system, so as to adapt to different application scenarios and enable testers to perform multi-angle testing.

[0007] In an optional embodiment, when the role is the cloud, the custom module is used to generate a simulation test target, so as to send the simulation test target to an actual device connected to the virtualized response system during the joint debugging process; when the role is the edge, the custom module is used to generate simulation operation parameters of the device, so as to send the simulation operation parameters to the actual cloud connected to the virtualized response system during the joint debugging process.

[0008] That is to say, the custom module can enable the virtualized response system to play the role of the cloud or the edge during the joint debugging process by generating simulation parameters corresponding to the roles. For example, when the actual device that needs to be debugged at the edge is an energy storage battery, the simulation test target generated by the custom module can be a charge and discharge power plan curve; when the edge that the virtualized response system needs to play is an energy storage battery, when the virtualized response system is used to debug the actual cloud, the simulation operation parameters generated by the custom module of the virtualized response system include voltage, current, temperature, charge and discharge status, etc.

[0009] In an optional implementation, when the role is an edge, the custom module is also used to generate a virtual operation scenario of the device, so as to send the virtual operation scenario to the actual cloud connected to the virtualized response system during the joint debugging process.

[0010] Generating virtual operating scenarios for devices through custom modules can enable the virtualized response system to better simulate energy storage batteries.

[0011] In an optional embodiment, the virtualized response system also includes a data test and analysis module, which is in communication with the custom module and is used to generate analysis results corresponding to the role played by the virtualized response system in the joint debugging process.

[0012] By setting a data test and analysis module in the virtualized response system, the virtualized response system can realize functions corresponding to the role played by the virtualized response system.

[0013] In an optional embodiment, when the role is the cloud, the data test analysis module is used to obtain actual test data sent by actual devices connected to the virtualized response system, analyze the actual test data to obtain test results, and compare the test results with simulated test targets; when the role is the edge, the data test analysis module is used to obtain actual test targets sent by the actual cloud connected to the virtualized response system, and generate virtual test data based on the actual test targets and simulated operation parameters.

[0014] This allows the virtualized response system to play the role of the cloud or the edge during the joint debugging process.

[0015] In an optional embodiment, the virtualization response system also includes a triggered fault response reporting module, which is communicated with the custom module and is used to process faults corresponding to the role played by the virtualization response system in the joint debugging process.

[0016] This enables the virtualized response system to detect anomalies and faults in real time, and automatically trigger a response report once a fault is detected.

[0017] In an optional embodiment, when the role is the cloud, the fault response reporting module is triggered to determine whether there is a fault in the actual device based on the result of comparing the test results with the simulation test targets, and generate a first fault analysis report when there is a fault in the actual device; when the role is the cloud, the fault response reporting module is triggered to determine whether there is a fault in the actual cloud based on the virtual test data, and generate a second fault analysis report when there is a fault in the actual cloud.

[0018] This allows the virtualized response system to detect anomalies and faults in real time when acting in a cloud or edge role, and automatically trigger a response report once a fault is detected.

[0019] In an optional embodiment, the virtualization response system also includes an input-output module and a communication protocol integration module; the input-output module is communicatively connected to the role exchange module, the data test and analysis module, and the trigger fault response reporting module; the communication protocol integration module is arranged between the role exchange module and the input-output module, and supports multiple communication protocols.

[0020] This allows the virtualized response system to support a variety of edge devices and cloud platforms, ensuring that the virtualized response system can work normally in different environments.

[0021] In an optional implementation, the communication protocols supported by the communication protocol integration module include at least two of the following: Bluetooth protocol, CAN serial port, Lan port, MQTT protocol, and TCP protocol.

[0022] This ensures that the virtualized response system can work properly in different environments.

[0023] In an optional implementation, the custom module is also used to communicate with the communication protocol integration module to generate a response rule corresponding to the role and send the response rule to the communication protocol integration module.

[0024] This allows the virtualized response system to play the role of the cloud or the edge during the joint debugging process. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1is a structural diagram of an example of a virtualized response system according to an embodiment of the present invention;

[0027] Figure 2 is a structural diagram of another example of a virtualized response system according to an embodiment of the present invention;

[0028] Figure 3 is a structural diagram of another example of a virtualized response system according to an embodiment of the present invention;

[0029] Figure 4 It is a structural diagram of another example of a virtualized response system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0031] like Figure 1 As shown, an embodiment of the present invention provides a virtualized response system, including a role exchange module and a custom module, wherein the role exchange module is used to receive the role played by the virtualized response system in the joint debugging process; the custom module is communicated with the role exchange module to generate simulation parameters corresponding to the role.

[0032] Specifically, the roles played by the virtualized response system in the joint debugging process include cloud and edge. When the role played by the virtualized response system in the joint debugging process is cloud, it forms a test system with the actual devices at the edge for joint debugging. When the role played by the virtualized response system in the joint debugging process is edge, it forms a test system with the actual cloud for joint debugging.

[0033] The custom module generates simulation parameters corresponding to the roles, which enables the virtualized response system to play the role of the cloud or the edge during the joint debugging process.

[0034] In an optional embodiment, when the virtualized response system plays the role of the cloud in the joint debugging process, the custom module is used to generate a simulation test target to send the simulation test target to an actual device connected to the virtualized response system during the joint debugging process.

[0035] For example, when the actual device that needs to be debugged at the edge is an energy storage battery, the simulation test target generated by the custom module can be a charging and discharging power planning curve.

[0036] In another optional embodiment, when the virtualized response system plays the role of an edge in the joint debugging process, the custom module is used to generate simulated operating parameters of the device so as to send the simulated operating parameters to the actual cloud connected to the virtualized response system during the joint debugging process.

[0037] For example, when the edge that the virtualized response system needs to act as is an energy storage battery and the virtualized response system is used to perform joint debugging on the actual cloud, the simulated operating parameters generated by the custom module of the virtualized response system include voltage, current, temperature, charge and discharge status, etc.

[0038] Furthermore, when the virtualized response system plays the role of an edge in the joint debugging process, the custom module is also used to generate a virtual operation scenario of the device, so as to send the virtual operation scenario to the actual cloud connected to the virtualized response system during the joint debugging process.

[0039] For example, a temperature threshold may be set in the virtualized response system, and when the simulated temperature is greater than the set temperature threshold, a virtual operation scenario is entered.

[0040] This embodiment enables the virtualized response system to swap between cloud and edge roles during the joint debugging process by setting up a role swap module and a custom module in the virtualized response system, so as to adapt to different application scenarios and enable testers to perform multi-angle testing.

[0041] like Figure 2 As shown, an embodiment of the present invention provides another virtualized response system, including a role exchange module, a custom module and a data test and analysis module. The role exchange module is used to receive the role played by the virtualized response system during the joint debugging process; the custom module is connected to the role exchange module for generating simulation parameters corresponding to the role; the data test and analysis module is connected to the custom module for generating analysis results corresponding to the role according to the role played by the virtualized response system during the joint debugging process.

[0042] Among them, the data test and analysis module is used to implement the functions corresponding to the role played by the virtualized response system.

[0043] In an optional embodiment, when the virtualized response system plays the role of the cloud in the joint debugging process, the custom module is used to generate a simulation test target to send the simulation test target to the actual device connected to the virtualized response system during the joint debugging process; the data test analysis module is used to obtain actual test data sent by the actual device connected to the virtualized response system, analyze the actual test data to obtain test results, and compare the test results with the simulation test target.

[0044] For example, when the actual device that needs to be jointly debugged at the edge is an energy storage battery and the simulation test target generated by the custom module can be a charging and discharging power plan curve, the custom module of the virtualized response system can send the charging and discharging power plan curve to the energy storage battery connected to the virtualized response system after generating the charging and discharging power plan curve, and the energy storage battery starts to execute the charging and discharging plan according to the sent charging and discharging power plan curve; then, the energy storage battery reports the actual power information to the data test and analysis module of the virtual response system. The data test and analysis module of the virtualized response system is used to obtain the actual power information generated by the energy storage battery according to the charging and discharging power plan curve, render the actual power curve, and compare the charging and discharging power plan curve with the actual power curve to obtain the joint debugging result.

[0045] In another optional embodiment, when the virtualized response system plays the role of an edge in the joint debugging process, the custom module is used to generate simulated operating parameters of the device, so as to send the simulated operating parameters to the actual cloud connected to the virtualized response system during the joint debugging process; the data test analysis module is used to obtain actual test targets sent by the actual cloud connected to the virtualized response system, and generate virtual test data according to the actual test targets and the simulated operating parameters.

[0046] For example, when the edge that the virtualized response system needs to act as is an energy storage battery, and the simulated operating parameters generated by the custom module of the virtualized response system include voltage, current, temperature, and charge and discharge status, the data test and analysis module of the virtualized response system is connected to the actual cloud and receives the actual test targets sent by the actual cloud. The data test and analysis module of the virtualized response system performs tests based on the simulated operating parameters generated by the custom module and the actual test targets sent by the actual cloud to obtain virtual test data.

[0047] like Figure 3 As shown, an embodiment of the present invention provides another virtualized response system, including a role exchange module, a custom module, a data test and analysis module, and a triggered fault response report module. The role exchange module is used to receive the role played by the virtualized response system during the joint debugging process; the custom module is connected to the role exchange module for generating simulation parameters corresponding to the role; the data test and analysis module is connected to the custom module for generating analysis results corresponding to the role according to the role played by the virtualized response system during the joint debugging process; the triggered fault response report module is connected to the custom module for processing the fault corresponding to the role played by the virtualized response system during the joint debugging process.

[0048] Among them, the trigger fault response report module is used to detect anomalies and faults in real time, and automatically trigger a response report once a fault is detected.

[0049] In an optional embodiment, when the virtualized response system plays the role of the cloud in the joint debugging process, the custom module is used to generate a simulation test target to send the simulation test target to the actual device connected to the virtualized response system during the joint debugging process; the data test analysis module is used to obtain the actual test data sent by the actual device connected to the virtualized response system, analyze the actual test data to obtain the test results, and compare the test results with the simulation test targets; the fault response report triggering module is used to determine whether the actual device has a fault based on the result of comparing the test results with the simulation test targets, and generate a first fault analysis report when the actual device has a fault.

[0050] For example, when the actual device that needs to be coordinated at the edge is an energy storage battery and the simulation test target generated by the custom module can be a charging and discharging power plan curve, the custom module of the virtualized response system can send the charging and discharging power plan curve to the energy storage battery connected to the virtualized response system after generating the charging and discharging power plan curve, and the energy storage battery starts to execute the charging and discharging plan according to the sent charging and discharging power plan curve; then, the energy storage battery reports the actual power information to the triggered fault response reporting module of the virtual response system, and the triggered fault response reporting module renders the actual power curve according to the actual power information, and compares the charging and discharging power plan curve with the actual power curve; the triggered fault response reporting module of the virtualized response system determines whether there is a fault in the actual device based on the comparison result, and generates a first fault analysis report when there is a fault in the actual device.

[0051] In another optional embodiment, when the virtualized response system plays the role of an edge in the joint debugging process, the custom module is used to generate simulated operating parameters of the device, so as to send the simulated operating parameters to the actual cloud connected to the virtualized response system during the joint debugging process; the data test analysis module is used to obtain the actual test targets sent by the actual cloud connected to the virtualized response system, and generate virtual test data based on the actual test targets and the simulated operating parameters; the trigger fault response report module is used to determine whether there is a fault in the actual cloud based on the virtual test data, and generate a second fault analysis report when there is a fault in the actual cloud.

[0052] For example, when the edge that the virtualized response system needs to act as is an energy storage battery, and the simulated operating parameters generated by the custom module of the virtualized response system include voltage, current, temperature, and charge and discharge status, the data test and analysis module of the virtualized response system is connected to the actual cloud to receive the actual test targets sent by the actual cloud. The data test and analysis module of the virtualized response system performs tests based on the simulated operating parameters generated by the custom module and the actual test targets sent by the actual cloud to obtain virtual test data; the fault response report module is triggered to determine whether there is a fault in the actual cloud based on the virtual test data, and generate a second fault analysis report when there is a fault in the actual cloud.

[0053] like Figure 4 As shown, an embodiment of the present invention provides another virtualization response system, including a role exchange module, a custom module, a data test and analysis module, a trigger fault response report module, an input and output module, and a communication protocol integration module. The role exchange module is used to receive the role played by the virtualization response system during the joint debugging process; the custom module is connected to the role exchange module for generating simulation parameters corresponding to the role; the data test and analysis module is connected to the custom module for generating analysis results corresponding to the role according to the role played by the virtualization response system during the joint debugging process; the trigger fault response report module is connected to the custom module for processing the fault corresponding to the role played by the virtualization response system during the joint debugging process; the input and output module is connected to the role exchange module, the data test and analysis module, and the trigger fault response report module; the communication protocol integration module is arranged between the role exchange module and the input and output module, and the communication protocol integration module supports multiple communication protocols.

[0054] Specifically, the communication protocols supported by the communication protocol integration module include Bluetooth protocol, CAN serial port, Lan port, MQTT protocol, and TCP protocol. The communication protocol integration module can be used to realize conversion between different protocols to ensure smooth transmission of data between different devices and platforms.

[0055] In an optional implementation, the custom module is also used to communicate with the communication protocol integration module to generate a response rule corresponding to the role and send the response rule to the communication protocol integration module. This allows the virtualized response system to play the role of the cloud or the edge during the joint debugging process.

[0056] In summary, the virtualized response system provided by the present invention has the following beneficial effects:

[0057] 1. The response system needs to support a variety of edge devices and cloud platforms to ensure that it can work properly in different environments. Differences in APIs and features of different devices and platforms may lead to compatibility issues; and cloud service providers may update their APIs, resulting in the need for frequent adaptation and adjustment of the existing response system.

[0058] 2. The response system is not flexible enough, and its function is single in the cloud or edge. The content of the response program is solidified and difficult to adjust, which leads to difficulties in resource management and low data reliability.

[0059] 3. It can realize the requirements of authenticity, reliability and real-time of collected data, and focus on the data collection, transmission, processing and response processes, and can simplify real-time monitoring, fault diagnosis and remote management.

[0060] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A virtualized response system, characterized in that: include: The role exchange module is used to receive the role played by the virtualized response system during the joint debugging process; The custom module is connected to the role exchange module for generating simulation parameters corresponding to the role.

2. The virtualized response system according to claim 1, characterized in that: When the role is the cloud, the custom module is used to generate a simulation test target, so as to send the simulation test target to an actual device connected to the virtualized response system during the joint debugging process; When the role is an edge, the custom module is used to generate simulated operating parameters of the device, so as to send the simulated operating parameters to an actual cloud connected to the virtualized response system during the joint debugging process.

3. The virtualized response system according to claim 2, characterized in that: When the role is an edge, the custom module is also used to generate a virtual operation scenario of the device, so as to send the virtual operation scenario to an actual cloud connected to the virtualized response system during the joint debugging process.

4. The virtualized response system according to claim 1, characterized in that: Also includes: The data test and analysis module is in communication connection with the custom module and is used to generate analysis results corresponding to the role played by the virtualized response system in the joint debugging process.

5. The virtualized response system according to claim 4, characterized in that: When the role is the cloud, the data test analysis module is used to obtain actual test data sent by an actual device connected to the virtualized response system, analyze the actual test data to obtain a test result, and compare the test result with the simulation test target; When the role is an edge, the data test analysis module is used to obtain an actual test target sent by an actual cloud connected to the virtualized response system, and generate virtual test data according to the actual test target and the simulation operation parameters.

6. The virtualized response system according to claim 5, characterized in that: Also includes: A fault response reporting module is triggered and communicated with the custom module to process faults corresponding to the role played by the virtualized response system in the joint debugging process.

7. The virtualized response system according to claim 6, characterized in that: When the role is the cloud, the trigger fault response reporting module is used to determine whether the actual device has a fault according to the result of comparing the test result with the simulation test target, and generate a first fault analysis report when the actual device has a fault; When the role is a cloud, the triggered fault response reporting module is used to determine whether there is a fault in the actual cloud according to the virtual test data, and generate a second fault analysis report when there is a fault in the actual cloud.

8. The virtualized response system according to claim 5, characterized in that: Also includes: An input-output module, the input-output module being communicatively connected with the role exchange module, the data test and analysis module, and the trigger fault response reporting module; a communication protocol integration module, wherein the communication protocol integration module is arranged between the role exchange module and the input / output module, The communication protocol integration module supports multiple communication protocols.

9. The virtualized response system according to claim 8, characterized in that: The communication protocols supported by the communication protocol integration module include at least two of the following: Bluetooth protocol, CAN serial port, Lan port, MQTT protocol, and TCP protocol.

10. The virtualized response system according to claim 8, characterized in that: The custom module is also used to communicate with the communication protocol integration module to generate a response rule corresponding to the role and send the response rule to the communication protocol integration module.