Information publishing method and device, electronic device and storage medium

By generating and using a secret key to encrypt the information to be published on the user terminal and separating the information to be published between the user terminal and the server, the problem of the information to be published is leaked or tampered during transmission and storage is solved. , improves the security of information.

CN113591120BActive Publication Date: 2025-02-25BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110908213.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-09
Publication Date
2025-02-25
Estimated Expiration
2041-08-09

AI Technical Summary

Technical Problem

During the information release process, the information to be released is prone to being leaked or tampered during transmission, and there is also a risk of leakage after storage on the server, which affects the security of the information.

Method used

The secret key to the information to be published is generated at the user terminal, and it is used to encrypt the information to be published and upload it to the server. At the same time, a release request containing the secret key is generated, and the request is sent to the server after receiving the issuance instruction, thereby separating the information to be issued and the secret key during the transmission process.

Benefits of technology

By encrypting and separating the information to be published and the secret key, it is ensured that the information to be published will not be leaked or tampered before transmission, and will not be accessed unauthorized before storage on the server, improving the security of information transmission and storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113591120B_ABST
    Figure CN113591120B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an information publishing method and device, an electronic device and a storage medium. The method comprises: generating a secret key corresponding to information to be published; using the secret key to encrypt the information to be published to obtain encrypted information to be published; uploading the encrypted information to be published to a server; in response to a publishing instruction for the information to be published, generating a publishing request corresponding to the information to be published, wherein the publishing request includes the secret key; and sending the publishing request to the server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to an information publishing method and device, an electronic device, and a storage medium. Background Art

[0002] Information release can refer to the process of making information public through the Internet. Before information is released, the user terminal needs to upload the information to be released to the server. It is of great significance to protect the information to be released so that the content of the information to be released will not be leaked during the release. Summary of the invention

[0003] The present invention provides a technical solution for information publishing.

[0004] According to one aspect of the present disclosure, there is provided an information publishing method, which is applied to a user terminal, and the method includes:

[0005] Generate the secret key corresponding to the information to be released;

[0006] Using the secret key, encrypting the information to be published to obtain encrypted information to be published;

[0007] Uploading the encrypted information to be published to the server;

[0008] In response to a publishing instruction for the information to be published, generating a publishing request corresponding to the information to be published, wherein the publishing request includes the secret key;

[0009] Send the publishing request to the server.

[0010] By generating a secret key corresponding to the information to be published, using the secret key to encrypt the information to be published to obtain the encrypted information to be published, uploading the encrypted information to be published to the server, and generating a publishing request corresponding to the information to be published in response to a publishing instruction for the information to be published, and sending the publishing request to the server, wherein the publishing request includes the secret key, thereby separating the information to be published and the secret key. Before the user terminal receives the publishing instruction for the information to be published, the user terminal only sends the encrypted information to be published to the server, and does not send the secret key to the server, so that the information to be published will not be leaked or tampered with during the transmission process before it is published, and will not be leaked on the server, that is, the security of the transmission and storage of the information to be published can be improved, and then the protection of the information to be published uploaded by the user terminal to the server can be achieved, and it is helpful to protect the user's privacy.

[0011] In a possible implementation, generating a secret key corresponding to the information to be published includes:

[0012] In response to an instruction to start producing information to be released, a secret key corresponding to the information to be released is generated.

[0013] In this implementation, by responding to an instruction to start generating information to be released, a secret key corresponding to the information to be released is generated, so that the generated information to be released can be encrypted and uploaded in a timely manner, which helps to store the information to be released generated by the user through the server in a timely manner, reduces the possibility of losing the information to be released generated by the user, and after the user chooses to release the information to be released, it helps to quickly release the information to be released and reduce the waiting time after the user chooses to release the information to be released.

[0014] In a possible implementation, the information to be published includes a continuously generated data stream;

[0015] The step of using the secret key to encrypt the information to be published to obtain the encrypted information to be published includes: in response to the data stream to be processed meeting a preset condition, using the secret key to encrypt the data stream to be processed to obtain an encrypted data stream to be processed, wherein the data stream to be processed represents a data stream that has been generated and not uploaded;

[0016] The uploading of the encrypted information to be published to the server includes: uploading the encrypted data stream to be processed to the server.

[0017] According to this implementation method, the information to be published can be uploaded to the server in a streaming manner, which helps to store the information to be published prepared by the user through the server in a timely manner, reduces the possibility of losing the information to be published prepared by the user, and helps to quickly publish the information to be published after the user chooses to publish the information to be published, reducing the waiting time after the user chooses to publish the information to be published.

[0018] In a possible implementation, uploading the encrypted data stream to be processed to the server includes:

[0019] The encrypted data stream to be processed is uploaded to the server in real time.

[0020] In this implementation, in response to obtaining the encrypted data stream to be processed, the encrypted data stream to be processed can be uploaded to the server in real time, thereby further improving the timeliness of the server storing the information to be published generated by the user, further reducing the possibility of losing the information to be published generated by the user, and after the user chooses to publish the information to be published, it helps to further improve the speed of publishing the information to be published and reduce the waiting time after the user chooses to publish the information to be published.

[0021] In one possible implementation,

[0022] The generating of the secret key corresponding to the information to be released includes: in response to the completion of recording of the information to be released, generating the secret key corresponding to the information to be released;

[0023] The adopting the secret key to encrypt the information to be released to obtain the encrypted information to be released includes: in response to the completion of editing of the information to be released, adopting the secret key to encrypt the information to be released to obtain the encrypted information to be released.

[0024] In this implementation, by generating a secret key corresponding to the information to be released in response to the completion of recording the information to be released, the probability of generating a secret key in an unnecessary situation can be reduced, thereby saving computing resources of the user terminal. By encrypting the information to be released using the secret key in response to the completion of editing the information to be released, the encrypted information to be released is obtained, thereby reducing unnecessary information processing and transmission.

[0025] According to one aspect of the present disclosure, there is provided an information publishing method, which is applied to a server, and the method includes:

[0026] Receive and store the encrypted information to be published uploaded by the user terminal;

[0027] In response to a publishing request from the user terminal, decrypt the encrypted information to be published using a secret key in the publishing request to obtain decrypted information to be published;

[0028] The decrypted information to be published is published.

[0029] By receiving and storing the encrypted information to be published uploaded by the user terminal, responding to the publishing request from the user terminal, using the secret key in the publishing request to decrypt the encrypted information to be published, obtaining the decrypted information to be published, and publishing the decrypted information to be published, the server cannot obtain the secret key corresponding to the encrypted information to be published before receiving the publishing request from the user terminal, that is, before receiving the publishing request from the user terminal, the server only stores the encrypted information to be published, not including the secret key. Therefore, before the server receives the publishing request from the user terminal, even a person with the server authority cannot obtain the content of the information to be published, thereby realizing the protection of the information to be published uploaded by the user terminal to the server and helping to protect the user's privacy.

[0030] In a possible implementation, the encrypted information to be published includes multiple encrypted data streams;

[0031] The step of responding to the publishing request from the user terminal and decrypting the encrypted information to be published using a secret key in the publishing request to obtain the information to be published includes:

[0032] In response to a publishing request from the user terminal, decrypt the plurality of encrypted data streams respectively using a secret key in the publishing request to obtain a plurality of decrypted data streams;

[0033] The multiple decrypted data streams are combined into decrypted information to be published according to the sequence information of the multiple decrypted data streams.

[0034] In this implementation, the server obtains the encrypted information to be published uploaded by the user terminal by streaming, which helps to store the information to be published prepared by the user through the server in a timely manner, reduces the possibility of losing the information to be published prepared by the user, and helps to quickly publish the information to be published after the user chooses to publish the information to be published, reducing the waiting time after the user chooses to publish the information to be published.

[0035] According to one aspect of the present disclosure, there is provided an information publishing device, applied to a user terminal, comprising:

[0036] A first generating module, used to generate a secret key corresponding to the information to be released;

[0037] An encryption module, used to encrypt the information to be published using the secret key to obtain encrypted information to be published;

[0038] An uploading module, used for uploading the encrypted information to be published to the server;

[0039] A second generating module, configured to generate a publishing request corresponding to the information to be published in response to a publishing instruction for the information to be published, wherein the publishing request includes the secret key;

[0040] A sending module is used to send the publishing request to the server.

[0041] In a possible implementation manner, the first generating module is used to:

[0042] In response to an instruction to start producing information to be released, a secret key corresponding to the information to be released is generated.

[0043] In a possible implementation, the information to be published includes a continuously generated data stream;

[0044] The encryption module is used to: in response to the data stream to be processed meeting the preset condition, use the secret key to encrypt the data stream to be processed to obtain an encrypted data stream to be processed, wherein the data stream to be processed represents a data stream that has been generated and not uploaded;

[0045] The uploading module is used to upload the encrypted data stream to be processed to the server.

[0046] In a possible implementation, the upload module is used to:

[0047] The encrypted data stream to be processed is uploaded to the server in real time.

[0048] In one possible implementation,

[0049] The first generating module is used to: in response to the completion of recording of the information to be released, generate a secret key corresponding to the information to be released;

[0050] The encryption module is used for: in response to the completion of editing of the information to be released, using the secret key to encrypt the information to be released to obtain encrypted information to be released.

[0051] According to one aspect of the present disclosure, there is provided an information publishing device, which is applied to a server, and includes:

[0052] A receiving module, used for receiving and storing the encrypted information to be published uploaded by the user terminal;

[0053] a decryption module, configured to respond to a publishing request from the user terminal and use a secret key in the publishing request to decrypt the encrypted information to be published to obtain decrypted information to be published;

[0054] A publishing module is used to publish the decrypted information to be published.

[0055] In a possible implementation, the encrypted information to be published includes multiple encrypted data streams;

[0056] The decryption module is used for:

[0057] In response to a publishing request from the user terminal, decrypt the plurality of encrypted data streams respectively using a secret key in the publishing request to obtain a plurality of decrypted data streams;

[0058] The multiple decrypted data streams are combined into decrypted information to be published according to the sequence information of the multiple decrypted data streams.

[0059] According to one aspect of the present disclosure, an electronic device is provided, comprising: one or more processors; a memory for storing executable instructions; wherein the one or more processors are configured to call the executable instructions stored in the memory to execute the above method.

[0060] According to one aspect of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor.

[0061] In the disclosed embodiment, a secret key corresponding to the information to be published is generated, the secret key is used to encrypt the information to be published to obtain the encrypted information to be published, the encrypted information to be published is uploaded to the server, and in response to a publishing instruction for the information to be published, a publishing request corresponding to the information to be published is generated, and the publishing request is sent to the server, wherein the publishing request includes the secret key, thereby separating the information to be published and the secret key. Before the user terminal receives the publishing instruction for the information to be published, the user terminal only sends the encrypted information to be published to the server, and does not send the secret key to the server, so that the information to be published will not be leaked or tampered with during the transmission process before it is published, nor will it be leaked on the server, that is, the security of the transmission and storage of the information to be published can be improved, thereby realizing the protection of the information to be published uploaded by the user terminal to the server, and helping to protect the user's privacy.

[0062] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

[0063] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used to illustrate the technical solutions of the present disclosure together with the specification.

[0065] Figure 1 A flow chart of the information publishing method provided by an embodiment of the present disclosure is shown.

[0066] Figure 2 A schematic diagram showing an information production interface in the information publishing method provided by an embodiment of the present disclosure.

[0067] Figure 3 Another schematic diagram showing an information production interface in the information publishing method provided by an embodiment of the present disclosure.

[0068] Figure 4 Another schematic diagram showing an information production interface in the information publishing method provided by an embodiment of the present disclosure.

[0069] Figure 5 A schematic diagram showing an information recording interface in the information publishing method provided by an embodiment of the present disclosure.

[0070] Figure 6 A schematic diagram showing an information editing interface in the information publishing method provided by an embodiment of the present disclosure.

[0071] Figure 7 A schematic diagram showing an information publishing interface in the information publishing method provided by an embodiment of the present disclosure.

[0072] Figure 8 Another flow chart of the information publishing method provided by an embodiment of the present disclosure is shown.

[0073] Fig. 9 A schematic diagram showing an application scenario of the information publishing method provided by an embodiment of the present disclosure.

[0074] Fig.10 A block diagram of an information publishing device provided by an embodiment of the present disclosure is shown.

[0075] Fig.11 Another block diagram of the information publishing device provided by an embodiment of the present disclosure is shown.

[0076] Fig.12 A block diagram of an electronic device 800 provided by an embodiment of the present disclosure is shown.

[0077] Fig.13 A block diagram of an electronic device 1900 provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0078] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0079] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0080] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.

[0081] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0082] In the related art, when the user terminal uploads the information to be published to the server, the transmission link may be monitored, resulting in the leakage of the information to be published, and the information to be published may be tampered with during the transmission process. After the server receives the information to be published uploaded by the user terminal, if the server is attacked or there is a permission loophole in the server, the information to be published may also be leaked.

[0083] In order to solve technical problems similar to those described above, in an embodiment of the present disclosure, a secret key corresponding to information to be published is generated, the secret key is used to encrypt the information to be published to obtain the encrypted information to be published, the encrypted information to be published is uploaded to a server, and in response to a publishing instruction for the information to be published, a publishing request corresponding to the information to be published is generated, and the publishing request is sent to the server, wherein the publishing request includes the secret key, thereby separating the information to be published and the secret key, and before the user terminal receives the publishing instruction for the information to be published, the user terminal only sends the encrypted information to be published to the server, and does not send the secret key to the server, so that the information to be published will not be leaked or tampered with during the transmission process before it is published, nor will it be leaked on the server, that is, the security of the transmission and storage of the information to be published can be improved, thereby realizing the protection of the information to be published uploaded by the user terminal to the server, and helping to protect user privacy.

[0084] Information release may refer to the process of making information public through the Internet. In the embodiments of the present disclosure, the information released may be any form of information. For example, the information released may include at least one of video, audio, image, software, source code, article, comment, etc. Among them, the video may be a short video, a long video, etc. The article may be news, a paper, a novel, a poem, a travel note, etc.

[0085] The information publishing method provided by the embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.

[0086] Figure 1A flow chart of the information publishing method provided by the embodiment of the present disclosure is shown. In one possible implementation, the information publishing method can be executed by a user terminal. The user terminal can be a mobile phone, a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a vehicle-mounted device or a wearable device, etc. In some possible implementations, the information publishing method can be implemented by a processor calling a computer-readable instruction stored in a memory. Figure 1 As shown, the information publishing method includes steps S11 to S15.

[0087] In step S11, a secret key corresponding to the information to be published is generated.

[0088] In step S12, the information to be published is encrypted using the secret key to obtain encrypted information to be published.

[0089] In step S13, the encrypted information to be published is uploaded to the server;

[0090] In step S14, in response to the publishing instruction for the information to be published, a publishing request corresponding to the information to be published is generated, wherein the publishing request includes the secret key.

[0091] In step S15, the publishing request is sent to the server.

[0092] In the embodiment of the present disclosure, the information to be published may represent information to be published, that is, the information to be published may be information that the user corresponding to the user terminal intends to publish. The user corresponding to the user terminal may represent a user who can operate the user terminal, that is, the user terminal may be a terminal device that can be operated by the user. The information to be published may include at least one of video, audio, image, software, source code, article, comment, etc.

[0093] The secret key corresponding to the information to be published may represent the secret key used to encrypt the information to be published and to decrypt the encrypted information to be published. In the embodiment of the present disclosure, the secret key corresponding to the information to be published is generated by the user terminal. Among them, the user terminal may use a symmetric encryption algorithm to randomly generate the secret key corresponding to the information to be published. In one possible implementation, the user terminal may use a preset symmetric encryption algorithm to randomly generate the secret key corresponding to the information to be published. In another possible implementation, the user terminal may select a symmetric encryption algorithm from a plurality of symmetric encryption algorithms as the target symmetric encryption algorithm, and use the target symmetric encryption algorithm to randomly generate the secret key corresponding to the information to be published.

[0094] In the disclosed embodiment, the user terminal may generate a secret key corresponding to the information to be published at any time before encrypting the information to be published.

[0095] In a possible implementation, the generating of the secret key corresponding to the information to be released includes: generating the secret key corresponding to the information to be released in response to the instruction to start making the information to be released. Wherein, the instruction to start making the information to be released may represent an instruction for triggering the making of the information to be released. For example, if the information to be released is a video to be released, the instruction to start making the information to be released may be an instruction to start shooting a video; if the information to be released is an audio to be released, the instruction to start making the information to be released may be an instruction to start recording an audio; if the information to be released is an article to be released, the instruction to start making the information to be released may be an instruction to start writing an article, etc. As an example of this implementation, it can be determined that the instruction to start making the information to be released is received in response to the control for making the information to be released being triggered. Wherein, it can be determined that the control for making the information to be released is triggered in response to detecting that the control for making the information to be released is clicked or touched. As another example of this implementation, it can be determined that the instruction to start making the information to be released is received in response to detecting that a preset key or a preset key combination is triggered. In this implementation, by responding to an instruction to start generating information to be released, a secret key corresponding to the information to be released is generated, so that the generated information to be released can be encrypted and uploaded in a timely manner, which helps to store the information to be released generated by the user through the server in a timely manner, reduces the possibility of losing the information to be released generated by the user, and after the user chooses to release the information to be released, it helps to quickly release the information to be released and reduce the waiting time after the user chooses to release the information to be released.

[0096] Figure 2 A schematic diagram showing an information production interface in the information publishing method provided by the embodiment of the present disclosure. Figure 2 In the example shown, the information creation interface may include a control 21 for creating information to be published, as well as a photo option 22, a video option 23, and a text option 24. Figure 2 In the example shown, in response to the video option 23 in the information production interface being selected and the control 21 for producing the information to be released being triggered, it can be determined that an instruction to start producing the information to be released has been received, wherein the instruction to start producing the information to be released can be an instruction to start shooting a video.

[0097] Figure 3 Another schematic diagram showing the information production interface in the information publishing method provided by the embodiment of the present disclosure. Figure 3 In the example shown, the information creation interface may include a control 21 for creating information to be published, as well as a photo option 22, a video option 23, and a text option 24. Figure 3In the example shown, in response to the photo taking option 22 in the information production interface being selected and the control 21 for producing information to be released being triggered, it can be determined that an instruction to start producing information to be released has been received, wherein the instruction to start producing information to be released can be a photo taking instruction.

[0098] Figure 4 Another schematic diagram showing the information production interface in the information publishing method provided by the embodiment of the present disclosure. Figure 4 In the example shown, the information creation interface may include a control 21 for creating information to be published, as well as a photo option 22, a video option 23, and a text option 24. Figure 4 In the example shown, in response to the text option 24 in the information production interface being selected and the control 21 for producing the information to be published being triggered, it can be determined that an instruction to start producing the information to be published has been received, wherein the instruction to start producing the information to be published can be an instruction to start writing a paragraph of text.

[0099] In other possible implementations, the secret key corresponding to the information to be released can be generated in response to the completion of the production of the information to be released, or, when the information to be released is a video or audio, the secret key corresponding to the information to be released can be generated in response to the completion of the recording of the information to be released, or, when the information to be released is a video or audio and the information to be released is editable, the secret key corresponding to the information to be released can be generated at any time between the completion of the recording and the completion of the editing of the information to be released, or, the secret key corresponding to the information to be released can be generated in response to the completion of the editing of the information to be released, or, the secret key corresponding to the information to be released can be generated at any time in the process of producing the information to be released, and there is no limitation here.

[0100] After the user terminal generates the secret key corresponding to the information to be published, the user terminal can use the secret key to encrypt the information to be published, obtain the encrypted information to be published, and upload the encrypted information to be published to the server. Wherein, before receiving the publishing instruction for the information to be published, the user terminal does not send the secret key to the server, that is, before the user chooses to publish the information to be published, the user terminal does not send the secret key to the server, so the server receives and stores the encrypted information to be published. That is, before the user chooses to publish the information to be published, the server receives and stores not the unencrypted information to be published, nor the encrypted information to be published and the secret key, but the encrypted information to be published. Before the user terminal receives the publishing instruction for the information to be published, the secret key only exists in the user terminal. Because before the user terminal receives the publishing instruction for the information to be released, the user terminal transmits only the encrypted information to be released to the server, but does not include the secret key. Therefore, during the process of the user terminal transmitting the encrypted information to be released to the server, the monitoring party can only obtain the encrypted information to be released, but cannot obtain the content of the information to be released. The server and other third parties cannot obtain the content of the information to be released. In addition, before the user terminal receives the publishing instruction for the information to be released, the server stores only the encrypted information to be released, but does not include the secret key. Therefore, even people with server authority cannot obtain the content of the information to be released.

[0101] In the embodiments of the present disclosure, the user terminal may communicate with the server based on protocols such as TLS (Transport Layer Security) or HTTPS (Hyper Text Transfer Protocol over Securesocket layer), which is not limited here. The user terminal may transmit the encrypted information to be published to the server by streaming. For example, the user terminal may transmit the encrypted information to be published to the server by real-time streaming or sequential streaming. Of course, the user terminal may also transmit the encrypted information to be published to the server by non-streaming means, which is not limited here.

[0102] In a possible implementation, the information to be released includes a continuously generated data stream; the use of the secret key to encrypt the information to be released to obtain the encrypted information to be released includes: in response to the data stream to be processed meeting a preset condition, the secret key is used to encrypt the data stream to be processed to obtain an encrypted data stream to be processed, wherein the data stream to be processed represents a data stream that has been generated and not uploaded; uploading the encrypted information to be released to the server includes: uploading the encrypted data stream to be processed to the server. In this implementation, the continuously generated data stream can be a continuously generated video stream, audio stream, text stream, etc. The data stream to be processed can represent a data stream that has been generated by the user terminal but not uploaded. For example, the data stream to be processed can be a video stream that has been shot by the user terminal but not uploaded; for another example, the data stream to be processed can be an audio stream that has been recorded by the user terminal but not uploaded; and so on.

[0103] In this implementation, the preset condition may represent a preset condition for packaging and encrypting the data stream to be processed. As an example of this implementation, the preset condition may include: the data volume of the data stream to be processed reaches a first preset data volume. As another example of this implementation, the preset condition may include: the duration of the data stream to be processed reaches a first preset duration. As another example of this implementation, the preset condition may include: the data volume of the data stream to be processed is not 0, and the time interval between the current time and the time when the data stream was last uploaded reaches a second preset duration. As another example of this implementation, the preset condition may include: the data volume of the data stream to be processed reaches a second preset data volume, and the time interval between the current time and the time when the data stream was last uploaded reaches a third preset duration. Of course, those skilled in the art can flexibly set the preset conditions according to the actual application scenario requirements and / or personal preferences, and are not limited here.

[0104] According to this implementation method, the information to be published can be uploaded to the server in a streaming manner, which helps to store the information to be published prepared by the user through the server in a timely manner, reduces the possibility of losing the information to be published prepared by the user, and helps to quickly publish the information to be published after the user chooses to publish the information to be published, reducing the waiting time after the user chooses to publish the information to be published.

[0105] As an example of this implementation, uploading the encrypted data stream to be processed to the server includes: uploading the encrypted data stream to be processed to the server in real time. In this example, in response to obtaining the encrypted data stream to be processed, the encrypted data stream to be processed can be uploaded to the server in real time, thereby further improving the timeliness of the server storing the information to be published created by the user, further reducing the possibility of loss of the information to be published created by the user, and after the user chooses to publish the information to be published, it helps to further improve the speed of publishing the information to be published and reduce the waiting time after the user chooses to publish the information to be published.

[0106] In a possible implementation, the generating of the secret key corresponding to the information to be released includes: in response to the completion of recording of the information to be released, generating the secret key corresponding to the information to be released; the using of the secret key to encrypt the information to be released to obtain the encrypted information to be released includes: in response to the completion of editing of the information to be released, using the secret key to encrypt the information to be released to obtain the encrypted information to be released. In this implementation, the information to be released may be information such as video or audio. Since it is common for users to abandon the current recording and re-record during the process of recording information such as video or audio, by generating the secret key corresponding to the information to be released in response to the completion of recording of the information to be released, the probability of generating the secret key in unnecessary situations can be reduced, thereby saving the computing resources of the user terminal. By using the secret key to encrypt the information to be released in response to the completion of editing of the information to be released, the encrypted information to be released can be obtained, thereby reducing unnecessary information processing and transmission.

[0107] Figure 5 A schematic diagram showing an information recording interface in the information publishing method provided by the embodiment of the present disclosure. Figure 5 In the example shown, the information recording interface may include a recording completion control 25. In response to the recording completion control 25 being triggered, it may be determined that the recording of the information to be released is completed. Alternatively, in response to the information recording duration reaching a fourth preset duration, it may be determined that the recording of the information to be released is completed. For example, the fourth preset duration may be 20 seconds, 15 seconds, etc.

[0108] Figure 6 A schematic diagram showing an information editing interface in the information publishing method provided by the embodiment of the present disclosure. Figure 6 In the example shown, the information editing interface may include an edit completion control 26. In response to the edit completion control 26 being triggered, it may be determined that the edit of the information to be published is completed. For example, the edit completion control 26 may display the text "next step". Figure 6In the example shown, the information editing interface may further include a re-recording control 27. The information recording interface may be returned in response to the re-recording control 27 being triggered. For example, the re-recording control 27 may display the text "re-shoot".

[0109] In an embodiment of the present disclosure, the user terminal may generate a publishing request corresponding to the information to be published in response to a publishing instruction for the information to be published, wherein the publishing request is used to request the server to publish the information to be published, and the publishing request carries the secret key corresponding to the information to be published. After receiving the publishing request, the server may respond to the publishing request, use the secret key in the publishing request to decrypt the encrypted information to be published, obtain the decrypted information to be published, and publish the decrypted information to be published. The decrypted information to be published is the information to be published itself.

[0110] Figure 7 A schematic diagram showing an information publishing interface in the information publishing method provided by an embodiment of the present disclosure. Figure 7 In the example shown, the information publishing interface may include a publishing control 28. In response to the publishing control 28 being triggered, it may be determined that a publishing instruction for the information to be published is received. In particular, it may be determined that the publishing control 28 is triggered in response to detecting that the publishing control 28 is clicked or touched. In the embodiment of the present disclosure, the user may choose to publish the information to be published at any time, or may choose not to publish the information to be published. In the case where the user does not choose to publish the information to be published, the encrypted information to be published stored on the server is safe.

[0111] Figure 8 Another flow chart of the information publishing method provided by the embodiment of the present disclosure is shown. In one possible implementation, the information publishing method can be executed by a server. In some possible implementations, the information publishing method can be implemented by a processor calling a computer-readable instruction stored in a memory. Figure 8 As shown, the information publishing method includes steps S31 to S33.

[0112] In step S31, the encrypted information to be published uploaded by the user terminal is received and stored.

[0113] In step S32, in response to the publishing request from the user terminal, the encrypted information to be published is decrypted using the secret key in the publishing request to obtain the decrypted information to be published.

[0114] In step S33, the decrypted information to be published is published.

[0115] In the embodiment of the present disclosure, after receiving the encrypted information to be published uploaded by the user terminal, the server can store the encrypted information to be published in a storage medium such as a disk. In a possible implementation, the server can send a storage success message to the user terminal in response to the encrypted information to be published being stored.

[0116] The server can respond to the publishing request from the user terminal, obtain the secret key from the publishing request, read the encrypted information to be published from the storage medium, and use the secret key to decrypt the encrypted information to be published to obtain the decrypted information to be published. The decrypted information to be published is the information to be published itself.

[0117] In the disclosed embodiment, by receiving and storing the encrypted information to be published uploaded by the user terminal, in response to the publishing request from the user terminal, the encrypted information to be published is decrypted using the secret key in the publishing request to obtain the decrypted information to be published, and the decrypted information to be published is published. Therefore, before the server receives the publishing request from the user terminal, the server cannot obtain the secret key corresponding to the encrypted information to be published, that is, before the server receives the publishing request from the user terminal, the server stores only the encrypted information to be published, which does not include the secret key. Therefore, before the server receives the publishing request from the user terminal, even a person with the server authority cannot obtain the content of the information to be published, thereby realizing the protection of the information to be published uploaded to the server by the user terminal and helping to protect the user's privacy.

[0118] In a possible implementation, the encrypted information to be published includes multiple encrypted data streams; the response to the publishing request from the user terminal, using the secret key in the publishing request to decrypt the encrypted information to be published to obtain the information to be published, including: responding to the publishing request from the user terminal, using the secret key in the publishing request to decrypt the multiple encrypted data streams respectively to obtain multiple decrypted data streams; according to the sequence information of the multiple decrypted data streams, merging the multiple decrypted data streams into decrypted information to be published. In this implementation, the information to be published may include continuously generated data streams. Among them, the sequence information of any one of the multiple decrypted data streams can represent the order of the decrypted data stream in the multiple decrypted data streams. For example, the sequence information may include a serial number, a timestamp, etc. In this implementation, the server obtains the encrypted information to be published uploaded by the user terminal by streaming, which helps to store the information to be published prepared by the user through the server in a timely manner, reduces the possibility of losing the information to be published prepared by the user, and helps to quickly publish the information to be published after the user chooses to publish the information to be published, reducing the waiting time after the user chooses to publish the information to be published.

[0119] The information publishing method provided by the embodiment of the present disclosure is described below through two specific application scenarios.

[0120] Application scenario 1: Fig. 9 A schematic diagram showing an application scenario of the information publishing method provided by an embodiment of the present disclosure. Fig. 9 In the example shown, the user terminal can respond to the instruction to start making the information to be released, and use a preset symmetric encryption algorithm to randomly generate a secret key K corresponding to the information to be released. The user terminal can use the secret key K to encrypt the information to be released A to obtain the encrypted information to be released B. The user terminal can upload the encrypted information to be released B to the server. After the server receives the encrypted information to be released B, it can store the encrypted information to be released B to the disk and notify the user terminal that the storage is successful. The user terminal can respond to the release instruction and send a release request to the server, wherein the release request includes the secret key K. The server can respond to the release request and use the secret key K to decrypt the encrypted information to be released B to obtain the information to be released A, and release the information to be released A.

[0121] Application scenario 2: When a user starts shooting a video through a video APP (Application) of a user terminal, the user terminal can use a preset symmetric encryption algorithm to randomly generate a secret key K corresponding to the video to be released. The video to be released may include a video stream obtained by continuous shooting. In the process of shooting the video, the user terminal can use the secret key K to encrypt the video stream and upload the encrypted video stream to the server in real time. After the shooting is completed, the server has received the encrypted video to be released. In response to the release control in the video release interface being triggered, the user terminal can send a release request to the server, wherein the release request includes the secret key K. In response to the release request, the server can use the secret key K to decrypt the encrypted video to be released, obtain the video to be released, and release the video to be released. In this application scenario, before the user chooses to release the video, the video content of the video to be released will not be leaked on the server, nor will it be leaked during the transmission from the user terminal to the server, so that the video content created by the user can be protected during the video creation process.

[0122] It can be understood that the above-mentioned various method embodiments mentioned in the present disclosure can be combined with each other to form a combined embodiment without violating the principle logic. Due to space limitations, the present disclosure will not repeat them. It can be understood by those skilled in the art that in the above-mentioned method of the specific implementation method, the specific execution order of each step should be determined according to its function and possible internal logic.

[0123] In addition, the present disclosure also provides an information publishing device, an electronic device, a computer-readable storage medium, and a program, all of which can be used to implement any information publishing method provided by the present disclosure. The corresponding technical solutions and technical effects can be found in the corresponding records in the method part and will not be repeated here.

[0124] Fig.10 A block diagram of an information publishing device provided by an embodiment of the present disclosure is shown. The information publishing device is applied to a user terminal. Fig.10 As shown, the information publishing device includes:

[0125] A first generating module 41, used to generate a secret key corresponding to the information to be released;

[0126] The encryption module 42 is used to encrypt the information to be released by using the secret key to obtain the encrypted information to be released;

[0127] An uploading module 43, used for uploading the encrypted information to be published to the server;

[0128] A second generating module 44 is configured to generate a publishing request corresponding to the information to be published in response to a publishing instruction for the information to be published, wherein the publishing request includes the secret key;

[0129] The sending module 45 is used to send the publishing request to the server.

[0130] In a possible implementation, the first generating module 41 is used to:

[0131] In response to an instruction to start producing information to be released, a secret key corresponding to the information to be released is generated.

[0132] In a possible implementation, the information to be published includes a continuously generated data stream;

[0133] The encryption module 42 is used to: in response to the data stream to be processed meeting the preset condition, use the secret key to encrypt the data stream to be processed to obtain an encrypted data stream to be processed, wherein the data stream to be processed represents a data stream that has been generated and not uploaded;

[0134] The uploading module 43 is used to upload the encrypted data stream to be processed to the server.

[0135] In a possible implementation, the uploading module 43 is used to:

[0136] The encrypted data stream to be processed is uploaded to the server in real time.

[0137] In one possible implementation,

[0138] The first generating module 41 is used to: in response to the completion of recording of the information to be released, generate a secret key corresponding to the information to be released;

[0139] The encryption module 42 is used for: in response to the completion of editing of the information to be released, using the secret key to encrypt the information to be released to obtain encrypted information to be released.

[0140] In the disclosed embodiment, a secret key corresponding to the information to be published is generated, the secret key is used to encrypt the information to be published to obtain the encrypted information to be published, the encrypted information to be published is uploaded to the server, and in response to a publishing instruction for the information to be published, a publishing request corresponding to the information to be published is generated, and the publishing request is sent to the server, wherein the publishing request includes the secret key, thereby separating the information to be published and the secret key. Before the user terminal receives the publishing instruction for the information to be published, the user terminal only sends the encrypted information to be published to the server, and does not send the secret key to the server, so that the information to be published will not be leaked or tampered with during the transmission process before it is published, nor will it be leaked on the server, that is, the security of the transmission and storage of the information to be published can be improved, thereby realizing the protection of the information to be published uploaded by the user terminal to the server, and helping to protect the user's privacy.

[0141] Fig.11 Another block diagram of the information publishing device provided by the embodiment of the present disclosure is shown. The information publishing device is applied to the server. Fig.11 As shown, the information publishing device includes:

[0142] The receiving module 51 is used to receive and store the encrypted information to be published uploaded by the user terminal;

[0143] A decryption module 52, configured to respond to a publishing request from the user terminal and use a secret key in the publishing request to decrypt the encrypted information to be published to obtain decrypted information to be published;

[0144] The publishing module 53 is used to publish the decrypted information to be published.

[0145] In a possible implementation, the encrypted information to be published includes multiple encrypted data streams;

[0146] The decryption module 52 is used for:

[0147] In response to a publishing request from the user terminal, decrypt the plurality of encrypted data streams respectively using a secret key in the publishing request to obtain a plurality of decrypted data streams;

[0148] The multiple decrypted data streams are combined into decrypted information to be published according to the sequence information of the multiple decrypted data streams.

[0149] In the disclosed embodiment, by receiving and storing the encrypted information to be published uploaded by the user terminal, in response to the publishing request from the user terminal, the encrypted information to be published is decrypted using the secret key in the publishing request to obtain the decrypted information to be published, and the decrypted information to be published is published. Therefore, before the server receives the publishing request from the user terminal, the server cannot obtain the secret key corresponding to the encrypted information to be published, that is, before the server receives the publishing request from the user terminal, the server stores only the encrypted information to be published, which does not include the secret key. Therefore, before the server receives the publishing request from the user terminal, even a person with the server authority cannot obtain the content of the information to be published, thereby realizing the protection of the information to be published uploaded to the server by the user terminal and helping to protect the user's privacy.

[0150] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. Its specific implementation and technical effects can refer to the description of the above method embodiments. For the sake of brevity, they will not be repeated here.

[0151] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions implement the above method when executed by a processor. The computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile computer-readable storage medium.

[0152] The embodiment of the present disclosure further provides a computer program, including a computer-readable code. When the computer-readable code is executed in an electronic device, a processor in the electronic device executes the above method.

[0153] The embodiments of the present disclosure also provide a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in an electronic device, a processor in the electronic device executes the above method.

[0154] An embodiment of the present disclosure also provides an electronic device, comprising: one or more processors; and a memory for storing executable instructions; wherein the one or more processors are configured to call the executable instructions stored in the memory to execute the above method.

[0155] The electronic device may be provided as a terminal, a server, or a device in other forms.

[0156] Fig.12 A block diagram of an electronic device 800 provided by an embodiment of the present disclosure is shown. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.

[0157] Reference Fig.12 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0158] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0159] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0160] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0161] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0162] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0163] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0164] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a complementary metal oxide semiconductor (CMOS) or a charge coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0165] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as a wireless network (Wi-Fi), a second generation mobile communication technology (2G), a third generation mobile communication technology (3G), a fourth generation mobile communication technology (4G) / long term evolution (LTE) of universal mobile communication technology, a fifth generation mobile communication technology (5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0166] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0167] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 804 including computer program instructions, which can be executed by a processor 820 of an electronic device 800 to perform the above method.

[0168] Fig.13 1 is a block diagram of an electronic device 1900 provided by an embodiment of the present disclosure. For example, the electronic device 1900 may be provided as a server. Fig.13 , the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.

[0169] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as a Microsoft Server operating system (Windows Server 2003). TM ), a graphical user interface operating system launched by Apple (Mac OSX TM ), a multi-user, multi-process computer operating system (Unix TM ), a free and open source Unix-like operating system (Linux TM ), an open source Unix-like operating system (FreeBSD TM ) or similar.

[0170] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to perform the above method.

[0171] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0172] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0173] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0174] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0175] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0176] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0177] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0178] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0179] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK) and the like.

[0180] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. An information publishing method, characterized in that: Applied to a user terminal, the method comprises: The user terminal generates a secret key corresponding to the information to be published; Using the secret key, encrypting the information to be published to obtain encrypted information to be published; Uploading the encrypted information to be published to the server; In response to a publishing instruction for the information to be published, generating a publishing request corresponding to the information to be published, wherein the publishing request includes the secret key; before the user terminal receives the publishing instruction for the information to be published, the secret key is only stored in the user terminal; Send the publishing request to the server.

2. The method according to claim 1, characterized in that The generating, by the user terminal, a secret key corresponding to the information to be published includes: The user terminal generates a secret key corresponding to the information to be released in response to the instruction to start producing the information to be released.

3. The method according to claim 1 or 2, characterized in that: The information to be published includes a continuously generated data stream; The step of using the secret key to encrypt the information to be published to obtain the encrypted information to be published includes: in response to the data stream to be processed meeting a preset condition, using the secret key to encrypt the data stream to be processed to obtain an encrypted data stream to be processed, wherein the data stream to be processed represents a data stream that has been generated and not uploaded; The uploading of the encrypted information to be published to the server includes: uploading the encrypted data stream to be processed to the server.

4. The method according to claim 3, characterized in that The uploading of the encrypted data stream to be processed to the server includes: The encrypted data stream to be processed is uploaded to the server in real time.

5. The method according to claim 1, characterized in that The generating, by the user terminal, a secret key corresponding to the information to be released includes: the user terminal generating, in response to completion of recording of the information to be released, a secret key corresponding to the information to be released; The adopting the secret key to encrypt the information to be released to obtain the encrypted information to be released includes: in response to the completion of editing of the information to be released, adopting the secret key to encrypt the information to be released to obtain the encrypted information to be released.

6. An information publishing method, characterized in that: Applied to the server, the method includes: Receive and store the encrypted information to be published uploaded by the user terminal; In response to a publishing request from the user terminal, decrypt the encrypted information to be published using a secret key in the publishing request to obtain decrypted information to be published; wherein the secret key is generated by the user terminal, the publishing request is generated by the user terminal in response to a publishing instruction for the information to be published, and before the user terminal receives the publishing instruction for the information to be published, the secret key is only stored in the user terminal; The decrypted information to be released is released.

7. The method according to claim 6, characterized in that The encrypted information to be released includes multiple encrypted data streams; The step of responding to the publishing request from the user terminal and decrypting the encrypted information to be published using a secret key in the publishing request to obtain the information to be published includes: In response to a publishing request from the user terminal, decrypt the plurality of encrypted data streams respectively using a secret key in the publishing request to obtain a plurality of decrypted data streams; The multiple decrypted data streams are combined into decrypted information to be published according to the sequence information of the multiple decrypted data streams.

8. An information publishing device, characterized in that: Applied to user terminals, including: A first generating module, configured to generate a secret key corresponding to the information to be published by the user terminal; An encryption module, used to encrypt the information to be published using the secret key to obtain encrypted information to be published; An uploading module, used for uploading the encrypted information to be published to the server; A second generating module, configured to generate a publishing request corresponding to the information to be published in response to a publishing instruction for the information to be published, wherein the publishing request includes the secret key; before the user terminal receives the publishing instruction for the information to be published, the secret key is only stored in the user terminal; A sending module is used to send the publishing request to the server.

9. An information publishing device, characterized in that: Applied to the server, including: A receiving module, used for receiving and storing the encrypted information to be published uploaded by the user terminal; a decryption module, configured to respond to a publishing request from the user terminal and use a secret key in the publishing request to decrypt the encrypted information to be published to obtain decrypted information to be published; wherein the secret key is generated by the user terminal, the publishing request is generated by the user terminal in response to a publishing instruction for the information to be published, and before the user terminal receives the publishing instruction for the information to be published, the secret key is only stored in the user terminal; A publishing module is used to publish the decrypted information to be published.

10. An electronic device, characterized in that: include: one or more processors; a memory for storing executable instructions; The one or more processors are configured to call the executable instructions stored in the memory to execute the method according to any one of claims 1 to 7.

11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Network video premiering method and system

    CN106791935A

  • Data processing method, device and system and storage medium

    CN109635581A