首页> 外国专利> PARAMETER INSERTION METHOD AND APPARATUS FOR DATABASE TABLE, TERMINAL DEVICE, AND STORAGE MEDIUM

PARAMETER INSERTION METHOD AND APPARATUS FOR DATABASE TABLE, TERMINAL DEVICE, AND STORAGE MEDIUM

机译:数据库表,终端设备和存储介质的参数插入方法和装置

摘要

A parameter insertion method and apparatus for a database table, a terminal device, and a storage medium. The method comprises: receiving an insertion instruction, and encapsulating a parameter to be inserted into a user-defined object (S10); receiving a universal Package call instruction, and calling an insertion method in the universal Package to transmit the user-defined object into the insertion method (S20); and based on the insertion method, storing the parameter to be inserted that is encapsulated in the user-defined object to a corresponding insertion position of a database table (S30). By means of the method, a Package is used as the universal Package, the insertion method is pre-written into the universal Package, and when data needs to be stored into the database table, it is only needed to call the pre-written insertion method in the universal Package, and the parameter to inserted that is encapsulated in the user-defined object can be stored into the database table. By means of the method, the present invention achieves the design principle of high cohesion and low coupling in software design, and enables the codes to be concise and readable in the process of storage, improves development efficiency, and reduces the maintenance costs.
机译:用于数据库表,终端设备和存储介质的参数插入方法和设备。该方法包括:接收插入指令,并将要插入的参数封装到用户定义的对象中(S10);接收通用包调用指令,并调用通用包中的插入方法,以将用户定义的对象传输到插入方法中(S20);根据插入方法,将封装在用户定义对象中的待插入参数存储到数据库表的对应插入位置(S30)。通过该方法,将Package用作通用Package,将插入方法预先写入通用Package,并且当需要将数据存储到数据库表中时,仅需要调用预先写入的插入通用包中的方法,并且可以将封装在用户定义对象中的要插入的参数存储到数据库表中。通过该方法,本发明在软件设计中实现了高凝聚力,低耦合的设计原理,使代码在存储过程中简洁明了,提高了开发效率,降低了维护成本。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号