Live broadcast room data generation method, device, storage medium and electronic device

Generating a personalized live broadcast selection interface through deep learning models and user biometric identification technology solves the problem of low flexibility in live broadcast data statistics, improves data security and user experience, and enhances the competitiveness of the platform.

CN118042175BActive Publication Date: 2024-09-27HUNAN JINMU YEJING NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410145200.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-01
Publication Date
2024-09-27
Estimated Expiration
2044-02-01

AI Technical Summary

Technical Problem

When the live broadcast platform generates live broadcast statistical data, the user's operation status is not included in the statistics, resulting in low data flexibility and failure to reflect the user's personalized needs and security requirements.

Method used

Generate a personalized live broadcast selection interface through a deep learning model or rule engine, combine user gestures and fingerprint data for activation operation recognition, and provide a multi-level interface for users, third parties and secure activation operations to ensure data security and flexibility.

Benefits of technology

It improves the flexibility and security of live broadcast data statistics, provides personalized user experience, enhances the competitiveness and user satisfaction of the platform, reduces the probability of misoperation, and ensures system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118042175B
    Figure CN118042175B
Patent Text Reader

Abstract

The present invention relates to the technical field of live broadcast data processing, and in particular to a method for generating live broadcast room data. The method comprises the following steps: generating a live broadcast selection interface in response to a user's activation operation; generating live broadcast room interface data in response to a user's touch operation on the live broadcast selection interface. The present invention achieves a deep understanding of user behavior, thereby improving the flexibility of live broadcast data statistics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of live broadcast data processing, and in particular to a method, device, storage medium and electronic device for generating live broadcast room data. Background Art

[0002] Live streaming platforms are one of the most popular entertainment platforms. In addition to providing viewers with live streaming content, live streaming platforms also generate live streaming statistics based on the interaction information between viewers and the hosts in the hosts' live streaming rooms.

[0003] The live broadcast server of the live broadcast platform usually obtains the interactive information of a live broadcast room based on the information generated by the interaction between the audience and the anchor in the anchor's live broadcast room in the audience client. The interactive information includes the information of the audience joining the live broadcast room, the information of the audience sending barrage comments in the live broadcast room, and the information of the audience giving gifts to the anchor. Afterwards, the live broadcast server generates the live broadcast statistics of the live broadcast platform based on the interactive information of all the live broadcast rooms in the live broadcast platform. The live broadcast statistics are used to reflect the operation of the live broadcast platform, such as the revenue of the live broadcast platform, the number of viewers of the live broadcast platform, and the active proportion of the viewers of the live broadcast platform.

[0004] The live broadcast server can only generate live broadcast statistics of the live broadcast platform based on the interactive information of all live broadcast rooms in the live broadcast platform. The user's operation status is not included in the statistics, so the flexibility of generating live broadcast statistics is low. Summary of the invention

[0005] In order to solve the above technical problems, the present invention proposes a live broadcast room data generation method to solve the technical problem of low statistical flexibility of live broadcast data.

[0006] The present application provides a method for generating live broadcast room data, the method comprising the following steps:

[0007] S1: In response to the user's activation operation, a live broadcast selection interface is generated; wherein the activation operation includes at least one of the user activation operation, the third-party activation operation and the security activation operation, and the live broadcast selection interface includes at least one of the user live broadcast selection interface, the third-party live broadcast selection interface and the security live broadcast selection interface; S2: In response to the user's touch operation on the live broadcast selection interface, live broadcast room interface data is generated.

[0008] Optionally, in response to the user's activation operation, generating a live broadcast selection interface includes:

[0009] S11: generating a user live broadcast selection interface in response to a user activation operation of the user;

[0010] S12: Alternatively, in response to a third-party activation operation by the user, a third-party live broadcast selection interface is generated;

[0011] S13: Alternatively, in response to the user's security activation operation, a secure live broadcast selection interface is generated, the permission level data corresponding to the user live broadcast selection interface is greater than the permission level data corresponding to the third-party live broadcast selection interface, and the permission level data corresponding to the third-party live broadcast selection interface is greater than the permission level data corresponding to the secure live broadcast selection interface.

[0012] In the present invention, a user live broadcast selection interface is generated through a deep learning model or a rule engine according to the user's activation operation. The interface reflects the user's interests, preferences and historical viewing records, and provides personalized live broadcast recommendations. For third-party activation operations, a live broadcast selection interface is generated based on the data access of the third-party platform. Considering the characteristics of the third-party platform, the third-party live broadcast content is integrated to provide diversified live broadcast selections, while avoiding the problem of privacy leakage due to personalized recommendations. For safe activation operations, a safe live broadcast selection interface is generated to ensure that the live broadcast content meets safety standards and reduce data leakage or improper operation caused by excessive permissions caused by non-users or other means. This method enables users to obtain a more personalized and diversified viewing experience through the clever generation of the live broadcast selection interface, while emphasizing security and compliance, thereby improving the competitiveness of the platform and user satisfaction.

[0013] Optionally, the responding to the user's activation operation includes:

[0014] S101: In response to an activation operation by a user, obtaining user gesture data and user fingerprint data;

[0015] S102: When it is determined that the user gesture data is the first pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data, the activation operation is regarded as a user activation operation, and a user live broadcast selection interface is generated;

[0016] S103: when it is determined that the user gesture data is the second pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data, or when it is determined that the user gesture data is the first pre-stored user gesture data and the user fingerprint data is non-pre-stored user fingerprint data, the activation operation is regarded as a third-party activation operation, and a third-party live broadcast selection interface is generated;

[0017] S104: When it is determined that the user gesture data is third pre-stored user gesture data and the user fingerprint data is pre-stored user fingerprint data, or when it is determined that the user gesture data is non-pre-stored user gesture data and the user fingerprint data is non-pre-stored user fingerprint data, a safe live broadcast selection interface is generated.

[0018] By collecting user gesture data and user fingerprint data, the present invention can realize highly personalized recognition of user activation operations. The collection of user gesture and fingerprint data can establish the user's unique biological characteristics and behavioral habits, and improve the accuracy of the activation operation. By adopting the method of real-time acquisition of user gesture and fingerprint data, it is possible to quickly make a judgment while the user is performing the activation operation, realize real-time and immediacy, improve the response speed of the system, and provide users with a smoother operation experience. Through different judgment conditions, the activation operation is divided into user activation operation, third-party activation operation and security activation operation, realizing multi-level activation operation classification, which is helpful to distinguish between user and third-party operations, and providing different live broadcast selection interfaces to better meet the needs of different users. By verifying the user gesture and fingerprint data, it is possible to judge whether it is pre-stored user data, which enhances security. When non-pre-stored user gesture and fingerprint data are identified, a safe activation operation is taken to ensure the security of the platform and prevent illegal access. The user does not need to manually switch the interface. The system actively generates a corresponding live broadcast selection interface according to the user's activation method, reducing the user's operating burden and improving convenience. By verifying user gestures and fingerprint data, the probability of misoperation is effectively reduced. For the judgment of third-party or non-pre-stored user data, activation errors caused by misidentification can be avoided, thereby improving the stability of the system.

[0019] Optionally, before generating the user live broadcast selection interface, the following steps are also included:

[0020] S111: Turn on the camera to collect user scene data and obtain user scene data;

[0021] S112: Perform face detection on the user scene data to obtain face detection data;

[0022] S113: When it is determined that the face detection data is single face detection data, face recognition is performed on the user scene data using the face detection data to obtain face recognition data;

[0023] S114: When it is determined that the face recognition data is pre-stored user face data, a user live broadcast selection interface is generated;

[0024] S115: When it is determined that the face recognition data is not pre-stored user face data or the face detection data is not single face detection data, S103 is executed to regard the activation operation as a third-party activation operation, and a third-party live broadcast selection interface is generated.

[0025] In the present invention, S112 performs face detection on user scene data, which can accurately determine the user's face position and angle, help eliminate interference from non-face areas, and improve the accuracy of subsequent face recognition. S113 and S114 ensure that the user live broadcast selection interface is generated only when a single face is detected and the recognition of pre-stored user face data is completed, which adds stronger verification of user identity and prevents erroneous operations by multiple people or non-pre-stored users. By using pre-stored user face data for face recognition (S114), it is ensured that the user's identity is verified and the user live broadcast selection interface is generated, which helps prevent unauthorized user access and ensures that the generation of the live broadcast selection interface is only performed under the identity of a legitimate user. In S115, when non-single face or non-pre-stored user face data is detected, the activation operation is regarded as a third-party activation operation, and a third-party live broadcast selection interface is generated. This process increases the prevention of unknown users or illegal operations and ensures the security of the system. Through face detection and recognition, and comparison with pre-stored user face data, double verification of user identity is achieved, reducing the system's computing load. At the same time, further face recognition is performed based on the results of face detection to improve accuracy, ensuring that the generated live broadcast selection interface is for legitimate users, thereby improving the security of the platform.

[0026] Optionally, performing face detection on the user scene data to obtain face detection data includes:

[0027] S1121: modifying parameters of a preset texture feature extractor using user scene data to obtain a texture feature optimization extractor;

[0028] S1122: Using a texture feature optimization extractor to extract texture features from the user scene data to obtain texture feature data, and performing color feature extraction on the user scene data to obtain texture feature data and color feature data;

[0029] S1123: Perform attention calculation on the texture feature data and the color feature data to obtain texture self-attention feature data and color self-attention feature data;

[0030] S1124: performing pooling layer calculation on the texture self-attention feature data and the color self-attention feature data to obtain texture pooling layer data and color pooling layer data;

[0031] S1125: Perform face detection data processing on the texture pooling layer data and the color pooling layer data using the preset target detection head data to obtain face detection data.

[0032] In the present invention, S1121 performs parameter correction on the preset texture feature extractor so that it can better adapt to different scenes and lighting conditions, which helps to improve the accuracy and stability of texture features and increase the reliability of face detection. S1122 performs texture and color feature extraction on user scene data to obtain texture feature data and color feature data. Such extraction of multiple feature dimensions helps to more comprehensively describe the user scene and improves the robustness of face detection. S1123 performs attention calculation on texture feature data and color feature data to obtain texture self-attention feature data and color self-attention feature data. The introduction of the self-attention mechanism allows the system to pay more attention to important features and improves the sensitivity and accuracy of detection. S1124 performs pooling layer calculation on the self-attention feature data to obtain texture pooling layer data and color pooling layer data. This processing helps to reduce the dimension of the features, extract more important information, reduce the computational complexity, and maintain sensitivity to key information. S1125 uses the preset target detection head data to process the texture pooling layer data and the color pooling layer data for face detection. This method combines target detection technology to more accurately locate and identify faces, thereby improving the accuracy of face detection.

[0033] Optionally, the parameter correction is performed by using a user scene texture parameter correction calculation formula, wherein the user scene texture parameter correction calculation formula is specifically:

[0034]

[0035] θ′ is the parameter data of the texture feature optimization extractor, θ is the parameter data of the preset texture feature optimization extractor, α is the parameter correction step control item, L is the texture feature loss control item, and f i is the i-th feature output item of the texture feature optimization extractor, i is the feature output order item of the texture feature optimization extractor, and n is the feature output quantity item of the texture feature optimization extractor.

[0036] The present invention constructs a user scenario texture parameter correction calculation formula, which is used in the form of parameter update and is applied to the parameter correction of the texture feature optimization extractor in S1121. Among them, α is the parameter correction step size control item, which controls the step size of each update. It is a constant and determines the amplitude of the parameter update. L is the texture feature loss control item, which is the texture feature loss control item, which represents the loss function in the optimization process. The design of this loss function should enable the optimization process to move towards the goal of improving texture features. This calculation formula applies the idea of ​​gradient descent. By continuously iteratively adjusting the parameters of the texture feature optimization extractor, the loss of texture features is gradually reduced, which helps to enable the extractor to better adapt to different user scenarios. The gradient term in the formula It represents the rate of change of the loss function with respect to the parameters, that is, the gradient, which determines the direction of parameter correction, so that the optimization algorithm can update the parameters in the direction of reducing the loss. The adjustment of the step size control term α affects the size of each parameter update. A suitable step size can make the optimization algorithm converge faster, but too large a step size will cause oscillation or miss the optimal solution. The design of the loss function L is the key in the optimization process. It should be able to accurately describe the pros and cons of texture features and guide the optimization algorithm to move in the direction of improving texture features. Based on the idea of ​​the gradient descent method, the present invention combines the optimization goal of texture features, and can continuously adjust parameters during the iteration process, so that the texture feature optimization extractor can better adapt to user scenarios and improve the accuracy of face detection.

[0037] The beneficial effects of the present invention are: a live broadcast room selection interface is generated through touch operation, which integrates the user's experience of active selection from traditional live broadcast viewing, and adopts touch technology combined with intuitive interface design to enhance the user's choice and sense of participation in the live broadcast room, so that interactive data can be better generated according to the interaction between the user and the live broadcast room, thereby improving the flexibility of live broadcast room data statistics. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting implementations made with reference to the following drawings:

[0039] Figure 1 A flow chart showing a method for generating live broadcast room data according to an embodiment is shown;

[0040] Figure 2 A flow chart showing a method for generating live broadcast room interface data according to an embodiment;

[0041] Figure 3 A flow chart showing an activation operation determination method according to an embodiment is shown;

[0042] Figure 4 A flow chart showing a secondary determination method for a user live broadcast selection interface according to an embodiment of the present invention is shown;

[0043] Figure 5 A flow chart of a face detection method based on a live broadcast room according to an embodiment is shown. DETAILED DESCRIPTION

[0044] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.

[0045] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0046] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.

[0047] See also Figures 1 to 5 The present application provides a method for generating live broadcast room data, the method comprising the following steps:

[0048] S1: In response to the user's activation operation, generating a live broadcast selection interface; wherein the activation operation includes at least one of the user activation operation, the third-party activation operation and the security activation operation, and the live broadcast selection interface includes at least one of the user live broadcast selection interface, the third-party live broadcast selection interface and the security live broadcast selection interface;

[0049] S2: In response to the user's touch operation on the live broadcast selection interface, generate live broadcast room interface data.

[0050] The live broadcast room selection interface generated by S1 in the present invention can generate live broadcast room interface data in real time according to the user's touch operation, providing a highly personalized user experience, while also better analyzing the user's operation process on the live broadcast room, thereby improving the statistical flexibility of the live broadcast data.

[0051] Optionally, in response to the user's activation operation, generating a live broadcast selection interface includes:

[0052] S11: generating a user live broadcast selection interface in response to a user activation operation of the user;

[0053] In one embodiment of the present invention, in response to a user activation operation of a user, the user activates the application, triggering React Navigation to navigate to the user live broadcast selection interface. The user live broadcast selection interface is constructed using React Native components, including a live broadcast list, user information display, etc. The user's activation operation may include clicking an application icon, specifying a gesture, etc.

[0054] S12: Alternatively, in response to a third-party activation operation by the user, a third-party live broadcast selection interface is generated;

[0055] In one embodiment of the present invention, in response to a user's third-party activation operation, a third-party live broadcast selection interface is generated to activate the application for the third-party partner, triggering React Navigation to navigate to the third-party live broadcast selection interface. The third-party live broadcast selection interface is constructed using React Native components, including a partner live broadcast list, recommended content, etc. The third-party activation operation is implemented through API calls, partner SDKs, etc.

[0056] S13: Alternatively, in response to a security activation operation of the user, a secure live broadcast selection interface is generated, wherein the live broadcast selection interface includes a user live broadcast selection interface, a third-party live broadcast selection interface, and a secure live broadcast selection interface, the authority level data corresponding to the user live broadcast selection interface is greater than the authority level data corresponding to the third-party live broadcast selection interface, and the authority level data corresponding to the third-party live broadcast selection interface is greater than the authority level data corresponding to the secure live broadcast selection interface;

[0057] In one embodiment of the present invention, the security activation operation includes biometric authentication, password verification, etc. According to the security authentication result, React Navigation is triggered to navigate to the secure live broadcast selection interface. The secure live broadcast selection interface is constructed using React Native components, including restricted content, security filtering, etc.

[0058] In the present invention, according to the user's activation operation, a user live broadcast selection interface is generated through a deep learning model or a rule engine. The interface reflects the user's interests, preferences and historical viewing records, and provides personalized live broadcast recommendations. For third-party activation operations, a live broadcast selection interface is generated based on the data access of the third-party platform. Considering the characteristics of the third-party platform, the third-party live broadcast content is integrated to provide diversified live broadcast selections, while avoiding the problem of privacy leakage due to personalized recommendations. For safe activation operations, a safe live broadcast selection interface is generated to ensure that the live broadcast content meets safety standards and reduce data leakage or improper operation caused by excessive permissions caused by non-users or other means. The live broadcast room data generation method enables users to obtain a more personalized and diversified viewing experience through the clever generation of the live broadcast selection interface, while emphasizing security and compliance, thereby improving the competitiveness of the platform and user satisfaction.

[0059] Optionally, the activation operation includes a user activation operation, a third-party activation operation, and a security activation operation. The activation operation is specifically determined as follows:

[0060] S101: In response to an activation operation by a user, obtaining user gesture data and user fingerprint data;

[0061] In one embodiment of the present invention, in response to the user's activation operation, obtaining user gesture data and user fingerprint data is to use the React Native Gesture Handler library to capture the user's gesture data, such as sliding, clicking, etc. Calling the biometric library to obtain the user's fingerprint data or other biometric data to ensure the uniqueness of the identity.

[0062] In one embodiment of the present invention, user gesture data refers to data generated by the user's hand movement or posture on the device. This type of data is usually captured by sensors (such as cameras, gyroscopes, accelerometers, etc.) to identify and record user-specific hand movements, finger movements, or gesture patterns. Gesture data includes the following information: Gesture type: Identify the type of gesture, such as click, slide, pinch, rotate, etc. Spatial position of the gesture: Record the specific location and direction of the gesture, usually expressed in a three-dimensional coordinate system. Time information of the gesture: Record the time point, duration and other time-related information of the gesture. Movement trajectory of fingers or hands: Record the movement trajectory of fingers or hands to analyze the smoothness and speed of gestures. Angle and posture of gestures: Record the rotation, tilt and other angle information of gestures to obtain richer gesture features.

[0063] S102: When it is determined that the user gesture data is the first pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data, the activation operation is regarded as a user activation operation, and a user live broadcast selection interface is generated;

[0064] In one embodiment of the present invention, determining that the user gesture data is the first pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data is to perform hash encryption on the user gesture data and the fingerprint data, and to compare the encrypted data with the pre-stored user gesture data and the fingerprint data, and if the match is successful, it is determined to be a user activation operation.

[0065] S103: when it is determined that the user gesture data is the second pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data, or when it is determined that the user gesture data is the first pre-stored user gesture data and the user fingerprint data is non-pre-stored user fingerprint data, the activation operation is regarded as a third-party activation operation, and a third-party live broadcast selection interface is generated;

[0066] In one embodiment of the present invention, the user gesture data is the second pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data, the user gesture data and the fingerprint data are hashed and encrypted, and the encrypted data is compared with the second set of pre-stored user gesture data and fingerprint data. If the match is successful, it is determined to be a third-party activation operation.

[0067] S104: When it is determined that the user gesture data is third pre-stored user gesture data and the user fingerprint data is pre-stored user fingerprint data, or when it is determined that the user gesture data is non-pre-stored user gesture data and the user fingerprint data is non-pre-stored user fingerprint data, a safe live broadcast selection interface is generated.

[0068] In one embodiment of the present invention, the user gesture data and fingerprint data are hashed and encrypted, and the encrypted data is compared with the third set of pre-stored user gesture data and fingerprint data. If the match is successful, it is determined to be a security activation operation, or if the user gesture data and fingerprint data match non-pre-stored user gesture data and fingerprint data, it is determined to be a security activation operation.

[0069] By collecting user gesture data and user fingerprint data, the present invention can realize highly personalized recognition of user activation operations. The collection of user gesture and fingerprint data can establish the user's unique biological characteristics and behavioral habits, and improve the accuracy of the activation operation. By adopting the method of real-time acquisition of user gesture and fingerprint data, it is possible to quickly make a judgment while the user is performing the activation operation, realize real-time and immediacy, improve the response speed of the system, and provide users with a smoother operation experience. Through different judgment conditions, the activation operation is divided into user activation operation, third-party activation operation and security activation operation, realizing multi-level activation operation classification, which is helpful to distinguish between user and third-party operations, and providing different live broadcast selection interfaces to better meet the needs of different users. By verifying the user gesture and fingerprint data, it is possible to judge whether it is pre-stored user data, which enhances security. When non-pre-stored user gesture and fingerprint data are identified, a safe activation operation is taken to ensure the security of the platform and prevent illegal access. The user does not need to manually switch the interface. The system actively generates a corresponding live broadcast selection interface according to the user's activation method, reducing the user's operating burden and improving convenience. By verifying user gestures and fingerprint data, the probability of misoperation is effectively reduced. For the judgment of third-party or non-pre-stored user data, activation errors caused by misidentification can be avoided, thereby improving the stability of the system.

[0070] Optionally, before generating the user live broadcast selection interface, the following steps are also included:

[0071] S111: Turn on the camera to collect user scene data and obtain user scene data;

[0072] In one embodiment of the present invention, the device camera is started to collect real-time video using application or system permissions, and the collected video data is processed to extract user scene data, including user location, environmental background, etc.

[0073] In one embodiment of the present invention, the user triggers the live broadcast function in the application, and the system requests and obtains the camera permission, opens the camera to collect real-time video, and captures the user's current scene.

[0074] S112: Perform face detection on the user scene data to obtain face detection data;

[0075] In one embodiment of the present invention, a face detection algorithm is applied to the collected user scene data to detect the face position in the image, and output face detection data including information such as the coordinates and size of the face.

[0076] In one embodiment of the present invention, a face detection algorithm is applied to the collected video frames to locate the face in the image, and the face detection data is output, including information such as the coordinates and size of the face.

[0077] S113: When it is determined that the face detection data is single face detection data, face recognition is performed on the user scene data using the face detection data to obtain face recognition data;

[0078] In detail, the face detection data is checked, and if the number of detected faces is 1, it is considered to be single face detection data.

[0079] S114: When it is determined that the face recognition data is pre-stored user face data, a user live broadcast selection interface is generated;

[0080] In one embodiment of the present invention, a face recognition system is constructed using pre-stored user face data. The detected face data is matched with the pre-stored user face data to confirm whether it is a known user.

[0081] S115: When it is determined that the face recognition data is not pre-stored user face data or the face detection data is not single face detection data, S103 is executed to regard the activation operation as a third-party activation operation, and a third-party live broadcast selection interface is generated.

[0082] In one embodiment of the present invention, if the face recognition data does not match the pre-stored user face data, or multiple faces are detected, error handling is performed, and a third-party activation operation is triggered according to the specific situation, and corresponding logic is executed.

[0083] In the present invention, S112 performs face detection on user scene data, which can accurately determine the user's face position and angle, help eliminate interference from non-face areas, and improve the accuracy of subsequent face recognition. S113 and S114 ensure that the user live broadcast selection interface is generated only when a single face is detected and the recognition of pre-stored user face data is completed, which adds stronger verification of user identity and prevents erroneous operations by multiple people or non-pre-stored users. By using pre-stored user face data for face recognition (S114), it is ensured that the user's identity is verified and the user live broadcast selection interface is generated, which helps prevent unauthorized user access and ensures that the generation of the live broadcast selection interface is only performed under the identity of a legitimate user. In S115, when non-single face or non-pre-stored user face data is detected, the activation operation is regarded as a third-party activation operation, and a third-party live broadcast selection interface is generated. This process increases the prevention of unknown users or illegal operations and ensures the security of the system. Through face detection and recognition, and comparison with pre-stored user face data, double verification of user identity is achieved, reducing the system's computing load. At the same time, further face recognition is performed based on the results of face detection to improve accuracy, ensuring that the generated live broadcast selection interface is for legitimate users, thereby improving the security of the platform.

[0084] Optionally, performing face detection on the user scene data to obtain face detection data includes:

[0085] S1121: modifying parameters of a preset texture feature extractor using user scene data to obtain a texture feature optimization extractor;

[0086] In one embodiment of the present invention, the user scene data is processed by a preset texture feature extractor to obtain original texture feature data. A parameter correction calculation formula is designed, and a gradient descent or back propagation algorithm can be used for optimization and adjustment. The formula can adjust the parameters of the texture feature extractor according to the characteristics of the user scene data.

[0087] S1122: Using a texture feature optimization extractor to extract texture features from the user scene data to obtain texture feature data, and performing color feature extraction on the user scene data to obtain texture feature data and color feature data;

[0088] In one embodiment of the present invention, the optimized texture feature extractor is used to perform convolution operation on the user scene data to extract texture feature data, and color feature extraction is performed at the same time to obtain color feature data.

[0089] S1123: Perform attention calculation on the texture feature data and the color feature data to obtain texture self-attention feature data and color self-attention feature data;

[0090] In one embodiment of the present invention, a self-attention mechanism is applied to texture feature data and color feature data to calculate texture self-attention feature data and color self-attention feature data. For example, linear mapping is performed to a weight matrix, an attention score is calculated for the weight matrix, attention weights are calculated for the obtained attention score data, and weighted summation is performed on the attention weight data to obtain texture self-attention feature data and color self-attention feature data.

[0091] S1124: performing pooling layer calculation on the texture self-attention feature data and the color self-attention feature data to obtain texture pooling layer data and color pooling layer data;

[0092] In one embodiment of the present invention, maximum pooling or average pooling is used to perform pooling layer calculations on texture self-attention feature data and color self-attention feature data.

[0093] S1125: Perform face detection data processing on the texture pooling layer data and the color pooling layer data using the preset target detection head data to obtain face detection data.

[0094] In one embodiment of the present invention, the preset target detection head data is used to perform face detection on the texture pooling layer data and the color pooling layer data, and the face detection data is output, including information such as the position and confidence level of the face.

[0095] In the present invention, S1121 performs parameter correction on the preset texture feature extractor so that it can better adapt to different scenes and lighting conditions, which helps to improve the accuracy and stability of texture features and increase the reliability of face detection. S1122 performs texture and color feature extraction on user scene data to obtain texture feature data and color feature data. Such extraction of multiple feature dimensions helps to more comprehensively describe the user scene and improves the robustness of face detection. S1123 performs attention calculation on texture feature data and color feature data to obtain texture self-attention feature data and color self-attention feature data. The introduction of the self-attention mechanism allows the system to pay more attention to important features and improves the sensitivity and accuracy of detection. S1124 performs pooling layer calculation on the self-attention feature data to obtain texture pooling layer data and color pooling layer data. This processing helps to reduce the dimension of the features, extract more important information, reduce the computational complexity, and maintain sensitivity to key information. S1125 uses the preset target detection head data to process the texture pooling layer data and the color pooling layer data for face detection. This method combines target detection technology to more accurately locate and identify faces, thereby improving the accuracy of face detection.

[0096] Optionally, the parameter correction is performed by using a user scene texture parameter correction calculation formula, wherein the user scene texture parameter correction calculation formula is specifically:

[0097]

[0098] θ′ is the parameter data of the texture feature optimization extractor, θ is the parameter data of the preset texture feature optimization extractor, α is the parameter correction step control item, L is the texture feature loss control item, and f i is the i-th feature output item of the texture feature optimization extractor, i is the feature output order item of the texture feature optimization extractor, and n is the feature output quantity item of the texture feature optimization extractor.

[0099] In one embodiment of the present invention, the initial parameter value is: θ=2.0, the learning rate α=0.01, and the parameter correction is performed: θ′=2.02, and multiple iterations are performed to make it close to 3.

[0100] The present invention constructs a user scenario texture parameter correction calculation formula, which is used in the form of parameter update and is applied to the parameter correction of the texture feature optimization extractor in S1121. Among them, α is the parameter correction step size control item, which controls the step size of each update. It is a constant and determines the amplitude of the parameter update. L is the texture feature loss control item, which is the texture feature loss control item, which represents the loss function in the optimization process. The design of this loss function should enable the optimization process to move towards the goal of improving texture features. This calculation formula applies the idea of ​​gradient descent. By continuously iteratively adjusting the parameters of the texture feature optimization extractor, the loss of texture features is gradually reduced, which helps to enable the extractor to better adapt to different user scenarios. The gradient term in the formula It represents the rate of change of the loss function with respect to the parameters, that is, the gradient, which determines the direction of parameter correction, so that the optimization algorithm can update the parameters in the direction of reducing the loss. The adjustment of the step size control term α affects the size of each parameter update. A suitable step size can make the optimization algorithm converge faster, but too large a step size will cause oscillation or miss the optimal solution. The design of the loss function L is the key in the optimization process. It should be able to accurately describe the pros and cons of texture features and guide the optimization algorithm to move in the direction of improving texture features. Based on the idea of ​​the gradient descent method, the present invention combines the optimization goal of texture features, and can continuously adjust parameters during the iteration process, so that the texture feature optimization extractor can better adapt to user scenarios and improve the accuracy of face detection.

[0101] The live broadcast room selection interface is generated through touch operation, which integrates the user's active selection experience from traditional live broadcast viewing. The touch technology is combined with intuitive interface design to enhance the user's selection and participation in the live broadcast room. The present invention provides a more intelligent and personalized live broadcast room experience, allowing users to participate in the live broadcast content more actively, thereby improving user retention and platform activity.

[0102] In this embodiment, a live broadcast room data generation device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0103] Specifically, a live broadcast room data generating device includes:

[0104] A selection interface generation module, configured to generate a live broadcast selection interface in response to a user activation operation; wherein the activation operation includes at least one of the user activation operation, the third-party activation operation, and the security activation operation, and the live broadcast selection interface includes at least one of the user live broadcast selection interface, the third-party live broadcast selection interface, and the security live broadcast selection interface;

[0105] The interface data generation module is used to generate live broadcast room interface data in response to the user's touch operation on the live broadcast room selection interface.

[0106] In an optional embodiment, generating a live broadcast selection interface in response to an activation operation of a user includes: S11: generating a user live broadcast selection interface in response to an activation operation of a user;

[0107] S12: Alternatively, in response to a third-party activation operation by the user, a third-party live broadcast selection interface is generated;

[0108] S13: Alternatively, in response to the user's security activation operation, a secure live broadcast selection interface is generated, wherein the permission level data corresponding to the user live broadcast selection interface is greater than the permission level data corresponding to the third-party live broadcast selection interface, and the permission level data corresponding to the third-party live broadcast selection interface is greater than the permission level data corresponding to the secure live broadcast selection interface.

[0109] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0110] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0111] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0112] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0113] Therefore, from any point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the attached application documents rather than the above description, and it is intended that all changes falling within the meaning and scope of equivalent elements of the application documents are included in the present invention.

[0114] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A method for generating live broadcast room data, characterized in that: The method comprises: S1: In response to an activation operation of a user, a live broadcast selection interface is generated; wherein the activation operation includes at least one of a user activation operation, a third-party activation operation, and a security activation operation, and the live broadcast selection interface includes at least one of a user live broadcast selection interface, a third-party live broadcast selection interface, and a security live broadcast selection interface; S2: generating live broadcast room interface data in response to a user's touch operation on the live broadcast selection interface; The generating of the live broadcast selection interface in response to the user's activation operation includes: S11: generating a user live broadcast selection interface in response to a user activation operation of the user; S12: Alternatively, in response to a third-party activation operation by the user, a third-party live broadcast selection interface is generated; S13: Alternatively, in response to the user's security activation operation, a secure live broadcast selection interface is generated, wherein the authority level data corresponding to the user live broadcast selection interface is greater than the authority level data corresponding to the third-party live broadcast selection interface, and the authority level data corresponding to the third-party live broadcast selection interface is greater than the authority level data corresponding to the secure live broadcast selection interface; The activation operation in response to the user includes: S101: In response to an activation operation by a user, obtaining user gesture data and user fingerprint data; S102: When it is determined that the user gesture data is the first pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data, the activation operation is regarded as a user activation operation, and a user live broadcast selection interface is generated; S103: when it is determined that the user gesture data is the second pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data, or when it is determined that the user gesture data is the first pre-stored user gesture data and the user fingerprint data is non-pre-stored user fingerprint data, the activation operation is regarded as a third-party activation operation, and a third-party live broadcast selection interface is generated; S104: When it is determined that the user gesture data is the third pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data, or when it is determined that the user gesture data is non-pre-stored user gesture data and the user fingerprint data is non-pre-stored user fingerprint data, the activation operation is regarded as a safe activation operation, and a safe live broadcast selection interface is generated.

2. A live broadcast room data generating device, characterized in that: include: A selection interface generation module, for generating a live broadcast selection interface in response to a user's activation operation; wherein the activation operation includes at least one of the user activation operation, the third-party activation operation, and the security activation operation, and the live broadcast selection interface includes at least one of the user live broadcast selection interface, the third-party live broadcast selection interface, and the security live broadcast selection interface; An interface data generating module, used for generating live broadcast room interface data in response to a user's touch operation on the live broadcast selection interface; The generating of the live broadcast selection interface in response to the user's activation operation includes: S11: generating a user live broadcast selection interface in response to a user activation operation of the user; S12: Alternatively, in response to a third-party activation operation by the user, a third-party live broadcast selection interface is generated; S13: Alternatively, in response to the user's security activation operation, a secure live broadcast selection interface is generated, wherein the authority level data corresponding to the user live broadcast selection interface is greater than the authority level data corresponding to the third-party live broadcast selection interface, and the authority level data corresponding to the third-party live broadcast selection interface is greater than the authority level data corresponding to the secure live broadcast selection interface; The activation operation in response to the user includes: S101: In response to an activation operation by a user, obtaining user gesture data and user fingerprint data; S102: When it is determined that the user gesture data is the first pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data, the activation operation is regarded as a user activation operation, and a user live broadcast selection interface is generated; S103: when it is determined that the user gesture data is the second pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data, or when it is determined that the user gesture data is the first pre-stored user gesture data and the user fingerprint data is non-pre-stored user fingerprint data, the activation operation is regarded as a third-party activation operation, and a third-party live broadcast selection interface is generated; S104: When it is determined that the user gesture data is the third pre-stored user gesture data and the user fingerprint data is the pre-stored user fingerprint data, or when it is determined that the user gesture data is non-pre-stored user gesture data and the user fingerprint data is non-pre-stored user fingerprint data, the activation operation is regarded as a safe activation operation, and a safe live broadcast selection interface is generated.

3. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the method of claim 1 when executed.

4. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method of claim 1 .