Professional Documents
Culture Documents
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees
or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website: https://e.huawei.com/
HUAWEI CLOUD Enterprise Smart Application Platform Page 1
Contents
This course describes the HUAWEI CLOUD Enterprise Smart (EI), including the EI products,
services, and solutions. In particular, this course focuses on the Huawei ModelArts platform.
Inference based on device-cloud synergy, combining low computing latency with high
precision
Data analytics at the device side, reducing the cloud-based storage costs
One-stop skill development, shortening the development period
Extensive skills in the Skill Market, enabling online training and one-click deployment
License plate & model recognition: Recognizes license plates and vehicle models at
entrances and exits of campus and garage, implementing permission authentication for
specified license plates and vehicle models.
Safety helmet detection: Detects workers who do not wear safety helmets in the system and
generates an alarm on specified devices.
Follow-up restoration: Performs collaborative analysis on a face or vehicle recognized by
multiple cameras to restore the moving path of a pedestrian or vehicle.
Face search: Recognizes specified faces in the campus surveillance system, such as faces
of blacklisted personnel.
Abnormal sound detection: Reports an alarm when detecting abnormal sound, such as glass
breakage and explosion.
Intrusion detection: Generates an alarm when a person is detected in a specified
surveillance area.
Smart shopping mall surveillance
Devices used in shopping malls include HiLens Kit, AI edge stations, and commercial
cameras. HiLens Kit can be applied to small shopping malls to support 4- to 5-channel video
analytics. The cameras are small and can be deployed indoors. The specific application
scenarios are as follows:
Foot traffic statistics: Uses videos inside the shopping mall to collect statistics on foot traffic
at entrances and exits and analyze foot traffic changes in different periods of time.
VIP identification: Accurately identifies VIP customers using facial recognition to help
develop precision marketing strategies.
Statistics on the number of new and old customers: Leverages the facial recognition
technology to identify persons at the entrances and exits and collects statistics on the
number of new and old customers.
Crowd density heatmap: Analyzes the crowd density heatmap to know the crowd density
and the popularity of commodities.
Smart in-vehicle device
The smart in-vehicle device based on the Android system intelligently analyzes the
conditions inside and outside a vehicle in real time. It is applicable to driving behavior
detection and overseeing of shuttle buses, touring buses, and dangerous cargo carriers. The
specific application scenarios are as follows:
Facial recognition: Authenticates a driver's permission by checking whether the driver's face
match that of the vehicle owner stored in the facial image library.
Fatigued driving: Overseeings the driver's physical conditions in real time and intelligently
generates an alarm when the driver is fatigued.
Posture analysis: Detects the driver's postures that may distract driving, such as making a
call, drinking water, looking around, and smoking.
Detection of vehicles and pedestrians: Detects vehicles and pedestrians around a vehicle.
This function can be used to detect pedestrians in blind zones.
shuttle bus route planning, enterprise knowledge graph, risk control, recommendation, public
opinion, and anti-fraud.
Massive and complex relational data, such as social relationships, transaction records, and
transportation networks, is naturally the graph-structure data mentioned above. GES is a
service that stores, queries, and analyzes graph-structure data based on various
relationships. GES plays an important role in scenarios such as social apps, enterprise
relationship analysis, logistics distribution, shuttle bus route planning, enterprise knowledge
graph, and risk control.
In terms of individual analysis, GES can perform user profile analysis on an individual based
on the number and characteristics of neighbors of the individual, or identify opinion leaders
based on the node characteristics and importance. The influencing factors can be the
quantity or quality. On the one hand, when a user has more followers, the user is considered
more important. On the other hand, the quality transfer factor based on the transfer
characteristics in graphs is also an influencing factor. The quality of followers is transferred
to the followee. When the followers are high-quality, the quality of the followee is improved
greatly.
In terms of group analysis, GES adopts the label propagation algorithm and community
detection algorithm to categorize nodes with similar characteristics. This function can be
applied to node classification scenarios, such as friend/group recommendation and user
grouping. For example, if two persons in a social circle have a same friend, they may
become friends in the future. A larger number of mutual friends indicates a stronger
relationship between two persons. Therefore, friend recommendation is based on the
number of mutual friends.
In terms of link analysis, GES uses the link analysis algorithm and relationship prediction
algorithm to predict and identify hot topics and highlights, as shown in Figure 8-8.
Ease of use: The GES provides a wizard-based GUI and is compatible with Gremlin to
facilitate graph analysis.
GES provides the following functions:
Various domain-specific algorithms: Supports PageRank, k-core, shortest path, label
propagation, triangle counting, and association prediction.
Visualized chart analysis: Provides a wizard-based exploration environment to visualize
query results.
Diversified APIs: Provides APIs for graph query, metrics statistics, Gremlin query, graph
algorithms, graph management, and backup management.
Compatibility with open source ecosystems: Compatible with Apache TinkerPop Gremlin
3.3.0.
Graph management: Supports functions such as overview, graph management, graph
backup, and metadata management.
Specifically, OCR can be divided into the following types: general, card, receipt, domain, and
custom OCR.
General OCR automatically recognizes characters and digits on an image in any format and
layout, such as table, document, and online image, quickly converting paper documents into
e-documents.
Commercial loans: Rapidly extracts key information on motor vehicle sales invoices and
contracts, accelerating vehicle loan handling.
Medical insurance: Automatically recognizes and digitally inputs key information on
medical invoices, such as medicine details, age, and gender, and combines with ID card
OCR and bank card OCR to quickly handle insurance claims.
Domain OCR extracts structured information from images of logistics waybills and medical
forms, facilitating industry automation.
Domain OCR applies to the following scenarios:
Automatic express waybill filling: Recognizes contact information in screenshots and
generates express waybills automatically, sparing manual information input.
Medical insurance: Automatically recognizes and digitally inputs key information on
medical invoices, such as medicine details, age, and gender, and combines with ID card
OCR and bank card OCR to quickly handle insurance claims.
Custom OCR allows you to tailor character recognition to your specific needs. You can
customize templates to specify key fields to be recognized in images.
Certificate recognition: Customizes character recognition and automated information
input templates released by other vendors.
Form recognition: Customizes character recognition and automated information input
templates released by other vendors.
8.2 ModelArts
ModelArts is a one-stop development platform for AI developers. With data pre-processing,
semi-automatic data labeling, large-scale distributed training, automatic modeling, and on-
demand model deployment on the device, edge, and cloud, ModelArts helps AI developers
build models quickly and manage the lifecycle of AI development.
The one-stop platform indicates that ModelArts provides one-stop data processing, model
development, training, management, and deployment. Technically, the underlying layer of
ModelArts supports various heterogeneous computing resources. Developers can flexibly
select and use the resources independent of the underlying technologies. In addition,
ModelArts supports mainstream open source AI development frameworks, such as
TensorFlow and MXNet, and allows developers to use self-developed algorithm frameworks.
ModelArts aims to simplify AI development. It provides convenient and easy-to-use
processes for AI developers of different levels. For example, service developers can use
ExeML to quickly build AI applications without modeling or coding skills. AI beginners can
use preset algorithms to build AI applications without model development. AI engineers are
provided with multiple development environments, operation processes, and operation
modes to facilitate code extension and quickly build models and applications.
ModelArts supports AI model deployment for edge, online, and batch inference.
ModelArts accelerates AI development using AI technologies, such as automatic learning. It
provides wizard-based UI for adaptive training.
Full-lifecycle management: ModelArts supports the visualized management of the entire
development lifecycle, resumes training at breakpoints, and compares training results.
Resource sharing: AI resources can be shared within enterprises for higher efficiency.
ModelArts provides built-in algorithms based on mainstream engines for AI beginners with
certain AI development capabilities. You can directly use the built-in algorithms to train
existing data and quickly deploy the data as a service without model development. The built-
in algorithms are applicable to scenarios such as object classification, object location, and
image classification.
This section provides an example of flower image classification to help you quickly get
started with the process of building a model using a built-in algorithm. In this example, you
label the existing image data of the built-in flower image dataset, use the built-in algorithm
ResNet_v1_50 to train the data to obtain an available model, and deploy the model as a
real-time service. After the deployment is completed, you can use the real-time service to
identify the flower types contained in an input image.
ModelArts provides a one-stop platform that manages the full-lifecycle AI development for AI
engineers capable of code writing and debugging. AI engineers can complete the entire AI
development process from data preparation to model development, training, and
deployment. ModelArts is compatible with mainstream engines and user habits, and
provides the Huawei-developed MoXing deep learning framework to improve algorithm
development efficiency and accelerate training.
This section provides an example of using MXNet and Notebook to develop a handwritten
digit image recognition application, helping AI engineers quickly streamline the AI
development process of ModelArts.
MNIST is a dataset containing handwritten digits, and is often used as an introductory
example of deep learning. In this example, the model training script (provided by ModelArts
by default) for the MNIST dataset is compiled using the MXNet native APIs. You can
complete model training in ModelArts and deploy the model as a real-time service. After the
deployment is completed, you can use the real-time service to identify the digits contained in
an input image.
them to the computer or server, which is a time-consuming process. To address this pain
point, HUAWEI CLOUD provides the batch OCR solution that allows financial personnel to
use only one scanner and one PC to scan invoices in batches to generate color images and
automatically call HUAWEI CLOUD OCR services in batches. This solution helps financial
personnel quickly extract invoice information and visualize and compare the recognition
results intuitively. In addition, the recognition results can be exported to an Excel file or the
financial system in batches, greatly simplifying the data recording process.
This solution has the following features:
• Multiple access modes: automatic connection to scanners to obtain images in batches;
image capture using high-speed document scanners and mobile phones
• Flexible deployment: multiple deployment modes, such as public cloud, HCS, and
appliance, and unified standard APIs
• Support for various invoices: common/special/electronic/ETC VAT invoices, and
taxi/train/flight itinerary/quota/toll invoices
• One image for multiple invoices: automatic identification and classification of multiple
invoice types
• Visualized comparison: return of OCR character location information and conversion of
such information into an Excel file for statistics collection and analysis
Figure 8-20 shows how the batch OCR solution works. This solution boasts multiple
advantages, such as improved efficiency and reduced costs, optimized operation, simplified
processes, and enhanced compliance.
8.3.3 CBS
A bot with a single function cannot solve all problems in customer service scenarios. A
conversational bot solution is developed by integrating multiple bots with different functions.
The solution is presented as a single service API. Customers can solve different service
problems by calling the single API. The following describes the application scenarios of each
bot.
8.3.3.1 Application Scenarios of QABot
Frequent consulting and help seeking in IT, e-commerce, finance, and government
industries
Scenarios with certain knowledge accumulation, QA knowledge base, FAQ or FAQ-like
documents, service tickets, and customer service Q&A data
8.3.3.2 Application Scenarios of TaskBot
There are clear conversational tasks and conversation process (multiple rounds of
interaction) can be flexibly configured based on the real-world scenario. After a conversation
template is loaded, the bot can perform multiple rounds of conversations with a customer in
specific scenarios while understanding and recording the customer's intentions.
1. Outbound robot: service satisfaction survey, user information verification, recruitment
appointment, express delivery notification, product promotion, and high-quality customer
selection
2. Customer service: hotel and air ticket booking, credit card activation
3. Smart hardware: voice assistant and smart home, etc.
8.3.3.3 Application Scenarios of Knowledge Graph Q&A Bot (KGBot):
• The KGBot is applicable to the following scenarios:
• The knowledge system is complex.
• Logical inference is the only way to obtain answers.
• Answers can be obtained after multiple rounds of interaction.
• For factual issues involving entity attribute values or relationships between entities, the
QA pairs cannot be all enumerated.
The KGBot has the following features:
HUAWEI CLOUD Enterprise Smart Application Platform Page 26
(1) Intelligent integration of multiple robots for better recommendation: Multiple robots draw
on their own advantages and self-learning and self-optimization capabilities to recommend
the optimal answers to customers.
(2) Multi-round intelligent guidance for more accurate understanding: Multiple rounds of
conversations and natural interaction help the bot accurately identify users' intentions and
understand their potential semantics.
(3) Knowledge graph for smarter bots: General domain language model + domain
knowledge graph. The graph is dynamically updated and the graph-based bots are smarter.
Figure 8-22 shows the architecture of the Conversational Bot service.
local GPU inference servers of the campus. After video streams are analyzed locally in real
time, the analytics results can be uploaded to the cloud, or saved locally for the use by upper
application systems.
The video analytics solution based on edge-cloud synergy intelligently analyzes surveillance
videos and detects abnormal events in real time, such as intrusions and huge foot traffic,
reducing labor costs for campus management. In addition, existing IP cameras (IPCs) in
campuses can be reused as smart cameras through edge-cloud synergy, protecting users'
existing assets. Figure 8-27 shows how the video analytics solution based on edge-cloud
synergy works.
8.4 Summary
First, this course describes the HUAWEI CLOUD EI ecosystem to help you understand the
HUAWEI CLOUD EI services. Second, it focuses on the Huawei EI essential platform
ModelArts to help you quickly understand the ModelArts service using experiments. Finally,
it presents EI-related cases.
Huawei is committed to lowering the threshold for using AI and achieving inclusive AI. To
help AI enthusiasts better understand the HUAWEI CLOUD EI application platform, the
HUAWEI CLOUD official website sets up the EI Experience Center and EI Training Camp,
as shown in Figure 8-32 and Figure 8-33.
8.5 Quiz
1. HUAWEI CLOUD EI is an enabler for enterprise smart. Based on AI and big data
technologies, HUAWEI CLOUD EI provides cloud services, such as public cloud and
HUAWEI CLOUD Enterprise Smart Application Platform Page 34
dedicated cloud, to build an open, trusted, and intelligent platform. Which of the
following services are included in the HUAWEI CLOUD EI products and services?
2. Among the EI products and services, the solution for large scenarios is called EI
Intelligent Twins. Which of the following are included in EI Intelligent Twins?
3. Among the EI products and services, which of the following are included in the EI
essential platform?
4. ModelArts is an essential platform in the EI products and services. It is a one-stop
development platform for AI developers. What are the functions of ModelArts?
5. What are the advantages of ModelArts as a one-stop AI development platform?