Tmall client's security model is the cornerstone of user experience

Tmall client's security model is the cornerstone of user experience

The 2016 China Application Performance Management Conference (APMCon 2016) was held at the Beijing Suncity Crowne Plaza Hotel from August 18 to 19. APMCon is jointly hosted by Tingyun, GeekBang and InfoQ. As the most influential technical conference in the field of APM in China, the APMCon is themed "Driving Application Architecture Optimization and Innovation" and is committed to promoting the growth and development of APM in China. Wu Fawei (Zeping), the person in charge of the global experience of Tmall Client, was interviewed by reporters at the conference.

The rapid development of mobile Internet has led to major e-commerce platforms launching their own clients. However, wireless is not as stable as wired. How does the Tmall client of an e-commerce company deal with various problems? The author interviewed Mr. Ze Ping (Wu Fawei), the person in charge of the global experience of Tmall client, and see how Mr. Ze Ping answered our questions.

Global Experience

In fact, many people do not understand the meaning of global experience. The so-called global experience refers to user experience . Performance optimization is a very important indicator in terms of technical experience. For consumers, stability is as important as a shooting game. If the gun is not easy to use, you cannot accurately shoot the target to win the prize. Teacher Zeping explained: "Mobile Internet is an era of experience. The era of experience means that users now want to use this client, but this client cannot meet the needs of users. If consumers' ideas are not met, they will no longer use this client. A very important point about the global experience is to ensure that consumers have a very good experience in terms of stability and performance."

Tmall client has a high pursuit of consumer satisfaction and has set up a measurement standard for this purpose - NPS. Making users feel that the experience is particularly good and willing to recommend it to their friends is the goal that Tmall client strives for.

[[171459]]

For developers, it is not enough to just complete the product, the security of the application also needs to be taken into consideration. For users, only when the application has a good security model can people feel at ease to use it, especially for e-commerce applications that involve personal or even private information, for which users have higher security requirements. The Tmall client not only does enough work on user information protection, but also puts a lot of thought into the user experience of using the APP.

Safe Mode

Tmall has a large number of clients, so ensuring the stability of the Tmall App is a very important task, and protection during the startup phase is a key part of it. Tmall Security Mode is dedicated to solving problems such as crashes during the APP startup phase, and it also has self-repair and synchronous hot repair capabilities, making it a complete startup protection solution.

There are many reasons for APP crashes. Each APP has a different design scheme. It is difficult to capture all abnormal errors. Therefore, Tmall thinks about abnormal exits from the user's perspective, that is, the flag marking method. The flag value will not be cleared when the APP is started normally for ten seconds, the user exits the application normally, and the user actively switches from the foreground to the background. By marking the flag, it can be determined whether the client exits abnormally. Once the client exits abnormally, the flag value will be +1.

In the first-level security mode of the Tmall client, when it detects that a consumer has exited abnormally twice or more times in a row, Tmall will clear the user's cache. In the second-level security mode , the entire client will return to the initial installation state. In this process, Tmall will clear the three root directories of Document, Library, and Cache, which is equivalent to rolling back to a clean state to solve this problem. It contains a technology that is very worth mentioning. In addition to the downtime during the application startup phase, it often starts normally but after entering the homepage, the click function crashes. The Tmall security mode also has a function. That is, during the startup phase, a rule is sent through the server to clear the problematic data in the business, so as to ensure the normal operation of the application.

The security mode has formulated a simple grayscale strategy . In grayscale mode, the configuration will include both grayscale and formal configurations, as well as the probability of grayscale. The APP calculates whether it meets the grayscale conditions based on a specific algorithm. If it does, it uses the grayscale configuration, otherwise it uses the formal configuration.

<<:  Comparing the pros and cons of Android and iPhone

>>:  Detailed explanation and implementation methods of three types of timers in Android

Recommend

2 key points to analyze the secrets of Heytea's growth

Competition in the new beverage market is fierce,...

Attention! What you think is a callus may actually be a viral infection!

You may have heard of calluses and corns, but do ...

1000 top landing pages, 5 conversion rate optimization tips

Conversion is the key factor in paid promotion . ...

Methodology! How operators can take advantage of hot topics to plan events!

The operations department plans activities based ...

Tencent Interactive Entertainment Community Product User Growth Formula!

The development of the Internet has entered the s...