CN110784767A - Television license code writing method and device - Google Patents

Television license code writing method and device Download PDF

Info

Publication number
CN110784767A
CN110784767A CN201910975427.6A CN201910975427A CN110784767A CN 110784767 A CN110784767 A CN 110784767A CN 201910975427 A CN201910975427 A CN 201910975427A CN 110784767 A CN110784767 A CN 110784767A
Authority
CN
China
Prior art keywords
television
machine
code
server
license code
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
CN201910975427.6A
Other languages
Chinese (zh)
Other versions
CN110784767B (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.)
TCL Overseas Electronics Huizhou Ltd
Original Assignee
TCL Overseas Electronics Huizhou 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 TCL Overseas Electronics Huizhou Ltd filed Critical TCL Overseas Electronics Huizhou Ltd
Priority to CN201910975427.6A priority Critical patent/CN110784767B/en
Publication of CN110784767A publication Critical patent/CN110784767A/en
Application granted granted Critical
Publication of CN110784767B publication Critical patent/CN110784767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8355Generation of protective data, e.g. certificates involving usage data, e.g. number of copies or viewings allowed

Abstract

The invention discloses a method and a device for writing in a television license code, wherein the method comprises the steps of establishing wireless communication connection between a television and a server, acquiring television attribute parameters, sending the television attribute parameters to the server, searching a corresponding machine license code according to the television attribute parameters by the server, and feeding back the machine license code to the television, searching the corresponding machine license code according to the television attribute parameters by the television, so that the waste of the machine license code is avoided; the machine permission code fed back by the server is received, the machine permission code is written into the preset storage area, the serial port communication is connected without a computer rack, and the machine permission code is written into the television, so that the situation of poor mainboard exists in the production process, and the waste of the machine permission code caused by the replacement of an integrated circuit or after the mainboard is replaced is avoided.

Description

Television license code writing method and device
Technical Field
The invention relates to the technical field of televisions, in particular to a method and a device for writing a television license code.
Background
In the manufacturing process of the television, a computer rack is required to be connected with a serial port for communication to write a machine permission code into the television, in the production process, a worker and a station are required to operate the action scene, so that more inconvenience exists, and due to the relation of a supply chain, the process also needs to be processed by a supplier, and the risks of data leakage and data errors also exist.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The present invention provides a method and an apparatus for writing a tv license code, which are used to solve the technical problems of inconvenience and low security in writing a tv license code in the prior art.
In order to achieve the above object, the present invention provides a method for writing a tv license code, which comprises the following steps:
the television and the server establish wireless communication connection;
the television acquires television attribute parameters and sends the television attribute parameters to the server;
the server searches a corresponding machine permission code according to the television attribute parameters and feeds the machine permission code back to the television;
and the television receives the machine permission code fed back by the server and writes the machine permission code into a preset storage area.
Preferably, after the television receives the machine permission code fed back by the server and writes the machine permission code into a preset storage area, the method for writing the television permission code further includes:
the television reads the written machine permission code from the preset storage area;
the television compares the written machine permission code with the machine permission code fed back by the server;
when the comparison result is inconsistent, the television prompts;
and when the comparison result is consistent, the television sends a verification request to the server, and the server verifies the fed back machine license code and feeds back the verification result to the television.
Preferably, when the comparison result is consistent, the television sends a verification request to the server, the server verifies the fed back machine license code, and after the verification result is fed back to the television, the method for writing the television license code further includes:
when the verification result is valid, the television performs function verification according to the machine license code;
and when the verification result is invalid, the television prompts.
Preferably, the server searches for a corresponding machine license code according to the tv attribute parameter, and feeds back the machine license code to the tv, specifically including:
the server judges whether the corresponding machine license code is distributed according to the television attribute parameters, inquires the machine license code from the distributed data when the machine license code is distributed, and feeds the machine license code back to the television;
and when the machine license code is not distributed, the server acquires order information from a business system, searches the machine license code corresponding to the television attribute parameter from the order information, and feeds back the searched machine license code to the television.
Preferably, the television attribute parameters include: media access control information of the wireless broadband, client type and projection address;
the method for sending the television attribute parameters to the server includes the following steps:
the television acquires the medium access control information of the wireless broadband, the client type and the showing address, and sends the medium access control information of the wireless broadband, the client type and the showing address to the server;
correspondingly, the server searches for a corresponding machine license code according to the television attribute parameter, and feeds back the machine license code to the television, and the method specifically includes:
the server searches a corresponding machine permission code according to the medium access control information of the wireless broadband, the client type and the showing address, encrypts the machine permission code according to the medium access control information of the wireless broadband, the client type and the showing address, and feeds back the encrypted machine permission code to the television.
Preferably, the receiving, by the television, the machine permission code fed back by the server, and writing the machine permission code in a preset storage area specifically includes:
and the television receives the encrypted machine permission code fed back by the server, decrypts the encrypted machine permission code according to the medium access control information of the wireless broadband, the client type and the showing address to obtain the machine permission code, and writes the machine permission code into a preset storage area.
In addition, to achieve the above object, the present invention further provides a tv set permission code writing device, including: a television and a server;
the television is used for establishing wireless communication connection with the server;
the television is also used for acquiring television attribute parameters and sending the television attribute parameters to the server;
the server is used for searching a corresponding machine license code according to the television attribute parameters and feeding back the machine license code to the television;
and the television is also used for receiving the machine permission code fed back by the server and writing the machine permission code into a preset storage area.
Preferably, the television is further configured to read the written machine permission code from the preset storage area;
the television is also used for comparing the written machine permission code with the machine permission code fed back by the server;
when the comparison result is inconsistent, the television is also used for prompting;
when the comparison result is consistent, the television is also used for sending a verification request to the server, and the server verifies the fed back machine license code and feeds back the verification result to the television;
when the verification result is valid, the television is also used for performing function verification according to the machine license code;
and when the verification result is invalid, the television is also used for prompting.
Preferably, the server is further configured to determine whether a corresponding machine license code has been distributed according to the television attribute parameter, query the machine license code from distributed data when the machine license code has been distributed, and feed back the machine license code to the television;
the server is further configured to, when the machine license code is not distributed, obtain order information from a business system, search the machine license code corresponding to the television attribute parameter from the order information, and feed back the searched machine license code to the television.
Preferably, the television attribute parameters include: media access control information of the wireless broadband, client type and projection address;
the television is further configured to acquire the media access control information of the wireless broadband, the client type and the showing address, and send the media access control information of the wireless broadband, the client type and the showing address to the server;
the server is further configured to search for a corresponding machine license code according to the media access control information of the wireless broadband, the client type, and the showing address, encrypt the machine license code according to the media access control information of the wireless broadband, the client type, and the showing address, and feed back the encrypted machine license code to the television;
the television is further configured to receive the encrypted machine permission code fed back by the server, decrypt the encrypted machine permission code according to the media access control information of the wireless broadband, the client type, and the projection address, obtain a machine permission code, and write the machine permission code in a preset storage area.
In the invention, a wireless communication connection is established between a television and a server, the television acquires television attribute parameters and sends the television attribute parameters to the server, the server searches for corresponding machine permission codes according to the television attribute parameters and feeds the machine permission codes back to the television, and searches for the corresponding machine permission codes according to the television attribute parameters, the television attribute parameters and the machine permission codes are in one-to-one correspondence, the same television copies the machine permission codes for multiple times, the inquired machine permission codes are unique, new machine permission codes are not required to be distributed for copying, and the waste of the machine permission codes is avoided; the machine permission code fed back by the server is received, the machine permission code is written into the preset storage area, the serial port communication is connected without a computer rack, and the machine permission code is written into the television, so that the situation of poor mainboard exists in the production process, and the waste of the machine permission code caused by the replacement of an integrated circuit or after the mainboard is replaced is avoided.
Drawings
FIG. 1 is a flowchart illustrating a method for writing a TV license code according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of a method for writing a TV license code according to the present invention;
FIG. 3 is a flowchart illustrating a third embodiment of a method for writing a TV license code according to the present invention;
fig. 4 is a block diagram of a tv license code writing apparatus according to an embodiment of 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.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for writing a tv permission code according to a first embodiment of the present invention.
In a first embodiment, the method for writing the television set license code includes the following steps:
step S10: the television and the server establish wireless communication connection.
It should be understood that the main body of execution of the present embodiment is the television set. The method comprises the following steps that the television can enter a production line station for detecting the functions of the whole television after pre-operation such as aging of the whole television and the like is carried out in the production process, after the television finishes the pre-operation such as aging of the whole television and the like, the television exits from an aging mode and establishes wireless communication connection with a server, and specifically, the wireless communication connection can be realized by automatically turning on wireless broadband WiFi and connecting with specific wireless broadband WiFi in the manufacturing environment such as a factory and the like; it is understood that the television 10 may be connected to the server 20 in a wireless communication manner during other production processes of the television 10.
Step S20: and the television acquires the television attribute parameters and sends the television attribute parameters to the server.
It can be understood that the tv attribute parameters are obtained locally, that is, from the memory of the tv, and the tv attribute parameters include attribute parameters such as media access control MAC information, Client Type (Client Type), projection address (Project ID), and software version of the wireless broadband WiFi.
Step S30: and the server searches a corresponding machine permission code according to the television attribute parameters and feeds back the machine permission code to the television.
It should be noted that, because the tv attribute parameters of different tvs are different, that is, each tv has a unique tv attribute parameter, the tv attribute parameters and the machine license codes are in one-to-one correspondence, the server may pre-establish a mapping relationship table, where the mapping relationship table includes the correspondence between the tv attribute parameters and the machine license codes, and then may search for the machine license codes corresponding to the tv attribute parameters from the mapping relationship table.
In this embodiment, the server searches for a corresponding machine license code according to the tv attribute parameter, and feeds back the machine license code to the tv, and specifically includes:
the server judges whether the corresponding machine license code is distributed according to the television attribute parameters, inquires the machine license code from the distributed data when the machine license code is distributed, and feeds the machine license code back to the television;
and when the machine license code is not distributed, the server acquires order information from a business system, searches the machine license code corresponding to the television attribute parameter from the order information, and feeds back the searched machine license code to the television.
It should be understood that the television transmits the television attribute parameters to the server via the wireless communication connection. The MAC information of the WiFi is unique, and the server judges whether data are distributed or not according to the MAC information of the WiFi; if the data are distributed, inquiring the distributed data, inquiring a machine permission code corresponding to the television attribute parameter from the distributed data, and feeding back the machine permission code to the television; if the data is not distributed, obtaining order information from a business system, searching a machine permission code corresponding to the television attribute parameter from the order information, and feeding back the searched machine permission code to the television. In the prior art, no matter any television applies for the machine permission code, a new machine permission code is allocated, and when the same television needs to be copied again due to copying errors or other abnormalities, a new machine permission code is reallocated to avoid repetition of the machine permission code, so that the waste of the machine permission code is caused.
Step S40: and the television receives the machine permission code fed back by the server and writes the machine permission code into a preset storage area.
It should be noted that the television receives the machine permission code fed back by the server, and stores the machine permission code in a specific partition of the television, that is, the preset storage area, and the television can write the machine permission code by itself without an external device.
It should be understood that the Machine License code (Machine ID) includes a Device identifier (Device ID), a wired network card media access control MAC address, a high bandwidth digital content protection Key (HDCP Key)1.4, HDCP Key 2.2, a Netflix electronic serial number (Netflix ESN), a digital rights management Key (Widevine Key), and a wireless high definition technology (WIDI) License (License). Therefore, the television can perform function verification on various functions of the television according to the machine license code.
In the embodiment, a wireless communication connection is established between a television and a server, the television acquires television attribute parameters and sends the television attribute parameters to the server, the server searches for corresponding machine permission codes according to the television attribute parameters and feeds the machine permission codes back to the television, and searches for corresponding machine permission codes according to the television attribute parameters, the television attribute parameters and the machine permission codes are in one-to-one correspondence, the machine permission codes are copied for multiple times by the same television, the searched machine permission codes are unique, new machine permission codes do not need to be allocated for copying, and waste of the machine permission codes is avoided; the machine permission code fed back by the server is received, the machine permission code is written into the preset storage area, the serial port communication is connected without a computer rack, and the machine permission code is written into the television, so that the situation of poor mainboard exists in the production process, and the waste of the machine permission code caused by the replacement of an integrated circuit or after the mainboard is replaced is avoided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for writing tv license codes according to a second embodiment of the present invention, which is based on the first embodiment shown in fig. 1.
In the second embodiment, after the step S40, the method further includes:
step S50: and the television reads the written machine permission code from the preset storage area.
It should be understood that, in order to avoid an exception occurring in the process of writing the machine license code, the written machine license code may be verified, the television reads the written machine license code from the preset storage area, and meanwhile, obtains the machine license code sent to the television by the server, and compares the two machine license codes, thereby verifying whether the written machine license code is correct.
Step S60: and the television compares the written machine permission code with the machine permission code fed back by the server.
It can be understood that the written machine permission code and the machine permission code fed back by the server can be compared by the user center of the television to judge whether the two are consistent, if the comparison result is consistent, the process of writing the machine permission code is normal, the machine permission code can be used for function verification, if the comparison result is inconsistent, the process of writing the machine permission code is abnormal, the machine permission code cannot be used for function verification, and the abnormality can be warned to feed back a technical engineer to correct the abnormality.
Step S70: and when the comparison result is inconsistent, the television prompts.
In a specific implementation, the television compares the written machine permission code with the machine permission code fed back by the server, if the comparison result is inconsistent, the process of writing the machine permission code is abnormal, the machine permission code cannot be used for function verification, and a prompt can be given through a display interface of the television, for example, alarm prompt information that the comparison result is inconsistent is displayed, so that relevant personnel can find the abnormality in time.
Step S80: and when the comparison result is consistent, the television sends a verification request to the server, and the server verifies the fed back machine license code and feeds back the verification result to the television.
It should be noted that, when the comparison result is the same, the television sends the verification request to the server, and in order to further ensure normal use of the machine license code, the server verifies the validity of the fed back machine license code when receiving the verification request, specifically, determines whether the machine license code is used repeatedly, if not, it indicates that the fed back machine license code is valid, and if it is used repeatedly, it indicates that the fed back machine license code is invalid, and the server feeds back the verification result to the television. The machine license code is the identification of various kinds of software of the television, the machine license code of each television is unique and cannot be used by other televisions, otherwise, conflict exists when the software is activated subsequently.
In this embodiment, after the step S80, the method further includes:
step S90: and when the verification result is valid, the television performs function verification according to the machine license code.
It should be understood that, the television receives the verification result fed back by the server, and if the verification result is that the fed back machine license code is valid, it indicates that the machine license code can be normally used, and if the verification result is that the fed back machine license code is invalid, it indicates that the machine license code cannot be normally used.
It can be understood that, when the verification result is valid, that is, the fed back machine license code is valid, the television set may perform function verification on each function of the television set according to the machine license code, specifically, verify the function of the activation program of each software in the television set, and verify whether each software can be successfully activated and normally used.
Step S100: and when the verification result is invalid, the television prompts.
It should be noted that, when the verification result is invalid, the fed back machine license code is invalid, and the television may display the verification result that the fed back machine license code is invalid through a display interface to prompt. The television can also be in communication connection with the preset user terminal through a wireless network to send warning information to the preset user terminal, and the preset user terminal can be a terminal of a smart phone or a personal computer of a technical engineer, so that the technical engineer can check the warning information through the preset user terminal, check order information of the television in time, find out abnormity existing in the production process and correct the abnormity in time.
In this embodiment, the written machine permission code is compared with the machine permission code fed back by the server at the television end, and the written machine permission code is checked in time, so that the failure of function verification caused by using the written abnormal machine permission code to perform function verification is avoided; by performing function verification when the machine permission code fed back by the server is valid and prompting when the machine permission code is invalid, the abnormality existing in the production process can be searched and corrected in time, and the validity and efficiency of function verification are improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for writing a tv license code according to a third embodiment of the present invention, which is proposed based on the first embodiment or the second embodiment; in this example, the description is made based on the above-described first embodiment.
In this embodiment, the tv attribute parameters include: media access control information of the wireless broadband, client type and projection address;
the step S20 specifically includes:
step S201: the television acquires the medium access control information of the wireless broadband, the client type and the showing address, and sends the medium access control information of the wireless broadband, the client type and the showing address to the server.
In a specific implementation, in order to ensure the security of data transmission, the machine license code to be transmitted may be encrypted, the attribute parameter of the television is unique and may be used to distinguish different televisions, the television sends the media access control information of the wireless broadband, the client type and the projection address to the server through the wireless communication connection, and the machine license code to be transmitted may be encrypted according to the media access control information of the wireless broadband, the client type and the projection address, so as to improve the security.
The step S30 specifically includes:
step S301: the server searches a corresponding machine permission code according to the medium access control information of the wireless broadband, the client type and the showing address, encrypts the machine permission code according to the medium access control information of the wireless broadband, the client type and the showing address, and feeds back the encrypted machine permission code to the television.
The server may compose the media access control information, the client type, and the projection address of the wireless broadband into first text information, calculate an MD5Message digest algorithm value (MD5Message-DigestAlgorithm) of the first text information, obtain an MD5 value of the first text information, use the MD5 value of the first text information as an encryption key, encrypt the machine license code by the encryption key, obtain an encrypted machine license code, and feed back the encrypted machine license code to the television.
In this embodiment, the step S40 specifically includes:
step S401: and the television receives the encrypted machine permission code fed back by the server, decrypts the encrypted machine permission code according to the medium access control information of the wireless broadband, the client type and the showing address to obtain the machine permission code, and writes the machine permission code into a preset storage area.
It should be understood that, the tv set may obtain local media access control information, client type and showing address, compose the media access control information, client type and showing address of the wireless broadband into second text information, calculate MD5 value of the second text information, use MD5 value of the second text information as a decryption key, decrypt the encrypted machine license code according to MD5 value of the second text information, obtain a machine license code, and store the machine license code in a specific partition of the tv set, i.e. the preset storage area, without an external device, and the tv set may implement self-writing of the machine license code. In this embodiment, the machine license code includes: at least one of a device identifier, a wired network card media access control address, a high-bandwidth digital content protection key, a network fly electronic serial number, a digital rights management key, and a wireless high-definition technology license.
In this embodiment, the transmitted machine license code is encrypted, the television receives the encrypted machine license code, and a decryption key is obtained by directly calculating the media access control information of the local wireless broadband, the client type and the showing address, so as to decrypt the encrypted machine license code, and the encryption key and the decryption key do not need to be transmitted, thereby avoiding leakage and improving the security of machine license code transmission.
In addition, referring to fig. 4, an embodiment of the present invention further provides a tv permission code writing device, where the tv permission code writing device includes: a television 10 and a server 20;
the television 10 is configured to establish a wireless communication connection with the server 20.
It should be understood that, in the production process, the television 10 needs to enter the production line station for detecting the functions of the complete machine after pre-operation such as complete machine aging, and after the television 10 finishes pre-operation from the aging line, the television 10 exits from the aging mode and establishes wireless communication connection with the server 20, specifically, wireless communication connection can be realized by automatically turning on wireless broadband WiFi and connecting with specific wireless broadband WiFi in the manufacturing environment such as a factory; it is understood that the television 10 may be connected to the server 20 in a wireless communication manner during other production processes of the television 10.
The television 10 is further configured to obtain attribute parameters of the television 10, and send the attribute parameters of the television 10 to the server 20.
It can be understood that the tv 10 attribute parameters are obtained locally, that is, from the memory of the tv 10, and the tv 10 attribute parameters include media access control MAC information of the wireless broadband WiFi, Client Type (Client Type), projection address (Project ID), and software version.
The server 20 is configured to search for a corresponding machine license code according to the attribute parameter of the television 10, and feed back the machine license code to the television 10.
It should be noted that, because the attribute parameters of the television 10 of different televisions 10 are different, that is, each television 10 has a unique attribute parameter of the television 10, the attribute parameters of the television 10 are in one-to-one correspondence with the machine license codes, the server 20 may pre-establish a mapping relationship table, where the mapping relationship table includes the correspondence between the attribute parameters of the television 10 and the machine license codes, and then may search the machine license codes corresponding to the attribute parameters of the television 10 from the mapping relationship table.
In this embodiment, the server 20 searches for a corresponding machine license code according to the attribute parameter of the television 10, and feeds back the machine license code to the television 10, which specifically includes:
the server 20 determines whether the corresponding machine license code has been distributed according to the attribute parameter of the television 10, and when the machine license code has been distributed, queries the machine license code from the distributed data, and feeds back the machine license code to the television 10;
when the machine license code is not distributed, the server 20 obtains order information from a business system, searches the machine license code corresponding to the attribute parameter of the television 10 from the order information, and feeds back the searched machine license code to the television 10.
It should be understood that the tv 10 sends the tv 10 attribute parameters to the server 20 via the wireless communication connection. The MAC information of the WiFi is unique, and the server 20 determines whether data has been distributed according to the MAC information of the WiFi; if the data is distributed, inquiring the distributed data, inquiring a machine permission code corresponding to the attribute parameter of the television 10 from the distributed data, and feeding back the machine permission code to the television 10; if the data is not distributed, obtaining order information from a business system, searching a machine permission code corresponding to the attribute parameter of the television 10 from the order information, and feeding back the searched machine permission code to the television 10. Since the attribute parameters of the television 10 of different televisions 10 are different, that is, each television 10 has a unique attribute parameter of the television 10, and the attribute parameters of the television 10 and the machine license codes are in one-to-one correspondence, that is, each television 10 is assigned with a unique machine license code, thereby avoiding waste of the machine license codes.
The television 10 is further configured to receive the machine permission code fed back by the server 20, and write the machine permission code into a preset storage area.
It should be noted that, the television 10 receives the machine permission code fed back by the server 20, and stores the machine permission code in the specific partition of the television 10, that is, the preset storage area, and the television 10 can write the machine permission code by itself without an external device.
It should be understood that the Machine License code (Machine ID) includes a Device identifier (Device ID), a wired network card media access control MAC address, a high bandwidth digital content protection Key (HDCP Key)1.4, HDCP Key 2.2, a Netflix electronic serial number (Netflix ESN), a digital rights management Key (Widevine Key), and a wireless high definition technology (WIDI) License (License). So that the television 10 can perform function verification on each function of the television 10 according to the machine license code.
In this embodiment, a wireless communication connection is established between a television 10 and a server 20, the television 10 acquires attribute parameters of the television 10, and sends the attribute parameters of the television 10 to the server 20, the server 20 searches for a corresponding machine permission code according to the attribute parameters of the television 10, and feeds back the machine permission code to the television 10, and searches for a corresponding machine permission code according to the attribute parameters of the television 10, the attribute parameters of the television 10 and the machine permission codes are in one-to-one correspondence, the same television 10 copies the machine permission code for multiple times, and the searched machine permission code is a unique machine permission code, so that a new machine permission code does not need to be allocated for copying, and waste of the machine permission code is avoided; the machine permission code fed back by the server 20 is received, the machine permission code is written into the preset storage area, and the machine permission code is written into the television 10 through serial communication without a computer rack, so that the situation of poor mainboard exists in the production process, and the waste of the machine permission code caused by the replacement of an integrated circuit or after the replacement of the mainboard is avoided.
Further, based on the first embodiment of the tv set permission code writing apparatus shown in fig. 4, a second embodiment of the tv set permission code writing apparatus according to the present invention is provided.
In the second embodiment, the television 10 is further configured to read the written machine license code from the preset storage area.
It should be understood that, in order to avoid an exception in the process of writing the machine license code, the written machine license code may be verified, the television 10 reads the written machine license code from the preset storage area, and meanwhile, obtains the machine license code sent to the television 10 by the server 20, and compares the two machine license codes, thereby verifying whether the written machine license code is correct.
The television 10 is further configured to compare the written machine license code with the machine license code fed back by the server 20.
It can be understood that, the user center of the television 10 may compare the written machine permission code with the machine permission code fed back by the server 20, determine whether the two are consistent, if the comparison result is consistent, it indicates that the process of writing the machine permission code is normal, the machine permission code may be used for function verification, if the comparison result is inconsistent, it indicates that the process of writing the machine permission code is abnormal, the machine permission code may not be used for function verification, and the abnormality may be warned to feed back a technical engineer to correct the abnormality.
And when the comparison result is inconsistent, the television 10 is further configured to prompt.
In a specific implementation, the television 10 compares the written machine permission code with the machine permission code fed back by the server 20, and if the comparison result is inconsistent, it indicates that the process of writing the machine permission code is abnormal, the machine permission code cannot be used for function verification, and a prompt may be performed through a display interface of the television 10, for example, alarm prompt information indicating that the comparison result is inconsistent is displayed, so that a relevant person may find the abnormality in time.
And when the comparison result is consistent, the television 10 is further configured to send a verification request to the server 20, and the server 20 verifies the fed back machine license code and feeds back the verification result to the television 10.
It should be noted that, when the comparison result is the same, the television 10 sends the verification request to the server 20, and in order to further ensure normal use of the machine license code, when receiving the verification request, the server 20 verifies the validity of the fed back machine license code, specifically, determines whether the machine license code is used repeatedly, if not, it indicates that the fed back machine license code is valid, and if it is used repeatedly, it indicates that the fed back machine license code is invalid, and the server 20 feeds back the verification result to the television 10. The machine license code is an identification of various software of the television 10, and the machine license code of each television 10 is unique and cannot be used by other televisions 10, otherwise, a conflict exists during subsequent software activation.
And when the verification result is valid, the television 10 is further configured to perform function verification according to the machine license code.
It should be understood that, the television 10 receives the verification result fed back by the server 20, and if the verification result is that the fed back machine license code is valid, it indicates that the machine license code can be normally used, and if the verification result is that the fed back machine license code is invalid, it indicates that the machine license code cannot be normally used.
It can be understood that, when the verification result is valid, that is, the fed back machine license code is valid, the television 10 may perform function verification on each function of the television 10 according to the machine license code, specifically, verify the function of the activation program of each software in the television 10, and verify whether each software can be successfully activated or not, and can be normally used.
And when the verification result is invalid, the television 10 is further configured to prompt.
It should be noted that, when the verification result is invalid, that is, the fed back machine license code is invalid, the television 10 may display the verification result that the fed back machine license code is invalid through a display interface to prompt. The television 10 can also be in communication connection with the preset user terminal through a wireless network to send warning information to the preset user terminal, and the preset user terminal can be a terminal of a smart phone or a personal computer of a technical engineer, so that the technical engineer can check the warning information through the preset user terminal, check order information of the television 10 in time, find out abnormality existing in a production process, and correct the abnormality in time.
In this embodiment, by comparing the written machine permission code with the machine permission code fed back by the server 20 at the television 10 end, the written machine permission code is checked in time, so as to avoid that the written abnormal machine permission code is used for performing function verification, which causes failure of function verification; by performing function verification when the machine permission code fed back by the server 20 is valid and prompting when the machine permission code is invalid, the abnormality existing in the production process can be searched and corrected in time, and the validity and efficiency of function verification are improved.
Further, with continued reference to fig. 4, a third embodiment of the tv set permission code writing apparatus according to the present invention is proposed based on the first embodiment or the second embodiment; in this example, a description is given based on the first embodiment of the television set license code writing apparatus described above.
In this embodiment, the attribute parameters of the television 10 include: media access control information of the wireless broadband, client type and projection address;
the television 10 is further configured to obtain the media access control information of the wireless broadband, the client type, and the showing address, and send the media access control information of the wireless broadband, the client type, and the showing address to the server 20.
In a specific implementation, in order to ensure the security of data transmission, the machine license code to be transmitted may be encrypted, the attribute parameters of the television 10 are unique and may be used to distinguish different televisions 10, the television 10 sends the wireless communication connection the media access control information of the wireless broadband, the client type and the presentation address to the server 20, and the machine license code to be transmitted may be encrypted according to the media access control information of the wireless broadband, the client type and the presentation address, so as to improve the security.
The server 20 is further configured to search for a corresponding machine license code according to the media access control information of the wireless broadband, the client type, and the showing address, encrypt the machine license code according to the media access control information of the wireless broadband, the client type, and the showing address, and feed back the encrypted machine license code to the television 10.
The server 20 may compose the media access control information, the client type, and the showing address of the wireless broadband into first text information, calculate an MD5Message digest algorithm value (MD5Message-DigestAlgorithm) of the first text information, obtain an MD5 value of the first text information, use the MD5 value of the first text information as an encryption key, encrypt the machine license code by the encryption key, obtain an encrypted machine license code, and feed back the encrypted machine license code to the television 10.
The television 10 is further configured to receive the encrypted machine permission code fed back by the server 20, decrypt the encrypted machine permission code according to the media access control information of the wireless broadband, the client type, and the showing address, obtain a machine permission code, and write the machine permission code in a preset storage area.
It should be understood that, the tv 10 may obtain local media access control information, client type and showing address, compose the wireless broadband media access control information, client type and showing address into second text information, calculate MD5 value of the second text information, use MD5 value of the second text information as a decryption key, decrypt the encrypted machine license code according to MD5 value of the second text information, obtain a machine license code, and store the machine license code in a specific partition of the tv 10, i.e. the preset storage area, and the tv 10 may implement self-writing of the machine license code without an external device. In this embodiment, the machine license code includes: at least one of a device identifier, a wired network card media access control address, a high-bandwidth digital content protection key, a network fly electronic serial number, a digital rights management key, and a wireless high-definition technology license.
In this embodiment, by encrypting the transmitted machine license code, the television 10 receives the encrypted machine license code, and directly obtains the decryption key through the local media access control information of the wireless broadband, the client type, and the projection address, and decrypts the encrypted machine license code, and the encryption key and the decryption key do not need to be transmitted, thereby avoiding leakage, and improving the security of machine license code transmission.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third and the like do not denote any order, but rather the words first, second and the like may be interpreted as indicating any order.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be substantially implemented or a part contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
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 (10)

1. A method for writing a television license code, the method comprising:
the television and the server establish wireless communication connection;
the television acquires television attribute parameters and sends the television attribute parameters to the server;
the server searches a corresponding machine permission code according to the television attribute parameters and feeds the machine permission code back to the television;
and the television receives the machine permission code fed back by the server and writes the machine permission code into a preset storage area.
2. The method for writing a tv set license code according to claim 1, wherein the tv set receives the machine license code fed back by the server, and after writing the machine license code in a preset storage area, the method for writing a tv set license code further comprises:
the television reads the written machine permission code from the preset storage area;
the television compares the written machine permission code with the machine permission code fed back by the server;
when the comparison result is inconsistent, the television prompts;
and when the comparison result is consistent, the television sends a verification request to the server, and the server verifies the fed back machine license code and feeds back the verification result to the television.
3. The method for writing a tv set license code according to claim 2, wherein when the comparison result is a match, the tv set sends a verification request to the server, and after the server verifies the fed back tv set license code and feeds back the verification result to the tv set, the method for writing a tv set license code further comprises:
when the verification result is valid, the television performs function verification according to the machine license code;
and when the verification result is invalid, the television prompts.
4. The method for writing the tv license code according to claim 1, wherein the server searches for the corresponding machine license code according to the tv attribute parameter, and feeds back the machine license code to the tv, specifically comprising:
the server judges whether the corresponding machine license code is distributed according to the television attribute parameters, inquires the machine license code from the distributed data when the machine license code is distributed, and feeds the machine license code back to the television;
and when the machine license code is not distributed, the server acquires order information from a business system, searches the machine license code corresponding to the television attribute parameter from the order information, and feeds back the searched machine license code to the television.
5. The television set license code writing method of claim 1, wherein the television set attribute parameters include: media access control information of the wireless broadband, client type and projection address;
the method for sending the television attribute parameters to the server includes the following steps:
the television acquires the medium access control information of the wireless broadband, the client type and the showing address, and sends the medium access control information of the wireless broadband, the client type and the showing address to the server;
correspondingly, the server searches for a corresponding machine license code according to the television attribute parameter, and feeds back the machine license code to the television, and the method specifically includes:
the server searches a corresponding machine permission code according to the medium access control information of the wireless broadband, the client type and the showing address, encrypts the machine permission code according to the medium access control information of the wireless broadband, the client type and the showing address, and feeds back the encrypted machine permission code to the television.
6. The method for writing a license code of a television set according to claim 5, wherein the television set receives the machine license code fed back by the server, and writes the machine license code into a preset storage area, specifically comprising:
and the television receives the encrypted machine permission code fed back by the server, decrypts the encrypted machine permission code according to the medium access control information of the wireless broadband, the client type and the showing address to obtain the machine permission code, and writes the machine permission code into a preset storage area.
7. A television set license code writing apparatus, characterized in that the television set license code writing apparatus comprises: a television and a server;
the television is used for establishing wireless communication connection with the server;
the television is also used for acquiring television attribute parameters and sending the television attribute parameters to the server;
the server is used for searching a corresponding machine license code according to the television attribute parameters and feeding back the machine license code to the television;
and the television is also used for receiving the machine permission code fed back by the server and writing the machine permission code into a preset storage area.
8. The television set license code writing apparatus according to claim 7, wherein the television set is further configured to read the written machine license code from the preset storage area;
the television is also used for comparing the written machine permission code with the machine permission code fed back by the server;
when the comparison result is inconsistent, the television is also used for prompting;
when the comparison result is consistent, the television is also used for sending a verification request to the server, and the server verifies the fed back machine license code and feeds back the verification result to the television;
when the verification result is valid, the television is also used for performing function verification according to the machine license code;
and when the verification result is invalid, the television is also used for prompting.
9. The tv license code writing apparatus according to claim 7, wherein the server is further configured to determine whether a corresponding machine license code has been distributed according to the tv attribute parameter, and when the machine license code has been distributed, to query the distributed data for the machine license code and to feed back the machine license code to the tv;
the server is further configured to, when the machine license code is not distributed, obtain order information from a business system, search the machine license code corresponding to the television attribute parameter from the order information, and feed back the searched machine license code to the television.
10. The television set license code writing apparatus of claim 7, wherein the television set attribute parameters include: media access control information of the wireless broadband, client type and projection address;
the television is further configured to acquire the media access control information of the wireless broadband, the client type and the showing address, and send the media access control information of the wireless broadband, the client type and the showing address to the server;
the server is further configured to search for a corresponding machine license code according to the media access control information of the wireless broadband, the client type, and the showing address, encrypt the machine license code according to the media access control information of the wireless broadband, the client type, and the showing address, and feed back the encrypted machine license code to the television;
the television is further configured to receive the encrypted machine permission code fed back by the server, decrypt the encrypted machine permission code according to the media access control information of the wireless broadband, the client type, and the projection address, obtain a machine permission code, and write the machine permission code in a preset storage area.
CN201910975427.6A 2019-10-12 2019-10-12 Television license code writing method and device Active CN110784767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910975427.6A CN110784767B (en) 2019-10-12 2019-10-12 Television license code writing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910975427.6A CN110784767B (en) 2019-10-12 2019-10-12 Television license code writing method and device

Publications (2)

Publication Number Publication Date
CN110784767A true CN110784767A (en) 2020-02-11
CN110784767B CN110784767B (en) 2022-03-25

Family

ID=69385299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910975427.6A Active CN110784767B (en) 2019-10-12 2019-10-12 Television license code writing method and device

Country Status (1)

Country Link
CN (1) CN110784767B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672354A (en) * 2020-12-25 2021-04-16 四川长虹电器股份有限公司 Application program upgrading authentication method and device and intelligent terminal equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561025A (en) * 2004-03-03 2005-01-05 北京北大方正电子有限公司 Method of binding digital contents and hardware with hardward adaptive
CN101794360A (en) * 2001-06-07 2010-08-04 松下电器产业株式会社 A method using digital product contents by using a server device to manage terminal devices
CN104134122A (en) * 2014-07-30 2014-11-05 华为技术有限公司 Method and device for applying for license
US20160055026A1 (en) * 2006-10-17 2016-02-25 Manageiq, Inc. Compliance-based adaptations in managed virtual systems
CN105933700A (en) * 2016-04-22 2016-09-07 Tcl海外电子(惠州)有限公司 Television application program license testing method and device, and television
CN106685644A (en) * 2015-11-10 2017-05-17 阿里巴巴集团控股有限公司 Communication encryption method, apparatus, gateway, server, intelligent terminal and system
CN109120573A (en) * 2017-06-22 2019-01-01 武汉大学 Transmission key generation method, terminal and server
US20190166392A1 (en) * 2017-11-29 2019-05-30 Sony Corporation Qr codes for guided service authorization

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794360A (en) * 2001-06-07 2010-08-04 松下电器产业株式会社 A method using digital product contents by using a server device to manage terminal devices
CN1561025A (en) * 2004-03-03 2005-01-05 北京北大方正电子有限公司 Method of binding digital contents and hardware with hardward adaptive
US20160055026A1 (en) * 2006-10-17 2016-02-25 Manageiq, Inc. Compliance-based adaptations in managed virtual systems
CN104134122A (en) * 2014-07-30 2014-11-05 华为技术有限公司 Method and device for applying for license
CN106685644A (en) * 2015-11-10 2017-05-17 阿里巴巴集团控股有限公司 Communication encryption method, apparatus, gateway, server, intelligent terminal and system
CN105933700A (en) * 2016-04-22 2016-09-07 Tcl海外电子(惠州)有限公司 Television application program license testing method and device, and television
CN109120573A (en) * 2017-06-22 2019-01-01 武汉大学 Transmission key generation method, terminal and server
US20190166392A1 (en) * 2017-11-29 2019-05-30 Sony Corporation Qr codes for guided service authorization

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
华颖: "两种方式实现数字电视网络许可证的管理", 《电子科技》 *
马兆丰等: "支持时空约束的可信数字版权管理安全许可协议", 《通信学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672354A (en) * 2020-12-25 2021-04-16 四川长虹电器股份有限公司 Application program upgrading authentication method and device and intelligent terminal equipment
CN112672354B (en) * 2020-12-25 2022-02-01 四川长虹电器股份有限公司 Application program upgrading authentication method and device and intelligent terminal equipment

Also Published As

Publication number Publication date
CN110784767B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
US11258792B2 (en) Method, device, system for authenticating an accessing terminal by server, server and computer readable storage medium
US6934842B2 (en) Identification code management method and management system
CN108376211B (en) Software authorization management method, server and system
EP3629610A1 (en) Method and apparatus for managing embedded universal integrated circuit card configuration file
US20120036568A1 (en) Provisioning device
US20060141986A1 (en) Electronic apparatus and wireless communication control method
JP2008017462A (en) Data storage device, management server, integrated circuit, data update system, electric household appliance, data update method, encryption method, and encryption/decryption key generation method
CN109286638B (en) Automobile diagnosis equipment authentication method and related device
CN112202747A (en) Target device binding method and device, storage medium and electronic device
CN109359445B (en) Database password management system and method
CN112149066A (en) Activation verification method and device for software
CN111931160B (en) Authority verification method, authority verification device, terminal and storage medium
US20230069877A1 (en) Methods for restricting read access to supply chips
CN111586671A (en) Embedded user identification card configuration method and device, communication equipment and storage medium
US8775582B2 (en) Communication device setting apparatus, communication device setting method, and recording medium
CN110784767B (en) Television license code writing method and device
CN111931254A (en) Hybrid identification method for unique identification of Android device
US20060098226A1 (en) Method and system for performing a printing process, method and apparatus for processing information, print server and method of performing a printing process in print server, and program
CN105516136A (en) Authority management method, device and system
CN109492384B (en) Method for receiving entity access and accessing password device, password device and entity
CN107992760B (en) Key writing method, device, equipment and storage medium
CN104573475A (en) Method and system for authenticating transcoding service program
CN111290884A (en) Data backup method and device for cash register equipment
CN111737747A (en) Database security method, device, equipment and computer storage medium
CN110602121B (en) Network key obtaining method and device and computer readable storage medium

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

Address after: 516000 No. 1 Qiaoguang Road, Chenjiang street, Zhongkai high tech Zone, Huizhou City, Guangdong Province

Applicant after: Maojia Technology (Guangdong) Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. 19 district

Applicant before: TCL OVERSEAS ELECTRONICS (HUIZHOU) Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant