WO2021027377A2 - 计算机编程语言类型开新实例方法 - Google Patents

计算机编程语言类型开新实例方法 Download PDF

Info

Publication number
WO2021027377A2
WO2021027377A2 PCT/CN2020/095085 CN2020095085W WO2021027377A2 WO 2021027377 A2 WO2021027377 A2 WO 2021027377A2 CN 2020095085 W CN2020095085 W CN 2020095085W WO 2021027377 A2 WO2021027377 A2 WO 2021027377A2
Authority
WO
WIPO (PCT)
Prior art keywords
type
instance
entity
name
new
Prior art date
Application number
PCT/CN2020/095085
Other languages
English (en)
French (fr)
Inventor
张继辉
Original Assignee
拜椰特(上海)软件技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 拜椰特(上海)软件技术有限公司 filed Critical 拜椰特(上海)软件技术有限公司
Publication of WO2021027377A2 publication Critical patent/WO2021027377A2/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Definitions

  • the present invention is a grammar method for creating new examples of computer programming language.
  • the present invention is a method for opening a new instance of a computer programming language type.
  • the relevant field information of the identity entity is configured, and the corresponding data type information is configured for the related slave table of the instance identity to complete the establishment of a certain type of entity Structural information, so as to realize the rapid development of software.
  • Table 1 above is the configuration information table for opening a new instance of the identity type
  • Table 4 is the definition table for the identity type
  • ID is the unique identifier of the new instance of this type of entity
  • name is the name of the new instance of this type of entity
  • identityName defines the source name for this type of entity, that is, a new instance of who is quoted in the name field of Table 4;
  • Inherit indicates who the entity of this type inherits from.
  • the name refers to "identity.name”. If it is empty, it means that no entity type is inherited.
  • Table 2 above is the configuration information table of the identity type component slave table
  • Table 5 is the identity component definition table
  • the name indicates which component under this type of entity is configured, and the component name defined by this type of entity is used for association binding;
  • the name field of user in Table 2 is "mEmployees", which corresponds to the component item named “mEmployees” defined by user in Table 5 to indicate who is the actual configuration target of the component item under this new instance, and the configuration type should belong to "mEmployees" in Table 5.
  • the type defined by the "to" field is "mEmployees"
  • Table 3 above is the configuration information table of the identity type attribute slave table
  • Table 6 is the attribute definition table of the identity
  • the name indicates which attribute is configured for this type of entity, and the attribute name defined by this type of entity is used for association binding;
  • Table 2 and Table 3 are only part of the set of all the slave tables in the type master table.
  • the parameter information configuration of other slave tables is carried out in a similar way, so as to improve the overall relationship mapping and construction of the type entity and its related member information.
  • the instantiation type is identity, the entity name is table, and the alias is an instance named a;
  • the instantiation type is role, the entity name is dictionary, and the alias is an instance named b;
  • the instantiation type is relation, the entity name is one, and the alias is an instance named c.
  • s:identity a:.mID if there is only one entity configuration item whose type is identity, it can be abbreviated as s:identity:.mID.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Description

计算机编程语言类型开新实例方法 技术领域:
本发明是一种计算机编程语言开新实例语法方法。
背景技术:
在现今主流面向对象的计算机编程语言中,类型一般都是通过程序员以手写代码的形式开新实例,但随着数据处理新型编程语言的诞生,这种传统的开新实例的方法已无法满足软件开发的需求,因此必须探求一种全新的开新实例的方法来满足软件开发的新需求。
发明内容:
本发明为一种计算机编程语言类型开新实例的方法,通过表的形式,配置身份实体相关字段信息,并为实例身份的相关从表配置相应的数据类型信息,来完成对某一类型建立实体结构信息,从而实现软件快速开发的方式。
具体实现方法:
表1
Figure PCTCN2020095085-appb-000001
表2
Figure PCTCN2020095085-appb-000002
表3
Figure PCTCN2020095085-appb-000003
表4
Figure PCTCN2020095085-appb-000004
表5
Figure PCTCN2020095085-appb-000005
Figure PCTCN2020095085-appb-000006
表6
Figure PCTCN2020095085-appb-000007
方法一:
如上表1为identity类型开新实例的配置信息表,表4为identity类型的定义表
其中表1:
ID为该类型实体新实例唯一标识符;
name为该类型实体新实例的名称;
identityName为该类型实体定义来源名称,即说明是谁的新实例,引用于表4的name字段;
to为该类型实体新实例实际配置目标的标识符,配置类型要属于表4中to字段定义的类型;
summary则为当前身份实体配置相关说明。
其中表4:
name为该类型实体名称定义,且不能重复;
inherit说明该类型实体继承于谁,名称引用于“identity.name”,为空则说明未继承任何实体类型。
to说明该类型实体配置目标的类型实体说明,其中名称引用于“enum.system”枚举类型值。
如上表2为identity类型component从表的配置信息表,表5为identity的component定义表
其中表2:
belong说明该行是为哪个类型实体实例配置的,用新实例的ID进行关联绑定;
name说明是为该类型实体下的哪个构件配置的,用该类型实体定义的构件名称进行关联绑定;
如表2下user的name字段为“mEmployees”即对应表5下user定义名为“mEmployees”构件项to说明该新实例下的构件项实际配置目标是谁,其中配置类型要属于表5中“to”字段定义的类型。
summary是该类型实体构件项的相关说明。
其中表5:
to说明该类型实体构件项配置目标的类型实体名称,其中名称引用于“identity.name”,再通过查找主表下对应类型实体下的“to”字段,从而指定配置目标的最终实体类型名称。
如上表3为identity类型attribute从表的配置信息表,表6为identity的attribute定义表
其中:
belong说明该行是为哪个类型实体实例配置的,用新实例的ID进行关联绑定;
name说明是为该类型实体下的哪个属性配置的,用该类型实体定义的属性名称进行关联绑定;
value说明该类型实体新实例的属性的初始化值,为空则为默认值,其中默认值在表6下对应类型实体的属性字段“defaultValue”已预定义;
summary为该类型实体属性的相关说明。
表2和表3只是类型主表中所有从表集合的一部分,通过类似的方法对其它从表进行参数信息配置,从而完善对该类型实体及其相关成员信息的整体关系映射与构建。
方法二:
通过给表配置类型实体的方法,如给employees表头配置employees类型实体,其中,若所有配置类型中,某一类型只配置一种实体,则别名“a”可省略,即匿名配置,反之,则必须全部声明别名。
Figure PCTCN2020095085-appb-000008
方法三:
通过给局部变量标记类型实体的方法
string s[identity.table a,role.dictionary b,relation.one c]=“abc”;
其中“[]”中代表的含义如下:
实例化类型为identity,实体名为table,别名是名为a的实例;
实例化类型为role,实体名为dictionary,别名是名为b的实例;
实例化类型为relation,实体名为one,别名是名为c的实例。
再将a、b、c分别配置给局部变量s,之后s可以获得table、dictionary和one的全部技能、构件等功能。部分访问语法如下:
1.调用a项下名为add的技能
s:identity a:.add(obj),若只有一个类型为identity的实体配置项,可简写为s:identity:.add(obj)。
2.访问a项下名为mID的构件
s:identity a:.mID,若只有一个类型为identity的实体配置项,可简写为s:identity:.mID.

Claims (5)

  1. 一种计算机编程语言新型的类型实例方法,包括:表1,表2,表3,方法一、方法二和方法三。
  2. 如权利要求1所述的新型的类型实例方法,其特征在于,对于实例表实例类型的方法,实例表的扩展名为“.new”,且表名要与类型定义表名相同,且对于类型定义表的所有成员,实例表必须配置完整的相关参数信息。
  3. 如权利要求1所述的新型的类型实例方法,其特征在于,对于实例表实例类型的方法,其中“to”字段指明该类型实体的实际目标配置类型。
  4. 如权利要求1所述的新型的类型实例方法,其特征在于,对于给目标表配置类型名称的方法,类型的配置可以作用于表级或字段级,且允许省略配置类型的别名。
  5. 如权利要求1所述的新型的类型实例方法,其特征在于,对于给本地变量标记类型实体的方法,允许同时存在多种不同类型的多个实体标记,且规定同一类型之间实体别名不允许重名,若一种类型只有一个类型实体标记,则允许省略别名。
PCT/CN2020/095085 2019-08-12 2020-06-09 计算机编程语言类型开新实例方法 WO2021027377A2 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910740216.4 2019-08-12
CN201910740216.4A CN112394910A (zh) 2019-08-12 2019-08-12 计算机编程语言类型开新实例方法

Publications (1)

Publication Number Publication Date
WO2021027377A2 true WO2021027377A2 (zh) 2021-02-18

Family

ID=74571260

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/095085 WO2021027377A2 (zh) 2019-08-12 2020-06-09 计算机编程语言类型开新实例方法

Country Status (2)

Country Link
CN (1) CN112394910A (zh)
WO (1) WO2021027377A2 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626095A (zh) * 2021-06-29 2021-11-09 欧电云信息科技(江苏)有限公司 配置中心的切换方法、切换系统、电子设备及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100088686A1 (en) * 2008-10-06 2010-04-08 Microsoft Corporation Programming language with extensible syntax
US10657323B2 (en) * 2015-09-30 2020-05-19 Obschestvo S Ogranichennoy Otvetstvennostyu “Intersoft” Method of preparing documents in markup languages
CN110083339A (zh) * 2018-01-26 2019-08-02 拜椰特(上海)软件技术有限公司 一种新型计算机编程语言

Also Published As

Publication number Publication date
CN112394910A (zh) 2021-02-23

Similar Documents

Publication Publication Date Title
CA2783451C (en) Method and system of adapting a data model to a user interface component
JP5026415B2 (ja) データセントリックワークフロー
JP4855656B2 (ja) 複数のオブジェクトをシリアライズする方法
CN106126540B (zh) 数据库访问系统及其访问方法
RU2734023C1 (ru) Способы для определения дескриптора (nsd) сетевой службы для сетевой службы (ns) и оркестратор (nfvo) виртуализации сетевых функций (nfv), использующий упомянутый дескриптор nsd
JP2011154707A (ja) リッチデータ型をサポートする拡張照会言語
US20070157167A1 (en) Service adaptation of the enterprise services framework
US10437564B1 (en) Object mapping and conversion system
US10997131B1 (en) Using a member attribute to perform a database operation on a computing device
WO2021027377A2 (zh) 计算机编程语言类型开新实例方法
CN108984236A (zh) 一种虚拟化管理平台的实现方法及设备
US20020035569A1 (en) Construction of virtual objects based on run-time type information
JP2007503051A5 (zh)
CN109359128A (zh) 在对象系统与关系系统之间实现映射的方法
JP7250009B2 (ja) クライアントエンドのプログラミングツールにより実行される方法
US8244778B1 (en) Customization of types using default aspects
WO2004023301A2 (en) Adaptable resource model
Kouraklis Introducing Delphi ORM: Object Relational Mapping Using TMS Aurelius
Aboulsamh et al. Towards a model-driven approach to information system evolution
Schwichtenberg et al. Additional Components
Grinberg et al. Modifying XML
Freeman et al. The Builder Pattern
Ribeiro et al. A stepwise approach to linking theories
Rogers et al. Complex Types
Kouraklis et al. In the Land of ORM

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20852302

Country of ref document: EP

Kind code of ref document: A2