[go: up one dir, main page]

CN111125726B - Initialization method and device for display equipment - Google Patents

Initialization method and device for display equipment Download PDF

Info

Publication number
CN111125726B
CN111125726B CN201911170282.9A CN201911170282A CN111125726B CN 111125726 B CN111125726 B CN 111125726B CN 201911170282 A CN201911170282 A CN 201911170282A CN 111125726 B CN111125726 B CN 111125726B
Authority
CN
China
Prior art keywords
display device
initialization
module
background server
ciphertext
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
CN201911170282.9A
Other languages
Chinese (zh)
Other versions
CN111125726A (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.)
Guangzhou Yang Cheng Tong Co ltd
Original Assignee
Guangzhou Yang Cheng Tong 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 Guangzhou Yang Cheng Tong Co ltd filed Critical Guangzhou Yang Cheng Tong Co ltd
Priority to CN201911170282.9A priority Critical patent/CN111125726B/en
Publication of CN111125726A publication Critical patent/CN111125726A/en
Application granted granted Critical
Publication of CN111125726B publication Critical patent/CN111125726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method and a device for initializing display equipment, wherein the method comprises the steps that the display equipment sends initialization parameters to a background server; the background server receives the initialization parameters sent by the display equipment and generates a new key corresponding to the identification of the display equipment; the background server encrypts the identification of the display equipment and the new key based on the initial key to obtain ciphertext of the display equipment; the background server sends ciphertext parameters to the display device, wherein the ciphertext parameters at least comprise ciphertext; the display equipment receives the ciphertext parameter sent by the background server, decrypts the ciphertext to obtain a target ciphertext, and updates the initial key to the target ciphertext. Therefore, the initialization parameters of the display equipment are encrypted through the background server to obtain the ciphertext of the display equipment, and the display equipment analyzes the ciphertext, so that the initialization of the display equipment is realized, the safety of displaying the two-dimensional code data can be improved, and the operation efficiency of the display equipment is improved.

Description

Initialization method and device for display equipment
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and apparatus for initializing a display device.
Background
With the progress of technology and network technology and the development of society, network information transmission has penetrated into aspects of people's life, such as electronic shopping, social networking, network marketing, instant messaging, etc.; with the generation of the services, the two-dimensional code has the characteristics of large storage capacity, easy identification and analysis, rapid propagation on the Internet and the like, and is gradually and widely applied in the Internet field. However, due to the characteristic that the two-dimensional code is easy to identify and analyze, the situation that the two-dimensional code is copied and tampered often occurs, so that it is important how to improve the safety and reliability of the two-dimensional code data.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an initialization method and device for display equipment, which can be used for initializing the display equipment for displaying the two-dimension code, thereby being beneficial to ensuring the safety of the two-dimension code data and improving the operation efficiency of the display equipment.
In order to solve the above technical problems, a first aspect of an embodiment of the present invention discloses a method for initializing a display device, where the method includes:
the method is applied to the display equipment and a background server, the display equipment establishes communication with the background server through a user side, and the method comprises the following steps:
The display device sends initialization parameters to the background server, wherein the initialization parameters at least comprise an identifier of the display device and an initial key of the display device;
the background server receives the initialization parameters sent by the display equipment and generates a new key corresponding to the identification of the display equipment;
the background server encrypts the identification of the display equipment and the new key based on the initial key to obtain ciphertext of the display equipment;
the background server sends ciphertext parameters to the display device, wherein the ciphertext parameters at least comprise the ciphertext;
and the display equipment receives the ciphertext parameter sent by the background server, decrypts the ciphertext to obtain a target ciphertext, and updates the initial key to the target ciphertext.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the background server encrypts the identifier of the display device and the new key based on the initial key, so as to obtain a ciphertext of the display device, and after the method further includes:
the background server calculates the verification code of the ciphertext based on a predetermined verification code calculation algorithm and sends the verification code to the display device;
The display equipment receives the verification code sent by the background server;
and after the display device receives the ciphertext parameter sent by the background server, the method further comprises:
and the display equipment checks the verification code, and when the verification passes, the operation of decrypting the ciphertext is triggered and executed to obtain a target ciphertext.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the generating, by the background server, a new key corresponding to the identifier of the display device, the method further includes:
the background server obtains the time for generating the new key, determines the time as the initialization time of the display device, and sends the initialization time to the display device;
and the display equipment receives the initialization time sent by the background server and stores the initialization time.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the display device updates the initial key to the target ciphertext, the method further includes:
the display equipment judges whether the initial count value corresponding to a counter of the display equipment is 0 or not, and the counter is used for recording the update times of the two-dimensional code displayed by the display equipment in the using process of the display equipment;
When the initial count value is judged not to be 0, the display device updates the initial count value to be 0.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the display device sends the initialization parameter to the background server, the method further includes:
the display device detects whether the current condition of the display device meets a predetermined initialization condition;
when the current condition is detected to meet the initialization condition, the display equipment triggers the operation of sending initialization parameters to the background server;
wherein the display device detecting whether the current condition of the display device satisfies a predetermined initialization condition includes:
the display device detects whether an initialization request for the display device is received, and when the initialization request is detected to be received, the display device determines that the current condition of the display device meets a predetermined initialization condition; or,
the display equipment acquires current time and judges whether the current time is a certain initialization time in a predetermined initialization time set;
When the current time is judged to be a certain initialization time in the initialization time set, the display device determines that the current condition of the display device meets a predetermined initialization condition.
The second aspect of the embodiment of the invention discloses an initializing device of a display device, which comprises the display device and a background server, wherein the display device establishes communication with the background server through a user terminal, the display device comprises a first sending module, a first receiving module, a decryption module and an updating module, and the background server comprises a second receiving module, a generating module, an encrypting module and a second sending module, wherein:
the first sending module is configured to send an initialization parameter to the background server, where the initialization parameter at least includes an identifier of the display device and an initial key of the display device;
the second receiving module is used for receiving the initialization parameters sent by the display equipment;
the generation module is used for generating a new key corresponding to the identification of the display equipment;
the encryption module is used for encrypting the identification of the display equipment and the new key based on the initial key to obtain ciphertext of the display equipment;
The second sending module is configured to send ciphertext parameters to the display device, where the ciphertext parameters at least include the ciphertext;
the first receiving module is used for receiving the ciphertext parameters sent by the background server;
the decryption module is used for decrypting the ciphertext to obtain a target ciphertext;
and the updating module is used for updating the initial key into the target ciphertext.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the background server further includes a computing module, and the display device further includes a verification module, where:
the computing module is used for computing the verification code of the ciphertext based on a predetermined verification code computing algorithm after the encryption module encrypts the identification of the display device and the new key based on the initial key to obtain the ciphertext of the display device;
the second sending module is further configured to send the verification code to the display device;
the first receiving module is further configured to receive the verification code sent by the background server;
the verification module is used for verifying the verification code after the first receiving module receives the ciphertext parameters sent by the background server;
The decryption module is specifically configured to:
and when the verification module verifies that the verification code passes, decrypting the ciphertext to obtain a target ciphertext.
In a second aspect of the embodiment of the present invention, as an optional implementation manner, the background server further includes an obtaining module and a determining module, and the display device further includes a storage module:
the acquisition module is used for acquiring the time for generating the new key after the generation module generates the new key corresponding to the identifier of the display device;
the determining module is used for determining the time as the initialization time of the display equipment;
the second sending module is further configured to send the initialization time to the display device;
the first receiving module is further configured to receive the initialization time sent by the background server;
the storage module is used for storing the initialization time.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the display device further includes a first determining module, where:
the first judging module is used for judging whether an initial count value corresponding to a counter of the display device is 0 after the updating module updates the initial key into the target ciphertext, and the counter is used for recording the updating times of the two-dimensional code displayed by the display device in the using process of the display device;
The updating module is further configured to update the initial count value to 0 when the first judging module judges that the initial count value is not 0.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the display device further includes a detection module, where:
the detection module is used for detecting whether the current condition of the display equipment meets the predetermined initialization condition before the first sending module sends the initialization parameter to the background server;
the first sending module is specifically configured to:
when the detection module detects that the current condition meets the initialization condition, an initialization parameter is sent to the background server;
the method for detecting whether the current condition of the display device meets the predetermined initialization condition by the detection module specifically comprises the following steps:
detecting whether an initialization request for the display device is received, and determining that the current condition of the display device meets a predetermined initialization condition when the initialization request is detected to be received; or,
acquiring current time and judging whether the current time is a certain initialization time in a predetermined initialization time set;
And when the current time is judged to be a certain initialization time in the initialization time set, determining that the current condition of the display equipment meets the predetermined initialization condition.
A third aspect of the present invention discloses a display apparatus, comprising:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the operation performed by the display device in the method for initializing the display device disclosed in the first aspect of the present invention.
The fourth aspect of the present invention discloses a background server, which comprises:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to execute the operation executed by the background server in the initialization method of the display device disclosed in the first aspect of the present invention.
A fifth aspect of the present invention discloses a computer-readable storage medium storing computer instructions which, when called, are used to perform operations performed by a display device in the method for initializing a display device disclosed in the first aspect of the present invention.
A sixth aspect of the present invention discloses a computer-readable storage medium storing computer instructions that, when called, are used to perform operations performed by a background server in the initialization method of a display device disclosed in the first aspect of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention discloses a method and a device for initializing display equipment, wherein the method comprises the steps that the display equipment sends initialization parameters to a background server, and the initialization parameters at least comprise identification of the display equipment and an initial key of the display equipment; the background server receives the initialization parameters sent by the display equipment and generates a new key corresponding to the identification of the display equipment; the background server encrypts the identification of the display equipment and the new key based on the initial key to obtain ciphertext of the display equipment; the background server sends ciphertext parameters to the display device, wherein the ciphertext parameters at least comprise ciphertext; the display equipment receives the ciphertext parameter sent by the background server, decrypts the ciphertext to obtain a target ciphertext, and updates the initial key to the target ciphertext. Therefore, according to the embodiment of the invention, the background server encrypts the initialization parameters of the display device to obtain the ciphertext of the display device, and the display device analyzes the ciphertext, so that the initialization of the display device is realized, the safety of the two-dimensional code data can be improved, and the operation efficiency of the display device can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an initialization method of a display device according to an embodiment of the present invention;
FIG. 2 is a flow chart of an initialization method of another display device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an initializing device of a display apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an initializing device of another display apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural view of a display device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a background server according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, or device that comprises a list of steps or elements is not limited to the list of steps or elements but may, in the alternative, include other steps or elements not expressly listed or inherent to such process, method, article, or device.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The invention discloses a method and a device for initializing display equipment, which can encrypt initialization parameters of the display equipment through a background server to obtain ciphertext of the display equipment, and the display equipment analyzes the ciphertext, so that the initialization of the display equipment is realized, and the safety of two-dimensional code data and the operation efficiency of the display equipment can be improved. The following will describe in detail.
Example 1
Referring to fig. 1, fig. 1 is a flowchart illustrating an initialization method of a display device according to an embodiment of the invention. The initialization method of the display device described in fig. 1 can be applied to the display device and the background server, and the display device establishes communication with the background server through the user terminal. Further, the screen of the display device is an electronic paper display screen (also called an electronic paper screen or a digital paper screen). As shown in fig. 1, the initialization method of the display device may include the steps of:
101. the display device sends an initialization parameter to the background server, the initialization parameter comprising at least an identification of the display device, an initial key of the display device.
In the embodiment of the present invention, the identifier of the display device includes at least one of a serial number identifier of the display device and a graphic identifier of the display device, which is not limited in the embodiment of the present invention.
In an alternative embodiment, before performing step 101, the method for initializing a display device may further include the steps of:
the display device detects whether the current condition of the display device meets the predetermined initialization condition;
when it is detected that the current condition satisfies the initialization condition, the display device triggers execution of step 101.
In this alternative embodiment, further, when the current condition is detected not to satisfy the initialization condition, the display device ends the current flow.
In this optional embodiment, as an optional implementation manner, the detecting, by the display device, whether the current condition of the display device meets the predetermined initialization condition may include:
the display device detects whether an initialization request for the display device is received, and when the initialization request is received, the display device determines that the current condition of the display device meets a predetermined initialization condition.
In this alternative embodiment, the initialization request of the display device may be triggered by the user on the display device, or may be triggered by the user through a user terminal (e.g., a mobile phone) bound to the display device. When the initialization request of the display device is triggered by a user terminal bound with the display device, the user terminal detects the initialization request of the display device triggered by the user and sends the initialization request to the display device. Further, the triggering manner of the initialization request may include at least one of a touch triggering manner, a voice triggering manner, and a gesture triggering manner, which is not limited in this alternative embodiment. Therefore, the initialization request of the display device is determined in various modes, the triggering modes of the initialization request of the display device can be enriched, the flexibility of the triggering modes of the initialization request of the display device is improved, and the experience of a user is improved.
It can be seen that this alternative embodiment meets the initialization condition by determining that the current condition of the display device satisfies the initialization condition upon detecting an initialization request for the display device.
In this alternative embodiment, as another alternative implementation manner, the detecting, by the display device, whether the current condition of the display device meets the predetermined initialization condition may include:
the display equipment acquires the current time and judges whether the current time is a certain initialization time in a predetermined initialization time set;
when the current time is judged to be a certain initialization time in the initialization time set, the display device determines that the current condition of the display device meets the predetermined initialization condition.
Therefore, according to the alternative embodiment, whether the current time of the display device is a certain initialization time in the initialization time set is judged, so that the automatic determination that the current condition of the display device meets the predetermined initialization condition is realized, the possibility that the display device cannot be initialized in time due to the fact that a user is required to trigger an initialization request of the display device is reduced, and further the initialization efficiency of the display device is improved.
It can be seen that, in this optional embodiment, before the display device sends the initialization parameter to the background server, it is determined whether the current condition of the display device meets the initialization condition, and when the current condition is met, the subsequent initialization operation for the display device is performed, so that not only the accuracy of the initialization of the display device can be improved, but also the power consumption of the display device can be reduced, and the service life of the display device can be prolonged; and determining that the current condition of the display device meets the initialization condition by detecting the initialization request or detecting that the current time is a certain initialization time in the initialization time set, so that multiple judgment modes of the initialization condition of the display device can be provided, and the judgment flexibility of the initialization condition of the display device is improved.
102. And the background server receives the initialization parameters sent by the display equipment and generates a new key corresponding to the identification of the display equipment.
In an embodiment of the present invention, as an optional implementation manner, when the identifier of the display device is a serial number identifier of the display device, the generating, by the background server, a new key corresponding to the identifier of the display device may include:
the background server collects identification codes corresponding to preset bits in serial number identifications of the display equipment, and collects a plurality of characters in all characters in an initial key of the display equipment at equal intervals or unequal intervals;
The background server generates a new key corresponding to the identification of the display device based on the identification code corresponding to the preset bit and a plurality of bit characters in all key characters in the initial key.
In this alternative embodiment, the identification code corresponding to the preset bit in the serial number identifier of the display device is used to distinguish the display device from other display devices in the same batch of display devices, that is, the identification code corresponding to the preset bit in the serial number identifier of each display device is unique.
For example, the serial number of the display device is identified as: 1 x 98% 4-! 35, and the identification code corresponding to the preset bit in the serial number identification of the display device is: %4! The method comprises the steps of carrying out a first treatment on the surface of the The initial key of the display device is: 3092& nw20, the characters of the initial key are collected from the first character at equal intervals with two characters as intervals, and then the collected several bits of characters of the initial key are: 9n0; then the backend server bases on the%4-! And 9n0 generates a new key corresponding to the identification of the display device as: 9% n 40-! .
Therefore, according to the alternative embodiment, the unique new key can be generated by generating the new key corresponding to the identification of the display device based on the acquired identification code corresponding to the preset bit in the serial number identification of the display device and a plurality of characters in all characters in the initial key of the display device acquired at equal intervals or unequal intervals, so that the initialization accuracy of the display device is improved, and the data safety and reliability of the display device are further improved.
In this embodiment of the present invention, as another optional implementation manner, when the identifier of the display device is a graphic identifier of the display device, the generating, by the background server, a new key corresponding to the identifier of the display device may include:
the background server randomly collects a plurality of characters in all characters in an initial key of the display device at unequal intervals, and generates a new key corresponding to the identification of the display device based on the plurality of characters in all the characters in the initial key of the display device and the graphic identification of the display device.
For example, the graphical identification of the display device is: air-conditioning; the initial key of the display device is: 3092& nw20, the characters of the initial key are acquired from the first character at unequal intervals, and then the acquired several bits of characters of the initial key are: 3& w2; then, the background server generates a new key corresponding to the identifier of the display device based on ∈ and 3& w2 as follows: 3 ∈ w2.
It can be seen that this alternative embodiment generates a new key corresponding to the identifier of the display device by using a plurality of characters of all characters in the initial key of the display device acquired at unequal intervals and the graphic identifier of the display device, so that not only can a unique new key be generated, but also the intelligent function of the background server can be enriched.
In another optional embodiment, after the background server receives the initialization parameter sent by the display device and before the background service device generates the new key corresponding to the identifier of the display device, the method for initializing the display device may further include the following steps:
the background server judges whether the display device has executed initialization operation or not based on the initialization parameters of the display device;
when the display device is judged to have performed the initialization operation, the background server sends an initialization confirmation prompt to the display device and/or the user side, wherein the initialization confirmation prompt is used for prompting a user whether the initialization operation is required to be performed on the display device;
when the initialization confirmation operation for the display device is detected, the background server triggers and executes the operation of generating the new key corresponding to the identification of the display device.
In this optional embodiment, further, when it is determined that the display device has not performed the initializing operation, the background server triggers to perform the above operation of generating the new key corresponding to the identifier of the display device.
As can be seen, in this optional embodiment, after the initialization parameter of the display device is received, whether the display device has already been initialized is further determined according to the initialization parameter, and when the result of the determination is yes, an initialization confirmation prompt is sent to the display device and/or the user side, and when the initialization operation for the display device is detected, the subsequent operation is performed, so that not only can the possibility that the data of the display device is lost due to that the display device is re-initialized due to that the initialization parameter is sent by mistake by the display device be reduced, but also the initialization operation can be re-performed on the display device according to the actual situation; and when the judgment result is negative, the background server directly generates a new key corresponding to the identification of the display equipment, so that the initialization of the display equipment is ensured.
In yet another alternative embodiment, after performing the finishing step 102, the initialization method of the display device may further include the steps of:
the background server obtains the time for generating the new key, determines the time as the initialization time of the display device, and sends the initialization time to the display device;
the display device receives the initialization time sent by the background server and stores the initialization time.
In this alternative embodiment, after the background server generates the new key corresponding to the identifier of the display device, the time for generating the new key is further determined and used as the initialization time of the display device, and the initialization time of the display device is not required to be redetermined, so that the determination efficiency of the initialization time of the display device can be improved, and the time of the new key can be used as the initialization time of the display device, thereby improving the determination accuracy of the initialization time of the display device.
103. The background server encrypts the identification of the display device and the new key based on the initial key to obtain the ciphertext of the display device.
104. The background server sends ciphertext parameters to the display device, the ciphertext parameters comprising at least ciphertext.
105. The display equipment receives the ciphertext parameter sent by the background server, decrypts the ciphertext to obtain a target ciphertext, and updates the initial key to the target ciphertext.
In yet another alternative embodiment, after performing the finishing step 105, the initialization method of the display device may further include the steps of:
the display equipment judges whether the initial count value corresponding to a counter of the display equipment is 0 or not, wherein the counter is used for recording the update times of the two-dimensional code displayed by the display equipment in the using process of the display equipment;
when it is determined that the initial count value is not 0, the display apparatus updates the initial count value to 0.
It can be seen that, in this optional embodiment, after the display device completes initialization, whether the initial count value (initial update number) corresponding to the display device is 0 is further determined, and when the initial count value is not 0, the initial count value of the display device is updated to 0, so that the initial accuracy and reliability of the display device can be improved, thereby being beneficial to further improving the data safety reliability of the display device.
Therefore, the initialization method of the display device described in fig. 1 can encrypt the initialization parameters of the display device through the background server to obtain the ciphertext of the display device, and the display device analyzes the ciphertext, so that the initialization of the display device is realized, and the safety of the two-dimensional code data and the operation efficiency of the display device can be improved.
Example two
Referring to fig. 2, fig. 2 is a flowchart illustrating an initialization method of another display device according to an embodiment of the invention. The initialization method of the display device described in fig. 2 may be applied to the display device and the background server, where the display device establishes communication with the background server through the user terminal. Further, the screen of the display device is an electronic paper display screen (also called an electronic paper screen or a digital paper screen). As shown in fig. 2, the initialization method of the display device may include the steps of:
201. the display device sends initialization parameters to the background server, the initialization parameters at least comprising an identification of the display device, an initial key of the display device.
202. And the background server receives the initialization parameters sent by the display equipment and generates a new key corresponding to the identification of the display equipment.
203. The background server encrypts the identification of the display device and the new key based on the initial key to obtain the ciphertext of the display device.
204. The background server calculates the verification code of the ciphertext based on a predetermined verification code calculation algorithm, and sends the verification code to the display device.
In the embodiment of the present invention, the predetermined verification code calculation algorithm may include at least one of DES algorithm, RSA algorithm, AES algorithm, and MD5 algorithm, which is not limited in the embodiment of the present invention.
205. And the display equipment receives the verification code sent by the background server.
206. The background server sends ciphertext parameters to the display device, the ciphertext parameters comprising at least ciphertext.
207. The display equipment receives the ciphertext parameters sent by the background server and verifies the verification code, and when verification passes, the execution of step 208 is triggered; and when the verification fails, ending the flow.
Therefore, the embodiment of the invention firstly checks the verification code of the ciphertext before decrypting the ciphertext of the display device, and only executes the operation of decrypting the ciphertext of the display device after the verification code of the ciphertext passes the verification, thereby improving the decryption accuracy and reliability of the ciphertext.
208. The display device decrypts the ciphertext to obtain a target ciphertext, and updates the initial key to the target ciphertext.
In the embodiment of the present invention, the detailed descriptions of step 201 to step 203, step 206 and step 208 are referred to in the first embodiment for the detailed descriptions of step 101 to step 105, and the detailed descriptions of the embodiments of the present invention are omitted.
Therefore, the initialization method of the display device described in fig. 2 can encrypt the initialization parameters of the display device through the background server to obtain the ciphertext of the display device, and the display device analyzes the ciphertext, so as to realize the initialization of the display device, improve the security of the two-dimensional code data and the operation efficiency of the display device, verify the verification code of the ciphertext before decrypting the ciphertext of the display device, and execute the operation of decrypting the ciphertext of the display device after the verification code of the ciphertext passes, thereby improving the decryption accuracy and reliability of the ciphertext.
Example III
Referring to fig. 3, fig. 3 is a schematic structural diagram of an initializing device of a display apparatus according to an embodiment of the invention. The initialization apparatus of the display device described in fig. 3 may be applied to the display device and the background server, where the display device establishes communication with the background server through the user terminal. Further, the screen of the display device is an electronic paper display screen (also called an electronic paper screen or a digital paper screen). As shown in fig. 3, the display device includes a first sending module 301, a first receiving module 302, a decrypting module 303, and an updating module 304, and the background server includes a second receiving module 305, a generating module 306, an encrypting module 307, and a second sending module 308, where:
the first sending module 301 is configured to send an initialization parameter to a background server, where the initialization parameter includes at least an identifier of a display device and an initial key of the display device.
In the embodiment of the present invention, the identifier of the display device includes at least one of a serial number identifier of the display device and a graphic identifier of the display device, which is not limited in the embodiment of the present invention.
A second receiving module 305, configured to receive the initialization parameter sent by the display device.
A generating module 306, configured to generate a new key corresponding to the identifier of the display device.
The encryption module 307 is configured to encrypt the identifier of the display device and the new key based on the initial key, to obtain a ciphertext of the display device.
The second sending module 308 is configured to send ciphertext parameters to the display device, where the ciphertext parameters include at least ciphertext.
The first receiving module 302 is configured to receive the ciphertext parameter sent by the background server.
And the decryption module 303 is configured to decrypt the ciphertext to obtain the target ciphertext.
An updating module 304, configured to update the initial key to the target ciphertext.
In the embodiment of the present invention, after the first sending module 301 finishes the above-mentioned operation of sending the initialization parameter to the background server, the first receiving module 302 may be triggered to perform the above-mentioned operation of receiving the ciphertext parameter sent by the background server.
In this embodiment of the present invention, as an optional implementation manner, when the identifier of the display device is the serial number identifier of the display device, the generating module 306 generates a new key corresponding to the identifier of the display device specifically:
acquiring an identification code corresponding to a preset bit in a serial number identification of the display device, and acquiring a plurality of characters in all characters in an initial key of the display device at equal intervals or unequal intervals;
Generating a new key corresponding to the identification of the display device based on the identification code corresponding to the preset bit and a plurality of bit characters in all key characters in the initial key.
In this alternative embodiment, the identification code corresponding to the preset bit in the serial number identifier of the display device is used to distinguish the display device from other display devices in the same batch of display devices, that is, the identification code corresponding to the preset bit in the serial number identifier of each display device is unique.
Therefore, according to the alternative embodiment, the unique new key can be generated by generating the new key corresponding to the identification of the display device based on the acquired identification code corresponding to the preset bit in the serial number identification of the display device and a plurality of characters in all characters in the initial key of the display device acquired at equal intervals or unequal intervals, so that the initialization accuracy of the display device is improved, and the data safety and reliability of the display device are further improved.
In this embodiment of the present invention, as another optional implementation manner, when the identifier of the display device is a graphic identifier of the display device, the generating module 306 generates a new key corresponding to the identifier of the display device specifically:
And randomly acquiring a plurality of characters in all characters in the initial key of the display device at unequal intervals, and generating a new key corresponding to the identifier of the display device based on the plurality of characters in all characters in the initial key of the display device and the graphic identifier of the display device.
It can be seen that this alternative embodiment generates a new key corresponding to the identifier of the display device by using a plurality of characters of all characters in the initial key of the display device acquired at unequal intervals and the graphic identifier of the display device, so that not only can a unique new key be generated, but also the intelligent function of the background server can be enriched.
Therefore, the initialization device for the display device described in fig. 3 can encrypt the initialization parameters of the display device through the background server to obtain the ciphertext of the display device, and the display device analyzes the ciphertext, so that the initialization of the display device is realized, and the safety of the two-dimensional code data and the operation efficiency of the display device can be improved.
In an alternative embodiment, the background server may further include a computing module 309, and the display device may further include a verification module 310, where the initializing device of the display device may be as shown in fig. 4, and fig. 4 is a schematic structural diagram of an initializing device of another display device, where:
The calculating module 309 is configured to calculate the verification code of the ciphertext based on the predetermined verification code calculation algorithm after the encrypting module 307 encrypts the identifier of the display device and the new key based on the initial key to obtain the ciphertext of the display device.
The second sending module 308 is further configured to send the verification code to the display device.
The first receiving module 302 is further configured to receive the verification code sent by the background server.
The verification module 310 is configured to verify the verification code after the first receiving module 302 receives the ciphertext parameter sent by the background server.
The decryption module 303 is specifically configured to:
when the verification module 310 verifies that the verification code passes, the ciphertext is decrypted to obtain the target ciphertext.
Therefore, the initialization apparatus for implementing the display device described in fig. 4 can verify the verification code of the ciphertext before decrypting the ciphertext of the display device, and execute the operation of decrypting the ciphertext of the display device after the verification code of the ciphertext passes, so as to improve the decryption accuracy and reliability of the ciphertext.
In another alternative embodiment, as shown in fig. 4, the background server may further include an obtaining module 311 and a determining module 312, and the display device may further include a storage module 313, where:
The obtaining module 311 is configured to obtain a time of generating the new key after the generating module 306 generates the new key corresponding to the identifier of the display device.
A determining module 312, configured to determine the time as an initialization time of the display device.
The second sending module 308 is further configured to send the initialization time to the display device.
The first receiving module 302 is further configured to receive an initialization time sent by the background server.
A storage module 313 for storing the initialization time.
It can be seen that, the initialization apparatus for implementing the display device described in fig. 4 can further determine, by the background server, the time for generating the new key after generating the new key corresponding to the identifier of the display device, as the initialization time of the display device, without determining the initialization time of the display device again, so that the determination efficiency of the initialization time of the display device can be improved, and the time of the new key can be used as the initialization time of the display device, thereby improving the determination accuracy of the initialization time of the display device.
In yet another alternative embodiment, as shown in fig. 4, the display device may further include a first determining module 314, where:
the first determining module 314 is configured to determine whether an initial count value corresponding to a counter of the display device is 0 after the updating module 304 updates the initial key to the target ciphertext, where the counter is configured to record the update times of the two-dimensional code displayed by the display device during the use of the display device.
The updating module 304 is further configured to update the initial count value to 0 when the first judging module 314 judges that the initial count value is not 0.
It can be seen that, the initialization apparatus for implementing the display device described in fig. 4 is further capable of further determining whether the initial count value (initial update number) corresponding to the display device is 0 after the initialization of the display device is completed, and updating the initial count value of the display device to 0 when the initial count value is not 0, so that the initial accuracy and reliability of the display device can be improved, thereby being beneficial to further improving the data safety reliability of the display device.
In yet another alternative embodiment, as shown in fig. 4, the display device may further include a detection module 315, where:
a detecting module 315, configured to detect whether the current condition of the display device meets the predetermined initialization condition before the first sending module 301 sends the initialization parameter to the background server.
The first sending module 301 is specifically configured to:
when the detection module 315 detects that the current condition satisfies the initialization condition, the initialization parameter is sent to the background server.
The detecting module 315 detects whether the current condition of the display device meets the predetermined initialization condition specifically includes:
Detecting whether an initialization request for the display device is received, and determining that the current condition of the display device meets a predetermined initialization condition when the initialization request is detected to be received.
In this alternative embodiment, the initialization request of the display device may be triggered by the user on the display device, or may be triggered by the user through a user terminal (e.g., a mobile phone) bound to the display device. When the initialization request of the display device is triggered by a user terminal bound with the display device, the user terminal detects the initialization request of the display device triggered by the user and sends the initialization request to the display device. Further, the triggering manner of the initialization request may include at least one of a touch triggering manner, a voice triggering manner, and a gesture triggering manner, which is not limited in this alternative embodiment. Therefore, the initialization request of the display device is determined in various modes, the triggering modes of the initialization request of the display device can be enriched, the flexibility of the triggering modes of the initialization request of the display device is improved, and the experience of a user is improved.
It can be seen that this alternative embodiment meets the initialization condition by determining that the current condition of the display device satisfies the initialization condition upon detecting an initialization request for the display device.
Or,
acquiring current time and judging whether the current time is a certain initialization time in a predetermined initialization time set;
when the current time is judged to be a certain initialization time in the initialization time set, the current condition of the display device is determined to meet the predetermined initialization condition.
Therefore, according to the alternative embodiment, whether the current time of the display device is a certain initialization time in the initialization time set is judged, so that the automatic determination that the current condition of the display device meets the predetermined initialization condition is realized, the possibility that the display device cannot be initialized in time due to the fact that a user is required to trigger an initialization request of the display device is reduced, and further the initialization efficiency of the display device is improved.
It can be seen that, the initialization apparatus for implementing the display device described in fig. 4 is further capable of determining whether the current condition of the display device satisfies the initialization condition before the display device sends the initialization parameter to the background server, and executing the subsequent initialization operation for the display device when the current condition of the display device satisfies the initialization condition, so that not only the accuracy of determining the initialization of the display device is improved, but also the power consumption of the display device is reduced, and the service life of the display device is prolonged; and determining that the current condition of the display device meets the initialization condition by detecting the initialization request or detecting that the current time is a certain initialization time in the initialization time set, so that multiple judgment modes of the initialization condition of the display device can be provided, and the judgment flexibility of the initialization condition of the display device is improved.
In yet another alternative embodiment, as shown in fig. 4, the background server may further include a second determining module 316, where:
a second judging module 316, configured to judge whether the display device has performed an initialization operation based on the initialization parameter of the display device after the second receiving module 305 receives the initialization parameter sent by the display device and before the generating module 306 generates a new key corresponding to the identifier of the display device;
the second sending module 308 is further configured to send an initialization confirmation prompt to the display device and/or the user side when the second judging module 316 judges that the display device has performed the initialization operation, where the initialization confirmation prompt is used to prompt the user whether the initialization operation needs to be performed on the display device;
the generating module 306 is further configured to generate a new key corresponding to the identifier of the display device when the second judging module 316 detects the initialization confirmation operation for the display device.
In this alternative embodiment, the generating module 306 is further configured to generate a new key corresponding to the identifier of the display device when the second determining module 316 determines that the initialization operation has not been performed on the display device.
It can be seen that, the initialization apparatus for implementing the display device described in fig. 4 is further capable of further judging whether the display device has been initialized according to the initialization parameter after receiving the initialization parameter of the display device, sending an initialization confirmation prompt to the display device and/or the user terminal when the result of the judgment is yes, and executing the subsequent operation when detecting the initialization operation for the display device, so that not only can the possibility of data loss of the display device caused by that the display device re-executes the initialization due to the fact that the initialization parameter is sent by the display device by mistake be reduced, but also the initialization operation can be re-executed for the display device according to the actual situation; and when the judgment result is negative, the background server directly generates a new key corresponding to the identification of the display equipment, so that the initialization of the display equipment is ensured.
Example IV
Referring to fig. 5, fig. 5 is a schematic structural diagram of a display device according to an embodiment of the invention. As shown in fig. 5, the display device may include:
a memory 501 in which executable program codes are stored;
a processor 502 coupled to the memory 501;
the processor 502 invokes executable program codes stored in the memory 501 for performing the operations performed by the display device in the initialization method of the display device described in the first or second embodiment.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a background server according to an embodiment of the present invention. As shown in fig. 6, the background server may include:
a memory 601 in which executable program codes are stored;
a processor 602 coupled to the memory 601;
the processor 602 invokes executable program codes stored in the memory 601 for performing the operations performed by the background server in the initialization method of the display apparatus described in the first or second embodiment.
Example five
The embodiment of the invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute operations executed by a display device in the initialization method of the display device described in the first or second embodiment.
The embodiment of the invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute operations executed by a background server in an initialization method of a display device described in the first or second embodiment.
Example six
Embodiments of the present invention disclose a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform operations performed by a display device in a method of initializing a display device as described in embodiment one or embodiment two.
Embodiments of the present invention disclose a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform operations performed by a background server in a method of initializing a display device described in embodiment one or embodiment two.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above detailed description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product that may be stored in a computer-readable storage medium including Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic disc Memory, tape Memory, or any other medium that can be used for computer-readable carrying or storing data.
Finally, it should be noted that: the initialization method and device of the display device disclosed in the embodiments of the present invention are only disclosed in the preferred embodiments of the present invention, and are only used for illustrating the technical scheme of the present invention, but not limiting the technical scheme; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme recorded in the various embodiments can be modified or part of technical features in the technical scheme can be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (14)

1. A method for initializing a display device, wherein the method is applied to the display device and a background server, and the display device establishes communication with the background server through a user terminal, and the method comprises:
the display device sends initialization parameters to the background server, wherein the initialization parameters at least comprise an identifier of the display device and an initial key of the display device;
the background server receives the initialization parameters sent by the display equipment and generates a new key corresponding to the identification of the display equipment;
The background server encrypts the identification of the display equipment and the new key based on the initial key to obtain ciphertext of the display equipment;
the background server sends ciphertext parameters to the display device, wherein the ciphertext parameters at least comprise the ciphertext;
the display equipment receives the ciphertext parameter sent by the background server, decrypts the ciphertext to obtain a target ciphertext, and updates the initial key to the target ciphertext;
the background server generates a new key corresponding to the identification of the display device, including:
and the background server generates a new key corresponding to the identifier of the display device based on a plurality of characters in all characters in the initial key of the display device and the identifier of the display device.
2. The method for initializing a display device according to claim 1, wherein the background server encrypts the identification of the display device and the new key based on the initial key, and after obtaining the ciphertext of the display device, the method further comprises:
the background server calculates the verification code of the ciphertext based on a predetermined verification code calculation algorithm and sends the verification code to the display device;
The display equipment receives the verification code sent by the background server;
and after the display device receives the ciphertext parameter sent by the background server, the method further comprises:
and the display equipment checks the verification code, and when the verification passes, the operation of decrypting the ciphertext is triggered and executed to obtain a target ciphertext.
3. The initialization method of a display device according to claim 1 or 2, wherein after the background server generates a new key corresponding to an identification of the display device, the method further comprises:
the background server obtains the time for generating the new key, determines the time as the initialization time of the display device, and sends the initialization time to the display device;
and the display equipment receives the initialization time sent by the background server and stores the initialization time.
4. The initializing method of a display device according to claim 1 or 2, wherein after the display device updates the initial key to the target ciphertext, the method further comprises:
the display equipment judges whether the initial count value corresponding to a counter of the display equipment is 0 or not, and the counter is used for recording the update times of the two-dimensional code displayed by the display equipment in the using process of the display equipment;
When the initial count value is judged not to be 0, the display device updates the initial count value to be 0.
5. A method of initializing a display device according to claim 3, wherein after the display device updates the initial key to the target ciphertext, the method further comprises:
the display equipment judges whether the initial count value corresponding to a counter of the display equipment is 0 or not, and the counter is used for recording the update times of the two-dimensional code displayed by the display equipment in the using process of the display equipment;
when the initial count value is judged not to be 0, the display device updates the initial count value to be 0.
6. The method of initializing a display device according to claim 1, 2 or 5, wherein before the display device sends initialization parameters to the background server, the method further comprises:
the display device detects whether the current condition of the display device meets a predetermined initialization condition;
when the current condition is detected to meet the initialization condition, the display equipment triggers the operation of sending initialization parameters to the background server;
Wherein the display device detecting whether the current condition of the display device satisfies a predetermined initialization condition includes:
the display device detects whether an initialization request for the display device is received, and when the initialization request is detected to be received, the display device determines that the current condition of the display device meets a predetermined initialization condition; or,
the display equipment acquires current time and judges whether the current time is a certain initialization time in a predetermined initialization time set;
when the current time is judged to be a certain initialization time in the initialization time set, the display device determines that the current condition of the display device meets a predetermined initialization condition.
7. A method of initializing a display device according to claim 3, wherein before the display device sends initialization parameters to the background server, the method further comprises:
the display device detects whether the current condition of the display device meets a predetermined initialization condition;
when the current condition is detected to meet the initialization condition, the display equipment triggers the operation of sending initialization parameters to the background server;
Wherein the display device detecting whether the current condition of the display device satisfies a predetermined initialization condition includes:
the display device detects whether an initialization request for the display device is received, and when the initialization request is detected to be received, the display device determines that the current condition of the display device meets a predetermined initialization condition; or,
the display equipment acquires current time and judges whether the current time is a certain initialization time in a predetermined initialization time set;
when the current time is judged to be a certain initialization time in the initialization time set, the display device determines that the current condition of the display device meets a predetermined initialization condition.
8. The initialization device of the display device is characterized by comprising the display device and a background server, wherein the display device establishes communication with the background server through a user terminal, the display device comprises a first sending module, a first receiving module, a decryption module and an updating module, and the background server comprises a second receiving module, a generating module, an encryption module and a second sending module, wherein:
The first sending module is configured to send an initialization parameter to the background server, where the initialization parameter at least includes an identifier of the display device and an initial key of the display device;
the second receiving module is used for receiving the initialization parameters sent by the display equipment;
the generation module is used for generating a new key corresponding to the identification of the display equipment;
the encryption module is used for encrypting the identification of the display equipment and the new key based on the initial key to obtain ciphertext of the display equipment;
the second sending module is configured to send ciphertext parameters to the display device, where the ciphertext parameters at least include the ciphertext;
the first receiving module is used for receiving the ciphertext parameters sent by the background server;
the decryption module is used for decrypting the ciphertext to obtain a target ciphertext;
the updating module is used for updating the initial key into the target ciphertext;
the mode of generating the new key corresponding to the identifier of the display device by the generating module specifically includes:
and generating a new key corresponding to the identifier of the display device based on a plurality of characters in all characters in the initial key of the display device and the identifier of the display device.
9. The apparatus for initializing a display device according to claim 8, wherein the background server further comprises a calculation module, the display device further comprises a verification module, wherein:
the computing module is used for computing the verification code of the ciphertext based on a predetermined verification code computing algorithm after the encryption module encrypts the identification of the display device and the new key based on the initial key to obtain the ciphertext of the display device;
the second sending module is further configured to send the verification code to the display device;
the first receiving module is further configured to receive the verification code sent by the background server;
the verification module is used for verifying the verification code after the first receiving module receives the ciphertext parameters sent by the background server;
the decryption module is specifically configured to:
and when the verification module verifies that the verification code passes, decrypting the ciphertext to obtain a target ciphertext.
10. The initialization apparatus of a display device according to claim 8 or 9, wherein the background server further comprises an acquisition module and a determination module, and the display device further comprises a storage module:
The acquisition module is used for acquiring the time for generating the new key after the generation module generates the new key corresponding to the identifier of the display device;
the determining module is used for determining the time as the initialization time of the display equipment;
the second sending module is further configured to send the initialization time to the display device;
the first receiving module is further configured to receive the initialization time sent by the background server;
the storage module is used for storing the initialization time.
11. The initialization apparatus of a display device according to claim 8 or 9, wherein the display device further comprises a first judgment module, wherein:
the first judging module is used for judging whether an initial count value corresponding to a counter of the display device is 0 after the updating module updates the initial key into the target ciphertext, and the counter is used for recording the updating times of the two-dimensional code displayed by the display device in the using process of the display device;
the updating module is further configured to update the initial count value to 0 when the first judging module judges that the initial count value is not 0.
12. The apparatus for initializing a display device according to claim 10, wherein the display device further comprises a first judgment module, wherein:
the first judging module is used for judging whether an initial count value corresponding to a counter of the display device is 0 after the updating module updates the initial key into the target ciphertext, and the counter is used for recording the updating times of the two-dimensional code displayed by the display device in the using process of the display device;
the updating module is further configured to update the initial count value to 0 when the first judging module judges that the initial count value is not 0.
13. The initialization apparatus of a display device according to claim 8, 9 or 12, wherein the display device further comprises a detection module, wherein:
the detection module is used for detecting whether the current condition of the display equipment meets the predetermined initialization condition before the first sending module sends the initialization parameter to the background server;
the first sending module is specifically configured to:
when the detection module detects that the current condition meets the initialization condition, an initialization parameter is sent to the background server;
The method for detecting whether the current condition of the display device meets the predetermined initialization condition by the detection module specifically comprises the following steps:
detecting whether an initialization request for the display device is received, and determining that the current condition of the display device meets a predetermined initialization condition when the initialization request is detected to be received; or,
acquiring current time and judging whether the current time is a certain initialization time in a predetermined initialization time set;
and when the current time is judged to be a certain initialization time in the initialization time set, determining that the current condition of the display equipment meets the predetermined initialization condition.
14. The initialization apparatus of a display device according to claim 11, wherein the display device further comprises a detection module, wherein:
the detection module is used for detecting whether the current condition of the display equipment meets the predetermined initialization condition before the first sending module sends the initialization parameter to the background server;
the first sending module is specifically configured to:
when the detection module detects that the current condition meets the initialization condition, an initialization parameter is sent to the background server;
The method for detecting whether the current condition of the display device meets the predetermined initialization condition by the detection module specifically comprises the following steps:
detecting whether an initialization request for the display device is received, and determining that the current condition of the display device meets a predetermined initialization condition when the initialization request is detected to be received; or,
acquiring current time and judging whether the current time is a certain initialization time in a predetermined initialization time set;
and when the current time is judged to be a certain initialization time in the initialization time set, determining that the current condition of the display equipment meets the predetermined initialization condition.
CN201911170282.9A 2019-11-26 2019-11-26 Initialization method and device for display equipment Active CN111125726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911170282.9A CN111125726B (en) 2019-11-26 2019-11-26 Initialization method and device for display equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911170282.9A CN111125726B (en) 2019-11-26 2019-11-26 Initialization method and device for display equipment

Publications (2)

Publication Number Publication Date
CN111125726A CN111125726A (en) 2020-05-08
CN111125726B true CN111125726B (en) 2023-07-07

Family

ID=70496729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911170282.9A Active CN111125726B (en) 2019-11-26 2019-11-26 Initialization method and device for display equipment

Country Status (1)

Country Link
CN (1) CN111125726B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116346376A (en) * 2021-12-23 2023-06-27 Vidaa国际控股(荷兰)公司 Display device remote communication method, display device, server and terminal device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286994B (en) * 2008-05-19 2012-07-04 北京大学 Digital literary property management method, server and system for content sharing within multiple devices
US9118645B2 (en) * 2012-12-19 2015-08-25 Jive Software, Inc. Distributed authentication using persistent stateless credentials
CN106209373B (en) * 2015-04-30 2019-05-17 富泰华工业(深圳)有限公司 Key generation system, data stamped signature and encryption system and method
CN107483383B (en) * 2016-06-07 2021-10-15 腾讯科技(深圳)有限公司 Data processing method, terminal, background server and storage medium
CN106658493B (en) * 2016-10-17 2019-12-06 东软集团股份有限公司 Key management method, device and system
CN108763917B (en) * 2018-06-05 2021-03-30 北京华大智宝电子系统有限公司 Data encryption and decryption method and device
CN109274500B (en) * 2018-10-15 2020-06-02 百富计算机技术(深圳)有限公司 A key downloading method, client, cryptographic device and terminal device
CN110460436A (en) * 2019-07-12 2019-11-15 山东三未信安信息科技有限公司 Hardware device key management method, system, storage medium and computer equipment

Also Published As

Publication number Publication date
CN111125726A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN112019332B (en) Encryption and decryption method based on micro-service, API gateway system and equipment
US9311487B2 (en) Tampering monitoring system, management device, protection control module, and detection module
WO2017032263A1 (en) Identity authentication method and apparatus
US11809540B2 (en) System and method for facilitating authentication via a short-range wireless token
CN108763917B (en) Data encryption and decryption method and device
CN111130798B (en) Request authentication method and related equipment
EP3321837A1 (en) Method, apparatus and system for deviceidentification
CN110138744A (en) Replace method, apparatus, system, computer equipment and the storage medium of communicating number
WO2017202025A1 (en) Terminal file encryption method, terminal file decryption method, and terminal
CN110191086A (en) Intelligentized Furniture remote security control method, device, computer equipment and storage medium
CN104836784B (en) A kind of information processing method, client and server
JP2018502524A (en) Encryption control for information, information analysis method, system and terminal
CN107484032A (en) Prevent the verification method and device brushed
CN109145533B (en) Method and device for protecting code by using random password
WO2024005908A1 (en) Techniques to perform dynamic call center authentication utilizing a contactless card
CN111064572A (en) Data communication method and device
CN108259183A (en) A kind of concern method, apparatus, electronic equipment and medium
CN106648583B (en) Information processing method and terminal
WO2017202137A1 (en) Nfc dynamic token and working method thereof
CN111125726B (en) Initialization method and device for display equipment
CN108234126B (en) System and method for remote account opening
CN108200450B (en) A determination method, device, electronic device and medium concerned with legality
CN105812395B (en) NFC dynamic token and method for programming seed key in NFC dynamic token
CN110598421B (en) Two-dimensional code encryption method and device and two-dimensional code decryption method and device
CN115189876B (en) Certificate expiration method, device and server

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