Photo live broadcast method and device based on block chain authentication, medium and product
By using blockchain-based multi-layered nested QR codes and photo-altering image generation technology, the problems of information leakage and conflicts in sharing group photos in photo live streaming are solved, achieving secure photo live streaming and privacy protection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-15
- Publication Date
- 2026-04-07
AI Technical Summary
Existing photo live streaming services based on 5G networks and cloud infrastructure pose a risk of photo information leakage. Any user who obtains the live stream link or QR code can view the photos, threatening user information security and easily causing user dissatisfaction when sharing group photos.
It adopts a multi-layered nested QR code structure based on blockchain authentication. Participants are identified through blockchain authentication nodes, and after successful identification, they are provided with access links to live photo streaming. At the same time, when sharing group photos, photos are generated and merged to replace images, respecting the privacy and personal image of participants.
It enables secure remote verification of participant identities, prevents unauthorized access and information leakage, respects participants' privacy rights, and improves user experience and information security.
Smart Images

Figure CN121815014A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of live photo technology, and in particular to methods, devices, media, and products for live photo streaming based on blockchain authentication. Background Technology
[0002] Photo live streaming services based on 5G networks and cloud infrastructure have become a common way for users to share event photos in real time. Users can create live stream topics to instantly capture, upload, and view photos, and invite others to join the live stream via QR codes or links, which is convenient and fast. However, anyone who obtains the live stream link or QR code can view the photos, which can easily lead to the leakage of photo information and threaten user information security. Summary of the Invention
[0003] In view of this, exemplary embodiments of the present disclosure provide a method, device, medium, and product for live photo streaming based on blockchain authentication to address the problems existing in the related technologies.
[0004] One aspect of an exemplary embodiment of this disclosure provides a blockchain-authenticated photo live streaming method, the method comprising: In response to a photo live stream request, a multi-layered nested QR code corresponding to the photo live stream is created; the multi-layered nested QR code includes basic information and access link for the photo live stream, as well as an authentication layer corresponding to each participant; the authentication layer encapsulates the authentication information of the corresponding participant; In response to a participant's scanning operation of the multi-layered nested QR code, the identity verification information corresponding to the participant is obtained; Based on the authentication information, the participant is authenticated through a blockchain authentication node; After successful authentication, the participant is provided with an access link to the live photo stream.
[0005] Another aspect of the exemplary embodiments disclosed herein provides a blockchain-authenticated photo live streaming device, the device comprising: The data acquisition module, in response to the photo live streaming request, creates a multi-layered nested QR code corresponding to the photo live stream; the multi-layered nested QR code includes basic information and access link of the photo live stream, as well as an identity verification layer corresponding to each participant; the identity verification layer encapsulates the identity verification information of the corresponding participant; The data processing module, in response to the participant's scanning operation of the multi-layered nested QR code, obtains the identity verification information corresponding to the participant; The data processing module is also used to verify the identity of the participant through a blockchain authentication node based on the identity verification information; The data processing module is also used to provide the participant with the access link for the live photo stream after the identity verification is successful.
[0006] In another aspect of exemplary embodiments of this disclosure, a computer device is provided, including a memory, a processor, and a computer program stored in the memory, the processor executing the computer program to implement the methods described in exemplary embodiments of this disclosure.
[0007] In another aspect of exemplary embodiments of this disclosure, a computer-readable storage medium is provided having a computer program / instructions stored thereon that, when executed by a processor, implements the methods described in exemplary embodiments of this disclosure.
[0008] In another aspect of exemplary embodiments of this disclosure, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the methods described in exemplary embodiments of this disclosure.
[0009] As will be described in detail below, a blockchain-based photo live streaming method according to an embodiment of this disclosure creates a multi-layered nested QR code corresponding to the photo live streaming in response to a photo live streaming request. The multi-layered nested QR code includes basic information about the photo live streaming and an access link, as well as an identity verification layer corresponding to each participant. The identity verification layer encapsulates the identity verification information of the corresponding participant. In response to a participant scanning the multi-layered nested QR code, the identity verification information corresponding to the participant is obtained. Based on the identity verification information, the participant is authenticated through a blockchain authentication node. After successful identity verification, the participant is provided with an access link to the photo live streaming. Therefore, the blockchain-based photo live streaming method provided by this disclosure, through a multi-layered nested QR code structure and a blockchain collaborative authentication mechanism, utilizes the tamper-proof and transparent traceability characteristics of blockchain to achieve secure remote verification of participant identities, ensuring that only participants whose identities have been verified can obtain access to the photo live streaming, fundamentally defending against the threat of unauthorized access and information leakage caused by link leakage. Attached Figure Description
[0010] The above and other objects, features, and advantages of this disclosure will become more apparent from the more detailed description of the embodiments thereof in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the embodiments of this disclosure to explain the disclosure and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.
[0011] Figure 1 A schematic diagram of the photo live streaming function of China Mobile Cloud Drive provided in this embodiment of the disclosure; Figure 2A flowchart illustrating the blockchain-based photo live streaming method provided in this embodiment of the disclosure; Figure 3 This is a schematic diagram of the identity authentication process provided in an embodiment of the present disclosure; Figure 4 A schematic diagram showing the outline shape information of a specific participant provided in an embodiment of this disclosure; Figure 5 A schematic diagram of the network architecture of the photo substitution image generation model provided in this embodiment of the disclosure; Figure 6 A schematic block diagram of the functional modules of a blockchain-authenticated photo live streaming device provided in the embodiments of this disclosure; Figure 7 A structural block diagram of an electronic device provided in an embodiment of this disclosure; Figure 8 A schematic diagram of a computer program product provided in an embodiment of this disclosure. Detailed Implementation
[0012] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0013] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0014] The term "comprising" and its variations as used herein are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc., used in this disclosure are only used to distinguish different devices, modules, or units, and are not intended to limit the order of functions performed by these devices, modules, or units or their interdependencies.
[0015] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0016] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0017] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0018] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
[0019] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device. It is understood that the above notification and user authorization process is merely illustrative and does not constitute a limitation on the implementation of this disclosure; other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0020] Photo live streaming services based on 5G networks and cloud infrastructure have become a common way for users to share event photos in real time. Users can create live streaming topics to instantly capture, upload, and view photos, and invite others to join via QR codes or links, making it convenient and fast.
[0021] For example, the creation and sharing process of the photo live streaming function will be described using the China Mobile Cloud Drive APP. Figure 1 This is a schematic diagram of the photo live streaming function of China Mobile Cloud Drive provided in an embodiment of this disclosure, as shown below. Figure 1 As shown, the initiator first selects "Photo Live Streaming" on the homepage of the China Mobile Cloud Drive APP under "More Tools," completes initial settings such as theme, skin, and permissions, and then clicks the "Confirm Creation" button. Others are then invited to join via QR code or shareable link. Participants join the live stream by clicking the link or scanning the QR code. Clicking the "People" button allows them to quickly find all photos of each person by their avatar. Clicking the "Upload" button adds the photos to the live stream, and clicking the "Save" button saves them to their personal cloud account. Additionally, clicking the "Find Me" button allows users to upload a single photo and quickly find themselves using facial recognition.
[0022] However, anyone who obtains the live stream link or QR code can view the photos, which could easily lead to the leakage of photo information and threaten user information security. Secondly, when sharing group photos, if some users in the photo do not agree to the photos being made public, directly publishing them can easily cause user dissatisfaction and reduce user experience.
[0023] Therefore, to address the aforementioned issues, this exemplary embodiment provides a blockchain-based photo live-streaming method. By introducing a blockchain identity authentication mechanism and intelligent image processing technology, it effectively enhances the security and privacy protection of photo live-streaming. Specifically, when a participant triggers a unique short link or QR code, a blockchain authentication node is activated to verify the participant's identity, preventing attackers from maliciously obtaining the live-streaming link and thus avoiding the security threat of photo information leakage. On the other hand, in the scenario of sharing group photos in photo live-streaming, when there are participants in the group photo who do not wish to share, a photo substitution image generation model is used to generate and merge a photo substitution image, which is then shared to the live-streaming room. This mechanism fully respects the privacy and personal image of each participant, effectively avoiding causing distress or harm to others due to sharing unsatisfactory photos.
[0024] For example, Figure 2 This is a flowchart illustrating the blockchain-based photo live-streaming method provided in this embodiment of the disclosure, as shown below. Figure 2 As shown, the specific steps may include: Step S210: In response to the photo live streaming request, create a multi-layered nested QR code corresponding to the photo live stream. The multi-layered nested QR code includes basic information about the photo live stream and the access link, as well as an authentication layer corresponding to each participant; the authentication layer encapsulates the authentication information of the corresponding participant.
[0025] In this embodiment, the application with photo live streaming function is described using China Mobile Cloud Drive APP as an example.
[0026] For example, the person initiating the photo live stream logs into the China Mobile Cloud Drive APP, then selects the photo live stream function in the more tools on the homepage, and clicks the confirm creation button to generate a photo live stream QR code.
[0027] Before clicking the "Confirm Creation" button, to achieve personalization and improve user experience, the initiator can initialize settings such as the theme, skin, and permissions for the photo live stream. Additionally, the initiator can submit the target participant's identity information in the permission settings, allowing the cloud storage server to pre-record the participants' identities for subsequent identification.
[0028] Subsequently, in response to the request to initiate photo live streaming, the mobile cloud storage server creates a multi-layered nested QR code. This QR code contains multiple layers of QR code images, including basic information about the photo live stream and the access link, as well as the authentication layer corresponding to each participant. The authentication layer encapsulates the authentication information of the corresponding participant.
[0029] Finally, the organizer of the photo live stream will distribute the completed multi-layered nested QR codes to the target participants through sharing, thereby inviting them to join the photo live stream.
[0030] Step S220: In response to the participant's scanning operation of the multi-layered nested QR code, obtain the participant's corresponding identity verification information.
[0031] In this embodiment, participants use mobile devices to scan multi-layered nested QR codes. The scanning software first reads the basic information of the photo live stream, which is visible to all participants. Based on the basic information, participants decide whether to join the photo live stream. If a participant confirms joining, they can send a participation command through the interface. Once the confirmation command is received, the cloud disk server parses the unique authentication layer corresponding to the participant in the multi-layered nested QR code based on the identity identifier pre-stored during the permission setting phase. This layer is only visible to the participant and encapsulates the participant's authentication information.
[0032] Step S230: Based on the authentication information, authenticate the participant through the blockchain authentication node.
[0033] In this embodiment, after obtaining identity verification information, the participant initiates the identity verification process, generating an identity verification request containing the participant's identity identifier, which is then forwarded by the mobile cloud storage server to the authentication node in the blockchain network. Upon receiving the request, the blockchain authentication node dynamically generates authentication parameters and returns them to the participant. The participant, based on the dynamic parameters and their own identity credentials, generates a live photo signature. This signature contains a hidden mapping of the participant's identity and embeds a unique identifier for this authentication session. The participant submits the signature to the blockchain authentication node for verification, thus completing the identity verification process.
[0034] Step S240: After successful authentication, provide participants with an access link to the live photo stream.
[0035] After successful identity verification, the blockchain authentication node sends a verification success confirmation message to the mobile cloud storage server. Upon receiving this message, the server verifies the authenticity of the blockchain node's signature and the validity of the timestamp to prevent replay attacks and forged responses. After both verifications pass, the server confirms the participant as a legitimate authorized user. The server then activates and authorizes the participant to access the hidden photo live stream access link layer within the multi-layered nested QR codes. The participant joins the photo live stream room using the photo live stream access link.
[0036] Based on this, by using a multi-layered nested QR code structure and a blockchain collaborative authentication mechanism, and leveraging the tamper-proof and transparent traceability characteristics of blockchain, remote verification of participant identities is achieved. This ensures that only verified target participants can obtain access to the photo live stream, fundamentally defending against the threat of unauthorized access and information leakage caused by link leaks.
[0037] Based on the above embodiments, in another embodiment provided in this disclosure, the above-mentioned multi-layer nested QR code may include: the number of layers of the multi-layer nested QR code is n+2, where n is the number of participants; the first layer QR code includes basic information about the photo live stream; the second to the (n+1)th layer QR codes are the identity verification layers corresponding to each participant; and the (n+2)th layer QR code includes the access link for the photo live stream.
[0038] In this embodiment, the specific hierarchical structure and functions of multi-layered nested QR codes may include: The first layer of the QR code is the public information layer, visible to all participants. This layer encapsulates the basic information of the photo livestream, which may include: the livestream's identifier, event name, livestream time, initiator information, expected participants, and photo access permissions. By parsing this public information layer, participants can obtain relevant information about the livestream and thus determine whether to participate.
[0039] The second to (n+1)th layers of QR codes constitute the personal authentication layers. Each of these n layers of QR code images is visible only to a specific user, and not to other users. Each layer encodes a short authentication link bound to the corresponding user's identity, enabling authentication of each user based on the target page of each short link.
[0040] The (n+2)th layer of the QR code is a hidden access layer, containing a hidden QR code image that is not directly displayed to the user. It is only triggered and shown to the user after successful authentication. Parsing this layer of the QR code reveals the actual live stream link address for the photo live stream, which participants can use to join the photo live stream room.
[0041] To illustrate multi-layered nested QR codes more concretely, consider this example: Suppose a 5-layer nested QR code (n=3) is generated, where the third layer contains an authentication short link corresponding to user A's identity. When user A scans this QR code, the first layer will be displayed first, followed by the third layer. Before authentication, user A cannot see the second, fourth, and fifth layers. After authentication, user A can only see the fifth layer of the 5-layer nested QR code.
[0042] Similarly, if the second layer contains an authentication short link corresponding to user B's identity, then after scanning, user B will only see the second layer QR code after seeing the first layer information. User B cannot see the third, fourth, and fifth layers before authentication, and after authentication, user B can only see the fifth layer of the nested QR code.
[0043] Based on this, by setting up a first layer of public information visible to all participants, invitees can obtain key information about the event at the beginning of the scanning process and decide whether to continue. Furthermore, breaking down the QR code into n independent authentication layers associated with specific user identities means that even if an attacker obtains the QR code, they cannot directly see all the authentication layers, nor can they trigger the authentication process for a specific user, thus improving data security. Finally, displaying the photo livestream link only after successful authentication not only protects the real address of the livestream room from easy exposure but also ensures that only legitimate users can enter the photo livestream room, thus preventing unauthorized access at the source. Therefore, the multi-layered nested QR code based on authentication effectively solves the information security risks caused by a unified and indiscriminate access to livestream links.
[0044] Based on the above embodiments, in another embodiment provided in this disclosure, the above-mentioned response to a participant's scanning operation of a multi-layered nested QR code to obtain the participant's corresponding identity verification information includes: Send basic information about the photo livestream to participants; After receiving the participant's confirmation instruction based on basic information, obtain the identity verification information of the i-th layer QR code associated with the participant's identity, where i is an integer between 2 and n+1.
[0045] In this embodiment, after receiving a multi-layered nested QR code shared by the initiator, participants scan it using a QR code scanning device. Because the QR code has a multi-layered nested structure, the scanning device first automatically identifies and parses the first layer of the QR code, displaying basic information about the photo livestream to the participant so they can confirm their participation. The information in the first layer of the multi-layered nested QR code includes relevant information about the photo livestream, such as the livestream's identifier, event name, livestream time, initiator information, expected participants, and the public access permissions for the photos.
[0046] When a participant confirms their participation in the photo livestream, they continue scanning the i-th layer of the nested QR code corresponding to user i's identity to obtain the short authentication link associated with user i's identity. Conversely, if a participant confirms they will not participate in the photo livestream, they can end the process without scanning the i-th layer of the QR code corresponding to user i's identity.
[0047] Based on this, by disclosing the first layer of basic information, invited participants can fully understand the details of any photo livestream before entering it. Furthermore, the simple action of entering a photo livestream is broken down into two stages: information confirmation and identity verification. This allows the system to execute different logic at different stages, improving the clarity and controllability of the process.
[0048] Based on the above embodiments, in another embodiment provided in this disclosure, the above-mentioned identity verification of participants through blockchain authentication nodes based on identity verification information includes: In response to a participant's triggered authentication action, an authentication request is sent to the authentication node in the blockchain network; Receive authentication parameters returned by the authentication node based on the identity authentication request, and generate the participant's photo live stream signature information based on the authentication parameters; the authentication parameters include the first tracking variable generated by the authentication node; The photo live stream signature information is sent to the authentication node for identity verification.
[0049] In this embodiment, after scanning the QR code corresponding to the user's level, the participant needs to further trigger the short link to enter the identity verification process.
[0050] For example, Figure 3 This is a schematic diagram of the identity authentication process provided in an embodiment of the present disclosure, such as... Figure 3 As shown, the identity authentication process requires collaboration between the participant, the blockchain authentication node, and the mobile cloud storage server. Specifically, this may include: After a participant triggers a short link, the mobile cloud drive server receives the join request and forwards it to the authentication node in the blockchain.
[0051] After receiving an identity authentication request, the blockchain's authentication node selects two random numbers u and v, and the exponents a and b of the two random numbers, and calculates the participant's first tracking variable according to the following calculation method. and : ;
[0052] Furthermore, blockchain authentication nodes can also authenticate participants based on their identity information. The private key of the blockchain's authentication node and preset identity authentication parameters The participant's signature information is calculated as follows:
[0053] Then, the blockchain's authentication nodes send the signature information of the identity authentication request to the participants:
[0054] Based on this, the immutability, transparency, and traceability of the blockchain network ensure the randomness of the authentication parameters and the fairness of the generation process. Secondly, the authentication node generates and distributes the first tracking variable, which participants use to calculate the live photo signature, effectively preventing replay attacks using static credentials and enhancing session security.
[0055] Based on the above embodiments, in another embodiment provided in this disclosure, the above-mentioned generation of participant photo live stream signature information based on authentication parameters may include: Obtain the first tracking variable from the authentication parameters; A second tracking variable is generated based on the random number exponent in the authentication parameters; Randomly select a set of identity authentication auxiliary values, and calculate the identity authentication auxiliary variable based on the identity authentication auxiliary values; Based on the identity authentication auxiliary variable, the first tracking variable, the second tracking variable, and the preset hash function, the hidden identity information of the participants is determined; Generate photo live stream signature information based on hidden identity information and identity authentication auxiliary values.
[0056] In this embodiment, the first tracking variable is obtained from the authentication parameters. and .
[0057] After receiving the reply from the blockchain's authentication node, the participant generates a second tracking variable based on the exponent of the random number in the reply, using the following calculation method:
[0058] in, , and The second tracking variable representing participants, and Used for subsequent calculation of participants' live photo signature information; This indicates the preset hash function.
[0059] In addition, participants randomly selected 5 identity verification auxiliary values. Based on these five identity authentication auxiliary values, the identity authentication auxiliary variables B1, B2, B3, B4, and B5 are calculated as follows:
[0060]
[0061]
[0062] in, and Represents a random number.
[0063] Subsequently, participants were identified based on auxiliary variables B1, B2, B3, B4, and B5, and the first tracking variable. and Second tracking variable And a preset hash function, which determines the hidden identity information of participants in the following manner. :
[0064] Finally, the participants used their hidden identity information Identity authentication auxiliary value The signature information for the live photo broadcast is calculated. And will live stream the signature information of the photo. And the timestamp generated by the signature information is sent to the blockchain's identity authentication node: ; ; ;
[0065]
[0066] Based on this, by introducing random auxiliary values and using a hash function, the original identity information is transformed into hidden identity information that cannot be reversed, effectively avoiding the risk of identity data exposure during transmission. Secondly, by integrating the first tracking variable from the authentication node, the locally generated second tracking variable, and auxiliary variables, the final generated photo live-stream signature information has the characteristics of being temporary, unique, and strongly bound to this authentication, making it impossible to reuse or forge, greatly improving data security.
[0067] Based on the above embodiments, in another embodiment provided in this disclosure, the above-mentioned blockchain-based photo live streaming method may further include: Receive verification result information from the authentication node. The verification result information includes: a verification success identifier, the authentication node's digital signature of the verification success identifier, and the signature timestamp. Verify the validity of the signature timestamp and the authenticity of the digital signature; After successful verification, a photo live stream join code is generated for the participant; the photo live stream join code is used by the participant to obtain the access link for the photo live stream.
[0068] In this embodiment, after the blockchain's identity authentication node receives the live photo signature information of a participant, it first verifies whether the time of the live photo signature information is valid. If the time of the live photo signature information has expired, the live photo signature information is deleted.
[0069] Conversely, if the photo livestream signature information is valid, the blockchain's identity authentication nodes can further verify it. Whether it is true or not. Among them, The calculation method is as follows:
[0070] Where M represents the participant's identity information; This represents the auxiliary variable for participant authentication calculated by the blockchain's identity authentication node based on the live photo signature information.
[0071] The specific calculation method for the identity authentication auxiliary variable is as follows:
[0072]
[0073]
[0074] in, This indicates that the blockchain's identity authentication node randomly selects an auxiliary value for identity authentication from the participants.
[0075] like Once established, the blockchain's identity authentication nodes will use the participant's photo to live-stream signature information and the blockchain's identity authentication node's private key. The signature information of the identity authentication node is obtained by signing the live photo signature information of the participants in the following manner. :
[0076] Then, the blockchain's identity authentication node will sign the information. The time T1 for generating the signature information, and the live photo signature information of the participants ( , (T1) is sent to the mobile cloud disk server.
[0077] The mobile cloud storage server receives information sent by the blockchain's identity authentication node. , After T1), first verify the generation time T1 of the signature information of the identity authentication node. If the generation time T1 is valid, then further determine a photo live stream join code for the participant according to the following calculation method:
[0078] Finally, the mobile cloud storage server will include the photo live stream join code and the validity period of the photo live stream join code. , The code is sent to the participants so that they can join the live stream using the join code.
[0079] After successful identity verification, participants can continue scanning the final layer of the nested QR code, the (n+2)th layer, to extract the real link address for the photo livestream. Finally, participants use the previously obtained joining code to officially join the photo livestream via this link address.
[0080] Based on this, the identity-bound short link and the blockchain authentication process constitute a dual guarantee for identity verification, ensuring the security and credibility of the identity authentication process. Furthermore, the addition of a code mechanism and the hidden access layer enable dynamic granting of access permissions and protection of the link address.
[0081] Based on the above embodiments, in another embodiment provided in this disclosure, the above-mentioned blockchain-based photo live streaming method may further include: Identify participants' operational intentions in photo live streaming, including sharing photos, viewing photos, and both sharing and viewing photos; If the intention is to share photos, execute the photo sharing process; If the user's intention is to view photos, the photo viewing process will be executed. If the intention is to both share and view photos, execute both the photo sharing and photo viewing processes.
[0082] In this embodiment, after a participant successfully joins the photo live stream room, the mobile cloud drive server determines the participant's specific needs and guides the participant to the corresponding function branch.
[0083] Specifically, when a participant wants to share a photo, a photo-sharing process is executed.
[0084] When a participant wants to view photos shared by other participants, the photo viewing process is executed.
[0085] When a participant wants to both share photos and view photos shared by other participants, the photo sharing process and the photo viewing process are executed simultaneously.
[0086] Based on this, the mobile cloud disk server executes corresponding processing mechanisms to address the different operational intentions of participants, achieving seamless integration of multiple tasks and improving the overall smoothness of interaction.
[0087] Based on the above embodiments, in another embodiment provided in this disclosure, the above-mentioned photo sharing process may include: Get the photo type of the photo to be shared, including photos of people and non-people; If the photo type is not a portrait, share the photo to be shared to the photo live stream room; If the photo type is a portrait, proceed with the authorization sharing process.
[0088] In this embodiment, once the mobile cloud storage server confirms that the participant's intention is to share photos, it will identify the type of the photos selected by the participant. In this embodiment, the photo types are divided into non-person photos and person photos. Non-person photos do not contain people, such as landscape photos or photos of famous scenic spots, while person photos contain people, including solo photos, photos of others, or group photos.
[0089] If the identification result is not a photo of a person, no further review or processing will be carried out, and the photo will be directly shared to the photo live stream room for all participants to view.
[0090] If the identification result is a photo of a person, the authorization sharing process is executed, and the photo of a person is further subdivided and authorized for management.
[0091] Based on this, by distinguishing between non-personal photos and personal photos, different sharing strategies are implemented for different types of photos, achieving differentiated content management. Non-personal photos that do not involve privacy are exempt from manual review and authorization processes, enabling barrier-free sharing. For personal photos involving portraits, an authorization sharing process is implemented, building a barrier to protect privacy.
[0092] Based on the above embodiments, in another embodiment provided in this disclosure, the above-described authorization sharing process may include: Get the breakdown of the photos to be shared, including: solo photos of the sharer, solo photos of other participants, and group photos; If the subcategories are individual photos of the sharer, the photos to be shared will be shared to the photo live stream room; In the case of individual photos of other participants, send a sharing authorization request to other participants, and share the photo to be shared to the photo live stream room after obtaining authorization; In the case of a group photo, a sharing authorization request is sent to each of the other participants in the group photo, and a merged photo is generated based on the authorization results. The merged photo is then shared to the photo live stream room.
[0093] In this embodiment, if the photo to be shared is determined to be a portrait, the mobile cloud storage server will further identify the sub-type of the portrait and perform hierarchical authorization management based on the sub-type. The sub-types of portraits may include: a solo photo of the sharer, solo photos of other participants, and group photos (regardless of whether the sharer is included in the group photo).
[0094] For different sub-types, the authorization sharing process may include: When the subcategories are individual photos of the sharer, it is determined that the right to share the photo rests entirely with the individual. Therefore, the mobile cloud storage server directly shares the photo to the photo livestream room.
[0095] When the subcategories are individual photos of other participants, the mobile cloud storage server identifies the corresponding participant information based on the photo and automatically sends photo sharing authorization requests to all participants involved in the photo. The photo sharing authorization request includes the photo's content information and the sharer's information. If other participants agree to the sharer's request, they send confirmation information back to the mobile cloud storage server. If other participants do not agree to the sharer's request, the sharer cannot share the other participants' photos to the photo live stream.
[0096] For example, participant A takes a solo photo (b) of participant B and attempts to share it. After the server identifies the person in photo b as participant B, it sends an authorization request to B. If B agrees to share, B sends confirmation of authorization to the server, and photo b can be shared to the live stream; if B disagrees, B sends a confirmation of non-authorization, and the system will prevent the sharing of photo b.
[0097] When the sub-category is group photo, a photo sharing authorization request is sent to each identifiable participant in the group photo (excluding the sharer).
[0098] If all participants in the group photo agree to share it, the mobile cloud drive server will directly share the group photo to the photo live stream room.
[0099] If none of the participants in the group photo agree to share it, the mobile cloud storage server will refuse the sharer's request to share the group photo to the photo live stream.
[0100] If some participants in the group photo agree to share while others do not, the original group photo will not be shared directly. Instead, a merged photo will be generated based on the authorization results and shared to the photo live stream room.
[0101] Based on this, by defining the subcategories of portrait photos and introducing a tiered authorization mechanism, we not only respect each participant's right to their own image, but also provide a way to resolve potential disagreements in group photo scenarios. This effectively protects the portrait rights and privacy of participants while promoting sharing.
[0102] Based on the above embodiments, in another embodiment provided in this disclosure, the generation of the fused photograph according to the authorization result may include: Based on the authorization results, participants who disagree with sharing the group photo will be identified as specific participants; Obtain basic personal information of specific participants and basic information of group photos; basic personal information includes: the outline shape, posture, clothing and props of specific participants, as well as boundary information between adjacent participants; basic photo information includes: style information and background information of the photos to be shared; Input personal basic information and photo basic information into a pre-constructed photo replacement image generation model to obtain a photo replacement image; The photo substitute image is merged into the position of a specific participant in a group photo to generate a merged photo.
[0103] In this embodiment, based on the authorization results returned by each participant, participants who disagree with sharing are identified as specific participants. The basic personal information of these specific participants and the basic information of the group photo are then obtained. The basic personal information includes: the specific participant's identity information, their position in the group photo, their silhouette shape, posture, clothing and props, and the boundary information between their silhouette and other adjacent participants. The basic photo information includes: the style information and background information of the photo to be shared.
[0104] The outline shape information of the person is used to determine the basic shape of the subsequent generated photo replacement image, and the boundary information is used to determine the distance between the outline of the subsequent generated photo replacement image and other people or objects in its adjacent positions, so as to ensure that the generated photo replacement image will not cover the normal display of adjacent people or background content during fusion.
[0105] For example, Figure 4 A schematic diagram showing the outline shape information of a specific participant provided in an embodiment of this disclosure.
[0106] Furthermore, to enhance the harmony between the photo substitute image and the overall image, posture information, costume and prop information, as well as the style and background information of the photo can be collected from participants in adjacent positions of a specific participant. Costume and prop information includes clothing, makeup, and props, while background information includes background content and color. For example, if a specific participant and adjacent participants perform a heart-shaped gesture together, the posture information will guide the posture design of the substitute image, ensuring that the substitute image coordinates with the actions of the surrounding figures. The costume and prop information, photo style, and background information collectively ensure that the generated content is visually consistent with the original image, enhancing its harmonious aesthetics.
[0107] Finally, the extracted character outline shape information, boundary information, pose information of participants in adjacent positions, costume and prop information, and style and background information of the photo are input into a pre-built photo substitution image generation model to generate a photo substitution image.
[0108] The generated photo replacement image will be merged into the corresponding position of a specific participant in the original photo to obtain a merged photo.
[0109] Based on this, by extracting the contour location information of specific participants and combining it with multi-dimensional features such as the participants' posture, clothing, style and background, the generated replacement image is visually natural and coordinated, improving the aesthetics and scene consistency of the fused photo and reducing the sense of incongruity that replacement processing may bring.
[0110] Based on the above embodiments, in another embodiment provided in this disclosure, the network architecture of the above-mentioned photo substitution image generation model includes effective residual blocks and effective concatenated blocks; the effective residual block includes two consecutive group convolutional layers and one convolutional layer; the effective concatenated block includes three consecutive convolutional layers and two residual blocks with parameters.
[0111] For example, Figure 5 This is a schematic diagram of the network architecture of the photo substitution image generation model provided in the embodiments of this disclosure. Figure 5 As shown, the photo substitution image generation model consists of effective residual blocks (marked by the red box in the figure) and effective cascade blocks (marked by the blue box in the figure).
[0112] The effective residual block consists of two consecutive 3×3 convolutional layers (Gconv) and one pointwise convolutional layer (1×1conv), and the effective concatenated block consists of three consecutive 1×1conv convolutional layers and two residual blocks with parameters.
[0113] The process of generating a photo substitute image may specifically include: First, the outline shape information of a specific participant in the photo, the boundary information between the outline of the specific participant and the outlines of the participants in the adjacent positions, the posture information of the participants in the adjacent positions, the costume and prop information, the photo style, and the background information of the photo are input into the effective residual blocks in the pre-built photo substitution image generation model for processing to obtain intermediate feature results.
[0114] Then, the intermediate feature results and the input information are simultaneously fed into the first 1×1 convolutional layer of the effective cascaded block to obtain the first convolution result.
[0115] Then, the first convolution processing result is input into the first residual block with parameter binding of the effective concatenated block for processing to obtain the first residual processing result; Then, the intermediate feature results output by the effective residual block, the first residual processing result, and the input information are fed into the second 1×1 convolutional layer of the effective concatenated block for convolution processing to obtain the second convolution processing result; Then, the result of the second convolution is input into the second residual block with parameter binding in the effective concatenated block for processing to obtain the result of the second residual processing; Finally, the results of the first residual processing, the intermediate feature results output by the effective residual block, and the input information are fed into the third 1×1 convolutional layer of the effective concatenated block for convolution processing to obtain the photo replacement image of the specific participant.
[0116] Based on this, intelligent image generation and fusion technology effectively solves the problem of conflict between collective enjoyment and privacy respect caused by individual participants' disagreement to share group photos.
[0117] Based on the above embodiments, in another embodiment provided in this disclosure, the above-mentioned photo viewing process may include: Obtain the participant's identification information; Based on identity information, target photos related to the participants are selected from the shared photos; Show the participants the target photo.
[0118] In this embodiment, when a participant wants to view photos shared by other participants, the mobile cloud drive server can filter out photos related to the participant from the shared photos based on the participant's identity information and prioritize displaying these photos to that participant. This ensures that each participant can see content involving themselves or people of interest as soon as possible, improving browsing efficiency and user experience.
[0119] Based on this, prioritizing the display of photos based on identity identifiers can help users quickly locate content relevant to themselves, improving the efficiency and relevance of information acquisition.
[0120] One or more technical solutions provided in the exemplary embodiments of this disclosure achieve secure access through multi-layered nested QR codes and blockchain authentication mechanisms, preventing link leakage and unauthorized access. Secondly, by utilizing photo categorization and authorization management, individual control over their own portraits is respected, avoiding involuntary exposure. Addressing conflicts arising from group photo sharing, intelligent image fusion technology is introduced to protect the privacy of those who disagree while maintaining the visual integrity and naturalness of the photo, balancing individual wishes with the need for collective sharing. Furthermore, through intent recognition and parallel processing mechanisms, the user experience in multi-tasking scenarios is optimized.
[0121] Therefore, the blockchain-based photo live streaming method provided in the exemplary embodiments of this disclosure solves the problems of security and privacy conflicts with collective sharing in photo live streaming.
[0122] The foregoing primarily describes the solutions provided by exemplary embodiments of this disclosure. It is understood that, in order to achieve the above functions, the electronic device includes corresponding hardware structures and / or software modules for performing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0123] The exemplary embodiments of this disclosure can divide the electronic device into functional units according to the above method examples. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into a single processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in the exemplary embodiments of this disclosure is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0124] In the case of dividing each functional module according to its corresponding functions, an exemplary embodiment of this disclosure provides a photo live streaming device based on blockchain authentication, which can be a server or a chip applied to a server. Figure 6 A schematic block diagram illustrating the functional modules of a blockchain-authenticated photo live-streaming device provided in this embodiment of the disclosure. Figure 6As shown, the blockchain-based photo live-streaming device 600 includes: The data acquisition module 610, in response to the photo live streaming request, creates a multi-layered nested QR code corresponding to the photo live stream; the multi-layered nested QR code includes basic information and access link of the photo live stream, as well as an identity verification layer corresponding to each participant; the identity verification layer encapsulates the identity verification information of the corresponding participant; The data processing module 620, in response to the participant's scanning operation of the multi-layered nested QR code, obtains the identity verification information corresponding to the participant; The data processing module 620 is also used to verify the identity of the participant through a blockchain authentication node based on the identity verification information; The data processing module 620 is also used to provide the participant with the access link for the live photo stream after the identity verification is successful.
[0125] In another embodiment provided in this disclosure, the data acquisition module 610 further includes: the number of layers of the multi-layer nested QR code is n+2, where n is the number of participants; the first layer QR code includes basic information about the photo live stream; the second to the (n+1)th layer QR codes are the identity verification layers corresponding to each participant; and the (n+2)th layer QR code includes the access link for the photo live stream.
[0126] In another embodiment provided in this disclosure, the data processing module 620 is further configured to send the basic information of the photo live stream to the participant; after receiving the participant's confirmation instruction based on the basic information, it obtains the identity verification information of the i-th layer QR code associated with the participant's identity, where i is an integer between 2 and n+1.
[0127] In another embodiment provided in this disclosure, the data processing module 620 is further configured to, in response to a participant's triggered authentication operation, initiate an identity authentication request to an authentication node in the blockchain network; receive authentication parameters returned by the authentication node based on the identity authentication request, and generate the participant's photo live stream signature information based on the authentication parameters; the authentication parameters include a first tracking variable generated by the authentication node; and send the photo live stream signature information to the authentication node for identity verification.
[0128] In another embodiment provided in this disclosure, the data processing module 620 is further configured to receive verification result information from the authentication node, the verification result information including: a verification success identifier, the digital signature of the authentication node on the verification success identifier and a signature timestamp; verify the validity of the signature timestamp and the authenticity of the digital signature; after verification, generate a photo live stream join code for the participant; the photo live stream join code is used for the participant to obtain the access link for the photo live stream.
[0129] In another embodiment provided in this disclosure, the data processing module 620 is further configured to: obtain the first tracking variable from the authentication parameters; generate a second tracking variable based on the random number exponent in the authentication parameters; randomly select a set of identity authentication auxiliary values and calculate the identity authentication auxiliary variable based on the identity authentication auxiliary values; determine the hidden identity information of the participant based on the identity authentication auxiliary variable, the first tracking variable, the second tracking variable, and a preset hash function; and generate the photo live stream signature information based on the hidden identity information and the identity authentication auxiliary values.
[0130] In another embodiment provided in this disclosure, the data processing module 620 is further configured to identify the participant's operational intent in the photo live stream, the operational intent including sharing photos, viewing photos, and both sharing and viewing photos; if the operational intent is to share photos, execute the photo sharing process; if the operational intent is to view photos, execute the photo viewing process; if the operational intent is to both share and view photos, execute both the photo sharing process and the photo viewing process.
[0131] In another embodiment provided in this disclosure, the data processing module 620 is further configured to obtain the photo type of the photo to be shared, the photo type including photos of people and non-people; if the photo type is a non-people photo, share the photo to be shared to the photo live streaming room; if the photo type is a photos of people, execute the authorized sharing process.
[0132] In another embodiment provided in this disclosure, the data processing module 620 is further configured to obtain the sub-type of the photo to be shared, the sub-type including: a solo photo of the sharer, solo photos of other participants, and group photos; if the sub-type is a solo photo of the sharer, the photo to be shared is shared to the photo live streaming room; if the sub-type is a solo photo of other participants, a sharing authorization request is sent to the other participants, and the photo to be shared is shared to the photo live streaming room after authorization is obtained; if the sub-type is a group photo, a sharing authorization request is sent to each of the other participants in the group photo, and a merged photo is generated according to the authorization result, and the merged photo is shared to the photo live streaming room.
[0133] In another embodiment provided in this disclosure, the data processing module 620 is further configured to, based on the authorization result, identify participants who do not agree to share the group photo as specific participants; obtain the personal basic information of the specific participants and the photo basic information of the group photo; input the personal basic information and the photo basic information into a pre-constructed photo substitution image generation model to obtain a photo substitution image; and fuse the photo substitution image to the position of the specific participants in the group photo to generate the fused photo.
[0134] In another embodiment provided in this disclosure, the data processing module 620 further includes: the network architecture of the photo substitution image generation model includes effective residual blocks and effective concatenated blocks; the effective residual blocks include two consecutive group convolutional layers and one convolutional layer; the effective concatenated blocks include three consecutive convolutional layers and two parameterized residual blocks.
[0135] In another embodiment provided in this disclosure, the data processing module 620 further includes: the personal basic information includes: the outline shape information, posture information, costume and prop information of the specific participant, and boundary information between adjacent other participants; the photo basic information includes: the style information and background information of the photo to be shared.
[0136] In another embodiment provided in this disclosure, the data processing module 620 is further configured to obtain the participant's identity information; based on the identity information, filter out target photos related to the participant from the shared photos; and display the target photos to the participant.
[0137] Exemplary embodiments of this disclosure also provide an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to cause the electronic device to perform a method according to an embodiment of this disclosure.
[0138] Exemplary embodiments of this disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a computer's processor, is used to cause the computer to perform a method according to embodiments of this disclosure.
[0139] Figure 7The structural block diagram of the electronic device provided in the embodiments of this disclosure will now be described as follows: An electronic device 700 that can serve as a server or client of this disclosure is an example of a hardware device that can be applied to various aspects of this disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the disclosure described and / or claimed herein.
[0140] like Figure 7 As shown, the electronic device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. The RAM 703 may also store various programs and data required for the operation of the electronic device 700. The computing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0141] Multiple components in electronic device 700 are connected to I / O interface 705, including: input unit 706, output unit 707, storage unit 708, and communication unit 709. Input unit 706 can be any type of device capable of inputting information to electronic device 700. Input unit 706 can receive input digital or character information and generate key signal inputs related to user settings and / or function control of electronic device. Output unit 707 can be any type of device capable of presenting information and may include, but is not limited to, a display, speaker, video / audio output terminal, vibrator, and / or printer. Storage unit 708 may include, but is not limited to, disk and optical disk. Communication unit 709 allows electronic device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers, and / or chipsets, such as Bluetooth™ devices, WiFi devices, WiMax devices, cellular communication devices, and / or the like.
[0142] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above. The various methods described above can all be implemented as computer software programs, which are tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 700 via ROM 702 and / or communication unit 709.
[0143] Figure 8 The diagram illustrates a computer program product provided in an embodiment of this disclosure. An exemplary embodiment of this disclosure also provides a computer program product 800, including a computer program 801, wherein the computer program 801, when executed by a computer's processor, is used to cause the computer to perform a method according to an embodiment of this disclosure.
[0144] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0145] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0146] As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or apparatus (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including machine-readable media that receive machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0147] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0148] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0149] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other.
[0150] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of this disclosure are performed, in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a terminal, a user equipment, or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center integrating one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; it can also be an optical medium, such as a digital video disc (DVD); or it can be a semiconductor medium, such as a solid-state drive (SSD).
[0151] Although this disclosure has been described in conjunction with specific features and embodiments, it will be apparent that various modifications and combinations can be made therein without departing from the spirit and scope of this disclosure. Accordingly, this specification and drawings are merely exemplary illustrations of the disclosure as defined by the appended claims and are to be considered as covering any and all modifications, variations, combinations, or equivalents within the scope of this disclosure. It is obvious that those skilled in the art can make various alterations and modifications to this disclosure without departing from its spirit and scope. Thus, this disclosure is also intended to include any such modifications and modifications that fall within the scope of the claims of this disclosure and their equivalents.
Claims
1. A method for live-streaming photos based on blockchain authentication, characterized in that, The method includes: In response to a photo live stream request, a multi-layered nested QR code corresponding to the photo live stream is created; the multi-layered nested QR code includes basic information and access link for the photo live stream, as well as an authentication layer corresponding to each participant; the authentication layer encapsulates the authentication information of the corresponding participant; In response to a participant's scanning operation of the multi-layered nested QR code, the identity verification information corresponding to the participant is obtained; Based on the authentication information, the participant is authenticated through a blockchain authentication node; After successful authentication, the participant is provided with an access link to the live photo stream.
2. The method according to claim 1, characterized in that, The number of layers in the multi-layered nested QR code is n+2, where n is the number of participants; the first layer of the QR code includes basic information about the photo live stream; the second to the (n+1)th layers of the QR code are the identity verification layers corresponding to each participant; the (n+2)th layer of the QR code includes the access link for the photo live stream.
3. The method according to claim 2, characterized in that, The step of responding to a participant's scanning operation of the multi-layered nested QR code and obtaining the participant's corresponding identity verification information includes: Send the basic information of the live photo broadcast to the participants; After receiving the participant's confirmation instruction based on the basic information, the system obtains the identity verification information of the i-th layer QR code associated with the participant's identity, where i is an integer between 2 and n+1.
4. The method according to claim 1, characterized in that, The step of verifying the participant's identity through a blockchain authentication node based on the authentication information includes: In response to a participant's triggered authentication action, an authentication request is sent to the authentication node in the blockchain network; The system receives authentication parameters returned by the authentication node based on the identity authentication request, and generates the participant's live photo signature information based on the authentication parameters; the authentication parameters include a first tracking variable generated by the authentication node. The photo live stream signature information is sent to the authentication node for identity verification.
5. The method according to claim 4, characterized in that, The method further includes: The authentication node receives verification result information, which includes: a verification success identifier, the authentication node's digital signature of the verification success identifier, and a signature timestamp. Verify the validity of the signature timestamp and the authenticity of the digital signature; After successful verification, a photo live stream join code is generated for the participant; the photo live stream join code is used by the participant to obtain the access link for the photo live stream.
6. The method according to claim 4, characterized in that, The process of generating the participant's live photo signature information based on the authentication parameters includes: Obtain the first tracking variable from the authentication parameters; A second tracking variable is generated based on the random number exponent in the authentication parameters; Randomly select a set of identity authentication auxiliary values, and calculate identity authentication auxiliary variables based on the identity authentication auxiliary values; Based on the identity authentication auxiliary variable, the first tracking variable, the second tracking variable, and the preset hash function, the hidden identity information of the participant is determined; Based on the hidden identity information and the identity authentication auxiliary value, the photo live stream signature information is generated.
7. The method according to claim 1, characterized in that, The method further includes: Identify the participant's operational intent in the photo live stream, including sharing photos, viewing photos, and both sharing and viewing photos; If the intended action is to share photos, the photo sharing process is executed. If the intended operation is to view photos, the photo viewing process will be executed. If the intended operation is to both share and view photos, then the photo sharing process and the photo viewing process are executed.
8. The method according to claim 7, characterized in that, The photo sharing process includes: Obtain the photo type of the photo to be shared, including photos of people and non-people; If the photo type is not a portrait, the photo to be shared will be shared to the photo live stream room; If the photo type is a portrait, the authorization sharing process will be executed.
9. The method according to claim 8, characterized in that, The execution authorization sharing process includes: Obtain the subcategories of the photos to be shared, including: solo photos of the sharer, solo photos of other participants, and group photos; In the case where the sub-type is a solo photo of the sharer, the photo to be shared will be shared to the photo live stream room; In the case where the sub-type is a solo photo of another participant, a sharing authorization request is sent to the other participant, and the photo to be shared is shared to the photo live stream room after authorization is obtained; In the case of a group photo, a sharing authorization request is sent to each of the other participants in the group photo, and a merged photo is generated based on the authorization result. The merged photo is then shared to the photo live stream room.
10. The method according to claim 9, characterized in that, The step of generating the fused image based on the authorization result includes: Based on the authorization results, participants who disagree with sharing the group photo will be identified as specific participants; Obtain the basic personal information of the specific participants and the basic information of the group photo; The personal basic information and the photo basic information are input into a pre-constructed photo replacement image generation model to obtain a photo replacement image; The photo replacement image is then merged into the position of the specific participant in the group photo to generate the merged photo.
11. The method according to claim 10, characterized in that, The network architecture of the photo substitution image generation model includes effective residual blocks and effective concatenated blocks; the effective residual blocks include two consecutive group convolutional layers and one convolutional layer; the effective concatenated blocks include three consecutive convolutional layers and two parameterized residual blocks.
12. The method according to claim 10, characterized in that, The personal basic information includes: the outline shape information, posture information, costume and prop information of the specific participant, as well as the boundary information between adjacent participants; the photo basic information includes: the style information and background information of the photo to be shared.
13. The method according to claim 7, characterized in that, The photo viewing process includes: Obtain the identity information of the participants; Based on the identity information, target photos related to the participant are filtered from the shared photos; The target photograph was shown to the participants.
14. A photo live-streaming device based on blockchain authentication, characterized in that, The device includes: The data acquisition module, in response to the photo live streaming request, creates a multi-layered nested QR code corresponding to the photo live stream; the multi-layered nested QR code includes basic information and access link of the photo live stream, as well as an identity verification layer corresponding to each participant; the identity verification layer encapsulates the identity verification information of the corresponding participant; The data processing module, in response to the participant's scanning operation of the multi-layered nested QR code, obtains the identity verification information corresponding to the participant; The data processing module is also used to verify the identity of the participant through a blockchain authentication node based on the identity verification information; The data processing module is also used to provide the participant with the access link for the live photo stream after the identity verification is successful.
15. The apparatus according to claim 14, characterized in that, The data acquisition module further includes: the number of layers of the multi-layered nested QR code is n+2, where n is the number of participants; the first layer of the QR code includes basic information about the photo live stream; the second to the (n+1)th layer of the QR code are the identity verification layers corresponding to each participant; and the (n+2)th layer of the QR code includes the access link for the photo live stream.
16. The apparatus according to claim 15, characterized in that, The data processing module is also used to send the basic information of the photo live stream to the participant; after receiving the participant's confirmation instruction based on the basic information, it obtains the identity verification information of the i-th layer QR code associated with the participant's identity, where i is an integer between 2 and n+1.
17. The apparatus according to claim 14, characterized in that, The data processing module is also configured to, in response to a participant’s triggered authentication operation, initiate an identity authentication request to an authentication node in the blockchain network; receive authentication parameters returned by the authentication node based on the identity authentication request; and generate the participant’s photo live stream signature information based on the authentication parameters. The authentication parameters include a first tracking variable generated by the authentication node; The photo live stream signature information is sent to the authentication node for identity verification.
18. The apparatus according to claim 17, characterized in that, The data processing module is further configured to receive verification result information from the authentication node, the verification result information including: a verification success identifier, the authentication node's digital signature of the verification success identifier and a signature timestamp; verify the validity of the signature timestamp and the authenticity of the digital signature; after successful verification, generate a photo live stream join code for the participant; the photo live stream join code is used for the participant to obtain the access link for the photo live stream.
19. The apparatus according to claim 17, characterized in that, The data processing module is further configured to obtain the first tracking variable from the authentication parameters; generate a second tracking variable based on the random number exponent in the authentication parameters; randomly select a set of identity authentication auxiliary values, and calculate the identity authentication auxiliary variable based on the identity authentication auxiliary values; Based on the identity authentication auxiliary variable, the first tracking variable, the second tracking variable, and the preset hash function, the hidden identity information of the participant is determined; Based on the hidden identity information and the identity authentication auxiliary value, the photo live stream signature information is generated.
20. The apparatus according to claim 14, characterized in that, The data processing module is further configured to identify the participant's operational intent in the photo live stream, the operational intent including sharing photos, viewing photos, and both sharing and viewing photos; if the operational intent is to share photos, execute the photo sharing process; if the operational intent is to view photos, execute the photo viewing process; if the operational intent is to both share and view photos, execute both the photo sharing process and the photo viewing process.
21. The apparatus according to claim 20, characterized in that, The data processing module is further configured to obtain the photo type of the photo to be shared, which includes photos of people and non-people; if the photo type is a non-people photo, share the photo to be shared to the photo live streaming room; if the photo type is a photos of people, execute the authorization sharing process.
22. The apparatus according to claim 21, characterized in that, The data processing module is further configured to obtain the sub-types of the photo to be shared, including: a solo photo of the sharer, solo photos of other participants, and group photos; if the sub-type is a solo photo of the sharer, the photo to be shared is shared to the photo live stream room; if the sub-type is a solo photo of other participants, a sharing authorization request is sent to the other participants, and the photo to be shared is shared to the photo live stream room after authorization is obtained; if the sub-type is a group photo, a sharing authorization request is sent to each of the other participants in the group photo, and a merged photo is generated based on the authorization results, and the merged photo is shared to the photo live stream room.
23. The apparatus according to claim 22, characterized in that, The data processing module is further configured to, based on the authorization result, identify participants who do not agree to share the group photo as specific participants; obtain the personal basic information of the specific participants and the photo basic information of the group photo; input the personal basic information and the photo basic information into a pre-constructed photo replacement image generation model to obtain a photo replacement image; and merge the photo replacement image into the position of the specific participants in the group photo to generate the merged photo.
24. The apparatus according to claim 23, characterized in that, The data processing module further includes: the network architecture of the photo substitution image generation model includes effective residual blocks and effective concatenated blocks; the effective residual block includes two consecutive group convolutional layers and one convolutional layer; the effective concatenated block includes three consecutive convolutional layers and two parameterized residual blocks.
25. The apparatus according to claim 23, characterized in that, The data processing module further includes: the personal basic information includes: the outline shape information, posture information, costume and prop information of the specific participant, as well as the boundary information between adjacent participants; the photo basic information includes: the style information and background information of the photo to be shared.
26. The apparatus according to claim 20, characterized in that, The data processing module is further configured to obtain the participant's identity information; based on the identity information, filter out target photos related to the participant from the shared photos; and display the target photos to the participant.
27. A computer device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the method of claim 1.
28. A computer-readable storage medium having a computer program / instructions stored thereon, characterized in that, When the computer program / instruction is executed by the processor, it implements the method of claim 1.
29. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instruction is executed by the processor, it implements the method of claim 1.