Professional Documents
Culture Documents
ttmkhoa@iuh.edu.vn 2
3
ttmkhoa@iuh.edu.vn
Integrated Website Development
Integrated IoT Smart Home System
ttmkhoa@iuh.edu.vn 4
ttmkhoa@iuh.edu.vn 5
Phần cứng
Hệ thống tích hợp
(Integrated System)
Phần mềm
ttmkhoa@iuh.edu.vn 6
Tích hợp phần cứng
:: Giải pháp kết nối
• Mạng (LAN/WAN)
• Hệ thống tính toán, lưu trữ
• Các phương án bảo mật
ttmkhoa@iuh.edu.vn 7
Tích hợp phần cứng
:: Giải pháp kết nối
• IoT vs M2M
• Wearables
• Smart Home
• Industrial IoT
• Energy
• Smart Agriculture
• Transportation
• Smart Cities
ttmkhoa@iuh.edu.vn 8
Tích hợp phần mềm
:: Microservices (Kiến trúc các dịch vụ nhỏ)
Ý tưởng:
Chia nhỏ ứng dụng lớn ra thành các dịch vụ nhỏ kết nối với
nhau
ttmkhoa@iuh.edu.vn 9
ttmkhoa@iuh.edu.vn 10
ttmkhoa@iuh.edu.vn 11
ttmkhoa@iuh.edu.vn 12
Grap, Uber
- Giao diện người dùng
- Tốc độ
Hành khách
- Tương thích
Phần
- Chức năng
mềm
Notification Server
Giao diện (UI services)
Cách gọi:
Tài xế - REST (tập lệnh gửi qua HTTP để truy vấn, thao tác dữ liệu. Kiểu dữ liệu
XML, JSON, JSONb) 🔑
- RPC (remote procedure call -lệnh gọi từ xa. Kiểu dữ liệu binary, Thrift,
Protobuf, Avro)
ttmkhoa@iuh.edu.vn
- SOAP (Simple Object Access Protocol) 🔑 13
- Đăng kí thành viên khi chưa có tài khoản
- Đăng nhập khi đã là thành viên
- Xem thông tin cá nhân
Phần - Xem Kết quả học tập
Xem Thời khóa biểu học tập
mềm
-
- Cập nhật thông tin cá nhân
- Reset mật khẩu
- Xem Thông tin về:
+Thời tiết
+Tỷ giá
+Tin tức
- Sinh mã QR theo text có sẵn
- Tools cho quản trị viên
+Thêm, sửa, xóa user
+Tìm kiếm user theo username và theo địa chỉ email
- Chatbox
ttmkhoa@iuh.edu.vn 14
Hk1_2023-2024
(30LT+30TH)
ttmkhoa@iuh.edu.vn 15
Overview of inter system communication
Integration models
Overview
Fundamental Challenges of Integration
ttmkhoa@iuh.edu.vn 16
Introduction to Integrative Programming &
Technologies
Definition:
ttmkhoa@iuh.edu.vn 17
• Integrative programming:
ttmkhoa@iuh.edu.vn 18
• Integrative solutions:
ttmkhoa@iuh.edu.vn 19
• Application integration:
ttmkhoa@iuh.edu.vn 20
→
ttmkhoa@iuh.edu.vn 21
1. Overview of inter system communication
1. System integration
3. Incremental engineering
4. Modification
ttmkhoa@iuh.edu.vn 22
• System integration
ttmkhoa@iuh.edu.vn 23
• Functional integration or technology integration
Given a software system, this may have been functioning properly in the
field for a significant period. The problem is to integrate a new function or
a new technology within the system. The integrated system should provide
the new functionality or use the new technology, while preserving the
original system functionality.
ttmkhoa@iuh.edu.vn 24
• Incremental engineering
ttmkhoa@iuh.edu.vn 25
• Modification
ttmkhoa@iuh.edu.vn 26
2. The need for integration
• Technology change affects all layers; legacy does not go away so easily
• The architecture of the organization information system depends on
constraints related to the technology but also to the organization.
• Within an enterprise, each department may have its own IT infrastructure,
systems and databases which are maintained independently. Integrating
them may bring additional value to the company.
• Integration assists in formation of Zero Latency organization - when all
functions within the organization work with the same up -to-date
information, latency between applications is eliminated / reduced.
• Updating and integrating of applications is possible whenever required. New
applications can be created by integrating real time data from different
parts of the enterprise
ttmkhoa@iuh.edu.vn 27
3. Integration models
1. Presentation integration
2. Data integration
3. Function integration
ttmkhoa@iuh.edu.vn 28
• Presentation integration model:
ttmkhoa@iuh.edu.vn 29
• Data integration model:
ttmkhoa@iuh.edu.vn 30
• Functional integration model:
ttmkhoa@iuh.edu.vn 31
4. Fundamental Challenges of Integration
1. Network unreliability
2. Distributed systems
3. Slow networks
4. Heterogeneity
5. Modification complexity
ttmkhoa@iuh.edu.vn 32
• Network is unreliable.
ttmkhoa@iuh.edu.vn 33
• Distributed
ttmkhoa@iuh.edu.vn 34
• Networks are slow
ttmkhoa@iuh.edu.vn 35
• Any two applications are different.
ttmkhoa@iuh.edu.vn 36
• Change is inevitable.
ttmkhoa@iuh.edu.vn 37
5. Integrative Technologies /methods for
integration
1. File Transfer
2. Shared Database
4. Messaging
ttmkhoa@iuh.edu.vn 38
File Transfer— one application writes
a file that another later reads. The
applications need to agree on the
filename and location, the format of
the file, the timing of when it will be
written and read, and who will delete
the file.
ttmkhoa@iuh.edu.vn 39
Shared Database—multiple
applications share the same database
schema, located in a single physical
database. Because there is no
duplicate data storage, no data has
to be transferred from one
application to the other
ttmkhoa@iuh.edu.vn 40
Remote Procedure Invocation — one
application exposes some of its
functionality so that it can be
accessed remotely by other
applications as a remote procedure.
The communication occurs real -time
and synchronously
ttmkhoa@iuh.edu.vn 41
Messaging —one application publishes a message to a common message
channel. Other applications can read the message from the channel at a
later time. The applications must agree on a channel as well as the format
of the message. The communication is asynchronous. All of the four
approaches solve essentially the same problem in integration; each style
has its distinct advantages and disadvantages. In fact, applications may
integrate using multiple styles such that each point of integration takes
advantage of the style that suits it best.
ttmkhoa@iuh.edu.vn 42
Messaging—
ttmkhoa@iuh.edu.vn 43
Messaging—
ttmkhoa@iuh.edu.vn 44
Messaging—
ttmkhoa@iuh.edu.vn 45
Messaging—
ttmkhoa@iuh.edu.vn 46
6. Middleware and Integrative architectures
1. Middleware
2. Integrative architectures
• DCOM
ttmkhoa@iuh.edu.vn 47
Middleware is a software
programming running at the top of
operating system and below the
applications. It connects applications
or software components. Middleware
provides a standard high-level
interface to the application
developers and integrators, so that
application can easily interoperate.
Interoperability is the ability of two
or more components or systems to
exchange information.
ttmkhoa@iuh.edu.vn 48
There are three types of middleware. These are, transaction -oriented,
object-oriented and message-oriented middleware.
ttmkhoa@iuh.edu.vn 49
Integrative architectures
ttmkhoa@iuh.edu.vn 50
Common Object Request Broker
Architecture
ttmkhoa@iuh.edu.vn 51
Distributed component object model- extends the COM to support
communication between objects. DCOM is a sof tware architecture or
remote protocol that def ines a binar y standard for component
interoperability.
ttmkhoa@iuh.edu.vn 52
Review Questions
1) Define integrative programming?
3) Describe interoperability?
8) What is heterogeneity?