
基本信息:
- 专利标题: 用于减少计量设备程序升级量的控制方法
- 专利标题(英):A control method for reducing the program upgrading amount of metering equipment
- 申请号:CN201910080814.3 申请日:2019-01-28
- 公开(公告)号:CN109933358A 公开(公告)日:2019-06-25
- 发明人: 张维史 , 林志蒙 , 胡中卫 , 王浩 , 赵继高
- 申请人: 金卡智能集团股份有限公司
- 申请人地址: 浙江省温州市乐清经济开发区纬十七路291号
- 专利权人: 金卡智能集团股份有限公司
- 当前专利权人: 金卡智能集团股份有限公司
- 当前专利权人地址: 浙江省温州市乐清经济开发区纬十七路291号
- 代理机构: 杭州华鼎知识产权代理事务所
- 代理人: 项军
- 主分类号: G06F8/658
- IPC分类号: G06F8/658 ; G06F8/30
The embodiment of the invention provides a control method for reducing the program upgrading amount of metering equipment, which comprises the following steps of: dividing a program area of the metering equipment into metering related sub-areas and non-metering related sub-areas, and filling a function pointer table initialization function in each divided sub-area; Establishing a function pointertable for each sub-region; And executing each executable file one by one, initializing the content in the function pointer table according to the function pointer table initialization function in eachsub-region, and updating the content of function calling by means of the storage position of the function address in the initialized function pointer table. In the upgrading process, only the function pointer table needs to be ensured to be normal; Therefore, except for the function of initializing the function pointer table in each subarea, all functions called by other areas do not need to be subjected to address fixing operation, and the problem of space waste caused by fixed function addresses and reservation of a certain storage space for the functions is avoided.
公开/授权文献:
- CN109933358B 用于减少计量设备程序升级量的控制方法 公开/授权日:2022-06-24