This topic describes a mobile PaaS (mPaaS) customer case in the transportation industry.
Beijing Public Transport
mPaaS and Tusbus. Reconstruct the R&D mode of the Beijing Transit app.
About the customer
Tusbus is China's leading solution provider and service operator of smart bus systems. Its product the Beijing Transit app connects bus and subway in Beijing's public transport system. This provides passengers with one-stop transport services, such as waiting for the bus, scanning the transit code, commuting, and entertainment.
Challenges
It is an urban public transport system with the largest scale, the largest number of vehicles, and the most complicated vehicle model and billing mode. The system needs to support 1,500 concurrent bus and subway access per second during rush hours. In Beijing, an average of 8 million people take public transportation per day, which means that 16 million card-swiping data records of public transport are generated per day.
To improve high concurrency on the client and assist the development team in improving efficiency, Tusbus urgently needs dynamic updates and releases to help the team reconstruct the R&D mode.
Solution
Tusbus (Beijing public transport version) uses mPaaS Mini Program containers to rebuild multiple business modules of the Beijing Transit app with mini programs. Also, Location-based Service (LBS) is selected as the map component.
The Mini Program container isolates the code of each business module, realizes highly concurrent and collaborative development, and improves R&D efficiency. With a more open and flexible architecture, business modules can be updated dynamically, improving user experience.
Customer benefits
Tusbus provides people in Beijing with green and convenient services through Beijing's intelligent public transport system. Meanwhile, Qidi is expanding its business in other large cities such as Guangzhou and Haikou.
The Mini Program container allows each business module of the Beijing Transit app to be updated dynamically, building a real mobile frontend.
With an independent rendering kernel, the Mini Program container allows the mobile client to work out-of-the-box.
Code, written only once, can reproduce a variety of products to be put on different platforms such as its own app and Alipay.
The code and resources of each business module are isolated to realize highly concurrent and collaborative development, improving R&D efficiency.
Dianhuowang
mPaaS and Dianhuowang. Only two Java developers are required to build an app using mPaaS Mini Program.
About the customer
Hengdong logistics Dianhuowang is an online freight platform based on the logistics industry trend and national policy. Dianhuowang Driver and Dianhuowang Cargo Owner, two mobile clients developed by the company, provide fast and convenient services that match truck drivers and owners.
Project background
Small team size and slow business iteration: For a long time, the project development team consists of two core developers and two intern developers.
Urgent business demands and insufficient development resources: The mobile client needs to embed the SDK plug-in of the supervision platform as the supervision policy on the Internet freight platform has changed.
Solution
Developers can use Java and Vue.js to build apps, but can not master a new programming language or develop native UI components within a short time. However, due to urgent business demands, the technical team decides to replace Uni-App in the original model with mPaaS Mini Program. The team migrated features to the Dianhuowang app and integrated the regulatory SDK plug-in.
Technology selection | Advantage | Disadvantage |
Uni-App | Vue.js syntax is easy to use and across platforms. | Involve a high cost of learning technology that interacts with original plug-ins. Need to learn Weex. |
Weex | Cross-platform. | Need to learn new technology. |
Flutter | Good UI rendering performance and across platforms. | Need to learn a new language. |
Android | Use Java to write business logic, providing better performance and greater stability. | Not cross-platform. |
mPaaS | Componentized integration. mPaaS can be easily used if you know native development and mini program syntax. Some mini programs can be used across platforms. | Involve a learning cost. |
Customer benefits
App rebuild using mini programs: Based on mPaaS Mini Program, the Dianhuowang app allows users to enter a mini program automatically from the welcome screen. The app can call a custom API to destroy the welcome screen and verify Android permission.
One-time development and multiple reuse: The network requests on the web and in Mini Program all use the same framework. To migrate services developed on the web to mPaaS Mini Program, you only need to adjust the code slightly to handle mPaaS business logic. This eliminates the need to write similar and repeated business code. Also, reuse ensures that the business logic is consistent on the web and client, as several developers in collaboration may understand the business in different ways.
Flexible app update and iteration: After mPaaS is integrated, you need to update the app only when the native SDK plug-in is changed or added. To adjust or update the features of a mini program, you can upgrade the mini program without disturbing users, which also meets your demands of rapid business iterations.
Shanghai Metro
mPaaS and Shanghai Metro. Help build a one-stop travel service platform.
About the customer
Shanghai Shentong Metro Group Co., Ltd. was reorganized and established in June 2004. It is the main body responsible for the investment, construction, and operation management of Shanghai rail transit. At present, the company has invested, constructed, and put into operation 17 rail transit lines. The lines include the first fully automatic driving line (Line 10) in Chinese mainland and the world's first commercial maglev line. The total length of the lines is 673 km (including a maglev line of 29 km). With a total of 395 stations, Shanghai Metro ranks first in the world in terms of the road network scale.
Project background
Shanghai Metro handles the average daily passenger flow of more than 11 million trips. A considerable part of people come from all over the country outside the city. Particularly, many people come from the Yangtze River Delta region.
It is inconvenient to hold tickets, tickets can be missing or stolen, and consumption feedback is unavailable. To provide better transportation services, Shanghai Metro urgently needs a complete solution to facilitate passenger travel and achieve digital operation and management.
Solution
mPaaS, a super app engine, significantly improves the stability, smoothness, and compatibility of an app.

Alipay's high-precision code scanning technology: Based on the tests conducted by Ant Group Man-Machine Interaction Lab, the Shanghai Metro app supports adjusting the brightness, distance, and angle to help passengers with different phones enter the station smoothly.
Dynamic release and management: The app has built a real mobile frontend using the mPaaS HTML5 container. The code of each business module is isolated to realize highly concurrent and collaborative development, and update and release services dynamically, improving R&D efficiency.
High service availability: For many years, the mobile API gateway has stood the test of massive requests from Taobao's Double 11, Double 12, and Spring Festival red envelope activities. The gateway helps Shanghai Metro find a code scanning solution featuring a ultra-low response delay, a self-adaptive network, and a safe payment process.
Customer benefits
After the Shanghai Metro app was launched, nearly 7% of the passengers enter or exit by scanning the code, eliminating the need to stand in a queue.
Fully compatible with mainstream phones: mPaaS has served hundreds of millions of users in Alipay's complex business scenarios. Compatible with mainstream phones, it helps Shanghai Metro build a quality, dynamic, and super app.
High business stability: Introduce double offline technology to separate bookkeeping and payment. Even if the network is unavailable, the app can bookkeep first and then deduct money when the network is restored. For the client request and server response process, build complete capabilities of traffic division, data transmission encryption, and signature verification to secure the data of online services.
Scenario ecosystem: The app is a one-stop travel service platform. After the app integrates Hellobike, exit taxi calling, and other features, users can have a better and safer travel experience in one stop.