当前位置:网站首页>AUTOSAR从入门到精通100讲(106)-域控制器中的SOA
AUTOSAR从入门到精通100讲(106)-域控制器中的SOA
2022-07-04 09:35:00 【格图洛书】
01原子服务
说到服务架构,关于原子服务的话题非常火,那么,什么是原子服务?原子服务有哪些特征?在系统层面如何拆分业务服务并且定义原子服务?原子服务对我们的软件又有什么影响呢?他和服务的关系又是什么呢?
我们先从服务的最小单元——原子服务讲起。原子服务的定义是:业务上最小粒度的一系列操作。原子服务的特点是松耦合,相对独立,且在可预见的范围内不会对其他原子服务造成影响。任何一项都划定了自己的业务范围;他们不用关心非自己业务范围是如何实现,对于调用其他原子服务,只需要考虑调用场景及返回结果如何处理即可。
举一个例子,先看看下面三句话:
现金存款是金融账户发生现金交易的收费服务行为。
信用卡还款是金融账户发生的,可能有银联参与的、信用卡的现金交易。
现金转账是金融账户与交易对手金融账户发生现金交易的收费服务行为。
这三句话中的,现金存款、信用卡还款和现金转账就是服务,现金交易就是原子服务,而金融账户、银联卡和信用卡则是服务的业务参与方,也是大家熟知的服务消费者和提供方。
通过这个例子,大家应该对原子服务已经有了一个基本的概念。那么,服务是由原子服务构成的,SOA是不是只是简单地由服务构成的呢?
边栏推荐
- How web pages interact with applets
- Exercise 7-3 store the numbers in the array in reverse order (20 points)
- Exercise 7-8 converting strings to decimal integers (15 points)
- 智慧路灯杆水库区安全监测应用
- Baidu R & D suffered Waterloo on three sides: I was stunned by the interviewer's set of combination punches on the spot
- Exercise 8-7 string sorting (20 points)
- Daughter love: frequency spectrum analysis of a piece of music
- MATLAB小技巧(25)竞争神经网络与SOM神经网络
- PHP personal album management system source code, realizes album classification and album grouping, as well as album image management. The database adopts Mysql to realize the login and registration f
- C # use gdi+ to add text to the picture and make the text adaptive to the rectangular area
猜你喜欢

Machine learning -- neural network (IV): BP neural network

法向量点云旋转

华为联机对战如何提升玩家匹配成功几率

Leetcode (Sword finger offer) - 35 Replication of complex linked list

libmysqlclient. so. 20: cannot open shared object file: No such file or directory

Write a mobile date selector component by yourself

Hands on deep learning (40) -- short and long term memory network (LSTM)

El Table Radio select and hide the select all box

C # use ffmpeg for audio transcoding

2022-2028 global seeder industry research and trend analysis report
随机推荐
Golang Modules
Launpad | 基礎知識
2022-2028 global elastic strain sensor industry research and trend analysis report
Exercise 9-5 address book sorting (20 points)
Go context 基本介绍
Logstack configuration details -- elasticstack (elk) work notes 020
Are there any principal guaranteed financial products in 2022?
`Example of mask ` tool use
Modules golang
2022-2028 global visual quality analyzer industry research and trend analysis report
mmclassification 标注文件生成
Les différents modèles imbriqués de listview et Pageview avec les conseils de flutter
Exercise 7-2 finding the maximum value and its subscript (20 points)
Exercise 8-10 output student grades (20 points)
Golang defer
Regular expression (I)
2022-2028 global industry research and trend analysis report on anterior segment and fundus OTC detectors
Golang Modules
PHP book borrowing management system, with complete functions, supports user foreground management and background management, and supports the latest version of PHP 7 x. Database mysql
IIS configure FTP website