According to the vehicle panoramic image view switching method provided by the invention, state division is carried out on entry and exit of different trigger sources, the AVM state jump table and the AVM view jump table are constructed, and AVM state switching and AVM view switching are realized based on the state mode. According to the method, logic processing of each AVM state is modularized, a large amount of redundant logic judgment is effectively avoided, the readability of codes is improved, meanwhile, when a trigger source is modified, deleted or newly added or an AVM view is newly added, business logic does not need to be greatly changed, and it is ensured that the codes have high maintainability and high expansibility.
本申请提供的一种车辆全景影像视图切换方法,通过将不同触发源的进入退出进行状态划分,并构建AVM状态跳转表及AVM视图跳转表,基于状态模式实现AVM状态切换及AVM视图切换。将每个AVM状态的逻辑处理模块化,有效地避免了大量且冗余的逻辑判断,提高了代码的可读性,同时当修改、删除或新增触发源或者新增AVM视图时,无需大量改动业务逻辑,确保代码具有高维护性和高扩展性。
Vehicle panoramic image view switching method
一种车辆全景影像视图切换方法
2024-09-06
Patent
Electronic Resource
Chinese
Panoramic image view switching method and device and automobile
European Patent Office | 2020
|European Patent Office | 2024
|