Information processing method, device, chip, terminal and electronic device
By updating the certificate number and discarding the untrustworthy certificate number in the emergency broadcast system, the information security problem caused by the failure to update the certificate in time in the existing technology is solved, and the security and legality of information transmission are ensured.
Patent Information
- Application Number
- CN202011167595.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-27
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-10-27
AI Technical Summary
In the existing emergency broadcast system, information security issues and signature verification failures are likely to occur when using pre-stored certificates for signature verification, resulting in unsafe information transmission.
By receiving certificates and updating pre-stored historical certificates, the trustworthiness of certificate numbers is ensured, and untrusted certificate numbers are discarded when signature verification fails to ensure the security of information transmission.
It effectively avoids information security issues and signature verification failures caused by certificates not being updated in time, ensuring the security and legality of information transmission.
Smart Images

Figure CN112367173B
Abstract
Description
Technical Field
[0001] The present application relates to the field of information security technology, and specifically, to an information processing method, device, chip, terminal and electronic device. Background Art
[0002] In existing emergency broadcast systems, in order to ensure the security of broadcast messages, pre-stored certificates are usually used to verify the signature of broadcast messages. However, in the prior art, when using pre-stored certificates for signature verification, there are still information security issues and it is easy to cause signature verification failures. Summary of the invention
[0003] In view of this, the purpose of the embodiments of the present application is to provide an information processing method, device, chip, terminal and electronic device to solve the above problems.
[0004] In a first aspect, an embodiment of the present application provides an information processing method, the method comprising: receiving a certificate; wherein the certificate comprises: a certificate number; when it is determined that the certificate number exists in a pre-stored trusted certificate number, using the certificate to update a pre-stored historical certificate including the certificate number.
[0005] In order to ensure the security of information transmission, the content of the certificate used to verify the signature information needs to be constantly updated. Therefore, in the above implementation process, after receiving the certificate, the certificate is used to update the pre-stored historical certificate with the same certificate number as the certificate, so as to timely update the pre-stored certificate, thereby avoiding information security problems caused by the fact that the stored certificate has not been updated. At the same time, it also solves the problem of signature verification failure caused by the failure to update the stored certificate in time.
[0006] Based on the first aspect, in a possible design, the method also includes: receiving a certificate number to be verified; verifying the certificate number to be verified using a pre-stored CA certificate to obtain a verification result; when the verification result indicates that the verification is successful, storing the successfully verified certificate number as the trusted certificate number.
[0007] In the above implementation process, when the certificate number to be verified is received, the certificate number to be verified is verified using the pre-stored CA certificate, and the successfully verified certificate number is stored as the trusted certificate number to ensure that the stored certificate numbers are all trusted, and then ensure that the stored certificates are all trusted certificates.
[0008] Based on the first aspect, in a possible design, storing the certificate number of the successfully verified signature as the trusted certificate number includes: using the certificate number of the successfully verified signature to update the pre-stored trusted certificate number.
[0009] In order to ensure the security of information transmission, the pre-stored trusted certificate number may need to be continuously updated. Therefore, in the above implementation process, the pre-stored trusted certificate number is updated using the successfully verified certificate number to ensure that the certificate containing the updated certificate number is accurately stored subsequently, and ultimately ensure that the certificate containing the updated certificate number can be used to accurately verify the signature of the message.
[0010] Based on the first aspect, in a possible design, after obtaining the signature verification result, the method further includes: when the signature verification result indicates that the signature verification has failed, discarding the certificate number that has failed the signature verification.
[0011] In the above implementation process, the certificate numbers that fail the signature verification are discarded to avoid storing untrusted certificate numbers, thereby avoiding using untrusted certificates to verify the signature of the information to be played, and ultimately preventing the broadcast system from playing illegal information.
[0012] Based on the first aspect, in a possible design, the method also includes: receiving information to be transmitted; the information to be transmitted includes: a target certificate number; according to the target certificate number, searching for a target certificate containing the target certificate number from pre-stored certificates; extracting a target public key from the target certificate; and when the signature of the information to be transmitted is successfully verified using the target public key, sending the information to be transmitted.
[0013] In the above implementation process, since different information to be transmitted may require the use of different trusted certificates to successfully verify the signature, after receiving the information to be transmitted, the target certificate containing the target certificate number is searched from the pre-stored certificates according to the target certificate number in the information to be transmitted, so as to use the public key in the target certificate to accurately verify the signature of the information to be transmitted, and then when the signature of the information to be transmitted is successfully verified using the target public key, the information to be transmitted is sent.
[0014] Based on the first aspect, in a possible design, when the signature of the information to be transmitted is successfully verified using the target public key, the information to be transmitted is sent, including: when the signature of the information to be transmitted is successfully verified using the target public key, the information to be transmitted is signed using a pre-stored private key of a device certificate to obtain signature data; after encapsulating the information to be transmitted and the signature data, obtaining encapsulated information; and sending the encapsulated information.
[0015] In the above implementation process, when the signature of the information to be transmitted is successfully verified using the target public key, the information to be transmitted is signed using the private key of the pre-stored device certificate to obtain signature data; after the information to be transmitted and the signature data are encapsulated, the encapsulated information is sent, thereby improving the transmission security of the encapsulated information.
[0016] In a second aspect, an embodiment of the present application provides an information processing device, comprising: a certificate receiving unit for receiving a certificate; wherein the certificate includes: a public key and a certificate number; and a certificate updating unit for, when it is determined that the certificate number exists in the pre-stored trusted certificate numbers, using the certificate to update the pre-stored historical certificate including the certificate number.
[0017] Based on the second aspect, in a possible design, the device also includes: a certificate number receiving unit, used to receive the certificate number to be verified; a certificate number verification unit, used to verify the certificate number to be verified using a pre-stored CA certificate to obtain a verification result; and a storage unit, used to store the successfully verified certificate number as the trusted certificate number when the verification result indicates that the verification is successful.
[0018] Based on the second aspect, in a possible design, the storage unit is specifically used to update the pre-stored trusted certificate number using the certificate number of the successfully verified certificate.
[0019] Based on the second aspect, in a possible design, the device further includes: a discarding unit, configured to discard the certificate number that failed the signature verification when the signature verification result indicates that the signature verification failed.
[0020] Based on the second aspect, in a possible design, the device also includes: an information receiving unit, used to receive information to be transmitted; the information to be transmitted includes: a target certificate number; a search unit, used to search for a target certificate containing the target certificate number from pre-stored certificates according to the target certificate number; an extraction unit, used to extract a target public key from the target certificate; and a sending unit, used to send the information to be transmitted when the signature of the information to be transmitted is successfully verified using the target public key.
[0021] Based on the second aspect, in a possible design, the sending unit is specifically used to sign the information to be transmitted using the private key of a pre-stored device certificate to obtain signature data when the signature of the information to be transmitted is successfully verified using the target public key; and to encapsulate the information to be transmitted and the signature data to obtain encapsulated information; and to send the encapsulated information.
[0022] In a third aspect, an embodiment of the present application provides a chip, comprising a processor and a memory connected to the processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the electronic device executes the method described in the first aspect.
[0023] In a fourth aspect, an embodiment of the present application provides a terminal, comprising a playback module and the chip described in the third aspect, wherein the chip is connected to the playback module.
[0024] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising an adapter device and the chip described in the third aspect, wherein the adapter device is connected to the playback module.
[0025] In a sixth aspect, an embodiment of the present application provides a storage medium, wherein a computer program is stored in the storage medium. When the computer program is run on a computer, the computer executes the method described in the first aspect.
[0026] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 A schematic diagram of the structure of a chip provided in an embodiment of the present application.
[0029] Figure 2 A schematic diagram of the structure of a terminal provided in an embodiment of the present application.
[0030] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0031] Figure 4 A flowchart of an information processing method provided in an embodiment of the present application.
[0032] Figure 5 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application.
[0033] Icon: 100 - chip; 101 - processor; 102 - memory; 103 - communication interface; 200 - terminal; 300 - electronic device; 500 - information processing device; 510 - certificate receiving unit; 520 - certificate updating unit. DETAILED DESCRIPTION
[0034] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application.
[0035] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0036] Please refer to Figure 1 , Figure 1 A schematic diagram of the structure of a chip 100 provided in an embodiment of the present application, the chip 100 may include: a memory 102, a processor 101, a communication interface 103 and a communication bus, and the communication bus is used to realize the connection and communication of these components.
[0037] The memory 102 is used to store various data such as computing program instructions corresponding to the information processing method and device provided in the embodiments of the present application, wherein the memory 102 can be, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc.
[0038] The processor 101 is used to read and run computer program instructions corresponding to the information processing method and device stored in the memory to receive a certificate; wherein the certificate includes: a certificate number; and when it is determined that the certificate number exists in the pre-stored trusted certificate numbers, using the certificate to update the pre-stored historical certificate including the certificate number.
[0039] Among them, the processor 101 may be an integrated circuit chip with signal processing capabilities. The above-mentioned processor 101 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0040] The communication interface 103 is used to receive or send data.
[0041] Please refer to Figure 2 , Figure 2 A terminal 200 provided in an embodiment of the present application includes a playback module and Figure 1 The chip 100 and the playback module are communicatively connected via a serial port.
[0042] In this embodiment, the playing module is a speaker. In other embodiments, the playing module may also be other players.
[0043] The playback module sends the information to be transmitted to the chip 100;
[0044] The chip 100 receives information to be transmitted; the information to be transmitted includes: a target certificate number; and according to the target certificate number, finds a target certificate containing the target certificate number from pre-stored certificates; extracts a target public key from the target certificate; and when the signature of the information to be transmitted is successfully verified using the target public key, sends the information to be transmitted to the playback module;
[0045] The playing module plays the information to be transmitted.
[0046] Please refer to Figure 3 , Figure 3 An electronic device 300 provided in an embodiment of the present application includes an adaptation device module and Figure 1 The chip 100 and the adapter device are communicatively connected via a serial port.
[0047] The adapter device sends the information to be transmitted to the chip 100;
[0048] The chip 100 receives information to be transmitted; the information to be transmitted includes: a target certificate number; and according to the target certificate number, finds a target certificate containing the target certificate number from a pre-stored certificate; extracts a target public key from the target certificate; when the signature of the information to be transmitted is successfully verified using the target public key, signs the information to be transmitted using a pre-stored private key of a device certificate to obtain signature data; encapsulates the information to be transmitted and the signature data to obtain encapsulated information; and sends the encapsulated information to the adapter device;
[0049] The adapter device sends the packaged information to the playback module.
[0050] Please refer to Figure 4 , Figure 4 A flowchart of an information processing method provided in an embodiment of the present application, applied to Figure 1 The chip 100 shown in FIG. Figure 4 The process shown is described in detail, and the method includes steps: S11 and S12.
[0051] S11: Receive a certificate; wherein the certificate includes: a certificate number.
[0052] S12: When it is determined that the certificate number exists in the pre-stored trusted certificate numbers, the pre-stored historical certificate including the certificate number is updated using the certificate.
[0053] The above method is introduced in detail below.
[0054] S11: Receive a certificate; wherein the certificate includes: a certificate number.
[0055] The certificate is received in real time or irregularly.
[0056] Among them, a certificate includes only one certificate number, and the certificate numbers in different certificates may be the same or different.
[0057] The certificate also includes a public key. A certificate includes only one public key, and different certificates include different public keys.
[0058] The certificate is used to verify the signature of the information to be transmitted in the emergency broadcast system.
[0059] After receiving the certificate, step S12 is executed.
[0060] S12: When it is determined that the certificate number exists in the pre-stored trusted certificate numbers, the pre-stored historical certificate including the certificate number is updated using the certificate.
[0061] After receiving the certificate, the certificate number is extracted from the certificate, and then the certificate number is compared with the pre-stored trusted certificate number. When it is determined that the certificate number exists in the pre-stored trusted certificate number, the historical certificate containing the certificate number is searched from the pre-stored historical certificates, the historical certificate containing the certificate number is deleted, and the certificate is stored.
[0062] As an implementation manner, the use of the certificate to update the pre-stored historical certificate including the certificate number may be performed in the following manner: directly using the certificate to overwrite the historical certificate including the certificate number.
[0063] In order to ensure that the certificate containing the trusted certificate number is subsequently used for signature verification to ensure the legitimacy of the information broadcast by the broadcast system, therefore, as an implementation method, the method further includes steps: A1, A2 and A3.
[0064] A1: Receive the certificate number to be verified.
[0065] The information including the certificate numbers to be verified is received in real time or irregularly, wherein the number of the certificate numbers to be verified may be one, two or more.
[0066] The information includes: signature information and at least one certificate number to be verified; in this embodiment, the signature information is the signature information obtained by performing a signature operation on the certificate number to be verified using the SM2-SM3 algorithm. In other embodiments, other signature algorithms may also be used to perform a signature operation on the certificate number to be verified.
[0067] A2: Use the pre-stored e-commerce certification authority (CA) certificate to verify the certificate number to be verified and obtain a verification result.
[0068] The CA certificate includes a public key.
[0069] After receiving the information containing the certificate number to be verified, the public key is extracted from the pre-stored CA certificate, and then based on the signature information in the information, the public key and the SM2-SM3 algorithm are used to verify the certificate number to be verified to obtain a verification result indicating whether the verification is successful.
[0070] Among them, the implementation method of using the CA certificate and the SM2-SM3 algorithm to verify the certificate number to be verified is a well-known technology in the art and will not be repeated here.
[0071] It is worth mentioning that the same algorithm is used for signing and verification.
[0072] A3: When the signature verification result indicates that the signature verification is successful, the certificate number of the successful signature verification is stored as the trusted certificate number.
[0073] In the case where no trusted certificate number is stored in advance and when the signature verification result indicates that the signature verification is successful, the certificate number of the successfully verified certificate is stored as the trusted certificate number.
[0074] As an implementation method, the certificate numbers that have been successfully verified are stored in a table as trusted certificate numbers to facilitate distinguishing between various certificate numbers.
[0075] As an implementation method, the certificate number of the successfully verified certificate is stored as a trusted certificate number in the form of a file, so that all the certificate numbers of the file can be quickly found at one time according to the storage address of the file later.
[0076] In order to ensure the security of information transmission, the pre-stored trusted certificate number may need to be continuously updated. Therefore, as an implementation method, A3 includes: using the certificate number of the successfully verified signature to update the pre-stored trusted certificate number.
[0077] The pre-stored trusted certificate number is deleted and the certificate number of the successfully verified certificate is stored, so as to update the pre-stored trusted certificate number.
[0078] In order to avoid storing untrustworthy certificate numbers, as an implementation mode, after A2, the method further includes: when the signature verification result indicates that the signature verification has failed, discarding the certificate number that has failed the signature verification.
[0079] Since different information to be transmitted may require different trusted certificates to successfully verify the signature, as an implementation method, the method further includes steps: B1, B2, B3 and B4.
[0080] B1: receiving information to be transmitted; the information to be transmitted includes: a target certificate number.
[0081] The information to be transmitted may be an emergency broadcast instruction or message.
[0082] Receive the information to be transmitted sent by the emergency broadcast platform in real time or irregularly.
[0083] B2: According to the target certificate number, find the target certificate containing the target certificate number from the pre-stored certificates.
[0084] The target certificate number is extracted from the information to be transmitted, and then the target certificate number is compared with the certificate number in the pre-stored certificate, and then the target certificate containing the target certificate number is searched out from the pre-stored certificate.
[0085] B3: Extract the target public key from the target certificate.
[0086] It can be understood that the target certificate includes the target public key, and then after the target certificate is found, the target public key is extracted from the target certificate.
[0087] B4: When the signature of the information to be transmitted is successfully verified using the target public key, the information to be transmitted is sent.
[0088] After the target public key is obtained, the target public key is used to verify the signature of the information to be transmitted. When the signature verification is successful, it indicates that the information to be transmitted is legal, and then the information to be transmitted is sent.
[0089] In order to ensure the transmission security of the information to be transmitted, therefore, as an implementation mode, after B4, the method further includes: C1, C2 and C3.
[0090] C1: When the signature verification of the information to be transmitted is successful using the target public key, the information to be transmitted is signed using the pre-stored private key of the device certificate to obtain signature data.
[0091] Among them, in this embodiment, if the information to be transmitted is transmitted using an adapter device, then the device certificate is the certificate of the adapter device; in other embodiments, if the information to be transmitted is transmitted using other devices, then the device certificate is the certificate of the corresponding device, and different devices use different device certificates.
[0092] When the signature of the information to be transmitted is successfully verified using the target public key, a private key is extracted from the pre-stored device certificate, and then the information to be transmitted is signed using the private key to obtain signature data.
[0093] Among them, the implementation method of using a private key to sign the information to be transmitted is a well-known technology in the art, so it will not be repeated here.
[0094] After obtaining the signature data, execute step C2.
[0095] C2: Encapsulate the information to be transmitted and the signature data to obtain encapsulated information.
[0096] The information to be transmitted and the signature data are encapsulated together to obtain encapsulated information.
[0097] C3: Send the encapsulated information.
[0098] The encapsulated information is sent in real time or irregularly.
[0099] Please refer to Figure 5 , Figure 5 is a structural block diagram of an information processing device 500 provided in an embodiment of the present application. Figure 5 The structural block diagram shown is used to illustrate that the device shown includes:
[0100] The certificate receiving unit 510 is used to receive a certificate, wherein the certificate includes: a public key and a certificate number.
[0101] The certificate updating unit 520 is configured to update a pre-stored historical certificate including the certificate number by using the certificate when it is determined that the certificate number exists in the pre-stored trusted certificate numbers.
[0102] As an embodiment, the device also includes: a certificate number receiving unit, used to receive the certificate number to be verified; a certificate number verification unit, used to verify the certificate number to be verified using a pre-stored CA certificate to obtain a verification result; and a storage unit, used to store the successfully verified certificate number as the trusted certificate number when the verification result indicates that the verification is successful.
[0103] As an implementation manner, the storage unit is specifically used to update the pre-stored trusted certificate number using the certificate number of the successfully verified certificate.
[0104] As an implementation manner, the device further includes: a discarding unit, configured to discard the certificate number that failed the signature verification when the signature verification result indicates that the signature verification failed.
[0105] As an embodiment, the device also includes: an information receiving unit, used to receive information to be transmitted; the information to be transmitted includes: a target certificate number; a search unit, used to search for a target certificate containing the target certificate number from pre-stored certificates according to the target certificate number; an extraction unit, used to extract a target public key from the target certificate; and a sending unit, used to send the information to be transmitted when the signature of the information to be transmitted is successfully verified using the target public key.
[0106] As an implementation mode, the sending unit is specifically used to sign the information to be transmitted using the private key of the pre-stored device certificate to obtain signature data when the signature of the information to be transmitted is successfully verified using the target public key; and to encapsulate the information to be transmitted and the signature data to obtain encapsulated information; and to send the encapsulated information.
[0107] For the process of each functional module realizing its own function in this embodiment, please refer to the above Figure 4 The contents described in the illustrated embodiments will not be repeated here.
[0108] In addition, an embodiment of the present application further provides a storage medium, in which a computer program is stored. When the computer program is run on a computer, the computer executes the method provided by any embodiment of the present application.
[0109] To sum up, the information processing methods, devices, chips, terminals and electronic devices proposed in the embodiments of the present application, after receiving the certificate, use the certificate to update the pre-stored historical certificate with the same certificate number as the certificate, and then promptly update the pre-stored certificate, thereby avoiding information security problems caused by the stored certificate not being updated, and also solving the problem of signature verification failure caused by the stored certificate not being updated in time.
[0110] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of boxes in the block diagram and / or the flowchart can be implemented with a dedicated hardware-based device that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0111] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
Claims
1. An information processing method, characterized in that: The method comprises: Receive a certificate; wherein the certificate includes: a certificate number and a public key; When it is determined that the certificate number exists in the pre-stored trusted certificate numbers, using the certificate to update the pre-stored historical certificate including the certificate number; Wherein, different trusted certificates are configured to verify signatures of different information to be transmitted, and the method further includes: Receive information to be transmitted; the information to be transmitted includes: signature information and a target certificate number, the signature information being the signature information obtained by performing a signature operation on the target certificate number; According to the target certificate number, searching for a target certificate containing the target certificate number from pre-stored certificates; Extracting a target public key from the target certificate; When the signature of the information to be transmitted is successfully verified by using the target public key, the information to be transmitted is signed by using the pre-stored private key of the device certificate to obtain signature data; After encapsulating the information to be transmitted and the signature data, encapsulated information is obtained; The packaged information is sent.
2. The method according to claim 1, characterized in that The method further comprises: Receive the certificate number to be verified; Using the pre-stored CA certificate to verify the certificate number to be verified, and obtain the verification result; When the signature verification result indicates that the signature verification is successful, the certificate number of the successful signature verification is stored as the trusted certificate number.
3. The method according to claim 2, characterized in that The storing the certificate number of the successfully verified signature as the trusted certificate number includes: The pre-stored trusted certificate number is updated using the certificate number of the successfully verified certificate.
4. The method according to claim 2, characterized in that: After obtaining the signature verification result, the method further includes: When the signature verification result indicates that the signature verification fails, the certificate number of the failed signature verification is discarded.
5. An information processing device, characterized in that: The device comprises: The certificate receiving unit is used to receive the certificate; wherein the certificate includes: a public key and a certificate number; a certificate updating unit, configured to update a pre-stored historical certificate including the certificate number using the certificate when it is determined that the certificate number exists in the pre-stored trusted certificate numbers; Wherein, different trusted certificates are configured to verify signatures of different information to be transmitted, and the device further includes: The processing unit is configured to receive information to be transmitted; the information to be transmitted includes: signature information and a target certificate number, the signature information is the signature information obtained by performing a signature operation on the target certificate number; according to the target certificate number, a target certificate containing the target certificate number is searched from pre-stored certificates; a target public key is extracted from the target certificate; when the signature of the information to be transmitted is successfully verified using the target public key, the information to be transmitted is signed using a private key of a pre-stored device certificate to obtain signature data; the information to be transmitted and the signature data are encapsulated to obtain encapsulated information; and the encapsulated information is sent.
6. A chip, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer program instructions, and when the computer program instructions are read and executed by the processor, the method according to any one of claims 1 to 4 is executed.
7. A terminal, characterized in that: include: A playback module and the chip as claimed in claim 6, wherein the chip and the playback module are connected.
8. An electronic device, characterized in that: include: An adapter device and the chip as claimed in claim 6, wherein the chip and the adapter device are connected.
