Page generation method, page display method, device and electronic equipment
By obtaining the target object's tag information and date type, a customized live streaming preparation page is generated, which solves the problem of insufficient adaptability of the live streaming preparation page and improves configuration efficiency and user experience.
Patent Information
- Application Number
- CN202211144288.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-20
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2042-09-20
AI Technical Summary
The existing live streaming preparation page layout is fixed and cannot be personalized according to user needs, resulting in poor adaptability and affecting configuration efficiency and user experience.
By obtaining the tag information of the target object, page layout information matching its live broadcast type is generated, a customized live broadcast preparation page is generated, and the page layout is further optimized by combining the date type.
The display effect and configuration efficiency of the live streaming preparation page have been improved, enhancing the user experience.
Smart Images

Figure CN115544414B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of Internet, and particularly relates to a page generation method, a page display method, a device and an electronic device. BACKGROUND
[0002] With the development of Internet technology and the wide popularity of mobile terminals, live streaming through a live streaming platform has become a new social way and is favored by more and more people.
[0003] At present, before a host starts a live streaming through a live streaming platform, a terminal displays a live streaming preparation page, so as to facilitate the host to configure live streaming preparation items such as a theme, a mode and a live streaming process of the live streaming.
[0004] However, the page layout of the live streaming preparation page is often fixed, that is, the live streaming preparation page seen by all hosts is the same, and cannot be personalized according to user needs, resulting in poor adaptability between the live streaming preparation page and the live streaming type. SUMMARY
[0005] The present disclosure provides a page generation method, a page display method, a device and an electronic device, which can improve the display effect of the live streaming preparation page, improve the configuration efficiency of the live streaming preparation items, and improve user experience. The technical solution of the present disclosure is as follows.
[0006] According to a first aspect of an embodiment of the present disclosure, a page generation method is provided, applied to a server, and the method comprises:
[0007] In response to a live streaming preparation request of a target object, label information of the target object is acquired, the live streaming preparation request indicating that the target object is preparing to start live streaming, and the label information of the target object indicating a live streaming type of the target object;
[0008] Based on the label information of the target object, first page layout information is acquired, the first page layout information indicating a first page layout of the live streaming type for live streaming preparation items;
[0009] Based on the first page layout information, a live streaming preparation page conforming to the first page layout is generated, and the live streaming preparation page is used to provide a configuration function for the live streaming preparation items.
[0010] In the method, in response to a live broadcast preparation request of a target object, label information of the target object is acquired, and page layout information matched with the label information is acquired based on the label information. Since the page layout information can indicate a page layout of the live broadcast type of the target object for live broadcast preparation items, a live broadcast preparation page generated based on the page layout information has high adaptability with the live broadcast type of the target object, thereby realizing customized distribution of the live broadcast preparation page, improving display effect of the live broadcast preparation page, improving configuration efficiency of live broadcast preparation items, and improving user experience.
[0011] In some embodiments, in response to a live broadcast preparation request of a target object, label information of the target object is acquired, including:
[0012] Based on a timestamp of the live broadcast preparation request, a date type of a current date is determined.
[0013] In a case where the date type does not belong to a target date type, the label information of the target object is acquired.
[0014] In the case where the date type does not belong to the target date type, the label information of the target object is acquired to generate a live broadcast preparation page with high adaptability with the live broadcast type of the target object.
[0015] In some embodiments, the method further includes:
[0016] In a case where the date type belongs to a target date type, second page layout information is acquired based on the target date type, the second page layout information indicating a second page layout of the target date type for the live broadcast preparation items.
[0017] A live broadcast preparation page conforming to the second page layout is generated based on the second page layout information.
[0018] In the case where the date type belongs to the target date type, a live broadcast preparation page with high adaptability with the date type of the current date is generated based on the target date type, thereby improving display effect of the live broadcast preparation page and improving user experience.
[0019] In some embodiments, the method further includes:
[0020] In a case where the date type belongs to a target date type, label information of the target object is acquired, and third page layout information is acquired based on the label information of the target object and the target date type, the third page layout information indicating a third page layout of the live broadcast type and the target date type for the live broadcast preparation items.
[0021] Based on the third page layout information, a live broadcast preparation page conforming to the third page layout is generated.
[0022] In some embodiments, based on the label information of the target object and the target date type, third page layout information is obtained, including:
[0023] Based on the label information of the target object, fourth page layout information is obtained, the fourth page layout information indicating a fourth page layout of the live broadcast type for the live broadcast preparation matter; layout information of a configuration control for the live broadcast preparation matter is obtained from the fourth page layout information;
[0024] Based on the target date type, fifth page layout information is obtained, the fifth page layout information indicating a fifth page layout of the target date type for the live broadcast preparation matter; style information of a configuration control for the live broadcast preparation matter is obtained from the fifth page layout information;
[0025] Based on the layout information of the configuration control and the style information of the configuration control, the third page layout information is obtained.
[0026] In the above manner, the binding between the live broadcast type of the target object, the date type of the current date, and the live broadcast preparation page is achieved, which not only improves the display effect of the live broadcast preparation page, but also improves the configuration efficiency of the live broadcast preparation matter.
[0027] In some embodiments, based on the timestamp of the live broadcast preparation request, the date type of the current date is determined, including:
[0028] The timestamp of the live broadcast preparation request is input into a plurality of date calculators, the date calculators being configured to determine the date type to which the timestamp belongs;
[0029] In a case where the output result of the plurality of date calculators indicates that the current date belongs to a plurality of date types, the plurality of date types are sorted based on date type priority information, the date type priority information indicating the arrangement order of the importance degrees of the date types corresponding to the plurality of date calculators, and the date type arranged in a target position is determined as the date type of the current date.
[0030] In the above manner, the date type with a higher priority is determined as the date type of the current date, which is often more important.
[0031] According to a second aspect of the embodiments of the present disclosure, a page display method is provided, applied to a terminal, and the method includes:
[0032] A live broadcast preparation request of a target object is sent, the live broadcast preparation request indicating that the target object is preparing to start live broadcast;
[0033] receive a live preparation page conforming to a first page layout, the first page layout being a page layout of the live type of the target object for live preparation matters, the live type of the target object being determined by tag information of the target object;
[0034] display the live preparation page conforming to the first page layout, the live preparation page being used to provide configuration functions for the live preparation matters.
[0035] In some embodiments, the receiving the live preparation page conforming to the first page layout comprises:
[0036] In a case where the date type of the current date does not belong to the target date type, the live preparation page conforming to the first page layout is received, the date type of the current date being determined based on a timestamp of the live preparation request.
[0037] In some embodiments, the method further comprises:
[0038] In a case where the date type of the current date belongs to the target date type, the live preparation page conforming to a second page layout is received, the second page layout being a page layout of the target date type for the live preparation matters;
[0039] display the live preparation page conforming to the second page layout.
[0040] In some embodiments, the method further comprises:
[0041] In a case where the date type of the current date belongs to the target date type, the live preparation page conforming to a third page layout is received, the third page layout being a page layout of the live type and the target date type for the live preparation matters;
[0042] display the live preparation page conforming to the third page layout.
[0043] According to a third aspect of the embodiments of the present disclosure, a page generation apparatus is provided, applied to a server, and the apparatus comprises:
[0044] a first obtaining unit configured to obtain tag information of a target object in response to a live preparation request of the target object, the live preparation request indicating that the target object is preparing to start live streaming, and the tag information of the target object indicating a live type of the target object;
[0045] a second obtaining unit configured to obtain first page layout information based on the tag information of the target object, the first page layout information indicating a first page layout of the live type for live preparation matters;
[0046] The page generation unit is configured to generate, based on the first page layout information, a live preparation page conforming to the first page layout, the live preparation page being used to provide a configuration function for the live preparation matter.
[0047] In some embodiments, the first obtaining unit is configured to:
[0048] determine a date type of a current date based on a timestamp of the live preparation request;
[0049] obtain label information of the target object in a case where the date type does not belong to a target date type.
[0050] In some embodiments, the apparatus further includes:
[0051] a third obtaining unit configured to obtain, in a case where the date type belongs to a target date type, second page layout information based on the target date type, the second page layout information indicating a second page layout of the target date type for the live preparation matter;
[0052] The page generation unit is further configured to generate, based on the second page layout information, a live preparation page conforming to the second page layout.
[0053] In some embodiments, the apparatus further includes:
[0054] a fourth obtaining unit configured to obtain, in a case where the date type belongs to a target date type, label information of the target object, and obtain, based on the label information of the target object and the target date type, third page layout information, the third page layout information indicating a third page layout of the live type and the target date type for the live preparation matter;
[0055] The page generation unit is further configured to generate, based on the third page layout information, a live preparation page conforming to the third page layout.
[0056] In some embodiments, the fourth obtaining unit is configured to:
[0057] obtain fourth page layout information based on the label information of the target object, the fourth page layout information indicating a fourth page layout of the live type for the live preparation matter, and obtain, from the fourth page layout information, layout information of a configuration control for the live preparation matter;
[0058] obtain fifth page layout information based on the target date type, the fifth page layout information indicating a fifth page layout of the target date type for the live preparation matter, and obtain, from the fifth page layout information, style information of a configuration control for the live preparation matter;
[0059] Based on the layout information of the configuration control and the style information of the configuration control, the third page layout information is obtained.
[0060] In some embodiments, the first obtaining unit is configured to perform:
[0061] inputting the timestamp of the live broadcast preparation request into a plurality of date calculators, the date calculators being used to determine a date type to which the timestamp belongs;
[0062] in a case where an output result of the plurality of date calculators indicates that a current date belongs to a plurality of date types, sorting the plurality of date types based on date type priority information, the date type priority information indicating an importance degree arrangement order of the date types corresponding to the plurality of date calculators, and determining a date type arranged in a target position as the date type of the current date.
[0063] According to a fourth aspect of embodiments of the present disclosure, a page display apparatus is provided, applied to a terminal, and the apparatus comprises:
[0064] a sending unit configured to perform sending a live broadcast preparation request of a target object, the live broadcast preparation request indicating that the target object is preparing to start a live broadcast;
[0065] a receiving unit configured to perform receiving a live broadcast preparation page conforming to a first page layout, the first page layout being a page layout of a live broadcast type of the target object for a live broadcast preparation matter, the live broadcast type of the target object being determined through label information of the target object;
[0066] a page display unit configured to perform displaying the live broadcast preparation page conforming to the first page layout, the live broadcast preparation page being used to provide a configuration function for the live broadcast preparation matter.
[0067] In some embodiments, the receiving unit is configured to perform:
[0068] in a case where a date type of a current date does not belong to a target date type, receiving the live broadcast preparation page conforming to the first page layout, the date type of the current date being determined based on a timestamp of the live broadcast preparation request.
[0069] In some embodiments, the receiving unit is further configured to perform, in a case where the date type of the current date belongs to the target date type, receiving a live broadcast preparation page conforming to a second page layout, the second page layout being a page layout of the target date type for the live broadcast preparation matter.
[0070] The page display unit is further configured to perform displaying the live broadcast preparation page conforming to the second page layout.
[0071] In some embodiments, the receiving unit is further configured to perform: receiving a live preparation page conforming to a third page layout in a case where the date type of the current date belongs to a target date type, the third page layout referring to a page layout of the live type and the target date type for the live preparation matter;
[0072] The page displaying unit is further configured to perform displaying the live preparation page conforming to the third page layout.
[0073] According to a fifth aspect of the embodiments of the present disclosure, an electronic device is provided, which comprises:
[0074] one or more processors;
[0075] a memory for storing the processor-executable program code;
[0076] wherein the processor is configured to execute the program code to implement the page generation method shown in the first aspect or the page displaying method shown in the second aspect.
[0077] According to a sixth aspect of the embodiments of the present disclosure, a computer readable storage medium is provided, which comprises: when program code in the computer readable storage medium is executed by a processor of an electronic device, the electronic device is enabled to perform the page generation method shown in the first aspect or the page displaying method shown in the second aspect.
[0078] According to a seventh aspect of the embodiments of the present disclosure, a computer program product is provided, which comprises a computer program, and the computer program is executed by an electronic device to implement the page generation method shown in the first aspect or the page displaying method shown in the second aspect.
[0079] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0080] The accompanying drawings incorporated in the specification and forming a part of it, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure, and do not constitute an undue limitation on the present disclosure.
[0081] Figure 1 is a schematic diagram of an implementation environment provided by the embodiments of the present disclosure;
[0082] Figure 2 is a flowchart of a page generation method provided by the embodiments of the present disclosure;
[0083] Figure 3 is a flowchart of a page displaying method provided by the embodiments of the present disclosure;
[0084] Figure 4 FIG. 1 is a schematic diagram of a live broadcast function control according to an embodiment of the present disclosure;
[0085] Figure 5 FIG. 2 is a flowchart of a live broadcast preparation page issuing method according to an embodiment of the present disclosure;
[0086] Figure 6 FIG. 3 is a schematic diagram of storage tag information according to an embodiment of the present disclosure;
[0087] Figure 7 FIG. 4 is a schematic diagram of a live broadcast preparation page according to an embodiment of the present disclosure;
[0088] Figure 8 FIG. 5 is a schematic diagram of another live broadcast preparation page according to an embodiment of the present disclosure;
[0089] Figure 9 FIG. 6 is a schematic diagram of a live broadcast preparation page issuing flow according to an embodiment of the present disclosure;
[0090] Figure 10 FIG. 7 is a schematic diagram of determining a date type according to an embodiment of the present disclosure;
[0091] Figure 11 FIG. 8 is a flowchart of another live broadcast preparation page issuing method according to an embodiment of the present disclosure;
[0092] Figure 12 FIG. 9 is a schematic diagram of another live broadcast preparation page according to an embodiment of the present disclosure;
[0093] Figure 13 FIG. 10 is a block diagram of a page generation apparatus according to an embodiment of the present disclosure;
[0094] Figure 14 FIG. 11 is a block diagram of a page display apparatus according to an embodiment of the present disclosure;
[0095] Figure 15 FIG. 12 is a block diagram of a terminal according to an embodiment of the present disclosure;
[0096] Figure 16 FIG. 13 is a block diagram of a server according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0097] In order to make the ordinary person skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings.
[0098] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The implementation described in the following exemplary embodiments does not represent all implementations consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0099] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the present disclosure are authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions. For example, the historical live broadcast information and object information involved in the embodiments of the present disclosure are obtained under full authorization.
[0100] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present disclosure, referring to Figure 1 The implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are directly or indirectly connected through wired or wireless communication, which is not limited by the embodiments of the present disclosure.
[0101] The terminal 101 is at least one of a smart phone, a smart watch, a desktop computer, a laptop computer, a virtual reality terminal, an augmented reality terminal, a wireless terminal and a laptop computer. The terminal 101 can generally refer to one of a plurality of terminals, and the embodiments of the present disclosure are only exemplified by the terminal 101. Those skilled in the art can know that the number of the above-mentioned terminals can be more or less. Illustratively, the terminal 101 can install and run an application program, which is used to provide live broadcast function for an object, such as a live broadcast application program (also called live broadcast platform), a social application program, a video application program, etc., which is not limited.
[0102] The server 102 is a standalone physical server, or a server cluster or distributed file system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms. The number of servers 102 can be more or less, and the embodiments of the present disclosure do not limit this. Illustratively, the server 102 is used to provide background services for the application program running on the terminal 101. Of course, the server 102 can also include other functional servers to provide more comprehensive and diversified services.
[0103] Taking an example that the terminal 101 runs a live broadcast application, and the server 102 is used to provide background services for the live broadcast application, the target object can prepare a live broadcast through the live broadcast function provided by the live broadcast application, trigger the terminal 101 to send a live broadcast preparation request to the server 102, and the server 102 returns a live broadcast preparation page to the terminal 101 in response to the live broadcast preparation request. The terminal 101 displays the live broadcast preparation page, so as to facilitate the target object to configure live broadcast preparation matters through the live broadcast preparation page, and realize the preparation work before the live broadcast. For example, the live broadcast preparation matters include a live broadcast title, live broadcast content, and a live broadcast form, and the like, which are not limited.
[0104] Next, based on the above implementation environment, the page generation method and the page display method provided by the embodiments of the present disclosure are introduced.
[0105] Figure 2 FIG. 1 is a flowchart of a page generation method provided by the embodiments of the present disclosure. As shown in FIG. 1, the method is applied to a server, and includes the following steps 201 to 203. Figure 2
[0106] In step 201, the server acquires label information of a target object in response to a live broadcast preparation request of the target object, and the live broadcast preparation request indicates that the target object prepares to start a live broadcast.
[0107] In the embodiments of the present disclosure, the label information of the target object indicates the live broadcast type of the target object. In some embodiments, the label information of the target object is text information, for example, the target object is referred to as a host object, and the label information of the target object is a talent host, a makeup host, a e-commerce host or an emotional host, etc., which is not limited herein. In some embodiments, the label information of the target object is identification information, for example, the label information of the target object is 1, indicating that the target object is a talent host, the label information of the target object is 2, indicating that the target object is a makeup host, etc., which is only illustrative herein. The label information can also be implemented by other types of identification, such as letters, special symbols, etc., which is not limited herein.
[0108] In step 202, the server obtains first page layout information based on the label information of the target object.
[0109] In the embodiments of the present disclosure, the first page layout information indicates a first page layout of live broadcast preparation matters for the live broadcast type. Illustratively, the live broadcast preparation matters include a live broadcast title, a live broadcast content, a live broadcast form, a live broadcast tool, a live broadcast protocol, etc., which is not limited herein. It should be understood that different label information corresponds to different page layout information, that is, the server can obtain page layout information suitable for the target object according to the label information of the target object.
[0110] In some embodiments, the first page layout information includes layout information and style information of configuration controls for live broadcast preparation matters. The layout information of the configuration controls includes the number, position and type of the configuration controls, etc., and the style information of the configuration controls includes the shape, color and dynamic effect of the configuration controls, etc. In some embodiments, the first page layout information further includes other types of information, such as the overall rendering style of the page, etc., and the specific content of the page layout information is not limited in the embodiments of the present disclosure.
[0111] In step 203, the server generates a live broadcast preparation page conforming to the first page layout based on the first page layout information.
[0112] In the embodiments of the present disclosure, the live broadcast preparation page is used to provide configuration functions for live broadcast preparation matters. Since the first page layout information is obtained by the server based on the label information of the target object, the live broadcast preparation page generated based on the first page layout information has a page layout conforming to the live broadcast type of the target object, or in other words, the page layout has a high degree of adaptation with the live broadcast type of the target object. This process is that the server can generate a live broadcast preparation page suitable for the target object according to the label information of the target object, so as to facilitate the target object to configure the live broadcast preparation matters.
[0113] For example, the label information of the target object is a talent anchor, indicating that the live broadcast to be started by the target object is likely to show his / her talent. Therefore, the server highlights the configuration control related to the talent show in the toolbar area of the live broadcast preparation page, and adds the configuration control related to the talent show in the business bar area. For another example, the label information of the target object is an e-commerce anchor, indicating that the live broadcast to be started by the target object is likely to sell goods by introducing the goods. Therefore, the server highlights the configuration control related to the introduction and sale of goods in the toolbar area of the live broadcast preparation page, and adds the configuration control related to the introduction and sale of goods in the business bar area. It can be seen that, in this way, the live broadcast preparation page generated by the server is bound to the label information of the target object, that is, the live broadcast preparation page has a high degree of adaptation to the live broadcast type of the target object, thereby realizing the customized distribution of the live broadcast preparation page, improving the display effect of the live broadcast preparation page, improving the configuration efficiency of the live broadcast preparation matters, and improving the user experience.
[0114] In summary, in the technical solution provided by the embodiments of the present disclosure, in response to the live broadcast preparation request of the target object, the page layout information matched with the label information of the target object is obtained based on the label information of the target object. Since the page layout information can indicate the page layout of the live broadcast type of the target object for the live broadcast preparation matters, the live broadcast preparation page generated based on the page layout information has a high degree of adaptation to the live broadcast type of the target object, thereby realizing the customized distribution of the live broadcast preparation page, improving the display effect of the live broadcast preparation page, improving the configuration efficiency of the live broadcast preparation matters, and improving the user experience.
[0115] Figure 3 is a flowchart of a page display method provided by an embodiment of the present disclosure. As shown in Figure 3 , the method is applied to a terminal and includes the following steps 301 to 303.
[0116] In step 301, the terminal sends a live broadcast preparation request of a target object, and the live broadcast preparation request indicates that the target object is preparing to start a live broadcast.
[0117] In the embodiments of the present disclosure, a target application program is running on the terminal, and the target application program can provide a live broadcast function for the target object. The terminal sends a live broadcast preparation request of the target object to the server in response to the operation of the target object on the target application program. Illustratively, the terminal displays a live broadcast function control, and sends the live broadcast preparation request of the target object to the server in response to the triggering operation of the target object on the live broadcast function control.
[0118] Illustratively, referring to Figure 4 , Figure 4 is a schematic diagram of a live broadcast function control provided by an embodiment of the present disclosure. As shown in Figure 4As shown, the terminal displays an application interface 400 of a target application, the application interface 400 including a plurality of function controls, wherein the terminal sends a live broadcast preparation request of the target object to the server in response to a triggering operation of the target object on the live broadcast function control 401.
[0119] In step 302, the terminal receives a live broadcast preparation page conforming to a first page layout, the first page layout referring to a page layout of the live broadcast type of the target object for live broadcast preparation matters, the live broadcast type of the target object being determined through label information of the target object.
[0120] In the embodiments of the present disclosure, the live broadcast preparation page conforming to the first page layout is sent by the server and is generated by the server based on first page layout information. For specific processes, reference can be made to the above Figure 2 The embodiments are not described here again.
[0121] In step 303, the terminal displays the live broadcast preparation page conforming to the first page layout.
[0122] In the embodiments of the present disclosure, the live broadcast preparation page is used to provide configuration functions for the live broadcast preparation matters. The live broadcast preparation page includes at least one configuration control for the live broadcast preparation matters, and the page layout of the live broadcast preparation page has a high degree of adaptation with the live broadcast type of the target object.
[0123] To sum up, in the technical solution provided by the embodiments of the present disclosure, after sending a live broadcast preparation request of a target object, a live broadcast preparation page conforming to a first page layout is received, and the live broadcast preparation page conforming to the first page layout is displayed. Since the first page layout is a page layout of the live broadcast type of the target object for live broadcast preparation matters, the live broadcast preparation page has a high degree of adaptation with the live broadcast type of the target object, thereby realizing customized display of the live broadcast preparation page, improving display effect of the live broadcast preparation page, improving configuration efficiency of the live broadcast preparation matters, and improving user experience.
[0124] The above Figure 2 and Figure 3 The brief processes of the page generation method and the page display method provided by the embodiments of the present disclosure are introduced. Based on the embodiments shown in Figure 5 , the above methods are introduced in detail.
[0125] Figure 5 is a flowchart of a live broadcast preparation page issuing method provided by the embodiments of the present disclosure. As shown in Figure 5 , the method is introduced by taking interaction between a terminal and a server as an example, and the method includes the following steps 501 to 514.
[0126] In step 501, the terminal sends a live preparation request of the target object to the server, and the live preparation request indicates that the target object is ready to start live streaming.
[0127] In the embodiments of the present disclosure, the process of the terminal sending the live preparation request is the same as the above Figure 3 The step 301 in the embodiment shown in FIG. 3 is the same, and thus will not be described again.
[0128] In step 502, the server receives the live preparation request.
[0129] In some embodiments, the server determines the live streaming permission of the target object based on the object identifier of the target object, and executes the following steps in the case that the target object has the live streaming permission, and exits the current process in the case that the target object does not have the live streaming permission. In this way, the following steps are executed only in the case that the target object has the live streaming permission, so that the communication resources can be saved.
[0130] In step 503, the server determines the date type of the current date based on the timestamp of the live preparation request.
[0131] In the embodiments of the present disclosure, the date type is, for example, birthday, holiday, ordinary weekday, temporary activity day of the live streaming platform, anniversary day, and the like, which are not limited. It should be understood that the date type of the current date includes at least one, for example, the current date is both a holiday and the birthday of the target object. For another example, the current date is both an ordinary weekday and a temporary activity day of the live streaming platform, and the like.
[0132] In some embodiments, the server inputs the timestamp of the live preparation request into a date calculator to calculate the date type of the current date. Illustratively, different date types correspond to different date calculators, that is, the server inputs the timestamp of the live preparation request into multiple date calculators to obtain the output results of the multiple date calculators to determine the date type of the current date, wherein the date calculator is used to determine the date type to which the timestamp belongs. For example, the multiple date calculators include: a birthday calculator (such as calculating the birthday of the host, the anniversary of live streaming, the anniversary of registration, and the like), a festival calculator (such as calculating the Spring Festival, the New Year's Day, the Qixi Festival, and the like), a platform calculator (such as calculating the anniversary of the establishment of the live streaming platform, and the like), a custom calculator (such as calculating the temporary activity day of the live streaming platform), and the like, which are not limited. In some embodiments, the server determines the multiple date calculators based on the object group to which the target object belongs, that is, different object groups use different types of date calculators. For example, for the custom calculator, the custom calculator is used in the case that the target object belongs to a specific object group, and the embodiments of the present disclosure are not limited in this regard. In this way, it is avoided that all date calculators are used to calculate the date type for any object, so that the calculation resources of the server are saved.
[0133] In some embodiments, the server determines the date type of the current date based on date type priority information, which indicates an importance ranking order of the date types corresponding to the plurality of date calculators. Illustratively, the server inputs the timestamp of the live preparation request into the plurality of date calculators, and in a case where the output results of the plurality of date calculators indicate that the current date belongs to a plurality of date types, the plurality of date types are sorted based on the date type priority information, and the date type ranked in a target position is determined as the date type of the current date. For example, the target position is the first position, or the first N positions, where N is a positive integer, which is not limited. In a case where the current date belongs to a plurality of date types, the above-mentioned manner can determine the date type with a higher priority as the date type of the current date, which is often more important. For example, the output results of the plurality of date calculators indicate that the current date is both the Spring Festival and the birthday of the target object, and according to the date type priority information, it is determined that the priority of the Spring Festival is higher, and therefore the date type of the current date is determined as the Spring Festival.
[0134] In other embodiments, the server sorts the plurality of date calculators based on the date type priority information, and inputs the timestamp of the live preparation request into the sorted plurality of date calculators in sequence, and in a case where any one of the date calculators outputs the date type of the current date, the date type of the current date is determined. In this way, the determination efficiency of the date type can be improved. For example, the plurality of date calculators include a birthday calculator, a festival calculator, a platform calculator, and a custom calculator, the server sorts the plurality of date calculators based on the date type priority information to obtain the festival calculator, the platform calculator, the birthday calculator, and the custom calculator, and inputs the timestamp of the live preparation request into the sorted date calculators in sequence, and in a case where the festival calculator outputs the date type of the current date as the Spring Festival, the server exits the current process and determines that the date type of the current date is the Spring Festival.
[0135] It should be noted that the above-mentioned step 503 can also be implemented by the terminal, that is, the terminal carries the date type of the current date in the live preparation request, thereby saving the computing resources of the server and improving the page generation efficiency, which is not limited in the embodiments of the present disclosure.
[0136] After the step 503, the server determines the date type of the current date. If the date type does not belong to the target date type, the server performs the following steps 504-507, and the terminal performs the following steps 508 and 509. If the date type belongs to the target date type, the server performs the following steps 510-512, and the terminal performs the following steps 513 and 514. The target date type is a preset date type, which can be set according to actual needs, and is not limited. For example, the target date type is the birthday or holiday of the target object.
[0137] In step 504, the server obtains the label information of the target object if the date type does not belong to the target date type.
[0138] In the embodiments of the present disclosure, the server obtains the label information of the target object from a target database based on the object identifier of the target object, and the target database is used to store the object identifier of the object and the label information of the object. The label information of the object is determined based on the historical live broadcast information and the object information of the object. The following describes the process of storing the label information of the first object by the server, including the following steps A-C.
[0139] Step A, obtaining the historical live broadcast information of the first object, which indicates the live broadcast situation of the first object in the historical live broadcast process.
[0140] The server obtains the historical live broadcast information of the first object from the live database based on the object identifier of the first object. Illustratively, the live broadcast situation includes live broadcast time (start time and end time), live broadcast content, audience interaction (such as comments, sharing, and likes), and the like, which are not limited.
[0141] Step B, generating the label information of the first object based on the historical live broadcast information of the first object and the object information of the first object.
[0142] The object information of the first object includes portrait information, account information, and the number of live broadcasts, and the like, which are not limited. In some embodiments, the server obtains the live broadcast information corresponding to the historical label information from the historical live broadcast information of the first object based on the historical label information of the first object, so as to improve the generation efficiency of the label information. For example, the historical label information of the first object is an e-commerce anchor, and the server obtains e-commerce live broadcast information from the historical live broadcast information of the first object to generate the label information of the first object.
[0143] Step C, storing the label information of the first object in the target database.
[0144] Schematically, reference is made to Figure 6 , Figure 6 is a schematic diagram of storing label information provided by an embodiment of the present disclosure. As shown in Figure 6 , a live database (Hive, a data warehouse tool based on Hadoop) stores relevant information of an object (i.e., a host) and live room viewers. A server obtains relevant configuration information (i.e., key indicators) for generating an object label from a label information configuration file, obtains historical live information of the object from the live database based on the relevant configuration information, and obtains object information of the object from an object information database based on the object's identification. Based on the historical live information and the object information, the label information of the object is generated and stored in a target database. In addition, for an object for which historical live information is not obtained, default label information is generated for the object, for example, the default label information is a new host.
[0145] It should be noted that the above process of generating label information and storing it in the target database is only schematic and does not constitute a limitation on the present disclosure, and the label information can also be generated in other ways as long as it can indicate the live type of the object.
[0146] In step 505, the server obtains first page layout information based on the label information of the target object.
[0147] In an embodiment of the present disclosure, the first page layout information indicates a first page layout of the live type for live preparation matters. The server obtains the first page layout information from a first configuration file based on the label information of the target object. The first configuration file stores label information of the object and page layout information corresponding to the label information. For example, the label information of the target object is "new host", and the first page layout information indicates "new host layout strategy", including layout information and style information of configuration controls that meet the new host layout strategy, and for another example, the label information of the target object is "talent host", and the first page layout information indicates "talent host layout strategy", including layout information and style information of configuration controls that meet the talent host layout strategy.
[0148] In step 506, the server generates a live preparation page that meets the first page layout based on the first page layout information, and the live preparation page is used to provide configuration functions for the live preparation matters.
[0149] In the embodiments of the present disclosure, the server obtains a page layout instance corresponding to the first page layout information from the page layout configuration file based on the first page layout information, and generates a live preparation page conforming to the first page layout. Illustratively, the page layout instance includes but is not limited to: a live form (video live, voice live, chat room live, etc.), a business column region (such as business type and business priority), a start live button, and a toolbar region (such as beautifying, special effect, etc.), and the like, which are not limited in the embodiments of the present disclosure and can be set according to actual needs.
[0150] In some embodiments, the live preparation request carries an identification of a live form, for example, the live form includes video live, voice live, chat room live, game live, and the like. The server generates a live preparation page conforming to the first page layout and the live form based on the first page layout and the identification of the live form. In this way, the server can realize customized delivery of the live preparation page based on the live form requested by the target object, and improve the page generation efficiency.
[0151] In other embodiments, the server generates a plurality of live preparation pages conforming to the first page layout based on the first page layout information, and the plurality of live preparation pages correspond to a plurality of live forms supported by the target application. That is, the server can generate live preparation pages corresponding to a plurality of live forms at one time, avoiding subsequent signaling interaction between the terminal and the server when the target object switches the live form, thereby saving communication resources.
[0152] In step 507, the server sends the live preparation page conforming to the first page layout to the terminal.
[0153] In the embodiments of the present disclosure, based on the above step 506, the server can deliver the live preparation page conforming to the first page layout for the live form requested by the target object, or deliver a plurality of live preparation pages conforming to the first page layout for a plurality of live forms supported by the target application, which are not limited in the embodiments of the present disclosure.
[0154] In step 508, the terminal receives the live preparation page conforming to the first page layout.
[0155] In step 509, the terminal displays the live preparation page conforming to the first page layout.
[0156] In the embodiments of the present disclosure, after receiving the live preparation page conforming to the first page layout, the terminal displays the live preparation page in the application interface of the target application.
[0157] Illustratively, referring to Figure 7 , Figure 7 is a schematic diagram of a live preparation page provided by the embodiments of the present disclosure. As shown in FIG. 5, the live preparation page includes a live form (video live), a business column region (such as business type and business priority), a start live button, and a toolbar region (such as beautifying, special effect, etc.), and the like.Figure 7 As shown in FIG. 6(a), taking the label information of the target object as a talent anchor as an example, the live broadcast preparation page 700 includes a toolbar area 701, which includes a plurality of configuration controls. Among them, the configuration controls of the talent show type are arranged in the front and highlighted, such as "music", "microphone", "beauty". The live broadcast preparation page 700 further includes a business column area 702, which includes a plurality of configuration controls related to talent show, such as "click here to add topics, recommended topics as follows: cover, duet, etc.". As shown in FIG. 6(b), taking the label information of the target object as an e-commerce anchor as an example, the live broadcast preparation page 700 includes a toolbar area 703, which includes a plurality of configuration controls. Among them, the configuration controls of the product introduction and sales type are arranged in the front and highlighted, such as "earn money", "preview". The live broadcast preparation page 700 further includes a business column area 704, which includes a plurality of configuration controls related to e-commerce live broadcast, such as "click here to add topics, recommended topics as follows: home appliance promotion, new autumn clothes, etc.". It should be understood that the above-mentioned Figure 7 As shown in FIG. 6(a), taking the label information of the target object as a talent anchor as an example, the live broadcast preparation page 700 includes a toolbar area 701, which includes a plurality of configuration controls. Among them, the configuration controls of the talent show type are arranged in the front and highlighted, such as "music", "microphone", "beauty". The live broadcast preparation page 700 further includes a business column area 702, which includes a plurality of configuration controls related to talent show, such as "click here to add topics, recommended topics as follows: cover, duet, etc.". As shown in FIG. 6(b), taking the label information of the target object as an e-commerce anchor as an example, the live broadcast preparation page 700 includes a toolbar area 703, which includes a plurality of configuration controls. Among them, the configuration controls of the product introduction and sales type are arranged in the front and highlighted, such as "earn money", "preview". The live broadcast preparation page 700 further includes a business column area 704, which includes a plurality of configuration controls related to e-commerce live broadcast, such as "click here to add topics, recommended topics as follows: home appliance promotion, new autumn clothes, etc.". It should be understood that the above-mentioned Figure 7 It should be understood that the above-mentioned
[0158] It can be seen that in this way, the live broadcast preparation page generated by the server is bound with the label information of the target object, that is, the live broadcast preparation page has a high degree of adaptation with the live broadcast type of the target object, thereby realizing the customized delivery of the live broadcast preparation page, improving the display effect of the live broadcast preparation page, improving the configuration efficiency of the live broadcast preparation matters, and improving the user experience.
[0159] Through the above steps 504 to 509, a live broadcast preparation page delivery method provided by the present embodiment is introduced, that is, the server determines the date type of the current date based on the live broadcast preparation request, in the case that the date type of the current date does not belong to the target date type, generates a live broadcast preparation page with a high degree of adaptation between the live broadcast type of the target object based on the label information of the target object, and delivers it to the terminal, so that the terminal displays the live broadcast preparation page, improves the display effect of the live broadcast preparation page, improves the configuration efficiency of the live broadcast preparation matters, and improves the user experience.
[0160] The case that the date type of the current date belongs to the target date type is introduced below.
[0161] In step 510, the server acquires second page layout information based on the target date type in the case that the date type belongs to the target date type.
[0162] In this embodiment, the second page layout information indicates the second page layout for the target date type in relation to the live broadcast preparation. The server obtains the second page layout information from a second configuration file based on the target date type. The second configuration file stores the target date type and the corresponding page layout information. For example, if the target date type is "Spring Festival," the second page layout information indicates a "Spring Festival layout strategy," including layout and style information of configuration controls conforming to the Spring Festival layout strategy. Similarly, if the target date type is "birthday," the second page layout information indicates a "birthday layout strategy," including layout and style information of configuration controls conforming to the birthday layout strategy. In some embodiments, the target date type can also be represented by characters or other forms; this is not limited.
[0163] In step 511, the server generates a live streaming preparation page that conforms to the second page layout based on the second page layout information.
[0164] In this embodiment of the disclosure, the server obtains a page layout instance corresponding to the second page layout information from the page layout configuration file based on the second page layout information, and generates a live broadcast preparation page that conforms to the second page layout.
[0165] In step 512, the server sends the live streaming preparation page, which conforms to the second page layout, to the terminal.
[0166] Based on the same process as steps 506 and 507 above, the server can send a live broadcast preparation page that conforms to the second page layout for the live broadcast format requested by the target object, or it can send multiple live broadcast preparation pages that conform to the second page layout at once for multiple live broadcast formats supported by the target application. This embodiment of the disclosure does not limit this.
[0167] In step 513, the terminal receives a live broadcast preparation page that conforms to the second page layout.
[0168] In step 514, the terminal displays a live broadcast preparation page that conforms to the second page layout.
[0169] In this embodiment of the disclosure, after receiving a live broadcast preparation page that conforms to the second page layout, the terminal displays the live broadcast preparation page on the application interface of the target application.
[0170] Indicatively, for reference Figure 8 , Figure 8 This is a schematic diagram of another live streaming preparation page provided in an embodiment of this disclosure. For example... Figure 8As shown in Figure (a), taking the target date type as Spring Festival as an example, the live broadcast preparation page 800 includes a toolbar area 801, which contains multiple configuration controls. The rendering style of these configuration controls is related to the Spring Festival. The live broadcast preparation page 800 also includes a business section area 802, which contains multiple configuration controls related to the Spring Festival, such as "Click here to add a topic; recommended topics include: Spring Festival red envelopes, Happy Chinese New Year, etc." Figure 8 As shown in Figure (b), taking a birthday as the target date type as an example, the live stream preparation page 800 includes a toolbar area 803, which contains multiple configuration controls. The rendering style of these configuration controls is related to the birthday. The live stream preparation page 800 also includes a business tab area 804, which contains multiple birthday-related configuration controls, such as "Click here to add a topic; recommended topics include: Where to go on your birthday, What to eat on your birthday, etc." It should be understood that the above... Figure 8 The illustration shown is merely an example. Any layout of the live broadcast preparation page can be bound to the target date type. For example, if the target date type is Chinese New Year, the "Start Live Broadcast" button on the live broadcast preparation page can be rendered in a style related to Chinese New Year. This embodiment of the disclosure does not limit this.
[0171] As can be seen, this method binds the server-generated live streaming preparation page to the target date type, meaning that the live streaming preparation page has a high degree of compatibility with the current date type. In other words, the rendering style of the live streaming preparation page is automatically adjusted according to holidays or events, thereby achieving customized distribution of the live streaming preparation page and improving its display effect.
[0172] Following steps 510 to 514 above, another method for distributing a live streaming preparation page provided by this embodiment of the present disclosure is introduced. That is, the server determines the date type of the current date based on the live streaming preparation request. If the date type of the current date belongs to the target date type, the server generates a live streaming preparation page with a high degree of compatibility with the date type of the current date based on the target date type and distributes it to the terminal, so that the terminal displays the live streaming preparation page, thereby improving the display effect of the live streaming preparation page and enhancing the user experience.
[0173] The following is for reference. Figure 9 Regarding the above Figure 5 The illustrated embodiment is provided as an example. Figure 9 This is a schematic diagram illustrating a live streaming preparation page distribution process provided in an embodiment of this disclosure. For example... Figure 9As shown, the server receives a live broadcast preparation request of a target object, determines a live broadcast permission of the target object based on an object identifier of the target object, and exits the current process in a case where the target object does not have the live broadcast permission. In a case where the target object has the live broadcast permission, a date type of a current date is determined based on a timestamp of the live broadcast preparation request. This process can also be understood as judging whether the current date is a special date.
[0174] In a case where the date type does not belong to a target date type, label information of the target object is obtained from a target database based on the object identifier of the target object, first page layout information is obtained from a first configuration file based on the label information, and a corresponding page layout instance is obtained from a page layout configuration file based on the first page layout information, so as to generate a live broadcast preparation page conforming to the first page layout and issue the live broadcast preparation page to a terminal.
[0175] In a case where the date type belongs to the target date type, second page layout information is obtained from a second configuration file based on the target date type, and a corresponding page layout instance is obtained from the page layout configuration file based on the second page layout information, so as to generate a live broadcast preparation page conforming to the second page layout and issue the live broadcast preparation page to the terminal.
[0176] In the process of determining the date type by the server, the process of determining the date type by the server is as shown in Figure 10 , Figure 10 is a schematic diagram of determining a date type provided by an embodiment of the present disclosure. As shown in Figure 10 , the server obtains date type priority configuration information from a priority configuration file, and inputs a timestamp of the live broadcast preparation request into a plurality of date calculators. In a case where output results of the plurality of date calculators indicate that the current date belongs to a plurality of date types, the plurality of date types are sorted based on the date type priority information, and a date type ranked in a target position is determined as the date type of the current date.
[0177] In summary, in the technical solution provided by the embodiment of the present disclosure, the date type of the current date is determined in response to the live broadcast preparation request of the target object, the binding between the live broadcast type of the target object and the live broadcast preparation page, or the binding between the date type and the live broadcast preparation page is achieved, and the display effect of the live broadcast preparation page is greatly improved. Moreover, the live broadcast preparation page is issued by the server in real time according to the live broadcast preparation request of the target object, without the need to update the version of the target application program, so that a large amount of communication consumption caused by updating the version is avoided, and the running performance of the target application program is improved.
[0178] Another live preparation page issuing method provided by the embodiment of the present disclosure is introduced as follows. In the method, in the case that the date type of the current date belongs to a target date type, the server can fuse the page layout information corresponding to the target date type and the page layout information corresponding to the live type of the target object, to generate a live preparation page with more rich display effects. The method is introduced as follows.
[0179] Figure 11 FIG. 13 is a flowchart of another live preparation page issuing method provided by the embodiment of the present disclosure, which is introduced taking the interaction between a terminal and a server as an example. The method includes the following steps 1101 to 1108. Figure 11
[0180] In step 1101, the terminal sends a live preparation request of a target object to the server, where the live preparation request indicates that the target object is preparing to start live streaming.
[0181] In step 1102, the server receives the live preparation request.
[0182] In step 1103, the server determines the date type of the current date based on the timestamp of the live preparation request.
[0183] In the embodiment of the present disclosure, the steps 1101 to 1103 are the same as the steps 501 to 503 in the embodiment shown in FIG. 5, and thus are not described again. Figure 5
[0184] In step 1104, the server acquires the label information of the target object in the case that the date type belongs to a target date type, and acquires third page layout information based on the label information of the target object and the target date type.
[0185] In the embodiment of the present disclosure, the third page layout information indicates a third page layout of the live type and the target date type for the live preparation matter. That is, the server acquires corresponding page layout information based on the label information and the target date type respectively, and fuses the two kinds of acquired page layout information to obtain the third page layout information. The method is introduced as follows, including the following steps 1 to 3.
[0186] Step 1, acquire fourth page layout information based on the label information of the target object, where the fourth page layout information indicates a fourth page layout of the live type for the live preparation matter; and acquire layout information of a configuration control for the live preparation matter from the fourth page layout information.
[0187] Wherein, the process of acquiring the fourth page layout information is the same as the process of acquiring the second page layout information in the embodiment shown in FIG. 6, and thus is not described again. Figure 5 The step 505 in the illustrated embodiment is the same. The layout information of the configuration control includes the number, position, and type of the configuration control, and the like. For example, taking the talent anchor as the label information of the target object, the layout information of the configuration control includes the number, position, and type of the configuration control related to the talent display class, and the like.
[0188] In step 2, based on the target date type, fifth page layout information is obtained, the fifth page layout information indicating a fifth page layout of the target date type for the live broadcast preparation matter; and style information of a configuration control for the live broadcast preparation matter is obtained from the fifth page layout information.
[0189] The process of obtaining the fifth page layout information is the same as the above Figure 5 The step 510 in the illustrated embodiment is the same. The style information of the configuration control includes the shape, color, and dynamic effect of the configuration control, and the like. For example, taking the Spring Festival as the target date type, the style information of the configuration control includes the rendering style information related to the Spring Festival, and the like.
[0190] In step 3, based on the layout information of the configuration control and the style information of the configuration control, the third page layout information is obtained.
[0191] The third page layout information is obtained by combining the layout information and the style information of the configuration control.
[0192] It should be noted that the above-mentioned manner of obtaining the third page layout information is only an illustrative example. In some embodiments, the server can also obtain part of the layout information and part of the style information of the configuration control for the live broadcast preparation matter from the fourth page layout information, and obtain part of the layout information and part of the style information of the configuration control for the live broadcast preparation matter from the fifth page layout information, and fuse the two to obtain the third page layout information. In actual application, the acquisition strategy of the third page layout information can be configured according to the demand, and no limitation is made thereto.
[0193] In step 1105, the server generates a live broadcast preparation page conforming to the third page layout based on the third page layout information.
[0194] In the embodiments of the present disclosure, the server obtains a page layout instance corresponding to the third page layout information from the page layout configuration file based on the third page layout information, and generates a live broadcast preparation page conforming to the third page layout.
[0195] In step 1106, the server sends the live broadcast preparation page conforming to the third page layout to the terminal.
[0196] The server generates the live broadcast preparation page conforming to the third page layout based on the third page layout information. Figure 5The server can issue a live preparation page conforming to the third page layout in the live form requested by the target object, or issue multiple live preparation pages conforming to the third page layout for multiple live forms supported by the target application program at one time, without limitation of the embodiments of the present disclosure.
[0197] In step 1107, the terminal receives the live preparation page conforming to the third page layout.
[0198] In step 1108, the terminal displays the live preparation page conforming to the third page layout.
[0199] In the embodiments of the present disclosure, after receiving the live preparation page conforming to the third page layout, the terminal displays the live preparation page in the application interface of the target application program.
[0200] Illustratively, referring to Figure 12 , Figure 12 is a schematic diagram of another live preparation page provided by the embodiments of the present disclosure. As Figure 12 shown, taking the target date type as the Spring Festival and the label information of the target object as a talent anchor as an example, the live preparation page 1200 includes a toolbar area 1201, and the toolbar area 1201 includes multiple configuration controls. The configuration controls of the talent show type are arranged in front, such as “music”, “microphone”, and “beauty”. In addition, the rendering style of these configuration controls is related to the Spring Festival, such as firecracker dynamic effects, to highlight the festival atmosphere. The live preparation page 1200 further includes a business column area 1202, and the business column area 1202 includes multiple configuration controls related to talent show, such as “click here to add topics, recommended topics are as follows: cover, duet, and so on”. It should be understood that the shown in the figure is only illustrative, and does not constitute a limitation on the embodiments of the present disclosure.
[0201] In summary, in the technical solution provided by the embodiments of the present disclosure, in response to the live preparation request of the target object, the date type of the current date is determined, the binding between the live type of the target object, the date type of the current date, and the live preparation page is achieved, the display effect of the live preparation page is improved, and the configuration efficiency of the live preparation matters is improved.
[0202] Figure 13 is a block diagram of a page generation device provided by the embodiments of the present disclosure. As Figure 13 shown, the device is applied to a server, and the device includes a first acquisition unit 1301, a second acquisition unit 1302, and a page generation unit 1303.
[0203] The first obtaining unit 1301 is configured to obtain label information of a target object in response to a live broadcast preparation request of the target object, the live broadcast preparation request indicating that the target object is preparing to start a live broadcast, and the label information of the target object indicating a live broadcast type of the target object.
[0204] The second obtaining unit 1302 is configured to obtain first page layout information based on the label information of the target object, the first page layout information indicating a first page layout of the live broadcast type for live broadcast preparation matters.
[0205] The page generating unit 1303 is configured to generate a live broadcast preparation page conforming to the first page layout based on the first page layout information, the live broadcast preparation page being used to provide a configuration function for the live broadcast preparation matters.
[0206] In some embodiments, the first obtaining unit 1301 is configured to:
[0207] determine a date type of a current date based on a timestamp of the live broadcast preparation request;
[0208] obtain the label information of the target object in a case where the date type does not belong to a target date type.
[0209] In some embodiments, the apparatus further includes:
[0210] a third obtaining unit configured to obtain second page layout information based on the target date type in a case where the date type belongs to a target date type, the second page layout information indicating a second page layout of the target date type for the live broadcast preparation matters;
[0211] The page generating unit 1303 is further configured to generate a live broadcast preparation page conforming to the second page layout based on the second page layout information.
[0212] In some embodiments, the apparatus further includes:
[0213] a fourth obtaining unit configured to obtain the label information of the target object in a case where the date type belongs to a target date type, and obtain third page layout information based on the label information of the target object and the target date type, the third page layout information indicating a third page layout of the live broadcast type and the target date type for the live broadcast preparation matters;
[0214] The page generating unit 1303 is further configured to generate a live broadcast preparation page conforming to the third page layout based on the third page layout information.
[0215] In some embodiments, the fourth obtaining unit is configured to:
[0216] Based on the label information of the target object, fourth page layout information is acquired, the fourth page layout information indicating a fourth page layout of the live broadcast type for the live broadcast preparation matter; layout information of a configuration control for the live broadcast preparation matter is acquired from the fourth page layout information;
[0217] Based on the target date type, fifth page layout information is acquired, the fifth page layout information indicating a fifth page layout of the target date type for the live broadcast preparation matter; style information of a configuration control for the live broadcast preparation matter is acquired from the fifth page layout information;
[0218] Based on the layout information of the configuration control and the style information of the configuration control, the third page layout information is obtained.
[0219] In some embodiments, the first acquisition unit 1301 is configured to perform:
[0220] The timestamp of the live broadcast preparation request is input into a plurality of date calculators, the date calculators being used to determine a date type to which the timestamp belongs;
[0221] In a case where the output result of the plurality of date calculators indicates that the current date belongs to a plurality of date types, the plurality of date types are sorted based on date type priority information, a date type ranked in a target position being determined as the date type of the current date, the date type priority information indicating an arrangement order of importance degrees of the date types corresponding to the plurality of date calculators.
[0222] In the above apparatus, in response to a live broadcast preparation request of a target object, based on label information of the target object, page layout information matched with the label information is acquired, since the page layout information can indicate a page layout of a live broadcast type of the target object for a live broadcast preparation matter, a live broadcast preparation page generated based on the page layout information has a high degree of adaptation with the live broadcast type of the target object, thereby realizing customized delivery of the live broadcast preparation page, improving the display effect of the live broadcast preparation page, improving the configuration efficiency of the live broadcast preparation matter, and improving user experience.
[0223] It should be noted that: the page generation apparatus provided in the above embodiments is only exemplified by the division of the above functional modules when generating a page, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the page generation apparatus and the page generation method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0224] Figure 14 is a block diagram of a page display apparatus provided by an embodiment of the present disclosure. As shown in the figure, the apparatus is applied to a terminal, and the apparatus includes a sending unit 1401, a receiving unit 1402, and a page display unit 1403. Figure 14
[0225] The sending unit 1401 is configured to perform sending a live preparation request of a target object, the live preparation request indicating that the target object prepares to start a live broadcast;
[0226] The receiving unit 1402 is configured to perform receiving a live preparation page conforming to a first page layout, the first page layout being a page layout of a live type of the target object for a live preparation matter, the live type of the target object being determined through label information of the target object;
[0227] The page display unit 1403 is configured to perform displaying the live preparation page conforming to the first page layout, the live preparation page being used to provide a configuration function for the live preparation matter.
[0228] In some embodiments, the receiving unit 1402 is configured to perform:
[0229] In a case where a date type of a current date does not belong to a target date type, the receiving unit 1402 is configured to perform receiving the live preparation page conforming to the first page layout, the date type of the current date being determined based on a time stamp of the live preparation request.
[0230] In some embodiments, the receiving unit 1402 is further configured to perform, in a case where the date type of the current date belongs to the target date type, receiving a live preparation page conforming to a second page layout, the second page layout being a page layout of the target date type for the live preparation matter;
[0231] The page display unit 1403 is further configured to perform displaying the live preparation page conforming to the second page layout.
[0232] In some embodiments, the receiving unit 1402 is further configured to perform, in a case where the date type of the current date belongs to the target date type, receiving a live preparation page conforming to a third page layout, the third page layout being a page layout of the live type and the target date type for the live preparation matter;
[0233] The page display unit 1403 is further configured to perform displaying the live preparation page conforming to the third page layout.
[0234] In the device, after sending a live preparation request of a target object, a live preparation page conforming to a first page layout is received and displayed. Since the first page layout is a page layout of the live type of the target object for live preparation matters, the live preparation page has a high degree of adaptation with the live type of the target object, thereby realizing customized display of the live preparation page, improving the display effect of the live preparation page, improving the configuration efficiency of the live preparation matters, and improving the user experience.
[0235] It should be noted that: the page display device provided in the above embodiments only divides the above functions as an example when displaying a page. In actual application, the above functions can be completed by different function modules according to needs, that is, the internal structure of the device is divided into different function modules to complete all or part of the above described functions. In addition, the page display device and the page display method provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0236] In an example embodiment, an electronic device is also provided, which includes a processor and a memory for storing at least one computer program, the at least one computer program being loaded and executed by the processor to implement the page generation method and the page display method in the embodiments of the present disclosure.
[0237] Taking the electronic device as a terminal as an example, Figure 15 is a block diagram of a terminal provided in the embodiments of the present disclosure. The terminal 1500 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 4) player, a notebook computer or a desktop computer. The terminal 1500 can also be referred to as a user equipment, a portable terminal, a laptop terminal, a desktop terminal, and other names.
[0238] Generally, the terminal 1500 includes a processor 1501 and a memory 1502.
[0239] The processor 1501 can include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1501 can be implemented in at least one of a hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), a PLA (Programmable Logic Array). The processor 1501 can also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit), and the coprocessor being a low-power processor for processing data in a standby state. In some embodiments, the processor 1501 can be integrated with a GPU (Graphics Processing Unit) for rendering and drawing content required to be displayed by the display screen. In some embodiments, the processor 1501 can further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
[0240] The memory 1502 can include one or more computer-readable storage media that can be non-transitory. The memory 1502 can also include high-speed random access memory and nonvolatile memory such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1502 is used to store at least one program code for being executed by the processor 1501 to implement the processes performed by the terminal in the method embodiments of the present disclosure.
[0241] In some embodiments, the terminal 1500 can also optionally include a peripheral device interface 1503 and at least one peripheral device. The processor 1501, the memory 1502, and the peripheral device interface 1503 can be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 1503 through a bus, a signal line, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1504, a display screen 1505, a camera assembly 1506, an audio circuit 1507, a positioning assembly 1508, and a power supply 1509.
[0242] The peripheral interface 1503 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, the memory 1502 and the peripheral interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1501, the memory 1502 and the peripheral interface 1503 can be implemented on a separate chip or circuit board, and the present embodiments are not limited in this regard.
[0243] The radio frequency circuit 1504 is configured to receive and send RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1504 communicates with communication networks and other communication devices through electromagnetic signals. The radio frequency circuit 1504 converts electrical signals into electromagnetic signals for transmission, or converts electromagnetic signals received into electrical signals. Optionally, the radio frequency circuit 1504 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 1504 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1504 can also include NFC (Near Field Communication) related circuitry, and the present application is not limited in this regard.
[0244] The display screen 1505 is configured to display a UI (User Interface). The UI can include graphics, text, icons, video, and any combination thereof. When the display screen 1505 is a touch display screen, the display screen 1505 is further configured to capture touch signals on or above the surface of the display screen 1505. The touch signals can be input to the processor 1501 as control signals for processing. In this case, the display screen 1505 can also be configured to provide virtual buttons and / or virtual keyboard, also known as soft buttons and / or soft keyboard. In some embodiments, the display screen 1505 can be one, disposed on the front panel of the terminal 1500; in other embodiments, the display screen 1505 can be at least two, respectively disposed on different surfaces of the terminal 1500 or in a folding design; in other embodiments, the display screen 1505 can be a flexible display screen, disposed on a curved surface or a folding surface of the terminal 1500. Even, the display screen 1505 can also be disposed in an irregular shape, i.e. a special-shaped screen. The display screen 1505 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc.
[0245] The camera assembly 1506 is configured to capture images or videos. Optionally, the camera assembly 1506 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal, and the rear camera is disposed on the back of the terminal. In some embodiments, the rear camera is at least two, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, to realize the background blur function by fusing the main camera and the depth-of-field camera, the panoramic shooting and VR (Virtual Reality) shooting function by fusing the main camera and the wide-angle camera, or other fusion shooting functions. In some embodiments, the camera assembly 1506 can further include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. The dual-color temperature flash refers to the combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.
[0246] The audio circuit 1507 can include a microphone and a speaker. The microphone is used to collect sound waves of a user and an environment, and convert the sound waves into an electrical signal input to the processor 1501 for processing, or input to the radio frequency circuit 1504 to realize voice communication. For the purpose of stereo sound collection or noise reduction, the microphone can be multiple, respectively arranged at different parts of the terminal 1500. The microphone can also be an array microphone or an omnidirectional collection type microphone. The speaker is used to convert an electrical signal from the processor 1501 or the radio frequency circuit 1504 into sound waves. The speaker can be a conventional diaphragm speaker, or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only can the electrical signal be converted into a sound wave audible to humans, but also can be converted into a sound wave inaudible to humans for ranging purposes. In some embodiments, the audio circuit 1507 can also include a headphone jack.
[0247] The positioning component 1508 is used to position the current geographic position of the terminal 1500 to realize navigation or LBS (Location Based Service, Location Based Service).
[0248] The power supply 1509 is used to supply power to various components in the terminal 1500. The power supply 1509 can be alternating current, direct current, disposable battery or rechargeable battery. When the power supply 1509 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0249] In some embodiments, the terminal 1500 further includes one or more sensors 1510. The one or more sensors 1510 include but are not limited to: an acceleration sensor 1511, a gyroscope sensor 1512, a pressure sensor 1513, a fingerprint sensor 1514, an optical sensor 1515 and a proximity sensor 1516.
[0250] The acceleration sensor 1511 can detect the acceleration magnitude in three coordinate axes of the coordinate system established by the terminal 1500. For example, the acceleration sensor 1511 can be used to detect the components of gravitational acceleration in three coordinate axes. The processor 1501 can control the display screen 1505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1511. The acceleration sensor 1511 can also be used for game or user motion data collection.
[0251] The gyroscope sensor 1512 can detect the body direction and rotation angle of the terminal 1500, and can collect 3D motions of a user on the terminal 1500 in cooperation with the acceleration sensor 1511. The processor 1501 can implement the following functions according to the data collected by the gyroscope sensor 1512: motion sensing (e.g., changing a UI according to a tilt operation of the user), image stabilization during photographing, game control, and inertial navigation.
[0252] The pressure sensor 1513 can be disposed at a side frame of the terminal 1500 and / or under the display screen 1505. When the pressure sensor 1513 is disposed at the side frame of the terminal 1500, a grip signal of the user on the terminal 1500 can be detected, and left / right hand recognition or a shortcut operation can be performed by the processor 1501 according to the grip signal collected by the pressure sensor 1513. When the pressure sensor 1513 is disposed under the display screen 1505, a pressure operation of the user on the display screen 1505 can be detected by the processor 1501, and an operable control on a UI can be controlled according to the pressure operation. The operable control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0253] The fingerprint sensor 1514 is used to collect a fingerprint of a user, and the identity of the user can be recognized by the processor 1501 according to the fingerprint collected by the fingerprint sensor 1514 or by the fingerprint sensor 1514. When the identity of the user is recognized as a trusted identity, the processor 1501 can authorize the user to perform a related sensitive operation, which includes unlocking a screen, viewing encrypted information, downloading software, payment, and changing a setting. The fingerprint sensor 1514 can be disposed at the front, back, or side of the terminal 1500. When a physical button or a manufacturer's logo is disposed on the terminal 1500, the fingerprint sensor 1514 can be integrated with the physical button or the manufacturer's logo.
[0254] The optical sensor 1515 is used to collect ambient light intensity. In an embodiment, the processor 1501 can control the display brightness of the display screen 1505 according to the ambient light intensity collected by the optical sensor 1515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1505 is increased, and when the ambient light intensity is low, the display brightness of the display screen 1505 is decreased. In another embodiment, the processor 1501 can also dynamically adjust the photographing parameters of the camera assembly 1506 according to the ambient light intensity collected by the optical sensor 1515.
[0255] The proximity sensor 1516, also referred to as a distance sensor, is usually arranged on the front panel of the terminal 1500. The proximity sensor 1516 is used to collect the distance between the user and the front of the terminal 1500. In an embodiment, when the proximity sensor 1516 detects that the distance between the user and the front of the terminal 1500 gradually decreases, the display screen 1505 is switched from the bright screen state to the screen-off state under the control of the processor 1501; when the proximity sensor 1516 detects that the distance between the user and the front of the terminal 1500 gradually increases, the display screen 1505 is switched from the screen-off state to the bright screen state under the control of the processor 1501.
[0256] Those skilled in the art can understand that the structure shown in the foregoing embodiments is not a limitation on the terminal 1500, and the terminal 1500 can include more or fewer components than those shown in the drawings, or combine certain components, or adopt a different arrangement of components. Figure 15
[0257] Taking an electronic device as an example, Figure 16 is a block diagram of a server provided by an embodiment of the present disclosure. Illustratively, the server 1600 can have a large difference due to different configurations or performances, and can include one or more processors (Central Processing Units, CPUs) 1601 and one or more memories 1602, wherein the one or more memories 1602 store at least one program code, the at least one program code is loaded and executed by the one or more processors 1601 to implement the steps performed by the server in the above-mentioned various method embodiments. Of course, the server 1600 can also have a wired or wireless network interface, a keyboard, and an input and output interface, and other components for realizing the functions of the device, which are not described here.
[0258] In an exemplary embodiment, a computer readable storage medium including program code is also provided, which includes: when the program code in the computer readable storage medium is executed by the processor of the electronic device, the electronic device can perform the above-mentioned page generation method or page display method. For example, the computer readable storage medium includes the memory 1602 storing the program code, and the above-mentioned program code can be executed by the processor 1601 of the server 1600 to complete the above-mentioned page generation method. In some embodiments, the computer readable storage medium is a read-only memory (Read-only Memory, ROM), a random access memory (Random Access Memory, RAM), a compact disc read-only memory (Compact-disc Read-only Memory, CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0259] In an example embodiment, a computer program product is also provided, comprising a computer program which, when executed by an electronic device, implements the page generation method or the page display method described above.
[0260] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the concepts disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
[0261] It should be understood that the present disclosure is not limited to the precise structures as herein described and illustrated in the drawings, and that various modifications and changes can be made without departing from its scope. The scope of the present disclosure is limited only by the claims that follow.
Claims
1. A page generation method, characterized in that, Applied to a server, the method includes: In response to a live streaming preparation request from a target object, the date type of the current date is determined based on the timestamp of the live streaming preparation request; if the date type does not belong to the target date type, the tag information of the target object is obtained, the live streaming preparation request instructs the target object to prepare to start a live stream, and the tag information of the target object indicates the live streaming type of the target object; Based on the tag information of the target object, first page layout information is obtained, and the first page layout information indicates the first page layout of the live streaming type for live streaming preparation matters. Based on the first page layout information, a live streaming preparation page that conforms to the first page layout is generated. The live streaming preparation page is used to provide configuration functions for the live streaming preparation items.
2. The page generation method according to claim 1, characterized in that, The method further includes: If the date type belongs to a target date type, second page layout information is obtained based on the target date type. The second page layout information indicates the second page layout of the target date type for the live broadcast preparation items. Based on the second page layout information, a live streaming preparation page that conforms to the second page layout is generated.
3. The page generation method according to claim 1, characterized in that, The method further includes: If the date type belongs to the target date type, obtain the tag information of the target object, and obtain the third page layout information based on the tag information of the target object and the target date type. The third page layout information indicates the third page layout of the live broadcast type and the target date type for the live broadcast preparation items. Based on the layout information of the third page, a live streaming preparation page that conforms to the layout of the third page is generated.
4. The page generation method according to claim 3, characterized in that, The step of obtaining third-page layout information based on the tag information of the target object and the target date type includes: Based on the tag information of the target object, obtain the fourth page layout information, which indicates the fourth page layout of the live broadcast type for the live broadcast preparation items; obtain the layout information of the configuration controls for the live broadcast preparation items from the fourth page layout information; Based on the target date type, obtain the fifth page layout information, which indicates the fifth page layout for the target date type in relation to the live broadcast preparation items; obtain the style information of the configuration controls for the live broadcast preparation items from the fifth page layout information; The layout information of the third page is obtained based on the layout information and style information of the configuration control.
5. The page generation method according to any one of claims 1-4, characterized in that, Determining the date type of the current date based on the timestamp of the live broadcast preparation request includes: The timestamp of the live broadcast preparation request is input into multiple date calculators, which are used to determine the date type to which the timestamp belongs; When the output of the multiple date calculators indicates that the current date belongs to multiple date types, the multiple date types are sorted based on date type priority information, and the date type ranked in the target position is determined as the date type of the current date. The date type priority information indicates the order of importance of the date types corresponding to the multiple date calculators.
6. A page display method, characterized in that, Applied to a terminal, the method includes: Send a live streaming preparation request to the target object, the live streaming preparation request instructing the target object to prepare to start a live stream; If the date type of the current date does not belong to the target date type, a live broadcast preparation page that conforms to the first page layout is received. The first page layout refers to the page layout of the live broadcast type of the target object for live broadcast preparation matters. The live broadcast type corresponding to the target object is determined by the tag information of the target object, and the date type of the current date is determined based on the timestamp of the live broadcast preparation request. Display a live streaming preparation page that conforms to the layout of the first page. The live streaming preparation page is used to provide configuration functions for the live streaming preparation items.
7. The page display method according to claim 6, characterized in that, The method further includes: If the date type of the current date belongs to the target date type, receive the live broadcast preparation page that conforms to the second page layout, where the second page layout refers to the page layout of the target date type for the live broadcast preparation items; Display the live streaming preparation page, which conforms to the layout of the second page.
8. The page display method according to claim 6, characterized in that, The method further includes: If the date type of the current date belongs to the target date type, receive a live broadcast preparation page that conforms to the third page layout, where the third page layout refers to the page layout of the live broadcast type and the target date type for the live broadcast preparation items; Display the live streaming preparation page, which conforms to the layout of the third page.
9. A page generation device, characterized in that, Applied to a server, the device includes: The first acquisition unit is configured to execute a live broadcast preparation request in response to a target object, determine the date type of the current date based on the timestamp of the live broadcast preparation request, and if the date type does not belong to the target date type, acquire the tag information of the target object, wherein the live broadcast preparation request indicates that the target object is ready to start a live broadcast, and the tag information of the target object indicates the live broadcast type of the target object; The second acquisition unit is configured to acquire first page layout information based on the tag information of the target object, wherein the first page layout information indicates the first page layout of the live streaming type for live streaming preparation matters. The page generation unit is configured to generate a live broadcast preparation page that conforms to the first page layout based on the first page layout information. The live broadcast preparation page is used to provide configuration functions for the live broadcast preparation items.
10. A page display device, characterized in that, Applied to a terminal, the device includes: The sending unit is configured to execute a live broadcast preparation request for a target object, the live broadcast preparation request instructing the target object to prepare to start a live broadcast. The receiving unit is configured to receive a live broadcast preparation page that conforms to a first page layout when the date type of the current date does not belong to the target date type. The first page layout refers to the page layout of the live broadcast type of the target object for live broadcast preparation matters. The live broadcast type corresponding to the target object is determined by the tag information of the target object, and the date type of the current date is determined based on the timestamp of the live broadcast preparation request. The page display unit is configured to display a live broadcast preparation page that conforms to the first page layout, the live broadcast preparation page being used to provide configuration functions for the live broadcast preparation items.
11. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the page generation method as described in any one of claims 1 to 5, or to implement the page display method as described in any one of claims 6 to 8.
12. A computer-readable storage medium, characterized in that, When the program code in the computer-readable storage medium is executed by the processor of the electronic device, the electronic device is able to perform the page generation method as described in any one of claims 1 to 5, or implement the page display method as described in any one of claims 6 to 8.
Citation Information
Patent Citations
Live broadcast interface display method and device, terminal, server and storage medium
CN113170221A
Dynamic content layout
US20100017704A1