WO2011012003A1 - Procédé et système de commande de service en fonction de logiciel d'application par composants de service - Google Patents

Procédé et système de commande de service en fonction de logiciel d'application par composants de service Download PDF

Info

Publication number
WO2011012003A1
WO2011012003A1 PCT/CN2010/072553 CN2010072553W WO2011012003A1 WO 2011012003 A1 WO2011012003 A1 WO 2011012003A1 CN 2010072553 W CN2010072553 W CN 2010072553W WO 2011012003 A1 WO2011012003 A1 WO 2011012003A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
data
buffer
database
service data
Prior art date
Application number
PCT/CN2010/072553
Other languages
English (en)
Chinese (zh)
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 WO2011012003A1 publication Critical patent/WO2011012003A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2308Concurrency control

Definitions

  • the present invention relates to the field of software engineering, and more particularly to a method and system for service control based on application software of business componentization.
  • the basic implementation process of the method is to determine a business process topology corresponding to the function according to the function to be implemented by the application software, and determine a service component and each service component required by the current business process according to the service process topology. After the service components required by the current business process are acquired, the service components are assembled according to the connection relationship to form an application software corresponding to the to-be-implemented function.
  • the business components have business meanings, which can directly express business concepts and meet the business needs of the application software.
  • the business components constituting the application software are independent in function and have no direct business connection.
  • the static business logic relationship between the business components of the application software is determined by the business process topology.
  • the timing relationship between the business components needs to be scheduled by the scheduling capability system.
  • the inventors found through research that since the business components constituting the application software are functionally independent, their access to the database is random, and multiple business components frequently access the same database concurrently during the execution of the business, so that Causes multiple business components running in parallel to compete for the same resource, which can easily cause database overload or even deadlock.
  • the purpose of the embodiments of the present invention is to provide a service control method and system based on service componentization, which fundamentally solves the problem of database overload and even deadlock.
  • the embodiment of the present invention provides the following technical solutions:
  • a method for business control based on business componentized application software comprising:
  • the channel refers to an external system associated with the application software on the business function, and is used to initiate a service function request to the application software.
  • the respective service components corresponding to the service perform the related service functions by using the first service data and the second service data stored in the data buffer
  • the content in the data buffer is changed according to the action sequence table.
  • the first business data and the second business data are fed back to the channel and written to the database.
  • the foregoing method further includes:
  • the data buffer is released for other services. use.
  • the data buffer includes a sub-buffer, a buffer element array, and a data element linked list, where the sub-buffer records the service function identifier, the number of buffer elements occupied by the service function, and the service. The position of the buffer element occupied by the function in the buffer element array;
  • the buffer element array records indication information of an access address of each data element linked list
  • the data element linked list records the first service data and the second service data.
  • each service component corresponding to the service performs related service functions by using the first service data and the second service data stored in the data buffer, including:
  • Each service component corresponding to the service performs a read and/or write operation on the first service data and the second service data stored in the data buffer through an interface of the data buffer.
  • obtaining the second service data from the database according to the action sequence table is specifically: acquiring the second service data from the database at one time according to the action sequence table.
  • the changed second service data is written into the database according to the action sequence table, which is:
  • the changed second service data is written to the database at one time according to the action sequence table.
  • a system for business control based on business componentized application software comprising: a first acquiring unit, configured to acquire a data buffer according to the service connection request sent by the channel, where the service connection request carries a service function identifier;
  • a second acquiring unit configured to acquire, according to the service function identifier, an action sequence table corresponding to the service; the third acquiring unit, configured to acquire the first service data from the channel according to the action sequence table, and obtain the second service from the database Data
  • a first writing unit configured to store the first service data and the second service data into the data buffer
  • a second writing unit after the respective service components corresponding to the service perform related services by using the first service data and the second service data stored in the data buffer, the first service data and the second service that are to be changed Data is fed back to the channel and written to the database.
  • the above system further includes:
  • a releasing unit configured to: after the first service data and the second service data that change content in the data buffer are fed back to the channel according to the action sequence table, and are written into the database, release the first acquiring unit
  • the data buffer is obtained for use by other businesses.
  • the data buffer includes a sub-buffer, a buffer element array, and a data element linked list, where the sub-buffer records the service function identifier, the number of buffer elements occupied by the service function, and the service. The position of the buffer element occupied by the function in the buffer element array;
  • the buffer element array records indication information of an access address of each data element linked list
  • the data element linked list records the first service data and the second service data.
  • the action sequence table is obtained according to the service function identifier, and the service data required to execute the service is stored in the acquired data buffer according to the action sequence table, and the service component corresponding to the service
  • the data in the data buffer is directly operated.
  • the changed business data is written into the database or fed back to the channel, thereby fundamentally avoiding the business component to the database. Direct access to solve database overload and even deadlock issues.
  • FIG. 1 is a flow chart of a method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a data buffer provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a scenario according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method according to another embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a system according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a method according to an embodiment of the present invention, including:
  • the channel refers to an external system associated with the current application software on the business function, and is used to initiate a service connection request to the application software.
  • the channel for launching the function of the personal deposit business may be the operator who refuses to face the bank front desk, or the bank ATM machine, or the online banking system.
  • the structure of the data buffer can be seen in Figure 2.
  • the data buffer includes a sub-buffer, a buffer meta-array, and a data element linked list.
  • the sub-buffer includes a sub-buffer name, a number of buffer elements included in the sub-buffer, and a position indication of each buffer element in the buffer element array.
  • the buffer element array records indication information of the access addresses of the respective data element linked lists; the data element linked list records the first service data and the second service data.
  • the general sub-buffer name is the same as the service function identifier stored in the sub-buffer, and is used to indicate the service function recorded in the sub-buffer.
  • the function of the service function identifier is used to distinguish different service functions, which can be the service function number or the service function name.
  • the business function numbers are used to identify different business functions.
  • the personal account withdrawal service in the financial industry is numbered 1131 as an example to illustrate the various parts of the data buffer area.
  • the name of sub-buffer 1 is 1131, which indicates that the sub-buffer records the business function with service function number 1131.
  • the number of buffer elements is 2, indicating that the service function corresponds to two buffer elements in the buffer element array of the buffer, and 1 and 10 indicate that the first access address of the two buffer elements is located by The first bit of the buffer meta array is pointed to, and the other access address is pointed to by the 10th bit in the buffer meta array.
  • S102 Obtain an action sequence table corresponding to the service function according to the service function identifier.
  • Different service function identifiers correspond to different business functions, and each business function has a corresponding action sequence table.
  • the action sequence table is pre-stored in the local system and can be found in the local system through the service function identifier.
  • the action sequence table contains the action steps performed by a business function at runtime and the program interface corresponding to each step. Therefore, according to the action sequence table, external data and internal data required to complete the current service function can be obtained.
  • the action steps specified in the action sequence table corresponding to the service function include: calling 1131 to read the data packet, calling 1131 to read the database, calling the 1131 business program, and calling 1131 to write the data packet. , call 1131 to write the database.
  • the first service data and the second service data are respectively used to identify data related to the implementation of the current business function obtained from the channel and the database.
  • the personal account withdrawal service with service function number 1131 is taken as an example.
  • the step obtains the first service data from the channel, including the account number, password, amount, and the like.
  • the second service data is obtained from the local database by executing the "call 1131 read database" step in the action sequence table, including account number, account name, account balance, currency, password, etc.
  • different business functions The steps corresponding to the identification involve different business data.
  • S104 The first service data and the second service data are stored in the data buffer.
  • Each service component corresponding to the service function performs related service functions by using the first service data and the second service data stored in the data buffer.
  • the first service data and the second service data whose contents in the buffer are changed are fed back to the channel according to the action sequence table, and are written into the database.
  • the first service data or the second service data may be changed, so the buffer needs to be
  • the first service data and the second service data whose contents change in the area are fed back to the channel and written into the database, so as to ensure the consistency of the channel data and the synchronization of the database data.
  • the personal account withdrawal service with service function number 1131 is taken as an example.
  • the account balance of the account will change.
  • the "call 1131 write data packet" step in the action sequence table is executed, and the changed account balance information is fed back to the channel;
  • the "call 1131 write database” step the account balance information is written into the database according to the account number.
  • the method provided by the embodiment of the present invention further includes:
  • the action sequence table is obtained according to the service function identifier, and the service data required to execute the service function is stored in the acquired data buffer according to the action sequence table, and the service function corresponds to The business component directly operates the data in the data buffer when performing the business function.
  • the changed business data is written into the database or fed back to the channel, thereby fundamentally avoiding each The direct access of the business components to the database solves the problem of database overload and even deadlock.
  • the method provided by the embodiment of the present invention stores the required service data in the data buffer before the execution of the service function, and writes the changed service data into the database or returns to the channel after the execution of the service function.
  • Each service component related to the function directly operates on the data buffer, thereby avoiding frequent interaction processes between various service components and the database, thereby further improving the efficiency of business processing.
  • FIG. 3 is a schematic diagram of a scenario applied by an embodiment of the present invention, where the service support system 301 is an execution entity of a method provided by an embodiment of the present invention, and the service function 302 is a service function entity of a current application software, where multiple Business component.
  • Database 303 is an internal data storage management system used by current application software.
  • the channel 304 is an external system in which the current application software is associated with the service function. In the personal account withdrawal service provided by the embodiment of the present invention, the channel may be an ATM automatic teller machine.
  • the channel, the database, and the service function program respectively provide access interfaces, respectively, channel interface 304-I/O, database interface 303-I/O And business function program interface 302-I/O, these three interfaces are conceptually consistent with the application programming interface (API) in the software engineering field.
  • API application programming interface
  • the business support system passes Interfaces with these entities enable access and control of entities.
  • the method provided by the embodiment of the present invention includes:
  • the service support system obtains a data buffer according to the personal account withdrawal service connection request sent by the channel, where the service connection request carries the service function number 1131.
  • the service support system is always in the listening connection state.
  • the channel initiates a service function, it initiates a service connection request to the runtime support system through the channel interface, and the runtime supports the system to respond to the connection and start working.
  • the method includes obtaining a blank, available data buffer according to the service connection request.
  • the service support system obtains an action sequence table corresponding to the service function according to the service function number 1131.
  • the service support system After the service support system calls the system level initialization program and completes some basic system initialization functions, it searches according to the service function identifier and finds its corresponding action sequence table.
  • the “call 1131 read data packet” step in the action support system execution action sequence table obtains the first service data from the channel, and executes “call 1131 to read the database in the action sequence table, and the step obtains the second service data from the local database. .
  • the service support system acquires, according to the action sequence table, the first service data required by the current service function, such as an account number, a password, and an amount, from a channel (such as an ATM); from the database connected to the current service support system.
  • the related second service data required for the current business function including account balance, currency, password, and the like.
  • the service support system stores the first service data and the second service data in the data buffer.
  • the specific structure of the data buffer is shown in Figure 2.
  • the first service data includes: Account number: 1234; Withdrawal amount: 1000.00 and password.
  • the second business data includes: Balance: 16050.00; Currency: Renminbi and account name: Zhang Chunli.
  • a service function may correspond to multiple sub-buffers, but the structure of each sub-buffer is the same regardless of the number of sub-buffers included in one service function. . S405.
  • the service support system schedules and executes a personal account withdrawal service program, where each service component of the service program performs related business functions by using the first service data and the second service data stored in the data buffer.
  • the service support system executes the "call 1131 write data packet" step in the action sequence table to feed back the account balance to the channel; and by executing the "call 1131 write database” step in the action sequence table, the account balance information is written according to the account number. database.
  • the account balance is changed from 16050.00 to 15050.00.
  • the second business data changes, and the business data needs to be written into the database. Since the second service data has changed, in order to keep the data in sync, the changed second service data needs to be fed back to the channel (ATM automatic teller machine) for viewing by the operator or the user.
  • ATM automatic teller machine the channel for viewing by the operator or the user.
  • the service support system determines the changed service data according to the execution result of the specific service function, and feeds back to the channel and/or writes to the database.
  • the business support system releases the data buffer used by the personal account withdrawal service.
  • the buffer of the system is limited.
  • the data buffer used by the service function needs to be released after the execution of a service function, so that other service functions can be used for application.
  • the action sequence table is obtained according to the service function identifier, and the service data required to execute the service function is stored in the acquired data buffer according to the action sequence table, and the service function corresponds to The business component directly operates the data in the data buffer when performing the business function.
  • the changed business data is written into the database or fed back to the channel, thereby fundamentally avoiding each The direct access of the business components to the database solves the problem of database overload and even deadlock.
  • an embodiment of the present invention further provides a system for performing service control based on service componentized application software, including:
  • the first obtaining unit 501 is configured to obtain a data buffer according to the service connection request sent by the channel, where the service connection request carries a service function identifier;
  • the data buffer includes a sub-buffer, a buffer element array, and a data element linked list, wherein the sub-buffer records the service function identifier, the number of buffer elements occupied, and the buffer element it occupies in a location in the buffer element array;
  • the buffer element array records indication information of an access address of each data element linked list;
  • the data element linked list records the first service data and the second service data.
  • the second obtaining unit 502 is configured to obtain an action sequence table corresponding to the service function according to the service function identifier;
  • a third obtaining unit 503, configured to acquire first service data from a channel according to the action sequence table, and obtain second service data from a database;
  • a first writing unit 504 configured to store the first service data and the second service data into the data buffer
  • the second writing unit 505 after the respective service components corresponding to the service function perform the related service functions by using the first service data and the second service data stored in the data buffer, the changed first service data and The second business data is fed back to the channel and written to the database.
  • the system provided by the embodiment of the present invention further includes: a release unit, configured to release the data buffer acquired by the first acquiring unit, for other service functions. use.
  • the service control system may be a service support system in the scenario shown in FIG. 3, and the interaction between the service control system and the peripheral device entity may be described in the method corresponding to FIG. 4.
  • the action sequence table is obtained according to the service function identifier, and the service data required to execute the service function is stored in the acquired data buffer according to the action sequence table, and the service function corresponds to The business component directly operates the data in the data buffer when performing the business function.
  • the changed business data is written into the database or fed back to the channel, thereby fundamentally avoiding each The direct access of the business components to the database solves the problem of database overload and even deadlock.
  • the method provided by the embodiment of the present invention stores the required service data in the data buffer before the execution of the service function, and writes the changed service data into the database or returns to the channel after the execution of the service function.
  • Each service component related to the function directly operates on the data buffer, thereby avoiding a frequent interaction process between each service component and the database, thereby further improving the efficiency of business function processing.
  • the invention may be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. You can also practice this in a distributed computing environment.
  • Invention in these distributed computing environments, tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

L'invention porte sur un procédé et un système de commande d’un service en fonction d'un logiciel d'application par composants de service. Le procédé comporte : l'acquisition d'un tampon de données conformément à une requête de connexion de service transmise par un canal, la requête de connexion de service transportant un identifiant de fonction de service; l'acquisition d'une liste de séquences d'actions correspondant au service conformément à l'identifiant de fonction de service; l'acquisition des premières données de service à partir du canal conformément à la liste de séquences d'actions et l'acquisition des secondes données de service à partir d'une base de données; le stockage des premières données de service et des secondes données de service dans le tampon de données; après que tous les composants de service correspondant au service ont exécuté les services pertinents, le renvoi au canal des premières données de service et des secondes données de service ayant des contenus modifiés dans le tampon de données, et l'écriture de celles-ci dans la base de données. Grâce à ces solutions, il est possible d'empêcher tous les composants de service dans le logiciel d'application d'accéder directement à la base de données, résolvant ainsi le problème de surcharge de la base de données et même d'étreinte fatale.
PCT/CN2010/072553 2009-07-28 2010-05-10 Procédé et système de commande de service en fonction de logiciel d'application par composants de service WO2011012003A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910161673.4 2009-07-28
CN2009101616734A CN101625699B (zh) 2009-07-28 2009-07-28 基于业务组件化的应用软件进行业务控制的方法和系统

Publications (1)

Publication Number Publication Date
WO2011012003A1 true WO2011012003A1 (fr) 2011-02-03

Family

ID=41521548

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072553 WO2011012003A1 (fr) 2009-07-28 2010-05-10 Procédé et système de commande de service en fonction de logiciel d'application par composants de service

Country Status (2)

Country Link
CN (1) CN101625699B (fr)
WO (1) WO2011012003A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11911480B2 (en) 2015-01-21 2024-02-27 Mochida Pharmaceutical Co., Ltd. Self-emulsifying composition of ω-3 fatty acid

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625699B (zh) * 2009-07-28 2013-01-09 大连新中连软件集团有限公司 基于业务组件化的应用软件进行业务控制的方法和系统
CN104639280B (zh) * 2013-11-11 2019-09-13 深圳市中兴微电子技术有限公司 一种传输多路时分业务的方法及装置
CN106357791A (zh) * 2016-09-30 2017-01-25 华为技术有限公司 业务处理方法、装置及系统
CN106776753B (zh) * 2016-11-14 2020-08-21 平安科技(深圳)有限公司 业务数据处理方法及装置
TWI725110B (zh) * 2017-01-19 2021-04-21 香港商阿里巴巴集團服務有限公司 資料庫操作方法及裝置
CN107423358B (zh) 2017-06-13 2020-08-07 阿里巴巴集团控股有限公司 一种数据存储及调用方法及装置
CN109901933B (zh) * 2019-01-18 2022-02-25 口碑(上海)信息技术有限公司 业务系统的操作方法及装置、存储介质、电子装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003023656A1 (fr) * 2001-09-13 2003-03-20 Jda Software Group, Inc Architecture d'interface de base de donnees a equilibre de charge temporel dans un environnement en temps reel
CN101127041A (zh) * 2007-08-28 2008-02-20 激动集团股份有限公司 一种业务规则基础数据的缓冲方法
CN101216855A (zh) * 2008-01-16 2008-07-09 中兴通讯股份有限公司 消息类业务累计数据缓存方法及系统
US20090187534A1 (en) * 2008-01-21 2009-07-23 International Business Machines Corporation Transaction prediction modeling method
CN101625699A (zh) * 2009-07-28 2010-01-13 大连新中连软件集团有限公司 基于业务组件化的应用软件进行业务控制的方法和系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549164A (zh) * 2003-05-16 2004-11-24 北京法海信息咨询有限公司 数据库系统及其数据存取方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003023656A1 (fr) * 2001-09-13 2003-03-20 Jda Software Group, Inc Architecture d'interface de base de donnees a equilibre de charge temporel dans un environnement en temps reel
CN101127041A (zh) * 2007-08-28 2008-02-20 激动集团股份有限公司 一种业务规则基础数据的缓冲方法
CN101216855A (zh) * 2008-01-16 2008-07-09 中兴通讯股份有限公司 消息类业务累计数据缓存方法及系统
US20090187534A1 (en) * 2008-01-21 2009-07-23 International Business Machines Corporation Transaction prediction modeling method
CN101625699A (zh) * 2009-07-28 2010-01-13 大连新中连软件集团有限公司 基于业务组件化的应用软件进行业务控制的方法和系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11911480B2 (en) 2015-01-21 2024-02-27 Mochida Pharmaceutical Co., Ltd. Self-emulsifying composition of ω-3 fatty acid

Also Published As

Publication number Publication date
CN101625699B (zh) 2013-01-09
CN101625699A (zh) 2010-01-13

Similar Documents

Publication Publication Date Title
WO2011012003A1 (fr) Procédé et système de commande de service en fonction de logiciel d'application par composants de service
US11132310B2 (en) SSD architecture for FPGA based acceleration
CN101996098B (zh) 管理消息队列
WO2015169145A1 (fr) Procédé et dispositif de gestion de mémoire
TWI309005B (en) Stack caching systems and methods
CN108763099A (zh) 系统的启动方法、装置、电子设备和存储介质
CN106161537A (zh) 远程过程调用的处理方法、装置、系统及电子设备
WO2014090008A1 (fr) Procédé de traitement de tâche et machine virtuelle
CN104731635B (zh) 一种虚拟机访问控制方法,及虚拟机访问控制系统
US8806168B2 (en) Producer-consumer data transfer using piecewise circular queue
US9069592B2 (en) Generic transport layer mechanism for firmware communication
WO2016015583A1 (fr) Procédé et dispositif de gestion de mémoire et contrôleur de mémoire
CN101576912A (zh) 实现分布式文件系统异步输入输出接口的系统及读写方法
CN112306669A (zh) 一种基于多核系统的任务处理方法及装置
CN103986585A (zh) 报文预处理方法及其装置
CN108958903B (zh) 嵌入式多核中央处理器任务调度方法与装置
CN101196851B (zh) 闪存的数据管理方法
JP4734348B2 (ja) 共有メモリ型マルチプロセッサにおける非同期遠隔手続き呼び出し方法、非同期遠隔手続き呼び出しプログラムおよび記録媒体
JP2013015990A (ja) 情報処理システム、情報処理プログラム、情報処理方法
JP4870790B2 (ja) クラスタリングシステム
JP6059360B2 (ja) バッファ処理方法及び装置
US20100250507A1 (en) Enumeration of a concurrent data structure
JP2010049303A (ja) メモリコントローラ、不揮発性記憶装置、アクセス装置、及び不揮発性記憶システム
JP4286481B2 (ja) クラスタリングシステム
CN104699411A (zh) 工作流引擎过程实例缓存提升性能的一种技术方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10803836

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10803836

Country of ref document: EP

Kind code of ref document: A1