Vehicle multimedia scheduled charging event testing method, system and storage medium
Through the in-car multimedia appointment charging event testing method, a charging event information database is established, and charging events is monitored and handled, which solves the problems of limited resources and low accuracy of car appointment charging event testing, and achieves a more comprehensive test coverage and a more efficient testing process.
Patent Information
- Application Number
- CN202210720608.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-23
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-06-23
AI Technical Summary
The current car reservation charging incident can only be carried out through signal testing or manual empowerment testing through real cars, resulting in limited resources, high costs and limited accuracy.
Provide a method for testing a vehicle multimedia reservation charging event. By establishing a charging event information database, monitoring and determining the addition, editing or deleting of charging events, performing corresponding data insertion, replacement or deletion, calculating and reorganizing the information database, and sending a single message signal to the vehicle multimedia.
This method can more comprehensively cover testing requirements, simplify the testing environment, quickly complete tests, automatically complete complex calculations and reorganizations, and more accurate results.
Smart Images

Figure CN115269380B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile panoramic calibration, and in particular to a vehicle-mounted multimedia scheduled charging event testing method, system and storage medium. Background Art
[0002] With the gradual popularization of new energy vehicles, the appointment charging function has also become an important function of new energy electric vehicles. Charging new energy vehicles is a daily routine for every car owner. Using the appointment charging function of home charging piles and planning the use time period of the charging piles in advance can save electricity and avoid peak power consumption.
[0003] At present, multiplexing technology is used in the scheduled charging events of automobiles. However, the single-channel CAN communication of the current bench simulation real car is not enough to meet the test requirements. It can only transmit information on a certain channel. Complex multiplexed communication can usually only be done by manually assigning values to multiplexed messages one by one, or using real cars for signal testing. Real car resources are limited, and it is difficult for real cars to meet unconventional tests such as failure and destructiveness. Manual empowerment has too high labor costs and requires manual calculations, with limited accuracy. Summary of the invention
[0004] The present invention aims to solve the technical problem that the current automobile scheduled charging event can only be tested by signal testing or manual enabling testing through a real vehicle, and provides a vehicle-mounted multimedia scheduled charging event testing method, system and storage medium.
[0005] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0006] A vehicle-mounted multimedia scheduled charging event test method, characterized in that it is applied to the vehicle-mounted multimedia scheduled charging event test system, the system includes a host computer and vehicle-mounted multimedia, the host computer includes a processor, the processor is equipped with the labview processing program, and the method includes:
[0007] Establish a charging event information database;
[0008] When monitoring the charging event processing action, determine in turn whether adding, editing or deleting charging events occurs;
[0009] If so, insert, replace or delete the corresponding data bit of the charging event information library according to the index of adding, editing or deleting the charging event;
[0010] After calculating and reorganizing the charging event information database, a single-channel message signal is obtained through processing and calculation and sent to the on-board multimedia.
[0011] Furthermore, when the charging event processing action is monitored, determining in sequence whether there is an addition, edit or deletion of a charging event includes:
[0012] When monitoring the charging event processing action, determine whether it is the first time to run the program;
[0013] If yes, initialize the charging event data, initialize the data sending counter, and then enter the judgment domain;
[0014] If not, directly enter the judgment domain;
[0015] Wherein, within the judgment domain, the processor determines in sequence whether an add, edit or delete charging event occurs.
[0016] Further, the processor sequentially determines whether there is an add, edit or delete charging event, including:
[0017] In the determination domain, determine whether the current action is to add a charging event, and if so, perform an operation to add a charging event;
[0018] If the current action is not to add a charging event, determine whether the current action is to edit a charging event. If so, perform an operation to add a charging event.
[0019] If the current action is not to edit the charging event, determine whether the current action is to delete the charging event.
[0020] Furthermore, the step of inserting, replacing or deleting corresponding data bits of the charging event information library according to adding, editing or deleting the index of the charging event includes:
[0021] If the current action is to add a charging event, obtain the analysis data of the charging event information library, and insert the newly added charging event information into the charging event information library through the interface according to the index;
[0022] If the current action is to edit the charging event, obtain the analysis data of the charging event information library, and replace the charging event information library before editing the data with the new information according to the data bit based on the index;
[0023] If the current action is to delete the charging event, the analysis data of the charging event information library is obtained, and the information to be deleted is deleted according to the index and the data bit, and the charging event information library before the deletion of the data is replaced.
[0024] Further, after calculating and reorganizing the charging event information base, processing and calculating to obtain a single-channel message signal, and sending it to the vehicle multimedia includes:
[0025] Extract the updated charging information base according to the index and the timer, aggregate it into a single charging event information data, and perform compound calculation on the updated charging information base through the data sending timer;
[0026] The final value is assigned to obtain a single-channel message signal;
[0027] Send a single-channel message signal to the vehicle multimedia.
[0028] Furthermore, the step of inserting, replacing or deleting corresponding data bits of the charging event information library according to adding, editing or deleting the index of the charging event specifically includes:
[0029] After adding, editing or deleting a charging event, obtain the analysis data of the charging event information library and perform programmatic calculations on the data;
[0030] Insert, replace or delete the corresponding data bit of the charging event information library according to the index of adding, editing or deleting the charging event;
[0031] Calculate and update the sending counter, and reorganize the inserted, replaced or deleted data information;
[0032] Charging event information library before replacing data.
[0033] Further, when the charging event processing action is monitored, it is determined in sequence whether an adding, editing or deleting charging event occurs, and further includes:
[0034] If no charging event is added, edited or deleted, the capacity of the current charging event information database is calculated to obtain the capacity value;
[0035] Perform compound calculation based on the capacity value and the data sending counter to obtain the index of each charging event;
[0036] According to the timer set by the program, the single charging event information data is extracted periodically and orderly, and then the signal bit field of each message corresponding to each part of the information data is assigned to each signal of each message, and finally the data is sent to the on-board multimedia according to the required multiplexed message sending rules.
[0037] The present invention also provides a vehicle-mounted multimedia scheduled charging event test system, which includes a host computer, a power supply and a vehicle-mounted multimedia. The host computer includes a processor, and a NI CAN tool is installed in the processor. The processor communicates information of a scheduled charging event message with the vehicle-mounted multimedia through the NI CAN tool; specifically, the processor sends a scheduled charging event message to the vehicle-mounted multimedia through the above-mentioned vehicle-mounted multimedia scheduled charging event test method.
[0038] Furthermore, it also includes a power supply, which is connected to the host computer and the vehicle-mounted multimedia respectively, and is used to simulate the power supply of a real vehicle.
[0039] The present invention also provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned vehicle-mounted multimedia scheduled charging event testing method is implemented.
[0040] The present invention realizes that the reserved charging information is sent to the vehicle-mounted multimedia in an orderly and periodic manner through programming, and inserts information data as required when adding an event, replaces information data in a targeted manner when editing an event, and logically reorganizes data when deleting an event, and then enables the modified information library to be sent. This method can cover test requirements more comprehensively, simplify the test environment to a greater extent, and complete related tests more quickly. Various complex calculations and reorganizations are automatically completed through the program, and the calculation process is rigorous, more efficient, and the results are more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a structural flow chart of the vehicle multimedia scheduled charging event testing method in an embodiment of the present invention.
[0042] Figure 2 The figure is a structural block diagram of a testing method according to an embodiment of the present invention.
[0043] Figure 3 It is a structural block diagram of the vehicle multimedia scheduled charging event testing system in an embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0045] The same or similar numbers in the drawings of the embodiments of the present application correspond to the same or similar parts; in the description of the present application, it should be understood that if the terms "upper", "lower", "left", "right", "top", "bottom", "inside", "outside", etc. indicate the orientation or position relationship, it is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as a limitation on this patent.
[0046] In addition, if there are terms such as "first" and "second", they are only used for descriptive purposes, mainly to distinguish different devices, elements or components (the specific types and structures may be the same or different), and are not used to indicate or imply the relative importance and quantity of the indicated devices, elements or components, and cannot be understood as indicating or implying relative importance.
[0047] Embodiment 1
[0048] In view of the gradual popularization of new energy vehicles, the scheduled charging function has become an important function of new energy electric vehicles. When the scheduled charging event of the car adopts multiplexing technology, the current bench simulation of the real car single-channel CAN communication is not enough to meet the test requirements, and can only transmit information on a certain channel. Complex multiplexing communication can only be tested on the real car. Real car resources are limited, and it is difficult for real cars to meet unconventional tests such as failure and destructiveness. Therefore, it is urgent to develop a test method for scheduled charging events using multiplexing technology. This test method embodiment provides a test method for scheduled charging events of on-board multimedia. The test method realizes that the scheduled charging information is sent to the on-board multimedia in an orderly and periodic manner through programming, and inserts information data as required when adding events, replaces information data in a targeted manner when editing events, and logically reorganizes data when deleting events. It only needs to enter the new, edited, and deleted information on the panel and perform the corresponding operations, which covers the test requirements more comprehensively, simplifies the test environment to a greater extent, and completes related tests more quickly.
[0049] For details, please refer to the following Figure 1-2 ,in, Figure 1 The structural flow chart of the vehicle multimedia scheduled charging event test method in this embodiment is shown; Figure 2 The structural block diagram of the testing method of this embodiment is shown.
[0050] In this embodiment, the vehicle multimedia scheduled charging event test method is specifically applied to the vehicle multimedia scheduled charging event test system, which is used to test the scheduled charging function of new energy electric vehicles. Specifically, the system includes a host computer and a vehicle multimedia, and a processor is provided in the host computer. The processor is equipped with a labview processing program. After adding, editing or deleting the scheduled charging event through the labview processing program, the test method integrates multiple signals into a single message and then sends it to the vehicle multimedia. Specifically, the vehicle multimedia scheduled charging event test method of this embodiment includes:
[0051] 101. Establish a charging event information database.
[0052] 102. When a charging event processing action is monitored, it is determined in sequence whether an adding, editing or deleting charging event occurs.
[0053] 103. If yes, insert, replace or delete the corresponding data bit of the charging event information library according to the index of adding, editing or deleting the charging event.
[0054] 104. After calculating and reorganizing the charging event information database, a single-channel message signal is obtained by processing and calculating, and sent to the vehicle-mounted multimedia.
[0055] The test method in this embodiment is mainly used to simplify the manual assignment of multiplexed messages one by one, which can more accurately ensure that each channel of data is orderly and sent in accordance with the demand cycle, and is more in line with the actual vehicle environment. Among them, this test method establishes a charging event information library, and then updates the information library according to the event change action, and finally assigns the updated information library to a single-channel message and sends it.
[0056] As described in step 103, the charging event information library inserts, replaces or deletes the corresponding data bits of the charging event information library according to the index of adding, editing or deleting the charging event. The specific operation method is as follows:
[0057] In the judgment domain, first determine whether the current action is to add a charging event. If the current action is to add a charging event, obtain the analysis data of the charging event information library, and perform programming calculations on the data. According to the calculation results, index the insertion interface of the newly added charging event, and then insert the information of the newly added charging event into the charging event information library through the interface. At the same time, calculate the sending counter and update the sending counter. Then, calculate and reorganize the data inserted into the charging event information library. The reorganized information library replaces the charging event information library before the data is inserted.
[0058] If the current event is not an increase in charging, the next step is to determine whether there is an edited charging event. If so, the analysis data of the charging event information library is obtained, and the data is programmed and calculated. According to the calculation results, all data bits of the charging event information that need to be edited are indexed, and the new information replaces the old information of the original data bit according to the data bit. At the same time, the sending counter is calculated and updated, and then the information library of the replaced data is replaced with the charging event information library before the edited data.
[0059] If the current charging event is not editable, the next step is to determine whether there is a charging event to be deleted. If so, the analysis data of the charging event information library is obtained, and the data is programmed and calculated. According to the calculation result, all data bits of the charging event information that need to be deleted are indexed, and the information that needs to be deleted is deleted according to the data bit. At the same time, the sending counter is calculated and updated. Then, the information library after the information is deleted is calculated and reorganized according to the rules. The reorganized information library replaces the charging event information library before the data is deleted.
[0060] Of course, there are also situations where when the charging event processing action is monitored, it is judged that no charging event has been added, edited or deleted. In this case, if no charging event has been added, edited or deleted, the judgment domain is jumped out, and the capacity of the current charging event information library is calculated to obtain the capacity value. Composite calculations are performed based on the capacity value and the data sending counter to obtain the index of each charging event. According to the timer set by the program, the single charging event information data is extracted periodically and orderly, and then the signal bit field of each message corresponding to each part of the information data is assigned to each signal of each message, and finally the data is sent to the vehicle multimedia according to the required multiplexed message sending rules. The dotted box part in the flow chart is periodic operation, and the other parts are event operation.
[0061] Specifically, the determination fields in the above content are used to determine in sequence whether there is a process of adding, editing or deleting a charging event.
[0062] For a better operating experience, some specific implementations of this embodiment are provided below.
[0063] In some embodiments, when the charging event processing action is monitored in step 102, determining in sequence whether an adding, editing or deleting charging event occurs specifically includes:
[0064] When monitoring the charging event processing action, determine whether it is the first time to run the program;
[0065] If yes, initialize the charging event data, initialize the data sending counter, and then enter the judgment domain;
[0066] If not, directly enter the judgment domain; in the judgment domain, the processor determines in sequence whether there is an add, edit or delete charging event.
[0067] The specific steps are: when running the program, determine whether it is the first time to run, if it is the first time to run, initialize the data of the charging information library and the data transmission counter, and enter the judgment domain of the program after the initialization is completed. If it is not the first time to run, directly enter the judgment domain of the program.
[0068] The step of the processor determining in sequence whether an add, edit or delete charging event occurs specifically includes:
[0069] In the determination domain, determine whether the current action is to add a charging event, and if so, perform an operation to add a charging event;
[0070] If the current action is not to add a charging event, determine whether the current action is to edit a charging event. If so, perform an operation to add a charging event.
[0071] If the current action is not to edit the charging event, determine whether the current action is to delete the charging event.
[0072] In some embodiments, the step of inserting, replacing or deleting the corresponding data bit of the charging event information library according to adding, editing or deleting the index of the charging event specifically includes:
[0073] If the current action is to add a charging event, obtain the analysis data of the charging event information library, and insert the newly added charging event information into the charging event information library through the interface according to the index;
[0074] If the current action is to edit the charging event, obtain the analysis data of the charging event information library, and replace the charging event information library before editing the data with the new information according to the data bit based on the index;
[0075] If the current action is to delete the charging event, the analysis data of the charging event information library is obtained, and the information to be deleted is deleted according to the index and the data bit, and the charging event information library before the deletion of the data is replaced.
[0076] In some embodiments, after calculating and reorganizing the charging event information base, the step of processing and calculating to obtain a single-channel message signal and sending it to the vehicle-mounted multimedia specifically includes:
[0077] Extract the updated charging information base according to the index and the timer, aggregate it into a single charging event information data, and perform compound calculation on the updated charging information base through the data sending timer;
[0078] The final value is assigned to obtain a single-channel message signal;
[0079] Send a single-channel message signal to the vehicle multimedia.
[0080] In some embodiments, the step of inserting, replacing or deleting the corresponding data bit of the charging event information library according to adding, editing or deleting the index of the charging event specifically includes:
[0081] After adding, editing or deleting a charging event, obtain the analysis data of the charging event information library and perform programmatic calculations on the data;
[0082] Insert, replace or delete the corresponding data bit of the charging event information library according to the index of adding, editing or deleting the charging event;
[0083] Calculate and update the sending counter, and reorganize the inserted, replaced or deleted data information;
[0084] Charging event information library before replacing data.
[0085] The advantage of this embodiment is that this test method realizes the orderly and periodic sending of the scheduled charging information to the on-board multimedia through programming, inserts information data as required when adding events, replaces information data in a targeted manner when editing events, and logically reorganizes data when deleting events, and then enables the sending of the modified information library. This method can cover the test requirements more comprehensively, simplify the test environment to a greater extent, and complete related tests more quickly. Various complex calculations and reorganizations are automatically completed through the program, and the calculation process is rigorous, more efficient, and the results are more accurate.
[0086] Embodiment 2
[0087] See also Figure 3 This embodiment provides a vehicle multimedia scheduled charging event test system, which specifically includes a host computer, a power supply and a vehicle multimedia. The host computer includes a processor, and the processor is equipped with a NI CAN tool. The processor communicates information of the scheduled charging event message with the vehicle multimedia through the NI CAN tool. Among them, the NI CAN tool includes a labview processing program.
[0088] In this embodiment, the test system executes the vehicle multimedia scheduled charging event test method through the processor to implement the processing of sending the scheduled charging event message to the vehicle multimedia. Specifically, the test method includes:
[0089] Establish a charging event information database;
[0090] When monitoring the charging event processing action, determine in turn whether adding, editing or deleting charging events occurs;
[0091] If so, insert, replace or delete the corresponding data bit of the charging event information library according to the index of adding, editing or deleting the charging event;
[0092] After calculating and reorganizing the charging event information database, a single-channel message signal is obtained through processing and calculation and sent to the on-board multimedia.
[0093] More specifically, the processor of this embodiment adopts the vehicle-mounted multimedia scheduled charging event testing method in Embodiment 1 to implement the processing of sending a scheduled charging event message to the vehicle-mounted multimedia.
[0094] Preferably, the system of this embodiment further includes a power supply, which is connected to the host computer and the vehicle-mounted multimedia respectively, and is used to simulate the power supply of a real vehicle.
[0095] Embodiment 3
[0096] This embodiment provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, a vehicle multimedia scheduled charging event test method is implemented. The test method includes:
[0097] Establish a charging event information database;
[0098] When monitoring the charging event processing action, determine in turn whether adding, editing or deleting charging events occurs;
[0099] If so, insert, replace or delete the corresponding data bit of the charging event information library according to the index of adding, editing or deleting the charging event;
[0100] After calculating and reorganizing the charging event information database, a single-channel message signal is obtained through processing and calculation and sent to the on-board multimedia.
[0101] Specifically, when the computer program of this embodiment is executed by a processor, the vehicle-mounted multimedia scheduled charging event testing method in the first embodiment is implemented.
[0102] Obviously, the above embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A vehicle multimedia scheduled charging event test method, characterized in that: Applied to a vehicle multimedia scheduled charging event test system, the system includes a host computer and vehicle multimedia, the host computer includes a processor, the processor is equipped with a labview processing program, and the method includes: Establish a charging event information database; When monitoring the charging event processing action, determine in turn whether there is an addition, edit or deletion of charging events; If so, insert, replace or delete the corresponding data bit of the charging event information library according to the index of adding, editing or deleting the charging event; After calculating and reorganizing the charging event information database, a single-channel message signal is obtained by processing and calculating and sent to the vehicle multimedia; The method comprises: extracting the updated charging information base according to the index and the timer to form a single charging event information data, and performing a composite calculation on the updated charging information base through the data transmission timer; finally assigning a value to obtain the single-channel message signal; and sending the single-channel message signal to the on-board multimedia; When the charging event processing action is monitored, it is determined in turn whether there is an increase, edit or deletion of a charging event, and then it also includes: if no increase, edit or deletion of a charging event occurs, the capacity of the current charging event information library is calculated to obtain the capacity value; a composite calculation is performed based on the capacity value and the data sending counter to obtain the index of each charging event; according to the timer set by the program, a single charging event information data is extracted periodically and orderly, and then the signal bit field of each message corresponding to each part of the information data is assigned to each signal of each message, and finally the data is sent to the on-board multimedia according to the required multiplexed message sending rules.
2. The vehicle multimedia scheduled charging event testing method according to claim 1, characterized in that: When the charging event processing action is monitored, determining in sequence whether an adding, editing or deleting charging event occurs includes: When monitoring the charging event processing action, determine whether it is the first time to run the program; If yes, initialize the charging event data, initialize the data sending counter, and then enter the judgment domain; If not, directly enter the judgment domain; Wherein, within the judgment domain, the processor determines in sequence whether an add, edit or delete charging event occurs.
3. The vehicle multimedia scheduled charging event testing method according to claim 2, characterized in that: The processor sequentially determines whether an add, edit or delete charging event occurs, including: In the judgment domain, determine whether the current action is to add a charging event, and if so, perform the operation of adding a charging event; If the current action is not to add a charging event, determine whether the current action is to edit a charging event. If so, perform an operation to add a charging event. If the current action is a non-editing charging event, determine whether the current action is a deleting charging event.
4. The vehicle multimedia scheduled charging event testing method according to claim 1, characterized in that: The step of inserting, replacing or deleting the corresponding data bit of the charging event information library according to adding, editing or deleting the index of the charging event includes: If the current action is to add a charging event, obtain the analysis data of the charging event information library, and insert the newly added charging event information into the charging event information library through the interface according to the index; If the current action is to edit the charging event, obtain the analysis data of the charging event information library, and replace the charging event information library before editing the data with the new information according to the data bit based on the index; If the current action is to delete the charging event, the analysis data of the charging event information library is obtained, and the information to be deleted is deleted according to the index and the data bit, and the charging event information library before the data is deleted is replaced.
5. The vehicle multimedia scheduled charging event testing method according to claim 1, characterized in that: The step of inserting, replacing or deleting the corresponding data bit of the charging event information library according to adding, editing or deleting the index of the charging event specifically includes: After adding, editing or deleting a charging event, obtain the analysis data of the charging event information library and perform programmatic calculations on the data; Insert, replace or delete the corresponding data bit of the charging event information library according to the index of adding, editing or deleting the charging event; Calculate and update the sending counter, and reorganize the inserted, replaced or deleted data information; Charging event information library before replacing data.
6. A vehicle-mounted multimedia scheduled charging event test system, characterized in that: The device comprises a host computer, a power supply and an on-board multimedia, wherein the host computer comprises a processor, wherein the processor is provided with a NI CAN tool, and wherein the processor performs information communication of a scheduled charging event message with the on-board multimedia via the NI CAN tool; specifically, the processor sends a scheduled charging event message to the on-board multimedia via the on-board multimedia scheduled charging event test method according to any one of claims 1 to 5.
7. The vehicle-mounted multimedia scheduled charging event test system according to claim 6, characterized in that: It also includes a power supply, which is connected to the host computer and the vehicle-mounted multimedia respectively and is used to simulate the power supply of a real vehicle.
8. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the vehicle-mounted multimedia scheduled charging event testing method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Electric automobile charging device applied to multi-path charging socket and control method thereof
CN106828161A
Power share controller
US20140091623A1