CN110659036A - Method and system for automatically burning Google key in Windows system - Google Patents

Method and system for automatically burning Google key in Windows system Download PDF

Info

Publication number
CN110659036A
CN110659036A CN201910789152.7A CN201910789152A CN110659036A CN 110659036 A CN110659036 A CN 110659036A CN 201910789152 A CN201910789152 A CN 201910789152A CN 110659036 A CN110659036 A CN 110659036A
Authority
CN
China
Prior art keywords
burning
key
file
keys
***
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
CN201910789152.7A
Other languages
Chinese (zh)
Other versions
CN110659036B (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 CN201910789152.7A priority Critical patent/CN110659036B/en
Publication of CN110659036A publication Critical patent/CN110659036A/en
Application granted granted Critical
Publication of CN110659036B publication Critical patent/CN110659036B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and a system for automatically burning Google keys in a Windows system, and belongs to the field of authentication processing of intelligent equipment. The invention comprises the following steps: acquiring a key file; setting an initial key value and the number of required programming; detecting whether the equipment is accessed, if not, circularly executing the step, if so, starting to execute burning key files to the accessed equipment, and adding 1 to the number of the burning equipment; and judging whether the burning of the specified number of devices is finished, and if so, prompting the total amount of the burnt keys and the range of the file. The invention has the beneficial effects that: greatly improved programming efficiency and accuracy and zero error.

Description

Method and system for automatically burning Google key in Windows system
Technical Field
The invention relates to a method for burning key codes, in particular to a method and a system for automatically burning Google keys in a Windows system.
Background
Android devices imported overseas need to burn key codes in each Android device after Google GMS authentication is obtained. The 3PL company, after obtaining *** GMS certification, provides the plan vendor (company) with the key code for the corresponding equipment quantity for pre-factory programming. The specific operation steps are as follows:
1. combining the key codes of the order quantity into one gz file through the key codes provided by 3PL for sending out the current Google;
the gz file belongs to a compressed archive file of the GNU extension, the extension can be modified into an xml file after decompression, and the xml file of a single key is obtained through manual extraction;
3. and pushing the single xml into a keymaster directory under an Android device data directory, and modifying the xlm attribute through a shell command to obtain the successful programming.
Problems and disadvantages of the current prior art:
firstly, the current programming mode is single in use under an Android platform, and limitations are caused by low efficiency of manual input of one-by-one commands. If the tool is used in a large amount on a production line, the tool is required to automatically complete the programming action in Windows; secondly, the number of devices for programming is huge, and in order to realize the flow-type operation, the tool must satisfy the function of programming one by one.
Disclosure of Invention
In order to solve the problem of how to quickly write keys into equipment in a full-automatic way on a production line in the prior art, the invention provides a method for automatically burning *** keys in a Windows system and a system for realizing the method.
The method for automatically burning *** keys in the Windows system comprises the following steps:
s1: starting to acquire a key file;
s2: setting an initial key value and the number of required programming;
s3: detecting whether the equipment is accessed, if not, circularly executing the step S3, and if so, executing the step S4;
s4: starting to execute burning key files to the accessed devices, and adding 1 to the number of the burning devices;
s5: and judging whether the burning of the specified number of devices is finished, if not, executing the step S3, and if so, prompting the total amount of the burnt keys and the range of the files.
The invention is further improved, before the step S1, the method further includes a key file name verification step: dividing the first key file name into a fixed value part and a variable value part, then verifying whether burning is successful according to two parts of values manually input, if the burning is successful, the fixed value parts of other key file names are unchanged, the value of the variable value part is produced according to the rule of key codes, and the two parts are combined into a set number of new file names containing the key codes.
The present invention further improves, after the step S3 is executed and before the step S4 is executed, the method further includes the following steps: detecting whether the device records the key, if not, executing the next step, if so, prompting that the key is recorded, and then executing the step S3.
The invention is further improved, after the detection step is executed, the method also comprises a second judgment step: and judging whether the key file exists, if not, prompting that the file does not exist, and adding the file, and if so, executing the step S4.
The invention also provides a system for realizing the method, which comprises the following steps: a key file acquisition module: used for obtaining the key file; setting a module: setting an initial key value and the number of required programming; the first detection module: the device is used for detecting whether the device is accessed; a burning module: the device is used for burning the key file to access; a counting module: the number of devices for burning is calculated; a first judgment module: the device burning system is used for judging whether the specified number of device burning is finished or not; an output module: and if the burning is finished, outputting the total amount of the burnt keys and the file range.
The invention is further improved and also comprises a second detection module for detecting whether the device records keys.
The invention is further improved and also comprises a second judgment module for judging whether the key file exists.
Compared with the prior art, the invention has the beneficial effects that: greatly improving the programming efficiency; because the manual input command and the steps are easy to be wrong, the invention operates on the basis of the command flow with fixed sequence, and can completely ensure zero error; whether the equipment is burnt is detected before burning the keys so as to prevent the phenomenon of wasting the keys.
Drawings
FIG. 1 is a flow chart of a key file generation method;
FIG. 2 is a flow chart of the method of the present invention;
FIG. 3 is a diagram of an implementation interface of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
As shown in fig. 1, the working principle of the present invention is: and embedding the shell command and directly executing the shell command in the device in a mode of using the BAT tool to quickly run in the windows system. The method mainly comprises the steps of obtaining the permission, importing the keys, modifying the attributes and other shell commands, and converting the shell commands into a mode of an executable file BAT software tool in a Windows system to make the behavior of realizing automatic key burning, so that the action of burning at a factory end is completed.
The technical scheme implemented in the BAT tool is as follows:
1. dividing the name of the key file into two parts, wherein the front part is a fixed value A, and the rear part is a variable value B;
2. the number of programming manually input by a user is increased in a variable value, namely the part B of the file name of the corresponding key is obtained;
3. executing the burning processes of obtaining authority in the shell command, detecting whether equipment is burned, importing a Key to an equipment system file, modifying attributes and the like;
4. and circularly executing the programming command until the task of the quantity (namely the variable value B) to be programmed is completed.
As shown in fig. 2, in this example, if, in the development stage, after an xml file is manually split by a key code file, differences and rules between each key are contrastingly analyzed, a single set of key codes with a corresponding number of orderlies is made in the current windows system by a BAT software tool, that is, a key is automatically split, and a key file capable of being directly called is produced, then the developed and transmitted key file can be directly called in this example.
As shown in fig. 2, the burning method of the method includes:
s1: starting to acquire a key file;
s2: setting an initial key value and the number of required programming;
s3: detecting whether the equipment is accessed, if not, circularly executing the step S3, if so, detecting whether the equipment records the key, if so, prompting that the key is recorded, if not, judging whether the key file exists, if not, prompting that the file does not exist, and please add the file, and if so, executing the step S4;
s4: starting to execute burning key files to the accessed devices, and adding 1 to the number of the burning devices;
s5: and judging whether the burning of the specified number of devices is finished, if not, executing the step S3, and if so, prompting the total amount of the burnt keys and the range of the files.
As shown in fig. 3, the specific operation method of the present invention is:
1. inputting an initial key number to be programmed in a windows system;
2. then inputting the number of key numbers to be programmed;
3. after the USB access equipment, automatically inquiring whether keys are burnt or not;
4. if the Key is not written in, starting to write the Key and displaying the Success for Key, namely, completing the programming;
5. if the written Key is detected, the burning action is not carried out;
6. and pressing any key to burn the next device, and circulating the steps.
The invention has the following advantages:
(1) because each batch of equipment can be thousands of equipment, for example 5050 in the example, if a single command is manually input, the method is complicated and time-consuming, and the programming efficiency can be greatly improved;
(2) because the manual input command and the steps are easy to be wrong, the invention operates on the basis of the command flow with fixed sequence, and can completely ensure zero error;
(3) the invention detects whether the device is burnt before burning the key, so as to prevent the phenomenon of wasting the key;
(4) the invention not only efficiently improves the efficiency of writing keys, but also can manually input the initial value + quantity according to the quantity of orders to simultaneously operate a plurality of Windows computers.
The above-described embodiments are intended to be illustrative, and not restrictive, of the invention, and all changes that come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.

Claims (7)

1. A method for automatically burning Google keys in a Windows system is characterized by comprising the following steps:
s1: starting to acquire a key file;
s2: setting an initial key value and the number of required programming;
s3: detecting whether the equipment is accessed, if not, circularly executing the step S3, and if so, executing the step S4;
s4: starting to execute burning key files to the accessed devices, and adding 1 to the number of the burning devices;
s5: and judging whether the burning of the specified number of devices is finished, if not, executing the step S3, and if so, prompting the total amount of the burnt keys and the range of the files.
2. The method for automatically burning *** keys in the Windows system as claimed in claim 1, wherein: before the step S1 is executed, a key file name verification step is further included: dividing the first key file name into a fixed value part and a variable value part, then verifying whether burning is successful according to two parts of values manually input, if the burning is successful, the fixed value parts of other key file names are unchanged, the value of the variable value part is produced according to the rule of key codes, and the two parts are combined into a set number of new file names containing the key codes.
3. The method for automatically burning *** keys in the Windows system as claimed in claim 1 or 2, wherein:
after the step S3 is executed and before the step S4 is executed, the method further comprises the following steps: detecting whether the device records the key, if not, executing the next step, if so, prompting that the key is recorded, and then executing the step S3.
4. The method for automatically burning *** keys in the Windows system as claimed in claim 3, wherein: after the detection step is executed, the method also comprises a second judgment step: and judging whether the key file exists, if not, prompting that the file does not exist, and adding the file, and if so, executing the step S4.
5. A system for implementing the method for automatically burning Google key in Windows system as claimed in any one of claims 1-4, comprising:
a key file acquisition module: used for obtaining the key file;
setting a module: setting an initial key value and the number of required programming;
the first detection module: the device is used for detecting whether the device is accessed;
a burning module: the device is used for burning the key file to access;
a counting module: the number of devices for burning is calculated;
a first judgment module: the device burning system is used for judging whether the specified number of device burning is finished or not;
an output module: and if the burning is finished, outputting the total amount of the burnt keys and the file range.
6. The system of claim 6, wherein: the device also comprises a second detection module used for detecting whether the key is burned in the device.
7. The system of claim 7, wherein: the device also comprises a second judgment module used for judging whether the key file exists or not.
CN201910789152.7A 2019-08-26 2019-08-26 Method and system for automatically burning *** key in Windows system Active CN110659036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910789152.7A CN110659036B (en) 2019-08-26 2019-08-26 Method and system for automatically burning *** key in Windows system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910789152.7A CN110659036B (en) 2019-08-26 2019-08-26 Method and system for automatically burning *** key in Windows system

Publications (2)

Publication Number Publication Date
CN110659036A true CN110659036A (en) 2020-01-07
CN110659036B CN110659036B (en) 2023-05-23

Family

ID=69037797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910789152.7A Active CN110659036B (en) 2019-08-26 2019-08-26 Method and system for automatically burning *** key in Windows system

Country Status (1)

Country Link
CN (1) CN110659036B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611157A (en) * 2020-05-08 2020-09-01 珠海全志科技股份有限公司 Automatic testing method and system for GMS continuous integration construction
CN111625248A (en) * 2020-06-01 2020-09-04 杭州万高科技股份有限公司 Programming device and encryption programming method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750982A (en) * 2012-06-25 2012-10-24 上海大雨电子技术有限公司 Burning method and system of encrypted memory chip
CN104991848A (en) * 2015-07-13 2015-10-21 深圳创维-Rgb电子有限公司 Method and system for implementing Key code burning on basis of MSComm control
US20160147546A1 (en) * 2014-11-20 2016-05-26 International Business Machines Corporation Managing the Customizing of Appliances
WO2016146013A1 (en) * 2015-03-19 2016-09-22 阿里巴巴集团控股有限公司 Method, device and system for online writing application key in digital content device
CN106951295A (en) * 2017-03-31 2017-07-14 深圳Tcl数字技术有限公司 The method and device of automatic burning data
CN107871068A (en) * 2017-10-27 2018-04-03 深圳怡化电脑股份有限公司 Firmware burning method, cd-rom recorder and computer-readable recording medium
CN108279918A (en) * 2018-01-16 2018-07-13 深圳市太美亚电子科技有限公司 A kind of firmware burning method, system and terminal based on USB
CN109039644A (en) * 2018-06-29 2018-12-18 漳州万利达科技有限公司 A kind of TEE authentication key detection method and system
US20190163913A1 (en) * 2017-11-29 2019-05-30 Mstar Semiconductor, Inc. Root key processing method and associated device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750982A (en) * 2012-06-25 2012-10-24 上海大雨电子技术有限公司 Burning method and system of encrypted memory chip
US20160147546A1 (en) * 2014-11-20 2016-05-26 International Business Machines Corporation Managing the Customizing of Appliances
WO2016146013A1 (en) * 2015-03-19 2016-09-22 阿里巴巴集团控股有限公司 Method, device and system for online writing application key in digital content device
CN104991848A (en) * 2015-07-13 2015-10-21 深圳创维-Rgb电子有限公司 Method and system for implementing Key code burning on basis of MSComm control
CN106951295A (en) * 2017-03-31 2017-07-14 深圳Tcl数字技术有限公司 The method and device of automatic burning data
CN107871068A (en) * 2017-10-27 2018-04-03 深圳怡化电脑股份有限公司 Firmware burning method, cd-rom recorder and computer-readable recording medium
US20190163913A1 (en) * 2017-11-29 2019-05-30 Mstar Semiconductor, Inc. Root key processing method and associated device
CN108279918A (en) * 2018-01-16 2018-07-13 深圳市太美亚电子科技有限公司 A kind of firmware burning method, system and terminal based on USB
CN109039644A (en) * 2018-06-29 2018-12-18 漳州万利达科技有限公司 A kind of TEE authentication key detection method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611157A (en) * 2020-05-08 2020-09-01 珠海全志科技股份有限公司 Automatic testing method and system for GMS continuous integration construction
CN111611157B (en) * 2020-05-08 2023-07-28 珠海全志科技股份有限公司 GMS continuous integration construction automatic test method and system
CN111625248A (en) * 2020-06-01 2020-09-04 杭州万高科技股份有限公司 Programming device and encryption programming method
CN111625248B (en) * 2020-06-01 2023-04-07 杭州万高科技股份有限公司 Programming device and encryption programming method

Also Published As

Publication number Publication date
CN110659036B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN112256558B (en) Test case generation method and device, computer equipment and storage medium
CN109739766B (en) System and method for rapidly building FPGA digital simulation model
CN110427331B (en) Method for automatically generating performance test script based on interface test tool
CN107239392B (en) Test method, test device, test terminal and storage medium
CN104123227A (en) Method for automatically generating testing cases
CN110659036B (en) Method and system for automatically burning *** key in Windows system
CN110571927B (en) Four-remote signal parameter checking method
CN104375934A (en) Method for testing reliability of Android mobile phone software
US7275231B2 (en) High level validation of designs and products
CN105956191B (en) Data migration method and system
CN115688675A (en) Method for flexibly checking and correcting circuit schematic diagram parameters on line
CN113010190A (en) MAC address burning method, device, equipment and storage medium
CN112416907A (en) Database table data importing and exporting method, terminal equipment and storage medium
CN113297086A (en) Test case generation method and device, electronic equipment and storage medium
CN107357721B (en) Method and device for testing system
CN111723009A (en) Framework system of python automated testing series products
CN114416547A (en) Test case based test method
CN104133743A (en) Method and device for burning file into EMMC (Embedded MultiMedia Card)
CN107766519B (en) Method for visually configuring data structure
CN110879936B (en) TEAMCENTER-based method for batch generation and output of process control plans
CN111967217A (en) Design system capable of realizing electrical interconnection of schematic diagrams
WO2019085354A1 (en) Excel system interface-based database linkage method, electronic device, and storage medium
CN110609984B (en) Method and system for automatically splitting Google key in Windows system
CN110727726B (en) Method and system for extracting data from document database to relational database
CN114879985A (en) Method, device, equipment and storage medium for installing certificate file

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