Screen projection method, key management system, electronic equipment and storage medium
By issuing quantum screen projection keys in wireless screen projection technology, the problem of data transmission security risks is solved and the security of screen projection process is improved.
Patent Information
- Application Number
- CN202411187309.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-12-20
AI Technical Summary
The existing wireless screen projection technology has security risks during data transmission, which is difficult to meet users' security requirements.
The key management device issues quantum projection keys to the screen projection requesting end and the screen projection device to realize the encryption and decryption of data transmission and ensure the security of data transmission.
提高了投屏过程的安全性,实现了投屏请求端和投屏装置之间的安全数据传输,满足了用户对安全性的需求。
Smart Images

Figure CN119172575A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a screen projection method, a key management system, an electronic device, and a storage medium. Background Art
[0002] With the rapid development of internet technology, a vast amount of information needs to be shared and transmitted. Screen projection using smart devices is one way to achieve this information sharing. Existing screen projection technologies include wired and wireless. Wireless projection has gained widespread adoption and development due to its lower cost, flexibility, portability, and increased efficiency.
[0003] In the related art, during the process of wireless screen projection, there are security risks in data transmission between devices, which makes it difficult to meet users' security requirements. Summary of the Invention
[0004] The present application provides a screen projection method, a key management system, an electronic device and a storage medium, which can send a quantum screen projection key to the screen projection request end and the screen projection device corresponding to the screen projection request through a key management device. Based on the quantum screen projection key, the transmission of the screen data to be projected between the screen projection request end and the screen projection device corresponding to the screen projection request is realized, thereby improving the security of the screen projection process and achieving the purpose of secure screen projection.
[0005] In the first aspect, the present application provides a screen projection method applied to a key management device, including: in response to receiving a screen projection request sent by a screen projection request end, determining the screen projection device corresponding to the screen projection request; the screen projection request is used to represent the screen projection request end's request to project the screen to the screen projection device; obtaining a quantum screen projection key, and sending the quantum screen projection key to the screen projection request end and the screen projection device corresponding to the screen projection request, so that the screen projection request end and the screen projection device corresponding to the screen projection request transmit the data to be projected based on the quantum screen projection key.
[0006] The technical solution provided by this application brings at least the following beneficial effects: In the screen projection method provided by the embodiment of this application, after obtaining the screen projection request sent by the screen projection request end, the key management device sends the quantum screen projection key to the screen projection request end and the screen projection device corresponding to the screen projection request, respectively, so that the screen projection request end and the screen projection device can realize the secure transmission of the data to be projected based on the quantum screen projection key, that is, the screen projection request end encrypts the data to be projected based on the quantum screen projection key, and the screen projection device decrypts the data to be projected based on the quantum screen projection key. In this way, the secure transmission of the data to be projected between the screen projection request end and the screen projection device is realized, the security of the screen projection process is improved, and the purpose of secure screen projection is achieved.
[0007] As a possible implementation method, the above method also includes: in response to receiving a screen projection permission request sent by the screen projection request end, determining the screen projection device corresponding to the screen projection permission request, and sending the screen projection permission request to the screen projection device corresponding to the screen projection permission request; the screen projection permission request is used to represent the screen projection request end's request to establish a communication connection with the screen projection device; in response to receiving the screen projection permission information sent by the screen projection device, obtaining the quantum communication key, and sending the quantum communication key to the screen projection request end and the screen projection device corresponding to the screen projection permission request; sending the quantum screen projection key to the screen projection request end and the screen projection device corresponding to the screen projection request, including: encrypting the quantum screen projection key by the quantum communication key, and sending the encrypted quantum screen projection key to the screen projection request end and the screen projection device corresponding to the screen projection request.
[0008] As a possible implementation method, obtaining the quantum projection key includes: generating a true random number, and generating multiple quantum keys based on the true random number; and determining the quantum projection key among the multiple quantum keys.
[0009] On the second aspect, the present application provides a screen projection method, which is applied to the screen projection request end, including: in response to the operation of using a screen projection device to project the screen, generating a screen projection request and sending the screen projection request to a key management device, the key management device is used to generate a quantum screen projection key and send it to the screen projection request end and the screen projection device; in response to receiving the quantum screen projection key sent by the key management device, encrypting the screen data to be projected based on the quantum screen projection key; sending the encrypted screen data to be projected to the screen projection device, so that the screen projection device decrypts the encrypted screen data to be projected based on the quantum screen projection key.
[0010] As a possible implementation method, a screen projection request is generated and sent to a key management device, including: generating a screen projection permission request and sending the screen projection permission request to the key management device; in response to receiving a quantum communication key sent by the key management device, generating a screen projection request and sending the screen projection request to the key management device; encrypting the screen data to be projected based on the quantum projection key, including: decrypting the quantum projection key based on the quantum communication key, and encrypting the screen data to be projected based on the decrypted quantum projection key.
[0011] On the third aspect, the present application provides a screen projection method, which is applied to a screen projection device, including: obtaining a quantum screen projection key; decrypting the screen data to be projected sent by the screen projection request end based on the quantum screen projection key, and outputting the decrypted screen data to be projected.
[0012] As a possible implementation method, obtaining the quantum screen projection key includes: in response to receiving a screen projection permission request sent by the key management device, outputting a screen projection permission interface; in response to receiving a screen projection operation allowed based on the screen projection permission interface, sending screen projection permission information to the key management device; obtaining the quantum communication key sent by the key management device; in response to receiving the quantum screen projection key sent by the key management device, decrypting the quantum screen projection key by the quantum communication key to obtain the decrypted quantum screen projection key.
[0013] In the fourth aspect, the present application provides a key management system, including: a first determination module, used to determine the screen projection device corresponding to the screen projection request in response to receiving a screen projection request sent by the screen projection request end; a first acquisition module, used to obtain the quantum screen projection key, and send the quantum screen projection key to the screen projection request end and the screen projection device corresponding to the screen projection request, so that the screen projection request end and the screen projection device corresponding to the screen projection request can transmit the data to be projected based on the quantum screen projection key.
[0014] As a possible implementation method, the above-mentioned device also includes: a second determination module, which is used to determine the screen projection device corresponding to the screen projection permission request in response to receiving a screen projection permission request sent by the screen projection request end, and send the screen projection permission request to the screen projection device corresponding to the screen projection permission request; the screen projection permission request is used to represent the screen projection request end's request to establish a communication connection with the screen projection device; a second acquisition module, which is used to obtain the quantum communication key in response to receiving the screen projection permission information sent by the screen projection device, and send the quantum communication key to the screen projection request end and the screen projection device corresponding to the screen projection permission request; the second acquisition module is specifically used to encrypt the quantum projection key by means of the quantum communication key, and send the encrypted quantum projection key to the screen projection request end and the screen projection device corresponding to the screen projection request.
[0015] As a possible implementation method, the first acquisition module is specifically used to generate a true random number, and generate multiple quantum keys based on the true random number; and determine the quantum projection key among the multiple quantum keys.
[0016] In a fifth aspect, the present application provides an electronic device comprising: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements the method of the first aspect, or the method of the second aspect, or the method of the third aspect mentioned above.
[0017] In a sixth aspect, the present application provides a computer-readable storage medium, which includes: computer software instructions; when the computer software instructions are executed in an electronic device, the electronic device implements the method of the first aspect, or the method of the second aspect, or the method of the third aspect.
[0018] In a seventh aspect, the present application provides a computer program product, which includes a computer program; when the computer program runs in an electronic device, the electronic device implements the method of the first aspect, or the method of the second aspect, or the method of the third aspect.
[0019] The beneficial effects of the second to seventh aspects mentioned above refer to the corresponding description of the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of the architecture of a screen projection system provided in this application;
[0021] Figure 2 A flowchart of a screen projection method provided in this application;
[0022] Figure 3 A flowchart of another screen projection method provided by this application;
[0023] Figure 4 A flowchart of another screen projection method provided by this application;
[0024] Figure 5 A flowchart of another screen projection method provided by this application;
[0025] Figure 6 A flowchart of another screen projection method provided by this application;
[0026] Figure 7 A flowchart of another screen projection method provided by this application;
[0027] Figure 8 A schematic diagram of the architecture of another screen projection system provided in this application;
[0028] Figure 9 A schematic diagram of the composition of a key management system provided in this application;
[0029] Figure 10 A schematic diagram of the composition of an electronic device provided in this application. DETAILED DESCRIPTION
[0030] The following is a detailed description of a call bill data recording method provided by this application with reference to the accompanying drawings.
[0031] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0032] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0033] Furthermore, the terms "including," "having," and any variations thereof, as used in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.
[0034] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0035] In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with basically the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order.
[0036] In the description of the present application, unless otherwise specified, “plurality” means two or more.
[0037] With the rapid development of internet technology, a vast amount of information needs to be shared and transmitted. Screen projection using smart devices is one way to achieve this information sharing. Existing screen projection technologies include wired and wireless. Wireless projection has gained widespread adoption and development due to its lower cost, flexibility, portability, and increased efficiency.
[0038] In the existing technology, screen projection is generally achieved through communication technologies such as wireless networks and Bluetooth to achieve communication between the screen projection request end and the screen projection device. However, these methods of data transmission between the screen projection request end and the screen projection device have security risks and are difficult to meet users' security requirements.
[0039] Therefore, there is an urgent need for a screen projection method that can improve the security of the screen projection process. Based on this, an embodiment of the present application provides a screen projection method. In this method, after obtaining the screen projection request sent by the screen projection request end, the key management device sends a quantum screen projection key to the screen projection request end and the screen projection device corresponding to the screen projection request, respectively, so that the screen projection request end and the screen projection device can realize the secure transmission of the data to be projected based on the quantum screen projection key, that is, the screen projection request end encrypts the data to be projected based on the quantum screen projection key, and the screen projection device decrypts the data to be projected based on the quantum screen projection key. In this way, the secure transmission of the data to be projected between the screen projection request end and the screen projection device is realized, the security of the screen projection process is improved, and the purpose of secure screen projection is achieved.
[0040] The embodiments provided in this application are described in detail below with reference to the accompanying drawings.
[0041] The screen projection method provided in this application can be applied to Figure 1 As shown in the projection system. Figure 1 As shown, the screen projection system includes a screen projection request end 101, a key management device 102 and a screen projection device 103.
[0042] In some embodiments, the screen projection request end 101 sends a screen projection request to the key management device 102 and the screen projection device 103. The key management device 102 sends a quantum screen projection key to the screen projection request end 101 and the screen projection device 103. Based on the quantum screen projection key, the screen projection request end 101 and the screen projection device 103 transmit the screen data to be projected. Among them, the specific interaction process between the screen projection request end 101, the key management device 102 and the screen projection device 103 can be referred to the following embodiments and will not be repeated here.
[0043] In some embodiments, the screen projection request end 101 can be a mobile phone terminal, a computer, or other device that supports the screen projection function, which is not specifically limited here.
[0044] In some embodiments, the key management device 102 can be a personal computer (PC), a laptop computer, a mobile device, a tablet computer, a laptop computer, etc. The embodiments of the present application do not limit the specific form of the key management device. Alternatively, the screen projection device can be a single server or a server cluster composed of multiple servers. In some implementations, the server cluster can be a distributed cluster server. The embodiments of the present application do not impose any restrictions on this.
[0045] In some embodiments, the screen projection device 103 can be a device with display function such as a television, a projector, a computer monitor, etc., which is not specifically limited here.
[0046] It should be noted that the system architecture described in the embodiments of the present application is intended to more clearly illustrate the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person skilled in the art will know that with the evolution of the system architecture, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0047] See also Figure 2 , Figure 2 This is a flowchart of a screen projection method provided in an embodiment of the present application. Figure 2 As shown, the screen projection method provided in this application is applied to a key management device and can be implemented by the above-mentioned screen projection device, specifically including the following steps S201 to S202.
[0048] S201. In response to receiving a screen projection request sent by a screen projection request end, determine a screen projection device corresponding to the screen projection request.
[0049] Among them, the screen projection request is used to represent that the screen projection request end requests to project the screen to the screen projection device.
[0050] In some embodiments, when a user needs to use a screen projection device to share data, a screen projection request is initiated at the screen projection request end, and information such as the identification of the screen projection device that needs to be projected is input at the screen projection request end. The screen projection request end generates a screen projection request based on the information input by the user and sends the screen projection request to the key management device.
[0051] As a possible implementation method, the screen projection request includes the identification of the screen projection device. The key management device queries the database based on the identification of the screen projection device to determine the screen projection device corresponding to the identification. The screen projection device is the screen projection device corresponding to the screen projection request.
[0052] For example, when there are multiple screen projection devices, the screen projection request end determines the screen projection device that needs to be projected and the identification of the screen projection device, generates a screen projection request based on the identification of the screen projection device and sends it to the key management device, the key management device parses the screen projection request to obtain the identification, and then determines the corresponding screen projection device.
[0053] S202. Obtain the quantum screen projection key and send the quantum screen projection key to the screen projection request end and the screen projection device corresponding to the screen projection request.
[0054] In some embodiments, the process of the projection device obtaining the quantum projection key includes: using the quantum random number generator as the key source to generate a true random number, and the key management device generates multiple quantum keys based on the true random number; the multiple quantum keys are stored in the key management device, and the quantum projection key is determined among the multiple quantum keys.
[0055] Optionally, the key management device utilizes distributed storage technology to disperse and store multiple quantum keys across multiple nodes to improve system reliability and availability. At the same time, the key management device employs redundant backup and fault-tolerant mechanisms to ensure the integrity and security of the quantum keys.
[0056] For example, due to the uncertainty of quantum keys, before sending the quantum projection key to the projection request end and the projection device, the key management device randomly determines a quantum key from multiple quantum keys and uses it as the quantum projection key.
[0057] Furthermore, after the quantum projection key is sent to the projection request end and the projection device corresponding to the projection request, the projection request end and the projection device establish communication and perform projection. The projection request end uses the quantum projection key to encrypt the data to be projected, and the projection device uses the quantum projection key to decrypt the encrypted projection data, so that the projection request end and the projection device corresponding to the screen request transmit the data to be projected based on the quantum projection key.
[0058] The technical solutions provided by the above embodiments bring at least the following beneficial effects. In the screen projection method provided by the embodiments of the present application, after obtaining the screen projection request sent by the screen projection request end, the key management device sends quantum screen projection keys to the screen projection request end and the screen projection device corresponding to the screen projection request, respectively, so that the screen projection request end and the screen projection device can realize the secure transmission of the data to be projected based on the quantum screen projection key, that is, the screen projection request end encrypts the data to be projected based on the quantum screen projection key, and the screen projection device decrypts the data to be projected based on the quantum screen projection key. In this way, the secure transmission of the data to be projected between the screen projection request end and the screen projection device is realized, the security of the screen projection process is improved, and the purpose of secure screen projection is achieved.
[0059] In some embodiments, in order to improve the security of the screen projection process and prevent the quantum screen projection key from being stolen, the solution provided in this application is that the key management device can also encrypt the quantum screen projection key before issuing the quantum screen projection key to prevent the quantum screen projection key from being stolen.
[0060] Specifically, as a feasible implementation method, Figure 3 As shown, the embodiment of the present application provides a screen projection method, which also includes the following S301-S302:
[0061] S301. In response to receiving a screen projection permission request sent by a screen projection request end, determine the screen projection device corresponding to the screen projection permission request, and send the screen projection permission request to the screen projection device corresponding to the screen projection permission request.
[0062] Among them, the screen projection permission request is used to represent that the screen projection request end requests to establish a communication connection with the screen projection device.
[0063] In some embodiments, before the screen projection device and the screen projection request end perform screen projection, the user needs to initiate a screen projection permission request at the screen projection request end to establish communication between the screen projection request end and the screen projection device, and input information such as the identification of the screen projection device that needs to be projected at the screen projection request end. The screen projection request end generates a screen projection permission request based on the information input by the user, and sends the screen projection permission request to the key management device.
[0064] As a possible implementation method, the screen projection permission request includes the identification of the screen projection device. The key management device queries the database based on the identification of the screen projection device to determine the screen projection device corresponding to the identification. The screen projection device is the screen projection device corresponding to the screen projection permission request; and the screen projection permission request is sent to the corresponding screen projection device.
[0065] It should be understood that the screen projection request end sends the screen projection permission request before the screen projection request, so the screen projection permission request and the screen projection request should correspond to the same screen projection device. If they are not the same screen projection device, the screen projection cannot be completed.
[0066] S302. In response to receiving the screen projection permission information sent by the screen projection device, obtain the quantum communication key, and send the quantum communication key to the screen projection request end and the screen projection device corresponding to the screen projection permission request.
[0067] In some embodiments, the screen projection device receives a screen projection permission request sent by the key management device, and the screen projection device displays an interface for whether to allow screen projection. The user chooses whether to allow this screen projection. If the user clicks "Yes", the screen projection device determines that the user allows this screen projection; if the user clicks "No", the screen projection device determines that the user does not allow this screen projection.
[0068] As a possible implementation method, the screen projection device determines that the screen projection is allowed and sends the screen projection permission information to the key management device. The key management device randomly determines a quantum key from multiple groups of quantum keys as the quantum communication key, and sends the quantum communication key to the screen projection request end and the screen projection device.
[0069] Furthermore, the key management device can also encrypt the quantum projection key through the quantum communication key, and send the encrypted quantum projection key to the projection request end and the projection device corresponding to the projection request. The projection request end receives the encrypted quantum projection key and decrypts it using the quantum communication key to obtain the decrypted quantum projection key; uses the decrypted quantum projection key to encrypt the screen data to be projected, and sends the encrypted screen data to the projection device. The projection device receives the encrypted quantum projection key and decrypts it using the quantum communication key to obtain the decrypted quantum projection key; uses the decrypted quantum projection key to decrypt the received encrypted screen data to be projected, obtains the screen data to be projected, and outputs the screen data to be projected.
[0070] The present application also provides a screen projection method, which is applied to the screen projection request end. Figure 4 The screen projection method specifically includes the following steps S401 to S403.
[0071] S401. In response to the operation of using a screen projection device to project the screen, a screen projection request is generated and sent to a key management device. The key management device is used to generate a quantum screen projection key and send it to the screen projection request end and the screen projection device.
[0072] As a possible implementation method, the user needs to determine the screen projection device for projection, and after confirming the projection information on the projection request end, click the button requesting the projection, where the projection information includes the identifier of the projection device, which can be the serial number of the projection device. The projection request end determines the user's operation of clicking the button requesting the projection, generates a projection request based on the projection information, and sends the projection request to the key management device.
[0073] S402. In response to receiving the quantum screen projection key sent by the key management device, encrypt the screen projection data based on the quantum screen projection key.
[0074] Optionally, the encrypted data to be projected can be further encrypted using an encryption algorithm to ensure the integrity and confidentiality of the data during transmission.
[0075] S403. Send the encrypted data to be projected to the projection device, so that the projection device decrypts the encrypted data to be projected based on the quantum projection key.
[0076] In some embodiments, the screen projection request end sends the encrypted screen projection data to the screen projection device, and the screen projection device decrypts the encrypted screen projection data based on the quantum screen projection key and outputs the screen projection data.
[0077] Furthermore, before sending the screen projection request, the screen projection request end can generate a screen projection permission request and send the screen projection permission request to the key management device; in response to receiving the quantum communication key sent by the key management device, generate a screen projection request and send the screen projection request to the key management device.
[0078] Optionally, the process of encrypting the screen projection data based on the quantum screen projection key by the screen projection request end can be: decrypting the quantum screen projection key based on the quantum communication key, and encrypting the screen projection data based on the decrypted quantum screen projection key.
[0079] In some embodiments, the projection device decrypts the quantum projection key based on the quantum communication key, and then decrypts the encrypted data to be projected based on the quantum projection key and outputs the data to be projected.
[0080] The technical solution provided by the above-mentioned embodiments brings at least the following beneficial effects. In the screen projection method provided by the embodiments of the present application, the screen projection request end receives the quantum screen projection key issued by the key management device, and realizes the transmission of the data to be projected between the screen projection request end and the screen projection device based on the quantum screen projection key, thereby improving the security of the screen projection process, thereby achieving the purpose of secure screen projection between the screen projection request end and the screen projection device.
[0081] The present application also provides a screen projection method, which is applied to a screen projection device. Figure 5 The screen projection method specifically includes the following steps S501 to S502.
[0082] S501. Obtain the quantum projection key.
[0083] As a possible implementation method, the screen projection request end sends a screen projection request to the key management device. The key management device determines the quantum screen projection key based on the screen projection request and sends the quantum screen projection key to the corresponding screen projection device. The screen projection device receives the quantum screen projection key.
[0084] As another possible implementation, when the screen projection request end sends a screen projection permission request to the key management device, the process of the screen projection device obtaining the quantum screen projection key may also include the following steps:
[0085] Step 1a: In response to receiving a screen projection permission request sent by the key management device, output a screen projection permission interface.
[0086] Step 1b: In response to receiving the screen projection permission operation based on the screen projection permission interface, send screen projection permission information to the key management device.
[0087] Step 1c: Obtain the quantum communication key sent by the key management device.
[0088] Step 1d: In response to receiving the quantum projection key sent by the key management device, decrypt the quantum projection key using the quantum communication key to obtain the decrypted quantum projection key.
[0089] S502. Decrypt the screen data to be projected sent by the screen projection request end based on the quantum screen projection key, and output the decrypted screen data to be projected.
[0090] As a possible implementation method, the screen projection device uses the quantum screen projection key to decrypt the encrypted screen projection data to obtain the data to be projected. When the screen projection device includes a display screen, the data to be projected is directly output; when the screen projection device includes a display screen, the screen projection device can establish communication with the display screen to output the data to be projected.
[0091] The technical solution provided by the above embodiments brings at least the following beneficial effects. The screen projection method provided in the embodiments of the present application sends quantum projection keys to the screen projection request end and the screen projection device through the key management device, and realizes the transmission of the data to be projected between the screen projection request end and the screen projection device based on the quantum projection key, thereby improving the security of the screen projection process and achieving the purpose of safe screen projection.
[0092] In some embodiments, see Figure 6 The screen projection method is applied to the screen projection request end, the key management device and the screen projection device, and the specific interaction process includes: S601-S605.
[0093] S601. The screen projection requesting end sends a screen projection permission request to the key management device.
[0094] S602. The key management device sends quantum communication keys to the screen projection request end and the screen projection device respectively according to the screen projection permission request.
[0095] S603. The screen projection request end sends a screen projection request to the key management device.
[0096] S604. The key management device sends the quantum screen projection key to the screen projection request end and the screen projection device respectively according to the screen projection request.
[0097] S605: The screen projection requesting end and the screen projection device implement screen projection.
[0098] The following is an introduction to the screen projection method of the embodiment of the present application based on a specific embodiment. The specific implementation process of this method is as follows: Figure 7 As shown in the figure, the system architecture of this method is as follows Figure 8 shown.
[0099] like Figure 7 As shown, the embodiment of the present application includes the following steps:
[0100] S701. Use the quantum random number generator as a key source, connect it to the key management device, encrypt and store true random numbers, and the key management device obtains the quantum communication key and quantum projection key based on the true random numbers.
[0101] S702. The screen projection request end sends a screen projection permission request to the key management device. After receiving the application, the key management device sends the quantum communication key to the screen projection request end and the screen projection device at the same time.
[0102] Among them, the screen projection request end, screen projection device and key management device need to be configured in the same local area network.
[0103] S703. The screen projection request end sends a screen projection request to the key management device. After receiving the screen projection request, the key management device randomly generates a set of quantum screen projection keys, and encrypts them with the previously issued quantum communication keys to obtain the encrypted quantum screen projection keys.
[0104] S704: Send the encrypted quantum screen projection key to the screen projection requester and the screen projection device.
[0105] S705. The screen projection requesting end and the screen projection device use the quantum communication key to decrypt at their respective ends to obtain the quantum screen projection key, and perform encrypted screen projection based on the quantum screen projection key.
[0106] Optionally, after the screen projection is completed, the quantum communication key and quantum screen projection key are automatically destroyed.
[0107] In some embodiments, as Figure 8 As shown, the screen projection system used to implement the screen projection method of this application includes: a key module 801, an application module 802, a request module 803 and a screen projection module 804.
[0108] Among them, the key module 801 is used to generate and store quantum communication keys and quantum projection keys.
[0109] The application module 802 is used to receive the screen projection permission application and complete the issuance of the quantum communication key, and is applied to the above steps S301 and S302.
[0110] The request module 803 is used to receive the screen projection request and complete the encryption and online distribution of the quantum screen projection key, and is applied to the above steps S201 and S202.
[0111] The screen projection module 804 is used to use the quantum communication key to decrypt and obtain the quantum screen projection key, and perform encrypted screen projection, which is applied to the above steps S403 and S502.
[0112] It can be seen that the above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the embodiment of the present application provides hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily appreciate that, in combination with the modules and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0113] In the embodiments of the present application, the key management system can be divided into functional modules according to the above-mentioned method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into a single processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. Optionally, the module division in the embodiments of the present application is illustrative and is only a logical functional division. In actual implementation, other division methods may be used.
[0114] In some embodiments, the present application further provides a key management system. The key management system may include one or more functional modules for implementing the screen projection method of the above method embodiment.
[0115] For example, Figure 9 This is a schematic diagram of the composition of a key management system provided in an embodiment of the present application. Figure 9 As shown, the key management system 900 includes: a first determination module 901 and a first acquisition module 902 .
[0116] Among them, the first determination module 901 is used to determine the screen projection device corresponding to the screen projection request in response to receiving the screen projection request sent by the screen projection request end.
[0117] The first acquisition module 902 is used to obtain the quantum projection key and send the quantum projection key to the projection request end and the projection device corresponding to the projection request, so that the projection request end and the projection device corresponding to the projection request can transmit the data to be projected based on the quantum projection key.
[0118] In some embodiments, the above-mentioned device also includes: a second determination module, used to determine the screen projection device corresponding to the screen projection permission request in response to receiving a screen projection permission request sent by the screen projection request end, and send the screen projection permission request to the screen projection device corresponding to the screen projection permission request; the screen projection permission request is used to represent the screen projection request end's request to establish a communication connection with the screen projection device; a second acquisition module, used to obtain the quantum communication key in response to receiving the screen projection permission information sent by the screen projection device, and send the quantum communication key to the screen projection request end and the screen projection device corresponding to the screen projection permission request; the second acquisition module is specifically used to encrypt the quantum projection key by means of the quantum communication key, and send the encrypted quantum projection key to the screen projection request end and the screen projection device corresponding to the screen projection request.
[0119] In other embodiments, the first acquisition module 902 is specifically used to generate a true random number, and generate multiple quantum keys based on the true random number; and determine the quantum projection key from the multiple quantum keys.
[0120] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present invention provides a possible structural diagram of the electronic device involved in the above-mentioned embodiment. Figure 10 As shown, the electronic device 1000 includes: a processor 1002 , a communication interface 1003 , and a bus 1004 . Optionally, the electronic device 1000 may further include a memory 1001 .
[0121] Processor 1002 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 1002 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 1002 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, or a combination of a DSP and a microprocessor.
[0122] The communication interface 1003 is used to connect to other devices via a communication network, such as Ethernet, wireless access network, or wireless local area network (WLAN).
[0123] The memory 1001 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0124] As a possible implementation, the memory 1001 can exist independently of the processor 1002, and the memory 1001 can be connected to the processor 1002 via the bus 1004 for storing instructions or program codes. When the processor 1002 calls and executes the instructions or program codes stored in the memory 1001, the screen projection method provided in the embodiment of the present invention can be implemented.
[0125] In another possible implementation, the memory 1001 may also be integrated with the processor 1002 .
[0126] The bus 1004 may be an extended industry standard architecture (EISA) bus, etc. The bus 1004 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0127] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the service calling device can be divided into different functional modules to complete all or part of the functions described above.
[0128] The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above-mentioned method embodiment can be completed by computer instructions to instruct the relevant hardware, and the program can be stored in the above-mentioned computer-readable storage medium. When the program is executed, it may include the processes of the above-mentioned method embodiments. The computer-readable storage medium can be the memory of any of the above-mentioned embodiments. The above-mentioned computer-readable storage medium can also be an external storage device of the above-mentioned service calling device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above-mentioned service calling device. Furthermore, the above-mentioned computer-readable storage medium can also include both the internal storage unit of the above-mentioned service calling device and an external storage device. The above-mentioned computer-readable storage medium is used to store the above-mentioned computer program and other programs and data required by the above-mentioned service calling device. The above-mentioned computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
[0129] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program product runs on a computer, it enables the computer to execute any one of the screen projection methods provided in the above embodiments.
[0130] The above are only specific embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A screen projection method, characterized in that: Applicable to key management devices, including: In response to receiving a screen projection request sent by a screen projection request end, determining a screen projection device corresponding to the screen projection request; the screen projection request is used to represent that the screen projection request end requests to project the screen to the screen projection device; Obtain a quantum screen projection key, and send the quantum screen projection key to the screen projection request end and the screen projection device corresponding to the screen projection request, so that the screen projection request end and the screen projection device corresponding to the screen projection request transmit the data to be projected based on the quantum screen projection key.
2. The method according to claim 1, characterized in that The method further comprises: In response to receiving the screen projection permission request sent by the screen projection request end, determining the screen projection device corresponding to the screen projection permission request, and sending the screen projection permission request to the screen projection device corresponding to the screen projection permission request; the screen projection permission request is used to represent that the screen projection request end requests to establish a communication connection with the screen projection device; In response to receiving the screen projection permission information sent by the screen projection device, obtaining a quantum communication key, and sending the quantum communication key to the screen projection request end and the screen projection device corresponding to the screen projection permission request; The sending the quantum screen projection key to the screen projection request end and the screen projection device corresponding to the screen projection request includes: The quantum screen projection key is encrypted by the quantum communication key, and the encrypted quantum screen projection key is sent to the screen projection request end and the screen projection device corresponding to the screen projection request.
3. The method according to claim 1, characterized in that The obtaining of the quantum projection key includes: Generate a true random number, and generate multiple quantum keys according to the true random number; The quantum projection key is determined among the multiple quantum keys.
4. A screen projection method, characterized in that: Applied to the screen projection request side, including: In response to an operation of using a screen projection device to project a screen, a screen projection request is generated and sent to a key management device, wherein the key management device is used to generate a quantum screen projection key and send it to the screen projection request end and the screen projection device; In response to receiving the quantum screen projection key sent by the key management device, encrypting the screen data to be projected based on the quantum screen projection key; The encrypted data to be projected is sent to the projection device, so that the projection device decrypts the encrypted data to be projected based on the quantum projection key.
5. The method according to claim 4, characterized in that The generating a screen projection request and sending the screen projection request to the key management device includes: Generate a screen projection permission request and send the screen projection permission request to the key management device; In response to receiving the quantum communication key sent by the key management device, generating a screen projection request and sending the screen projection request to the key management device; The encrypting the screen data to be projected based on the quantum screen projection key includes: The quantum screen projection key is decrypted based on the quantum communication key, and the screen projection data is encrypted based on the decrypted quantum screen projection key.
6. A screen projection method, characterized in that: Applicable to screen projection devices, including: Get the quantum projection key; The screen data to be projected sent by the screen projection request end is decrypted based on the quantum screen projection key, and the decrypted screen data to be projected is output.
7. The method according to claim 6, characterized in that The obtaining of the quantum projection key includes: In response to receiving a screen projection permission request sent by the key management device, outputting a screen projection permission interface; In response to receiving a screen projection permission operation based on the screen projection permission interface, sending screen projection permission information to the key management device; Obtaining a quantum communication key sent by the key management device; In response to receiving the quantum screen projection key sent by the key management device, the quantum screen projection key is decrypted by using the quantum communication key to obtain the decrypted quantum screen projection key.
8. A key management system, characterized in that: include: A determination module, configured to determine, in response to receiving a screen projection request sent by a screen projection request end, a screen projection device corresponding to the screen projection request; An acquisition module is used to acquire a quantum screen projection key and send the quantum screen projection key to the screen projection request end and the screen projection device corresponding to the screen projection request, so that the screen projection request end and the screen projection device corresponding to the screen projection request transmit the data to be projected based on the quantum screen projection key.
9. An electronic device, characterized in that: It includes a processor and a memory, the processor is coupled to the memory; the memory is used to store computer instructions, the computer instructions are loaded and executed by the processor to enable a computer device to implement the screen projection method as described in any one of claims 1 to 3, or the screen projection method as described in any one of claims 4 to 5, or the screen projection method as described in any one of claims 6 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes computer execution instructions, and when the computer execution instructions are run on a computer, the computer executes the screen projection method described in any one of claims 1 to 3, or the screen projection method described in any one of claims 4 to 5, or the screen projection method described in any one of claims 6 to 7.
