CN110825398A - Mobile terminal Keybox processing method based on MTK platform - Google Patents

Mobile terminal Keybox processing method based on MTK platform Download PDF

Info

Publication number
CN110825398A
CN110825398A CN201911075440.2A CN201911075440A CN110825398A CN 110825398 A CN110825398 A CN 110825398A CN 201911075440 A CN201911075440 A CN 201911075440A CN 110825398 A CN110825398 A CN 110825398A
Authority
CN
China
Prior art keywords
keybox
mobile terminal
state
nvram
processing method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911075440.2A
Other languages
Chinese (zh)
Other versions
CN110825398B (en
Inventor
马保军
张治宇
范德业
李冬明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN YIDAO DIGITAL TECHNOLOGY CO LTD
Original Assignee
SHENZHEN YIDAO DIGITAL TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN YIDAO DIGITAL TECHNOLOGY CO LTD filed Critical SHENZHEN YIDAO DIGITAL TECHNOLOGY CO LTD
Priority to CN201911075440.2A priority Critical patent/CN110825398B/en
Publication of CN110825398A publication Critical patent/CN110825398A/en
Application granted granted Critical
Publication of CN110825398B publication Critical patent/CN110825398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method for processing a mobile terminal Keybox based on an MTK platform, which is characterized by comprising the following steps: step S10, using MTKSNWriter to perform Keybox burning on the mobile terminal, and writing the Keybox status mark into the Nvram after the mobile terminal in the Meta mode successfully burns the Keybox; step S20, restart the mobile terminal, start Keybox _ query service to read KeyboxState state value from nvram, and set system attribute value of Keybox state; in step S30, after the mobile terminal enters the android system, system setting is performed to display the installation state of the Keybox according to the system attribute value of the Keybox state. The Google Trust TEE of the MTK platform can detect and query the installation state of the Keybox on the mobile terminal, and is low in cost.

Description

Mobile terminal Keybox processing method based on MTK platform
Technical Field
The invention belongs to the field of mobile terminal Keybox, and particularly relates to a method for processing a mobile terminal Keybox based on an MTK platform.
Background
At present, if the Android device needs to be preloaded with a Google application, a GMS compatibility test of the Android device by the Google needs to be passed, and each device of the Android 8.1 and later versions is required to be guaranteed to be burned with one Keybox. Keybox requires a TEE environment, and there are several current TEE schemes, such as MTK Trust TEE, Trustonic TEE, MicroTrust TEE, TrustKernel TEE and Google Trust TEE, from the above, for Android devices with Modem, only Google Trust TEE can be used without drawing money, but Google Trust TEE itself does not implement a query interface of Keybox installation state.
Therefore, the prior art is to be improved.
The invention mainly aims to provide a Keybox processing method for a mobile terminal based on an MTK platform, which aims to solve the technical problems mentioned in the background technology and realize that the Google Trust TEE of the MTK platform can detect and inquire the installation state of the Keybox on the mobile terminal.
The invention discloses a method for processing a mobile terminal Keybox based on an MTK platform, which is characterized by comprising the following steps of:
step S10, using MTKSNWriter to perform Keybox burning on the mobile terminal, and writing the Keybox status mark into the Nvram after the mobile terminal in the Meta mode successfully burns the Keybox;
step S20, restart the mobile terminal, start Keybox _ query service to read KeyboxState state value from nvram, and set system attribute value of Keybox state;
in step S30, after the mobile terminal enters the android system, system setting is performed to display the installation state of the Keybox according to the system attribute value of the Keybox state.
Preferably, in step S10, the Keybox status flag is written into one Keybox state field in Nvram.
Preferably, the mobile terminal comprises a mobile terminal device equipped with an android system.
Preferably, after step S30, the method further includes the steps of:
step S40, when testing the mobile terminal by ATA, making the device enter the Factory mode, starting the Keybox _ query service to read the Keybox state value in nvram, and setting the system attribute value of the Keybox state, when the ATA of the PC sends the query Keybox specified instruction, the Factory service of the device reads the system attribute value of the Keybox state and feeds back the value to the ATA after receiving the query Keybox specified instruction.
The Keybox processing method for the mobile terminal based on the MTK platform, disclosed by the invention, is used for processing the Keybox burning process of the mobile terminal, and the system attribute value of the Keybox state is set, so that the GoogleTrust TEE of the MTK platform can detect and inquire the installation state of the Keybox on the mobile terminal.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flow chart of a Keybox processing method for a mobile terminal based on an MTK platform according to the present invention;
fig. 2 is a schematic block diagram of a Keybox processing method for a mobile terminal based on an MTK platform according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It is noted that relative terms such as "first," "second," and the like may be used to describe various components, but these terms are not intended to limit the components. These terms are only used to distinguish one component from another component. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present invention. The term "and/or" refers to a combination of any one or more of the associated items and the descriptive items.
As shown in fig. 1 and fig. 2, fig. 1 is a schematic flowchart of a Keybox processing method for a mobile terminal based on an MTK platform according to the present invention; fig. 2 is a schematic block diagram of a Keybox processing method for a mobile terminal based on an MTK platform according to the present invention.
The invention discloses a method for processing a mobile terminal Keybox based on an MTK platform, which is characterized by comprising the following steps of:
step S10, using MTKSNWriter to perform Keybox burning on the mobile terminal, and writing the Keybox status mark into the Nvram after the mobile terminal in the Meta mode successfully burns the Keybox;
in step S10, MYK represents a linkage department; MTKSNWriter represents a tool used by a joint issuing platform to write numbers; the Keybox represents a keylocker function of the Android operating system for decrypting data and information of DRM-protected content; DRM denotes digital rights management; nvram denotes a nonvolatile random access memory. The mobile terminal comprises mobile terminal equipment carrying an android system.
Step S20, restart the mobile terminal, start Keybox _ query service to read KeyboxState state value from nvram, and set system attribute value of Keybox state;
in step S20, the Keybox _ query service represents a process for querying the Keybox status; the keyboxState status flag is an operation return value fed back when the TEE system call is written into the keybox function; the TEE system comprises GoogleTrust TEE, MTK Trust TEE, Trustonic TEE, MicroTrust TEE and TrustKernel TEE;
note that the system attribute value of the Keybox state indicates one system attribute of the Keybox installation state; specifically, the system attribute names are as follows: rule.key.keymaster _ attest; value: true (keybox installed); false (keybox not installed); kernel. done; value: true (keybox query operation completed); false (keybox state is querying).
Step S30, after the mobile terminal enters the android system, performing system setting to display the installation state of the Keybox according to the system attribute value of the Keybox state; making system settings includes entering settings, then systems, then advanced and entering into the relevant devices. The Keybox processing method for the mobile terminal based on the MTK platform, disclosed by the invention, is used for processing the Keybox burning process of the mobile terminal, and the system attribute value of the Keybox state is set, so that the GoogleTrust TEE of the MTK platform can detect and inquire the installation state of the Keybox on the mobile terminal.
Specifically, in step S10, the Keybox status flag is written in one Keybox state field in the Nvram. After step S30 shown in fig. 1, the method further includes the steps of: step S40, when testing the mobile terminal by ATA, making the device enter the Factory mode, starting the Keybox _ query service to read the Keybox state value in nvram, and setting the system attribute value of the Keybox state, when the ATA of the PC sends the query Keybox specified instruction, the Factory service of the device reads the system attribute value of the Keybox state and feeds back the value to the ATA after receiving the query Keybox specified instruction. The equipment end comprises a mobile terminal.
The method for processing the Keybox of the mobile terminal based on the MTK platform uses Google TrustyTEE for free, and solves the problem that a factory line and a client confirm the burning state of the Keybox; 1RMB TEE OS License cost is saved for each PCB version; the test procedure of the PCB of the factory line is saved, and the condition that a station is added to independently verify the burning state of the keybox is avoided. The principle is that by setting the system attribute value, the application layer, such as MTK platform, can access the system attribute to identify and read whether the Ketbox is installed.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (4)

1. A Keybox processing method for a mobile terminal based on an MTK platform is characterized by comprising the following steps:
step S10, using MTKSNWriter to perform Keybox burning on the mobile terminal, and writing the Keybox status mark into the Nvram after the mobile terminal in the Meta mode successfully burns the Keybox;
step S20, restart the mobile terminal, start Keybox _ query service to read KeyboxState state value from nvram, and set system attribute value of Keybox state;
in step S30, after the mobile terminal enters the android system, system setting is performed to display the installation state of the Keybox according to the system attribute value of the Keybox state.
2. A Keybox processing method for a mobile terminal based on MTK platform as claimed in claim 1, wherein in step S10, a Keybox status flag is written in a Keybox state field in Nvram.
3. A Keybox processing method for a mobile terminal based on MTK platform as claimed in claim 1, wherein the mobile terminal comprises a mobile terminal device equipped with android system.
4. A Keybox processing method for a mobile terminal based on MTK platform as claimed in claim 1, wherein after step S30, further comprising the steps of:
step S40, when testing the mobile terminal by ATA, making the device enter the Factory mode, starting the Keybox _ query service to read the Keybox state value in nvram, and setting the system attribute value of the Keybox state, when the ATA of the PC sends the query Keybox specified instruction, the Factory service of the device reads the system attribute value of the Keybox state and feeds back the value to the ATA after receiving the query Keybox specified instruction.
CN201911075440.2A 2019-11-06 2019-11-06 Mobile terminal Keybox processing method based on MTK platform Active CN110825398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911075440.2A CN110825398B (en) 2019-11-06 2019-11-06 Mobile terminal Keybox processing method based on MTK platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911075440.2A CN110825398B (en) 2019-11-06 2019-11-06 Mobile terminal Keybox processing method based on MTK platform

Publications (2)

Publication Number Publication Date
CN110825398A true CN110825398A (en) 2020-02-21
CN110825398B CN110825398B (en) 2024-01-16

Family

ID=69552862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911075440.2A Active CN110825398B (en) 2019-11-06 2019-11-06 Mobile terminal Keybox processing method based on MTK platform

Country Status (1)

Country Link
CN (1) CN110825398B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176806A (en) * 2011-12-21 2013-06-26 富泰华工业(深圳)有限公司 Programming system and programming controlling method
CN109408097A (en) * 2018-12-11 2019-03-01 深圳市英威腾电气股份有限公司 A kind of firmware upgrade method, device, system and a kind of electronic equipment
CN109783104A (en) * 2018-12-07 2019-05-21 深圳市海派通讯科技有限公司 The method and system of Android device write-in Keybox parameter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176806A (en) * 2011-12-21 2013-06-26 富泰华工业(深圳)有限公司 Programming system and programming controlling method
US20130166958A1 (en) * 2011-12-21 2013-06-27 Hon Hai Precision Industry Co., Ltd. Software burning system and burning control method
CN109783104A (en) * 2018-12-07 2019-05-21 深圳市海派通讯科技有限公司 The method and system of Android device write-in Keybox parameter
CN109408097A (en) * 2018-12-11 2019-03-01 深圳市英威腾电气股份有限公司 A kind of firmware upgrade method, device, system and a kind of electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈驰: "基于NAND闪存管理架构的嵌入式设备烧片软件研究与设计", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》, no. 07, pages 137 - 105 *

Also Published As

Publication number Publication date
CN110825398B (en) 2024-01-16

Similar Documents

Publication Publication Date Title
CN102736978B (en) A kind of method and device detecting the installment state of application program
CN103049405B (en) Android device file management method and system
CN108763951B (en) Data protection method and device
CN106502646A (en) The page info processing method and processing device of application
CN104036194B (en) Vulnerability detection method and device for revealing private data in application program
JP2015097086A (en) Multi-media data electronic publishing system
CN114564158B (en) Method, device, equipment and medium for controlling document printing under Linux system
CN104036193B (en) Local cross-domain vulnerability detection method and device for application program
CN111198703A (en) Version upgrading method, system, equipment and medium
CN110825398A (en) Mobile terminal Keybox processing method based on MTK platform
CN106982428B (en) Security configuration method, security control device and security configuration device
CN112306576B (en) Method for modifying built-in number of android device application program
CN113282435B (en) Application exception processing method and electronic equipment
CN112632032B (en) Data migration method and device, storage medium and terminal equipment
CN109446462B (en) Page-based data monitoring processing method, device, equipment and storage medium
CN112685071A (en) Application program repairing method, device, equipment and storage medium
CN109918122B (en) White list maintenance method and device and terminal equipment
CN112115451B (en) Method for identifying hot plug hardware USB dongle in Docker container of ARM architecture
CN113010199B (en) Application updating method and device, computer equipment and storage medium
CN116028100B (en) Software version upgrading method and electronic equipment
CN117112047A (en) USB equipment management and control method, equipment and storage medium
CN106951343B (en) Delayed reduction method and delayed reduction assembly for non-specific object
CN114647842A (en) Process processing method and device, computer equipment and readable storage medium
KR100846123B1 (en) Method for keyboard security and storage medium recording keyboard security driver using the method
US20040254986A1 (en) Information processing apparatus and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 901, building 1, No. 9, Jinxiu Middle Road, Laokeng community, Longtian street, Pingshan District, Shenzhen City, Guangdong Province

Applicant after: EMDOOR DIGITAL TECHNOLOGY Co.,Ltd.

Address before: 518000 4th floor, building 5, building 2-2, building 6, building 2-2, building 6, building 4, Meisheng Huigu Science Park, 83 Dabao Road, Shanghe community, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province

Applicant before: EMDOOR DIGITAL TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant