Saturday, January 23, 2016

Optimized Android underlying firm harder the more tangled

If seriously, Android's "bottom" where? In the article, Lei feng's network reporter roughly describes the true meaning of what Android underlying so-called also noted that mobile phone manufacturers in promoting "the underlying optimization", the struggling in this area.

Then again, regardless of mobile phone manufacturers in Android at the bottom do not have the ability to optimize, if they are determined to change users on Android mobile phone cards, slow, hot impression, a lot of optimization work and not so "deep".

Optimized Android underlying firm harder the more tangled?

More with more card Android phone

Android mobile phone cards, slow, fever, the fact that crashes are a simplified, complete description should be: after a long period of time, hands on the iPhone is that the iPhone and Android mobile phone has "hobbled".

Are afraid of contrast, where is the Android phone is the problem? Wu Zhangjin Meizu software engineers from two dimensional analysis of causes. First of all, when mobile hardware remain fixed when software upgrades for the following reasons:

1, mobile phone memory chips, along with the natural slow;

2, aging hardware and all kinds of falls result in damaged parts;

3 aging resulted in an increased energy consumption of mobile phones, devices and contacts, system temperature control is triggered after the fever, causing CPU block cause the system to slow;

4, a new version of the firmware without considerable development and testing investment optimization is not in place;

5, almost every version is much more resources (more memory and Flash)

Should note is that these problems are not unique to Android phones, believes those who have complex of iPhone 4 users on this experience should have been. Of course, Android mobile phone software upgrade special is that it is faster, the ROM every Monday is already the norm.

The other hand, even if a user understands that, after you bought the phone don't update the firmware Android phones in use as far as possible be the size it? The answer is no, for the following reasons:

1, the software runs in the background more, default increasing load, reduced idle processor resources;

Superposition of 2, background applications, memory consumption gradually increased, resulting in decreased free memory (new tasks start or old tasks require memory resources back to the front desk may need to trigger the zram swap or lowmemkiller, which will inevitably bring about delays, and any memory leaks or even reclaim memory can cause the system to collapse);

3, when the application resides in the background after the flood, with the increase in memory consumption, memory fragmentation can be serious (is physically contiguous memory will be less and less, which can lead to serious IO performance degradation may cause the IO operations from order to random operations);

4, applications increased causing the system to more easily fever, triggering system temperature control, which led to block such action;

5, part of the temperature control technology into reduced FPS (refresh rate), this can influence the user experience awareness (which is understandable, of course, balancing hardware after curing fever and has been the only way)

You can see from the above, except the last one is outside the interest equilibrium in mobile phone manufacturers a choice, much less restraint in third party applications. LBE security master CEO Zhang Yong was quoted as saying: "this is a long game of cat and mouse. "

Optimized Android underlying firm harder the more tangled?

Game of mobile phone manufacturers and third-party applications

As we all know, Android application developer permissions is very large, allowed since the start, allowing the permanent background, allowing automatic networking allows real-time push and so on. Not to second-guess what Google was designed, see from the results, which are sets of rules applies only to utopia.

Zhou hongyi said in media interviews: "on selected phones (application) we will conduct technical evaluation, not a BUG, it must be stable. They (the application) cannot upload user data without permission, not secret behind Networking cannot be privately consuming user traffic, the most important thing can't always wake up themselves, without the user's knowledge of the circumstances in the background, doing a lot of work, and finally phone memory are consumed by application of these. "

Words go straight to the user pain point, odd cool cell phone not listed, Lei feng's network on these issues in LBE interviewed Wang Mingyang doing similar work, he says security software provided by Root, can be injected into the target program to dynamically modify its permission and started now prevent third-party applications "bullying" many have matured.

According to Zhang Yong said the optimization of mobile phone manufacturers to apply permissions to work primarily at the framework layer. But after a lot of work has been done, in the mobile phone on the back of, "there are still many grey areas, such as mobile phone company calls Google map may be acquiring location information, but the phone Baidu Baidu is called Mobile guardian may be pulled alive. They are technically the same, only different and react differently as a result. "

Technically indistinguishable, in theory, can only rely on manual review, iOS is doing. Android cannot do so, because "these are two companies (Apple&Google) design philosophy and ideas of different causes. "Zhang said.

In addition, in addition to start and manage outside, push mechanism and the focus of optimizing care objects. For some reason, Google Push channel temporarily unavailable in China, so each user can realize "real-time notifications", must remain "connection slow heart beat" rhythms. In this case, even leaving aside the harassment aside, for the weak power of the Smartphone, this simply cannot afford.

Millet Ji Ma network reporter from Lei feng, Director of security, said prior to the Google Android and scheduled wake, MIUI does this optimization, that is, "hold each application's wake, unified system to the specified point in time to perform. "Such a move will not simply turn off all programs missing messages, nor too much burden on the power. Disney Note 4 Case

Android handset makers through various technical means, to a certain extent to restrict the application of the abuse of rights, but the effect is difficult to par to iOS. The reason is simple: the iOS does not open these permissions, Android instead, mobile phone manufacturers are, as appropriate, to recover, "as appropriate," the word covers too many variables.

Optimized Android underlying firm harder the more tangled?

"Either fast or die"

Talk about optimization of certain details, Wang Mingyang told reporter of Lei feng, nature of the gap between Android and iOS are not in these areas, "iOS code runs directly on the CPU, and run Android on a virtual machine, so the same hardware configuration, Android implementation than the same iOS consume more resources. "Therefore, in his view, upgrading the hardware to be more reliable than the underlying optimization, and Android mobile phone hardware changes much more quickly to.

One occurs in a cell phone manufacturer's case is typical: when several software engineers worked hard for months, and finally phone to a satisfactory level of performance optimization, component upgrades, slightly increasing hardware costs to the mobile phone has brought better performance. Even the engineers still determined their work is valuable, the leadership also for the measurement of input-output ratio, the necessity of thinking into doing this thing.

Wu Zhangjin, said: "on the current domestic situation is concerned, part of the big manufacturers are also largely confined to the hardware features on the stack. Some manufacturers will invest in UI design, hardware, look and theme of ROM and a variety of interactive optimization. Small (manufacturer) struggles to do the basic optimization of stability, reduce the chances of system freezes, crashes, or restarts. "

On these issues, of course, not every one can get answers within the validity period, so "many products because these questions are difficult. Some products remain in the pursuit of solutions to various crash restart Bug, few systematic solutions such as RAS. "

Whatever measures taken today, including mobile phone manufacturers, Apple significantly accelerates the rhythm, a well-known domestic mobile phone manufacturers when it comes to their situation is now playing is "either fast or die", so a lot of optimization work still can't keep up with the slogan created by the demand.

Disney Note 4 Case

The only positive is that the current standard first-line Android handset, whether it is the management of third-party applications or their own understanding of the hardware/software are maturing, they gap has with the iPhone than a stereotype to shrink a lot. But in Matthew continues to heat up today, to honor "the underlying optimization" promises to be more urgent than expected.

Tesla Model s-P85D

1804 votes

Tesla Model s-P85D

P85D Tesla MODEL s is Tesla sells cars in the fastest and most expensive, in terms of appearance and the remaining few models did not much change, the main change is to drive and battery capacity. MODEL s-P85D, 691 peak horsepower BHP, four wheel drive, 0-96 km/h in 3.2 seconds. Disney Samsung Note 4 case

View details of the voting >>

No comments:

Post a Comment