CN110825398B - 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
CN110825398B
CN110825398B CN201911075440.2A CN201911075440A CN110825398B CN 110825398 B CN110825398 B CN 110825398B CN 201911075440 A CN201911075440 A CN 201911075440A CN 110825398 B CN110825398 B CN 110825398B
Authority
CN
China
Prior art keywords
keybox
mobile terminal
state
attribute value
nvram
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.)
Active
Application number
CN201911075440.2A
Other languages
Chinese (zh)
Other versions
CN110825398A (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.)
Emdoor Digital Technology Co ltd
Original Assignee
Emdoor 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 Emdoor Digital Technology Co ltd filed Critical Emdoor 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

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)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (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, carrying out Keybox burning on the mobile terminal by using an MTKSNWriter, and writing a Keybox state mark into Nvram after the Keybox is successfully burnt by the mobile terminal in a Meta mode; step S20, restarting the mobile terminal, starting the Keybox_query service to read a Keybox State state value from nvram, and setting a system attribute value of the Keybox state; and 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. The MTK platform Google Trusty TEE can detect and inquire 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 keyboxes, and particularly relates to a mobile terminal Keybox processing method based on an MTK platform.
Background
At present, if the Android device needs to be preloaded with a Google application, the Google needs to pass the GMS compatibility test of the Android device, and Android 8.1 and later versions of each device are required to ensure that a Keybox is burned. Keybox requires a TEE environment, and the current TEE scheme has several such as MTK Trusty TEE, trustonic TEE, microTrust TEE, trustKernel TEE and Google Trusty TEE, and for the Android device with Modem, only Google Trusty TEE can be used without taking money, but Google Trusty TEE does not realize query interface of Keybox installation state.
Accordingly, the prior art is in need of improvement.
The invention mainly aims to provide a mobile terminal Keybox processing method based on an MTK platform, so as to solve the technical problems mentioned in the background art, and realize that the MTK platform Google Trusty TEE 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:
step S10, carrying out Keybox burning on the mobile terminal by using an MTKSNWriter, and writing a Keybox state mark into Nvram after the Keybox is successfully burnt by the mobile terminal in a Meta mode;
step S20, restarting the mobile terminal, starting the Keybox_query service to read a Keybox State state value from nvram, and setting a system attribute value of the Keybox state;
and 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.
Preferably, in step S10, a Keybox status flag is written into one Keybox state field in Nvram.
Preferably, the mobile terminal comprises mobile terminal equipment carrying an android system.
Preferably, after step S30, the method further comprises the steps of:
step S40, when the ATA is used for testing the mobile terminal, the equipment side enters a factor mode, the keybox_query service starts to read the Keybox state value in the nvram and set the system attribute value of the Keybox state, when the ATA of the PC side sends a query Keybox specified instruction, the factor service of the equipment side receives the query Keybox specified instruction, reads the system attribute value of the Keybox state and feeds back the system attribute value to the ATA.
According to the method for processing the Keybox of the mobile terminal based on the MTK platform, disclosed by the invention, the processing is performed when the mobile terminal burns the Keybox, and the system attribute value of the Keybox state is set, so that the MTK platform Google Trusty TEE 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 that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a mobile terminal Keybox processing method based on an MTK platform;
fig. 2 is a schematic block diagram of a Keybox processing method for a mobile terminal based on an MTK platform.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
It is noted that related terms such as "first," "second," and the like may be used to describe various components, but these terms are not limiting of the components. These terms are only used to distinguish one element from another element. For example, a first component could be termed a second component, and, similarly, a second component could be termed a first component, without departing from the scope of the present invention. The term "and/or" refers to any one or more combinations of related items and descriptive items.
As shown in fig. 1 and fig. 2, fig. 1 is a flow diagram of a mobile terminal Keybox processing method 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.
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, carrying out Keybox burning on the mobile terminal by using an MTKSNWriter, and writing a Keybox state mark into Nvram after the Keybox is successfully burnt by the mobile terminal in a Meta mode;
in step S10, MYK represents a concurrency department; MTKSNWriter means a tool used by the concurrency platform to write a number; keybox represents a keylocker function of an Android operating system for decrypting data and information of DRM-protected content; DRM represents digital rights management; nvram denotes a nonvolatile random access memory. The mobile terminal comprises mobile terminal equipment carrying an android system.
Step S20, restarting the mobile terminal, starting the Keybox_query service to read a Keybox State state value from nvram, and setting a system attribute value of the Keybox state;
in step S20, the keybox_query service represents a process for querying the Keybox state; the Keybox state flag is an operation return value fed back when the TEE system calls and writes a keybox function; the TEE systems include Google Trusty TEE, MTK trust TEE, microttrust TEE, and trust kernel 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: persist.key.keymaster_attest; value: true (keybox installed); false (keybox not installed); persist.key.done; value: true (keybox query operation completed); false (keybox state is being queried).
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 the system, then high-level and entering into the device. According to the method for processing the Keybox of the mobile terminal based on the MTK platform, disclosed by the invention, the processing is performed when the mobile terminal burns the Keybox, and the system attribute value of the Keybox state is set, so that the MTK platform Google Trusty TEE can detect and inquire the installation state of the Keybox on the mobile terminal.
Specifically, in step S10, a Keybox status flag is written into one Keybox state field in Nvram. After step S30 shown in fig. 1, the method further includes the steps of: step S40, when the ATA is used for testing the mobile terminal, the equipment side enters a factor mode, the keybox_query service starts to read the Keybox state value in the nvram and set the system attribute value of the Keybox state, when the ATA of the PC side sends a query Keybox specified instruction, the factor service of the equipment side receives the query Keybox specified instruction, reads the system attribute value of the Keybox state and feeds back the system attribute value to the ATA. The equipment end comprises a mobile terminal.
According to the method for processing the Keybox of the mobile terminal based on the MTK platform, google Trusty TEE is used for free, and the confirmation of the factory line and the client on the burning state of the Keybox is solved; saving 1RMB TEE OS License cost for each piece of PCB; the factory line PCB testing procedure is saved, and the addition of a station to independently verify the key box burning state is avoided. The principle is that by setting the system attribute value, the application layer, such as the MTK platform, can access the system attribute to identify and read whether the Ketbox is installed.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (3)

1. The method for processing the mobile terminal Keybox based on the MTK platform is characterized by comprising the following steps of:
step S10, carrying out Keybox burning on the mobile terminal by using an MTKSNWriter, and writing a Keybox state mark into Nvram after the Keybox is successfully burnt by the mobile terminal in a Meta mode;
step S20, restarting the mobile terminal, starting the Keybox_query service to read a Keybox State state value from nvram, and setting a system attribute value of the Keybox state;
step S30, after the mobile terminal enters the android system, system setting is carried out to display the installation state of the Keybox according to the system attribute value of the Keybox state,
step S40, when the ATA is used for testing the mobile terminal, the equipment side enters a factor mode, the keybox_query service starts to read the Keybox state value in the nvram and set the system attribute value of the Keybox state, when the ATA of the PC side sends a query Keybox specified instruction, the factor service of the equipment side receives the query Keybox specified instruction, reads the system attribute value of the Keybox state and feeds back the system attribute value to the ATA.
2. The method for processing Keybox of mobile terminal based on MTK platform according to claim 1, wherein in step S10, a Keybox status flag is written into a Keybox state field in Nvram.
3. The method for processing the Keybox of the mobile terminal based on the MTK platform as set forth in claim 1, wherein the mobile terminal comprises mobile terminal equipment carrying an android system.
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 CN110825398A (en) 2020-02-21
CN110825398B true 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 (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
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闪存管理架构的嵌入式设备烧片软件研究与设计;陈驰;《中国优秀硕士学位论文全文数据库 (信息科技辑)》(第07期);I137-105 *

Also Published As

Publication number Publication date
CN110825398A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
US7000225B2 (en) Method for inserting global breakpoints
CN102736978A (en) Method and device for detecting installation status of application program
CN108763951B (en) Data protection method and device
CN103049405B (en) Android device file management method and system
Karlsson et al. Android anti-forensics: Modifying cyanogenmod
CN104036194B (en) Vulnerability detection method and device for revealing private data in application program
CN104036193B (en) Local cross-domain vulnerability detection method and device for application program
CN110825398B (en) Mobile terminal Keybox processing method based on MTK platform
CN105550311B (en) A kind of method that dynamic changes application program store path
CN103838651A (en) Mainboard function test management and control system and method
CN105975567B (en) Method and device for processing internal file of application program
CN106982428B (en) Security configuration method, security control device and security configuration device
CN109284629B (en) Authority control method and system of distributed file storage system
CN113282435B (en) Application exception processing method and electronic equipment
CN112306576B (en) Method for modifying built-in number of android device application program
CN111208363B (en) Test method and electronic device
CN113127816A (en) Method for preventing Linux command line key from being leaked
CN113918384A (en) Data saving method, device, equipment and storage medium
CN106469108A (en) A kind of onboard system exception handling device and method
US20080059666A1 (en) Microcontroller and debugging method
JP4339269B2 (en) Mobile phone bus monitor system and method
CN117112047B (en) USB equipment management and control method, equipment and storage medium
CN105844151B (en) File storage protection implementation method and system
CN112541182B (en) Kernel VFS layer system repairing method, device, equipment and storage medium
CN109918122B (en) White list maintenance method and device and terminal equipment

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