CN112672354B - Application program upgrading authentication method and device and intelligent terminal equipment - Google Patents

Application program upgrading authentication method and device and intelligent terminal equipment Download PDF

Info

Publication number
CN112672354B
CN112672354B CN202011567943.4A CN202011567943A CN112672354B CN 112672354 B CN112672354 B CN 112672354B CN 202011567943 A CN202011567943 A CN 202011567943A CN 112672354 B CN112672354 B CN 112672354B
Authority
CN
China
Prior art keywords
serial number
electronic serial
key
intelligent terminal
application program
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
CN202011567943.4A
Other languages
Chinese (zh)
Other versions
CN112672354A (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN202011567943.4A priority Critical patent/CN112672354B/en
Publication of CN112672354A publication Critical patent/CN112672354A/en
Application granted granted Critical
Publication of CN112672354B publication Critical patent/CN112672354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses an application program upgrading authentication method, an application program upgrading authentication device and intelligent terminal equipment, wherein the application program upgrading authentication method comprises the following steps: the intelligent terminal equipment requests a server to issue a secret key and an electronic serial number; the intelligent terminal equipment receives the key and the electronic serial number issued by the server; and activating the appointed application program of the intelligent terminal equipment according to the secret key and the electronic serial number. The invention provides a mechanism for automatically checking whether a secret key and an electronic serial number are complete and guaranteeing safe secret key upgrading and activation, and a network system issuing technology is adopted to solve the problem of remotely upgrading the electronic serial number and the equipment secret key after non-authentication equipment is delivered.

Description

Application program upgrading authentication method and device and intelligent terminal equipment
Technical Field
The invention relates to the technical field of system software, in particular to an application program upgrading authentication method and device and intelligent terminal equipment.
Background
Netflix is a streaming media playing platform for a member subscription system. If each new television core of a television manufacturer needs to be prefabricated with Netflix application, the new television core needs to pass the authentication of Netflix, otherwise, the application cannot be normally used. Firstly, the relevant information of Netflix on the television needs to be introduced in an authentication website, and a test result of relevant assets is filled in and is used for the Netflix to examine. Then, logging in NF website to apply for downloading test key, and sending prototype authentication to the United states after self-test is passed. Typically an authentication period of at least three months is applied. Especially, for the Android TV requiring Google certification, the process is more complicated and needs the manufacturer test, the chip test, the Google certification and the Netflix certification. The authentication electronic serial number and the secret key of the television can be obtained only after the authentication is passed. The number and the secret key need to be burned to a television end when leaving a factory, so that the function of Netflix can be normally used after the television is proved to be legal equipment. The television product can be delayed for months before being normally produced and shipped.
Disclosure of Invention
The invention provides an application program upgrading authentication method and device and intelligent terminal equipment, and aims to solve the technical problems.
The technical scheme adopted by the invention is as follows: an application program upgrade authentication method is provided, which includes:
the intelligent terminal equipment requests a server to issue a secret key and an electronic serial number;
the intelligent terminal equipment receives the key and the electronic serial number issued by the server;
and activating the appointed application program of the intelligent terminal equipment according to the secret key and the electronic serial number.
Preferably, before activating the specified application program of the intelligent terminal device according to the key and the electronic serial number, the method further includes:
checking the received MD5 values of the key and the electronic serial number, and clearing the cache if the MD5 values of the key and the electronic serial number issued by the server are inconsistent with the received MD5 values of the key and the electronic serial number; if so, activation is performed.
Preferably, the key and the electronic serial number sent by the server and received by the intelligent terminal device are sorted according to folder names.
Preferably, after the intelligent terminal device requests the server to issue the key and the electronic serial number, the method further includes:
the request IP of the intelligent terminal equipment receives the screening of the server blacklist function, and if the request IP is consistent with the blacklist, the secret key and the electronic serial number are not issued; and if the request IP is inconsistent with the blacklist, issuing the key and the electronic serial number.
Preferably, after the intelligent terminal device requests the server to issue the key and the electronic serial number, the method further includes:
judging whether the SN number and the MAC address of the intelligent terminal equipment are empty or not, and if the SN number and the MAC address are empty, not issuing the secret key and the electronic serial number; and if the SN number and the MAC address are not null, issuing the key and the electronic serial number.
Preferably, the designated application is a pre-manufactured application, the pre-manufactured application being ordered on an application home page.
Preferably, the key is issued by the server and is installed on the intelligent terminal device by a mobile storage device instead.
The invention also provides an application program upgrading authentication device, which comprises:
the information sending module is used for sending a request for issuing a secret key and an electronic serial number;
the information receiving module is used for receiving the issued key and the electronic serial number;
the judging module is used for judging whether the MD5 values of the key and the electronic serial number sent by the server side are consistent with the received MD5 values of the key and the electronic serial number;
and the activation module is used for activating the appointed application program through the key and the electronic serial number.
The invention also provides intelligent terminal equipment which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor realizes the steps of the application program upgrading authentication method when executing the computer program.
The present invention also provides a computer-readable storage medium, which stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the above-mentioned application program upgrade authentication method.
The invention has the beneficial effects that: the invention provides a mechanism for automatically checking whether a secret key and an electronic serial number are complete and guaranteeing safe secret key upgrading and activation, and a network system issuing technology is adopted to solve the problem of remotely upgrading the electronic serial number and the equipment secret key after non-authentication equipment is delivered.
Drawings
Fig. 1 is a schematic flow chart of an application program upgrade authentication method disclosed in the present invention.
Fig. 2 is a schematic diagram of an application upgrade authentication apparatus according to the present disclosure.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection".
In particular implementations, the smart terminal devices described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the smart terminal device is not a portable communication device, but is a desktop computer or television.
The intelligent terminal device supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Example 1:
referring to fig. 1, an application program upgrade authentication method includes the following steps:
s11: the intelligent terminal equipment requests the server to issue the secret key and the electronic serial number.
In this embodiment, the intelligent terminal device is a television. The key and electronic serial number are used to activate (i.e., upgrade) the designated application, which in this embodiment selects Netflix.
In this embodiment, the key may be obtained in at least two ways: firstly, the television terminal can automatically check whether the Netflix secret key exists in the secret key partition through a system interface when the television terminal is started every time. And if the Netflix key is lacked, sending a request for upgrading the Netflix key to the server. Second, the existence of the key can be checked by manually entering a factory menu, and if the key is absent, the corresponding key is installed by using a mobile storage device (such as a USB flash disk).
The number of electronic serial numbers and keys is huge, and one batch reaches tens of thousands of stations. If the mode of traversing the database to inquire whether the number is used is adopted, a large burden is caused to uploading and downloading.
In the embodiment, the electronic serial numbers and the secret keys are sorted according to the folder names, for example, netflix _00000001, a variable is used for counting from 0, and when the nth electronic serial number needs to be acquired, only the netflix _ n is issued, so that the traversing process is omitted. And a great deal of time is saved for issuing speed. And viewing the variable at the same time, and counting the number of the upgrading electronic serial number and the secret key.
Considering that the Netflix function is not used in some areas, only specific equipment can be upgraded, such as china, korea, syrian and crimia, and the areas need to be separated. Considering that users in some countries do not like to watch Netflix, the requirement of Netflix, such as Vietnam and Russia, is not integrated in order to achieve early delivery and reduce cost. So that the step S111 is also included after the step S11.
S111: the request IP of the intelligent terminal equipment receives the screening of the server blacklist function, and if the request IP is consistent with the blacklist, the secret key and the electronic serial number are not issued; and if the request IP is inconsistent with the blacklist, issuing the key and the electronic serial number. This step ensures that the key is not issued inefficiently.
Considering that there are prototype or test machines that have not burned all electronic serial numbers and keys in the factory production process, they have satisfied the condition of issuing the electronic serial numbers and keys, but we do not want to upgrade them with the electronic serial numbers and keys in the server side. For this case, S112 is also included after the step of S11.
S112: and judging whether the SN number and the MAC address of the intelligent terminal equipment are null or not, wherein 2 values of the television after leaving the factory are necessary to be used as the identity symbol of the television. If the SN number and the MAC address are null, judging that the equipment is not factory equipment, and not issuing the secret key and the electronic serial number; and if the SN number and the MAC address are not null, issuing the key and the electronic serial number.
It should be noted that, the sequence of S111 and S112 is not provided, and both may be used as the step after S11, or one may be used as the step after S11, according to actual needs.
S12: and the intelligent terminal equipment receives the key and the electronic serial number issued by the server.
And copying the electronic serial number and the secret key sent by the receiving server to a number writing partition, wherein the electronic serial number and the secret key are specifically corresponding to/vendor/tvcertificate/netflix 50/ESNID and/vendor/tvcertificate/netflix 50/KpeKph.
S13: and activating the appointed application program of the intelligent terminal equipment according to the secret key and the electronic serial number.
The electronic serial number and the secret key sometimes encounter an error condition in a network transmission process, for example, when the electronic serial number and the secret key are issued in an upgrading process, but a program is interrupted to exit or a television is powered off to exit, the electronic serial number and the secret key which are wrong are activated at this time, so that the Netflix application cannot be normally used.
In order to avoid this, the following steps are also included before S13:
s121: checking whether the received MD5 values of the key and the electronic serial number are complete and correct, and clearing the cache if the MD5 values of the key and the electronic serial number issued by the server are inconsistent with the received MD5 values of the key and the electronic serial number; if so, activation is performed.
As will be appreciated by those skilled in the art, the MD5 is known as Message-DigestAlgorithm 5, and the MD5 value corresponds to the ID of a file, has uniqueness, and changes to the MD5 value if the file is modified or incomplete.
In addition, Netflix needs to be placed at the head of the application list according to the requirement of Netflix certification. In the embodiment, the homepage application sorting is modified, and the Netflix application program is placed at the top, so that the requirement of authentication is met. Because the top application ordering is implemented via a configuration file, there is no information in the configuration file if the device does not have a pre-manufactured application. After upgrading the application, the program is required to modify the configuration file.
Example 2
Referring to fig. 2, the present embodiment discloses an application upgrade authentication apparatus, including:
the information sending module 21 is used for sending a request for issuing a secret key and an electronic serial number;
the information receiving module 22 is used for receiving the issued key and the electronic serial number;
the judging module 23 is configured to judge whether the MD5 value of the key and the electronic serial number sent by the server is consistent with the MD5 value of the received key and the received electronic serial number;
and the activation module 24 is used for activating the specified application program through the key and the electronic serial number.
Example 3
An intelligent terminal device comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor executes the computer program to realize the steps of the application program upgrading authentication method in embodiment 1.
Example 4
A computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the application upgrade authentication method of embodiment 1.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. An application program upgrade authentication method, characterized by comprising:
the intelligent terminal equipment requests a server to issue a secret key and an electronic serial number;
the intelligent terminal equipment receives the key and the electronic serial number issued by the server;
the request IP of the intelligent terminal equipment receives the screening of the server blacklist function, and if the request IP is consistent with the blacklist, the secret key and the electronic serial number are not issued; if the request IP is inconsistent with the blacklist, the secret key and the electronic serial number are issued, so that the secret key is not issued inefficiently; the blacklist is set according to different preference degrees of different regions for upgrading and authenticating the application program, and regions or countries which do not like the application program are listed in the blacklist;
activating the appointed application program of the intelligent terminal equipment according to the secret key and the electronic serial number;
and the key and the electronic serial number which are sent by the server and received by the intelligent terminal equipment are sorted according to the name of the folder.
2. The method for authenticating the upgrade of the application program according to claim 1, wherein before activating the specific application program of the intelligent terminal device according to the secret key and the electronic serial number, the method further comprises:
checking the received MD5 values of the key and the electronic serial number, and clearing the cache if the MD5 values of the key and the electronic serial number issued by the server are inconsistent with the received MD5 values of the key and the electronic serial number; if so, activation is performed.
3. The method for upgrading authentication of an application program according to claim 1, wherein after the intelligent terminal device requests the server to issue the key and the electronic serial number, the method further comprises:
judging whether the SN number and the MAC address of the intelligent terminal equipment are empty or not, and if the SN number and the MAC address are empty, not issuing the secret key and the electronic serial number; and if the SN number and the MAC address are not null, issuing the key and the electronic serial number.
4. The application upgrade authentication method according to claim 1, wherein the specified application is a pre-manufactured application, the pre-manufactured application being ordered on an application home page.
5. The method for upgrading authentication of the application program according to any one of claims 1 to 4, wherein the key is issued by the server and is installed on the intelligent terminal device by a mobile storage device instead.
6. An application upgrade authentication apparatus, comprising:
the information sending module is used for sending a request for issuing a secret key and an electronic serial number;
the information receiving module is used for receiving the issued key and the electronic serial number;
the judging module is used for judging whether the MD5 values of the key and the electronic serial number sent by the server side are consistent with the received MD5 values of the key and the electronic serial number;
the blacklist screening module is used for receiving screening of the server blacklist function according to the request IP, and if the request IP is consistent with the blacklist, the secret key and the electronic serial number are not issued; if the request IP is inconsistent with the blacklist, the secret key and the electronic serial number are issued, so that the secret key is not issued inefficiently; the blacklist is set according to different preference degrees of different regions for upgrading and authenticating the application program, and regions or countries which do not like the application program are listed in the blacklist;
the activation module is used for activating the appointed application program through the key and the electronic serial number;
and the sequencing module is used for sequencing the key and the electronic serial number which are sent by the server according to the name of the folder.
7. An intelligent terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the application upgrade authentication method according to any one of claims 1 to 4 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the application upgrade authentication method according to any one of claims 1 to 4.
CN202011567943.4A 2020-12-25 2020-12-25 Application program upgrading authentication method and device and intelligent terminal equipment Active CN112672354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011567943.4A CN112672354B (en) 2020-12-25 2020-12-25 Application program upgrading authentication method and device and intelligent terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011567943.4A CN112672354B (en) 2020-12-25 2020-12-25 Application program upgrading authentication method and device and intelligent terminal equipment

Publications (2)

Publication Number Publication Date
CN112672354A CN112672354A (en) 2021-04-16
CN112672354B true CN112672354B (en) 2022-02-01

Family

ID=75409642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011567943.4A Active CN112672354B (en) 2020-12-25 2020-12-25 Application program upgrading authentication method and device and intelligent terminal equipment

Country Status (1)

Country Link
CN (1) CN112672354B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728750A (en) * 2004-07-27 2006-02-01 邓里文 Method of packet voice communication
CN1954543A (en) * 2004-04-14 2007-04-25 数码河股份有限公司 Geographic location based licensing system
CN105187444A (en) * 2015-09-25 2015-12-23 Tcl海外电子(惠州)有限公司 Key information burning method and device
CN110784767A (en) * 2019-10-12 2020-02-11 Tcl海外电子(惠州)有限公司 Television license code writing method and device
CN112088374A (en) * 2018-04-05 2020-12-15 谷歌有限责任公司 Domain specific browser identifier as a replacement for browser cookies
KR20210110718A (en) * 2019-04-20 2021-09-08 (주)케이스마텍 Vehicle digital key sharing service method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728713B (en) * 2004-07-27 2010-09-22 邓里文 Method for transmtitig digital video
FR2889780A1 (en) * 2005-08-10 2007-02-16 Alcatel Sa CONTROLLING ACCESS OF A MOBILE EQUIPMENT TO AN IP COMMUNICATION NETWORK BY DYNAMIC MODIFICATION OF ACCESS POLICIES
DE102016002549A1 (en) * 2016-01-18 2017-07-20 Roland Harras Method for the multi-layered protection of (login) data, in particular passwords

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954543A (en) * 2004-04-14 2007-04-25 数码河股份有限公司 Geographic location based licensing system
CN1728750A (en) * 2004-07-27 2006-02-01 邓里文 Method of packet voice communication
CN105187444A (en) * 2015-09-25 2015-12-23 Tcl海外电子(惠州)有限公司 Key information burning method and device
CN112088374A (en) * 2018-04-05 2020-12-15 谷歌有限责任公司 Domain specific browser identifier as a replacement for browser cookies
KR20210110718A (en) * 2019-04-20 2021-09-08 (주)케이스마텍 Vehicle digital key sharing service method and system
CN110784767A (en) * 2019-10-12 2020-02-11 Tcl海外电子(惠州)有限公司 Television license code writing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无线传感器网络中公钥机制研究综述;何炎祥等;《计算机学报》(第03期);全文 *

Also Published As

Publication number Publication date
CN112672354A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
US8200962B1 (en) Web browser extensions
CN110225104B (en) Data acquisition method and device and terminal equipment
US10216510B2 (en) Silent upgrade of software with dependencies
CN111414407A (en) Data query method and device of database, computer equipment and storage medium
CN111782416B (en) Data reporting method, device, system, terminal and computer readable storage medium
CN110244963B (en) Data updating method and device and terminal equipment
JP2016527648A (en) Move instance of virtual computer processing
US9165207B2 (en) Screenshot orientation detection
WO2020253386A1 (en) Application processing method and apparatus, electronic device, and storage medium
CN111008059A (en) Control method and device for popup window display, terminal and storage medium
CN109032693B (en) Method and device for loading display information, electronic equipment and readable storage medium
US20150067766A1 (en) Application service management device and application service management method
CN114371908A (en) Cloud application program operation method and device
CN112672354B (en) Application program upgrading authentication method and device and intelligent terminal equipment
CN110245016B (en) Data processing method, system, device and terminal equipment
CN111078437B (en) Remote calling method and device for verification codes, electronic equipment and readable storage medium
CN105453518B (en) Synchronization of metering networks
US20150067124A1 (en) Application service management device and application service management method
CN111597564A (en) Data access and permission configuration method, device, terminal and storage medium
CN109981873B (en) Address book permission opening method and device and electronic equipment
US20230259343A1 (en) Software library for cloud-based computing environments
KR20130025070A (en) Data sharing service system and method
US20140282063A1 (en) System for updating icon interface with icons of different operating systems and method thereof
JP7445017B2 (en) Mobile application forgery/alteration detection method using user identifier and signature collection, computer program, computer readable recording medium, and computer device
US20170277528A1 (en) Application installation system and method for handheld devices

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
GR01 Patent grant
GR01 Patent grant