我要评分
获取效率
正确性
完整性
易理解

Constraints

  • Hardware constraints:
    • The instruction stream engine server runs in the Kbox container, and the OS is Android 11.0.0_r48. It must be deployed on the server powered by Kunpeng 920 7260 processors.
    • The instruction stream engine client must support 64-bit applications and run on Android 7 or later or HarmonyOS.
    • The rendering of OpenGL ES instructions by the instruction stream engine client depends on the GPU capability of the mobile phone.
    • The video encoding function of the instruction stream engine server depends on a third-party video encoding module. The module can be either a software implementation or a hardware implementation, for example, the NETINT T432/T408 video transcoder.
    • The video decoding function of the instruction stream engine client depends on the hardware video decoding capability of the mobile phone.
    • The performance, specifications, and dEQP compatibility indicators described in this document are related to hardware capabilities and must be tested on specified hardware.
  • Usage constraints:
    • This project delivers the binary library of the instruction stream engine to third parties and promises the quality, performance, and security of the engine. Third parties integrate the instruction stream engine based on their service scenarios and define product specifications and performance. In addition, third parties are responsible for scenario definition, service development, network design, system security, and service O&M.
    • The unique one-click cleanup function of Huawei phones will not stop the active processes with data transmission in the background, because the instruction stream engine client needs to maintain heartbeat data to ensure continuous network connection with the instruction stream engine server. Therefore, on Huawei phones, the instruction stream engine client will not be stopped during one-click cleanup.
    • After the instruction stream engine client is connected, the background application on the server is switched to the foreground for the first time, which triggers the application rendering state machine rebuild. It takes a long time for a complex background application to rebuild the rendering state machine. Black screen or frame freezing may occur for 1 to 2 seconds. Then, the normal screen can be displayed.
    • Before setting up the environment, carefully read "Security Management" in the Kbox Cloud Phone Container Feature Guide to ensure that the security risks of the solution are acceptable.
    • The host OS is not within the delivery scope of this solution. Therefore, security hardening measures related to the OS need to be implemented by you or the independent software vendor (ISV). This document does not provide related descriptions.
    • To quickly deploy the Kbox container, the root permission is used by default to call scripts. The scripts of the Kbox container solution are for reference only, and no commercial commitment is made. To minimize OS security risks, it is recommended that you or the ISV implement defense measures in commercial deployment scenarios, such as file access control and minimum authorization.
    • When performing operations based on this document, configure appropriate permissions on the uploaded files and directories. You are advised not to configure the write permission for other user groups.
  • Application constraints:
    • The instruction stream engine does not support the OpenGL ES 1.0 API.
    • The instruction stream engine client is disconnected after the video playback is paused. After the client is reconnected, the video playback area is displayed in black, and the player control area is properly displayed. After you click the play button, the video can be played normally.
    • After detecting a disconnection (including a disconnection initiated by the server due to an exception, initiated by the client, or due to heartbeat timeout), the instruction stream engine server allows the client to access the server again three seconds later.
    • In some static scenarios of apps such as games and browsers, the instruction stream engine does not display some textures after reconnection. In this case, you need to trigger redraw instructions (through touching or switching operations) on the apps restore normal display.
    • The instruction stream engine has higher compatibility with 64-bit applications (recommended).
  • Other constraints:
    • The instruction stream engine provides only the image rendering capability for games and applications. The compatibility between applications and Android emulators, such as third-party login, advertisement, payment, customer feedback, extended games, and emulator detection, depends on the compatibility capability of the cloud phone image.
    • The data of the instruction stream engine and audio engine is transmitted separately, and the audio and video are not synchronized. The audio is about 0.5s faster than the video. When the network is unstable or large network packets are processed, exceptions such as audio crackling and stuttering may occur during audio playback. You are advised to experience these engines in an environment where the round trip time is less than 40 ms.
    • The instruction stream engine relies on the secure and reliable communication mechanism provided by a third party for session authentication and data transmission/encryption.
    • After a cloud phone runs for a long time, it occupies a large amount of cache on the host. Run the following command to periodically clear the cache:
      1
      # echo 3 > /proc/sys/vm/drop_caches
      

      Clearing the cache will temporarily affect the system performance. Therefore, you need to control the clearing period and granularity.

      • Clear the page cache.
        1
        # echo 1 > /proc/sys/vm/drop_caches
        
      • Clear kernel slab objects (including inode and dentry).
        1
        # echo 2 > /proc/sys/vm/drop_caches
        
      • Clear both the page cache and kernel slab objects.
        1
        # echo 3 > /proc/sys/vm/drop_caches
        
    • To be compatible with the rendering capability of mainstream mobile phones when used as clients, the GL_MAX parameter of the instruction stream engine server has been set to the minimum value of related parameters of mainstream mobile phones, and the GL_MIN parameter has been set to the maximum value of related parameters of mainstream mobile phones.